/* ============================================================
   %%CLINIC_NAME%% — Site CSS
   %%CLINIC_NAME%% — Site Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:      #9e6dc5;
  --purple-dark: #7a4fa3;
  --purple-grad: linear-gradient(90deg, #8b5db5 0%, #9e6dc5 100%);
  --off-white:   #f5f0fa;
  --text:        #333333;
  --light-text:  #666666;
  --white:       #ffffff;
}

html { overflow-x: hidden; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
  max-width: 100%;
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); }
img { max-width: 100%; display: block; }

.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER — TOP INFO BAR
   ============================================================ */
.site-header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); }

.header-top-bar {
  background: var(--white);
  padding: 10px 0;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Left — address + social */
.htb-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.htb-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
}
.htb-address i { color: var(--purple); font-size: 22px; margin-top: 2px; }
.htb-address strong { display: block; font-size: 14px; color: var(--purple-dark); }
.htb-address:hover { color: var(--purple); }

.htb-social { display: flex; gap: 8px; margin-left: 32px; }
.htb-social a { color: var(--purple); font-size: 22px; transition: color .2s; }
.htb-social a:hover { color: var(--purple-dark); }

/* Center — Logo */
.htb-logo { flex-shrink: 0; }
.htb-logo img { width: 110px; height: 110px; object-fit: contain; display: block; }

/* Right — phone + button */
.htb-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.htb-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.htb-phone i { color: var(--purple); font-size: 24px; }
.phone-number { display: block; font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.2; }
.phone-sub    { display: block; font-size: 12px; color: var(--light-text); }
.htb-phone:hover .phone-number { color: var(--purple); }

.btn-apt-header {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s;
}
.btn-apt-header:hover { background: var(--purple-dark); color: #fff; }

/* ============================================================
   NAVIGATION BAR
   ============================================================ */
.main-nav {
  background: var(--purple-grad);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.nav-ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.nav-item > a {
  display: block;
  color: #fff;
  padding: 15px 16px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s;
}
.nav-item.active > a,
.nav-item > a:hover { background: rgba(255,255,255,.18); color: #fff; }

/* Dropdowns */
.nav-item.has-drop { position: relative; }
.nav-drop {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  min-width: 210px;
  background: #fff;
  border-top: 3px solid var(--purple);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  list-style: none;
  z-index: 200;
}
.nav-item.has-drop:hover > .nav-drop { display: block; }

.nav-drop li { position: relative; }
.nav-drop li a {
  display: block;
  padding: 9px 18px;
  color: #333;
  font-size: 13px;
  border-bottom: 1px solid #f3ecfb;
  transition: background .15s;
}
.nav-drop li a:hover { background: #f5effe; color: var(--purple); }

/* Second-level dropdowns */
.has-drop2 { position: relative; }
.nav-drop2 {
  display: none;
  position: absolute;
  left: 100%; top: 0;
  min-width: 210px;
  background: #fff;
  border-top: 3px solid var(--purple);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  list-style: none;
  z-index: 300;
}
.has-drop2:hover > .nav-drop2 { display: block; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: #222;
  border-radius: 0 0 8px 8px; /* subtle bottom rounding since top is flush with nav */
}
.slides-wrapper { position: relative; height: 500px; }

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;   /* text on the right like the live site */
}
.slide.active { opacity: 1; z-index: 1; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.40);
}
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  padding: 40px 60px 40px 20px;
  text-align: right;
  color: #fff;
}
.slide-tag {
  color: var(--purple);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  /* match live site — actual purple accent */
  color: #c99de8;
}
.slide-content h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}
.slide-content p { font-size: 16px; opacity: .9; margin-bottom: 24px; }

