/* Advanced Dentures — v2 (Concept B: Neighbourhood Warm)
   Palette matched to the CURRENT live site:
   deep blue #1470AF, periwinkle #8EB6DC, black #000, white #FFF
   Fonts matched to current live site: Sansita (headings), Nunito Sans (body) */

:root {
  --blue-deep: #1470AF;
  --blue-light: #8EB6DC;
  --blue-wash: #EAF2FA;
  --black: #000000;
  --ink: #16191c;
  --slate: #52585e;
  --white: #FFFFFF;
  --radius-lg: 32px;
  --shadow: 0 16px 40px rgba(20,112,175,0.16);
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
h1, h2, h3, h4 {
  font-family: 'Sansita', 'Nunito Sans', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
a { color: var(--blue-deep); }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--black); color: #fff; padding: 12px 20px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Header ===== */
.site-header { background: var(--white); border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--max-width); margin: 0 auto; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.brand-mark { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.brand-name { font-family: 'Sansita', sans-serif; font-weight: 700; font-size: 1.3rem; line-height: 1.15; color: var(--black); }
.brand-name small { display: block; font-family: 'Nunito Sans'; font-weight: 600; font-size: 0.65rem; color: var(--slate); letter-spacing: 0.06em; text-transform: uppercase; }

nav.main-nav { display: flex; align-items: center; gap: 30px; }
nav.main-nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1rem; padding: 12px 10px; border-bottom: 3px solid transparent; border-radius: 8px; }
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] { border-bottom-color: var(--blue-deep); color: var(--blue-deep); }

