/* ===================================
   MAPLE & BIRCH FAMILY DENTISTRY — Styles
   Storefront Studio Portfolio Demo
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* === VARIABLES === */
:root {
  --teal:        #0E7C86;
  --teal-mid:    #1597A3;
  --teal-light:  #5FBFC9;
  --sky:         #EAF6F7;
  --sky-dark:    #DCEEF0;
  --coral:       #F2895A;
  --coral-dark:  #DB6E3D;
  --coral-light: #FBD9C7;
  --white:       #FFFFFF;
  --navy:        #123241;
  --text:        #1F2A33;
  --text-muted:  #5C6B74;
  --mint:        #34D399;
  --shadow-sm:   0 1px 3px rgba(18,50,65,.10);
  --shadow-md:   0 4px 18px rgba(18,50,65,.12);
  --shadow-lg:   0 10px 36px rgba(18,50,65,.16);
  --radius:      10px;
  --radius-lg:   18px;
  --font-head:   'Fraunces', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
  --max-w:       1200px;
  --transition:  all .25s ease;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font-body); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.22; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; color: var(--navy); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.section-label {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--coral); display: block; margin-bottom: .6rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 620px; }

/* === LAYOUT === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--gray { background: var(--sky); }
.section--teal { background: var(--teal); color: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: var(--radius); font-weight: 600;
  font-size: 1rem; border: 2px solid transparent; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--coral); color: var(--white); border-color: var(--coral);
}
.btn-primary:hover { background: var(--coral-dark); border-color: var(--coral-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: var(--white); border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--teal); }
.btn-teal {
  background: var(--teal); color: var(--white); border-color: var(--teal);
}
.btn-teal:hover { background: var(--teal-mid); border-color: var(--teal-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .9rem; }

/* === NAVIGATION === */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: 76px; max-width: var(--max-w); margin: 0 auto;
}
.nav__logo { display: flex; align-items: center; gap: .75rem; }
.nav__logo-icon {
  width: 46px; height: 46px; background: var(--teal); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--white);
}
.nav__logo-text { line-height: 1.15; }
.nav__logo-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--navy); display: block; }
.nav__logo-sub { font-size: .7rem; color: var(--text-muted); letter-spacing: .08em; }
.nav__links { display: flex; align-items: center; gap: .25rem; }
.nav__link {
  padding: .5rem .9rem; border-radius: var(--radius); font-size: .9rem;
  font-weight: 500; color: var(--text); transition: var(--transition);
  position: relative;
}
.nav__link:hover, .nav__link.active { color: var(--teal); background: var(--sky); }
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + .5rem); left: 0;
  background: var(--white); border: 1px solid var(--sky-dark);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 230px; padding: .5rem; opacity: 0; pointer-events: none;
  transform: translateY(-8px); transition: var(--transition);
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown-menu:hover { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav__dropdown-item {
  display: flex; align-items: center; gap: .75rem; padding: .65rem 1rem;
  border-radius: 6px; font-size: .9rem; color: var(--text);
  transition: var(--transition);
}
.nav__dropdown-item:hover { background: var(--sky); color: var(--teal); }
.nav__dropdown-item span { font-size: 1.1rem; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__phone { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--teal); font-size: .95rem; }
.nav__phone svg { width: 18px; height: 18px; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.nav__mobile {
  display: none; flex-direction: column; background: var(--white);
  border-top: 1px solid var(--sky-dark); padding: 1rem 1.5rem 1.5rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile-link { padding: .75rem 0; border-bottom: 1px solid var(--sky-dark); font-weight: 500; color: var(--text); }
.nav__mobile-link:last-child { border-bottom: none; }
.nav__mobile-sub { padding-left: 1rem; font-size: .9rem; color: var(--text-muted); margin-top: .25rem; display: block; }

/* === TOP TRUST BAR === */
.top-bar {
  background: var(--navy); color: var(--white);
  padding: .5rem 1.5rem; text-align: center; font-size: .82rem; font-weight: 600;
}
.top-bar a { color: var(--coral-light); text-decoration: underline; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 65%, var(--teal-mid) 100%);
  position: relative; overflow: hidden; padding: 6rem 0 5rem;
  min-height: 82vh; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3Ccircle cx='60' cy='60' r='2'/%3E%3Ccircle cx='60' cy='20' r='1.2'/%3E%3Ccircle cx='20' cy='60' r='1.2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content { position: relative; z-index: 2; max-width: 680px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: var(--white); padding: .35rem .9rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--coral-light); }
.hero__sub { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 2.5rem; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__trust { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero__trust-item {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.8); font-size: .875rem;
}
.hero__trust-icon { color: var(--coral-light); font-size: 1rem; }

/* === PROOF BAR === */
.proof-bar {
  background: var(--navy); color: var(--white);
  padding: 1.25rem 0;
}
.proof-bar__inner {
  display: flex; align-items: center; justify-content: space-around;
  flex-wrap: wrap; gap: 1rem;
}
.proof-item { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.proof-item__num { font-size: 1.4rem; font-weight: 700; color: var(--coral-light); }
.proof-item__label { color: rgba(255,255,255,.75); }
.proof-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* === SERVICE CARDS === */
.service-card {
  background: var(--white); border: 1px solid var(--sky-dark);
  border-radius: var(--radius-lg); padding: 2rem; transition: var(--transition);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-light); }
.service-card__icon {
  width: 60px; height: 60px; background: var(--sky); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: .5rem; font-family: var(--font-body); font-weight: 700; }
.service-card p { color: var(--text-muted); font-size: .9rem; flex: 1; }
.service-card__link { margin-top: 1.25rem; color: var(--teal); font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: .35rem; }
.service-card__link:hover { gap: .6rem; }

/* === WHY CHOOSE US === */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-item__icon { font-size: 1.75rem; margin-top: .1rem; flex-shrink: 0; }
.why-item h4 { margin-bottom: .25rem; }
.why-item p { color: var(--text-muted); font-size: .9rem; }

/* === TESTIMONIALS / REVIEWS === */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--sky-dark);
}
.stars { color: #FBBF24; font-size: 1.1rem; letter-spacing: .1rem; margin-bottom: .75rem; }
.testimonial-card blockquote { font-size: .95rem; color: var(--text); margin-bottom: 1.25rem; line-height: 1.7; font-style: italic; }
.testimonial-card__author { display: flex; align-items: center; gap: .75rem; }
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1rem;
}
.testimonial-card__name { font-weight: 700; font-size: .9rem; }
.testimonial-card__loc { font-size: .8rem; color: var(--text-muted); }
.testimonial-card__tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--teal); background: var(--sky);
  padding: .2rem .6rem; border-radius: 999px; margin-bottom: .85rem;
}
.google-badge { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-muted); margin-top: 1rem; }

