/* ---------------------------------------------------------------------------
   pronton-blocks.css
   Pronton-brand skin for the framework's cms-* block primitives.
   B1 rewrite — adapts the original Pronton sections (hero with floating
   badges, animated stats, photo-led services, dark promos, 10-tile benefits,
   3-step circles, testimonial carousel, location info+map, gradient CTA) to
   the migrated `cms-*` HTML emitted by the block renderer.
--------------------------------------------------------------------------- */

:root {
    --pronton-blue:        #003DA5;
    --pronton-blue-light:  #dbeafe;
    --pronton-blue-dark:   #002970;
    --pronton-blue-accent: #0066CC;
    --slate-900:           #0b1929;
    --slate-800:           #142840;
    --slate-700:           #334155;
    --slate-600:           #475569;
    --slate-500:           #64748b;
    --slate-300:           #cbd5e1;
    --slate-200:           #e5e7eb;
    --slate-100:           #f1f5f9;
    --slate-50:            #f8fafc;
    --amber:               #f59e0b;
    --wa:                  #25d366;
    --wa-dark:             #128c7e;
    --pronton-radius:      14px;
    --pronton-radius-lg:   20px;
    --pronton-shadow-sm:   0 2px 8px rgba(15, 23, 42, .06);
    --pronton-shadow:      0 12px 28px rgba(15, 23, 42, .08);
    --pronton-shadow-lg:   0 24px 60px rgba(15, 23, 42, .15);
}

/* =========================================================================
   THEME CHROME
   Topbar / footer / sticky CTA. These live in the template, not blocks.
========================================================================= */
body.theme-pronton {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--slate-900);
    margin: 0;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
    line-height: 1.6;
}
body.theme-pronton .site-main { display: block; }

body.theme-pronton .topbar {
    background: var(--slate-900);
    color: var(--slate-300);
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}
body.theme-pronton .topbar .container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
body.theme-pronton .topbar .open-now {
    display: inline-flex; align-items: center; gap: 6px;
    color: #86efac; font-weight: 600;
}
body.theme-pronton .topbar .open-now.closed { color: #fca5a5; }
body.theme-pronton .topbar .open-now::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
    box-shadow: 0 0 0 0 currentColor; animation: pronton-pulse 2s infinite;
}
@keyframes pronton-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(134, 239, 172, .6); }
    70%  { box-shadow: 0 0 0 8px rgba(134, 239, 172, 0); }
    100% { box-shadow: 0 0 0 0 rgba(134, 239, 172, 0); }
}

