/* Self-hosted fonts (latin subset: covers English and Spanish accents) */
@font-face { font-family: "Comfortaa"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/comfortaa-var-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/inter-var-latin.woff2") format("woff2"); }

/* =========================================================
   CLAU Cleaning Corp — brand tokens
   Greens sampled from the original logo and van lettering.
   ========================================================= */
:root {
    --forest: #0F3D25;      /* van lettering, dark sections */
    --forest-deep: #0A2A19; /* footer */
    --green: #1F7F45;       /* logo outline: primary actions, links */
    --leaf: #86BC42;        /* logo fill: accents on dark, highlights */
    --leaf-soft: #B9DB8A;
    --tint: #EFF6E8;        /* light section background */
    --field: #F8FBF6;
    --ink: #1A2B21;
    --text: #3B4D42;
    --muted: #5E6F64;
    --line: #DCE7D8;
    --white: #FFFFFF;
    --success: #1C8C5E;
    --success-bg: var(--success-bg);
    --danger: #C0392B;
    --danger-bg: var(--danger-bg);

    --grad: linear-gradient(135deg, #2E9A50 0%, var(--green) 100%);
    --radius: 14px;
    --shadow: 0 10px 30px rgba(15, 61, 37, .10);
    --shadow-lg: 0 20px 50px rgba(15, 61, 37, .18);
    --font-head: "Comfortaa", "Varela Round", "Segoe UI", Arial, sans-serif;
    --font-body: "Inter", "Segoe UI", Arial, sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--font-head); color: var(--forest); line-height: 1.2; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: .75rem; }
h3 { font-size: 1.15rem; font-weight: 600; }
ul { list-style: none; }

.container { width: min(1200px, 100%); margin: 0 auto; padding: 0 20px; }
.container.narrow { width: min(860px, 100%); }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
    font-family: var(--font-head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    color: var(--green);
    margin-bottom: .6rem;
}
.gallery .eyebrow, .quote .eyebrow, .hero .eyebrow { color: var(--leaf); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--forest); color: #fff; padding: 10px 16px; z-index: 2000; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--font-body); font-weight: 600; font-size: 1rem;
    padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
    text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(31, 127, 69, .30); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(31, 127, 69, .42); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--forest); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15,61,37,.08); border-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { height: 42px; width: auto; display: block; }
#nav-menu { display: flex; align-items: center; gap: .25rem; }
#nav-menu a:not(.btn) {
    display: block; padding: .5rem .8rem; color: var(--forest); text-decoration: none;
    font-family: var(--font-body); font-weight: 500; font-size: .95rem; border-radius: 8px;
}
#nav-menu a:not(.btn):hover { color: var(--green); background: var(--tint); }
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; margin: 0 .4rem; }
.lang-switch a { padding: .25rem .65rem !important; font-size: .8rem !important; font-weight: 600 !important; border-radius: 999px !important; }
.lang-switch a.is-active { background: var(--forest) !important; color: #fff !important; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; }
.menu-toggle span { display: block; height: 2.5px; background: var(--forest); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: min(100vh, 860px); min-height: min(100svh, 860px); display: flex; align-items: center;
    padding: calc(var(--header-h) + 40px) 0 60px; color: #fff; overflow: hidden; isolation: isolate;
    background: var(--forest);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(100deg, rgba(15,61,37,.94) 0%, rgba(15,61,37,.82) 45%, rgba(31,127,69,.55) 100%),
        radial-gradient(circle at 85% 20%, rgba(134,188,66,.30), transparent 50%);
}
.hero-content { max-width: 1200px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.7rem); font-weight: 700; max-width: 780px; margin-bottom: 1.2rem; }
.hero h1 .hl { background: linear-gradient(90deg, var(--leaf-soft), var(--leaf)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 620px; color: rgba(255,255,255,.88); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.hero-badges li { display: flex; align-items: center; gap: .5rem; font-size: .95rem; color: rgba(255,255,255,.9); }
.hero-badges li::before {
    content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none;
    background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--white); position: relative; z-index: 2; }
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
    margin-top: -48px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.trust-item { background: #fff; padding: 1.6rem 1.25rem; text-align: center; display: flex; flex-direction: column-reverse; }
.trust-item strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--green); line-height: 1.1; }
.trust-item span { font-size: .85rem; color: var(--muted); margin-top: .35rem; order: -1; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 20px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); background: var(--grad); }
.about-badge {
    position: absolute; right: -20px; bottom: 32px; background: var(--forest); color: #fff;
    border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg); max-width: 210px;
}
.about-badge strong { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; color: var(--leaf-soft); }
.about-badge span { font-size: .88rem; }
.about-text p { margin-bottom: 1rem; color: var(--text); }
.about-text h2 { margin-bottom: 1.2rem; }
.check-list { margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; font-weight: 500; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: .2rem; width: 22px; height: 22px; border-radius: 50%;
    background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231F7F45' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center/15px no-repeat;
}

