:root {
  --bg: #0c1117;
  --bg-soft: #111827;
  --panel: rgba(17, 24, 39, 0.75);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #e5eef7;
  --muted: #a9b7c7;
  --primary: #5eead4;
  --primary-dark: #14b8a6;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(20, 184, 166, 0.18), transparent 32%),
    linear-gradient(180deg, #0b1220 0%, #0c1117 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3 {
  margin: 0;
  color: #f8fbff;
  line-height: 1.15;
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(12, 17, 23, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.menu {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--text);
}

.hero {
  padding: 6rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.75rem);
  max-width: 12ch;
}

.lead {
  margin-top: 1.5rem;
  max-width: 62ch;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #062521;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.card,
.service-card,
.benefit,
.cta-box {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.6rem;
  border-radius: 24px;
}

.card-label {
  margin-bottom: 1rem;
  color: #dce8f4;
  font-weight: 700;
}

.check-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.check-list li + li {
  margin-top: 0.85rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-heading {
  max-width: 52rem;
}

.section-heading p {
  margin-top: 1rem;
}

.section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 901px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.service-card,
.benefit {
  padding: 1.6rem;
  border-radius: 22px;
}

.service-card h3,
.benefit h3 {
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
}

.service-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.service-list li + li {
  margin-top: 0.45rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 1rem;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.benefit span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cta {
  padding-bottom: 6rem;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.cta-box p {
  margin-top: 1rem;
  max-width: 52ch;
}

.contact-note,
.modal-note {
  color: rgba(169, 183, 199, 0.9);
  font-size: 0.95rem;
}

.modal-note {
  margin-top: 0.75rem;
  max-width: 42ch;
}

.menu-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.menu-link:hover,
.menu-link:focus-visible {
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label,
.form-field legend {
  color: #dce8f4;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-field input:not([type="radio"]),
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-field select option,
.form-field select optgroup {
  background-color: #ffffff;
  color: #0f172a;
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-field input:not([type="radio"]):focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(94, 234, 212, 0.35);
  border-color: rgba(94, 234, 212, 0.55);
}

.contact-preference {
  border: 0;
  padding: 0;
  margin: 0;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
}

.radio-option input {
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--primary-dark);
  flex-shrink: 0;
}

.radio-option:has(input:checked) {
  border-color: rgba(94, 234, 212, 0.45);
  color: var(--text);
  background: rgba(94, 234, 212, 0.08);
}

.contact-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-status {
  margin-bottom: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-size: 0.95rem;
}

.form-status-ok {
  background: rgba(20, 184, 166, 0.15);
  color: #9ff3e3;
  border: 1px solid rgba(94, 234, 212, 0.25);
}

.form-status-error {
  background: rgba(239, 68, 68, 0.12);
  color: #fecaca;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 14, 0.72);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  padding: 1.6rem;
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background: #111827;
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.modal-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.modal-close {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .split,
  .benefits,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-box {
    display: grid;
  }
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer p,
.site-footer a {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(169, 183, 199, 0.7);
  letter-spacing: 0.02em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .nav {
    flex-direction: column;
    gap: 0.8rem;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 4rem;
  }

  .section,
  .cta {
    padding: 3.5rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 1rem;
  }

  .modal-dialog {
    max-height: calc(100vh - 2rem);
    padding: 1.2rem;
  }
}
