/* ==========================================================================
   gynSOLE — design tokens & shared styles
   Palette:  pine (deep botanical green, dark sections) / paper (warm ivory)
             / rose (dusty berry accent) / sage (soft tint)
   Type:     Fraunces (display serif) + Inter (body/utility sans)
   Signature motif: the phase-dot — a row of circles moving from hollow to
   filled, echoing the cycles at the centre of gynecological care (monthly
   cycle, stages of pregnancy, stages of life). Used as section dividers
   and list bullets throughout.
   ========================================================================== */

:root {
  --pine-900: #14261F;
  --pine-800: #1C362D;
  --pine-700: #24473B;
  --sage-200: #D8E3D1;
  --sage-100: #EAF0E4;
  --paper: #FAF6EC;
  --paper-dim: #F1ECDD;
  --rose-600: #A85566;
  --rose-500: #C06B72;
  --rose-100: #F3DEDC;
  --ink: #1B2420;
  --ink-soft: #4B564E;
  --ink-inverse: #F3EFE2;
  --ink-inverse-soft: #C7D2C6;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 12px 32px -18px rgba(20, 38, 31, 0.35);
  --content-width: 1120px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

:focus-visible {
  outline: 2px solid var(--rose-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout helpers ---------- */
.wrap {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: 88px; }
.section--tight { padding-block: 56px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow--inverse { color: var(--rose-500); }

/* ---------- phase-dot signature motif ---------- */
.phase-divider {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-block: 28px;
}
.phase-divider span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--rose-600);
  background: transparent;
}
.phase-divider span:nth-child(1) { background: var(--rose-600); }
.phase-divider span:nth-child(2) { background: var(--rose-500); opacity: .7; }
.phase-divider span:nth-child(3) { background: var(--rose-500); opacity: .4; }
.phase-divider span:nth-child(4),
.phase-divider span:nth-child(5) { opacity: .5; }
.phase-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--rose-500), transparent);
  opacity: .5;
}
.phase-divider--inverse span { border-color: var(--rose-500); }

.phase-list li {
  position: relative;
  padding-left: 30px;
  margin-block: 13px;
  color: var(--ink-soft);
}
.phase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--rose-600);
}
.phase-list li:nth-child(3n+1)::before { background: var(--rose-600); }
.phase-list li:nth-child(3n+2)::before { background: var(--rose-500); opacity: .65; border-color: var(--rose-500); }

.phase-list--inverse li { color: var(--ink-inverse-soft); }
.phase-list--inverse li::before { border-color: var(--rose-500); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 36, 32, 0.08);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--pine-900);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pine-900);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.brand-mark::before {
  width: 10px; height: 10px;
  background: var(--rose-500);
  top: 8px; left: 8px;
}
.brand-mark::after {
  width: 6px; height: 6px;
  border: 1.3px solid var(--ink-inverse-soft);
  top: 20px; left: 20px;
}
.brand small { display: block; font-family: var(--font-body); font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1px; }

.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav ul { display: flex; gap: 26px; }
.primary-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 4px;
  border-bottom: 1.5px solid transparent;
  transition: color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.primary-nav a:hover { color: var(--pine-900); }
.primary-nav a[aria-current="page"] { color: var(--pine-900); border-color: var(--rose-600); }

.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--pine-900);
  border-radius: 999px;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.lang-switch a { padding: 6px 13px; color: var(--pine-900); }
.lang-switch a.is-active { background: var(--pine-900); color: var(--ink-inverse); }

.menu-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  width: 34px;
  height: 34px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--pine-900); border-radius: 2px; }

/* ---------- hero ---------- */
.hero {
  background: var(--pine-900);
  color: var(--ink-inverse);
  position: relative;
  overflow: hidden;
  padding-block: 84px 96px;
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 226, 0.12);
}
.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -20px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(192, 107, 114, 0.35);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: end; }
.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  margin-top: 18px;
  max-width: 12ch;
}
.hero h1 em { color: var(--rose-500); font-style: italic; }
.hero-lead { margin-top: 22px; max-width: 46ch; }

.hero-panel {
  background: rgba(250, 246, 236, 0.06);
  border: 1px solid rgba(243, 239, 226, 0.16);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
}
.hero-panel h2 { font-size: 15px; color: var(--ink-inverse); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-body); font-weight: 600; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rose-600); color: var(--ink-inverse); }
.btn-primary:hover { background: var(--rose-500); }
.btn-ghost { border-color: rgba(243, 239, 226, 0.4); color: var(--ink-inverse); }
.btn-ghost:hover { border-color: var(--ink-inverse); }
.btn-outline { border-color: var(--pine-900); color: var(--pine-900); }
.btn-outline:hover { background: var(--pine-900); color: var(--ink-inverse); }