/* ---------- Services ---------- */
.services { background: var(--tint); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card img { aspect-ratio: 3/2; object-fit: cover; width: 100%; background: var(--grad); }
.service-body { padding: 1.3rem 1.3rem 1.5rem; }
.service-body h3 { margin-bottom: .5rem; }
.service-body p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.service-body li { font-size: .92rem; padding: .3rem 0 .3rem 1.4rem; position: relative; border-top: 1px dashed var(--line); }
.service-body li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; list-style: none; }
.process-grid li { position: relative; padding: 2rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.process-grid .step {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1rem;
    background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
}
.process-grid h3 { margin-bottom: .4rem; }
.process-grid p { color: var(--muted); font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--forest); }
.gallery h2 { color: #fff; }
.gallery .section-head p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 32px; }
.chip {
    font-family: var(--font-body); font-weight: 500; font-size: .9rem; cursor: pointer;
    padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25);
    background: transparent; color: #fff; transition: background .2s, border-color .2s;
}
.chip:hover { border-color: var(--leaf); }
.chip.is-active { background: var(--leaf); border-color: var(--leaf); color: var(--forest); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.gallery-grid li.tall { grid-row: span 2; }
.gallery-grid li[hidden] { display: none; }
.gallery-item {
    display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
    border-radius: 12px; overflow: hidden; position: relative; background: var(--grad);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gallery-item::after {
    content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,61,37,.55), transparent 50%);
    opacity: 0; transition: opacity .3s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }
.gallery-cta { text-align: center; margin-top: 32px; color: rgba(255,255,255,.8); }
.gallery-cta a { color: var(--leaf-soft); font-weight: 600; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; margin: 0; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(6, 22, 13, .92); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 20px 0; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 10px; object-fit: contain; }
.lightbox figcaption { color: #fff; text-align: center; font-size: .95rem; }
.lb-close, .lb-nav { background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 2rem; line-height: 1; justify-self: center; }
.lb-close { position: fixed; top: 16px; right: 16px; font-size: 1.8rem; }
.lb-close:hover, .lb-nav:hover { background: var(--leaf); color: var(--forest); }

/* ---------- Clients ---------- */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.client-logo {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center;
    padding: 1.5rem .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
    color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: .9rem;
    filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s, box-shadow .3s;
}
.client-logo:hover { filter: none; opacity: 1; box-shadow: var(--shadow); color: var(--forest); }
.client-logo svg { width: 38px; height: 38px; color: var(--green); }
.client-logo img { max-height: 48px; width: auto; }
.testimonial {
    position: relative; max-width: 820px; margin: 0 auto; text-align: center; padding: 3rem 2rem 2.5rem;
    border-radius: 20px; background: var(--tint);
}
.quote-mark { width: 54px; height: 54px; color: var(--leaf); margin: 0 auto 1rem; }
.testimonial blockquote p { font-family: var(--font-head); font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--forest); font-weight: 500; }
.testimonial-author { margin-top: 1rem; color: var(--muted); font-weight: 600; }

