/* ==========================================================================
   Alpha Denture Clinic — stylesheet
   Layout language from jogg.com.au (pill buttons, soft blob backgrounds,
   rounded-corner panels with soft shadows). Palette and type pulled from the
   clinic's own logo: magenta #9f2177, near-black wordmark, Playfair Display
   serif headings, Red Hat Display for body/UI.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Red+Hat+Display:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #9f2177;        /* Alpha Denture Clinic logo magenta */
  --brand-dark: #7c1a5e;
  --brand-light: #f8e9f2;
  --burgundy: #3d1b24;     /* clinic accent-wall burgundy, used for dark sections */
  --gold: #c9a24a;
  --ink: #171717;          /* wordmark near-black */
  --muted: #6b6360;
  --bg: #ffffff;
  --bg-soft: #faf6f4;
  --line: #ece3e0;
  --radius-lg: 30px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 2px 60px rgba(23, 17, 20, 0.12);
  --shadow-card: 0 10px 30px rgba(23, 17, 20, 0.08);
  --container: 1160px;
}

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

body {
  margin: 0;
  font-family: 'Red Hat Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--brand);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--muted); }

a { color: var(--brand); text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 0.9em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: var(--brand-light); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--burgundy);
}
.logo-img { height: 88px; width: auto; display: block; }
.logo .mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.logo .mark svg { width: 22px; height: 22px; }
.logo .mark img { width: 100%; height: 100%; object-fit: cover; }
.logo small {
  display: block;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 34px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--burgundy);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand); }
.nav-cta { display: none; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 18px; }
.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--burgundy);
}
.phone-link svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--burgundy);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
  background: var(--bg-soft);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}
.hero::before {
  width: 620px; height: 620px;
  background: radial-gradient(circle at 30% 30%, rgba(159,33,119,0.10), rgba(159,33,119,0) 70%);
  top: -220px; right: -160px;
}
.hero::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle at 60% 40%, rgba(201,162,74,0.14), rgba(201,162,74,0) 70%);
  bottom: -180px; left: -120px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}
.rating-chip .stars { color: var(--gold); letter-spacing: 1px; }
.hero-copy h1 { color: var(--burgundy); }
.hero-copy h1 span { color: var(--brand); }
.hero-copy .lead { font-size: 1.12rem; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta div { font-size: 0.85rem; color: var(--muted); }
.hero-meta strong { display: block; color: var(--burgundy); font-size: 1.05rem; font-family: 'Playfair Display', serif; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual .art-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 2px 60px rgba(159,33,119,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-visual .art-wrap svg { width: 62%; height: 62%; }
.hero-visual .art-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-visual .badge-float {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-visual .badge-float .icon-circle { width: 42px; height: 42px; }
.hero-visual .badge-float strong { display: block; font-family: 'Playfair Display', serif; color: var(--burgundy); font-size: 1.05rem; }
.hero-visual .badge-float span { font-size: 0.78rem; color: var(--muted); }

/* ---------- Icon circle ---------- */
.icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-circle svg { width: 26px; height: 26px; color: var(--brand); }

/* ---------- Feature grid ---------- */
.section { padding: 90px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }
.section-head p.lead { font-size: 1.05rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.feature-card .icon-circle { margin-bottom: 18px; }
.feature-card h3 { color: var(--burgundy); margin-bottom: 8px; }
.feature-card p { margin: 0; font-size: 0.95rem; }

/* ---------- Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-visual { order: 2; }
.split-visual .art-panel {
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  aspect-ratio: 4/3.4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-card);
}
.split-visual .art-panel svg { width: 46%; height: 46%; color: var(--brand); }
.split-visual .art-panel img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); object-position: center 20%; }
.split-visual .art-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(159,33,119,0.18);
  margin: 14px;
}
.split-copy .check-list { list-style: none; padding: 0; margin: 24px 0; }
.split-copy .check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-weight: 500;
  color: var(--burgundy);
}
.split-copy .check-list svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* ---------- Services cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: var(--shadow-card);
}
.service-card .icon-circle { margin-bottom: 16px; }
.service-card h3 { margin-bottom: 10px; color: var(--burgundy); }
.service-card ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); font-size: 0.92rem; }
.service-card ul li { margin-bottom: 6px; }

/* ---------- Testimonials ---------- */
.testimonials-wrap { background: var(--burgundy); padding: 90px 0; position: relative; overflow: hidden; }
.testimonials-wrap::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159,33,119,0.55), rgba(159,33,119,0) 70%);
  top: -220px; right: -100px;
}
.testimonials-wrap .section-head h2 { color: #fff; }
.testimonials-wrap .section-head .eyebrow { color: var(--gold); }
.testimonials-wrap .section-head p { color: rgba(255,255,255,0.7); }
.testimonial-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 30px;
  color: #fff;
}
.testimonial-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; display: block; }
.testimonial-card p { color: rgba(255,255,255,0.88); font-size: 0.98rem; margin-bottom: 20px; }
.testimonial-card .who { font-family: 'Playfair Display', serif; font-weight: 600; color: #fff; font-size: 1rem; }
.testimonial-card .who span { display: block; font-family: 'Red Hat Display', sans-serif; font-weight: 400; color: rgba(255,255,255,0.55); font-size: 0.8rem; margin-top: 2px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  right: -80px; top: -100px;
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0; max-width: 46ch; }
.cta-banner .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--burgundy); font-weight: 600; }
.trust-item svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }

/* ---------- About / team ---------- */
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow-card);
}
.team-avatar {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--brand-light), #fff);
  display: flex; align-items: center; justify-content: center;
  border: 6px solid var(--bg-soft);
  overflow: hidden;
}
.team-avatar svg { width: 58%; height: 58%; color: var(--brand); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 22%; }
.team-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.team-card .role { color: var(--gold); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; display: block; }

/* ---------- Values grid (about page) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-item { text-align: center; }
.value-item .icon-circle { margin: 0 auto 16px; }
.value-item h4 { font-family: 'Playfair Display', serif; color: var(--burgundy); font-size: 1.05rem; margin-bottom: 6px; }
.value-item p { font-size: 0.88rem; margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.contact-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row .icon-circle { width: 44px; height: 44px; }
.contact-row .icon-circle svg { width: 20px; height: 20px; }
.contact-row h4 { margin: 0 0 4px; font-family: 'Red Hat Display', sans-serif; font-weight: 700; color: var(--burgundy); font-size: 0.95rem; }
.contact-row p, .contact-row a { margin: 0; font-size: 0.92rem; color: var(--muted); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.hours-table td { padding: 4px 0; font-size: 0.92rem; color: var(--muted); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--burgundy); }
.hours-table tr.today td { color: var(--brand); font-weight: 700; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

.form-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 32px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--burgundy); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.form-success { display: none; background: var(--brand-light); color: var(--brand-dark); padding: 16px 20px; border-radius: 12px; font-weight: 600; margin-top: 18px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-soft);
  padding: 64px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159,33,119,0.10), rgba(159,33,119,0) 70%);
  top: -180px; right: -100px;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--brand); font-weight: 600; }
.page-hero h1 { color: var(--burgundy); margin-bottom: 14px; }
.page-hero p.lead { max-width: 60ch; font-size: 1.05rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h4 { font-family: 'Red Hat Display', sans-serif; font-weight: 700; color: var(--burgundy); font-size: 1.02rem; margin: 0 0 8px; }
.faq-item p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--burgundy); color: rgba(255,255,255,0.75); padding: 70px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 { color: #fff; font-family: 'Red Hat Display', sans-serif; font-weight: 700; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-grid .logo { color: #fff; margin-bottom: 14px; }
.footer-grid .logo small { color: rgba(255,255,255,0.55); }
.footer-grid p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.footer-grid ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .split, .split.reverse .split-visual, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 760px) {
  .main-nav, .header-actions .phone-link-desktop, .header-actions .btn-primary { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 56px 0 70px; }
  .section { padding: 60px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 20px; }
}

/* Mobile nav drawer */
/* backdrop-filter on .site-header would otherwise become the containing
   block for this fixed-position drawer, shrinking it down to the header's
   own height instead of the full viewport — so drop the blur while open */
body.nav-open .site-header { backdrop-filter: none; }
body.nav-open .main-nav {
  display: flex;
  position: fixed;
  inset: 0;
  top: var(--header-h, 88px);
  background: #fff;
  z-index: 90;
  flex-direction: column;
  padding: 30px 24px;
  overflow-y: auto;
}
body.nav-open .main-nav ul { flex-direction: column; gap: 22px; }
body.nav-open .main-nav .nav-cta { display: block; margin-top: 10px; }
body.nav-open .main-nav .nav-cta .btn { width: 100%; justify-content: center; }
body.nav-open .main-nav .nav-cta .phone-link { justify-content: center; margin-top: 16px; font-size: 1.05rem; }