.header-call { display: flex; align-items: center; gap: 16px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--black); font-size: 1.02rem; white-space: nowrap; }
.nav-toggle { display: none; background: var(--black); border: none; color: #fff; width: 48px; height: 48px; border-radius: 12px; font-size: 1.4rem; cursor: pointer; }

/* ===== Buttons (pill, matches current brand's black pill CTA) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent; min-height: 48px;
  line-height: 1.1; font-family: 'Nunito Sans'; transition: transform 0.08s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--black); color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.btn-primary:hover { background: #222; }
.btn-secondary { background: transparent; color: var(--black); border-color: var(--black); }
.btn-secondary:hover { background: var(--black); color: #fff; }
.btn-blue { background: var(--blue-deep); color: #fff; box-shadow: 0 10px 24px rgba(20,112,175,0.3); }
.btn-blue:hover { background: #0f5a8c; }
.btn-block { width: 100%; }
.btn-lg { padding: 19px 34px; font-size: 1.15rem; }

/* ===== Hero (organic blob photo, periwinkle wash bg) ===== */
.hero { background: var(--blue-light); padding: 60px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.hero-eyebrow { color: var(--black); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.88rem; margin-bottom: 14px; opacity: 0.75; }
.hero h1 { color: var(--black); }
.hero p.lead { font-size: 1.18rem; color: #1c1c1c; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.hero-trust { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.95rem; color: #1c1c1c; font-weight: 600; }

.blob-photo { position: relative; }
.blob-photo img {
  width: 100%; aspect-ratio: 4/3.1; object-fit: cover;
  border-radius: 44% 56% 61% 39% / 46% 41% 59% 54%;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.blob-photo.square img { aspect-ratio: 1/1; border-radius: 50%; }

/* ===== Sections ===== */
section { padding: 68px 0; }
section.wash { background: var(--blue-wash); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 42px; }
.section-head p { color: var(--slate); font-size: 1.12rem; }
.badge { display: inline-block; background: var(--blue-wash); color: #0f5a8c; padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; margin-bottom: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Value strip */
.value-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.value-item .icon { font-size: 2.2rem; margin-bottom: 10px; }
.value-item h3 { margin-bottom: 6px; }
.value-item p { color: var(--slate); }

/* Team (zig-zag) */
.team-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.team-row:last-child { margin-bottom: 0; }
.team-row.reverse .team-photo { order: 2; }
.team-photo img {
  width: 100%; max-width: 340px; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%;
  border: 6px solid #fff; box-shadow: var(--shadow); margin: 0 auto;
}
.team-photo { text-align: center; }
.team-role { color: var(--blue-deep); font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.team-greeting { font-family: 'Sansita', sans-serif; font-weight: 700; font-size: 1.35rem; color: var(--black); margin: 2px 0 10px; position: relative; padding-left: 20px; }
.team-greeting::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--blue-deep); }

/* Cards (organic rounded, blue accent) */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid #e7eef5; border-radius: var(--radius-lg); padding: 30px;
  box-shadow: 0 10px 28px rgba(20,112,175,0.08);
}
.card .need { color: var(--blue-deep); font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; display: block; }
.card h3 { margin-bottom: 8px; }
.card a.learn { font-weight: 700; text-decoration: none; color: var(--black); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 20px 14px; }
.step-num { width: 58px; height: 58px; border-radius: 50%; background: var(--blue-deep); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Sansita'; font-weight: 700; font-size: 1.4rem; margin: 0 auto 16px; }

/* Testimonials */
.testimonial { background: #fff; border: 1px solid #e7eef5; border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 10px 28px rgba(20,112,175,0.08); }
.stars { color: var(--blue-deep); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial .who { margin-top: 14px; font-weight: 700; color: var(--black); }
.review-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--blue-wash); padding: 12px 22px; border-radius: 999px; font-weight: 700; color: var(--blue-deep); margin-top: 8px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* FAQ */
.faq-item { border: 1px solid #e7eef5; border-radius: 18px; margin-bottom: 14px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; background: #fff; border: none; padding: 20px 24px; font-family: 'Sansita'; font-weight: 700; font-size: 1.1rem; color: var(--black); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; }
.faq-question .plus { font-size: 1.4rem; color: var(--blue-deep); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-question[aria-expanded="true"] .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 24px; color: var(--slate); }
.faq-answer[data-open="true"] { max-height: 400px; padding: 0 24px 22px; }

/* Forms */
.form-card { background: #fff; border: 1px solid #e7eef5; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 700; color: var(--black); margin-bottom: 8px; font-size: 1.02rem; }
.form-row .hint { font-weight: 400; color: var(--slate); font-size: 0.9rem; }
input, select, textarea {
  width: 100%; font-size: 1.05rem; font-family: inherit; padding: 13px 16px; min-height: 48px;
  border: 2px solid #dbe6f0; border-radius: 14px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--blue-deep); outline-offset: 1px; border-color: var(--blue-deep); }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: none; padding: 0; margin: 0 0 22px; }
legend { font-weight: 700; color: var(--black); margin-bottom: 10px; padding: 0; font-size: 1.02rem; }
.radio-group { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-group label { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--ink); min-height: 48px; }
.radio-group input { width: 22px; height: 22px; min-height: unset; }
.form-note { font-size: 0.95rem; color: var(--slate); margin-top: 16px; }
.form-success { display: none; background: var(--blue-wash); border: 2px solid var(--blue-deep); border-radius: var(--radius-lg); padding: 22px; color: var(--black); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-block { margin-bottom: 22px; }
.info-block h3 { margin-bottom: 6px; font-size: 1.05rem; }
.info-block p { color: var(--slate); margin-bottom: 4px; }
.map-embed { border: 1px solid #e7eef5; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Sticky mobile call bar */
.sticky-call { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--black); padding: 12px 16px; z-index: 200; box-shadow: 0 -4px 16px rgba(0,0,0,0.2); }
.sticky-call a { display: flex; align-items: center; justify-content: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; min-height: 48px; }

/* Final CTA */
.final-cta { background: var(--blue-deep); color: #fff; text-align: center; padding: 68px 0; }
.final-cta h2 { color: #fff; }
.final-cta p { color: #dceaf6; font-size: 1.15rem; max-width: 50ch; margin: 0 auto 28px; }

/* Footer */
.site-footer { background: var(--black); color: #d9d9d9; padding: 48px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: 1rem; font-family: 'Sansita'; }
.site-footer a { color: #d9d9d9; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; color: #999; font-size: 0.88rem; }
.access-note { background: rgba(255,255,255,0.06); border-radius: 14px; padding: 14px 18px; font-size: 0.9rem; }

/* Page header (inner pages) */
.page-header { background: var(--blue-light); padding: 48px 0 44px; text-align: center; }
.page-header p.lead { max-width: 60ch; margin: 0 auto; color: #1c1c1c; font-size: 1.1rem; }

.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid, .contact-grid, .team-row { grid-template-columns: 1fr; }
  .team-row.reverse .team-photo { order: 0; }
  .value-strip, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  nav.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 24px 20px; border-bottom: 1px solid #eee; gap: 4px; }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 14px 4px; border-bottom: 1px solid #eee; }
  .header-call .phone-link span.label { display: none; }
  .nav-toggle { display: block; }
  body { padding-bottom: 72px; }
  .sticky-call { display: block; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  section { padding: 46px 0; }
  .hero { padding: 40px 0 40px; }
  .value-strip, .steps { grid-template-columns: 1fr; }
}