body.theme-pronton .footer {
    background: #020617; color: #94a3b8;
    padding: 50px 0 100px;
    font-size: 15px; line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, .05);
}
body.theme-pronton .footer .container {
    max-width: 1600px; margin: 0 auto; padding: 0 32px;
    display: flex; flex-direction: column; gap: 12px;
    align-items: center; text-align: center;
}
body.theme-pronton .footer a { color: #cbd5e1; }

body.theme-pronton .sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    display: none;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(12px);
    border-top: 1px solid var(--slate-200);
    padding: 10px 12px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .12);
    gap: 8px;
}
body.theme-pronton .sticky-cta .btn { flex: 1; padding: 14px 16px; font-size: 14px; }
body.theme-pronton .sticky-cta .btn-wa { background: var(--wa); color: #fff; }
body.theme-pronton .sticky-cta .btn-call { background: var(--pronton-blue); color: #fff; }

/* =========================================================================
   BLOCK PRIMITIVES — cms-section / cms-row / cms-column / cms-heading /
   cms-text / cms-image
========================================================================= */
.cms-section { box-sizing: border-box; }

.cms-heading {
    font-family: inherit;
    color: var(--slate-900);
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -.5px;
    font-weight: 800;
}
h1.cms-heading { font-size: clamp(34px, 5.5vw, 72px); letter-spacing: -2px; line-height: 1.05; }
h2.cms-heading { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -1.4px; line-height: 1.1; }
h3.cms-heading { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.6px; line-height: 1.25; font-weight: 700; }
h4.cms-heading { font-size: 19px; font-weight: 700; }

.cms-text {
    color: var(--slate-600);
    font-size: 17px;
    line-height: 1.6;
}
.cms-text p { margin: 0 0 14px; }
.cms-text p:last-child { margin-bottom: 0; }
.cms-text strong { color: var(--slate-900); }
.cms-text a { color: var(--pronton-blue); font-weight: 600; text-decoration: none; }
.cms-text a:hover { text-decoration: underline; }

.cms-image { display: block; line-height: 0; }
.cms-image__img {
    border-radius: var(--pronton-radius);
    width: 100%;
    height: auto;
    display: block;
    transition: transform .6s ease;
}

/* =========================================================================
   BUTTONS — emitted as .btn .btn--primary|secondary|ghost .btn--lg
========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    border: 1.5px solid transparent;
    line-height: 1;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn        { transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, background-color .15s ease, border-color .15s ease; }
.btn:hover  { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 26px rgba(0, 61, 165, .18); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.btn:active { transform: translateY(0); }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--md { padding: 12px 22px; font-size: 15px; }
.btn--lg { padding: 19px 36px; font-size: 18px; }

.btn--primary {
    background: var(--pronton-blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 61, 165, .4);
}
.btn--primary:hover { background: var(--pronton-blue-dark); }

.btn--secondary {
    background: #fff;
    color: var(--pronton-blue);
    border-color: var(--pronton-blue);
}
.btn--secondary:hover { background: var(--pronton-blue); color: #fff; }

.btn--ghost {
    background: transparent;
    color: var(--slate-900);
    border-color: var(--slate-900);
}
.btn--ghost:hover { background: var(--slate-900); color: #fff; }

/* Inside dark/blue sections, ghost is light-on-dark. */
/* Dark-section button overrides — buttons inside .is-dark-cta render in
   white/outline so they read against a blue or slate background. Semantic
   class is injected via the migration's $sec(__style.custom_css_class). */
.is-dark-cta .btn--ghost,
.is-dark-cta .btn--call {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .65);
}
.is-dark-cta .btn--ghost:hover,
.is-dark-cta .btn--call:hover {
    background: #fff;
    color: var(--pronton-blue);
    border-color: #fff;
}

/* WhatsApp / call variants (legacy theme chrome). */
.btn--wa, .btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.btn--wa:hover, .btn-wa:hover { background: var(--wa-dark); }
.btn--call, .btn-call { background: transparent; color: var(--pronton-blue); border: 1.5px solid var(--pronton-blue); }
.btn--call:hover, .btn-call:hover { background: var(--pronton-blue); color: #fff; }

/* =========================================================================
   HERO — split (text + photo + floating badges) and center fallback
========================================================================= */
.cms-hero {
    color: var(--slate-900);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 540px at 75% -10%, rgba(0, 61, 165, .12), transparent 60%),
        radial-gradient(800px 400px at 5% 100%, rgba(0, 102, 204, .08), transparent 60%),
        linear-gradient(180deg, #f6f9fc 0%, #fff 100%);
}

/* The migration wraps the hero inside a top-level cms-section that defaults to
   110px top/bottom padding. That padding stacks ON TOP of the hero's own
   padding and creates a huge gap below the header. Zero the wrapper's padding
   when its first/only meaningful child is a hero — the hero owns its own
   vertical rhythm. Same principle applies to coloured CTA sections at the
   bottom: their own padding is enough; the wrapping section adds bloat. */
.cms-section:has(> .cms-section__inner > .cms-hero),
.cms-section:has(> .cms-hero) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.cms-section:has(> .cms-section__inner > .cms-hero) > .cms-section__inner,
.cms-section:has(> .cms-hero) > .cms-section__inner {
    padding: 0 !important;
    max-width: none !important;
}

/* The root section wrapping all child sections defaults to 96px+ padding.
   That stacks on every child section's own padding (72px) → double-padding
   bloat at every transition. Force root padding to zero. */
section.cms-section[style*="content_width:100%"],
section.cms-section[data-block-id="root"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
section.cms-section[data-block-id="root"] > .cms-section__inner {
    padding: 0 !important;
    max-width: none !important;
}
.cms-hero__inner {
    max-width: 1200px; margin: 0 auto;
    padding: 56px 24px 64px;        /* tighter top → snug against header */
    width: 100%;
    position: relative; z-index: 1;
}
.cms-hero__inner--split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;   /* text gets ~54%, photo ~46% — keeps heading on 4 lines */
    gap: 48px;
    align-items: center;
    padding: 48px 24px 56px;
}
/* Slightly tighter letter-spacing prevents the heading from wrapping early
   on narrower screens while keeping the original Pronton look. */
.cms-hero__inner--split .cms-hero__heading { letter-spacing: -1.8px; }
.cms-hero__text {
    max-width: 100%;                 /* let grid column control width */
    align-self: center;
}

.cms-hero__eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--pronton-blue-light);
    color: var(--pronton-blue-dark);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px; font-weight: 700; letter-spacing: .2px;
    margin-bottom: 22px;
    text-transform: none;
}
.cms-hero__eyebrow::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pronton-blue);
}

