/* Advanced Dentures — Redesign Stylesheet
   Design system: teal/sand/coral, Poppins + Source Sans Pro,
   built senior-friendly: large type, high contrast, big tap targets. */

:root {
  --teal: #1F6E6B;
  --teal-dark: #164F4D;
  --sand: #F4EDE4;
  --white: #FFFFFF;
  --coral: #E07A3F;
  --coral-dark: #C4642E;
  --charcoal: #2B2B2B;
  --slate: #6B6F73;
  --sage: #5C8A66;
  --border: #E2D9CB;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(31, 110, 107, 0.12);
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--teal-dark);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

a { color: var(--teal); }

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

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

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--coral);
  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 var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--teal-dark);
}
.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--slate);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 2px;
  border-bottom: 3px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  border-bottom-color: var(--coral);
  color: var(--teal-dark);
}

.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(--teal-dark);
  font-size: 1.05rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: var(--teal);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 48px;
  line-height: 1.1;
  transition: transform 0.08s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 18px rgba(224, 122, 63, 0.35);
}
.btn-primary:hover { background: var(--coral-dark); }
.btn-secondary {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
}
.btn-secondary:hover { background: var(--teal); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 1.15rem; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--sand) 0%, #fff 100%);
  padding: 64px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--coral-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--slate);
  max-width: 46ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.hero-trust {
  margin-top: 28px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--slate);
}
.hero-trust strong { color: var(--teal-dark); }

.photo-frame {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 18px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 24px;
  box-shadow: var(--shadow);
}
.photo-frame.square { aspect-ratio: 1/1; }
.photo-frame .icon { font-size: 2.6rem; margin-bottom: 10px; }
.photo-frame .caption { font-size: 0.85rem; opacity: 0.85; max-width: 22ch; }
.photo-frame.light {
  background: linear-gradient(135deg, var(--sand) 0%, #ece1d0 100%);
  color: var(--teal-dark);
}

/* ===== Sections ===== */
section { padding: 64px 0; }
section.alt { background: var(--sand); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head p { color: var(--slate); font-size: 1.1rem; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 24px 16px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}

/* Cards / grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card .need { color: var(--coral-dark); font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; display: block; }
.card a.learn { font-weight: 700; text-decoration: none; }

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.stars { color: var(--coral); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial .who { margin-top: 14px; font-weight: 700; color: var(--teal-dark); }
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sand);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-top: 8px;
}

/* Team */
.team-card { text-align: center; }
.team-card .photo-frame { margin-bottom: 16px; }
.team-card .role { color: var(--coral-dark); font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; }

/* FAQ accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 20px 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--teal-dark);
  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(--coral); 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 var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-weight: 700;
  color: var(--teal-dark);
  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 var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--charcoal);
}
input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--coral);
  outline-offset: 1px;
  border-color: var(--teal);
}
textarea { min-height: 120px; resize: vertical; }
fieldset { border: none; padding: 0; margin: 0 0 22px; }
legend { font-weight: 700; color: var(--teal-dark); 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(--charcoal); 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: #eaf3ec;
  border: 2px solid var(--sage);
  border-radius: var(--radius);
  padding: 22px;
  color: var(--teal-dark);
  font-weight: 600;
}

/* Contact / map */
.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 var(--border);
  border-radius: var(--radius);
  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(--teal-dark);
  padding: 12px 16px;
  z-index: 200;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.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(--teal-dark);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: #d7e6e5; font-size: 1.15rem; max-width: 50ch; margin: 0 auto 28px; }

/* Footer */
.site-footer {
  background: var(--charcoal);
  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; }
.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 #444; padding-top: 20px; text-align: center; color: #9aa0a3; font-size: 0.88rem; }
.access-note {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.9rem;
}

/* Breadcrumb / page header */
.page-header {
  background: var(--sand);
  padding: 44px 0 40px;
  text-align: center;
}
.page-header p.lead { max-width: 60ch; margin: 0 auto; color: var(--slate); font-size: 1.1rem; }

/* Utility */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.badge {
  display: inline-block;
  background: var(--sand);
  color: var(--teal-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 32px; }
  .steps, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .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 var(--border);
    gap: 4px;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .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: 44px 0; }
  .hero { padding: 40px 0 36px; }
}
