/* ============================================================
   JBM PLUMBING — LANDING PAGE STYLES
   Mobile-first · Conversion-optimised · Constantia, Cape Town
   ============================================================ */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* JBM Brand: Light Blue */
    --brand:        #1a7dd4;
    --brand-dark:   #125ea0;
    --brand-light:  #3a9ee8;
    --brand-pale:   #e8f4fd;
    /* Kept as aliases so all existing refs work */
    --red:          #1a7dd4;
    --red-dark:     #125ea0;
    --red-light:    #3a9ee8;
    --blue:         #1a7dd4;
    --blue-dark:    #0e4a80;
    --blue-light:   #3a9ee8;
    --navy:         #0b2d52;
    --gold:         #f5c518;
    --gold-dark:    #d4a800;
    --green:        #2d7a3a;
    --white:        #ffffff;
    --off-white:    #f0f7fd;
    --light-gray:   #d8eaf8;
    --mid-gray:     #7a90a8;
    --dark-text:    #0a1e35;
    --body-text:    #1e3a55;
    --radius:       12px;
    --radius-sm:    8px;
    --shadow:       0 4px 20px rgba(10,30,53,0.12);
    --shadow-lg:    0 8px 40px rgba(10,30,53,0.18);
    --transition:   0.18s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--body-text);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ============================================================
   STICKY HEADER
============================================================ */
.jbm-header {
    position: relative;
    background: var(--white);
    border-bottom: 3px solid var(--brand);
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-icon {
    width: 48px; height: 48px;
    border-radius: 9px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--white);
}

.header-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 9px;
}

.header-brand-text { display: flex; flex-direction: column; }
.header-name { font-size: 1.05rem; font-weight: 800; color: var(--dark-text); line-height: 1.1; }
.header-tagline { font-size: 0.68rem; font-weight: 600; color: var(--mid-gray); letter-spacing: 0.3px; }

.header-call-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
    color: var(--white);
    padding: 10px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 3px 12px rgba(26,125,212,0.4);
    white-space: nowrap;
}

.header-call-btn:hover { filter: brightness(1.08); }
.header-call-label { font-size: 0.7rem; font-weight: 700; opacity: 0.85; display: none; }
.header-call-number { font-size: 0.9rem; font-weight: 900; }

/* ============================================================
   HERO SECTION
============================================================ */
.jbm-hero {
    position: relative;
    background: url('../images/jbm-hero-van.jpg') center center / cover no-repeat,
                linear-gradient(165deg, #1060b0, #071f44);
    color: var(--white);
    padding: 36px 20px 40px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 20, 50, 0.62);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero-availability-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,197,24,0.18);
    border: 1px solid rgba(245,197,24,0.45);
    color: #ffe57a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74,222,128,0.3);
    animation: blink 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-headline {
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 12px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

.hero-headline-accent {
    color: var(--gold);
    display: block;
    margin-top: 4px;
}

.hero-sub {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 16px;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.tb-div { opacity: 0.4; }

/* Hero badges */
.hero-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.hero-badge {
    background: var(--white);
    border-radius: 14px;
    padding: 14px 12px 12px;
    text-align: center;
    flex: 1;
    max-width: 165px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--dark-text);
    text-decoration: none;
    transition: transform var(--transition);
}

.hero-badge:hover { transform: translateY(-2px); }

.google-logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.badge-score {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--dark-text);
    line-height: 1;
    margin-bottom: 3px;
}

