/* ============================================================
   CENTRAL PARK DENTAL — Stylesheet
   Holistic boutique dental clinic, Malvern East VIC 3145
   ============================================================ */

/* Fonts now loaded via <link> in each page head for faster rendering */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --terra:        #B5715A;
  --terra-light:  #D4967E;
  --terra-pale:   #F5EAE5;
  --blush:        #E8C8BC;
  --sage:         #8A9E8C;
  --sage-pale:    #EBF0EB;
  --warm-white:   #FAF6F2;
  --warm-off:     #F3EDE7;
  --charcoal:     #3D3530;
  --mid:          #7A6A62;
  --light-border: #E8DDD8;

  --display:      'Cormorant Garamond', Georgia, serif;
  --body:         'Inter', system-ui, sans-serif;

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    28px;
  --radius-pill:  100px;

  --shadow-soft:  0 2px 24px rgba(61,53,48,0.07);
  --shadow-card:  0 4px 32px rgba(61,53,48,0.10);

  --max-w:        1080px;
  --section-gap:  5rem;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; height: 100%; }
body {
  font-family: var(--body);
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.site-header { flex-shrink: 0; }
.site-footer { margin-top: auto; flex-shrink: 0; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.2; color: var(--charcoal); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--mid); line-height: 1.75; }
.eyebrow {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Layout helpers ──────────────────────────────────────── */
.container { width: 92%; max-width: var(--max-w); margin-inline: auto; }
.section   { padding: var(--section-gap) 0; }
.section--alt { background: var(--warm-off); }
.section--sage { background: var(--sage-pale); }
.section--terra { background: var(--terra-pale); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: transform 0.5s var(--ease-lux), box-shadow 0.5s var(--ease-lux), background 0.35s ease, border-color 0.35s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terra);
  color: #fff;
}
.btn-primary:hover { background: #a06450; transform: translateY(-3px); box-shadow: 0 12px 32px -6px rgba(181,113,90,0.45), 0 2px 8px rgba(181,113,90,0.18); }
.btn-outline {
  background: transparent;
  color: var(--terra);
  border: 1.5px solid var(--terra);
}
.btn-outline:hover { background: var(--terra-pale); transform: translateY(-3px); box-shadow: 0 10px 24px -10px rgba(181,113,90,0.35); }
.btn-white {
  background: #fff;
  color: var(--terra);
}
.btn-white:hover { background: var(--terra-pale); transform: translateY(-3px); box-shadow: 0 12px 28px -8px rgba(61,53,48,0.28); }

/* ── Navigation ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.6s var(--ease-lux);
  background: rgba(250,246,242,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-border);
}
.nav-inner .logo { font-size: 1.15rem; }
.nav-inner .logo-badge { width: 32px; height: 32px; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.logo {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo span { color: var(--terra); }
.logo-badge {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

/* Social links */
.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--terra);
  border: 1px solid var(--terra);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s, background 0.2s;
}
.social-links a:hover { background: var(--terra-light); transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.1rem;
  row-gap: 0.3rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--mid);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--charcoal);
  background: var(--terra-pale);
}
.nav-links .nav-cta {
  background: var(--terra);
  color: #fff;
  padding: 0.5rem 0.9rem;
  margin-left: 0.4rem;
}
.nav-links .nav-cta:hover { background: #a06450; color: #fff; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
  position: relative;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--warm-white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    gap: 0.4rem;
    z-index: 99;
    padding: 5.5rem 2rem 2rem;
    box-sizing: border-box;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 300;
    padding: 0.6rem 1.5rem;
    color: var(--charcoal);
  }
  .nav-links .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    font-family: var(--body);
    font-size: 0.9rem;
  }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--charcoal) 0%, #4a3d36 60%, var(--terra) 145%);
  overflow: hidden;
}
.hero-shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(61,53,48,0.55) 0%, rgba(61,53,48,0.15) 55%, rgba(61,53,48,0) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-content h1 { color: #fff; font-weight: 300; font-style: italic; margin-bottom: 1.25rem; }
.hero-content h1 em { font-style: normal; color: var(--blush); }
.hero-content p { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 520px; margin-bottom: 2rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.hero-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.hero-instagram-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.hero-instagram-link:hover { color: #fff; }

/* Organic wave divider */
.wave-divider { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; }

/* ── Intro strip ─────────────────────────────────────────── */
.intro-strip {
  background: var(--terra);
  padding: 2rem 0;
}
.intro-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.2);
}
.intro-stat {
  background: var(--terra);
  padding: 1.5rem 2rem;
  text-align: center;
}
.intro-stat .num {
  font-family: var(--display);
  font-size: 2.4rem;
  color: #fff;
  line-height: 1;
}
.intro-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.3rem;
  letter-spacing: 0.05em;
}