.btn-white {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s;
}
.btn-white:hover { background: var(--purple-dark); color: #fff; }

/* Arrows */
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.35);
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background .2s;
}
.slider-prev:hover, .slider-next:hover { background: rgba(0,0,0,.6); }
.slider-prev { left: 0; }
.slider-next { right: 0; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s;
}
.dot.active { background: #fff; }

/* ============================================================
   SECTION: "A DENTAL OFFICE WHERE YOU MATTER"
   ============================================================ */
.section-gradient { background: linear-gradient(135deg, #f8f3fd 0%, #ede4f8 100%); }

.you-matter-section { padding: 65px 0; }

.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.section-heading {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.3;
}
.section-heading .purple { color: var(--purple); }
.section-heading.centered { text-align: center; }

.col-text p { color: #555; margin-bottom: 22px; }

.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-bottom: 28px; }
.checklist { list-style: none; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-weight: 600;
  font-size: 14.5px;
  color: #333;
}
.checklist li i { color: var(--purple); font-size: 16px; }

.btn-purple {
  display: inline-block;
  background: var(--purple);
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s;
}
.btn-purple:hover { background: var(--purple-dark); color: #fff; }

.smile-photo {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* ============================================================
   SECTION: HOW WE CAN HELP
   ============================================================ */
.how-help-section { padding: 65px 0; }
.how-help-section .section-heading { margin-bottom: 40px; }

.infobox-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}
.infobox {
  display: block;
  text-align: center;
  color: inherit;
  transition: transform .2s;
}
.infobox:hover { transform: translateY(-4px); color: inherit; }

.infobox-img-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.circle-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d9c4f0;
}
.infobox h3 {
  font-size: 17px;
  color: var(--purple-dark);
  margin-bottom: 8px;
  font-weight: 700;
}
.infobox p { font-size: 13.5px; color: #666; }
.infobox:hover h3 { color: var(--purple); }

/* ============================================================
   SECTION: FEATURES BAR
   ============================================================ */
.features-bar-section {
  background: #fff;
  padding: 50px 0;
}
.features-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-icon {
  color: var(--purple);
  font-size: 30px;
  flex-shrink: 0;
  margin-top: 4px;
}
.feature-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feature-item p  { font-size: 13.5px; color: #666; }

/* ============================================================
   SECTION: FORM + MAP
   ============================================================ */
.form-map-section {
  /* Live site uses a background photo with dark overlay */
  background:
    linear-gradient(rgba(40,20,65,.85), rgba(40,20,65,.85)),
    url('/assets/images/hero/slide-3.jpg') center/cover no-repeat fixed;
  padding: 65px 0;
}
.form-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Form box */
.form-box {
  background: #fff;
  border-radius: 6px;
  padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.form-box h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 22px;
}
.form-name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }

.fg { margin-bottom: 14px; }
.fg input, .fg select, .fg textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: #444;
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--purple); }
.fg label {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 3px;
  padding-left: 2px;
}
.fg textarea { resize: vertical; }

.btn-submit {
  width: 100%;
  background: var(--purple);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.btn-submit:hover { background: var(--purple-dark); }

/* Map box — just the iframe */
.map-box iframe {
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

/* ============================================================
   SECTION: TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: #fff;
  padding: 60px 0;
}
.testimonials-slider { position: relative; min-height: 140px; }

.testimonial {
  display: none;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}
.testimonial.active { display: block; }

.stars-img {
  margin: 0 auto 16px;
  width: 180px;
}
.testimonial p {
  font-size: 15px;
  color: #555;
  font-style: italic;
  line-height: 1.8;
}

.test-arrows {
  text-align: center;
  margin-top: 24px;
}
.test-arrows button {
  background: var(--purple);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  margin: 0 6px;
  transition: background .2s;
}
.test-arrows button:hover { background: var(--purple-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1a1230;
  color: #ccc;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h3 {
  color: #d4aaff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col p { font-size: 13px; line-height: 1.8; color: #aaa; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13.5px;
}
.footer-contact-item i { color: var(--purple); margin-top: 3px; }
.footer-contact-item a { color: #ccc; line-height: 1.5; }
.footer-contact-item a:hover { color: #d4aaff; }

.footer-logo { width: 90px; margin-top: 18px; opacity: .8; }
.footer-col iframe { border-radius: 4px; }

.footer-bottom {
  border-top: 1px solid #2e2050;
  padding: 18px 20px;
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 50px;
}

/* ============================================================
   INNER PAGE STYLES
   ============================================================ */
.page-hero {
  background: var(--purple-grad);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.page-hero h1 { font-size: 38px; font-weight: 700; }
.page-hero p  { font-size: 17px; opacity: .88; margin-top: 10px; max-width: 680px; margin-left: auto; margin-right: auto; }

.page-content { padding: 60px 0; }
.content-wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }

.content-wrap h2 { font-size: 26px; color: var(--purple-dark); font-weight: 700; margin: 28px 0 12px; }
.content-wrap h3 { font-size: 20px; color: var(--purple-dark); font-weight: 600; margin: 22px 0 10px; }
.content-wrap p  { color: #555; margin-bottom: 14px; line-height: 1.8; }
.content-wrap ul { list-style: none; margin-bottom: 18px; padding: 0; }
.content-wrap ul li { padding: 6px 0 6px 26px; position: relative; color: #555; }
.content-wrap ul li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 700; }

.cta-box {
  background: linear-gradient(135deg, #f8f3fd, #ede4f8);
  border-left: 4px solid var(--purple);
  border-radius: 6px;
  padding: 30px;
  margin: 40px 0;
  text-align: center;
}
.cta-box h3   { font-size: 22px; color: var(--purple-dark); margin-bottom: 10px; }
.cta-box p    { color: #666; margin-bottom: 18px; }

/* Blog grid (inner page) */
.blog-listing { padding: 60px 0; background: linear-gradient(135deg, #f8f3fd, #ede4f8); }
.blog-grid-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(158,109,197,.12);
  transition: transform .2s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-body { padding: 22px; }
.blog-tag { display: inline-block; background: #f0e6ff; color: var(--purple); padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-bottom: 10px; }
.blog-card h3 { font-size: 16px; color: var(--purple-dark); margin-bottom: 8px; line-height: 1.45; }
.blog-card p  { font-size: 13px; color: #777; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── 1024px: tablet landscape ── */
@media (max-width: 1024px) {
  .two-col-layout { grid-template-columns: 1fr; }
  .infobox-row { grid-template-columns: repeat(2, 1fr); }
  .features-bar { grid-template-columns: 1fr; gap: 22px; }
  .form-map-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slides-wrapper { height: 420px; }
  /* Hero image cards — fix height at tablet before 768 kicks in */
  .ego-card { height: 380px; }
  /* Prevent header squishing at mid-widths */
  .htb-logo img { width: 90px; height: 90px; }
  .phone-number { font-size: 19px; }
  /* vs-container collapses at 1024 too */
  .vs-container { grid-template-columns: 1fr; text-align: left; }
}

/* ── 768px: tablet portrait + large phones ── */
@media (max-width: 768px) {

  /* ---- NAV ---- */
  .nav-toggle { display: block; }
  .nav-ul { display: none; flex-direction: column; background: #7a4fa3; width: 100%; }
  .nav-ul.open { display: flex; }
  .nav-item > a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-drop, .nav-drop2 { position: static; box-shadow: none; border: none; background: rgba(0,0,0,.1); }
  .nav-drop li a, .nav-drop2 li a { color: #eee; padding-left: 36px; }

  /* ── ══════════════════════════════════════════════════════
     HEADER — MOBILE RESTRUCTURE
     Single compact row: [Logo] [flex spacer] [EN|ES] [Book]
     Sticky footer (always visible) handles Call + Book CTAs,
     so address block and phone number are hidden on mobile.
     ══════════════════════════════════════════════════════ ── */
  .header-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
  }

  /* Logo: left-aligned, compact */
  .htb-logo {
    order: 0;
    width: auto;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0;
  }
  .htb-logo img { width: 52px; height: 52px; }

  /* Address + social icons: hidden — sticky footer covers Call/Book */
  .htb-left { display: none; }

  /* Phone row: hidden — sticky footer covers it */
  .htb-phone { display: none; }

  /* Right group: lang toggle + CTA, side-by-side, right-aligned */
  .htb-right {
    order: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: auto;
    flex: 1;
  }

  /* Language toggle: compact pill */
  .htb-lang {
    font-size: 12px !important;
    white-space: nowrap;
    gap: 4px !important;
    justify-content: flex-end !important;
    flex-shrink: 0;
  }

  /* CTA button: sized to fit single row */
  .btn-apt-header {
    display: inline-block;
    width: auto;
    padding: 9px 13px;
    font-size: 12.5px;
    white-space: nowrap;
    border-radius: 5px;
    flex-shrink: 0;
  }

  /* ---- SECTION UTILITIES
     !important required: inline <style> loads AFTER style.css, wins equal-specificity cascade ---- */
  .section-padding { padding: 44px 0 !important; }
  .section-heading { font-size: 24px !important; line-height: 1.2 !important; }
  .section-sub { font-size: 15px !important; margin-bottom: 24px !important; }

  /* ---- PAIN BAND ---- */
  .pain-band p { font-size: 14px !important; margin-bottom: 20px !important; }

  /* ---- HERO ---- */
  .slides-wrapper { height: auto; min-height: 300px; }
  .slide {
    position: relative;
    min-height: 300px;
    display: none;
    justify-content: center !important; /* center content block — override flex-end */
    align-items: flex-end !important;   /* push text to bottom so hero image shows above it */
  }
  .slide.active { display: flex; }
  .slide-content {
    padding: 24px 20px 28px !important;
    text-align: center !important; /* override text-align:right from base CSS */
    max-width: 100%;
    box-sizing: border-box;
  }
  .slide-content h1,
  .slide-content h2 { font-size: 26px !important; line-height: 1.25 !important; margin-bottom: 10px !important; }
  .slide-content > div[style] { justify-content: center !important; flex-wrap: wrap !important; }

  /* ---- INLINE GRID OVERRIDES
     inline style= beats CSS at equal specificity — !important required ---- */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  [style*="grid-template-columns:.85fr"],
  [style*="grid-template-columns: .85fr"],
  [style*="grid-template-columns:1.1fr"],
  [style*="grid-template-columns: 1.1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Large inline gaps waste space in single-column layout */
  [style*="gap:50px"] { gap: 20px !important; }
  [style*="gap: 50px"] { gap: 20px !important; }
  [style*="gap:48px"]  { gap: 20px !important; }
  [style*="gap: 48px"] { gap: 20px !important; }
  [style*="gap:36px"]  { gap: 16px !important; }
  [style*="gap: 36px"] { gap: 16px !important; }

  /* ---- CARD INNER PADDING
     40-42px side padding leaves ~236px content on 360px phone — reduce to 20px ---- */
  [style*="padding:40px"],
  [style*="padding: 40px"],
  [style*="padding:42px"],
  [style*="padding: 42px"],
  [style*="padding:38px"],
  [style*="padding: 38px"] { padding: 20px !important; }

  /* ---- INVISALIGN STAT BOXES
     3 boxes with min-width:130px inside a ~240px card — stack them ---- */
  [style*="min-width:130px"] {
    min-width: 0 !important;
    flex: 1 1 100% !important;
  }

  /* ---- FORM SECTION: fix black-screen bug (background-attachment:fixed broken on Android/iOS) ---- */
  .form-map-section {
    background:
      linear-gradient(rgba(40,20,65,.88), rgba(40,20,65,.88)),
      url('/assets/images/hero/slide-3.jpg') center/cover no-repeat scroll !important;
  }

  /* ---- VS CONTAINER ---- */
  .vs-container { grid-template-columns: 1fr !important; text-align: left !important; }
  .vs-image img { box-shadow: 0 8px 24px rgba(158,109,197,.3) !important; } /* remove 22px bleed */

  /* ---- EGO / JOURNEY CARDS ---- */
  .ego-card { height: auto !important; min-height: 280px; }
  .ego-card img { height: 280px !important; }
  .ego-overlay { padding: 20px !important; }
  .ego-overlay h3 { font-size: 18px !important; }
  .ego-grid { grid-template-columns: 1fr !important; }

  /* ---- INFOBOX / SERVICE CIRCLES ---- */
  .infobox-row { grid-template-columns: 1fr !important; }

  /* ---- LAYOUT CLASSES (in style.css only — no !important needed) ---- */
  .two-col-layout   { grid-template-columns: 1fr; }
  .checklist-grid   { grid-template-columns: 1fr; }
  .form-name-row    { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .page-hero h1     { font-size: 26px; }

  /* ---- TRUST BAR ---- */
  .trust-inner { gap: 8px 14px; font-size: 12px; }
}

/* ── 480px: small phones ── */
@media (max-width: 480px) {
  .phone-number { font-size: 19px; }
  .slide-content h1,
  .slide-content h2 { font-size: 22px !important; }
  /* htb-address and htb-phone are hidden at 768px; no overrides needed */
  .trust-inner span { font-size: 11px; }
  .section-padding { padding: 32px 0 !important; }
  .section-heading { font-size: 21px !important; }
  .ego-overlay { padding: 14px !important; }
  .zip-pill { padding: 6px 12px; font-size: 12px; }
  /* Shrink logo + button further on very small screens */
  .htb-logo img { width: 46px; height: 46px; }
  .btn-apt-header { padding: 8px 11px; font-size: 12px; }
}