/* Specificity-bumped to beat the generic h1.cms-heading rule (0,1,1) above.
   .cms-hero .cms-hero__heading = (0,2,0) and wins. */
.cms-hero .cms-hero__heading,
h1.cms-hero__heading {
    font-size: clamp(32px, 4.4vw, 56px) !important;   /* hero heading is smaller than generic h1 */
    line-height: 1.07;
    letter-spacing: -1.6px;
    margin: 0 0 22px;
    font-weight: 800;
    color: var(--slate-900);
}
.cms-hero__subhead {
    font-size: 20px;
    color: var(--slate-600);
    margin: 0 0 32px;
    max-width: 620px;
    line-height: 1.55;
}
.cms-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.cms-hero--center .cms-hero__inner { text-align: center; }
.cms-hero--center .cms-hero__subhead { margin-left: auto; margin-right: auto; }
.cms-hero--center .cms-hero__ctas { justify-content: center; }

/* Hero photo + floating badges (split variant).
   Use aspect-ratio (not stretch+min-height) so the photo can never exceed
   its grid column width — prevents right-edge overflow on narrower viewports. */
.cms-hero__photo {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 100%;
    border-radius: var(--pronton-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    box-shadow: var(--pronton-shadow-lg);
    align-self: center;
    justify-self: stretch;
}
.cms-hero__photo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    opacity: .92;
}
.cms-hero__photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(11, 25, 41, .35) 0%, rgba(11, 25, 41, 0) 50%, rgba(0, 61, 165, .35) 100%);
    pointer-events: none;
}
.cms-hero__badge {
    position: absolute;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 14px 20px;
    box-shadow: var(--pronton-shadow);
    font-weight: 700; font-size: 15px;
    display: flex; flex-direction: column; gap: 2px;
    min-width: 180px; max-width: 240px;
    z-index: 2;
    color: var(--slate-900);
    animation: pronton-float 4s ease-in-out infinite;
}
.cms-hero__badge strong { font-weight: 800; color: var(--pronton-blue-dark); font-size: 15px; }
.cms-hero__badge small { font-weight: 500; color: var(--slate-600); font-size: 13px; }

.cms-hero__badge--top-left     { top: 24px;    left: 24px; }
.cms-hero__badge--top-right    { top: 24px;    right: 24px; animation-delay: -2s; }
.cms-hero__badge--bottom-left  { bottom: 24px; left: 24px; animation-delay: -1s; }
.cms-hero__badge--bottom-right { bottom: 24px; right: 24px; animation-delay: -3s; }

@keyframes pronton-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* =========================================================================
   SECTION HEADS
   Pattern (in render): a centered .cms-text with an inline-styled <span>
   eyebrow followed by an h2.cms-heading and a lead paragraph.
========================================================================= */
.cms-text span[style*="text-transform:uppercase"],
.cms-text span[style*="text-transform: uppercase"] {
    display: inline-block;
    background: var(--pronton-blue-light);
    color: var(--pronton-blue-dark) !important;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px !important;
    letter-spacing: .8px !important;
    margin-bottom: 18px;
}

/* In dark sections the eyebrow pill flips to a dark-blue tint. */
.cms-section[style*="background-color:#0f172a"] .cms-text span[style*="text-transform:uppercase"],
.cms-section[style*="background-color: #0f172a"] .cms-text span[style*="text-transform:uppercase"] {
    background: rgba(0, 102, 204, .2);
    color: #93c5fd !important;
}
.cms-section[style*="background-color:#003DA5"] .cms-text span[style*="text-transform:uppercase"],
.cms-section[style*="background-color: #003DA5"] .cms-text span[style*="text-transform:uppercase"] {
    background: rgba(255, 255, 255, .15);
    color: #fff !important;
}

