@import url("/css/fonts.css");

:root {
  --navy: #1f4e79;
  --teal: #1a9e9a;
  --teal-2: #2bb3a8;
  --teal-dark: #0d6b68;
  --teal-tint: #e3f4f2;
  --ink: #10243a;
  --paper: #f4f8fb;
  --green: #3dbe7a;
  --text: #1b3144;
  --muted: #4a5f71;
  --line: rgba(16, 36, 58, 0.1);
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(16, 36, 58, 0.05);
  --shadow: 0 24px 60px rgba(16, 36, 58, 0.1);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", sans-serif;
  --script: Parisienne, "Cormorant Garamond", cursive;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--teal-dark); }
:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 50;
  border-radius: 8px;
}
.skip:focus { top: 1rem; }

.topbar {
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--teal) 55%, var(--teal-2));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.55rem max(6vw, calc((100vw - var(--wrap)) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 60px; width: auto; }
.desk-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.3rem;
  align-items: center;
  justify-content: flex-end;
}
.desk-nav a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--ink);
  padding: 0.35rem 0;
}
.desk-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.desk-nav a:hover { color: var(--teal-dark); }
.desk-nav a:hover::after { transform: scaleX(1); }
@media (max-width: 1180px) {
  .desk-nav .nav-service { display: none; }
}
.mobile-nav { display: none; position: relative; }
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  min-height: 46px;
  min-width: 46px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
}
.mobile-nav summary::before {
  content: "";
  width: 16px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  box-shadow: inset 0 -4px 0 -2px currentColor;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] summary { border-color: var(--teal); color: var(--teal-dark); }
.mobile-nav nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-width: 240px;
  padding: 0.45rem;
  display: grid;
}
.mobile-nav nav a {
  text-decoration: none;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500;
}
.mobile-nav nav a:hover { background: var(--paper); color: var(--teal-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-navy { background: var(--navy); color: white; box-shadow: 0 8px 20px rgba(31, 78, 121, 0.22); }
.btn-navy:hover { background: var(--ink); color: white; }
.btn-wa { background: var(--green); color: var(--ink); box-shadow: 0 8px 20px rgba(61, 190, 122, 0.25); }
.btn-wa:hover { background: #57cf8f; color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(31, 78, 121, 0.25);
}
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-small { min-height: 42px; padding: 0.5rem 1.1rem; font-size: 0.93rem; }
.btn-lg { min-height: 54px; padding: 0.85rem 1.5rem; font-size: 1.02rem; }

/* Shared section pieces */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal-dark);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-2));
}
.section { padding: 5rem 6vw; }
.section-head { max-width: var(--wrap); margin: 0 auto 2.2rem; }
.section h2, .missing h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.7rem;
}
.section-head p { margin: 0; color: var(--muted); max-width: 42rem; }
.paper { background: var(--paper); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 95% -10%, rgba(26, 158, 154, 0.18), transparent 60%),
    radial-gradient(40rem 26rem at -10% 110%, rgba(31, 78, 121, 0.08), transparent 60%),
    linear-gradient(180deg, var(--paper), #fff 85%);
  padding: 4.2rem 6vw 5rem;
}
.hero-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.3;
  color: var(--navy);
  max-width: 13em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.lead p { margin: 0.4rem 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-facts a { color: inherit; text-decoration: none; }
.hero-facts a:hover { color: var(--teal-dark); }
.hero-facts svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26, 158, 154, 0.22);
}
.hero-visual::before { width: min(420px, 92%); aspect-ratio: 1; }
.hero-visual::after {
  width: min(500px, 110%);
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(31, 78, 121, 0.12);
}
.portrait-wrap {
  position: relative;
  z-index: 1;
  width: min(300px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 8px;
  background: conic-gradient(from 140deg, var(--teal), #d7f3f1, var(--navy), var(--teal-2), var(--teal));
  box-shadow: 0 30px 70px rgba(16, 36, 58, 0.18);
}
.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: var(--navy);
}

/* Services */
.services {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  counter-reset: service;
}
.service {
  position: relative;
  counter-increment: service;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1.8rem 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--teal), var(--teal-2));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service::after {
  content: counter(service, decimal-leading-zero);
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(31, 78, 121, 0.1);
}
.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(26, 158, 154, 0.3);
}
.service:hover::before { opacity: 1; }
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--teal-tint), #f1faf9);
  border: 1px solid rgba(26, 158, 154, 0.18);
}
.service-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--teal-dark);
}
.service h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 1rem 0 0.35rem;
  color: var(--ink);
}
.summary { margin: 0 0 0.9rem; color: var(--text); font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0 0 0.9rem; list-style: none; }
.tags li {
  background: var(--paper);
  color: var(--navy);
  border: 1px solid rgba(31, 78, 121, 0.08);
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 600;
}
.service-body { border-top: 1px solid var(--line); padding-top: 0.6rem; }
.service-body p { margin: 0.45rem 0; color: var(--muted); font-size: 1rem; }

