@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,340..600;1,9..144,400..500&family=Work+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --teal-deep: #1F4743;
  --teal-mid: #2F6560;
  --teal-soft: #3F7A73;
  --linen: #F7F2E9;
  --linen-dim: #EFE8DA;
  --coral: #DD7A5E;
  --coral-dark: #C4634A;
  --wood: #8B6144;
  --ink: #1B2321;
  --ink-soft: #43524E;
  --cream-text: #F7F2E9;
  --line: rgba(31, 71, 67, 0.14);
  --line-light: rgba(247, 242, 233, 0.22);

  --display: 'Fraunces', serif;
  --body: 'Work Sans', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 560;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p { margin: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Fluted signature motif ---------- */
/* Recreates the reception desk's slatted apron as a recurring texture */
.fluted {
  background-image: repeating-linear-gradient(
    90deg,
    currentColor 0px,
    currentColor 2px,
    transparent 2px,
    transparent 9px
  );
  opacity: 0.9;
}
.fluted-rule {
  width: 88px;
  height: 14px;
  color: var(--coral);
}
.fluted-rule.on-dark { color: var(--linen); opacity: 0.55; }

.flute-divider {
  height: 46px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--teal-soft) 0px,
    var(--teal-soft) 3px,
    transparent 3px,
    transparent 13px
  );
  opacity: 0.16;
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--teal-deep);
  border-bottom: 1px solid var(--line-light);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream-text);
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.brand-word {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand-word span {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-top: 3px;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  color: var(--linen);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.82;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.current { opacity: 1; }
.nav-links a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--coral);
}
.nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 3px;
  font-size: 14.5px;
  font-weight: 600;
  opacity: 1 !important;
  transition: background 0.15s ease;
}
.nav-cta:hover { background: var(--coral-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--linen);
  font-size: 26px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline-dark:hover { border-color: var(--ink); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(247,242,233,0.4);
  color: var(--linen);
}
.btn-outline-light:hover { border-color: var(--linen); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(20,45,42,0.55) 0%, rgba(18,38,36,0.86) 78%, var(--teal-deep) 100%), var(--teal-deep);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('../assets/reception_hero.jpg');
  background-size: cover;
  background-position: center 85%;
  opacity: 0.4;
}
.hero-inner {
  position: relative;
  padding: 120px 0 76px;
  color: var(--cream-text);
}
.badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  background: rgba(247,242,233,0.1);
  border: 1px solid rgba(247,242,233,0.28);
  padding: 7px 14px 7px 12px;
  border-radius: 3px;
}
.rating-badge .stars { color: var(--coral); letter-spacing: 1px; }

.hero h1 {
  color: var(--cream-text);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 560;
  line-height: 1.04;
  max-width: 780px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--coral);
}
.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  max-width: 520px;
  color: rgba(247,242,233,0.82);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow .fluted-rule { height: 10px; width: 50px; color: var(--coral); }

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
}
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-soft);
}

.bg-teal { background: var(--teal-deep); color: var(--linen); }
.bg-teal .eyebrow { color: var(--coral); }
.bg-teal h2, .bg-teal h3, .bg-teal h4 { color: var(--linen); }
.bg-teal .section-head p { color: rgba(247,242,233,0.75); }
.bg-linen-dim { background: var(--linen-dim); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--linen);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 34px 28px;
  border-left: 1px solid var(--line);
  text-align: left;
}
.trust-item:first-child { border-left: none; }
.trust-num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 560;
  color: var(--teal-deep);
}
.trust-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---------- Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral);
  padding: 32px 28px;
  border-radius: 2px;
}
.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.card p {
  color: var(--ink-soft);
  font-size: 15px;
}
.card-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--wood);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  display: block;
}

.card-dark {
  background: rgba(247,242,233,0.05);
  border: 1px solid rgba(247,242,233,0.15);
  border-left: 3px solid var(--coral);
}
.card-dark h3 { color: var(--linen); }
.card-dark p { color: rgba(247,242,233,0.72); }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split img {
  border-radius: 2px;
  border: 1px solid var(--line);
}
.split-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.split-list-item {
  display: flex;
  gap: 16px;
}
.split-list-item .mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 3px;
}
.split-list-item h4 {
  font-size: 16.5px;
  font-family: var(--body);
  font-weight: 600;
}
.split-list-item p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- Doctors ---------- */
.doctor-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.doctor-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--linen);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 22px;
  flex-shrink: 0;
}
.doctor-name {
  font-size: 20px;
  margin-bottom: 4px;
}
.doctor-role {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--coral-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.doctor-bio {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--teal-deep);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: -60px;
  width: 260px;
  background-image: repeating-linear-gradient(
    90deg, var(--coral) 0px, var(--coral) 3px, transparent 3px, transparent 15px
  );
  opacity: 0.16;
}
.cta-inner {
  position: relative;
  text-align: left;
  max-width: 640px;
}
.cta-inner h2 { color: var(--linen); font-size: clamp(28px, 4vw, 40px); }
.cta-inner p { color: rgba(247,242,233,0.78); margin-top: 14px; font-size: 16.5px; }
.cta-inner .btn { margin-top: 30px; }

/* ---------- Footer ---------- */
footer {
  background: var(--teal-deep);
  color: var(--linen);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247,242,233,0.14);
}
.footer-brand .brand-word { font-size: 22px; }
.footer-tagline {
  margin-top: 16px;
  font-size: 14.5px;
  color: rgba(247,242,233,0.65);
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col p, .footer-col a {
  display: block;
  font-size: 14.5px;
  color: rgba(247,242,233,0.82);
  margin-bottom: 10px;
}
.hours-table {
  font-family: var(--mono);
  font-size: 13px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  color: rgba(247,242,233,0.82);
  border-bottom: 1px dotted rgba(247,242,233,0.14);
}
.hours-row span:last-child { color: rgba(247,242,233,0.55); }
.footer-bottom {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(247,242,233,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page header (for interior pages) ---------- */
.page-header {
  background: var(--teal-deep);
  padding: 64px 0 56px;
  color: var(--linen);
}
.page-header .eyebrow { color: var(--coral); }
.page-header h1 {
  color: var(--linen);
  font-size: clamp(34px, 5vw, 50px);
}
.page-header p {
  margin-top: 16px;
  max-width: 560px;
  color: rgba(247,242,233,0.78);
  font-size: 16.5px;
}

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 60;
  background: var(--coral);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- Contact page specifics ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px;
}
.info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-row:last-child { border-bottom: none; }
.info-row .ic {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--coral-dark);
}
.info-row h4 { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.info-row p { font-size: 14.5px; color: var(--ink-soft); }
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2, .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0; right: 0;
    background: var(--teal-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 24px;
    border-bottom: 1px solid var(--line-light);
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(247,242,233,0.08); }
  .nav-links a.current::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }
  .split { gap: 32px; }
  .split.reverse .split-img { order: 2; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .doctor-card { flex-direction: column; }
}

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

:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}
