/* =====================================================================
   Phone layer (2026-10) — creative, not cluttered.
   One idea per screen, swipe rows instead of long stacks, a single
   bottom bar, tap-to-pick answers and a guided quote form.
   Loaded last. Chips and the quote tracker apply on every screen size.
   ===================================================================== */

/* Short call label is phone-only */
.hx-call-short { display: none; }

/* ---------------------------------------------------------------------
   Tap-to-pick chips (built from short dropdowns by form-flow.js)
   --------------------------------------------------------------------- */
.chips-native {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0) !important; border: 0 !important; opacity: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(15,31,56,.14);
  background: #fff;
  color: #0F1F38;
  font: 700 14.5px/1.2 var(--font-body, Inter, system-ui, sans-serif);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s, transform .25s var(--ease-spring, ease), box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: rgba(212,163,80,.7); }
.chip:focus-visible { outline: 3px solid rgba(212,163,80,.45); outline-offset: 2px; }
.chip.is-on {
  background: #0F1F38; border-color: #0F1F38; color: #fff;
  box-shadow: 0 10px 22px -12px rgba(15,31,56,.6);
}
.chip.is-on::before {
  content: ''; width: 16px; height: 16px; flex-shrink: 0; margin-left: -4px;
  border-radius: 50%; background: #D4A350 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.5' fill='none' stroke='%230F1F38' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.chip-pop { animation: ll-chip-pop .45s var(--ease-spring, ease); }
@keyframes ll-chip-pop { 40% { transform: scale(1.07); } }
.chips-native[aria-invalid="true"] ~ .chips .chip { border-color: #d64545; }

/* Service chips with icons (home quick form) */
.chips-icons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chips-icons .chip {
  flex-direction: column; justify-content: center; gap: 6px;
  min-height: 84px; padding: 12px 6px; border-radius: 18px;
  font-size: 13px; text-align: center;
}
.chips-icons .chip.is-on::before { position: absolute; top: 8px; right: 8px; margin: 0; }
.chips-icons .chip { position: relative; }
.chip-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: rgba(212,163,80,.16); color: #8A6420; transition: background .2s, color .2s; }
.chip.is-on .chip-icon { background: rgba(255,255,255,.12); color: #E9C77D; }
.chips-wide .chip { flex: 1 1 100%; justify-content: flex-start; border-radius: 16px; }
.hero-form .chips { margin: 0 0 2px; }
.hero-form input[data-hero-dest]:disabled { display: none; }

/* ---------------------------------------------------------------------
   Quote page progress tracker
   --------------------------------------------------------------------- */
.q-progress {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin: 0 0 22px; padding: 8px 8px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,31,56,.08);
  box-shadow: 0 14px 30px -24px rgba(15,31,56,.5);
  z-index: 5;
}
.q-progress[hidden] { display: none; }
.q-progress-step {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 8px 4px; border: 0; border-radius: 12px; background: transparent;
  color: #5a687d; font: 800 13px/1 var(--font-heading); cursor: pointer;
}
.q-progress-step span {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(15,31,56,.08); color: #0F1F38; font-size: 11.5px;
  transition: background .3s, color .3s, transform .4s var(--ease-spring, ease);
}
.q-progress-step.is-current { color: #0F1F38; background: rgba(212,163,80,.12); }
.q-progress-step.is-current span { background: #0F1F38; color: #fff; }
.q-progress-step.is-done { color: #0F1F38; }
.q-progress-step.is-done span { background: #D4A350; color: #0F1F38; font-size: 0; transform: rotate(360deg); }
.q-progress-step.is-done span::after { content: '✓'; font-size: 12px; }
.q-progress-bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 4px; border-radius: 4px; background: rgba(15,31,56,.08); overflow: hidden; }
.q-progress-bar b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #186355, #D4A350); transition: width .6s var(--ease-out, ease); }
.q-progress.is-complete .q-progress-bar b { background: linear-gradient(90deg, #D4A350, #F3D896); }

/* ---------------------------------------------------------------------
   WhatsApp button (tablet/desktop): icon dead-centre, label slides out on hover
   --------------------------------------------------------------------- */
.whatsapp-fab {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: auto !important; min-width: 58px; height: 58px !important;
  padding: 0 15px !important; gap: 0;
  right: 24px; bottom: 24px;
  border-radius: 999px !important;
  overflow: visible !important;
  border: 0 !important;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.6), 0 4px 10px rgba(0,0,0,.12) !important;
  transition: transform .25s var(--ease-out, ease), box-shadow .25s, padding .35s var(--ease-out, ease) !important;
}
.whatsapp-fab svg { width: 28px !important; height: 28px !important; display: block; }
.whatsapp-fab-label {
  display: inline-block; max-width: 0; overflow: hidden; opacity: 0; margin-left: 0;
  font-size: 15px !important; font-weight: 800; letter-spacing: .01em; white-space: nowrap;
  transition: max-width .4s var(--ease-out, ease), opacity .25s, margin .4s var(--ease-out, ease) !important;
}
.whatsapp-fab:hover, .whatsapp-fab:focus-visible { transform: translateY(-3px) !important; padding: 0 20px 0 16px !important; }
.whatsapp-fab:hover .whatsapp-fab-label, .whatsapp-fab:focus-visible .whatsapp-fab-label { max-width: 180px; opacity: 1; margin-left: 10px; }
.whatsapp-fab::before { border-radius: inherit !important; }

/* Dots under swipe rows and the app nav are phone-only */
.ll-dots, .app-nav { display: none; }
.app-sheet { display: none; }

/* ---------------------------------------------------------------------
   PHONES
   --------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* ---------- App-style bottom nav (replaces the old call bar + WhatsApp bubble) ---------- */
  .whatsapp-fab, .mobile-cta-bar { display: none !important; }
  .nav-toggle { display: none !important; }
  /* Docked to the very bottom edge: solid, full width, and it fills the home-indicator
     area so nothing scrolls underneath it (Safari also tints its toolbar to match). */
  html { background-color: #0D1B31; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

  .app-nav {
    position: fixed; z-index: 90;
    left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: 62px; align-items: stretch;
    padding: 0 6px env(safe-area-inset-bottom);
    border-radius: 22px 22px 0 0;
    background: #0D1B31;
    box-shadow: 0 -12px 30px -14px rgba(4, 10, 20, .5), inset 0 1px 0 rgba(255,255,255,.07), 0 80px 0 0 #0D1B31;
    transition: transform .4s var(--ease-out, ease), opacity .3s;
  }
  body.is-typing .app-nav, body.sheet-open .app-nav { transform: translateY(calc(100% + 30px)); opacity: 0; pointer-events: none; }
  .app-nav-item {
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    padding: 0; border: 0; background: none; cursor: pointer;
    color: rgba(255,255,255,.58);
    font: 700 10.5px/1 var(--font-body, Inter, system-ui, sans-serif); letter-spacing: .01em;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s, transform .2s;
  }
  .app-nav-item svg { width: 23px; height: 23px; display: block; transition: transform .35s var(--ease-spring, ease); }
  .app-nav-item:hover, .app-nav-item:focus-visible { color: #fff; }
  .app-nav-item:active { transform: scale(.92); }
  .app-nav-item.is-active { color: #fff; }
  .app-nav-item.is-active svg { color: #E9C77D; transform: translateY(-1px); }
  .app-nav-item.is-active::after {
    content: ''; position: absolute; bottom: 7px; left: 50%;
    width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #E9C77D;
  }
  .app-nav-item[aria-expanded="true"] { color: #fff; }
  .app-nav-wa svg { color: #25D366; }

  /* The raised gold "Free quote" button in the middle */
  .app-nav-quote { justify-content: flex-end; padding-bottom: 8px; color: #E9C77D; }
  .app-nav-quote.is-active { color: #E9C77D; }
  .app-nav-quote.is-active::after { display: none; }
  .app-nav-fab {
    position: absolute; top: -20px; left: 50%; margin-left: -29px;
    width: 58px; height: 58px; border-radius: 20px;
    display: grid; place-items: center;
    background: linear-gradient(140deg, #C8963E, #EBCB86);
    color: #0F1F38;
    box-shadow: 0 0 0 5px #0D1B31, 0 14px 26px -8px rgba(212,163,80,.75);
    transform: rotate(-6deg);
    transition: transform .35s var(--ease-spring, ease);
  }
  .app-nav-fab svg { width: 27px; height: 27px; transform: rotate(6deg); }
  .app-nav-quote:active .app-nav-fab { transform: rotate(0deg) scale(.94); }
  .app-nav-fab::after {
    content: ''; position: absolute; inset: -5px; border-radius: 24px;
    border: 1.5px solid rgba(233,199,125,.55);
    animation: ll-fab-ring 2.8s var(--ease-out, ease) infinite;
  }
  @keyframes ll-fab-ring { 0% { transform: scale(.9); opacity: .9; } 70%, 100% { transform: scale(1.25); opacity: 0; } }

  /* "More" sheet */
  .app-sheet { display: block; position: fixed; inset: 0; z-index: 130; }
  .app-sheet[hidden] { display: none; }
  .app-sheet-backdrop { position: absolute; inset: 0; background: rgba(5, 12, 24, .52); opacity: 0; transition: opacity .35s; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .app-sheet-panel {
    position: absolute; left: 0; right: 0; bottom: 0;
    max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
    padding: 10px 16px calc(18px + env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
    background: #fff;
    box-shadow: 0 -24px 60px -20px rgba(5,12,24,.5);
    transform: translateY(104%);
    transition: transform .45s var(--ease-out, ease);
  }
  .app-sheet.open .app-sheet-backdrop { opacity: 1; }
  .app-sheet.open .app-sheet-panel { transform: none; }
  .app-sheet-grab { display: block; width: 44px; height: 5px; margin: 0 auto 14px; border-radius: 5px; background: rgba(15,31,56,.16); }
  .app-sheet-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
  .app-sheet-head img { width: 44px; height: 44px; border-radius: 12px; }
  .app-sheet-head div { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
  .app-sheet-head strong { font-family: var(--font-heading); font-size: 1.1rem; color: #0F1F38; line-height: 1.1; }
  .app-sheet-head div > span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #5a687d; font-weight: 600; }
  .app-open-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 3px rgba(61,220,151,.2); }
  .app-sheet-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F2F4F8; color: #0F1F38; font-size: 24px; line-height: 1; cursor: pointer; }
  .app-sheet-label { margin: 16px 2px 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8A6420; }
  .app-sheet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .app-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    min-height: 92px; padding: 12px 6px; border-radius: 20px;
    background: #F5F7FA; border: 1px solid rgba(15,31,56,.06);
    color: #0F1F38; font-size: 12.5px; font-weight: 800; text-align: center; line-height: 1.2;
    opacity: 0; transform: translateY(12px);
    transition: opacity .35s, transform .45s var(--ease-out, ease), background .2s;
  }
  .app-sheet.open .app-tile { opacity: 1; transform: none; }
  .app-sheet.open .app-sheet-grid .app-tile:nth-child(2) { transition-delay: .03s; }
  .app-sheet.open .app-sheet-grid .app-tile:nth-child(3) { transition-delay: .06s; }
  .app-sheet.open .app-sheet-grid .app-tile:nth-child(4) { transition-delay: .09s; }
  .app-sheet.open .app-sheet-grid .app-tile:nth-child(5) { transition-delay: .12s; }
  .app-sheet.open .app-sheet-grid .app-tile:nth-child(6) { transition-delay: .15s; }
  .app-tile:active { background: #EBEFF5; }
  .app-tile.is-active { background: rgba(212,163,80,.14); border-color: rgba(212,163,80,.4); }
  .app-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: #0F1F38; color: #E9C77D; }
  .app-ic svg { width: 22px; height: 22px; }
  .app-tile-wa .app-ic { background: #25D366; color: #fff; }
  .app-ic-ig { background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF); color: #fff; }
  .app-ic-g { background: #fff; color: #4285F4; box-shadow: inset 0 0 0 1px rgba(15,31,56,.1); }
  .app-sheet-call { margin-top: 16px; min-height: 54px; }

  /* ---------- Home hero: just the headline, the boxes and two buttons ---------- */
  .hero.hx { padding: 22px 0 84px; }
  .hx-kicker { padding: 6px 12px 6px 10px; font-size: 10.5px; letter-spacing: .06em; margin-bottom: 14px; }
  .hx-title { font-size: clamp(2.55rem, 12.6vw, 3.3rem); margin-bottom: .22em; }
  .hx-flip { font-size: 1.1rem; margin-bottom: 10px; }
  .hx-lede { font-size: 1rem; line-height: 1.55; margin-bottom: 18px; max-width: 34ch; }
  .hx-actions { flex-direction: row !important; gap: 10px; }
  .hx-actions .btn { flex: 1 1 0; width: auto !important; min-height: 54px; padding: 0 14px; font-size: 15.5px; }
  .hx-actions .btn-primary { flex-grow: 1.35; }
  .hx-call-long { display: none; }
  .hx-call-short { display: inline; }
  .hx-stage { height: 270px; margin-top: 2px; }
  .hx-world { --hx-scale: .6; }
  .hx-chip, .hx-tri, .hx-ring, .hx-morph-line, .hx-orbit, .hx-zig, .hx-square, .hx-plus, .hx-dot { display: none !important; }
  .hx-morph-fill { width: 74%; top: 52%; }
  .hx-badge { width: 84px; top: 6px; right: 4px; }
  .hx-road { opacity: .4; }

  /* ---------- Quick quote: form first, numbers in one slim row ---------- */
  .section.qq { padding-top: 58px; padding-bottom: 56px; }
  .qq-copy h2 { font-size: 1.85rem; }
  .qq-copy p { font-size: 1rem; }
  .qq-grid { row-gap: 20px; }
  .qq-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .qq-stat { padding: 12px 6px 10px; border-radius: 16px; text-align: center; }
  .qq-stat::after { display: none; }
  .qq-stat .stat-num { font-size: 1.3rem; }
  .qq-stat .stat-label { font-size: 9.5px; letter-spacing: .04em; margin-top: 5px; line-height: 1.25; }
  .hero-card.qq-card { padding: 20px 16px; }
  .qq-card .hero-card-head { margin-bottom: 14px; }
  #quick-quote { scroll-margin-top: calc(var(--hdr, 66px) + 4px); }

  /* ---------- Bigger, calmer form fields (16px stops iPhone zoom) ---------- */
  .field input, .field select, .field textarea,
  .hero-form input, .hero-form select, .hero-form textarea {
    font-size: 16px !important; min-height: 52px; border-radius: 14px;
  }
  .field textarea, .hero-form textarea { min-height: 110px; }
  .field input[type="date"] { -webkit-appearance: none; appearance: none; display: flex; align-items: center; text-align: left; background: #fff; }
  .field label { font-size: 14px; }
  .field-help { font-size: 12.5px; }
  .chip { font-size: 14px; }
  .chips-icons .chip { min-height: 80px; font-size: 12.5px; }

  /* ---------- Quote + contact pages: get to the form fast ---------- */
  .page-quote .page-header, .page-contact .page-header { padding: 26px 0 30px !important; }
  .page-quote .page-header p, .page-contact .page-header p { font-size: .98rem; }
  .page-quote .page-header h1, .page-contact .page-header h1 { font-size: 2.1rem; }
  .page-quote .quote-section, .page-contact .section:first-of-type { padding-top: 22px; }
  .quote-form.form-card, .page-contact .form-card { padding: 16px 14px 20px; border-radius: 22px; }
  .q-progress { position: sticky; top: calc(var(--hdr, 66px) + 8px); margin: -4px -4px 18px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .q-progress-step { font-size: 12px; gap: 5px; }
  .form-step { margin-bottom: 26px; }
  .form-step-title { font-size: 1.1rem; }
  .service-chooser { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .service-tile-inner { min-height: 0 !important; padding: 14px 12px !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; }
  .service-tile-sub { display: none; }
  .service-tile-label { font-size: 14px; line-height: 1.2; }
  .service-tile-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; }

  /* ---------- Swipe rows instead of long stacks ---------- */
  .benefits-grid, .gallery-grid, .process-grid {
    display: flex !important; gap: 12px !important;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -16px !important; padding: 6px 16px 14px !important;
    scrollbar-width: none;
  }
  .benefits-grid::-webkit-scrollbar, .gallery-grid::-webkit-scrollbar, .process-grid::-webkit-scrollbar { display: none; }
  .benefits-grid > *, .process-grid > * { flex: 0 0 78%; scroll-snap-align: start; }
  .gallery-grid > * { flex: 0 0 86%; scroll-snap-align: center; }
  .benefit { flex-direction: column; gap: 14px; padding: 22px 20px !important; }
  .benefit .benefit-icon { width: 46px; height: 46px; }
  .process-step { padding: 22px 20px 20px; min-height: 0 !important; }
  .process-step h3 { margin-top: 36px !important; }
  .gallery-tile { margin: 0; }
  .gallery-tile img { aspect-ratio: 4 / 5 !important; object-fit: cover; }
  .js .gallery-tile.reveal { clip-path: none !important; }
  .js .gallery-tile.reveal img { transform: none !important; }
  .ll-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
  .ll-dots i { width: 6px; height: 6px; border-radius: 6px; background: rgba(15,31,56,.18); transition: width .35s var(--ease-out, ease), background .3s; }
  .ll-dots i.on { width: 22px; background: #D4A350; }
  .section-dark .ll-dots i { background: rgba(255,255,255,.25); }
  .section-dark .ll-dots i.on { background: #E9C77D; }

  /* ---------- Services: a tidy 2-column menu of tiles ---------- */
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .services-grid .service-card { padding: 16px 14px 14px !important; border-radius: 20px; min-height: 0 !important; display: flex; flex-direction: column; }
  .services-grid .service-card .learn { margin-top: auto; }
  .services-grid .service-card p { display: none; }
  .services-grid .service-card h3 { font-size: 1rem; line-height: 1.2; margin: 12px 0 8px; }
  .services-grid .service-card .service-icon { width: 44px; height: 44px; }
  .services-grid .service-card .learn { font-size: 13px; }
  .services-grid .service-card-cta { grid-column: 1 / -1; }
  .services-grid .service-card-cta p { display: block; font-size: 14px; }

  /* ---------- Intro: lighter list ---------- */
  .intro-points li { padding: 14px 16px; }

  /* ---------- Sections breathe a little less ---------- */
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-head { margin-bottom: 26px; }
  .section-head h2 { font-size: 1.9rem; }
  .section-head p { font-size: 1rem; }

  /* ---------- Footer: two columns of links, not one long list ---------- */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 30px 18px !important; }
  .footer-col-brand { grid-column: 1 / -1; }
  .footer-grid > .footer-col:nth-child(4) { grid-column: 1 / -1; }
  .footer-grid > .footer-col:nth-child(4) ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .site-footer .footer-col ul:not(.contact-list) a { min-height: 40px; font-size: 14px; }
}

@media (max-width: 380px) {
  .hx-actions .btn { font-size: 14.5px; padding: 0 10px; }
  .chips-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qq-stat .stat-num { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  .chip, .q-progress-step span, .q-progress-bar b, .ll-dots i, .app-nav, .app-sheet-panel, .app-sheet-backdrop, .app-tile, .app-nav-fab, .app-nav-fab::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   COMPACT PHONE RHYTHM (2026-10): less empty space, slightly smaller
   headings and buttons, services as tidy cards with the photo first
   ===================================================================== */
@media (max-width: 768px) {
  .section { padding-top: 46px; padding-bottom: 46px; }
  .section-head { margin-bottom: 20px; }
  .section-head h2, .section > .container > h2 { font-size: clamp(1.55rem, 7vw, 1.8rem); line-height: 1.14; }
  .section-head p { font-size: .97rem; line-height: 1.55; }
  .section-eyebrow { margin-bottom: 8px; font-size: 10.5px; padding: 5px 10px; }

  /* Page headers on every inner page */
  .page-header { padding: 24px 0 28px !important; }
  .page-header h1 { font-size: clamp(1.8rem, 8.4vw, 2.2rem) !important; margin-bottom: 8px; }
  .page-header p { font-size: .97rem; line-height: 1.5; }
  .crumbs { font-size: 11px; margin-bottom: 6px; }

  /* Buttons a touch smaller (still easy to tap) */
  .btn { min-height: 48px; padding: 12px 20px; font-size: 15px; }
  .btn-lg { min-height: 52px; padding: 14px 22px; font-size: 15.5px; }

  /* Services page: each service is a compact card, photo on top */
  .service-detail {
    display: flex !important; flex-direction: column; gap: 0 !important;
    padding: 0 !important; margin: 0 0 18px !important;
    border: 1px solid rgba(15,31,56,.08) !important; border-radius: 22px; overflow: hidden;
    background: #fff; box-shadow: 0 18px 40px -30px rgba(15,31,56,.45);
  }
  .service-detail-photo { order: -1 !important; width: 100% !important; max-width: none !important; align-self: stretch; margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; aspect-ratio: 16 / 9 !important; }
  .service-detail-photo picture, .service-detail-photo img { width: 100% !important; max-width: none !important; }
  .service-detail-photo img { aspect-ratio: 16 / 9 !important; height: 100%; }
  .service-detail-icon { display: none !important; }
  .service-detail-body { padding: 16px 16px 18px; }
  .service-detail-body .section-eyebrow { margin-bottom: 6px; }
  .service-detail-body h2 { font-size: 1.4rem !important; line-height: 1.15; margin-bottom: 6px; }
  .service-detail-body p { font-size: .96rem; line-height: 1.5; margin-bottom: 0; }
  .service-detail-body .check-list { margin: 10px 0 14px; }
  .service-detail-body .btn { width: 100%; }
  .check-list li { font-size: .94rem; line-height: 1.4; padding-top: 3px; padding-bottom: 3px; margin-bottom: 4px; }

  /* Pricing: swipe between the three plans instead of a tall stack */
  .pricing-grid {
    display: flex !important; gap: 12px !important;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -16px !important; padding: 6px 16px 14px !important; scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .pricing-grid > * { flex: 0 0 80%; scroll-snap-align: center; }
  .price-card { padding: 20px 18px !important; }
  .pricing-note { font-size: .92rem; margin-top: 10px; }

  /* Cards and lists elsewhere: a little tighter */
  .card, .review-card, .review-tile, .faq-item { padding: 18px; }
  .faq-item summary { font-size: 1rem; }
  .cta-band { padding-top: 40px !important; padding-bottom: 40px !important; }
  .cta-band h2 { font-size: 1.6rem; }
}

/* Reviews page: the rating and numbers in one compact block on phones */
@media (max-width: 768px) {
  .reviews-summary { padding: 18px 0 !important; }
  .reviews-summary-inner { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
  .reviews-summary-inner > .rs-card { padding: 14px 8px !important; text-align: center; border-radius: 16px; }
  .reviews-summary-inner > .rs-card:not(:nth-child(-n+3)) { grid-column: 1 / -1; text-align: left; padding: 14px 16px !important; }
  .rs-rating-big { font-size: 1.9rem !important; }
  .rs-rating-big span { font-size: .8em; }
  .rs-rating-stars { font-size: 12px; letter-spacing: 1px; margin-top: 4px; }
  .rs-card .rs-stat { font-size: 1.7rem; line-height: 1.05; }
  .rs-card .rs-stat-label { font-size: 9.5px; letter-spacing: .06em; margin-top: 4px; }
  .rs-card p, .rs-rating p, .rs-card small { display: none; }
  .reviews-summary-inner > .rs-card:not(:nth-child(-n+3)) p { display: block; }
}
@media (max-width: 768px) { .reviews-summary-inner > .rs-cta { display: none !important; } }