/* Clinic */
.split {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.prose p { color: var(--muted); }
.steps {
  position: relative;
  display: grid;
  gap: 0.9rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps::before {
  content: "";
  position: absolute;
  left: calc(1.3rem + 21px);
  top: 2.4rem;
  bottom: 2.4rem;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--navy));
  opacity: 0.25;
}
.step {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: 20px;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.step-no {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  background: linear-gradient(145deg, var(--navy), var(--teal));
  box-shadow: 0 0 0 5px var(--paper);
}
.step strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.step div span { color: var(--muted); }
.step .step-no { color: white; }

/* Contact */
.contact-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
}
.contact-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(26rem 18rem at 110% -10%, rgba(43, 179, 168, 0.28), transparent 60%),
    var(--ink);
  color: #f4f8fb;
  border-radius: 28px;
  padding: 2rem;
}
.contact-card .eyebrow { color: #8ee0db; }
.contact-card h2 { color: white; }
.contact-card a { color: #d7f6f4; }
.contact-card p { margin: 0.3rem 0 0.9rem; }
.contact-card .label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 600;
  color: #8ee0db;
  margin: 1rem 0 0;
}
.contact-card address { font-style: normal; margin: 0.3rem 0 0.9rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.contact-card .btn-ghost { color: #f4f8fb; border-color: rgba(244, 248, 251, 0.4); }
.contact-card .btn-ghost:hover { color: white; border-color: white; background: rgba(255, 255, 255, 0.06); }
.map-wrap { min-height: 380px; }
.map-frame {
  display: block;
  min-height: 380px;
  border: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: var(--paper);
}
.map-consent {
  position: relative;
  min-height: 380px;
  height: 100%;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.95) 0 9rem, transparent 14rem),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(31, 78, 121, 0.07) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(31, 78, 121, 0.07) 39px 40px),
    linear-gradient(135deg, #eef6f8, #e3f4f2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}
.map-consent::before {
  content: "";
  width: 46px;
  height: 46px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(145deg, var(--teal), var(--navy));
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0), 0 10px 24px rgba(16, 36, 58, 0.2);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 7px, #000 8px);
  mask: radial-gradient(circle at 50% 50%, transparent 7px, #000 8px);
}
.map-consent p { margin: 0; max-width: 34ch; color: var(--muted); font-size: 0.96rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c9d8e4;
  padding: 3.2rem 6vw 2rem;
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(244, 248, 251, 0.12);
}
.footer-brand img { height: 74px; width: auto; display: block; }
.footer-brand p { margin: 0.6rem 0 0; font-family: var(--script); font-size: 1.5rem; color: #8ee0db; line-height: 1.3; }
.site-footer a { color: #f4f8fb; text-decoration: none; }
.site-footer a:hover { color: #8ee0db; }
.footer-links { display: grid; gap: 0.45rem; }
.footer-contact p { margin: 0.5rem 0 0; font-size: 0.95rem; }
.footer-phone { font-size: 1.35rem; font-weight: 600; letter-spacing: 0.01em; }
.fine { max-width: var(--wrap); margin: 1.4rem auto 0; font-size: 0.85rem; color: #8ea4b6; }

/* Mobile call bar */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0.6rem;
  right: 0.6rem;
  bottom: calc(0.6rem + env(safe-area-inset-bottom));
  z-index: 40;
  gap: 0.5rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(16, 36, 58, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sticky-cta .btn { flex: 1; box-shadow: none; }

/* Privacy and 404 pages */
.page {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 6vw 4.5rem;
}
.page h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 1.2rem;
}
.page h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.65rem;
  color: var(--ink);
  margin: 2.2rem 0 0.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.page p { color: var(--muted); }
.draft {
  background: #fff7e8;
  border: 1px solid #efd3a0;
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
}
.draft p { color: #6b4a12; margin: 0; }
.missing {
  min-height: 70vh;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 0.4rem;
  padding: 2rem;
}
.missing img { height: 90px; }

@media (max-width: 960px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 80px; }
  .desk-nav, .desk-call { display: none; }
  .mobile-nav { display: block; }
  .site-header { padding: 0.45rem 5vw; }
  .brand img { height: 50px; }
  .hero { padding: 2.4rem 6vw 3rem; }
  .hero-grid, .services, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 1rem; }
  .hero h1 { max-width: none; }
  .hero-visual { order: -1; min-height: 0; padding: 0.6rem 0; justify-self: start; }
  .hero-visual::before, .hero-visual::after { display: none; }
  .portrait-wrap { width: 112px; padding: 5px; box-shadow: 0 14px 34px rgba(16, 36, 58, 0.16); }
  .hero-actions .btn { flex: 1 1 200px; }
  .section { padding: 3.6rem 6vw; }
  .service { padding: 1.5rem 1.3rem 1.2rem; }
  .service h3 { font-size: 1.8rem; }
  .split { gap: 2rem; }
  .contact-card { padding: 1.6rem; }
  .map-wrap, .map-frame, .map-consent { min-height: 320px; }
  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .sticky-cta, .site-header, .topbar { display: none !important; }
}