/* === EMERGENCY / URGENT SECTION === */
.urgent-section {
  background: linear-gradient(135deg, var(--coral-dark) 0%, var(--coral) 60%, #F4A074 100%);
  color: var(--white); padding: 4rem 0; text-align: center;
}
.urgent-section h2 { color: var(--white); }
.urgent-section p { color: rgba(255,255,255,.92); font-size: 1.1rem; }
.urgent-phone {
  font-size: 2.5rem; font-weight: 800; color: var(--white);
  display: block; margin: 1rem 0;
}

/* === SMILE GALLERY (placeholder visual blocks) === */
.smile-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.smile-block {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4/3; cursor: default;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem; gap: .5rem;
  color: var(--white); transition: var(--transition);
}
.smile-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.smile-block--1 { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%); }
.smile-block--2 { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%); }
.smile-block--3 { background: linear-gradient(135deg, var(--navy) 0%, var(--teal-mid) 100%); }
.smile-block--4 { background: linear-gradient(135deg, var(--teal-light) 0%, var(--sky-dark) 100%); }
.smile-block--5 { background: linear-gradient(135deg, var(--coral-dark) 0%, var(--coral) 100%); }
.smile-block--6 { background: linear-gradient(135deg, var(--teal-mid) 0%, var(--navy) 100%); }
.smile-block__icon { font-size: 2.25rem; }
.smile-block__label { font-weight: 700; font-size: .95rem; }
.smile-block__sub { font-size: .8rem; opacity: .85; }
.smile-block__badge {
  position: absolute; top: .75rem; left: .75rem;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  color: var(--white); font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px;
}
.placeholder-note {
  background: var(--sky); border: 1.5px dashed var(--teal-light);
  border-radius: var(--radius); padding: 1rem 1.25rem; font-size: .85rem;
  color: var(--text-muted); display: flex; align-items: flex-start; gap: .65rem;
  margin-top: 1.5rem;
}