/* Dark-section default text color so paragraphs read on dark bg. */
.cms-section[style*="background-color:#0f172a"] .cms-heading,
.cms-section[style*="background-color: #0f172a"] .cms-heading { color: #fff; }
.cms-section[style*="background-color:#0f172a"] .cms-text,
.cms-section[style*="background-color: #0f172a"] .cms-text { color: var(--slate-300); }
.cms-section[style*="background-color:#003DA5"] .cms-heading,
.cms-section[style*="background-color: #003DA5"] .cms-heading { color: #fff; }
.cms-section[style*="background-color:#003DA5"] .cms-text,
.cms-section[style*="background-color: #003DA5"] .cms-text { color: rgba(255, 255, 255, .92); }

/* =========================================================================
   STATS row (4-up)
   Wrapper: .stats-card with .num (data-target count-up) + .label
========================================================================= */
.stats-card {
    text-align: center;
    padding: 28px 16px;
    border-top: 3px solid var(--pronton-blue-light);
    background: #fff;
    border-radius: var(--pronton-radius);
}
.stats-card .num {
    display: block;
    font-size: clamp(40px, 4vw, 64px);
    font-weight: 800;
    color: var(--pronton-blue);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 10px;
}
.stats-card .label {
    display: block;
    font-size: 14px;
    color: var(--slate-600);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
}

/* =========================================================================
   SERVICES grid — photo-led cards.
   Pattern (in render): a .cms-row > .cms-column wraps a .cms-column that contains
   .cms-image (photo) + h3.cms-heading + .cms-text. We promote those to a card
   look on rows that live inside the "What We Do" section.
========================================================================= */
.cms-row { width: 100%; }
.cms-row > .cms-column { display: flex; }
.cms-row > .cms-column > * { width: 100%; }

/* Service card: any cms-row__cell whose column contains a top-level image. */
.cms-row > .cms-column:has(> .cms-image:first-child) {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--pronton-radius);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    padding: 0;
    gap: 0 !important;
    height: 100%;
}
.cms-row > .cms-column:has(> .cms-image:first-child):hover {
    transform: translateY(-6px);
    box-shadow: var(--pronton-shadow);
    border-color: transparent;
}

.cms-row > .cms-column > .cms-image:first-child {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--slate-200);
    line-height: 0;
}
.cms-row > .cms-column > .cms-image:first-child .cms-image__img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.cms-row > .cms-column:has(> .cms-image:first-child):hover .cms-image__img {
    transform: scale(1.06);
}

.cms-row > .cms-column > .cms-image:first-child + h3.cms-heading {
    margin: 0;
    padding: 22px 24px 6px;
    font-size: 22px;
    line-height: 1.25;
    /* Reserve 2 lines of space so a single-line title ("Engine Overhaul")
       still occupies the same vertical height as a wrapped title
       ("RM168 Out-of-Warranty Service") — keeps descriptions aligned
       across the row at the same vertical baseline. 22*1.25*2 + 22 + 6 = 83 */
    min-height: 83px;
    box-sizing: border-box;
}
.cms-row > .cms-column > .cms-image:first-child + h3.cms-heading + .cms-text {
    padding: 0 24px 26px;
    color: var(--slate-600);
    font-size: 16px;
    line-height: 1.55;
}

/* =========================================================================
   ACCIDENT CARD — side-by-side photo + body (5/7 row).
   We rely on the row already having flex columns; we add card chrome to the
   wrapping cells and tune the image fit.
========================================================================= */
.cms-section .cms-row[style*="align-items:center"] > .cms-column:first-child > .cms-image:only-child,
.cms-section .cms-row[style*="align-items:center"] > .cms-column:first-child .cms-image:only-child {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--pronton-radius);
    box-shadow: var(--pronton-shadow-sm);
}
.cms-section .cms-row[style*="align-items:center"] > .cms-column:first-child > .cms-image:only-child .cms-image__img,
.cms-section .cms-row[style*="align-items:center"] > .cms-column:first-child .cms-image:only-child .cms-image__img {
    width: 100%; height: 100%;
    object-fit: cover; border-radius: 0;
}

