@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
  --turquoise: #3EC7CF;
  --turquoise-dark: #20aeb8;
  --orange: #D99D36;
  --text: #202b35;
  --muted: #73808a;
  --surface: #ffffff;
  --surface-soft: #f5fbfb;
  --page: #fbfdfd;
  --border: #e5eeee;
  --shadow: 0 16px 45px rgba(28, 75, 82, 0.08);
}

body.dark-mode {
  --text: #edf5f6;
  --muted: #a6b8bf;
  --surface: #17252c;
  --surface-soft: #1d3038;
  --page: #101b20;
  --border: #2d424b;
  --shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  transition: background 0.25s, color 0.25s;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

/* NAVBAR — MATCHES ABOUT PAGE */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 235, 235, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s, box-shadow 0.3s;
}

body.dark-mode .site-header {
  background: rgba(16, 27, 32, 0.94);
  border-bottom-color: var(--border);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(20, 60, 65, 0.08);
}

.navbar {
  width: min(1250px, 89%);
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

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

.brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--turquoise);
  font-size: 22px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.7px;
}

.brand-text strong span { color: var(--turquoise-dark); }

.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(13px, 1.7vw, 25px);
  margin-left: auto;
}

.nav-links > a:not(.nav-contact) {
  position: relative;
  padding: 8px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.25s;
}

.nav-links > a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--turquoise);
  transition: width 0.25s;
}

.nav-links > a:not(.nav-contact):hover,
.nav-links > a:not(.nav-contact).active {
  color: var(--turquoise-dark);
}

.nav-links > a:not(.nav-contact):hover::after,
.nav-links > a:not(.nav-contact).active::after {
  width: 100%;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  border-radius: 30px;
  background: var(--turquoise);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s;
}

.nav-contact:hover {
  background: var(--turquoise-dark);
  transform: translateY(-2px);
}

.nav-contact i { font-size: 10px; }

.language-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.language-btn {
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.language-btn:hover,
.language-btn.active { color: var(--turquoise-dark); }

.language-separator {
  color: var(--muted);
  font-size: 11px;
}

.theme-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  transition: background 0.25s, color 0.25s, border 0.25s;
}

.theme-toggle:hover {
  border-color: var(--turquoise);
  color: var(--turquoise-dark);
}

.menu-toggle { display: none; }

/* HERO */

.hero {
  min-height: 420px;
  margin-top: 88px;
  padding: 90px 24px 85px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(62,199,207,.18), transparent 38%),
    radial-gradient(ellipse at 85% 80%, rgba(217,157,54,.12), transparent 35%),
    var(--surface-soft);
  text-align: center;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow, .section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--turquoise-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.eyebrow span:first-child {
  width: 24px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  margin: 16px 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(44px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.6px;
}

h1 em, h2 em {
  color: var(--turquoise-dark);
  font-style: normal;
}

.hero-description {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
}

.hero-decoration {
  position: absolute;
  border: 1px solid rgba(62,199,207,.25);
  border-radius: 50%;
}

.hero-decoration-one {
  width: 260px;
  height: 260px;
  top: -130px;
  left: -70px;
}

.hero-decoration-two {
  width: 350px;
  height: 350px;
  right: -170px;
  bottom: -200px;
}

/* PRICE SECTION */

.price-section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 85px 24px 100px;
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-kicker { margin: 0 0 12px; }

.section-heading h2 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(29px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
}

.section-heading > p:last-child {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

/* INSURANCE BUTTONS */

.insurance-switch {
  max-width: 740px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.insurance-button {
  min-height: 88px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  color: var(--text);
  transition: border .2s, box-shadow .2s, transform .2s;
}

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

.insurance-button > i:first-child {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 13px;
  color: var(--turquoise-dark);
  background: rgba(62,199,207,.13);
  font-size: 18px;
}

.insurance-button span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.insurance-button strong { font-size: 14px; }
.insurance-button small { color: var(--muted); font-size: 11px; }
.insurance-button .check-icon { opacity: 0; color: var(--turquoise-dark); }

.insurance-button.active {
  border-color: var(--turquoise);
  box-shadow: 0 8px 28px rgba(62,199,207,.14);
}

.insurance-button.active .check-icon { opacity: 1; }

/* SEARCH */

.price-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 0 0 20px;
}

.search-box {
  width: min(100%, 390px);
  height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
}

.search-box kbd { font-size: 12px; opacity: .6; }

.price-mode {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  text-align: right;
}

/* PRICE CARDS */

.price-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.price-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: fadeUp .35s ease both;
}

.price-card-header {
  padding: 19px 21px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}

.category-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--turquoise-dark);
  background: rgba(62,199,207,.14);
  border-radius: 12px;
}