/* ---------- Why / Area ---------- */
.why { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.why-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.why-cards { display: grid; gap: 16px; margin-top: 1.5rem; }
.why-card { background: #fff; border-left: 4px solid var(--leaf); border-radius: 10px; padding: 1.25rem 1.5rem; box-shadow: var(--shadow); }
.why-card p { color: var(--muted); font-size: .95rem; }
.area-card { background: var(--forest); color: #fff; border-radius: 20px; padding: 2.2rem; box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--header-h) + 20px); }
.area-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: .5rem; }
.area-card p { color: rgba(255,255,255,.8); margin-bottom: 1.2rem; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; margin-bottom: 1.6rem; }
.area-list li { padding-left: 1.3rem; position: relative; }
.area-list li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
    cursor: pointer; list-style: none; padding: 1.15rem 3.2rem 1.15rem 1.4rem; position: relative;
    font-family: var(--font-body); font-weight: 600; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%; background: var(--tint); color: var(--green);
    display: grid; place-items: center; font-size: 1.3rem; transition: transform .3s;
}
.faq details[open] summary::after { content: "–"; background: var(--grad); color: #fff; }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- Quote form ---------- */
.quote { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.quote::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; right: -200px; top: -250px; background: radial-gradient(circle, rgba(134,188,66,.22), transparent 65%); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; position: relative; }
.quote h2 { color: #fff; }
.quote-intro > p:not(.eyebrow) { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.contact-list { margin: 2rem 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; }
.contact-list svg { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.08); color: var(--leaf); flex: none; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 500; word-break: break-word; }
.contact-list a:hover { color: var(--leaf-soft); }
.secure-note { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: rgba(255,255,255,.7); }
.secure-note svg { width: 22px; height: 22px; color: var(--leaf); flex: none; }

.quote-form { background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--forest); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--field);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background: #fff; box-shadow: 0 0 0 4px rgba(134,188,66,.25); }
.field .is-invalid { border-color: var(--danger); background: var(--danger-bg); }
.field-error { color: var(--danger); font-size: .82rem; margin-top: .3rem; }
.field-check { display: flex; gap: .7rem; align-items: flex-start; }
.field-check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--green); flex: none; }
.field-check label { font-weight: 400; color: var(--muted); margin: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-message { margin-top: 1rem; }
.form-message .msg { padding: .9rem 1.1rem; border-radius: 10px; font-weight: 500; }
.form-message .msg-success { background: var(--success-bg); color: var(--success); }
.form-message .msg-error { background: var(--danger-bg); color: var(--danger); }

/* ---------- Map ---------- */
.map iframe { display: block; width: 100%; height: 360px; border: 0; filter: saturate(.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(255,255,255,.75); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 110px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .95rem; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: var(--leaf-soft); }
.site-footer address { font-style: normal; line-height: 1.9; }
.social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .2s; }
.social a:hover { background: var(--leaf); color: var(--forest); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; font-size: .88rem; text-align: center; }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; }
.fab-toggle {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: .55rem; height: 58px; min-width: 58px; padding: 0 1.3rem 0 1.1rem;
    border-radius: 999px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .98rem;
    transition: transform .2s, box-shadow .2s;
}
.fab-toggle::-webkit-details-marker { display: none; }
.fab-toggle::marker { content: ''; }
.fab-toggle:hover { transform: translateY(-2px); }
.fab-toggle:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.fab-toggle svg { width: 26px; height: 26px; flex: none; }
.fab-ico-close, .fab[open] .fab-ico-open { display: none; }
.fab[open] .fab-ico-close { display: block; }
.fab-menu { display: flex; flex-direction: column; gap: 8px; animation: fab-in .18s ease-out; }
.fab-opt {
    display: flex; align-items: center; gap: .75rem; padding: .7rem 1.1rem .7rem .8rem; border-radius: 999px; background: var(--white); color: var(--ink);
    box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-weight: 600; text-decoration: none; transition: background .2s;
}
.fab-opt:hover, .fab-opt:focus-visible { background: var(--tint); }
.fab-opt svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--grad); color: #fff; flex: none; }
.fab-opt span { display: flex; flex-direction: column; line-height: 1.2; }
.fab-opt small { font-weight: 500; color: var(--muted); font-size: .8rem; }
@keyframes fab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fab-menu { animation: none; } .fab-toggle { transition: none; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { transition-duration: 0s !important; }
}

