/* =========================================================================
   G&B Environmental Consultancy — stylesheet
   Brand palette (solid colours only, no gradients):
     Primary   #15461E  Deep Forest Green
     Secondary #538B2B  Leaf Green
     Support   #316925  Earth Green
     Neutral   #53614F  Sage Grey
     Accent    #383220  Earth Brown
     White     #FFFFFF
   ========================================================================= */

:root {
    --c-primary: #15461E;
    --c-secondary: #538B2B;
    --c-earth: #316925;
    --c-sage: #53614F;
    --c-brown: #383220;
    --c-white: #FFFFFF;
    --c-tint: #F2F5EE;       /* light sage tint, flat */
    --c-tint-2: #E9EEE2;     /* slightly deeper flat tint */
    --c-line: #DDE3D4;       /* hairline borders */
    --c-ink: #1B2A16;        /* near-black green for body text */

    --font-head: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --container: 1140px;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(21, 70, 30, 0.06);
    --shadow: 0 6px 24px rgba(21, 70, 30, 0.10);
    --shadow-lg: 0 18px 50px rgba(21, 70, 30, 0.16);
    --header-h: 76px;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--c-ink);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--c-primary); line-height: 1.15; margin: 0 0 0.5em; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 2px; border-radius: 4px; }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ----- Buttons ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--font-body); font-weight: 600; font-size: 16px;
    padding: 12px 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
    cursor: pointer; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .08s ease;
    line-height: 1.2; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-primary:hover { background: var(--c-earth); border-color: var(--c-earth); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }

.btn-light { background: #fff; color: var(--c-primary); border-color: #fff; }
.btn-light:hover { background: var(--c-tint); border-color: var(--c-tint); }

.btn-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1FB855; border-color: #1FB855; }

/* ----- Eyebrow / section heads ----- */
.eyebrow {
    font-family: var(--font-body); font-weight: 600; font-size: 13px;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-secondary);
    margin: 0 0 14px;
}
.section { padding: 72px 0; }
.section-tint { background: var(--c-tint); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 14px; }
.section-sub { color: var(--c-sage); font-size: 18px; margin: 0; }
.section-foot { text-align: center; margin-top: 40px; }
.accent-leaf { color: var(--c-secondary); }

/* ----- Header / nav ----- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: #fff; border-bottom: 1px solid var(--c-line);
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }

.brand { display: inline-flex; align-items: center; color: var(--c-primary); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
/* Logo fills the full nav bar height; width is unconstrained (auto) to respect the wide aspect ratio */
.brand-logo {
    height: var(--header-h);
    width: auto;
    max-width: none;
    display: block;
    object-fit: contain;
}

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { color: var(--c-ink); font-weight: 500; font-size: 16px; padding: 6px 0; position: relative; }
.primary-nav a:hover { color: var(--c-primary); text-decoration: none; }
.primary-nav a.is-active { color: var(--c-primary); font-weight: 600; }
.primary-nav a.is-active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
    background: var(--c-secondary); border-radius: 2px;
}
.nav-cta {
    margin-left: 6px;
    background: #487A26;
    color: #fff;
    border-color: #487A26;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(72, 122, 38, 0.35);
}
.nav-cta:hover {
    background: var(--c-earth);
    border-color: var(--c-earth);
    color: #fff;
    box-shadow: 0 4px 14px rgba(49, 105, 37, 0.40);
}