/* =========================================================================
   PROMO cards (dark section)
   Pattern: .cms-row > .cms-column with .cms-text containing .promo-price + <p>,
   and an h3.cms-heading sibling. We wrap the whole column in a card look.
========================================================================= */
.cms-section[style*="background-color:#0f172a"] .cms-row > .cms-column,
.cms-section[style*="background-color: #0f172a"] .cms-row > .cms-column {
    background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: var(--pronton-radius);
    padding: 32px 30px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    height: 100%;
    box-sizing: border-box;
}
.cms-section[style*="background-color:#0f172a"] .cms-row > .cms-column:hover,
.cms-section[style*="background-color: #0f172a"] .cms-row > .cms-column:hover {
    transform: translateY(-6px);
    border-color: var(--pronton-blue);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
}
.cms-section[style*="background-color:#0f172a"] .cms-row > .cms-column h3.cms-heading,
.cms-section[style*="background-color: #0f172a"] .cms-row > .cms-column h3.cms-heading {
    color: #fff;
    font-size: 22px;
    margin: 6px 0 0;
}
.cms-section[style*="background-color:#0f172a"] .cms-row > .cms-column .cms-text p,
.cms-section[style*="background-color: #0f172a"] .cms-row > .cms-column .cms-text p {
    color: #94a3b8;
    font-size: 15.5px;
    line-height: 1.6;
}

/* The price/value pill (.promo-price). */
.promo-price {
    display: inline-block;
    background: var(--pronton-blue);
    color: #fff;
    padding: 7px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .4px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

/* =========================================================================
   BENEFITS 10-tile grid — wrapper is .card-pad inside .cms-text
========================================================================= */
.card-pad {
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--pronton-radius);
    height: 100%;
    box-sizing: border-box;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card-pad:hover {
    transform: translateY(-3px);
    border-color: var(--pronton-blue);
    box-shadow: var(--pronton-shadow-sm);
}
.card-pad h4 {
    margin: 0 0 6px;
    color: var(--pronton-blue);
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1.3;
}
.card-pad p {
    margin: 0;
    color: var(--slate-600);
    font-size: 15px !important;
    line-height: 1.55;
}

/* =========================================================================
   HOW IT WORKS — 3 circle step numbers with dashed connector
========================================================================= */
.step-num {
    display: inline-grid;
    place-items: center;
    width: 80px; height: 80px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--pronton-blue);
    color: var(--pronton-blue);
    font-size: 30px;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0, 61, 165, .25);
    position: relative;
    z-index: 1;
}
/* Render the dashed connector behind the 3 step circles in the how-it-works row.
   The how-it-works section is the first section whose direct row contains 3 cells
   with .step-num inside. Target ".cms-row" that has step-num descendants. */
.cms-row:has(.step-num) {
    position: relative;
}
.cms-row:has(.step-num)::before {
    content: "";
    position: absolute;
    top: 60px;
    left: 17%; right: 17%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--pronton-blue) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.cms-row:has(.step-num) .cms-row > .cms-column {
    z-index: 1;
}

/* =========================================================================
   TESTIMONIALS — pronton.js translates .tcarousel-track by N * -100%
========================================================================= */
.tcarousel {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
}
.tcarousel-track {
    display: flex;
    transition: transform .55s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}
.tcarousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 8px;
}
.tcard {
    background: #fff;
    border-radius: var(--pronton-radius-lg);
    padding: 52px 48px;
    box-shadow: var(--pronton-shadow);
    text-align: center;
    margin: 0 auto;
    max-width: 720px;
}
.tcard .stars {
    display: inline-flex; gap: 3px;
    color: var(--amber);
    font-size: 22px;
    margin-bottom: 22px;
}
.tcard blockquote {
    font-size: 21px; line-height: 1.55;
    color: var(--slate-900);
    margin: 0 0 24px;
    font-style: italic;
    quotes: "\201C" "\201D";
}
.tcard blockquote::before { content: open-quote;  color: var(--pronton-blue); font-size: 32px; line-height: 0; vertical-align: -16px; margin-right: 4px; }
.tcard blockquote::after  { content: close-quote; color: var(--pronton-blue); font-size: 32px; line-height: 0; vertical-align: -16px; margin-left: 4px; }
.tcard .who { font-weight: 700; font-size: 17px; color: var(--slate-900); }
.tcard .who small {
    display: block;
    color: var(--slate-600);
    font-weight: 500;
    margin-top: 4px;
    font-size: 14px;
}

.tcarousel-dots {
    display: flex; gap: 8px;
    justify-content: center;
    margin-top: 24px;
}
.tcarousel-dots button {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #94a3b8;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width .2s ease, background .2s ease, border-radius .2s ease;
}
.tcarousel-dots button.on {
    background: var(--pronton-blue);
    width: 28px;
    border-radius: 5px;
}