.price-card-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.price-list { padding: 0 21px; }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.price-row:last-child { border-bottom: 0; }

.service-name {
  font-size: 12.5px;
  line-height: 1.5;
}

.service-description {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.service-price {
  min-width: 72px;
  text-align: right;
  white-space: nowrap;
  color: var(--turquoise-dark);
  font-size: 13px;
  font-weight: 700;
}

.no-results {
  text-align: center;
  color: var(--muted);
  padding: 30px;
}

/* PRICE NOTE */

.price-note {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding: 21px 23px;
  border: 1px solid rgba(217,157,54,.3);
  border-radius: 15px;
  background: rgba(217,157,54,.07);
  color: var(--muted);
  font-size: 12px;
}

.price-note > i {
  margin-top: 4px;
  color: var(--orange);
  font-size: 20px;
}

.price-note p { margin: 0; }
.price-note strong { color: var(--text); font-size: 13px; }

/* FOOTER */

.footer {
  padding: 55px max(5.5%, calc((100% - 1250px) / 2)) 20px;
  background: var(--surface-soft);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 38px;
  padding-bottom: 38px;
}

.footer-brand > p {
  max-width: 330px;
  color: var(--muted);
  font-size: 12px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-column h3 {
  margin: 0 0 7px;
  font-size: 13px;
}

.footer-column a, .footer-column p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.footer-column a:hover { color: var(--turquoise-dark); }

.footer-column p {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.footer-column p i {
  color: var(--turquoise-dark);
  width: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}

.footer-bottom a { color: var(--turquoise-dark); }

/* ANIMATION */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* TABLET */

@media (max-width: 1100px) {
  .navbar { width: 92%; }
  .brand-text small { display: none; }
  .nav-links { gap: 17px; }
  .nav-links > a:not(.nav-contact) { font-size: 11px; }

  .footer-inner { grid-template-columns: 1.4fr 1fr 1.4fr; }
  .footer-inner .footer-column:last-child { grid-column: 2 / 3; }
}

/* MOBILE NAVIGATION */

@media (max-width: 850px) {
  .site-header.scrolled,
  .site-header:has(.nav-links.open),
  .site-header:has(.nav-links.open).scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--surface);
    box-shadow: none;
    border-bottom-color: var(--border);
  }

  .navbar {
    width: 100%;
    min-height: 76px;
    padding: 0 24px;
  }

  .menu-toggle {
    display: grid;
    position: relative;
    z-index: 1002;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 30px 25px;
    margin: 0;
    overflow-y: auto;
    background: var(--surface);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s, visibility .25s, transform .25s;
  }

  .nav-links > * {
    flex-shrink: 0;
    max-width: 100%;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links > a:not(.nav-contact) {
    width: min(100%, 400px);
    padding: 15px 0;
    text-align: center;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links > a:not(.nav-contact)::after { display: none; }

  .nav-contact {
    margin-top: 22px;
    padding: 13px 25px;
    font-size: 14px;
  }

  .language-switcher { margin-top: 25px; }
  .theme-toggle { margin-top: 18px; }

  body.menu-open { overflow: hidden; }

  .hero { margin-top: 76px; min-height: 370px; }

  .price-categories { grid-template-columns: 1fr; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand { grid-column: 1 / -1; }
  .footer-inner .footer-column:last-child { grid-column: auto; }
}

/* SMALL MOBILE */

@media (max-width: 580px) {
  .navbar { padding: 0 17px; min-height: 72px; }

  .brand { gap: 9px; }
  .brand-icon {
    width: 40px;
    height: 40px;
    font-size: 19px;
    border-radius: 13px;
  }

  .brand-text strong { font-size: 19px; }
  .nav-links { top: 72px; }

  .hero { margin-top: 72px; padding: 68px 20px; }
  .hero-description { font-size: 14px; }

  .price-section { padding: 60px 16px 70px; }

  .insurance-switch {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .insurance-button { min-height: 78px; }

  .price-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box { width: 100%; }
  .price-mode { text-align: left; }

  .price-card-header { padding: 16px; }
  .price-list { padding: 0 16px; }
  .price-row { gap: 8px; }
  .service-name { font-size: 12px; }
  .service-price { min-width: 62px; font-size: 12px; }

  .price-note { padding: 18px; }

  .footer { padding: 40px 20px 18px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .footer-brand { grid-column: auto; }
  .footer-inner .footer-column:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