/* ---------- Legal page ---------- */
.legal { padding: calc(var(--header-h) + 48px) 0 80px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--text); margin-bottom: .6rem; }
.legal .legal-es-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 1rem; }
.legal-divider { margin: 3rem 0; border: 0; border-top: 1px solid var(--line); }
.legal ul { list-style: disc; padding-left: 1.3rem; }


/* ---------- Service pages ---------- */
.svc-hero {
    position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--forest);
    padding: calc(var(--header-h) + 56px) 0 72px;
}
.svc-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.svc-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgba(15,61,37,.95) 0%, rgba(15,61,37,.85) 50%, rgba(31,127,69,.55) 100%);
}
.svc-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.1rem); max-width: 820px; margin-bottom: 1rem; }
.svc-hero .hero-actions { margin-bottom: 0; }
.breadcrumb { font-size: .88rem; color: rgba(255,255,255,.8); margin-bottom: 1.2rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb a { color: var(--leaf-soft); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.svc-detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.svc-body { color: var(--text); margin-top: .5rem; }
.svc-figure { margin: 0; }
.svc-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); background: var(--grad); }
.svc-ideal { background: var(--tint); }
.svc-ideal h2 { text-align: center; margin-bottom: 32px; }
.svc-ideal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-ideal-grid li { display: flex; gap: .7rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); font-weight: 600; color: var(--forest); }
.svc-ideal-grid svg { width: 22px; height: 22px; flex: none; color: var(--green); }
.svc-area { margin-top: 48px; padding: 2rem; border-radius: 20px; background: var(--tint); }
.svc-area h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: .5rem; }
.svc-area p { color: var(--text); margin-bottom: 1rem; }
.svc-area .area-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: 0; }
.svc-band { background: var(--forest); color: #fff; padding: 56px 0; }
.svc-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.svc-band h2 { color: #fff; margin-bottom: .4rem; }
.svc-band p { color: rgba(255,255,255,.8); max-width: 620px; }
.svc-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.svc-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.svc-related-grid a { display: grid; gap: .3rem; height: 100%; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.svc-related-grid a:hover { border-color: var(--leaf); box-shadow: var(--shadow); }
.svc-related-grid span { font-family: var(--font-head); font-weight: 700; color: var(--forest); }
.svc-related-grid small { color: var(--green); font-weight: 600; }
.service-more { display: inline-block; margin-top: .8rem; font-weight: 600; color: var(--green); text-decoration: none; }
.service-more:hover { text-decoration: underline; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a:hover { color: var(--green); }

/* ---------- Commercial focus: home cards, clients, areas, gallery page ---------- */
#nav-menu a[aria-current="page"]:not(.btn) { color: var(--green); background: var(--tint); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--green); }
.btn-outline:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card.is-featured { border: 2px solid var(--leaf); }
.service-tag { display: inline-block; margin-bottom: .5rem !important; padding: .15rem .6rem; border-radius: 999px; background: var(--tint); color: var(--green) !important; font-size: .75rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.client-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.client-grid > li { flex: 0 1 216px; }
.client-logo { filter: none; opacity: 1; color: var(--forest); gap: .4rem; }
.client-logo img { max-height: 56px; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.client-logo:hover img { filter: none; opacity: 1; }
.client-logo .client-name { font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.client-logo small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.client-mark {
    display: grid; place-items: center; min-width: 56px; height: 56px; padding: 0 .7rem; border-radius: 14px;
    background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em;
}
.clients-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.area-state { color: var(--leaf-soft); font-size: .95rem; margin: 1rem 0 .5rem; }
.svc-area .area-state, .city-facilities .area-state { color: var(--forest); }
.area-card .area-list a { color: #fff; text-decoration: none; }
.area-card .area-list a:hover { color: var(--leaf-soft); text-decoration: underline; }
.area-links a { color: var(--green); font-weight: 600; text-decoration: none; }
.area-links a:hover { text-decoration: underline; }
.svc-area .area-list a { color: var(--green); font-weight: 600; text-decoration: none; }
.area-more { margin: -.6rem 0 1.4rem !important; }
.area-more a { color: var(--leaf-soft); font-weight: 600; }

.footer-areas { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.25rem; padding-bottom: 1.25rem; font-size: .85rem; line-height: 1.9; }
.footer-areas strong { color: #fff; }

.page-hero { padding-bottom: 64px; background: linear-gradient(120deg, var(--forest) 0%, #155A33 60%, var(--green) 100%); }
.page-hero::before { background: radial-gradient(circle at 85% 20%, rgba(134,188,66,.25), transparent 55%); }

.client-group:nth-of-type(even) { background: var(--tint); }
.client-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.client-card { display: flex; gap: 1.1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow); }
.client-card-logo { flex: none; width: 128px; min-height: 64px; display: grid; place-items: center; }
.client-card-logo img { max-width: 128px; max-height: 64px; object-fit: contain; }
.client-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.client-type { color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }
.client-cities { display: flex; gap: .4rem; align-items: flex-start; font-size: .85rem; color: var(--text); }
.client-cities svg { width: 16px; height: 16px; flex: none; color: var(--green); margin-top: .2rem; }
.client-cities a { color: var(--green); text-decoration: none; font-weight: 600; }
.client-cities a:hover { text-decoration: underline; }
.center-link { text-align: center; margin-top: 28px; }

.city-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.city-cards a { display: grid; gap: .25rem; height: 100%; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.city-cards a:hover { border-color: var(--leaf); box-shadow: var(--shadow); }
.city-cards strong { font-family: var(--font-head); color: var(--forest); font-size: 1.05rem; }
.city-cards span { color: var(--muted); font-size: .85rem; }
.city-cards em { font-style: normal; color: var(--green); font-weight: 700; font-size: .85rem; }
.svc-city-grid a p { color: var(--muted); font-size: .9rem; }
.city-facilities { margin-top: 0; }

.gallery-page .gallery { padding-top: 56px; }
.gallery-grid li.wide { grid-column: span 2; }
.media-video video { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); background: #000; display: block; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; height: 100%; margin: 0; }
.ba-pair > div { position: relative; overflow: hidden; border-radius: var(--radius); }
.ba-pair img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag { position: absolute; left: 10px; top: 10px; padding: .2rem .6rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--forest); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ba-tag.ba-after { background: var(--leaf); }

/* Before/after drag slider (built by gallery-motion.js from .ba-pair) */
.gallery-grid li.wide.ba-li { grid-column: auto; }
.ba-pair.ba-slider { display: block; position: relative; overflow: hidden; border-radius: var(--radius); --pos: 50%; cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba-slider > div:not(.ba-handle) { position: absolute; inset: 0; border-radius: 0; }
.ba-slider > div:nth-child(2) { clip-path: inset(0 0 0 var(--pos)); }
.ba-slider img { pointer-events: none; -webkit-user-drag: none; }
.ba-slider .ba-tag { top: auto; bottom: 12px; left: 12px; }
.ba-slider .ba-tag.ba-after { left: auto; right: 12px; }
.ba-pair .ba-handle { overflow: visible; border-radius: 0; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); z-index: 2; outline: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--forest); display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0,0,0,.3); transition: transform .2s, background .2s; }
.ba-knob::before { content: "\2039\00a0\203A"; font-size: 1.35rem; font-weight: 700; line-height: 1; }
.ba-slider:hover .ba-knob, .ba-handle:focus-visible .ba-knob { transform: translate(-50%, -50%) scale(1.1); background: var(--leaf); }
.ba-handle:focus-visible .ba-knob { outline: 3px solid #fff; outline-offset: 2px; }
.lightbox[open]::backdrop { animation: lb-fade .35s ease; }
@keyframes lb-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lightbox[open]::backdrop { animation: none; } }

@media (max-width: 1240px) and (min-width: 961px) {
    #nav-menu a:not(.btn) { padding: .45rem .5rem; font-size: .88rem; }
    .brand img { height: 34px; }
}
@media (max-width: 1080px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .service-grid { grid-template-columns: 1fr; }
    .client-cards { grid-template-columns: 1fr; }
    .gallery-grid li.wide, .gallery-grid li.wide.ba-li { grid-column: span 2; }
    .clients-actions .btn { width: 100%; }
}

/* ---------- Home: client carousel, industries, service-area dropdowns ---------- */
.carousel { position: relative; margin-bottom: 40px; }
.client-track {
    display: flex !important; flex-wrap: nowrap !important; justify-content: flex-start !important; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
    padding: 6px 4px 14px; margin: 0 52px; outline: none;
}
.client-track::-webkit-scrollbar { display: none; }
.client-track > li { flex: 0 0 216px !important; scroll-snap-align: start; }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-60%); z-index: 2; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--line); background: #fff; color: var(--forest); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}
.carousel-btn:hover { background: var(--forest); color: #fff; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.industries { margin-top: 48px; }
.industries h3 { text-align: center; margin-bottom: 20px; font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-grid a { display: grid; grid-template-rows: auto auto 1fr; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.industry-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.industry-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--grad); }
.industry-grid span { font-family: var(--font-head); font-weight: 700; color: var(--forest); padding: .9rem 1rem .2rem; }
.industry-grid small { color: var(--muted); font-size: .85rem; padding: 0 1rem 1rem; }

.area-drop { border: 1px solid rgba(255,255,255,.18); border-radius: 12px; margin-bottom: 10px; }
.area-drop summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem; font-weight: 600; color: #fff; }
.area-drop summary::-webkit-details-marker { display: none; }
.area-drop summary small { color: var(--leaf-soft); font-weight: 500; margin-left: auto; margin-right: .8rem; }
.area-drop summary::after { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--leaf-soft); }
.area-drop[open] summary::after { content: "–"; }
.area-drop .area-list { padding: 0 1rem 1rem; margin-bottom: 0; }
.area-card .area-more { margin: .8rem 0 1.2rem !important; }

@media (max-width: 1080px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
    .client-track { margin: 0; }
    .client-track > li { flex-basis: 70% !important; }
    .carousel-btn { display: none; }
    .industry-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .industry-grid small { display: none; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 24px; background: var(--tint); }
.not-found img { height: 120px; width: auto; }
.not-found h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); }

@media (max-width: 960px) {
    .svc-detail-grid { grid-template-columns: 1fr; }
    .svc-ideal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .svc-ideal-grid { grid-template-columns: 1fr; }
    .svc-hero .hero-actions .btn, .svc-band-actions .btn { width: 100%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .menu-toggle { display: flex; }
    .site-nav { position: absolute; }
    #nav-menu {
        position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
        background: #fff; padding: 1rem 20px 1.5rem; gap: .2rem; box-shadow: 0 20px 30px rgba(15,61,37,.12);
        transform: translateY(-120%); visibility: hidden; transition: transform .35s ease, visibility .35s;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    #nav-menu.open { transform: none; visibility: visible; }
    #nav-menu a:not(.btn) { padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .lang-item { padding: .8rem 0; }
    .lang-switch { margin: 0; }
    .lang-switch a { border-bottom: 0 !important; }
    .nav-cta-item .btn { width: 100%; padding: .9rem; }
    .about-grid, .why-grid, .quote-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 520px; margin: 0 auto; }
    .about-badge { right: 12px; }
    .area-card { position: static; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .fab-toggle { padding: 0; justify-content: center; width: 58px; }
    .fab-label { display: none; }
}
@media (max-width: 600px) {
    :root { --header-h: 66px; }
    .brand img { height: 32px; }
    .service-grid, .process-grid { grid-template-columns: 1fr; }
    .client-grid > li { flex-basis: calc(50% - 8px); }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-auto-rows: 150px; gap: 10px; }
    .hero-actions .btn { width: 100%; }
    .lightbox[open] { grid-template-columns: 44px 1fr 44px; }
    .lb-nav { width: 38px; height: 38px; font-size: 1.5rem; }
}

/* City pages: "our work" block on the dark gallery background */
.gallery .service-more { color: var(--leaf); }