/* =========================================================================
   LOCATION — info-block cards + map
========================================================================= */
.info-block {
    padding: 28px 30px;
    border-radius: var(--pronton-radius);
    background: #fff;
    border: 1px solid var(--slate-200);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.info-block + .info-block { margin-top: 16px; }
.info-block:hover { border-color: var(--pronton-blue); box-shadow: var(--pronton-shadow-sm); }
.info-block h4 {
    margin: 0 0 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .9px;
    color: var(--slate-500);
    font-weight: 700;
}
.info-block p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--slate-900);
}
.info-block a { color: var(--pronton-blue); font-weight: 600; text-decoration: none; }
.info-block a:hover { text-decoration: underline; }

.map-wrap {
    border-radius: var(--pronton-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    height: 100%;
    min-height: 400px;
    background: var(--slate-100);
}
.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
    display: block;
}

/* =========================================================================
   FINAL CTA — already on a blue bg via inline style; centre the two CTAs
========================================================================= */
.cms-section[style*="background-color:#003DA5"],
.cms-section[style*="background-color: #003DA5"] {
    background:
        radial-gradient(800px 400px at 70% 0%, rgba(0, 102, 204, .45), transparent 55%),
        linear-gradient(135deg, #003DA5 0%, #002970 100%) !important;
}
.cms-section[style*="background-color:#003DA5"] .cms-heading,
.cms-section[style*="background-color: #003DA5"] .cms-heading {
    color: #fff;
    text-align: center;
    font-size: clamp(30px, 3.8vw, 52px);
    margin-bottom: 18px;
}
.cms-section[style*="background-color:#003DA5"] .cms-row,
.cms-section[style*="background-color: #003DA5"] .cms-row {
    justify-content: center;
    align-items: center;
}
.cms-section[style*="background-color:#003DA5"] .cms-row .cms-row > .cms-column,
.cms-section[style*="background-color: #003DA5"] .cms-row .cms-row > .cms-column {
    flex: 0 0 auto;
    min-width: 0;
}
.cms-section[style*="background-color:#003DA5"] .cms-row .cms-column,
.cms-section[style*="background-color: #003DA5"] .cms-row .cms-column {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================================
   REVEAL-ON-SCROLL — pronton.js toggles `.is-revealed`
   Punchier than the prior 20px/700ms: more travel, scale-in micro-bounce,
   and a custom-easing curve that arrives confidently.
========================================================================= */
[data-fw-reveal] {
    opacity: 0;
    transform: translateY(36px) scale(.985);
    transition:
        opacity .75s cubic-bezier(.2, .8, .2, 1),
        transform .85s cubic-bezier(.2, .8, .2, 1);
    will-change: opacity, transform;
}
[data-fw-reveal].is-revealed,
[data-fw-reveal].in {
    opacity: 1;
    transform: none;
}

/* Hero should never start invisible — it's already above the fold. */
.cms-hero[data-fw-reveal] {
    opacity: 1;
    transform: none;
}

/* Stagger reveal for cards in a row — each child fires .08s after the previous,
   so a row of 4 service cards / 2 benefit tiles arrives sequentially rather
   than all at once. The cascade keeps the eye moving. */
.cms-row > .cms-column:nth-child(1) [data-fw-reveal] { transition-delay: 0ms; }
.cms-row > .cms-column:nth-child(2) [data-fw-reveal] { transition-delay: 80ms; }
.cms-row > .cms-column:nth-child(3) [data-fw-reveal] { transition-delay: 160ms; }
.cms-row > .cms-column:nth-child(4) [data-fw-reveal] { transition-delay: 240ms; }
.cms-row > .cms-column:nth-child(5) [data-fw-reveal] { transition-delay: 320ms; }
.cms-row > .cms-column:nth-child(6) [data-fw-reveal] { transition-delay: 400ms; }

/* Inside a single column, sequential text/heading/image reveals also stagger. */
.cms-column > [data-fw-reveal]:nth-child(1) { transition-delay: 0ms; }
.cms-column > [data-fw-reveal]:nth-child(2) { transition-delay: 60ms; }
.cms-column > [data-fw-reveal]:nth-child(3) { transition-delay: 120ms; }
.cms-column > [data-fw-reveal]:nth-child(4) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
    [data-fw-reveal] { opacity: 1; transform: none; }
    .cms-hero__badge { animation: none; }
}

/* =========================================================================
   RESPONSIVE
========================================================================= */
@media (max-width: 1024px) {
    body.theme-pronton { font-size: 16px; }

    .cms-hero { min-height: auto; }
    .cms-hero__inner--split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cms-hero__photo { order: -1; aspect-ratio: 16 / 10; max-width: 720px; margin: 0 auto; width: 100%; }
    .cms-hero__heading { font-size: clamp(36px, 6vw, 56px); }
    .cms-hero__subhead { font-size: 19px; max-width: 100%; }
    .cms-hero__inner { padding: 64px 24px; }

    h2.cms-heading { font-size: clamp(28px, 4.4vw, 40px); }

    /* Promo: 2 across at tablet. */
    .cms-section[style*="background-color:#0f172a"] .cms-row > .cms-column,
    .cms-section[style*="background-color: #0f172a"] .cms-row > .cms-column {
        flex-basis: calc(50% - 24px) !important;
    }

    .map-wrap, .map-wrap iframe { min-height: 320px; }
    .tcarousel { max-width: 740px; }
    .tcard { padding: 40px 36px; }
    .tcard blockquote { font-size: 19px; }
}

@media (max-width: 768px) {
    body.theme-pronton { padding-bottom: 80px; }
    body.theme-pronton .sticky-cta { display: flex; }
    body.theme-pronton .topbar .topbar-contact { display: none; }

    .cms-section { padding: 56px 20px !important; }
    .cms-section[data-fw-reveal] { padding: 56px 20px !important; }

    /* Force all cms-row cells to single column on phones. */
    .cms-row > .cms-column { flex-basis: 100% !important; }
    .cms-row { gap: 16px !important; }

    .cms-hero { min-height: auto; }
    .cms-hero__inner, .cms-hero__inner--split { padding: 48px 20px !important; gap: 32px; }
    .cms-hero__heading { font-size: clamp(30px, 7vw, 40px); letter-spacing: -1px; line-height: 1.1; }
    .cms-hero__subhead { font-size: 17px; }
    .cms-hero__ctas { flex-direction: column; gap: 12px; }
    .cms-hero__ctas .btn { width: 100%; }
    .cms-hero__photo { aspect-ratio: 4 / 3; }
    .cms-hero__badge { font-size: 13px; padding: 12px 16px; min-width: 140px; max-width: 200px; }
    .cms-hero__badge strong { font-size: 13px; }
    .cms-hero__badge small  { font-size: 12px; }

    h1.cms-heading { font-size: clamp(30px, 7vw, 44px); }
    h2.cms-heading { font-size: clamp(26px, 5.5vw, 32px); }
    h3.cms-heading { font-size: 20px; }

    .stats-card { padding: 22px 12px; }
    .stats-card .num { font-size: 36px; letter-spacing: -1px; }
    .stats-card .label { font-size: 13px; }

    .info-block { padding: 22px; }
    .map-wrap, .map-wrap iframe { min-height: 280px; }

    .cms-row:has(.step-num)::before { display: none; }
    .step-num { width: 64px; height: 64px; font-size: 24px; margin-bottom: 16px; }

    .tcarousel { max-width: 100%; }
    .tcard { padding: 32px 24px; }
    .tcard blockquote { font-size: 17px; line-height: 1.55; }
    .tcard .stars { font-size: 18px; margin-bottom: 16px; }

    /* Final CTA: stack the two buttons vertically. */
    .cms-section[style*="background-color:#003DA5"] .cms-row,
    .cms-section[style*="background-color: #003DA5"] .cms-row {
        flex-direction: column;
        gap: 12px !important;
    }
    .cms-section[style*="background-color:#003DA5"] .cms-row .btn,
    .cms-section[style*="background-color: #003DA5"] .cms-row .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cms-section { padding: 44px 16px !important; }
    .cms-section[data-fw-reveal] { padding: 44px 16px !important; }

    .cms-hero__inner, .cms-hero__inner--split { padding: 36px 16px !important; }
    .cms-hero__heading { font-size: 30px; }
    .cms-hero__subhead { font-size: 16px; }
    .btn--lg { padding: 16px 22px; font-size: 16px; }

    .cms-hero__badge { font-size: 12px; padding: 10px 12px; min-width: 0; max-width: 160px; }
    .cms-hero__badge--top-left,
    .cms-hero__badge--top-right    { top: 14px; }
    .cms-hero__badge--bottom-left,
    .cms-hero__badge--bottom-right { bottom: 14px; }
    .cms-hero__badge--top-left,
    .cms-hero__badge--bottom-left  { left: 14px; }
    .cms-hero__badge--top-right,
    .cms-hero__badge--bottom-right { right: 14px; }

    .card-pad { padding: 20px; }
    .card-pad h4 { font-size: 16px !important; }
    .card-pad p { font-size: 14px !important; }

    .info-block { padding: 20px; }
    .info-block p { font-size: 16px; }

    .tcard { padding: 28px 20px; }
    .tcard blockquote { font-size: 16px; }
    .tcard blockquote::before,
    .tcard blockquote::after { font-size: 26px; }
}

/* ============================================================
   Q1 — Sticky site header (logo + Call/WhatsApp buttons)
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}
.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.site-logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #003DA5;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
}
.site-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.site-logo__text strong {
    font-weight: 800;
    font-size: 17px;
    color: #0f172a;
}
.site-logo__text small {
    color: #64748b;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 2px;
}
.site-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn__svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
.btn--sm {
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   Q3 — Brand button variants (wa green pill / call outline blue)
   ============================================================ */
.btn--wa {
    background: #25d366;
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn--wa:hover {
    background: #128c7e;
    color: #fff;
}
.btn--call {
    background: transparent;
    color: #003DA5;
    border: 1.5px solid #003DA5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn--call:hover {
    background: #003DA5;
    color: #fff;
}

/* ============================================================
   Q2 — Hero trust strip
   ============================================================ */
.cms-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 22px;
    align-items: center;
}
.cms-hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
}
.cms-hero__trust-icon {
    width: 16px;
    height: 16px;
    color: #16a34a;
    flex: 0 0 auto;
}