.badge-stars { color: #f5a623; font-size: 0.75rem; margin-bottom: 3px; }
.badge-reviews { font-size: 0.62rem; color: #666; font-weight: 600; }

.exp-badge {
    background: linear-gradient(160deg, #1a3a6e, #0a2247);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.1);
}

.exp-badge-icon { font-size: 1.3rem; color: var(--gold); margin-bottom: 4px; }
.exp-badge-years { font-size: 1.25rem; font-weight: 900; color: var(--gold); line-height: 1; }
.exp-badge-label { font-size: 0.6rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; opacity: 0.75; margin-top: 3px; }
.exp-badge-sub { font-size: 0.62rem; color: rgba(255,255,255,0.6); margin-top: 4px; font-weight: 600; }

/* Social proof */
.hero-social-proof {
    font-size: 0.77rem;
    font-weight: 600;
    color: rgba(255,255,255,0.78);
    margin-bottom: 20px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-emergency-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
    color: var(--white);
    font-size: 1rem;
    font-weight: 900;
    border-radius: var(--radius);
    box-shadow: 0 6px 24px rgba(26,125,212,0.55);
    animation: pulse-blue 2.2s ease-in-out infinite;
    letter-spacing: 0.2px;
    text-align: center;
    transition: filter var(--transition);
}

.btn-emergency-call:hover { filter: brightness(1.1); animation: none; }

@keyframes pulse-blue {
    0%,100%{ box-shadow: 0 6px 24px rgba(26,125,212,0.55); }
    50%{ box-shadow: 0 8px 36px rgba(26,125,212,0.85); }
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 17px 24px;
    background: linear-gradient(135deg, #25d366, #128c4a);
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(37,211,102,0.4);
    transition: filter var(--transition);
}

.btn-whatsapp:hover { filter: brightness(1.08); }

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Section CTAs */
.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 32px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    border-radius: var(--radius);
    box-shadow: 0 4px 18px rgba(26,125,212,0.45);
    transition: filter var(--transition), transform var(--transition);
    animation: pulse-blue 2.5s ease-in-out infinite;
}

.btn-primary-cta:hover { filter: brightness(1.1); animation: none; transform: translateY(-1px); }

.section-cta-wrap {
    text-align: center;
    margin-top: 32px;
}

.cta-sub-note {
    font-size: 0.78rem;
    color: var(--mid-gray);
    margin-top: 10px;
    font-weight: 500;
}

/* ============================================================
   TRUST STRIP
============================================================ */
.trust-strip {
    background: var(--navy);
    color: var(--white);
    padding: 14px 20px;
    overflow: hidden;
}

.trust-strip-inner {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.ts-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.ts-item i { color: var(--gold); font-size: 0.85rem; }

/* ============================================================
   SHARED SECTION STYLES
============================================================ */
.jbm-section {
    padding: 48px 20px;
}

.jbm-section:nth-child(odd) { background: var(--white); }
.jbm-section:nth-child(even) { background: var(--off-white); }

/* Override specific sections */
.emergency-section { background: var(--off-white); }
.services-section { background: var(--white); }
.why-section { background: var(--navy); color: var(--white); }
.gallery-section { background: var(--off-white); }
.testimonials-section { background: var(--white); }
.faq-section { background: var(--off-white); }

/* Explicit section backgrounds — override nth-child alternation completely */
.jbm-section.why-section       { background: var(--navy) !important; }
.jbm-section.gallery-section    { background: var(--off-white) !important; }
.jbm-section.testimonials-section { background: var(--white) !important; }
.jbm-section.faq-section        { background: var(--off-white) !important; }
.jbm-section.whatsapp-section   { background: var(--off-white) !important; }

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 10px;
}

.why-section .section-label { color: var(--gold); }

.section-heading {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--dark-text);
    letter-spacing: -0.3px;
}

.why-section .section-heading { color: var(--white); }

.section-sub {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--body-text);
    margin-bottom: 32px;
    max-width: 680px;
}

.why-section .section-sub { color: rgba(255,255,255,0.75); }

/* ============================================================
   EMERGENCY CARDS
============================================================ */
.emergency-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.em-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 16px;
    border-top: 3px solid var(--brand);
    box-shadow: var(--shadow);
}

.em-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #e8f4fd, #bfe0f8);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--brand);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.em-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 6px;
}

.em-card p {
    font-size: 0.82rem;
    color: var(--body-text);
    line-height: 1.5;
}

