  :root {
    --cream:   #FAF8F5;
    --teal:    #0E8577;
    --teal-dk: #0A5F53;
    --teal-lt: #D9F1EB;
    --blue:    #2882BE;
    --blue-dk: #1B6291;
    --blue-lt: #DCEEF7;
    --coral:   #E8846A;
    --coral-lt:#F5D5CB;
    --charcoal:#2D2D2D;
    --gray:    #5A5A5A;
    --white:   #FFFFFF;
    --radius:  12px;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--cream); color: var(--charcoal); line-height: 1.6; }
  img { max-width: 100%; height: auto; }
  /* Trademark marks (®/™) render small and raised without disturbing line height */
  sup { font-size: 0.55em; line-height: 0; vertical-align: baseline; position: relative; top: -0.5em; }
  /* <picture> wrappers (WebP with JPEG fallback) must not affect layout —
     display:contents lets the inner <img> participate in grid/flex directly.
     The <source> must be explicitly boxless: with display:contents on picture
     it would otherwise become an empty grid/flex item and shift the layout. */
  picture { display: contents; }
  picture > source { display: none; }

  /* ── NAV ── */
  /* Sticky (not fixed): stays in the page flow and pins to the top on
     scroll. On iOS Safari, fixed headers are prone to vanishing during the
     toolbar collapse/expand while scrolling; sticky is compositor-native
     and immune to that class of bugs. */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid rgba(26,110,102,0.12);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    height: 72px;
  }
  .nav-logo img { height: 62px; width: auto; }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    text-decoration: none; color: var(--charcoal); font-size: 0.92rem;
    letter-spacing: 0.02em; font-weight: 500; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--teal); }
  .nav-links a[aria-current="page"] { color: var(--teal); }
  .nav-cta {
    background: var(--teal); color: var(--white); border: none;
    padding: 0.6rem 1.4rem; border-radius: 50px; font-size: 0.88rem;
    font-weight: 600; cursor: pointer; text-decoration: none; transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--teal-dk); }
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
  .hamburger span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all 0.3s; display: block; }

  /* ── PAGES ── */
  .page { display: none; min-height: 100vh; }
  .page.active { display: block; }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(135deg, var(--teal-dk) 0%, var(--teal) 55%, var(--blue-dk) 100%);
    color: white; text-align: center;
    padding: 100px 5% 120px;
    position: relative; overflow: hidden;
  }
  .hero::before {
    content: ''; position: absolute; top: -50%; left: -10%;
    width: 500px; height: 500px; border-radius: 50%;
    background: rgba(255,255,255,0.04); pointer-events: none;
  }
  .hero::after {
    content: ''; position: absolute; bottom: -60px; left: 0; right: 0; height: 120px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
  }
  .hero-eyebrow {
    font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255,255,255,0.88); margin-bottom: 1rem; font-weight: 500;
  }
  /* Breadcrumb trail — mirrors the BreadcrumbList schema, sits in the hero above the H1.
     It's a <nav>, so explicitly undo the fixed-header styles the global nav selector applies. */
  nav.breadcrumb {
    position: static; top: auto; left: auto; right: auto; z-index: auto;
    height: auto; padding: 0; background: none; backdrop-filter: none; border-bottom: none;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 0.4rem; margin-bottom: 1rem;
    font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
    color: rgba(255,255,255,0.92);
  }
  .breadcrumb a { color: inherit; opacity: 0.82; text-decoration: none; transition: opacity 0.2s; }
  .breadcrumb a:hover { opacity: 1; text-decoration: underline; }
  .breadcrumb .sep { opacity: 0.5; }
  .breadcrumb .current { opacity: 0.65; }
  @media (max-width: 480px) { nav.breadcrumb { font-size: 0.7rem; gap: 0.3rem; } }
  .hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: normal;
    line-height: 1.2; margin-bottom: 1.2rem; max-width: 980px; margin-inline: auto;
  }
  .hero h1 em { font-style: italic; color: #A8D8D4; }
  .hero p { font-size: 1.1rem; color: rgba(255,255,255,0.82); max-width: 520px; margin: 0 auto 2.5rem; }
  .hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
  .btn-primary {
    background: var(--coral); color: white; padding: 0.85rem 2rem;
    border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem;
    transition: transform 0.2s, background 0.2s; display: inline-block;
  }
  .btn-primary:hover { background: #d4724f; transform: translateY(-2px); }
  .btn-outline {
    background: transparent; color: white; padding: 0.85rem 2rem;
    border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem;
    border: 2px solid rgba(255,255,255,0.65); transition: border-color 0.2s, transform 0.2s;
  }
  .btn-outline:hover { border-color: white; transform: translateY(-2px); }

  /* ── TRUST BAR ── */
  .trust-bar {
    background: var(--white); border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 1.2rem 5%;
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0.9rem 2rem;
    max-width: 1240px; margin: 0 auto;
  }
  .trust-item { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.88rem; color: var(--gray); text-align: left; flex: 1 1 210px; max-width: 260px; }
  .trust-item strong { color: var(--charcoal); }
  .trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; margin-top: 0.5em; }
  /* Wide screens: settle the six trust items into two balanced rows of three */
  @media (min-width: 1100px) {
    .trust-item { flex: 1 1 300px; max-width: 330px; }
  }

  /* ── SECTIONS ── */
  section { padding: 80px 5%; scroll-margin-top: 88px; }
  section > * { max-width: 1240px; margin-inline: auto; }
  .section-teal { background: var(--teal-lt); }
  .section-blue { background: var(--blue-lt); }
  .section-white { background: var(--white); }
  .section-white + .section-white { padding-top: 0; }
  .section-label {
    font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--coral); font-weight: 600; margin-bottom: 0.6rem;
  }
  .section-title {
    font-family: Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: normal; color: var(--charcoal); margin-bottom: 1rem; line-height: 1.25;
  }
  .section-sub { font-size: 1.05rem; color: var(--gray); max-width: 580px; line-height: 1.7; }
  .centered { text-align: center; }
  .centered .section-sub { margin-inline: auto; }

  /* ── SERVICES GRID ── */
  .services-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 1.5rem; margin-top: 3rem;
    max-width: 1240px; margin-inline: auto;
  }
  .service-card {
    display: flex; flex-direction: column; align-items: flex-start;
    background: var(--white); border-radius: var(--radius); padding: 2rem;
    border: 1px solid rgba(26,110,102,0.1); transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer; text-decoration: none; color: inherit;
    flex: 1 1 260px; max-width: 300px;
  }
  .service-card:hover { box-shadow: 0 8px 32px rgba(26,110,102,0.12); transform: translateY(-3px); }
  .service-icon { font-size: 2rem; margin-bottom: 1rem; }
  .service-card h3 { font-family: Georgia, serif; font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--teal-dk); }
  .service-card p { font-size: 0.92rem; color: var(--gray); line-height: 1.6; margin-bottom: 0.8rem; }
  /* margin-top:auto pins every card's link to the same bottom line, regardless of text length */
  .service-card .service-link { font-size: 0.85rem; color: var(--teal); font-weight: 600; margin-top: auto; padding-top: 0.4rem; }

  /* ── ABOUT / TWO-COL ── */
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .two-col.align-top { align-items: start; }
  .two-col.reverse { direction: rtl; }
  .two-col.reverse > * { direction: ltr; }
  .about-img-wrap {
    border-radius: var(--radius); overflow: hidden;
    background: var(--teal-lt); aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
  }
  .about-img-placeholder {
    font-family: Georgia, serif; color: var(--teal); font-size: 1.1rem; text-align: center; padding: 2rem;
  }
  .feature-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; }
  /* Block layout (not flex) so list items containing inline links — e.g. the
     Spanish services list — wrap as normal sentences on mobile instead of
     each link becoming a separate flex item. */
  .feature-list li { display: block; position: relative; padding-left: 1.6em; font-size: 0.95rem; color: var(--charcoal); line-height: 1.55; }
  .feature-list li::before { content: '✓'; color: var(--teal); font-weight: 700; position: absolute; left: 0; top: 0.1em; }

  /* ── REVIEWS ── */
  .reviews-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 3rem; }
  .reviews-grid > * { flex: 1 1 300px; max-width: 380px; }
  .review-card {
    background: var(--white); border-radius: var(--radius); padding: 1.8rem;
    border: 1px solid rgba(0,0,0,0.07);
  }
  .stars { color: #7A5A08; font-size: 1rem; margin-bottom: 0.8rem; letter-spacing: 2px; }
  .review-text { font-size: 0.93rem; color: var(--charcoal); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
  .review-author { font-size: 0.83rem; font-weight: 600; color: var(--teal); }
  /* Insurance carrier grid — each tile links to that carrier's member portal */
  .ins-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; max-width: 1040px; margin-inline: auto; scroll-margin-top: 88px; }
  .ins-card {
    flex: 1 1 200px; max-width: 236px; min-height: 110px;
    background: var(--white); border: 1px solid rgba(26,110,102,0.12); border-radius: var(--radius);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem;
    text-align: center; padding: 1rem 0.65rem 0.85rem;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    text-decoration: none; color: inherit;
  }
  .ins-card:hover { box-shadow: 0 6px 24px rgba(26,110,102,0.10); transform: translateY(-2px); }
  a.ins-card:hover, a.ins-card:focus-visible { border-color: var(--teal); }
  .ins-card img { max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain; }
  .ins-name { font-family: Georgia, serif; font-size: 1rem; line-height: 1.35; color: var(--teal-dk); font-weight: 700; }
  .ins-portal {
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--teal); opacity: 0.85; line-height: 1.3;
  }
  a.ins-card:hover .ins-portal { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
  .ins-note { font-size: 0.78rem; color: var(--gray); text-align: center; margin-top: 2rem; line-height: 1.6; }

  /* Office photo gallery (About) — 3 up, drops to 2 up on small screens so photos stay legible */
  .office-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }

  .reviews-rating { display: flex; align-items: center; justify-content: center; gap: 0.55rem; flex-wrap: wrap; margin-top: 1.25rem; }
  .reviews-rating .reviews-rating-num { font-family: Georgia, serif; font-size: 1.7rem; font-weight: 700; color: var(--teal-dk); line-height: 1; }
  .reviews-rating .stars { margin-bottom: 0; font-size: 1.1rem; }
  .reviews-rating .reviews-rating-count { font-size: 0.9rem; font-weight: 500; color: var(--gray); }

  /* ── CTA BAND ── */
  .cta-band {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dk) 100%);
    color: white; text-align: center; padding: 80px 5%;
  }
  .cta-band h2 { font-family: Georgia, serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: normal; margin-bottom: 1rem; }
  .cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }

  /* ── FOOTER ── */
  footer {
    background: var(--charcoal); color: rgba(255,255,255,0.75);
    padding: 3rem 5% 2rem;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  }
  /* width:auto is required — the logo <img> carries explicit width/height
     attributes (for layout-shift reserving), and without an author width the
     attribute width would stretch the logo against the fixed 52px height. */
  .footer-brand img { height: 52px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
  .footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
  .footer-col h4 { color: white; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
  .footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
  .footer-col a:hover { color: white; }
  sup.fee-note { font-size: 0.72em; }
  sup.fee-note a { color: var(--teal); text-decoration: none; font-weight: 700; }
  .footer-disclaimer {
    grid-column: 1 / -1;
    font-size: 0.72rem; line-height: 1.55; color: rgba(255,255,255,0.45);
    border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.2rem; margin-top: 0.5rem;
  }
  .footer-bottom { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.6); }

  /* ── FORM ── */
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
  .form-full { grid-column: 1/-1; }
  label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.4rem; }
  input, select, textarea {
    width: 100%; padding: 0.75rem 1rem; border: 1.5px solid rgba(0,0,0,0.15);
    border-radius: 8px; font-size: 0.95rem; font-family: inherit; background: var(--white);
    color: var(--charcoal); transition: border-color 0.2s;
  }
  input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,133,119,0.3); }
  textarea { resize: vertical; min-height: 120px; }
  .form-submit {
    background: var(--teal); color: white; border: none; padding: 0.9rem 2.5rem;
    border-radius: 50px; font-size: 1rem; font-weight: 600; cursor: pointer;
    margin-top: 0.5rem; transition: background 0.2s; font-family: inherit;
  }
  .form-submit:hover { background: var(--teal-dk); }
  .form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
  .form-success { background: var(--teal-lt); border-radius: var(--radius); padding: 2.5rem 2rem; margin-top: 2rem; text-align: center; }
  .form-success p { color: var(--teal-dk); font-size: 1.1rem; font-weight: 600; }
  .form-error {
    display: none; background: #FBEAE4; border: 1.5px solid var(--coral); color: #8C3B24;
    border-radius: 8px; padding: 0.8rem 1rem; font-size: 0.92rem; line-height: 1.5;
  }
  .form-error a { color: #8C3B24; font-weight: 700; }

  /* ── INFO CARDS ── */
  .info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
  .info-grid-3col { grid-template-columns: repeat(3, 1fr); }
  .info-grid.centered-cards { display: flex; flex-wrap: wrap; justify-content: center; }
  .info-grid.centered-cards > .info-card { flex: 0 1 320px; }
  .info-grid.centered-cards.compact > .info-card { flex: 1 1 230px; max-width: 260px; }
  .info-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem; border: 1px solid rgba(26,110,102,0.1); text-align: center; }
  .info-card h3 { font-family: Georgia, serif; font-size: 1.05rem; color: var(--teal-dk); margin-bottom: 0.6rem; }
  .info-card p, .info-card a { font-size: 0.92rem; color: var(--gray); line-height: 1.6; text-decoration: none; }
  .info-card a:hover { color: var(--teal); }

  /* ── TEAM ── */
  .team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-top: 3rem; }
  .team-card { text-align: center; flex: 1 1 240px; max-width: 280px; }
  .team-photo { width: 160px; height: 160px; border-radius: 50%; background: var(--teal-lt); margin: 0 auto 1.2rem; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
  .team-card h3 { font-family: Georgia, serif; font-size: 1.15rem; color: var(--charcoal); margin-bottom: 0.3rem; }
  .team-card .role { font-size: 0.85rem; color: var(--blue-dk); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 0.6rem; }
  .team-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }
  .team-card h3 a { color: var(--charcoal); text-decoration: none; transition: color 0.2s; }
  .team-card h3 a:hover { color: var(--teal); }
  .team-group { margin-top: 3.5rem; }
  .team-group-title { font-family: Georgia, serif; font-size: 1.5rem; color: var(--charcoal); text-align: center; margin-bottom: 0.6rem; }
  .team-group-sub { font-size: 0.95rem; color: var(--gray); max-width: 560px; line-height: 1.6; text-align: center; margin: 0 auto; }

  /* ── BIO MODAL ── */
  .bio-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
    align-items: center; justify-content: center; padding: 1.5rem;
  }
  .bio-modal-overlay.open { display: flex; }
  .bio-modal {
    background: var(--white); border-radius: 16px; max-width: 700px; width: 100%;
    max-height: 88vh; overflow-y: auto; padding: 2.5rem;
    position: relative; box-shadow: 0 24px 80px rgba(0,0,0,0.22);
    animation: modalIn 0.25s ease;
  }
  @keyframes modalIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
  .bio-modal-close {
    position: absolute; top: 1.2rem; right: 1.2rem;
    background: var(--teal-lt); border: none; border-radius: 50%; width: 36px; height: 36px;
    font-size: 1.1rem; cursor: pointer; color: var(--teal); display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .bio-modal-close:hover { background: var(--teal); color: white; }
  .bio-modal-photo { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; object-position: center top; margin-bottom: 1.2rem; border: 4px solid var(--teal-lt); box-shadow: 0 8px 24px rgba(0,0,0,0.16); }
  .bio-modal-name { font-family: Georgia, serif; font-size: 1.7rem; color: var(--charcoal); margin-bottom: 0.3rem; }
  .bio-modal-role { font-size: 0.85rem; color: var(--blue-dk); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.5rem; }
  .bio-modal-divider { border: none; border-top: 1.5px solid var(--teal-lt); margin-bottom: 1.5rem; }
  .bio-modal-text p { font-size: 0.97rem; color: var(--charcoal); line-height: 1.8; margin-bottom: 1.1rem; }

  /* ── PROCEDURE PAGES ── */
  .procedure-content { max-width: 720px; margin: 0 auto; }
  .procedure-content h2 { font-family: Georgia, serif; font-size: 1.5rem; color: var(--teal-dk); margin: 2.2rem 0 0.8rem; }
  .procedure-content h2:first-child { margin-top: 0; }
  .procedure-content p { font-size: 1rem; color: var(--charcoal); line-height: 1.8; margin-bottom: 1.1rem; }
  .procedure-content ul, .procedure-content ol { margin: 0 0 1.1rem 1.3rem; }
  .procedure-content ol { padding-left: 0.4rem; }
  .procedure-content ol li { padding-left: 0.25rem; margin-bottom: 0.35rem; }
  .procedure-content li { font-size: 1rem; color: var(--charcoal); line-height: 1.8; margin-bottom: 0.4rem; }
  .procedure-content strong { color: var(--teal-dk); }

  /* ── CHERRY CALCULATOR THEME ── */
  #calculator { max-width: 640px; margin: 0 auto; }
  [class*="calculator-month_option_container-"] { transition: box-shadow 0.2s, transform 0.2s; }
  [class*="calculator-month_option_container-"]:hover { box-shadow: 0 6px 20px rgba(26,110,102,0.15); transform: translateY(-2px); }
  #calculator section[aria-label="See an example of what you could pay"] { padding-top: 24px !important; }

  /* ── MAP PLACEHOLDER ── */
  .map-placeholder {
    background: var(--teal-lt); border-radius: var(--radius); height: 320px;
    display: flex; align-items: center; justify-content: center; margin-top: 2rem;
    font-family: Georgia, serif; color: var(--teal); font-size: 1rem;
  }
  .contact-map {
    border-radius: var(--radius); overflow: hidden; height: 320px; margin-top: 2rem;
    position: relative;
  }
  .contact-map iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
  .contact-map-link { position: absolute; inset: 0; }

  /* ── ACCORDION ── */
  .accordion { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
  .acc-item { background: var(--white); border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.08); overflow: hidden; }
  .acc-trigger {
    width: 100%; text-align: left; background: none; border: none; padding: 1.2rem 1.5rem;
    font-size: 1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; color: var(--charcoal); font-family: inherit;
  }
  .acc-trigger:hover { color: var(--teal); }
  .acc-trigger .chevron { transition: transform 0.3s; font-style: normal; }
  .acc-item.open .chevron { transform: rotate(180deg); }
  .acc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
  /* 400px clipped long answers on narrow phones — roomy cap keeps every answer visible */
  .acc-item.open .acc-body { max-height: 1200px; transition: max-height 0.5s ease; }
  .acc-body-inner { padding: 0 1.5rem 1.2rem; font-size: 0.93rem; color: var(--gray); line-height: 1.7; }

  /* ── MOBILE SERVICES TOGGLE ── */
  .services-toggle { display: none; }

  /* ── RESPONSIVE ── */
  /* Hamburger only at true tablet/mobile widths. Between 1100–1399px the
     links stay visible: they tighten and the phone collapses to an icon. */
  @media (max-width: 1099px) {
    nav { gap: 0.6rem; padding: 0 4%; }
    .nav-logo img { height: 46px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-cta { padding: 0.55rem 1.1rem; font-size: 0.82rem; white-space: nowrap; }
    .nav-links.open {
      display: flex; flex-direction: column; position: fixed;
      top: 72px; left: 0; right: 0; background: var(--cream);
      padding: 2rem 5%; border-bottom: 1px solid rgba(0,0,0,0.1); gap: 1.2rem;
      max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto;
    }
  }
  /* Tablet: tighten the two-column gap and section rhythm so content doesn't feel cramped */
  @media (max-width: 1024px) {
    .two-col { gap: 3rem; }
    section { padding: 64px 5%; }
    .section-white + .section-white { padding-top: 0; }
  }
  /* Short landscape phones: trim tall hero padding (overrides per-page inline padding) */
  @media (max-height: 520px) and (orientation: landscape) {
    .hero { padding: 48px 5% 76px !important; }
    .hero p { margin-bottom: 1.6rem; }
    .nav-links.open { gap: 0.7rem; padding: 1.1rem 5%; }
  }
  @media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
    .two-col.reverse { direction: ltr; }
    footer { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1; grid-row: 1; }
    .footer-col:nth-child(2) { grid-column: 1; grid-row: 2; }
    .footer-col:nth-child(3) { grid-column: 2; grid-row: 1; }
    .footer-col:nth-child(4) { grid-column: 2; grid-row: 2; }
    .form-grid { grid-template-columns: 1fr; }
    /* 16px minimum stops iOS Safari from auto-zooming when a field gets focus */
    input, select, textarea { font-size: 16px; }
    .office-gallery { grid-template-columns: repeat(2, 1fr); }
    .office-gallery .gal-fullrow-mobile { grid-column: 1 / -1 !important; }
    .office-gallery .gal-stack {
      grid-column: 1 / -1 !important;
      grid-template-rows: none !important;
      grid-template-columns: 1fr 1fr !important;
    }
    .info-grid-3col { grid-template-columns: 1fr; }
    .services-toggle {
      display: flex; align-items: center; justify-content: center; gap: 0.4rem;
      width: 100%; margin-top: 1.5rem; padding: 0.8rem 1.5rem;
      background: var(--white); border: 1.5px solid var(--teal); border-radius: 50px;
      color: var(--teal); font-weight: 600; font-size: 0.92rem; cursor: pointer; font-family: inherit;
    }
    .services-toggle .chevron { transition: transform 0.3s; font-style: normal; }
    .services-toggle.open .chevron { transform: rotate(180deg); }
    .services-collapse { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
    .services-collapse.open { max-height: 4000px; }
    .services-collapse .services-grid { margin-top: 1.5rem; }
  }
  @media (max-width: 480px) {
    footer { grid-template-columns: 1fr; }
    .footer-brand,
    .footer-col:nth-child(2),
    .footer-col:nth-child(3),
    .footer-col:nth-child(4) { grid-column: auto; grid-row: auto; }
    .hero { padding: 70px 5% 100px; }
    .services-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
    .services-grid-4 .service-card {
      max-width: none; padding: 0.7rem 0.35rem; text-align: center; align-items: center;
    }
    .services-grid-4 .service-icon { font-size: 1.5rem; margin-bottom: 0.35rem; }
    .services-grid-4 .service-card h3 { font-size: 0.66rem; line-height: 1.25; margin-bottom: 0; }
    .services-grid-4 .service-card p { display: none; }
    /* compact 4-across tiles: scale the link caption down to match the tiny titles */
    .services-grid-4 .service-card .service-link { font-size: 0.56rem; padding-top: 0.3rem; white-space: nowrap; }

    /* Insurance carriers: 2 up instead of 1, so 17 logos don't become 17 rows */
    .ins-grid { gap: 0.6rem; }
    .ins-card { flex: 1 1 140px; max-width: none; min-height: 88px; padding: 0.65rem 0.5rem 0.6rem; gap: 0.4rem; }
    .ins-card img { max-height: 38px; }
    .ins-name { font-size: 0.85rem; }
    .ins-portal { font-size: 0.58rem; letter-spacing: 0.04em; }
  }
  @media (max-width: 500px) {
    [class*="calculator-month_option_container-"] { height: auto !important; overflow: visible !important; }
    [class*="calculator-month_option_header_container"] {
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 0.6rem !important;
      width: 100% !important;
    }
    [class*="calculator-month_option_header-"] {
      flex: none !important; width: 100% !important; height: auto !important;
    }
    [class*="calculator-month_option_clickable_wrapper"] {
      flex: none !important; width: 100% !important; height: auto !important;
      justify-content: space-between !important;
    }
    [class*="calculator-payment_amount_container"] { white-space: nowrap; }
  }

  /* ── ACCESSIBILITY ── */
  .skip-link {
    position: absolute; top: -48px; left: 0.5rem; z-index: 2000;
    background: var(--teal-dk); color: white; padding: 0.75rem 1.25rem;
    border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.92rem;
    transition: top 0.2s;
  }
  .skip-link:focus { top: 0.5rem; }

  a:focus-visible,
  button:focus-visible,
  [tabindex]:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 2px;
  }
  .nav-cta:focus-visible,
  .btn-primary:focus-visible,
  .form-submit:focus-visible {
    outline: 3px solid var(--charcoal);
    outline-offset: 2px;
  }
  footer a:focus-visible,
  .bio-modal-close:focus-visible,
  .cta-band a:focus-visible {
    outline: 3px solid white;
    outline-offset: 2px;
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }


/* ── Homepage conversion elements (nav phone, rating chip, emergency band,
   first-visit steps, mobile sticky action bar) ── */
.hero-rating { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.3rem; padding: 0.5rem 1.1rem; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35); border-radius: 50px; color: #fff; text-decoration: none; font-size: 0.95rem; }
.hero-rating:hover { background: rgba(255,255,255,0.22); }
.hero-rating-stars { color: #FFD34D; letter-spacing: 1px; }
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 0 5%; max-width: 1100px; margin: 0 auto; }
.step-card { background: var(--cream, #FAF6F0); border-radius: 14px; padding: 1.5rem; text-align: center; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.8rem; }
.step-card h3 { font-size: 1.05rem; color: var(--teal-dk); margin-bottom: 0.4rem; }
.step-card p { font-size: 0.92rem; color: #555; }
@media (max-width: 700px) { .steps-row { grid-template-columns: 1fr; } }
.btn-outline-teal { display: inline-block; border: 1.5px solid var(--teal); color: var(--teal); font-weight: 600; padding: 0.7rem 1.5rem; border-radius: 50px; text-decoration: none; font-size: 0.95rem; }
.btn-outline-teal:hover { background: var(--teal); color: #fff; }

/* Homepage review cards: clamp long reviews, expandable in place (full text
   stays in the HTML for search engines — the clamp is visual only). */
.review-text.review-clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review-toggle { background: none; border: none; color: var(--teal); font-weight: 600; font-size: 0.85rem; cursor: pointer; padding: 0; margin: 0.35rem 0 0.55rem; font-family: inherit; }
.review-toggle:hover { text-decoration: underline; }

/* ── Nav action group: Call · Book · Directions (all pages, all widths) ── */
.nav-links li a { white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 0.55rem; margin-left: 1.2rem; }
.nav-phone { display: inline-flex; align-items: center; font-weight: 700; color: var(--teal-dk); text-decoration: none; white-space: nowrap; font-size: 0.95rem; }
.nav-phone:hover { color: var(--teal); }
.nav-directions { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 0.85rem; transition: background 0.2s, color 0.2s; }
.nav-directions:hover { background: var(--teal); color: #fff; }
.nav-cta-short { display: none; }
@media (max-width: 1399px) {
  /* Below full desktop width the phone shows as a compact icon button */
  .nav-actions { gap: 0.5rem; }
  .nav-phone { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--coral); color: #fff; justify-content: center; font-size: 0.95rem; }
  .nav-phone:hover { color: #fff; opacity: 0.92; }
  .nav-phone-num { display: none; }
}
@media (max-width: 1399px) and (min-width: 1100px) {
  /* Keep all 7 links on one row at laptop widths */
  .nav-links { gap: 1.05rem; }
  .nav-links a { font-size: 0.87rem; }
  .nav-actions { margin-left: 0.8rem; }
}
@media (max-width: 1099px) {
  .nav-actions { margin-left: auto; }
}
@media (max-width: 480px) {
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
  .nav-actions { gap: 0.45rem; margin-left: 0.4rem; }
  .nav-phone, .nav-directions { width: 36px; height: 36px; }
}

/* ── Trust bar: two tidy columns on phones instead of one long stack ── */
@media (max-width: 768px) {
  .trust-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
  .trust-item { flex: none; max-width: none; font-size: 0.8rem; }
}

/* "or call" line under the booking button in page-ending CTA bands */
.cta-band .cta-call { margin-top: 1rem; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.cta-band .cta-call a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Patient pull-quote above procedure page CTAs */
.proc-quote { max-width: 680px; margin: 0 auto; padding: 8px 5% 72px; text-align: center; }
.proc-quote .stars { margin-bottom: 0.6rem; }
.proc-quote blockquote { font-family: Georgia, serif; font-style: italic; font-size: 1.18rem; line-height: 1.65; color: var(--charcoal); }
.proc-quote figcaption { margin-top: 0.7rem; font-size: 0.9rem; color: var(--gray); }

/* Footer hours + contact-page open indicator + form reassurance */
.footer-hours { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.open-chip { display: inline-block; margin-top: 0.5rem; padding: 0.3rem 0.85rem; border-radius: 50px; background: var(--teal-lt); color: var(--teal-dk); font-size: 0.82rem; font-weight: 600; }
.open-chip.open-now { background: #E3F4E3; color: #1F6B2D; }
.form-note { margin-top: 0.9rem; font-size: 0.88rem; color: var(--gray); }
.form-note a { color: var(--teal); font-weight: 600; }

/* Aftercare index: tiles 2-up on mobile to reduce scrolling */
@media (max-width: 768px) {
  .info-grid.grid-2col-mobile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .info-grid.grid-2col-mobile > .info-card { flex: none; max-width: none; padding: 1.15rem 0.85rem; }
  .info-grid.grid-2col-mobile .info-card h3 { font-size: 0.95rem; }
  .info-grid.grid-2col-mobile .info-card p, .info-grid.grid-2col-mobile .info-card a { font-size: 0.83rem; }
}

/* ── Smile Gallery / before-after blocks (added 2026-08-11) ── */
.sg-intro { max-width: 70ch; margin: 0 auto 1.4rem; color: var(--gray); text-align: center; }
.sg-case { max-width: 960px; margin: 0 auto 2.2rem; }
.sg-case h2 { font-size: 1.35rem; color: var(--charcoal); margin-bottom: .2rem; }
.sg-treat { display: inline-block; margin: .4rem 0 .9rem; padding: .25rem .9rem; border-radius: 999px; background: var(--teal-lt); color: var(--teal-dk); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.sg-desc { color: var(--gray); max-width: 75ch; }
.sg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.1rem 0 .4rem; }
.sg-views { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: .6rem; }
.sg-pair-sm { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sg-figure { position: relative; margin: 0; }
.sg-figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.sg-tag { position: absolute; top: 10px; left: 10px; background: rgba(45,45,45,.75); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .12em; padding: .2rem .6rem; border-radius: 6px; text-transform: uppercase; }
.sg-note { font-size: .92rem; color: var(--gray); margin: .4rem 0 1.6rem; }
.sg-consent { font-size: .85rem; color: var(--gray); font-style: italic; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(26,110,102,0.12); }
@media (max-width: 700px) {
  .sg-pair { grid-template-columns: 1fr; }
  .sg-views { grid-template-columns: 1fr; }
}

/* Quick-links chip rows (homepage, below service tiles) */
.quick-links { margin-top: 1.5rem; }
.quick-links .ql-label { font-size: 0.76rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gray); font-weight: 700; margin: 1.15rem 0 0.6rem; }
.quick-links .ql-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; max-width: 620px; margin-inline: auto; }
.quick-links .ql-row a { display: inline-block; padding: 0.36rem 0.9rem; border: 1.5px solid var(--teal); border-radius: 50px; color: var(--teal); font-weight: 600; font-size: 0.85rem; line-height: 1.3; text-decoration: none; background: #fff; transition: background 0.15s ease, color 0.15s ease; }
.quick-links .ql-row a:hover, .quick-links .ql-row a:focus-visible { background: var(--teal); color: #fff; }