/* === DOCTOR / TEAM === */
.team-card {
  background: var(--white); border: 1px solid var(--sky-dark); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-card__photo {
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--white); font-family: var(--font-head); font-weight: 700;
}
.team-card__photo--1 { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%); }
.team-card__photo--2 { background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%); }
.team-card__photo--3 { background: linear-gradient(135deg, var(--navy) 0%, var(--teal-mid) 100%); }
.team-card__photo--4 { background: linear-gradient(135deg, var(--teal-mid) 0%, var(--teal-light) 100%); }
.team-card__body { padding: 1.5rem; }
.team-card h3 { font-size: 1.1rem; margin-bottom: .15rem; font-family: var(--font-body); font-weight: 700; }
.team-card__role { font-size: .82rem; color: var(--teal); font-weight: 600; margin-bottom: .65rem; display: block; }
.team-card p { font-size: .875rem; color: var(--text-muted); }

/* === FEATURE LIST === */
.feature-list { display: flex; flex-direction: column; gap: .75rem; }
.feature-item { display: flex; align-items: flex-start; gap: .75rem; }
.feature-item__check {
  width: 22px; height: 22px; background: var(--teal); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: .75rem; flex-shrink: 0; margin-top: .1rem;
}
.feature-item p { margin: 0; color: var(--text); font-size: .95rem; }

/* === SERVICE AREA === */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .75rem; }
.area-tag {
  background: var(--white); border: 1px solid var(--sky-dark);
  border-radius: 999px; padding: .5rem 1rem; font-size: .875rem;
  font-weight: 500; text-align: center; display: flex; align-items: center;
  justify-content: center; gap: .5rem;
}
.area-tag::before { content: '📍'; font-size: .75rem; }
.map-placeholder {
  background: var(--sky); border: 2px dashed var(--sky-dark);
  border-radius: var(--radius-lg); height: 350px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-muted); gap: 1rem;
}
.map-placeholder__icon { font-size: 3rem; }

/* === FAQ === */
.faq-item { border-bottom: 1px solid var(--sky-dark); }
.faq-item:first-child { border-top: 1px solid var(--sky-dark); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between;
  font-size: 1rem; font-weight: 600; cursor: pointer; color: var(--text);
  gap: 1rem;
}
.faq-question:hover { color: var(--teal); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem; flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--coral); color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer-inner { padding: 0 0 1.25rem; color: var(--text-muted); line-height: 1.7; }

/* === CONTACT FORM === */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .4rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--sky-dark);
  border-radius: var(--radius); font-size: 1rem; transition: var(--transition);
  background: var(--white);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,124,134,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  background: #D1FAE5; border: 1.5px solid #34D399; border-radius: var(--radius);
  padding: 1.25rem; color: #065F46; font-weight: 600; display: none; align-items: center; gap: .75rem;
}

/* === BLOG === */
.blog-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--sky-dark); transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__img {
  aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
.blog-card__body { padding: 1.5rem; }
.blog-card__tag {
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .75rem; display: block;
}
.blog-card h3 { font-size: 1.12rem; font-family: var(--font-body); font-weight: 700; margin-bottom: .5rem; }
.blog-card__excerpt { color: var(--text-muted); font-size: .875rem; margin-bottom: 1rem; }
.blog-card__meta { font-size: .8rem; color: var(--text-muted); display: flex; gap: 1rem; }
.blog-post-body h2 { margin-top: 2rem; margin-bottom: .85rem; font-size: 1.5rem; }
.blog-post-body h3 { margin-top: 1.5rem; margin-bottom: .6rem; font-size: 1.2rem; }
.blog-post-body p { color: var(--text); font-size: 1.02rem; line-height: 1.8; margin-bottom: 1.1rem; }
.blog-post-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.1rem; }
.blog-post-body li { margin-bottom: .5rem; color: var(--text); }
.blog-post-body strong { color: var(--navy); }

/* === TRUST BAR === */
.trust-bar {
  background: var(--sky); border-top: 1px solid var(--sky-dark);
  padding: 2rem 0;
}
.trust-bar__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2.5rem; }
.trust-badge { display: flex; align-items: center; gap: .6rem; font-size: .875rem; font-weight: 600; color: var(--teal); }
.trust-badge__icon { font-size: 1.5rem; }

/* === NEW PATIENT STEPS === */
.step-row { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  width: 32px; height: 32px; background: var(--teal); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem;
  flex-shrink: 0;
}
.step-num--coral { background: var(--coral); }

/* === INSURANCE PILLS === */
.pill-grid { display: flex; flex-wrap: wrap; gap: .65rem; }
.pill {
  background: var(--white); border: 1px solid var(--sky-dark); border-radius: 999px;
  padding: .5rem 1.1rem; font-size: .85rem; font-weight: 600; color: var(--navy);
}