/* ============================================================
   SERVICES GRID
============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.service-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 20px 16px;
    border-left: 4px solid var(--light-gray);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.service-card--featured {
    background: linear-gradient(135deg, var(--brand-pale), #c8e8fa);
    border-left: 4px solid var(--brand);
    grid-column: 1 / -1;
}

.service-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 10px;
}

.service-card--featured .service-icon {
    background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
}

.service-badge-label {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--brand);
    color: var(--white);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 50px;
}

.service-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.82rem;
    color: var(--body-text);
    line-height: 1.5;
    margin-bottom: 10px;
}

.service-call-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    transition: color var(--transition);
}

.service-call-link:hover { color: var(--brand-dark); }

/* ============================================================
   WHY SECTION GRID
============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.why-item {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 20px 16px;
}

.why-icon {
    width: 44px; height: 44px;
    background: rgba(245,197,24,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.why-item h3 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}

.why-item p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

.why-section .section-cta-wrap .cta-sub-note { color: rgba(255,255,255,0.55); }

/* Ensure the why-section CTA wrapper stays on navy background with no gaps */
.why-cta-wrap {
    background: transparent;
    padding-top: 8px;
}

/* ============================================================
   GALLERY
============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}

.gallery-img-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #e2e8f4, #c8d3e8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--mid-gray);
    font-size: 0.8rem;
    font-weight: 600;
}

.gallery-img-placeholder i { font-size: 1.6rem; opacity: 0.5; }

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue);
    padding: 8px 10px;
    text-align: center;
    background: var(--white);
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.overall-rating-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 24px;
    border: 2px solid var(--light-gray);
}

.orb-score {
    font-size: 3rem;
    font-weight: 900;
    color: var(--dark-text);
    line-height: 1;
    flex-shrink: 0;
}

.orb-right { display: flex; flex-direction: column; gap: 4px; }
.orb-stars { color: #f5a623; font-size: 1rem; }
.orb-label { font-size: 0.8rem; font-weight: 600; color: var(--mid-gray); }
.orb-link { font-size: 0.8rem; font-weight: 700; color: var(--blue); }
.orb-link:hover { text-decoration: underline; }

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tcard {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 20px;
    border-left: 4px solid var(--brand);
    box-shadow: 0 2px 10px rgba(26,125,212,0.08);
}

.tcard-stars { color: #f5a623; font-size: 0.82rem; margin-bottom: 8px; }
.tcard-text { font-size: 0.88rem; color: var(--body-text); line-height: 1.6; font-style: italic; margin-bottom: 10px; }
.tcard-author { font-size: 0.82rem; font-weight: 700; color: var(--brand); }

/* ============================================================
   FAQ
============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 2px; }

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--light-gray);
    overflow: hidden;
    margin-bottom: 6px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark-text);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background var(--transition);
}

.faq-question:hover { background: var(--off-white); }
.faq-question[aria-expanded="true"] { color: var(--brand); background: var(--brand-pale); }

.faq-icon {
    font-size: 0.8rem;
    color: var(--mid-gray);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--brand); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open { max-height: 400px; }

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 0.88rem;
    color: var(--body-text);
    line-height: 1.65;
}

/* ============================================================
   WHATSAPP CONTACT SECTION
============================================================ */
.whatsapp-section { background: var(--off-white); }

.wa-contact-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 540px;
    margin: 0 auto 32px;
}

.btn-whatsapp-big {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 22px 28px;
    background: linear-gradient(135deg, #25d366, #128c4a);
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    border-radius: var(--radius);
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    text-decoration: none;
    transition: filter var(--transition), transform var(--transition);
    text-align: left;
}

.btn-whatsapp-big:hover { filter: brightness(1.08); transform: translateY(-2px); }

.btn-whatsapp-big i {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.btn-whatsapp-big span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.btn-whatsapp-big strong { font-size: 1.1rem; font-weight: 900; }
.btn-whatsapp-big small { font-size: 0.8rem; font-weight: 500; opacity: 0.88; }

.wa-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    color: var(--mid-gray);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wa-divider::before, .wa-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--light-gray);
}