/* ── About preview ───────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap .img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--blush);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1rem;
  color: var(--terra);
  font-style: italic;
}
.about-img-wrap .dr-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 1.4s var(--ease-lux), box-shadow 1.4s var(--ease-lux);
}
.about-img-wrap:hover .dr-photo {
  transform: scale(1.015) translateY(-3px);
  box-shadow: 0 30px 60px -24px rgba(61,53,48,0.30);
}
.about-img-wrap .dr-photo--wide {
  aspect-ratio: 5/4;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  background: var(--sage-pale);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-text { display: flex; flex-direction: column; gap: 1.25rem; }
.credentials {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.5rem 0;
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--mid);
}
.credential-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terra);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* ── Icon system (custom SVG sprite) ────────────────────── */
.icon-svg {
  width: 22px;
  height: 22px;
  display: block;
}
.service-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terra-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  color: var(--terra);
  flex-shrink: 0;
}
.philosophy-card .p-icon svg,
.info-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.benefit-dot svg { width: 11px; height: 11px; display: block; }

/* ── Services ────────────────────────────────────────────── */
.services-intro { max-width: 560px; margin: 0 auto 3rem; text-align: center; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.6s var(--ease-lux), box-shadow 0.6s var(--ease-lux), border-color 0.4s ease;
  display: block;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-lux);
}
.service-card:hover {
  border-color: var(--blush);
  box-shadow: 0 22px 44px -18px rgba(61,53,48,0.22), 0 6px 16px -8px rgba(181,113,90,0.14);
  transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  display: block;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--charcoal); }
.service-card p  { font-size: 0.875rem; line-height: 1.6; }
.service-card .icon { transition: transform 0.6s var(--ease-lux); }
.service-card:hover .icon { transform: translateY(-3px); }
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.45s var(--ease-lux), color 0.3s ease;
  font-size: 0.8rem;
  color: var(--terra);
  font-weight: 500;
  margin-top: 0.75rem;
}
.service-card:hover .card-link { gap: 0.65rem; }

/* ── Philosophy / comfort section ───────────────────────── */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.philosophy-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.7s var(--ease-lux), box-shadow 0.7s var(--ease-lux);
}
.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -20px rgba(61,53,48,0.20);
}
.philosophy-card .p-icon {
  width: 52px;
  height: 52px;
  background: var(--terra-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
}
.philosophy-card h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.philosophy-card p  { font-size: 0.85rem; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-header { text-align: center; max-width: 500px; margin: 0 auto 3rem; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--display);
  font-size: 4rem;
  color: var(--blush);
  line-height: 1;
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
}
.testimonial-card p {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--charcoal);
  line-height: 1.65;
  padding-top: 1.5rem;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-top: 1rem;
  color: var(--terra);
  font-size: 0.85rem;
}
.testimonial-name {
  font-size: 0.78rem;
  color: var(--mid);
  margin-top: 0.4rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── New patients strip ──────────────────────────────────── */
.new-patients-strip {
  background: var(--sage);
  padding: 4rem 0;
}
.new-patients-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.new-patients-inner h2 { color: #fff; }
.new-patients-inner p  { color: rgba(255,255,255,0.8); margin-top: 0.5rem; }

/* ── Final CTA ───────────────────────────────────────────── */
.cta-section {
  background: var(--charcoal);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: var(--terra);
  border-radius: 50%;
  opacity: 0.12;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 200px; height: 200px;
  background: var(--sage);
  border-radius: 50%;
  opacity: 0.12;
}
.cta-section h2 { color: #fff; position: relative; z-index: 1; }
.cta-section p  { color: rgba(255,255,255,0.7); margin: 1rem auto 2rem; max-width: 480px; position: relative; z-index: 1; }
.cta-section .cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #2E2825;
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: rgba(255,255,255,0.9); font-size: 1.2rem; margin-bottom: 0.75rem; }
.footer-brand .logo-badge {
  background: var(--warm-white);
  border-radius: 50%;
  padding: 3px;
}
.logo-text { display: inline-block; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 240px; }
.footer-col h5 {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--blush); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.78rem;
}

/* ── Page heroes (inner pages) ───────────────────────────── */
.page-hero {
  background: var(--terra-pale);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: var(--blush);
  border-radius: 50%;
  opacity: 0.35;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--charcoal); font-style: italic; }
.page-hero p  { margin-top: 0.75rem; max-width: 560px; font-size: 1.1rem; }

