:root {
  --bg: #fcfcff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-blue: #eef2ff;
  --surface-pink: #f5edff;
  --surface-danger: #fff3f5;
  --text: #10132b;
  --text-soft: #5f627d;
  --border: rgba(121, 129, 197, 0.18);
  --accent: #4f55e8;
  --accent-dark: #373fd5;
  --shadow-soft: 0 18px 45px rgba(25, 32, 88, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
  font-family: "Manrope", Arial, sans-serif;
  position: relative;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 14%, rgba(109, 124, 248, 0.16), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(235, 202, 255, 0.2), transparent 24%),
    radial-gradient(circle at 70% 62%, rgba(120, 144, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
  animation: ambientShift 18s ease-in-out infinite alternate;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 22px 0 0;
}

.navbar,
.mobile-nav,
.service-card,
.cost-card,
.philosophy-card,
.pricing-card,
.booking-card,
.form-card,
.faq-item,
.site-footer,
.modal-card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px 18px 12px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  animation: slideDownFade 700ms ease-out both;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: auto;
  height: 54px;
  max-width: min(260px, 42vw);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.footer-links a {
  color: var(--text-soft);
  transition: color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--accent);
}

.nav-links a:hover,
.footer-links a:hover {
  transform: translateY(-1px);
}

.nav-cta {
  min-width: 142px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.mobile-nav {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.mobile-nav a {
  padding: 10px 4px;
  color: var(--text-soft);
}

.hero-section {
  position: relative;
  padding: 62px 0 72px;
  scroll-margin-top: 120px;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.72) 58%, rgba(255, 255, 255, 0.5) 100%),
    linear-gradient(180deg, rgba(246, 248, 255, 0.18) 0%, rgba(255, 255, 255, 0.12) 100%),
    url("./assets/hero-growth-chart.svg") center right / min(58vw, 780px) no-repeat;
  pointer-events: none;
  opacity: 0.94;
  filter: saturate(0.92) contrast(0.96) brightness(1.02);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(109, 124, 248, 0.12), transparent 22%),
    radial-gradient(circle at 78% 22%, rgba(235, 202, 255, 0.28), transparent 26%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: calc(100vh - 160px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-copy h1,
.section-heading h2,
.about-copy h2,
.contact-copy h2,
.site-footer h3,
.site-footer h4,
.philosophy-card h3,
.form-card h3,
.booking-card h3,
.service-card h3,
.pricing-card h3,
.modal-card h3 {
  font-family: "Playfair Display", Georgia, serif;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.35rem, 6vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 10.8ch;
  animation: fadeRise 800ms 100ms ease-out both;
}

.accent-phrase {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
}

.hero-text,
.section-heading p,
.service-description,
.feature-list,
.cost-card p,
.philosophy-card p,
.pricing-card p,
.about-copy p,
.contact-copy p,
.form-card p,
.site-footer p,
.footer-bottom p {
  color: var(--text-soft);
}

.hero-text {
  max-width: 56ch;
  margin: 28px 0 0;
  font-size: 1.08rem;
  line-height: 1.9;
  animation: fadeRise 800ms 220ms ease-out both;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 22px;
  animation: fadeRise 800ms 280ms ease-out both;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(121, 129, 197, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(36, 44, 118, 0.06);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  animation: fadeRise 800ms 340ms ease-out both;
}

.hero-actions .button {
  min-width: 218px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px) scale(1.01);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(79, 85, 232, 0.24);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border);
  color: var(--text);
}

.button-secondary:hover {
  background: #ffffff;
  border-color: rgba(79, 85, 232, 0.28);
}

.content-section {
  padding: 52px 0;
  scroll-margin-top: 120px;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

.section-heading p {
  text-wrap: balance;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 18px auto 0;
  font-size: 1.02rem;
  line-height: 1.85;
  max-width: 62ch;
}

.services-grid,
.pricing-grid,
.contact-layout,
.about-layout {
  display: grid;
  gap: 24px;
  margin-top: 38px;
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.section-toggle {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 38px auto 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.toggle-button {
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.toggle-button:hover {
  transform: translateY(-1px);
}

.toggle-button.is-active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(79, 85, 232, 0.2);
}

.toggle-panels {
  margin-top: 24px;
}

.service-panels,
.pricing-philosophy-panels {
  display: grid;
}

.service-panels .service-card,
.pricing-philosophy-panels .philosophy-card {
  width: min(860px, 100%);
  margin: 0 auto;
}

.toggle-panel {
  animation: fadeRise 220ms ease;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.8), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover,
.pricing-card:hover,
.cost-card:hover,
.booking-card:hover,
.form-card:hover,
.faq-item:hover,
.philosophy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(54, 63, 154, 0.12);
  border-color: rgba(79, 85, 232, 0.22);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.icon-chip,
.loss-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.icon-chip svg,
.loss-icon svg {
  width: 26px;
  height: 26px;
}

.icon-chip-blue {
  background: #e9f0ff;
  color: var(--accent);
}

.icon-chip-pink {
  background: #f3e9ff;
  color: #8558d6;
}

.mini-badge,
.small-pill,
.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-badge {
  min-height: 34px;
  padding: 0 12px;
  background: #f5f7ff;
  color: var(--accent);
}

.service-card h3,
.cost-card h3 {
  margin: 22px 0 0;
  font-size: 1.7rem;
  color: var(--text);
}

.service-description {
  margin: 14px 0 0;
  line-height: 1.8;
}

.feature-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.7;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6a73ff, #cbb9ff);
  transform: translateY(-50%);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  color: var(--accent);
  font-weight: 700;
}

.service-card .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.philosophy-card {
  padding: 32px;
  border-radius: 30px;
  background: linear-gradient(180deg, #eef2ff 0%, #f5f5ff 100%);
}

.philosophy-card h3,
.form-card h3 {
  margin: 0;
  font-size: 2rem;
}

.philosophy-card p:last-child {
  margin: 16px 0 0;
  line-height: 1.85;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
  margin-top: 42px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-lg);
  isolation: isolate;
  overflow: visible;
  border: 1px solid rgba(121, 129, 197, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.pricing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.45), transparent 44%);
  pointer-events: none;
  z-index: -1;
}

.pricing-card-cool {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(180deg, #f3f6ff 0%, #e8efff 100%);
  box-shadow: 0 20px 42px rgba(54, 63, 154, 0.1);
}

.pricing-card-featured {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), transparent 36%),
    linear-gradient(180deg, #f7f0ff 0%, #efe5ff 100%);
  transform: translateY(-10px);
  border-color: rgba(79, 85, 232, 0.26);
  box-shadow: 0 30px 60px rgba(79, 85, 232, 0.18);
}

.pill-badge {
  position: relative;
  min-height: 36px;
  width: fit-content;
  margin: 0 auto 18px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4f55e8 0%, #6b72ff 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(79, 85, 232, 0.18);
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0 0 18px;
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}

.price-row {
  display: grid;
  gap: 6px;
}

.price-panel {
  margin-top: 2px;
  padding: 22px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 251, 255, 0.84));
  border: 1px solid rgba(121, 129, 197, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 24px rgba(63, 74, 170, 0.06);
  text-align: center;
}

.price-row strong {
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-row span,
.small-pill,
.booking-card span {
  color: var(--text-soft);
}

.small-pill {
  width: fit-content;
  min-height: 38px;
  margin-top: 20px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(121, 129, 197, 0.18);
}

.pricing-card p {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(121, 129, 197, 0.12);
  line-height: 1.85;
  font-size: 0.98rem;
}

.pricing-features {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid rgba(121, 129, 197, 0.12);
}

.pricing-features li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  line-height: 1.7;
}

.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.02em;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.about-layout {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.about-copy {
  max-width: 880px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(180deg, rgba(246, 248, 255, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-soft);
}

.about-copy p {
  margin: 22px 0 0;
  line-height: 1.92;
  max-width: 62ch;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: start;
  gap: 30px;
}

.contact-copy p {
  margin: 18px 0 0;
  line-height: 1.9;
}

.contact-copy {
  padding-top: 10px;
}

.booking-card,
.form-card {
  border-radius: 28px;
  background: var(--surface-strong);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.booking-card {
  margin-top: 26px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(240, 243, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.booking-card p {
  margin-bottom: 24px;
}

.form-card {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.84), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.form-card p {
  margin: 10px 0 0;
}

.ajax-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.ajax-form label {
  display: grid;
  gap: 9px;
  color: var(--text);
  font-weight: 700;
}

.ajax-form input,
.ajax-form textarea {
  width: 100%;
  border: 1px solid rgba(121, 129, 197, 0.24);
  border-radius: 18px;
  background: #fcfcff;
  color: var(--text);
  padding: 16px 18px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ajax-form input:invalid[aria-invalid="true"],
.ajax-form textarea:invalid[aria-invalid="true"] {
  border-color: rgba(179, 71, 104, 0.6);
  box-shadow: 0 0 0 4px rgba(179, 71, 104, 0.1);
}

.ajax-form input:focus,
.ajax-form textarea:focus {
  outline: none;
  border-color: rgba(79, 85, 232, 0.5);
  box-shadow: 0 0 0 4px rgba(79, 85, 232, 0.1);
}

.ajax-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.form-status.is-error {
  color: #b34768;
}

.form-status.is-success {
  color: #2b6d64;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 38px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  padding: 0 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.faq-item[open] {
  background: linear-gradient(180deg, rgba(248, 249, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.faq-item summary {
  position: relative;
  padding: 22px 40px 22px 0;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin: 0 0 20px;
  color: var(--text-soft);
  line-height: 1.85;
}

.site-footer {
  margin: 42px auto 24px;
  width: min(var(--container), calc(100% - 32px));
  padding: 34px 30px 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(249, 250, 255, 0.96), rgba(244, 246, 255, 0.92));
}

.motion-reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.motion-delay-1 {
  transition-delay: 80ms;
}

.motion-delay-2 {
  transition-delay: 160ms;
}

.motion-delay-3 {
  transition-delay: 240ms;
}

.hero-actions .button span[aria-hidden="true"],
.text-link span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 180ms ease;
}

.hero-actions .button:hover span[aria-hidden="true"],
.text-link:hover span[aria-hidden="true"] {
  transform: translateX(4px);
}

.icon-chip,
.loss-icon {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover .icon-chip,
.cost-card:hover .loss-icon {
  transform: translateY(-3px) scale(1.06) rotate(-4deg);
  box-shadow: 0 14px 24px rgba(79, 85, 232, 0.12);
}

.pricing-card,
.service-card,
.philosophy-card,
.form-card,
.faq-item {
  position: relative;
  overflow: hidden;
}

.pricing-card::before,
.service-card::before,
.philosophy-card::before,
.form-card::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.42) 45%, transparent 100%);
  transform: translateX(-130%);
  transition: transform 700ms ease;
  pointer-events: none;
}

.pricing-card:hover::before,
.service-card:hover::before,
.philosophy-card:hover::before,
.form-card:hover::before,
.faq-item:hover::before {
  transform: translateX(130%);
}

.faq-item p {
  animation: faqReveal 240ms ease;
}

@keyframes ambientShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, -14px, 0) scale(1.02);
  }
}

@keyframes slideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeRise {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(-0.55deg);
  }
}

@keyframes faqReveal {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer .container {
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 28px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 14px;
  color: var(--text);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 14, 36, 0.4);
  z-index: 80;
}

.modal-card {
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  text-align: center;
}

.modal-card p {
  margin: 14px 0 22px;
  color: var(--text-soft);
  line-height: 1.8;
}

@media (max-width: 1080px) {
  .hero-grid,
  .contact-layout,
  .about-layout,
  .pricing-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy h1 {
    max-width: 13ch;
  }

  .hero-actions .button {
    min-width: 0;
  }

  .section-toggle {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .motion-reveal,
  .motion-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 840px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .navbar {
    padding-right: 12px;
  }

  .site-header {
    padding-top: 14px;
  }

  .hero-section {
    padding-top: 34px;
  }

  .hero-section::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 28%, rgba(255, 255, 255, 0.82) 52%, rgba(255, 255, 255, 0.78) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%),
      url("./assets/hero-growth-chart.svg") center top / cover no-repeat;
    opacity: 0.96;
  }
}

@media (max-width: 760px) {
  .container,
  .site-footer {
    width: min(100% - 20px, var(--container));
  }

  .content-section {
    padding: 34px 0;
  }

  .hero-section {
    padding: 20px 0 34px;
  }

  .hero-grid {
    gap: 14px;
    min-height: auto;
  }

  .hero-copy h1,
  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.05rem, 8.2vw, 2.9rem);
    max-width: none;
  }

  .hero-text,
  .section-heading p,
  .about-copy p,
  .contact-copy p,
  .faq-item p {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .hero-copy {
    max-width: min(460px, 100%);
    padding: 0;
    background: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .hero-copy h1,
  .hero-text {
    max-width: none;
  }

  .hero-text {
    max-width: 34ch;
    margin-top: 18px;
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .hero-highlights {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-highlights span {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .service-card,
  .pricing-card,
  .philosophy-card,
  .form-card,
  .booking-card,
  .about-copy {
    padding: 24px;
  }

  .pricing-card-featured {
    transform: none;
  }

  .form-card,
  .service-card,
  .pricing-card,
  .philosophy-card,
  .booking-card,
  .faq-item,
  .site-footer {
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  .navbar {
    min-height: 64px;
    gap: 12px;
    padding: 10px 10px 10px 16px;
  }

  .brand {
    max-width: 200px;
  }

  .brand img {
    height: 40px;
    max-width: min(190px, 50vw);
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button,
  .ajax-form .button {
    width: 100%;
  }

  .hero-actions .button-secondary,
  .hero-text-tail {
    display: none;
  }

  .hero-highlights {
    display: none;
  }

  .hero-section::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.7) 22%, rgba(255, 255, 255, 0.56) 44%, rgba(255, 255, 255, 0.68) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.06) 100%),
      url("./assets/hero-growth-chart.svg") 60% 18% / 118% no-repeat;
    opacity: 0.94;
  }

  .hero-copy h1 {
    max-width: 8.5ch;
    line-height: 0.98;
  }

  .hero-text {
    max-width: 28ch;
    font-size: 0.92rem;
    line-height: 1.56;
  }

  .section-toggle {
    display: grid;
    width: 100%;
    border-radius: 24px;
  }

  .toggle-button {
    width: 100%;
  }

  .service-card,
  .pricing-card,
  .philosophy-card,
  .form-card,
  .booking-card,
  .faq-item,
  .site-footer,
  .about-copy {
    padding: 20px;
  }

  .price-row strong {
    font-size: 1.9rem;
  }

  .pricing-card h3 {
    font-size: 1.7rem;
  }

  .price-panel {
    padding: 18px 16px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .container,
  .site-footer {
    width: min(100% - 16px, var(--container));
  }

  .hero-copy h1,
  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.85rem, 9.4vw, 2.35rem);
  }

  .hero-text,
  .section-heading p,
  .about-copy p,
  .contact-copy p,
  .faq-item p {
    font-size: 0.95rem;
  }

  .hero-section::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.72) 22%, rgba(255, 255, 255, 0.58) 42%, rgba(255, 255, 255, 0.7) 100%),
      url("./assets/hero-growth-chart.svg") 61% 16% / 116% no-repeat;
    opacity: 0.93;
  }

  .hero-text {
    max-width: 27ch;
    font-size: 0.9rem;
    line-height: 1.52;
    margin-top: 16px;
  }

  .eyebrow {
    letter-spacing: 0.14em;
    font-size: 0.7rem;
  }

  .small-pill,
  .toggle-button,
  .button {
    min-height: 42px;
  }

}