.wa-contact-block .btn-emergency-call { width: 100%; }

.wa-trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.wa-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--body-text);
    line-height: 1.35;
}

.wa-trust-item i { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   POPUP CALL BAR
============================================================ */
.popup-call-bar {
    position: fixed;
    bottom: -100px;
    left: 0; right: 0;
    z-index: 400;
    background: linear-gradient(135deg, var(--navy), var(--brand-dark));
    box-shadow: 0 -4px 24px rgba(10,30,53,0.35);
    transition: bottom 0.4s cubic-bezier(0.34,1.2,0.64,1);
    border-top: 3px solid var(--brand-light);
}

.popup-call-bar.visible {
    bottom: 0;
}

.popup-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.popup-bar-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popup-pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74,222,128,0.3);
    animation: blink 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

.popup-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand-dark));
    color: var(--white);
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(26,125,212,0.5);
    transition: filter var(--transition);
    border: 2px solid rgba(255,255,255,0.25);
}

.popup-call-btn:hover { filter: brightness(1.1); }

.popup-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    flex-shrink: 0;
    font-family: inherit;
    transition: color var(--transition);
}

.popup-close:hover { color: var(--white); }

/* ============================================================
   SCROLL PROGRESS BAR
============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-light), var(--brand-dark));
    z-index: 500;
    transition: width 0.1s linear;
}

/* ============================================================
   QUOTE FORM (kept for reference — not used)
============================================================ */
.inline-phone-link { color: var(--red); font-weight: 700; }

.form-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.jbm-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--dark-text);
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,95,168,0.1);
}

.form-group input.error,
.form-group select.error { border-color: var(--red); }

.form-group textarea { resize: vertical; min-height: 90px; }

.btn-form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 17px;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(26,95,168,0.4);
    transition: filter var(--transition);
    font-family: 'Inter', sans-serif;
    margin-bottom: 12px;
}

.btn-form-submit:hover { filter: brightness(1.08); }

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--mid-gray);
    text-align: center;
    line-height: 1.5;
}

.form-disclaimer a { color: var(--red); font-weight: 700; }

/* Form sidebar */
.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-sidebar-cta {
    background: linear-gradient(165deg, #0a1e3d, #0f3f7a);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    color: var(--white);
}

.fsb-label { font-size: 1.1rem; font-weight: 900; color: var(--gold); margin-bottom: 4px; }
.fsb-sub { font-size: 0.82rem; opacity: 0.75; margin-bottom: 16px; }
.fsb-btn { font-size: 0.95rem; margin-bottom: 10px; padding: 16px 20px; }
.fsb-wa { font-size: 0.9rem; }

.form-trust-list {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ftl-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--body-text);
}

.ftl-item i { color: var(--green); font-size: 0.95rem; flex-shrink: 0; }

/* Form success */
.form-success {
    text-align: center;
    padding: 48px 24px;
    background: #f0fff4;
    border-radius: var(--radius);
    border: 2px solid #34d058;
}

.form-success i { font-size: 2.5rem; color: var(--green); margin-bottom: 12px; }
.form-success h3 { font-size: 1.3rem; font-weight: 800; color: var(--dark-text); margin-bottom: 8px; }
.form-success p { font-size: 0.9rem; color: var(--body-text); }
.form-success a { color: var(--red); font-weight: 700; }

/* ============================================================
   FINAL CTA
============================================================ */
.jbm-final-cta {
    background: linear-gradient(165deg, #0f0a1e, #0a1e3d 40%, #0f3f7a 100%);
    color: var(--white);
    padding: 56px 20px;
    text-align: center;
}

.text-center { text-align: center; }

.fca-urgency {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.fca-heading {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--white);
}

.fca-sub {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.fca-call { max-width: 480px; margin: 0 auto 12px; font-size: 1.05rem; }
.fca-wa { max-width: 480px; margin: 0 auto 24px; font-size: 1rem; }

.fca-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.65;
    margin-top: 8px;
}

/* ============================================================
   FOOTER
============================================================ */
.jbm-footer {
    background: var(--dark-text);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 24px 20px;
    font-size: 0.8rem;
    line-height: 1.9;
}

.footer-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 4px;
    transition: color var(--transition);
}