/* ── Benefit lists ───────────────────────────────────────── */
.benefit-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--mid);
}
.benefit-dot {
  width: 20px; height: 20px;
  background: var(--terra-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  color: var(--terra);
  margin-top: 0.15rem;
}

/* ── Two column content ──────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.two-col--centered { align-items: center; }

/* ── Contact page ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.info-icon {
  width: 40px; height: 40px;
  background: var(--terra-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.info-item h4 { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--terra); margin-bottom: 0.25rem; }
.info-item p  { font-size: 0.9rem; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--light-border); }
.hours-table td { padding: 0.6rem 0; font-size: 0.9rem; color: var(--mid); }
.hours-table td:last-child { text-align: right; font-weight: 500; color: var(--charcoal); }

.map-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--sage-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  color: var(--sage);
  font-size: 1.1rem;
  border: 1px solid var(--light-border);
}
.map-embed {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-border);
}
.map-directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--terra);
}
.map-directions-link svg { width: 18px; height: 18px; }
.map-directions-link:hover { text-decoration: underline; }

/* Suburb chips */
.suburb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.suburb-chip {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.suburb-chip svg { width: 14px; height: 14px; color: var(--terra); }

.suburb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.suburb-detail-card {
  background: var(--warm-off);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.suburb-detail-card h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.suburb-detail-card p {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.55;
}

/* Learn with Dr Tani */
.blog-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--terra-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.learn-card {
  display: block;
  background: var(--warm-white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.6s var(--ease-lux), box-shadow 0.6s var(--ease-lux);
}
.learn-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(61,53,48,0.22); }
.learn-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--terra-pale);
}
.learn-card-body { padding: 1.5rem; }
.learn-card-category {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 500;
}
.learn-card-body h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-top: 0.4rem;
  line-height: 1.3;
}
.learn-card-body p {
  font-size: 0.9rem;
  color: var(--mid);
  margin-top: 0.5rem;
  line-height: 1.55;
}
.learn-card-meta {
  font-size: 0.78rem;
  color: var(--sage);
  margin-top: 1rem;
}

/* ── Patient forms ───────────────────────────────────────── */
.form-card {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.form-card:hover { border-color: var(--blush); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.form-card-top { display: flex; align-items: flex-start; gap: 0.9rem; }
.form-card .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--terra-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--terra);
  flex-shrink: 0;
}
.form-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.form-card p { font-size: 0.85rem; }
.form-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--terra);
  margin-top: auto;
}
.form-card-link svg { width: 15px; height: 15px; }

/* ── Book page ───────────────────────────────────────────── */
.book-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}
.contact-card .c-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--terra-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--terra);
}
.contact-card .c-icon svg { width: 26px; height: 26px; }
.contact-card .big-detail {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--charcoal);
  margin: 0.5rem 0 0.25rem;
  word-break: break-word;
}
.contact-card p.hint { font-size: 0.85rem; color: var(--mid); margin-bottom: 1.5rem; }

/* ── Scroll animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.1s var(--ease-lux), transform 1.1s var(--ease-lux);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Mobile responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  :root { --section-gap: 3.5rem; }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }

  .intro-strip-inner { grid-template-columns: 1fr; background: none; gap: 0; }
  .intro-stat { border-bottom: 1px solid rgba(255,255,255,0.15); }

  .about-grid,
  .two-col,
  .contact-grid,
  .book-cards-grid,
  .new-patients-inner { grid-template-columns: 1fr; }

  .about-img-wrap::after { display: none; }

  .philosophy-grid { grid-template-columns: 1fr; gap: 1rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .hero { min-height: 85svh; }
  .hero-btns { flex-direction: column; align-items: flex-start; }

  .new-patients-inner { text-align: center; }
  .new-patients-inner .btn { margin: 0 auto; }

  .booking-wrap { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ENHANCEMENTS (original palette) — entrance, timeline,
   spotlight, mobile call bar
   ============================================================ */

/* ── Hero entrance sequence ────────────────────────────── */
.hero-content > * { animation: riseIn .85s cubic-bezier(.22,.8,.3,1) both; }
.hero-content > *:nth-child(1) { animation-delay: .25s; }
.hero-content > *:nth-child(2) { animation-delay: .40s; }
.hero-content > *:nth-child(3) { animation-delay: .55s; }
.hero-content > *:nth-child(4) { animation-delay: .70s; }
.hero-content > *:nth-child(5) { animation-delay: .85s; }
.hero-content > *:nth-child(6) { animation-delay: 1.0s; }
.hero-content > *:nth-child(7) { animation-delay: 1.15s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ── Visit-with-us timeline ────────────────────────────── */
.visit-timeline { position: relative; max-width: 660px; margin: 3rem auto 0; }
.visit-timeline::before {
  content: ""; position: absolute; left: 26px; top: 12px; bottom: 36px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--terra), var(--sage));
  transform: scaleY(0); transform-origin: top;
  transition: transform 1.4s cubic-bezier(.22,.8,.3,1) .2s;
}
.visit-timeline.visible::before { transform: scaleY(1); }
.visit-step { display: flex; gap: 1.7rem; align-items: flex-start; padding-bottom: 2.3rem; position: relative; }
.visit-step:last-child { padding-bottom: 0; }
.visit-num {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--terra-pale); border: 2px solid var(--terra);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600;
  font-size: 1.25rem; color: var(--terra);
  position: relative; z-index: 1;
}
.visit-step:nth-child(3) .visit-num,
.visit-step:nth-child(4) .visit-num { border-color: var(--sage); color: var(--sage); background: var(--sage-pale); }
.visit-body h4 { margin: 0.5rem 0 0.35rem; }
.visit-body p { font-size: 0.94rem; max-width: 480px; }
.section--alt .visit-num { box-shadow: 0 0 0 6px var(--warm-off); }

