/* =====================================================================
   Eagle Painting & Decoration — main stylesheet
   Plain CSS (no build step). Brand colours come from CSS variables set
   in the <head> from config/eagle.php (--navy, --red, --accent, etc.).
   Mobile-first; media queries scale up.
   ===================================================================== */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.15; color: var(--navy); font-weight: 700; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1000;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.section { padding: 64px 0; }
.section--alt { background: var(--off-white); }
.section--navy { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; }
.section__cta { text-align: center; margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 768px) { .section { padding: 88px 0; } }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--red); --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: var(--btn-bg); color: var(--btn-fg);
    font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .98rem;
    padding: 13px 24px; border-radius: 10px; line-height: 1;
    transition: transform .18s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease;
    box-shadow: 0 6px 16px rgba(200,32,45,.18); white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(200,32,45,.28); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--red); }
.btn--primary:hover { background: var(--red-dark); }
.btn--navy { --btn-bg: var(--navy); box-shadow: 0 6px 16px rgba(14,42,71,.2); }
.btn--navy:hover { background: var(--navy-dark); box-shadow: 0 12px 26px rgba(14,42,71,.3); }
.btn--wa { --btn-bg: #25D366; --btn-fg: #053b1e; box-shadow: 0 6px 16px rgba(37,211,102,.28); }
.btn--wa:hover { background: #1ebe5a; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); box-shadow: none; border: 2px solid rgba(14,42,71,.18); padding: 11px 22px; }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 10px 22px rgba(14,42,71,.2); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--navy); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn--white:hover { background: #f1f5fa; }
.btn--outline-white { --btn-bg: transparent; --btn-fg: #fff; border: 2px solid rgba(255,255,255,.55); box-shadow: none; padding: 11px 22px; }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
/* Gap between stacked full-width buttons (e.g. Quote + Call in CTA cards) */
.btn--block + .btn--block { margin-top: 12px; }
@media (max-width: 560px) { .btn--block-sm { width: 100%; } }

.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-buttons.hero__cta { margin-top: 8px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #cdd8e6; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 12px; }
.topbar__contact { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar__link { display: inline-flex; align-items: center; gap: 7px; color: #cdd8e6; transition: color .2s; }
.topbar__link .icon { width: 15px; height: 15px; color: var(--accent); }
.topbar__link:hover { color: #fff; }
.topbar__social { display: flex; gap: 8px; }
.topbar__social-link { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .2s, transform .2s; }
.topbar__social-link .icon { width: 15px; height: 15px; color: #fff; }
.topbar__social-link:hover { background: var(--red); transform: translateY(-2px); }
@media (max-width: 720px) { .topbar__link--hide-sm { display: none; } }

/* ---------- Header / nav ---------- */
.header {
    position: sticky; top: 0; z-index: 200; background: #fff;
    box-shadow: 0 1px 0 rgba(14,42,71,.08);
    transition: box-shadow .25s ease, padding .25s ease;
}
.header.is-stuck { box-shadow: 0 8px 26px rgba(14,42,71,.12); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 100px; }
.header__logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
/* flex:0 0 auto + max-width:none stop the flex row from squishing the logo */
.header__logo img { height: 82px; width: auto; max-width: none; flex: 0 0 auto; transition: height .25s ease; }
.header.is-stuck .header__logo img { height: 66px; }
@media (max-width: 480px) { .header__logo img { height: 58px; } .header__inner { min-height: 80px; } }
.header__cta { display: none; gap: 10px; align-items: center; flex: 0 0 auto; }

.nav__toggle { display: inline-flex; width: 46px; height: 46px; border-radius: 10px; align-items: center; justify-content: center; color: var(--navy); background: var(--off-white); position: relative; z-index: 160; }
/* When open, the X jumps to a clean fixed top-right corner, clear of the links */
.nav.is-open .nav__toggle { position: fixed; top: 14px; right: 16px; color: var(--red); background: #fff; box-shadow: 0 4px 16px rgba(14,42,71,.18); }
.nav__toggle .icon { width: 26px; height: 26px; }
.nav__toggle-close { display: none; }
.nav.is-open .nav__toggle-open { display: none; }
.nav.is-open .nav__toggle-close { display: block; }

.nav__list {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: #fff; flex-direction: column; gap: 4px; padding: 84px 22px 36px;
    transform: translateX(100%); transition: transform .3s ease; box-shadow: -10px 0 40px rgba(0,0,0,.18);
    display: flex; overflow-y: auto; z-index: 150;
}
.nav.is-open .nav__list { transform: translateX(0); }
.nav__link { display: block; padding: 13px 14px; border-radius: 8px; font-weight: 600; color: var(--navy); font-family: 'Poppins', sans-serif; white-space: nowrap; }
.nav__link:hover, .nav__link.is-active { background: var(--off-white); color: var(--red); }
.nav__cta-mobile { margin-top: 6px; }
.nav__cta-mobile:first-of-type { margin-top: 18px; }

/* backdrop */
.nav.is-open::before { content: ""; position: fixed; inset: 0; background: rgba(9,29,51,.45); z-index: 140; }

@media (min-width: 1080px) {
    .nav__toggle { display: none; }
    .nav__list {
        position: static; width: auto; flex-direction: row; transform: none; box-shadow: none;
        padding: 0; background: none; overflow: visible; gap: 2px; align-items: center;
    }
    .nav.is-open::before { display: none; }
    .nav__cta-mobile { display: none; }
    .nav__link { padding: 9px 11px; font-size: .9rem; }
    .header__cta { display: flex; }
}
/* On large screens give the links a touch more room */
@media (min-width: 1200px) {
    .nav__list { gap: 4px; }
    .nav__link { padding: 9px 13px; font-size: .94rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-dark); }
.hero__bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(200,32,45,.35), transparent 60%),
        radial-gradient(700px 500px at 0% 110%, rgba(22,58,95,.9), transparent 55%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 70%);
}
.hero__bg::after {
    content: ""; position: absolute; inset: 0; opacity: .07;
    background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
    background-size: 44px 44px; mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.hero__inner { position: relative; display: grid; gap: 40px; padding: 56px 0 64px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; letter-spacing: .3px; }
.hero__eyebrow .icon { width: 16px; height: 16px; color: var(--accent); }
.hero__title { font-size: clamp(2rem, 5.5vw, 3.4rem); color: #fff; margin: 18px 0 14px; font-weight: 800; letter-spacing: -.5px; }
.hero__subtitle { font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: #d7e1ee; max-width: 36ch; margin-bottom: 26px; }
.hero__highlights { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.hero__highlights li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: #eaf1f8; }
.hero__highlights .icon { width: 18px; height: 18px; color: var(--accent); }

.hero__visual { position: relative; }
.hero__card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 22px; backdrop-filter: blur(6px); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.hero__logo { width: 100%; max-width: 380px; margin: 0 auto 18px; background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.hero__progress { background: rgba(255,255,255,.95); color: var(--ink); border-radius: 14px; padding: 18px; }
.hero__progress-head { font-family: 'Poppins',sans-serif; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.hero__progress-bar { height: 8px; border-radius: 999px; background: #e6edf4; overflow: hidden; }
.hero__progress-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--accent)); transition: width 1.4s cubic-bezier(.16,1,.3,1); }
.hero__progress-steps { margin: 14px 0 16px; display: grid; gap: 8px; }
.hero__progress-steps li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); }
.hero__progress-steps strong { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: .8rem; }

@media (min-width: 992px) {
    .hero__inner { grid-template-columns: 1.1fr .9fr; padding: 80px 0 96px; }
    .hero__highlights { gap: 12px 28px; }
}

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid #eef2f7; }
.trust__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding: 22px 0; }
.trust__item { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.trust__item .icon { width: 24px; height: 24px; color: var(--red); }

/* ---------- Section heading ---------- */
.section-heading { max-width: 720px; margin: 0 auto 44px; }
.section-heading--center { text-align: center; }
.section-heading--left { text-align: left; margin-inline: 0; }
.section-heading__eyebrow { display: inline-block; color: var(--red); font-weight: 700; font-family: 'Poppins',sans-serif; text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; margin-bottom: 10px; }
.section-heading__title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.section-heading__subtitle { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.section-heading--light .section-heading__title { color: #fff; }
.section-heading--light .section-heading__subtitle { color: #cdd8e6; }
.section-heading--light .section-heading__eyebrow { color: var(--accent); }

/* ---------- Intro ---------- */
.intro { display: grid; gap: 36px; align-items: center; }
.intro__title { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 8px 0 14px; }
.intro__text p { color: var(--muted); margin-bottom: 14px; }
.intro__text .cta-buttons { margin-top: 22px; }
.intro__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intro__stat { background: var(--off-white); border: 1px solid #e7edf3; border-left: 4px solid var(--red); border-radius: 12px; padding: 18px; }
.intro__stat strong { display: block; font-family: 'Poppins',sans-serif; color: var(--navy); font-size: 1.05rem; }
.intro__stat span { font-size: .88rem; color: var(--muted); }
@media (min-width: 900px) { .intro { grid-template-columns: 1.2fr .8fr; gap: 56px; } }

/* ---------- Services grid / cards ---------- */
.services-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
    position: relative; display: block; background: #fff; border: 1px solid #e9eef4; border-radius: 16px;
    padding: 28px 24px; overflow: hidden; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(14,42,71,.14); border-color: transparent; }
.service-card__icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg, var(--navy), var(--navy-light)); color: #fff; margin-bottom: 18px; transition: transform .35s ease; }
.service-card__icon .icon { width: 30px; height: 30px; }
.service-card:hover .service-card__icon { transform: rotate(-6deg) scale(1.06); background: linear-gradient(150deg, var(--red), var(--red-dark)); }
.service-card__title { font-size: 1.18rem; margin-bottom: 8px; }
.service-card__text { color: var(--muted); font-size: .94rem; }
.service-card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--red); font-weight: 600; font-family: 'Poppins',sans-serif; font-size: .9rem; }
.service-card__link .icon { width: 16px; height: 16px; transition: transform .25s ease; }
.service-card:hover .service-card__link .icon { transform: translateX(5px); }
.service-card__glow { position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(200,32,45,.16), transparent 70%); opacity: 0; transition: opacity .3s; }
.service-card:hover .service-card__glow { opacity: 1; }

/* ---------- Why grid ---------- */
.why-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card { background: #fff; border: 1px solid #e9eef4; border-radius: 16px; padding: 26px; transition: transform .25s ease, box-shadow .25s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(14,42,71,.1); }
.why-card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(200,32,45,.1); color: var(--red); margin-bottom: 16px; }
.why-card__icon .icon { width: 26px; height: 26px; }
.why-card__title { font-size: 1.12rem; margin-bottom: 8px; }
.why-card__text { color: var(--muted); font-size: .94rem; }
.section--navy .why-card,
.section--alt .why-card { background: #fff; }

/* ---------- How it works ---------- */
.how { position: relative; }
.how__track { position: absolute; left: 0; right: 0; top: 34px; height: 3px; background: rgba(255,255,255,.18); display: none; }
.section:not(.section--navy) .how__track { background: #e3e9f0; }
.how__progress { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--accent)); transition: width 1.2s ease; }
.how__steps { display: grid; gap: 28px; grid-template-columns: 1fr; }
.how__step { text-align: center; position: relative; }
.how__num { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 1.3rem; box-shadow: 0 10px 24px rgba(0,0,0,.18); border: 3px solid var(--red); position: relative; z-index: 2; }
.section--navy .how__title { color: #fff; }
.section--navy .how__text { color: #cdd8e6; }
.how__text { color: var(--muted); font-size: .95rem; max-width: 28ch; margin: 8px auto 0; }
@media (min-width: 768px) {
    .how__steps { grid-template-columns: repeat(4, 1fr); }
    .how__track { display: block; margin: 0 11%; }
}

/* ---------- Before / after ---------- */
.ba-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ba-grid:has(> :nth-child(3)) { grid-template-columns: repeat(3,1fr); } }
.ba { border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px rgba(14,42,71,.14); background: #fff; }
.ba__frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; touch-action: none; background: #0e2a47; }
.ba__img { position: absolute; inset: 0; }
.ba__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* The "before" layer sits on top and is wiped via clip-path; a tired filter
   makes the same photo look dull/old so the reveal shows a clear improvement. */
.ba__img--before { z-index: 2; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.ba__img--before img { filter: grayscale(.9) brightness(.82) contrast(.9); }
.ba__img--before::after { content: ""; position: absolute; inset: 0; background: rgba(28,38,54,.22); }
.ba__tag { position: absolute; bottom: 12px; z-index: 4; font-family: 'Poppins',sans-serif; font-weight: 700; font-size: .75rem; letter-spacing: 1px; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.ba__tag--after { right: 12px; background: var(--red); color: #fff; }
.ba__tag--before { left: 12px; background: rgba(14,42,71,.82); color: #fff; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); z-index: 3; pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.ba__handle-grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.ba__handle-grip .icon { width: 20px; height: 20px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.ba__caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; flex-wrap: wrap; }
.ba__title { font-family: 'Poppins',sans-serif; font-weight: 700; color: var(--navy); }
.ba__loc { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; }
.ba__loc .icon { width: 15px; height: 15px; color: var(--red); }

/* ---------- Areas ---------- */
.areas-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.areas-chip { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid #e3e9f0; padding: 9px 15px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--navy); transition: transform .2s, box-shadow .2s, border-color .2s; }
.areas-chip .icon { width: 15px; height: 15px; color: var(--red); }
.areas-chip:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(14,42,71,.1); border-color: var(--red); }
.areas-chips--lg .areas-chip { font-size: .98rem; padding: 11px 18px; }

.areas-info, .reasons { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .areas-info, .reasons { grid-template-columns: 1.1fr .9fr; gap: 50px; } }
.areas-info__text p, .reasons__text p { color: var(--muted); margin-bottom: 14px; }
.section--alt .areas-info__text p { color: #5b6675; }
.reasons__list { display: grid; gap: 10px; margin: 18px 0 24px; }
.reasons__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.reasons__list .icon, .service-detail__features .icon { width: 20px; height: 20px; color: var(--red); flex: 0 0 auto; }

/* ---------- Quote section (home) ---------- */
.quote-section { display: grid; gap: 36px; align-items: start; }
.quote-section__intro h2 { font-size: clamp(1.5rem,3vw,2.1rem); margin: 8px 0 14px; }
.quote-section__intro p { color: var(--muted); }
.quote-section__list { margin: 20px 0; display: grid; gap: 10px; }
.quote-section__list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.quote-section__list .icon { width: 20px; height: 20px; color: var(--red); }
.quote-section__phone { display: inline-flex; align-items: center; gap: 10px; font-family: 'Poppins',sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.quote-section__phone .icon { width: 24px; height: 24px; color: var(--red); }
@media (min-width: 900px) { .quote-section { grid-template-columns: 1fr 1.05fr; gap: 50px; } }

/* ---------- Card ---------- */
.card { background: #fff; border: 1px solid #e9eef4; border-radius: 18px; padding: 26px; box-shadow: 0 14px 40px rgba(14,42,71,.08); }
/* Vertical rhythm for simple CTA cards (heading + text + buttons) */
.card > h3 { margin-bottom: 10px; }
.card > p { margin-bottom: 16px; }

/* About "at a glance" card */
.about-card h3 { margin-bottom: 14px; font-size: 1.2rem; }
.about-card ul { display: grid; gap: 11px; margin-bottom: 20px; }
.about-card li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.about-card li .icon { width: 20px; height: 20px; color: var(--red); flex: 0 0 auto; }

/* ---------- Forms ---------- */
.eform__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .eform__grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); font-family: 'Poppins',sans-serif; }
.req { color: var(--red); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid #d8e0e9; border-radius: 10px; font: inherit; color: var(--ink);
    background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,32,45,.12); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field__error { color: var(--red); font-size: .82rem; font-weight: 500; }

.eform__footer { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.eform__note { font-size: .82rem; color: var(--muted); }

/* honeypot — hidden from humans, present for bots */
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* submit spinner */
.btn__spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.45); border-top-color: #fff; display: none; animation: spin .7s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* form status / alerts */
.form-status:empty { display: none; }
.form-status { margin-bottom: 18px; scroll-margin-top: 120px; }
.alert { padding: 16px 18px; border-radius: 12px; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.alert--success { background: #e7f7ee; color: #14633b; border: 1px solid #b6e6c9; }
.alert--error { background: #fdeaec; color: #8f1620; border: 1px solid #f5c2c7; }
.alert strong { font-family: 'Poppins',sans-serif; }

/* ---------- Form pages (quote/contact) ---------- */
.form-page { display: grid; gap: 32px; align-items: start; }
.form-page__aside h2 { font-size: 1.5rem; margin-bottom: 10px; }
.form-page__aside > p { color: var(--muted); margin-bottom: 20px; }
.form-page__form-title { margin-bottom: 20px; font-size: 1.4rem; }
.contact-list { display: grid; gap: 16px; margin-bottom: 24px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list__icon { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.contact-list__icon .icon { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; }
.contact-list a, .contact-list span > span { font-weight: 600; color: var(--navy); }
.contact-list a:hover { color: var(--red); }
.form-page__assure { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid #e7edf3; }
.form-page__assure p { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--navy); }
.form-page__assure .icon { width: 18px; height: 18px; color: #1f9d57; }
.hours__title { margin: 8px 0 12px; font-size: 1.15rem; }
.hours { display: grid; gap: 6px; }
.hours li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed #e3e9f0; font-size: .92rem; }
.hours li span:first-child { color: var(--muted); }
.hours li span:last-child { font-weight: 600; color: var(--navy); }
.form-page__social { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.form-page__social span { font-weight: 600; color: var(--navy); font-size: .9rem; }
.form-page__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--off-white); color: var(--navy); transition: all .2s; }
.form-page__social a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.form-page__social .icon { width: 18px; height: 18px; }
@media (min-width: 900px) { .form-page { grid-template-columns: .8fr 1.2fr; gap: 48px; } }

/* ---------- Service detail ---------- */
.service-detail { display: grid; gap: 36px; align-items: start; }
.service-detail__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg, var(--red), var(--red-dark)); color: #fff; margin-bottom: 16px; }
.service-detail__icon .icon { width: 32px; height: 32px; }
.service-detail__main h2 { font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 14px; }
.service-detail__main h3 { margin: 26px 0 12px; font-size: 1.2rem; }
.service-detail__lead { color: var(--muted); font-size: 1.05rem; }
.service-detail__main p { color: var(--muted); margin-bottom: 14px; }
.service-detail__features { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 8px; }
@media (min-width: 560px) { .service-detail__features { grid-template-columns: 1fr 1fr; } }
.service-detail__features li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.service-detail__main .cta-buttons { margin-top: 24px; }
.service-detail__aside { display: grid; gap: 22px; }
.service-detail__quote .btn { margin-top: 10px; }
.service-detail__quote h3, .service-detail__others h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-detail__quote p { color: var(--muted); font-size: .92rem; }
.service-detail__others ul { display: grid; gap: 4px; }
.service-detail__others a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; font-weight: 500; color: var(--navy); transition: background .2s, color .2s; }
.service-detail__others a:hover { background: var(--off-white); color: var(--red); }
.service-detail__others .icon { width: 18px; height: 18px; color: var(--red); }
@media (min-width: 900px) { .service-detail { grid-template-columns: 1.5fr .75fr; gap: 48px; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; padding: 54px 0; overflow: hidden; }
.page-hero__overlay { position: absolute; inset: 0; background: radial-gradient(700px 320px at 88% -20%, rgba(200,32,45,.4), transparent 60%); }
.page-hero__inner { position: relative; }
.crumbs { font-size: .85rem; color: #aebed0; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: #fff; }
.crumbs__sep { opacity: .5; }
.page-hero__eyebrow { display: inline-block; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: .8rem; font-family: 'Poppins',sans-serif; margin-bottom: 10px; }
.page-hero__title { font-size: clamp(1.8rem, 4.4vw, 2.9rem); color: #fff; max-width: 22ch; }
.page-hero__subtitle { margin-top: 14px; color: #d2dde9; font-size: 1.08rem; max-width: 60ch; }
@media (min-width: 768px) { .page-hero { padding: 76px 0; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .gallery-grid { grid-template-columns: repeat(3,1fr); } }
.gallery-card { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #e9eef4; box-shadow: 0 10px 28px rgba(14,42,71,.08); transition: transform .25s, box-shadow .25s; }
.gallery-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(14,42,71,.16); }
.gallery-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--navy); }
.gallery-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-card:hover .gallery-card__media img { transform: scale(1.06); }
.gallery-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,29,51,.35), transparent 45%); }
.gallery-card__cat { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--red); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.gallery-card__cap { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.gallery-card__cap strong { font-family: 'Poppins',sans-serif; color: var(--navy); }
.gallery-card__cap span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; }
.gallery-card__cap .icon { width: 14px; height: 14px; color: var(--red); }
.gallery-note { max-width: 50ch; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--red), var(--red-dark)); color: #fff; }
.cta-band__inner { display: grid; gap: 22px; padding: 46px 0; align-items: center; text-align: center; }
.cta-band__title { color: #fff; font-size: clamp(1.5rem,3.4vw,2.2rem); }
.cta-band__sub { color: rgba(255,255,255,.9); margin-top: 6px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (min-width: 860px) { .cta-band__inner { grid-template-columns: 1fr auto; text-align: left; } .cta-band__actions { justify-content: flex-end; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: #b9c6d6; font-size: .92rem; }
.footer__grid { display: grid; gap: 34px; padding: 56px 0 36px; grid-template-columns: 1fr; }
.footer__logo img { background: #fff; border-radius: 12px; padding: 14px; width: 240px; max-width: 100%; height: auto; margin-bottom: 16px; }
.footer__about p { max-width: 38ch; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: all .2s; }
.footer__social a:hover { background: var(--red); transform: translateY(-3px); }
.footer__social .icon { width: 18px; height: 18px; }
.footer__heading { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer__links { display: grid; gap: 9px; }
.footer__links a:hover { color: #fff; padding-left: 4px; transition: padding .2s; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
.footer__contact a:hover { color: #fff; }
.footer__areas { background: rgba(0,0,0,.2); font-size: .82rem; color: #8595a8; }
.footer__areas .container { padding-block: 16px; color: #8595a8; line-height: 1.8; }
.footer__areas-label { color: var(--accent); font-weight: 600; margin-right: 6px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer__bottom-inner { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; justify-content: space-between; font-size: .85rem; color: #8595a8; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } .footer__bottom-inner { flex-direction: row; } }

/* ---------- Floating WhatsApp + mobile call bar + to-top ---------- */
.wa-float { position: fixed; right: 18px; bottom: 84px; z-index: 120; display: inline-flex; align-items: center; gap: 0; background: #25D366; color: #fff; height: 58px; border-radius: 999px; box-shadow: 0 10px 26px rgba(37,211,102,.45); overflow: hidden; transition: gap .3s ease, padding .3s ease; }
.wa-float__icon { width: 30px; height: 30px; margin: 0 14px; flex: 0 0 auto; }
.wa-float__label { max-width: 0; opacity: 0; white-space: nowrap; font-weight: 600; transition: max-width .3s ease, opacity .3s ease, margin .3s ease; font-family: 'Poppins',sans-serif; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: wapulse 2.4s infinite; }
@keyframes wapulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (min-width: 992px) {
    .wa-float { bottom: 26px; }
    .wa-float:hover .wa-float__label { max-width: 160px; opacity: 1; margin-right: 18px; }
    .wa-float:hover .wa-float__icon { margin-right: 6px; }
}

.mobile-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; display: grid; grid-template-columns: 1fr 1fr 1fr; background: #fff; box-shadow: 0 -6px 20px rgba(14,42,71,.16); border-top: 1px solid #e7edf3; }
.mobile-callbar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 4px; font-size: .72rem; font-weight: 700; font-family: 'Poppins',sans-serif; }
.mobile-callbar__btn .icon { width: 20px; height: 20px; }
.mobile-callbar__btn--call { color: var(--navy); }
.mobile-callbar__btn--wa { color: #1a9e4b; border-inline: 1px solid #eef2f7; }
.mobile-callbar__btn--quote { color: var(--red); }
.mobile-callbar__btn:active { background: var(--off-white); }
@media (min-width: 992px) { .mobile-callbar { display: none; } }

.to-top { position: fixed; right: 18px; bottom: 150px; z-index: 110; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(14,42,71,.3); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top .icon { width: 22px; height: 22px; }
@media (min-width: 992px) { .to-top { bottom: 96px; } }

/* keep content clear of the mobile call bar */
@media (max-width: 991px) { body { padding-bottom: 60px; } }

/* ---------- Mobile spacing refinements ---------- */
@media (max-width: 640px) {
    .container { padding-inline: 22px; }
    .section { padding: 52px 0; }
    .section--navy { padding: 56px 0; }
    /* Stack CTAs full-width so they don't feel cramped */
    .cta-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
    .cta-buttons .btn { width: 100%; }
    .section__cta { gap: 18px; }
    .section__cta .cta-buttons { width: 100%; max-width: 420px; }
    /* Hero breathing room */
    .hero__inner { padding: 40px 0 52px; gap: 34px; }
    .hero__title { font-size: clamp(1.75rem, 8vw, 2.2rem); margin: 16px 0 14px; }
    .hero__subtitle { margin-bottom: 24px; max-width: none; }
    .hero__highlights { gap: 12px 18px; margin-top: 24px; }
    .hero__card { padding: 18px; }
    /* Trust strip a touch more open */
    .trust__inner { gap: 16px 26px; padding: 22px 0; }
    /* Section headings */
    .section-heading { margin-bottom: 34px; }
    .section-heading__subtitle { font-size: 1rem; }
    /* Cards / forms */
    .card { padding: 22px; }
    .why-card, .service-card { padding: 24px 22px; }
}
@media (max-width: 400px) {
    .hero__title { font-size: 1.7rem; }
    .container { padding-inline: 18px; }
}

/* ---------- Scroll reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