.footer-phone-link:hover { color: var(--white); }

/* ============================================================
   STICKY MOBILE CALL BAR
============================================================ */
.sticky-call-bar {
    display: none;
}

.sticky-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 1;
    padding: 16px 12px;
    background: linear-gradient(135deg, var(--red-light), var(--red-dark));
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: 0.2px;
}

.sticky-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    flex-shrink: 0;
    background: #128c4a;
    color: var(--white);
    font-size: 1.4rem;
    text-decoration: none;
    border-left: 1px solid rgba(255,255,255,0.2);
}

/* ============================================================
   DESKTOP RESPONSIVE — 768px+
============================================================ */
@media (min-width: 768px) {

    body { padding-bottom: 0; }

    .header-inner { padding: 14px 40px; }
    .header-call-label { display: block; }
    .header-call-number { font-size: 1rem; }
    .header-call-btn { padding: 12px 22px; font-size: 0.95rem; }

    .jbm-hero { padding: 72px 40px 64px; }
    .hero-headline { font-size: 2.8rem; }
    .hero-sub { font-size: 1.1rem; }
    .hero-badges { gap: 20px; }
    .hero-badge { max-width: 200px; padding: 18px 16px; }
    .badge-score { font-size: 2.2rem; }
    .google-logo-text { font-size: 1.4rem; }
    .exp-badge-years { font-size: 1.5rem; }

    .hero-ctas { flex-direction: row; justify-content: center; }
    .btn-emergency-call, .btn-whatsapp { width: auto; min-width: 260px; }
    .btn-emergency-call { font-size: 1.1rem; padding: 22px 32px; }

    .trust-strip-inner { gap: 10px 40px; }
    .ts-item { font-size: 0.82rem; }

    .jbm-section { padding: 72px 40px; }
    .section-heading { font-size: 2rem; }
    .section-sub { font-size: 1rem; }

    .emergency-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }

    .services-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .service-card--featured { grid-column: auto; }

    .why-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .gallery-item img { height: 220px; }

    .btn-whatsapp-big { padding: 26px 32px; }
    .btn-whatsapp-big strong { font-size: 1.25rem; }
    .btn-whatsapp-big small { font-size: 0.9rem; }
    .wa-trust-row { grid-template-columns: repeat(3, 1fr); }

    .testimonials-grid { flex-direction: row; gap: 20px; }
    .tcard { flex: 1; }

    .form-layout { flex-direction: row; align-items: flex-start; gap: 40px; }
    .form-sidebar { min-width: 280px; }

    .fca-heading { font-size: 2.4rem; }
    .fca-call, .fca-wa { display: inline-flex; width: auto; min-width: 280px; margin: 0 8px; }
    .fca-call { margin-bottom: 12px; }

}

@media (min-width: 1100px) {
    .header-inner { padding: 14px 60px; }
    .jbm-hero { padding: 90px 60px 80px; }
    .jbm-section { padding: 88px 60px; }
    .section-heading { font-size: 2.3rem; }
    .hero-headline { font-size: 3.2rem; }
    .jbm-final-cta { padding: 80px 60px; }
    .fca-heading { font-size: 2.8rem; }
}

/* ============================================================
   SMALL SCREEN TWEAKS
============================================================ */
@media (max-width: 380px) {
    .hero-headline { font-size: 1.6rem; }
    .hero-badge { max-width: 140px; padding: 12px 8px; }
    .badge-score { font-size: 1.5rem; }
    .google-logo-text { font-size: 1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .emergency-cards { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