/* === EMAIL CAPTURE === */
.email-capture { background: var(--teal); padding: 4rem 0; }
.email-capture h2 { color: var(--white); }
.email-capture p { color: rgba(255,255,255,.8); }
.email-form { display: flex; gap: .75rem; max-width: 480px; margin: 1.5rem auto 0; }
.email-form input {
  flex: 1; padding: .85rem 1.25rem; border-radius: var(--radius);
  border: none; font-size: 1rem;
}
.email-form input:focus { outline: 2px solid var(--coral); }

/* === FOOTER === */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 4rem 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand { }
.footer__brand-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer__brand-icon {
  width: 42px; height: 42px; background: var(--teal); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--white);
}
.footer__brand-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.footer__brand p { font-size: .875rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer__social { display: flex; gap: .75rem; }
.footer__social-link {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  transition: var(--transition);
}
.footer__social-link:hover { background: var(--coral); color: var(--white); }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer__links { display: flex; flex-direction: column; gap: .6rem; }
.footer__link { font-size: .875rem; transition: var(--transition); }
.footer__link:hover { color: var(--white); }
.footer__contact { display: flex; flex-direction: column; gap: .75rem; }
.footer__contact-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; }
.footer__contact-icon { margin-top: .1rem; flex-shrink: 0; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; font-size: .8rem;
}
.footer__license { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.5); }
.footer__demo-note {
  text-align: center; font-size: .75rem; color: rgba(255,255,255,.45);
  padding: 1rem 1.5rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
}
.footer__demo-note a { color: rgba(255,255,255,.65); text-decoration: underline; }

/* === STICKY MOBILE CTA === */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--navy); border-top: 3px solid var(--coral);
  padding: .85rem 1.5rem; flex-direction: column; gap: .5rem;
}
.sticky-cta__top { display: flex; align-items: center; justify-content: space-between; }
.sticky-cta__label { color: rgba(255,255,255,.75); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sticky-cta__btns { display: flex; gap: .75rem; }
.sticky-cta__call, .sticky-cta__quote {
  flex: 1; padding: .85rem; border-radius: var(--radius); font-weight: 700;
  font-size: .95rem; text-align: center; border: none; cursor: pointer;
}
.sticky-cta__call { background: var(--coral); color: var(--white); }
.sticky-cta__quote { background: rgba(255,255,255,.15); color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }

/* === INNER PAGE HERO === */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  padding: 4rem 0 3rem; color: var(--white);
}
.page-hero .section-label { color: var(--coral-light); }
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.75rem); }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.4); }

/* === SCROLL FADE === */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
html, body { overflow-x: hidden; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav__links, .nav__right .btn, .nav__phone { display: none; }
  .nav__hamburger { display: flex; }

  /* Grids collapse to 1 col */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding: 4rem 0 3rem; min-height: auto; }
  .hero__trust { gap: .75rem; flex-direction: column; }
  .hero__trust-item { font-size: .8rem; }

  /* Top bar */
  .top-bar { font-size: .76rem; padding: .5rem 1rem; }

  /* Proof bar — 3×2 grid, number stacked above label */
  .proof-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem 0;
    text-align: center;
  }
  .proof-item { flex-direction: column; gap: .15rem; }
  .proof-item__num { font-size: 1.2rem; }
  .proof-item__label { font-size: .72rem; }
  .proof-divider { display: none; }

  /* Smile gallery */
  .smile-grid { grid-template-columns: repeat(2, 1fr); }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }

  /* Trust bar — 2×3 grid */
  .trust-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    justify-items: start;
    padding: 0 .5rem;
  }

  /* Email capture */
  .email-form { flex-direction: column; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer { padding: 2.5rem 0 0; }

  /* Sticky CTA — safe area for iPhone notch */
  .sticky-cta {
    display: flex;
    padding-bottom: calc(.85rem + env(safe-area-inset-bottom, 0px));
  }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

  /* Urgent page phone number */
  .urgent-phone { font-size: 1.75rem; }

  /* Sections — tighter padding on mobile */
  .section { padding: 3.5rem 0; }
  .page-hero { padding: 2.5rem 0 2rem; }
}

@media (max-width: 480px) {
  .smile-grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { text-align: center; justify-content: center; }
  .proof-bar__inner { grid-template-columns: 1fr 1fr; }
  .trust-bar__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