/* ============================================================
   Q4 — Benefit tiles with SVG icons
   ============================================================ */
.benefit {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}
.benefit:hover {
    transform: translateY(-3px);
    border-color: #003DA5;
    box-shadow: 0 8px 22px rgba(0, 61, 165, 0.08);
}
.benefit .b-ico {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #dbeafe;
    color: #003DA5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}
.benefit .b-ico svg {
    width: 26px;
    height: 26px;
}
.benefit .benefit-body { flex: 1 1 auto; min-width: 0; }
.benefit h4 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.benefit p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

/* ============================================================
   Q5 — Promo cards (dark section, blue price pill)
   ============================================================ */
.promo-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 28px;
    transition: transform 0.2s ease, border-color 0.2s ease;
    height: 100%;
    color: #cbd5e1;
}
.promo-card:hover {
    transform: translateY(-6px);
    border-color: #003DA5;
}
.promo-price {
    display: inline-block;
    background: #003DA5;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.4px;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.promo-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #fff;
    line-height: 1.25;
}
.promo-card p {
    margin: 0;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
}
.promo-card .promo-valid {
    margin-top: 14px;
    font-size: 13px;
    color: #64748b;
}

/* ============================================================
   Q6 — Step circles + dashed connector
   ============================================================ */
.step {
    text-align: center;
    position: relative;
    padding: 8px 4px;
}
.step-num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #003DA5;
    background: #fff;
    color: #003DA5;
    font-size: 28px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    position: relative;
    z-index: 1;
}
.step h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #0f172a;
}
.step p {
    margin: 0 auto;
    color: #475569;
    font-size: 15px;
    line-height: 1.55;
    max-width: 320px;
}
/* Dashed connector line across the 3-step row */
.cms-row.how-row,
.cms-row[data-class~="how-row"] {
    position: relative;
}
.cms-row.how-row::before,
.cms-row[data-class~="how-row"]::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 16%;
    right: 16%;
    height: 0;
    border-top: 2px dashed #cbd5e1;
    z-index: 0;
    pointer-events: none;
}
@media (max-width: 768px) {
    .cms-row.how-row::before,
    .cms-row[data-class~="how-row"]::before { display: none; }
}

/* ============================================================
   Q7 — Heading scale (section padding is owned per-block by the
   migration's $sec helper + style-resolver, so removed from here
   to let per-section overrides like the tighter final-CTA actually
   take effect).
   ============================================================ */
.cms-section h2,
.cms-section .cms-heading--h2 {
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.15;
}