/* ---------- generic sections ---------- */
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 14px; color: var(--pine-900); }
.section--dark { background: var(--pine-900); color: var(--ink-inverse); }
.section--dark .section-head h2 { color: var(--ink-inverse); }
.section--sage { background: var(--sage-100); }

/* why-us grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--paper);
  border: 1px solid rgba(27, 36, 32, 0.08);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.feature-card .icon { width: 38px; height: 38px; margin-bottom: 16px; color: var(--rose-600); }
.feature-card h3 { font-size: 17px; color: var(--pine-900); font-weight: 600; }
.feature-card p { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }

/* care cards (services) */
.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.care-card {
  background: var(--paper);
  border: 1px solid rgba(27, 36, 32, 0.08);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
}
.care-card h3 { font-size: 24px; color: var(--pine-900); margin-bottom: 6px; }
.care-card > p { color: var(--ink-soft); margin-top: 10px; }
.hours-layout { grid-template-columns: 1.1fr 0.9fr; align-items: start; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.team-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(27, 36, 32, 0.08);
  box-shadow: var(--shadow-card);
}
.team-photo { aspect-ratio: 4/3.4; overflow: hidden; background: var(--sage-200); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 24px 26px 28px; }
.team-role { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--rose-600); font-weight: 600; }
.team-card h3 { font-size: 21px; margin-top: 8px; color: var(--pine-900); }
.team-card p.bio { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }

/* office hours */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table tr { border-bottom: 1px solid rgba(27, 36, 32, 0.1); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 16px 6px; font-size: 16px; }
.hours-table td:first-child { font-weight: 600; font-family: var(--font-display); color: var(--pine-900); width: 40%; letter-spacing: .01em; }
.hours-table td:last-child { color: var(--ink-soft); text-align: right; }
.hours-table tr.is-today { background: var(--sage-100); }
.hours-table tr.is-today td:first-child { color: var(--rose-600); }
.hours-table tr.is-today td:first-child::after {
  content: "•";
  color: var(--rose-600);
  margin-left: 8px;
}
.hours-closed { font-style: italic; }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  border: 1px solid rgba(27, 36, 32, 0.08);
  position: relative;
}
.review-mark { font-family: var(--font-display); font-size: 54px; color: var(--rose-100); line-height: 0; position: absolute; top: 26px; right: 26px; }
.review-card p.quote { font-size: 16.5px; color: var(--ink); position: relative; z-index: 1; max-width: 46ch; }
.review-attrib { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.review-attrib strong { font-family: var(--font-display); color: var(--pine-900); font-size: 16px; }
.review-attrib span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 30px; align-items: start; }
.contact-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 36, 32, 0.08);
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
}
.contact-card h3 { font-size: 22px; color: var(--pine-900); }
.contact-line { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(27, 36, 32, 0.08); }
.contact-line:first-of-type { border-top: none; padding-top: 0; margin-top: 22px; }
.contact-line .label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--rose-600); font-weight: 600; }
.contact-line .value { display: block; margin-top: 5px; font-size: 16.5px; color: var(--ink); }
.contact-line a.value:hover { color: var(--rose-600); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(27, 36, 32, 0.08); box-shadow: var(--shadow-card); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* CTA banner */
.cta-banner {
  background: var(--sage-100);
  border-radius: var(--radius-lg);
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(22px, 2.6vw, 28px); color: var(--pine-900); max-width: 34ch; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--pine-900);
  color: var(--ink-inverse-soft);
  padding-block: 40px;
  font-size: 13.5px;
}
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-row a { color: var(--ink-inverse-soft); border-bottom: 1px solid rgba(199, 210, 198, .3); }
.footer-row a:hover { color: var(--ink-inverse); }
.footer-lang { display: flex; gap: 6px; }
.footer-lang a.is-active { color: var(--rose-500); border-color: transparent; }

/* ---------- mobile nav overlay ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--pine-900);
  z-index: 60;
  display: none;
  flex-direction: column;
  padding: 26px 24px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav-close { background: none; border: none; color: var(--ink-inverse); font-size: 15px; cursor: pointer; padding: 8px; }
.mobile-nav ul { margin-top: 40px; display: flex; flex-direction: column; gap: 6px; }
.mobile-nav a { color: var(--ink-inverse); font-family: var(--font-display); font-size: 26px; padding-block: 10px; display: block; border-bottom: 1px solid rgba(243,239,226,.1); }
.mobile-nav .lang-switch { margin-top: 30px; align-self: flex-start; border-color: var(--ink-inverse-soft); }
.mobile-nav .lang-switch a { color: var(--ink-inverse); }
.mobile-nav .lang-switch a.is-active { background: var(--rose-600); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .care-grid, .team-grid, .review-grid, .hours-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section { padding-block: 60px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 52px 64px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