.nav-toggle {
    display: none; background: transparent; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
    width: 44px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle-bar { display: block; height: 2px; width: 100%; background: var(--c-primary); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ----- */
.hero { background: var(--c-primary); color: #fff; padding: 64px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--c-secondary); }
.hero-title { color: #fff; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; margin: 0 0 22px; }
.hero-title .accent-leaf { color: var(--c-secondary); }
.hero-lead { font-size: 19px; color: rgba(255,255,255,0.88); max-width: 560px; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero-trust li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.92); font-size: 16px; }
.tick {
    width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; background: var(--c-secondary);
    position: relative;
}
.tick::after {
    content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px;
    border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.hero-art { display: flex; justify-content: center; }
.hero-svg { width: 100%; max-width: 520px; border-radius: 24px; box-shadow: var(--shadow-lg); }

/* ----- Photo imagery ----- */
.photo {
    display: block; width: 100%; height: 100%; object-fit: cover; background: var(--c-tint-2);
}
.photo-frame {
    border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line);
    box-shadow: var(--shadow); background: var(--c-tint-2); position: relative;
}
/* Hero photo (portrait image in the hero column) */
.hero-photo {
    width: 100%; max-width: 460px; margin: 0 auto; border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.18); box-shadow: var(--shadow-lg); background: var(--c-earth);
    aspect-ratio: 3 / 4;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Image + caption block (used on About, Why, Services) */
.media-block { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow); background: #fff; }
.media-block.reverse { direction: rtl; }
.media-block.reverse > * { direction: ltr; }
.media-block-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-tint-2); }
.media-block-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-block-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.media-block-body .eyebrow { margin-bottom: 10px; }
.media-block-body h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 12px; }
.media-block-body p { color: var(--c-sage); margin: 0 0 14px; }
.media-block-body p:last-child { margin-bottom: 0; }

/* Tall feature image (portrait) beside text */
.feature-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.feature-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow); aspect-ratio: 3 / 4; background: var(--c-tint-2); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-copy h2 { font-size: clamp(22px, 2.8vw, 32px); margin: 0 0 14px; }
.feature-copy p { color: var(--c-sage); }

/* Page hero with background photo */
.page-hero-photo { position: relative; background: var(--c-primary); overflow: hidden; }
.page-hero-photo .page-hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32;
}
.page-hero-photo .container { position: relative; z-index: 1; }

/* Process step with image */
.process-with-images .process-step { padding: 0; overflow: hidden; }
.process-step-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-tint-2); }
.process-step-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.process-step:hover .process-step-img img { transform: scale(1.04); }
.process-step-body { padding: 22px; }

/* Project card with image */
.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-tint-2); }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.project-card:hover .project-card-img img { transform: scale(1.05); }
.project-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }

/* Why strip with image */
.why-strip { position: relative; }
.why-strip-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow); aspect-ratio: 3 / 4; background: var(--c-tint-2); }
.why-strip-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Reason card with image header */
.reason-card { padding: 0; overflow: hidden; }
.reason-card-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-tint-2); }
.reason-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reason-card-body { padding: 24px; }
.reason-card-body .value-icon { margin-bottom: 12px; }

/* Value card with image */
.value-card-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--c-tint-2); margin: -1px -1px 0; }
.value-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.value-card { padding: 0; overflow: hidden; }
.value-card-body { padding: 24px; }

/* Gallery strip (small set of images) */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-strip figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); aspect-ratio: 1 / 1; background: var(--c-tint-2); }
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-strip figure:hover img { transform: scale(1.05); }