/* ── Dr Tani spotlight additions ───────────────────────── */
.philosophy-rotator {
  font-family: var(--display); font-style: italic;
  font-size: 1.22rem; line-height: 1.5; color: var(--charcoal);
  border-left: 3px solid var(--terra); border-radius: 2px;
  padding-left: 1.1rem; margin: 1.4rem 0 1.6rem; min-height: 3.2em;
  transition: opacity .7s var(--ease-lux), transform .7s var(--ease-lux);
}
.philosophy-rotator.fading { opacity: 0; transform: translateY(6px); }
.signature {
  display: block;
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 2.05rem; color: var(--terra); line-height: 1;
  margin: 0.3rem 0 1.5rem;
}
.signature small {
  display: block; font-family: var(--body); font-style: normal;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mid); margin-top: 0.5rem;
}

/* ── Sticky mobile call bar ────────────────────────────── */
.mobile-call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,0.4);
  box-shadow: 0 -4px 20px rgba(61,53,48,0.15);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-call-bar a {
  background: var(--sage); color: #fff;
  text-align: center; padding: 0.95rem 0.5rem;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-call-bar a.mcb-book { background: var(--terra); }
.mobile-call-bar a:active { filter: brightness(0.92); }
@media (max-width: 880px) {
  .mobile-call-bar { display: grid; }
  body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none; }
  .visit-timeline::before { transform: scaleY(1); transition: none; }
  .philosophy-rotator { transition: none; }
}

/* ============================================================
   LUXURY MOTION PASS — floating hero, smooth scroll, tokens
   ============================================================ */
:root {
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ── Floating hero shapes — slow, out-of-phase drift ─────── */
@keyframes drift-a {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-14px, 18px); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(12px, -16px); }
}
@keyframes drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-8px, -12px) scale(1.03); }
}
@keyframes drift-d {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(10px, 14px) rotate(1.2deg); }
}
.hero-shapes > * {
  transform-origin: center;
  transform-box: fill-box;
  will-change: transform;
}
.hero-shapes > *:nth-child(1) { animation: drift-a 16s ease-in-out infinite; }
.hero-shapes > *:nth-child(2) { animation: drift-b 21s ease-in-out infinite; }
.hero-shapes > *:nth-child(3) { animation: drift-c 13s ease-in-out infinite; }
.hero-shapes > *:nth-child(4) { animation: drift-d 26s ease-in-out infinite; }

/* ── Hero badges — barely-there levitation, staggered ────── */
@keyframes levitate {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.hero-badge { animation: levitate 5.5s ease-in-out infinite; }
.hero-badge:nth-child(2) { animation-delay: 1.3s; }
.hero-badge:nth-child(3) { animation-delay: 2.6s; }
.hero-badge:nth-child(4) { animation-delay: 3.9s; }

/* ── Philosophy icon halo — quiet breath on hover ────────── */
.philosophy-card .p-icon { transition: transform 0.7s var(--ease-lux), box-shadow 0.7s var(--ease-lux); }
.philosophy-card:hover .p-icon {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -10px rgba(181,113,90,0.40);
}

/* ── Mobile call bar — gentle rise on load ───────────────── */
@keyframes bar-rise {
  from { transform: translateY(100%); opacity: 0.4; }
  to   { transform: translateY(0);    opacity: 1; }
}
.mobile-call-bar { animation: bar-rise 0.9s var(--ease-lux) 0.35s backwards; }

/* ── Respect reduced motion for every ambient effect ─────── */
@media (prefers-reduced-motion: reduce) {
  .hero-shapes > *,
  .hero-badge,
  .mobile-call-bar { animation: none !important; }
  .reveal, .btn, .service-card, .philosophy-card,
  .about-img-wrap .dr-photo, .philosophy-rotator { transition: none !important; }
}