/* ----- Cards ----- */
.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.service-card, .value-card, .reason-card, .project-card {
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover, .value-card:hover, .reason-card:hover, .project-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-secondary);
}
.service-icon { margin-bottom: 18px; }
.service-card-title { font-size: 22px; margin: 0 0 10px; }
.service-card-text { color: var(--c-sage); margin: 0 0 18px; font-size: 16px; }
.link-arrow { color: var(--c-primary); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow span { transition: transform .18s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover span { transform: translateX(4px); }

.value-card h3, .reason-card h3 { font-size: 20px; margin: 0 0 8px; }
.value-card p, .reason-card p { color: var(--c-sage); margin: 0; font-size: 16px; }
.value-icon { margin-bottom: 16px; }

/* ----- Why strip ----- */
.why-strip { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.why-stats { list-style: none; padding: 28px; margin: 0; background: var(--c-tint); border: 1px solid var(--c-line); border-radius: var(--radius); display: grid; gap: 22px; }
.why-stats li { display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--c-line); padding-bottom: 18px; }
.why-stats li:last-child { border-bottom: none; padding-bottom: 0; }
.why-stats strong { font-family: var(--font-head); font-size: 30px; color: var(--c-primary); }
.why-stats span { color: var(--c-sage); font-size: 15px; }

/* ----- Process ----- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px; position: relative; }
.process-num {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border-radius: 50%; background: var(--c-primary); color: #fff; font-family: var(--font-head);
    font-weight: 700; font-size: 18px; margin-bottom: 16px;
}
.process-title { font-size: 19px; margin: 0 0 8px; }
.process-detail { color: var(--c-sage); margin: 0; font-size: 15px; }

/* ----- Project cards ----- */
.project-card-full { display: flex; flex-direction: column; }
.project-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.project-tag { background: var(--c-primary); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; letter-spacing: 0.03em; }
.project-sector { color: var(--c-sage); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.project-title { font-size: 20px; margin: 0 0 4px; }
.project-loc { color: var(--c-brown); font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.project-text { color: var(--c-sage); font-size: 15px; margin: 0 0 16px; flex: 1; }
.project-outcome { border-top: 1px solid var(--c-line); padding-top: 14px; }
.project-outcome-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-secondary); display: block; margin-bottom: 6px; }
.project-outcome p { margin: 0; font-size: 15px; color: var(--c-ink); }

/* ----- CTA band ----- */
.cta-band { background: var(--c-brown); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-title { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.cta-text { color: rgba(255,255,255,0.85); margin: 0; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ----- Page hero (interior) ----- */
.page-hero { background: var(--c-primary); color: #fff; padding: 56px 0 56px; }
.page-hero .eyebrow { color: var(--c-secondary); }
.page-title { color: #fff; font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 16px; max-width: 820px; }
.page-lead { color: rgba(255,255,255,0.88); font-size: 19px; max-width: 720px; margin: 0; }

/* ----- Two column prose ----- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.prose p { color: var(--c-sage); }
.prose strong { color: var(--c-primary); }
.sub-head { font-size: 20px; margin: 26px 0 12px; }

/* ----- Tick list ----- */
.tick-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.tick-list li { position: relative; padding-left: 34px; color: var(--c-ink); }
.tick-list li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--c-secondary);
}
.tick-list li::after {
    content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 10px;
    border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

/* ----- Service detail (services page) ----- */
.service-detail { display: grid; grid-template-columns: 0.35fr 0.65fr; gap: 40px; align-items: start; }
.service-detail-art { display: flex; justify-content: center; }
.service-detail-icon {
    width: 120px; height: 120px; border-radius: 24px; background: var(--c-tint);
    border: 1px solid var(--c-line); display: flex; align-items: center; justify-content: center;
}
.service-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 22px 0; padding: 22px; background: var(--c-tint); border: 1px solid var(--c-line); border-radius: var(--radius); }
.service-meta-item { display: flex; flex-direction: column; gap: 4px; }
.service-meta-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-secondary); }
.service-meta-value { color: var(--c-ink); font-size: 16px; }

/* ----- Cred note ----- */
.cred-note { background: var(--c-tint); border: 1px solid var(--c-line); border-left: 5px solid var(--c-secondary); border-radius: var(--radius); padding: 36px; max-width: 820px; margin: 0 auto; }
.cred-note p { color: var(--c-sage); }

/* ----- Contact ----- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--c-tint); border: 1px solid var(--c-line); display: flex; align-items: center; justify-content: center; }
.contact-label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-sage); margin-bottom: 2px; }
.contact-list a { color: var(--c-primary); font-weight: 600; }
.contact-hours { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--c-line); }
.contact-hours h3 { font-size: 18px; margin: 0 0 12px; }
.contact-steps { list-style: decimal; padding-left: 20px; margin: 0; color: var(--c-sage); }
.contact-steps li { margin-bottom: 6px; }

.contact-form-wrap { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-title { font-size: 24px; margin: 0 0 22px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; color: var(--c-ink); }
.req { color: var(--c-secondary); }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 16px;
    color: var(--c-ink); background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--radius-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--c-secondary); box-shadow: 0 0 0 3px rgba(83,139,43,0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B23A1E; background: #FBEEEA; }
.field-error { color: #B23A1E; font-size: 13px; margin-top: 5px; display: none; }
.field.invalid .field-error { display: block; }
.form-note { color: var(--c-sage); font-size: 13px; margin: 14px 0 0; text-align: center; }

.form-success { background: var(--c-tint); border: 1px solid var(--c-line); border-left: 5px solid var(--c-secondary); border-radius: var(--radius); padding: 32px; }
.form-success h2 { font-size: 24px; margin: 0 0 10px; }
.form-success p { color: var(--c-sage); margin: 0 0 16px; }

/* ----- Footer ----- */
.site-footer { background: var(--c-primary); color: rgba(255,255,255,0.85); padding: 56px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo { width: auto; height: 56px; max-width: 100%; display: block; }
.footer-brand-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: #fff; }
.footer-tagline { color: rgba(255,255,255,0.8); margin: 0 0 6px; }
.footer-loc { color: var(--c-secondary); font-weight: 600; margin: 0; }
.footer-heading { color: #fff; font-size: 16px; font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.82); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.footer-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-secondary); font-weight: 600; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-bottom p { margin: 0; }

/* ----- WhatsApp FAB ----- */
.whatsapp-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 60px; height: 60px; border-radius: 50%; background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0,0,0,0.15);
    transition: transform .18s ease, background-color .18s ease;
}
.whatsapp-fab:hover { background: #1FB855; transform: scale(1.06); text-decoration: none; }
.whatsapp-fab::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid #25D366;
    animation: wa-pulse 2.4s ease-out infinite; pointer-events: none;
}
.whatsapp-fab.is-dismissed::before { animation: none; opacity: 0; }
@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    70% { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}
.whatsapp-tooltip {
    position: absolute; right: 72px; top: 50%; transform: translateY(-50%);
    background: var(--c-primary); color: #fff; font-size: 14px; font-weight: 600;
    padding: 8px 14px; border-radius: 8px; white-space: nowrap;
    box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.whatsapp-tooltip::after {
    content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
    border: 6px solid transparent; border-left-color: var(--c-primary);
}
.whatsapp-fab.is-tooltip-visible .whatsapp-tooltip { opacity: 1; }

/* ----- Responsive -----
   Breakpoint strategy:
     980px — tablet / small laptop: multi-col → 2-col
     820px — large phone landscape: hamburger nav
     680px — phone: image cards stay 2-col, text grids → 1-col
     560px — small phone: process → 1-col, tighter spacing
     420px — tiny phone: everything 1-col, minimal padding
   ----- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-art { order: -1; }
    .hero-svg { max-width: 420px; }
    .hero-photo { max-width: 380px; }
    .why-strip { grid-template-columns: 1fr; gap: 28px; }
    .why-strip-photo { max-width: 420px; aspect-ratio: 3 / 4; }
    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .service-detail { grid-template-columns: 1fr; gap: 24px; }
    .service-detail-art { justify-content: flex-start; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .media-block { grid-template-columns: 1fr; }
    .media-block.reverse { direction: ltr; }
    .feature-row { grid-template-columns: 1fr; gap: 28px; }
    .feature-photo { max-width: 460px; aspect-ratio: 4 / 3; }
    .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
        flex-direction: column; align-items: stretch; gap: 0; padding: 16px 24px 28px;
        border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
        transform: translateY(-130%); transition: transform .28s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .primary-nav.is-open { transform: translateY(0); }
    .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .primary-nav ul li { border-bottom: 1px solid var(--c-line); }
    .primary-nav ul a { display: block; padding: 14px 4px; font-size: 17px; }
    .primary-nav a.is-active::after { display: none; }
    .nav-cta { margin: 18px 0 0; width: 100%; }
}

@media (max-width: 680px) {
    .section { padding: 48px 0; }
    .hero { padding: 40px 0 52px; }
    .page-hero { padding: 40px 0; }
    .cta-band { padding: 40px 0; }

    /* Text-heavy grids → 1-col (need width for readability) */
    .card-grid-2 { grid-template-columns: 1fr; }
    .service-meta { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .two-col { gap: 28px; }

    /* Image-forward grids STAY 2-col to reduce scroll debt */
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .process { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .gallery-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Footer stays 2-col on phones */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }

    .cta-inner { flex-direction: column; align-items: flex-start; }
    .hero-cta .btn, .cta-actions .btn { width: 100%; }
    .contact-form-wrap, .cred-note { padding: 24px; }
    .media-block-body { padding: 24px; }

    /* Wider aspect ratios for photos to reduce height on mobile */
    .hero-photo { max-width: 100%; aspect-ratio: 4 / 3; }
    .why-strip-photo { max-width: 100%; aspect-ratio: 4 / 3; }
    .feature-photo { max-width: 100%; aspect-ratio: 4 / 3; }

    /* Tighter card padding when 2-col */
    .process-step-body { padding: 16px; }
    .project-card-body { padding: 16px; }
    .reason-card-body { padding: 18px; }
    .value-card-body { padding: 18px; }
    .service-card { padding: 22px; }

    /* Slightly smaller headings in 2-col cards */
    .process-title { font-size: 17px; }
    .project-title { font-size: 18px; }
    .reason-card-body h3, .value-card-body h3 { font-size: 18px; }

    /* On small screens, let the wide logo scale by available width instead of fixed height */
    .brand { flex: 1 1 auto; min-width: 0; }
    .brand-logo { height: auto; max-height: var(--header-h); max-width: 100%; }
    .whatsapp-fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
    .whatsapp-fab svg { width: 26px; height: 26px; }
}

@media (max-width: 560px) {
    .section { padding: 40px 0; }
    .hero { padding: 32px 0 44px; }
    .page-hero { padding: 32px 0; }
    .cta-band { padding: 32px 0; }

    /* Process steps → 1-col (text too cramped at 2-col on narrow phones) */
    .process { grid-template-columns: 1fr; gap: 16px; }
    .process-step-body { padding: 20px; }
    .process-title { font-size: 19px; }

    /* Image cards stay 2-col (compact enough) */
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .container { padding: 0 20px; }
    .section-head { margin-bottom: 32px; }
    .hero-lead { font-size: 17px; }
    .page-lead { font-size: 17px; }
    .contact-form-wrap, .cred-note, .form-success { padding: 20px; }
    .media-block-body { padding: 20px; }
    .service-card { padding: 20px; }
}

@media (max-width: 420px) {
    .container { padding: 0 16px; }
    .section { padding: 36px 0; }
    .hero { padding: 28px 0 40px; }
    .page-hero { padding: 28px 0; }
    .cta-band { padding: 28px 0; }

    /* Everything to 1-col on the smallest phones */
    .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; gap: 16px; }
    .gallery-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }

    .hero-title { font-size: 30px; }
    .page-title { font-size: 26px; }
    .section-title { font-size: 24px; }
    .btn-lg { padding: 13px 20px; font-size: 16px; }
    .hero-photo { aspect-ratio: 16 / 10; }
    .why-strip-photo { aspect-ratio: 16 / 10; }
    .feature-photo { aspect-ratio: 16 / 10; }

    /* Restore normal card padding since everything is 1-col now */
    .process-step-body { padding: 22px; }
    .project-card-body { padding: 22px; }
    .reason-card-body { padding: 22px; }
    .value-card-body { padding: 22px; }
    .process-title { font-size: 19px; }
    .project-title { font-size: 20px; }
    .reason-card-body h3, .value-card-body h3 { font-size: 20px; }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .whatsapp-fab::before { display: none; }
}
