/* ==========================================================================
   JARDINES EDÉN - SYSTEM DESIGN & PREMIUM STYLES
   ========================================================================== */

/* 1. VARIABLES & DESIGN TOKENS */
:root {
    /* Color Palette (Logo Gradient Emerald/Lime + White) */
    --color-primary-dark: #071109;      /* Logo black with a deep green undertone */
    --color-primary: #1f7d35;           /* Strong emerald-green from logo */
    --color-primary-hover: #145725;     /* Deepened emerald */
    --color-primary-light: #58bd68;     /* Vibrant leaf green from logo */
    --color-primary-lightest: #f3faf4;  /* Soft emerald wash background */
    --color-accent: #9de5a4;            /* Luminous glowing green from logo */
    --color-accent-hover: #7ac180;
    --color-whatsapp: #25D366;          /* WhatsApp green */
    --color-whatsapp-hover: #20ba59;
    --color-whatsapp-light: #e6f7ed;
    --color-ink: #050805;
    --color-surface: #f8fbf7;
    --color-text-dark: #121412;         /* Pitch black-green for high contrast readability */
    --color-text-muted: #4e5550;        /* Soft olive grey for body copies */
    --color-bg: #ffffff;                /* Pure clean white background as requested */
    --color-bg-white: #ffffff;
    --color-border: #e2e8e3;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Shadows & Glows */
    --shadow-sm: 0 5px 18px rgba(7, 17, 9, 0.05);
    --shadow-md: 0 14px 32px rgba(7, 17, 9, 0.09);
    --shadow-lg: 0 24px 52px rgba(7, 17, 9, 0.12);
    --shadow-premium: 0 34px 80px -28px rgba(7, 17, 9, 0.55);
    --shadow-glow: 0 0 25px rgba(82, 184, 104, 0.35); /* Glowing logo gradient effect */
    --shadow-glow-soft: 0 0 20px rgba(82, 184, 104, 0.15);

    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transitions & Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* 2. BASE & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background:
        linear-gradient(180deg, #ffffff 0%, var(--color-surface) 48%, #ffffff 100%);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* 3. UTILITIES & LAYOUT */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-header {
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-hover);
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(157, 229, 164, 0.22), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(31, 125, 53, 0.12);
    border-radius: var(--radius-full);
}

.section-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-ink);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-description {
    font-size: 16px;
    color: var(--color-text-muted);
}

/* Scroll Animation Classes (Fail-safe: Visible by default) */
.reveal {
    opacity: 1;
    transform: none;
}

/* Only apply scroll animations if JavaScript executes successfully and adds body.js-active */
body.js-active .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.js-active .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

body.js-active .delay-1 { transition-delay: 0.15s; }
body.js-active .delay-2 { transition-delay: 0.3s; }
body.js-active .delay-3 { transition-delay: 0.45s; }

/* 4. BUTTONS & UI ELEMENTS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
    border: 2px solid transparent;
    min-width: 0;
    text-align: center;
}

.btn span {
    min-width: 0;
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn .icon-whatsapp {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: var(--color-bg-white);
    box-shadow: 0 12px 24px rgba(31, 125, 53, 0.18);
}

.main-header .btn-primary {
    border-color: rgba(157, 229, 164, 0.18);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3), 0 0 20px rgba(82, 184, 104, 0.12);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: linear-gradient(135deg, var(--color-whatsapp) 0%, #159c48 100%);
    color: var(--color-bg-white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.66);
    border-color: rgba(31, 125, 53, 0.22);
    color: var(--color-primary-dark);
}

.btn-outline:hover {
    background-color: var(--color-primary-lightest);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* 4.5 ANNOUNCEMENT / PROMO BAR */
.promo-bar {
    position: relative;
    z-index: 1001;
    background:
        radial-gradient(120% 200% at 100% 0%, rgba(157, 229, 164, 0.18) 0%, transparent 60%),
        linear-gradient(90deg, #0a1a0e 0%, #112d18 50%, #0a1a0e 100%);
    color: #ffffff;
    overflow: hidden;
    border-bottom: 1px solid rgba(157, 229, 164, 0.15);
    animation: promoSlideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes promoSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.promo-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 60%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(157, 229, 164, 0.18) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: promoShine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes promoShine {
    0%, 100% { left: -50%; opacity: 0; }
    50% { left: 110%; opacity: 1; }
}

.promo-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: var(--font-display);
    font-size: 13.5px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.promo-bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #2a9444 0%, #1f7d35 100%);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 75, 30, 0.45), 0 0 0 1px rgba(157, 229, 164, 0.25);
    flex-shrink: 0;
}

.promo-bar-text {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.promo-bar-text strong {
    color: var(--color-accent);
    font-weight: 700;
}

.promo-bar-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(157, 229, 164, 0.3);
    border-radius: 999px;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.promo-bar-cta:hover {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    border-color: var(--color-accent);
    transform: translateY(-1px);
}

.promo-bar-cta svg { transition: transform 0.3s ease; }
.promo-bar-cta:hover svg { transform: translateX(3px); }

.promo-bar-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    transition: background 0.2s ease, color 0.2s ease;
}

.promo-bar-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.promo-bar.is-closed {
    display: none;
}

@media (max-width: 720px) {
    .promo-bar-inner {
        padding: 8px 40px 8px 14px;
        gap: 8px;
        font-size: 12.5px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .promo-bar-badge {
        padding: 3px 8px;
        font-size: 10px;
    }
    .promo-bar-text {
        flex: 1;
        min-width: 0;
        font-size: 12.5px;
        line-height: 1.25;
    }
    .promo-bar-cta {
        padding: 5px 10px;
        font-size: 12px;
        flex-shrink: 0;
    }
    .promo-bar-cta svg { display: none; }
    .promo-bar-close { right: 8px; width: 24px; height: 24px; }
}

@media (max-width: 460px) {
    .promo-bar-inner { gap: 6px; padding: 7px 36px 7px 10px; }
    .promo-bar-badge svg { display: none; }
    .promo-bar-text { font-size: 12px; }
    .promo-bar-text strong:last-of-type { display: none; } /* hide "primer servicio" repetición */
    .promo-bar-cta { padding: 4px 9px; font-size: 11.5px; }
}

/* HERO PROMO BADGE — destacado dentro del hero */
.hero-promo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 22px 12px 14px;
    margin: 0 0 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(157, 229, 164, 0.35);
    border-radius: 999px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 18px 38px -10px rgba(0, 0, 0, 0.4),
        0 0 28px rgba(82, 184, 104, 0.18);
    color: #ffffff;
    text-align: left;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    z-index: 1;
    pointer-events: none;
}

.hero-promo:hover {
    transform: translateY(-2px);
    border-color: rgba(157, 229, 164, 0.55);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 24px 50px -10px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(82, 184, 104, 0.32);
}

.hero-promo:hover::before { left: 130%; }

.hero-promo-discount {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    min-width: 76px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f5d76e 0%, #e8b923 50%, #c08e0e 100%);
    color: #2a1a00;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.02em;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.45) inset,
        0 -1px 0 rgba(0, 0, 0, 0.18) inset,
        0 8px 20px rgba(192, 142, 14, 0.45),
        0 0 0 1px rgba(255, 220, 130, 0.45);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    animation: promoPulse 2.4s ease-in-out infinite;
}

@keyframes promoPulse {
    0%, 100% { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 -1px 0 rgba(0, 0, 0, 0.18) inset, 0 8px 20px rgba(192, 142, 14, 0.45), 0 0 0 1px rgba(255, 220, 130, 0.45), 0 0 0 0 rgba(245, 215, 110, 0.6); }
    50%      { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 -1px 0 rgba(0, 0, 0, 0.18) inset, 0 8px 20px rgba(192, 142, 14, 0.45), 0 0 0 1px rgba(255, 220, 130, 0.45), 0 0 0 14px rgba(245, 215, 110, 0); }
}

.hero-promo-sign {
    font-size: 22px;
    margin-right: 1px;
}

.hero-promo-percent {
    font-size: 16px;
    margin-left: 2px;
    font-weight: 700;
}

.hero-promo-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.hero-promo-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
}

.hero-promo-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.hero-promo-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.hero-promo:hover .hero-promo-arrow {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .hero-promo {
        gap: 12px;
        padding: 10px 16px 10px 10px;
        margin: 18px 0 22px;
        /* Fondo semisólido para que se vea sobre el hero oscuro */
        background: rgba(4, 30, 10, 0.72);
        backdrop-filter: blur(14px) saturate(140%);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        border-color: rgba(157, 229, 164, 0.45);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.1) inset,
            0 12px 28px -8px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(82, 184, 104, 0.18);
    }
    .hero-promo-discount {
        font-size: 22px;
        min-width: 64px;
        padding: 8px 10px;
    }
    .hero-promo-sign { font-size: 18px; }
    .hero-promo-percent { font-size: 14px; }
    .hero-promo-title { font-size: 13.5px; }
    .hero-promo-eyebrow { font-size: 10px; }
    .hero-promo-arrow { width: 24px; height: 24px; }
}

/* Header se separa del promo bar (era fixed con top:20px) */
body.has-promo .main-header {
    top: calc(20px + var(--promo-bar-height, 44px));
}

body.has-promo .main-header.scrolled {
    top: 12px;
}

/* Hero gana padding extra cuando hay promo bar para no quedar pegado al header */
body.has-promo .hero-section {
    padding-top: calc(138px + var(--promo-bar-height, 44px));
}

@media (max-width: 900px) {
    body.has-promo .main-header {
        top: calc(12px + var(--promo-bar-height, 56px));
    }
    body.has-promo .main-header.scrolled {
        top: 8px;
    }
    body.has-promo .nav-menu {
        top: calc(84px + var(--promo-bar-height, 56px));
    }
    body.has-promo .main-header.scrolled ~ * .nav-menu,
    body.has-promo:not(.has-promo) .nav-menu {
        top: 84px;
    }
}

/* 5. HEADER & NAVIGATION — Premium Glass Bar */
.main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1180px;
    z-index: 1000;
    background:
        radial-gradient(120% 200% at 0% 0%, rgba(28, 70, 38, 0.55) 0%, rgba(8, 18, 11, 0.55) 45%, rgba(4, 10, 6, 0.55) 100%),
        linear-gradient(180deg, rgba(8, 18, 11, 0.72) 0%, rgba(4, 10, 6, 0.78) 100%);
    background-blend-mode: overlay, normal;
    backdrop-filter: blur(28px) saturate(170%);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 -1px 0 rgba(0, 0, 0, 0.4) inset,
        0 24px 60px -18px rgba(0, 0, 0, 0.55),
        0 8px 24px -6px rgba(0, 0, 0, 0.4);
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    padding: 0 8px 0 12px;
}

/* Soft top sheen */
.main-header::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 35%),
        radial-gradient(60% 100% at 50% 0%, rgba(157, 229, 164, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Hairline gradient bottom edge */
.main-header::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(157, 229, 164, 0.35) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.main-header > .container { position: relative; z-index: 1; }

.main-header.scrolled {
    top: 12px;
    width: calc(100% - 36px);
    background:
        radial-gradient(120% 200% at 0% 0%, rgba(28, 70, 38, 0.45) 0%, rgba(6, 14, 8, 0.75) 45%, rgba(4, 10, 6, 0.85) 100%),
        linear-gradient(180deg, rgba(6, 14, 8, 0.92) 0%, rgba(3, 8, 5, 0.94) 100%);
    border-color: rgba(157, 229, 164, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 -1px 0 rgba(0, 0, 0, 0.5) inset,
        0 20px 50px -16px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(157, 229, 164, 0.04);
    padding: 0 8px 0 12px;
}

.main-header.scrolled::after { opacity: 1; }

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 24px;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled .header-container {
    height: 62px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    min-width: 0;
    padding: 4px 6px 4px 0;
}

/* Premium logo — natural banner aspect with subtle frame */
.logo-img-file,
.logo-img-file-footer {
    border-radius: 10px;
    background: transparent;
    box-shadow:
        0 0 0 1px rgba(157, 229, 164, 0.16),
        0 6px 18px rgba(0, 0, 0, 0.35);
    transition: var(--transition-smooth);
    mix-blend-mode: screen;
    filter: contrast(1.05) brightness(1.08);
}

.main-header .logo-img-file {
    max-height: 42px !important;
    height: 42px;
    width: auto !important;
    object-fit: contain;
}

.logo:hover { transform: translateY(-1px); }

.logo:hover .logo-img-file {
    filter: contrast(1.05) brightness(1.18) drop-shadow(0 0 10px rgba(82, 184, 104, 0.45));
}

.logo-icon { transition: var(--transition-smooth); }

.logo:hover .logo-icon {
    transform: rotate(12deg) scale(1.08);
    filter: drop-shadow(0 0 8px rgba(82, 184, 104, 0.6));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    transition: var(--transition-smooth);
}

.logo:hover .logo-text {
    text-shadow: 0 0 15px rgba(157, 229, 164, 0.35);
}

.logo-text .accent-text {
    background: linear-gradient(135deg, var(--color-accent) 0%, #d8f5dd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav pill group */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25) inset;
    padding: 4px;
    border-radius: 999px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(235, 240, 235, 0.72);
    letter-spacing: 0.015em;
    position: relative;
    padding: 9px 16px;
    border-radius: 999px;
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-link::after { display: none; }

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(180deg, rgba(31, 125, 53, 0.42) 0%, rgba(20, 87, 37, 0.5) 100%);
    box-shadow:
        0 0 0 1px rgba(157, 229, 164, 0.22) inset,
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 4px 14px rgba(0, 0, 0, 0.3),
        0 0 18px rgba(82, 184, 104, 0.15);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Premium header CTA */
.main-header .btn-header {
    padding: 11px 22px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #2a9444 0%, #1f7d35 50%, #176028 100%);
    color: #ffffff;
    border: 1px solid rgba(157, 229, 164, 0.3);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 -1px 0 rgba(0, 0, 0, 0.25) inset,
        0 6px 18px rgba(15, 75, 30, 0.5),
        0 0 0 1px rgba(0, 0, 0, 0.2);
}

.main-header .btn-header svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header .btn-header:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #34a651 0%, #248a3b 50%, #1c702f 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.25) inset,
        0 -1px 0 rgba(0, 0, 0, 0.25) inset,
        0 10px 24px rgba(15, 75, 30, 0.55),
        0 0 22px rgba(82, 184, 104, 0.25);
}

.main-header .btn-header:hover svg {
    transform: translateX(3px);
}

.main-header .btn-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 70%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    z-index: 1;
    pointer-events: none;
}

.main-header .btn-header:hover::before { left: 130%; }

.main-header .btn-header > * { position: relative; z-index: 2; }

/* Mobile drawer CTA — hidden on desktop, shown inside nav-menu on mobile */
.mobile-cta,
.mobile-cta-divider {
    display: none;
}

/* Refined hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1100;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.mobile-toggle:hover {
    background: rgba(157, 229, 164, 0.08);
    border-color: rgba(157, 229, 164, 0.22);
}

.mobile-toggle .bar {
    width: 18px;
    height: 1.8px;
    background-color: #ffffff;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    transform-origin: center;
}

/* 6. HERO SECTION */
.hero-section {
    position: relative;
    padding-top: 138px;
    padding-bottom: 96px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-primary-dark); /* Dark green fallback for text readability during load */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(5, 8, 5, 0.86) 0%, rgba(5, 8, 5, 0.64) 42%, rgba(5, 8, 5, 0.2) 74%, rgba(5, 8, 5, 0.1) 100%),
        linear-gradient(180deg, rgba(5, 8, 5, 0.18) 0%, rgba(5, 8, 5, 0.02) 45%, rgba(5, 8, 5, 0.86) 100%);
}

/* Floating Leaf Particles */
.leaf-particle {
    display: none;
    position: absolute;
    color: rgba(142, 208, 148, 0.35); /* Glowing logo light green with transparency */
    pointer-events: none;
    z-index: 2;
    animation: floatLeaf 12s ease-in-out infinite alternate;
}

.leaf-particle svg {
    width: 100%;
    height: 100%;
}

.leaf-particle:nth-child(1) { top: 12%; left: 8%; width: 32px; height: 32px; animation-duration: 10s; animation-delay: 0s; }
.leaf-particle:nth-child(2) { top: 58%; left: 4%; width: 24px; height: 24px; animation-duration: 14s; animation-delay: -3s; }
.leaf-particle:nth-child(3) { top: 22%; right: 8%; width: 28px; height: 28px; animation-duration: 12s; animation-delay: -1s; }
.leaf-particle:nth-child(4) { top: 68%; right: 12%; width: 36px; height: 36px; animation-duration: 16s; animation-delay: -5s; }

@keyframes floatLeaf {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0) scale(0.9);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-30px) rotate(60deg) translateX(25px) scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: translateY(-60px) rotate(120deg) translateX(-15px) scale(1);
        opacity: 0.6;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: end;
    gap: 64px;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--color-bg-white);
    max-width: 820px;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(5, 8, 5, 0.54);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 229, 164, 0.28);
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-whatsapp);
    border-radius: var(--radius-full);
    box-shadow: 0 0 8px var(--color-whatsapp);
}

.badge-text {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0;
    margin-bottom: 24px;
    max-width: 800px;
    text-shadow: 0 18px 52px rgba(0, 0, 0, 0.48);
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.94;
    line-height: 1.6;
    margin-bottom: 34px;
    max-width: 680px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px;
}

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.52);
    color: var(--color-bg-white);
    background-color: rgba(5, 8, 5, 0.18);
}

.hero-actions .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-bg-white);
}

.hero-trust-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid rgba(157, 229, 164, 0.22);
    padding-top: 20px;
    max-width: 760px;
}

.trust-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0 24px 0 0;
    margin-right: 24px;
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    backdrop-filter: none;
}

.trust-card:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
}

.trust-card-icon {
    width: 30px;
    height: 30px;
    background-color: rgba(157, 229, 164, 0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.trust-card-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.trust-card-desc {
    font-size: 12.5px;
    opacity: 0.7;
    line-height: 1.4;
}

.hero-badge-float {
    background-color: rgba(5, 8, 5, 0.52);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-sm);
    padding: 22px;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: end;
    border: 1px solid rgba(255, 255, 255, 0.16);
    max-width: 280px;
    transform: translateY(20px);
    position: relative;
    z-index: 2;
}

.hero-badge-circle {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background-color: rgba(157, 229, 164, 0.14);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-badge-content {
    display: flex;
    flex-direction: column;
}

.hero-badge-num {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--color-bg-white);
    line-height: 1;
}

.hero-badge-txt {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    margin-top: 4px;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
}

/* 7. SERVICES SECTION */
.services-section {
    padding: 120px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, var(--color-surface) 100%);
}

.services-section .container {
    max-width: 1600px;
    position: relative;
    z-index: 1;
}

.services-section .section-header {
    max-width: 1320px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
    column-gap: 72px;
    row-gap: 14px;
    align-items: end;
    text-align: left;
    margin-bottom: 56px;
    margin-left: 0;
    margin-right: 0;
}

.services-section .section-subtitle {
    grid-column: 1 / -1;
    justify-self: start;
    margin-bottom: 0;
}

.services-section .section-title {
    margin-bottom: 0;
    max-width: 880px;
}

.services-section .section-description {
    max-width: 560px;
    margin: 0 0 4px 0;
    font-size: 18px;
    line-height: 1.55;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(7, 17, 9, 0.08);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px -22px rgba(7, 17, 9, 0.42), var(--shadow-glow-soft);
    border-color: var(--color-primary-light);
}

.service-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 8, 5, 0) 45%, rgba(5, 8, 5, 0.28) 100%);
    opacity: 0.72;
    pointer-events: none;
}

.service-card-image::before {
    content: '';
    position: absolute;
    inset: auto 18px 18px auto;
    width: 44px;
    height: 2px;
    background: var(--color-accent);
    z-index: 1;
    box-shadow: 0 0 16px rgba(157, 229, 164, 0.75);
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-image img {
    transform: scale(1.06);
}

.service-card-content {
    padding: 24px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background-color: var(--color-primary-lightest);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -52px; /* Floats over the image boundary */
    margin-bottom: 16px;
    box-shadow: 0 8px 16px rgba(15, 37, 20, 0.06);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
    border: 3px solid var(--color-bg-white);
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    transform: translateY(-4px) scale(1.06);
    box-shadow: var(--shadow-glow);
}

.service-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.service-text {
    font-size: 14.5px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.5;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}

.service-link svg {
    transition: var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--color-primary-hover);
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .services-section .section-header {
        display: block;
        max-width: 700px;
        text-align: center;
        margin-bottom: 48px;
        margin-left: auto;
        margin-right: auto;
    }

    .services-section .section-subtitle {
        margin-bottom: 12px;
    }

    .services-section .section-title {
        margin-bottom: 16px;
    }

    .services-section .section-description {
        max-width: none;
        margin: 0;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* 8. GALLERY SECTION */
.gallery-section {
    padding: 120px 0;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7fbf7 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(7, 17, 9, 0.08);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-image-wrapper {
    position: relative;
    padding-top: 132%; /* Portrait ratio for real project photos */
    overflow: hidden;
}

.gallery-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to top, rgba(5, 8, 5, 0.94) 0%, rgba(5, 8, 5, 0.72) 34%, rgba(7, 17, 9, 0.18) 68%, rgba(31, 125, 53, 0.03) 100%);
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition-smooth);
    z-index: 2;
}

.gallery-zoom-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: var(--color-bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(0.8);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-text {
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.gallery-item-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-bg-white);
    margin-bottom: 8px;
}

.gallery-item-category {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: var(--radius-full);
    background: rgba(157, 229, 164, 0.16);
    border: 1px solid rgba(157, 229, 164, 0.22);
    font-size: 13px;
    color: var(--color-primary-light);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery-description {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13.5px;
    line-height: 1.45;
    max-width: 95%;
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    background:
        linear-gradient(to top, rgba(5, 8, 5, 0.97) 0%, rgba(5, 8, 5, 0.76) 38%, rgba(7, 17, 9, 0.24) 72%, rgba(31, 125, 53, 0.08) 100%);
}

.gallery-item:hover .gallery-zoom-icon {
    transform: scale(1);
    opacity: 1;
}

.gallery-item:hover .gallery-text {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 59, 34, 0.98);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 24px;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--color-bg-white);
    font-size: 40px;
    font-weight: 300;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--color-primary-light);
}

.lightbox-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-content img {
    max-height: 80vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-caption {
    color: var(--color-bg-white);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    max-width: 760px;
}

/* 9. WHY CHOOSE US SECTION */
.why-us-section {
    padding: 130px 0;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(31, 125, 53, 0.06) 0%, transparent 55%),
        radial-gradient(80% 60% at 0% 100%, rgba(82, 184, 104, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #f6fbf7 0%, #ffffff 100%);
}

.why-us-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(31, 125, 53, 0.04) 0%, transparent 1.5px),
        radial-gradient(circle at 70% 80%, rgba(31, 125, 53, 0.03) 0%, transparent 1.5px);
    background-size: 32px 32px, 48px 48px;
    z-index: 0;
}

.why-us-container {
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    align-items: center;
    gap: 72px;
    position: relative;
    z-index: 1;
}

.why-us-image {
    position: relative;
}

.image-stack {
    position: relative;
    padding: 18px 18px 70px 18px;
}

.image-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 30px 60px -20px rgba(15, 37, 20, 0.35),
        0 0 0 1px rgba(31, 125, 53, 0.08);
    isolation: isolate;
}

.image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(157, 229, 164, 0.6) 0%, rgba(31, 125, 53, 0.3) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.image-frame-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 30%, rgba(82, 184, 104, 0.25) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    filter: blur(20px);
}

.stack-img-main {
    border-radius: 26px;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
}

/* Floating premium cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: 18px;
    padding: 14px 18px;
    box-shadow:
        0 24px 50px -12px rgba(15, 37, 20, 0.22),
        0 0 0 1px rgba(31, 125, 53, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.7) inset;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
}

.floating-card-coverage {
    top: 32px;
    right: -18px;
    animation: floating 5s ease-in-out infinite;
}

.floating-card-response {
    bottom: 0;
    left: -10px;
    padding: 16px 22px;
    animation: floating 5s ease-in-out infinite 1.5s;
}

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

.floating-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(31, 125, 53, 0.3);
}

.floating-card-pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: pulseDot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-card-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.2;
}

.floating-card-eyebrow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.floating-card-stat {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 2px;
}

.floating-card-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* Content side */
.why-us-content .section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(31, 125, 53, 0.08);
    border: 1px solid rgba(31, 125, 53, 0.14);
    border-radius: 999px;
    color: var(--color-primary-hover);
    font-size: 12px;
    margin-bottom: 18px;
}

.why-us-content .subtitle-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 8px rgba(82, 184, 104, 0.6);
}

.why-us-content .section-title {
    margin-bottom: 18px;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.title-accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-us-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(31, 125, 53, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px -10px rgba(15, 37, 20, 0.08);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(157, 229, 164, 0.5) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: rgba(31, 125, 53, 0.2);
    box-shadow:
        0 20px 40px -16px rgba(15, 37, 20, 0.18),
        0 0 0 1px rgba(82, 184, 104, 0.12),
        0 0 30px rgba(82, 184, 104, 0.08);
}

.feature-item:hover::before { opacity: 1; }

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1f7d35 0%, #145725 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.15) inset,
        0 6px 14px rgba(15, 75, 30, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 10px 22px rgba(15, 75, 30, 0.35),
        0 0 20px rgba(82, 184, 104, 0.3);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 6px;
    line-height: 1.25;
}

.feature-desc {
    font-size: 13.5px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Trust strip */
.why-us-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px dashed rgba(31, 125, 53, 0.18);
}

.trust-strip-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.trust-strip-item svg {
    color: var(--color-primary);
    background: rgba(82, 184, 104, 0.12);
    border-radius: 50%;
    padding: 3px;
    box-sizing: content-box;
    flex-shrink: 0;
}

/* 10. CALL TO ACTION (CTA) */
.cta-section {
    padding: 120px 0;
    background-color: var(--color-primary-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(141, 181, 128, 0.15) 0%, rgba(27, 59, 34, 0) 70%);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-bg-white);
}

.cta-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-main {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.cta-extra {
    margin-top: 24px;
    font-size: 13px;
    opacity: 0.7;
    font-weight: 500;
}

/* Pulse animation for CTA button */
.btn-whatsapp.btn-large {
    position: relative;
}

.btn-whatsapp.btn-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-whatsapp);
    animation: pulsingBtn 2.2s infinite;
    opacity: 0;
    box-sizing: border-box;
}

@keyframes pulsingBtn {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* 11. FOOTER */
.main-footer {
    background-color: #121412;
    color: #a4aaa4;
    padding-top: 80px;
    border-top: 1px solid #1c201d;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #1c201d;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-bg-white);
}

.footer-logo .accent-text {
    color: var(--color-primary-light);
}

.footer-about {
    font-size: 14px;
    line-height: 1.6;
}

.footer-socials {
    margin-top: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-light);
}

.social-link:hover {
    color: var(--color-bg-white);
}

.footer-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-bg-white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-bg-white);
    padding-left: 4px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.contact-info-item svg {
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.footer-badge {
    margin-top: 24px;
    font-size: 12px;
    background-color: #171b18;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--color-primary-light);
    display: inline-block;
    border: 1px solid #202621;
}

.footer-bottom {
    padding: 24px 0;
    background-color: #0c0d0c;
    font-size: 13px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-design {
    color: var(--color-primary-light);
    font-weight: 500;
}

/* 12. FLOATING ACTION WIDGETS (WHATSAPP + INSTAGRAM) */
.floating-actions-bar {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    pointer-events: none; /* Let clicks pass to child buttons */
}

.instagram-floating-btn {
    pointer-events: auto;
    width: 56px;
    height: 56px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: var(--color-bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(214, 36, 159, 0.35);
    transition: var(--transition-smooth);
}

.instagram-floating-btn:hover {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 10px 25px rgba(214, 36, 159, 0.5);
}

.instagram-floating-btn svg {
    width: 28px;
    height: 28px;
}

.whatsapp-floating-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    line-height: 0;
}

.whatsapp-floating-btn {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: var(--color-bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    position: relative;
}

.whatsapp-floating-btn svg {
    width: 32px;
    height: 32px;
}

.whatsapp-floating-btn:hover {
    background-color: var(--color-whatsapp-hover);
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.wa-badge-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    border: 2px solid var(--color-whatsapp);
    animation: floatPulse 2s infinite;
    pointer-events: none;
}

@keyframes floatPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-tooltip {
    pointer-events: auto;
    line-height: normal;
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    right: calc(100% + 14px);
    bottom: 0;
    max-width: 280px;
    transform: scale(0.92) translateX(10px);
    transform-origin: right bottom;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.whatsapp-tooltip.active {
    transform: scale(1) translateX(0);
    opacity: 1;
    visibility: visible;
}

@media (hover: hover) and (pointer: fine) {
    .whatsapp-floating-wrapper:hover .whatsapp-tooltip,
    .whatsapp-floating-wrapper:focus-within .whatsapp-tooltip {
        transform: scale(1) translateX(0);
        opacity: 1;
        visibility: visible;
    }
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: 22px;
    right: -8px;
    width: 16px;
    height: 16px;
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    transform: rotate(45deg);
}

.tooltip-avatar {
    font-size: 24px;
    background-color: var(--color-primary-lightest);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tooltip-text {
    display: flex;
    flex-direction: column;
}

.tooltip-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.tooltip-status {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.3;
    margin-top: 2px;
}

.tooltip-close {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 18px;
    color: var(--color-text-muted);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.tooltip-close:hover {
    opacity: 1;
    color: var(--color-primary-dark);
}

/* Before & After Slider Section */
.transformation-section {
    padding: 120px 0;
    background:
        linear-gradient(180deg, var(--color-surface) 0%, #ffffff 45%, var(--color-primary-lightest) 100%);
    position: relative;
}

.slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    aspect-ratio: 16 / 9;
    user-select: none;
    border: 1px solid rgba(7, 17, 9, 0.1);
}

.slider-container::after {
    content: 'Proyecto destacado';
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 5;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.88);
    color: var(--color-primary-hover);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(7, 17, 9, 0.18);
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.slider-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--slider-pos, 50%)) 0 0);
}

.slider-before .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: var(--slider-pos, 50%);
    width: 4px;
    height: 100%;
    background-color: var(--color-bg-white);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.slider-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    border: 3px solid var(--color-bg-white);
}

.slider-handle-button::before,
.slider-handle-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
}

.slider-handle-button::before {
    border-width: 6px 8px 6px 0;
    border-color: transparent var(--color-bg-white) transparent transparent;
    margin-right: 4px;
}

.slider-handle-button::after {
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent var(--color-bg-white);
    margin-left: 4px;
}

.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 4;
}

.slider-label {
    position: absolute;
    bottom: 24px;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-bg-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    z-index: 3;
}

.slider-label-before {
    left: 24px;
    background-color: rgba(15, 37, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-label-after {
    right: 24px;
    background-color: rgba(34, 130, 58, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(34, 130, 58, 0.3);
}

.real-project-slider {
    max-width: 1180px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(157, 229, 164, 0.18) 0%, rgba(5, 8, 5, 0) 36%),
        linear-gradient(135deg, #050805 0%, #0b2612 56%, #102f18 100%);
    border: 1px solid rgba(157, 229, 164, 0.18);
    box-shadow: var(--shadow-premium);
    color: var(--color-bg-white);
}

.process-slider-viewport {
    position: relative;
    min-height: 560px;
}

.process-slide {
    display: none;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 0;
    min-height: 560px;
}

.process-slide.active {
    display: grid;
}

.process-image-frame {
    min-height: 560px;
    padding: 22px;
    background: rgba(0, 0, 0, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-image-frame img {
    width: 100%;
    height: 100%;
    max-height: 516px;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 26px 68px rgba(0, 0, 0, 0.38);
}

.process-slide-copy {
    padding: 58px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-slide-copy .project-kicker {
    color: var(--color-primary-light);
}

.process-slide-copy h3 {
    font-family: var(--font-display);
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.05;
    margin-bottom: 18px;
    color: var(--color-bg-white);
}

.process-slide-copy p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 16.5px;
    line-height: 1.65;
    margin-bottom: 26px;
}

.process-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.process-tags span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: var(--radius-full);
    background: rgba(157, 229, 164, 0.12);
    border: 1px solid rgba(157, 229, 164, 0.2);
    color: var(--color-primary-light);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.process-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 24px 28px;
}

.process-nav-btn,
.process-dot {
    pointer-events: auto;
}

.process-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-bg-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: var(--transition-smooth);
}

.process-nav-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary-light);
    transform: translateY(-2px);
}

.process-dots {
    display: flex;
    gap: 9px;
}

.process-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.32);
    transition: var(--transition-smooth);
}

.process-dot.active {
    width: 34px;
    background: var(--color-primary-light);
    box-shadow: 0 0 16px rgba(157, 229, 164, 0.52);
}

.before-after-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 42px;
}

.before-after-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(7, 17, 9, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.before-after-card:hover {
    transform: translateY(-6px);
    border-color: rgba(31, 125, 53, 0.26);
    box-shadow: 0 26px 70px -30px rgba(7, 17, 9, 0.44);
}

.before-after-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-primary-dark);
}

.before-after-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.before-after-card:hover .before-after-media > img {
    transform: scale(1.045);
}

.mini-slider {
    cursor: ew-resize;
    user-select: none;
}

.mini-slider-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.mini-slider-layer img {
    position: absolute;
    top: 0;
    width: 200%;
    max-width: none;
    height: 100%;
    object-fit: fill;
    pointer-events: none;
}

.mini-slider-before img {
    left: 0;
}

.mini-slider-after {
    z-index: 2;
    clip-path: inset(0 0 0 var(--slider-pos, 50%));
}

.mini-slider-after img {
    right: 0;
}

.mini-slider-handle {
    position: absolute;
    top: 0;
    left: var(--slider-pos, 50%);
    z-index: 4;
    width: 3px;
    height: 100%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 18px rgba(7, 17, 9, 0.32);
    pointer-events: none;
}

.mini-slider-handle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38px;
    height: 38px;
    transform: translate(-50%, -50%);
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-hover));
    border: 3px solid #ffffff;
    box-shadow: 0 10px 26px rgba(7, 17, 9, 0.34), var(--shadow-glow-soft);
}

.mini-slider-handle span::before,
.mini-slider-handle span::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    transform: translateY(-50%);
}

.mini-slider-handle span::before {
    left: 9px;
    border-width: 5px 7px 5px 0;
    border-color: transparent #ffffff transparent transparent;
}

.mini-slider-handle span::after {
    right: 9px;
    border-width: 5px 0 5px 7px;
    border-color: transparent transparent transparent #ffffff;
}

.before-after-input {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
}

.compare-chip {
    position: absolute;
    top: 14px;
    z-index: 6;
    padding: 6px 11px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.compare-chip-before {
    left: 14px;
    background: rgba(7, 17, 9, 0.72);
}

.compare-chip-after {
    right: 14px;
    background: rgba(31, 125, 53, 0.86);
    box-shadow: 0 0 18px rgba(157, 229, 164, 0.45);
}

.before-after-content {
    padding: 22px;
}

.project-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--color-primary-hover);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.before-after-content h3 {
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 19px;
    line-height: 1.22;
    margin-bottom: 10px;
}

.before-after-content p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* ==========================================================================
   13. RESPONSIVE DESIGN & MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }
    
    .why-us-container {
        gap: 40px;
    }
    
    .cta-title {
        font-size: 36px;
    }

    .before-after-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-slide {
        grid-template-columns: 1fr;
    }

    .process-slider-viewport,
    .process-slide,
    .process-image-frame {
        min-height: auto;
    }

    .process-image-frame {
        height: 560px;
    }

    .process-slide-copy {
        padding: 34px 34px 24px;
    }
}

@media (max-width: 900px) {
    /* Header & Navigation */
    .container {
        width: 100vw;
        max-width: 100vw;
    }

    .main-header {
        top: 12px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
        padding: 0 6px 0 10px;
        border-radius: 999px;
    }

    .main-header.scrolled {
        top: 8px;
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);
    }

    .header-container {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        height: 60px;
        gap: 12px;
    }

    .main-header.scrolled .header-container {
        height: 56px;
    }

    /* En móvil: ocultar logo.jpeg (fondo negro visible) y mostrar SVG + texto */
    .main-header .logo-img-file {
        display: none;
    }
    .main-header #logo-fallback {
        display: flex !important; /* Sobrescribe inline style="display:none" */
        align-items: center;
        gap: 8px;
    }
    .main-header .logo-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
    .logo-text {
        font-size: 16px;
        font-weight: 700;
        letter-spacing: -0.01em;
    }

    .btn-header {
        display: none !important;
    }

    /* Hamburguesa con acento verde premium */
    .mobile-toggle {
        display: flex;
        background: rgba(31, 125, 53, 0.14);
        border-color: rgba(157, 229, 164, 0.25);
        box-shadow: 0 0 0 1px rgba(157, 229, 164, 0.08) inset;
    }
    .mobile-toggle .bar {
        width: 20px;
        height: 2px;
    }

    /* MOBILE NAV PANEL — Premium drawer */
    .nav-menu {
        position: fixed;
        top: 84px;
        left: 50%;
        right: auto;
        width: calc(100% - 20px);
        max-width: 420px;
        height: auto;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        background:
            radial-gradient(120% 100% at 0% 0%, rgba(28, 70, 38, 0.4) 0%, rgba(6, 14, 8, 0.92) 60%),
            linear-gradient(180deg, rgba(6, 14, 8, 0.96) 0%, rgba(3, 8, 5, 0.97) 100%);
        backdrop-filter: blur(28px) saturate(160%);
        -webkit-backdrop-filter: blur(28px) saturate(160%);
        border: 1px solid rgba(157, 229, 164, 0.16);
        border-radius: 24px;
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.06) inset,
            0 30px 70px rgba(0, 0, 0, 0.55),
            0 0 0 1px rgba(0, 0, 0, 0.3);
        z-index: 990;
        padding: 14px;
        transform: translateX(-50%) translateY(-12px) scale(0.97);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform-origin: top center;
        transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .nav-menu.active {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu ul {
        background: transparent;
        border: 0;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        width: 100%;
    }

    .nav-menu .nav-link {
        color: rgba(235, 240, 235, 0.85);
        border-bottom: 0;
        border-radius: 14px;
        padding: 14px 16px;
        font-size: 15px;
        font-weight: 600;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-menu .nav-link::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: rgba(157, 229, 164, 0.25);
        margin-right: 12px;
        transition: background 0.25s ease, box-shadow 0.25s ease;
    }

    .nav-menu .nav-link::after {
        content: '→';
        display: inline-block;
        opacity: 0;
        transform: translateX(-6px);
        transition: opacity 0.25s ease, transform 0.25s ease;
        color: var(--color-accent);
        font-weight: 400;
    }

    .nav-menu .nav-link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.04);
        padding-left: 16px;
    }

    .nav-menu .nav-link:hover::before {
        background: var(--color-accent);
        box-shadow: 0 0 10px rgba(157, 229, 164, 0.6);
    }

    .nav-menu .nav-link:hover::after {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu .nav-link.active {
        color: #ffffff;
        background: linear-gradient(180deg, rgba(31, 125, 53, 0.4) 0%, rgba(20, 87, 37, 0.5) 100%);
        box-shadow:
            0 0 0 1px rgba(157, 229, 164, 0.22) inset,
            0 4px 14px rgba(0, 0, 0, 0.25);
        padding-left: 16px;
    }

    .nav-menu .nav-link.active::before {
        background: var(--color-accent);
        box-shadow: 0 0 12px rgba(157, 229, 164, 0.7);
    }

    /* Mobile CTA inside drawer */
    .mobile-cta-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(157, 229, 164, 0.2) 50%, transparent 100%);
        margin: 2px 4px;
    }

    .nav-menu .mobile-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 14px 18px;
        background: linear-gradient(180deg, #2a9444 0%, #1f7d35 50%, #176028 100%);
        color: #ffffff;
        font-family: var(--font-display);
        font-size: 14.5px;
        font-weight: 700;
        border-radius: 14px;
        border: 1px solid rgba(157, 229, 164, 0.3);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.2) inset,
            0 -1px 0 rgba(0, 0, 0, 0.25) inset,
            0 6px 18px rgba(15, 75, 30, 0.45);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .nav-menu .mobile-cta:active {
        transform: scale(0.98);
    }

    .nav-menu .mobile-cta svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    /* Hamburger → X */
    .mobile-toggle.active {
        background: rgba(157, 229, 164, 0.1);
        border-color: rgba(157, 229, 164, 0.3);
    }

    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Hero layout */
    .hero-container {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: calc(100vw - 48px);
        max-width: min(720px, calc(100vw - 48px));
        min-width: 0;
        justify-self: center;
        overflow: hidden;
    }

    .hero-title,
    .hero-subtitle {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .hero-actions .btn {
        max-width: 100%;
        white-space: normal;
    }

    .hero-actions .btn span {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hero-trust-cards {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
    }
    
    .hero-badge-float {
        justify-self: center;
        transform: translateY(0);
        margin-top: 16px;
    }
    
    /* Why Choose Us Layout */
    .why-us-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-us-image {
        order: 2;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .stack-img-main {
        width: 100%;
    }

    .why-us-content .section-title {
        font-size: 32px;
    }

    .why-us-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .floating-card-coverage {
        top: 20px;
        right: 0;
    }

    .floating-card-response {
        bottom: 10px;
        left: 0;
    }
}

@media (max-width: 520px) {
    .why-us-section { padding: 80px 0; }
    .image-stack { padding: 12px 12px 50px; }
    .floating-card { padding: 10px 14px; gap: 10px; }
    .floating-card-icon { width: 34px; height: 34px; border-radius: 10px; }
    .floating-card-title { font-size: 13px; }
    .floating-card-stat { font-size: 18px; }
    .floating-card-desc { font-size: 11px; }
    .why-us-trust-strip { gap: 8px 16px; }
}

@media (max-width: 768px) {
    /* Sections spacing */
    .services-section,
    .transformation-section,
    .gallery-section,
    .why-us-section,
    .cta-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-section {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-description {
        font-size: 16px;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 30px;
    }

    .real-project-slider {
        border-radius: var(--radius-md);
    }

    .process-image-frame {
        height: 470px;
        padding: 16px;
    }

    .process-slide-copy {
        padding: 28px 22px 20px;
    }

    .process-slide-copy h3 {
        font-size: 28px;
    }

    .process-slide-copy p {
        font-size: 15px;
    }

    .process-slider-controls {
        padding-bottom: 22px;
    }

    .slider-container::after {
        top: 14px;
        left: 14px;
        font-size: 10px;
    }
    
    /* Footer layout */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-container {
        align-items: flex-start !important;
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-header {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        padding: 0 8px 0 12px;
    }

    .header-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    /* Logo-text más compacto en pantallas pequeñas */
    .main-header .logo-text {
        font-size: 15px;
    }
    .main-header .logo-icon {
        width: 28px;
        height: 28px;
    }

    .hero-content,
    .hero-title,
    .hero-subtitle,
    .hero-actions,
    .hero-trust-cards {
        width: min(320px, calc(100vw - 40px)) !important;
        max-width: min(320px, calc(100vw - 40px)) !important;
    }

    .hero-content {
        align-items: flex-start !important;
        text-align: left;
        align-self: flex-start !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .hero-title {
        font-size: 29px;
        line-height: 1.08;
    }

    .hero-subtitle {
        font-size: 15.5px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-actions {
        align-items: stretch;
    }

    .trust-card {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        padding-right: 0;
        border-right: 0;
    }

    .hero-badge-float {
        display: none;
    }

    .floating-actions-bar {
        right: 16px;
        bottom: 20px;
        left: auto;
        align-items: flex-end;
        gap: 10px;
    }

    .instagram-floating-btn {
        display: flex !important; /* Forzar visible en móvil */
        width: 48px;
        height: 48px;
    }

    .instagram-floating-btn svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-floating-btn {
        width: 56px;
        height: 56px;
    }

    .whatsapp-floating-btn svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none !important;
    }
}

@media (max-width: 480px) {
    * {
        min-width: 0;
    }

    body {
        width: 100%;
        max-width: 100%;
    }

    .container {
        width: 100vw;
        max-width: 100vw;
        padding: 0 20px;
    }

    .main-header {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: calc(100% - 16px);
        max-width: calc(100% - 16px);
        padding: 0 6px 0 10px;
    }

    .header-container {
        width: 100%;
        padding: 0;
    }

    .main-header .logo-text {
        font-size: 14px;
    }
    .main-header .logo-icon {
        width: 26px;
        height: 26px;
    }

    .logo-img-file {
        max-width: 126px;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
    }

    .hero-content {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        min-width: 0;
        overflow: hidden;
    }

    .hero-title {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        font-size: 25px;
        line-height: 1.18;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .hero-subtitle {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        overflow-wrap: anywhere;
    }
    
    .hero-actions {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
        white-space: normal;
    }

    .hero-actions .btn span {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hero-trust-cards {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        grid-template-columns: 1fr;
    }

    .trust-card {
        width: 100%;
        max-width: 100%;
    }

    .hero-badge-float {
        width: min(100%, 264px);
    }

    .trust-card-title,
    .trust-card-desc {
        overflow-wrap: anywhere;
    }
    
    .btn-header {
        display: none !important; /* Hide CTA button in header for very small screens, menu toggle is enough */
    }
    
    .whatsapp-floating-wrapper {
        bottom: auto;
        right: auto;
    }
    
    .whatsapp-tooltip {
        right: 0;
        max-width: 250px;
    }

    /* Slider Mobile UI Scale Down */
    .slider-label {
        bottom: 12px;
        padding: 4px 10px;
        font-size: 11px;
    }
    .slider-handle-button {
        width: 38px;
        height: 38px;
        border-width: 2px;
    }
    .slider-handle-button::before { border-width: 4px 5px 4px 0; margin-right: 2px; }
    .slider-handle-button::after { border-width: 4px 0 4px 5px; margin-left: 2px; }

    .compare-chip {
        top: 10px;
        padding: 5px 9px;
        font-size: 10px;
    }

    .compare-chip-before {
        left: 10px;
    }

    .compare-chip-after {
        right: 10px;
    }

    .process-image-frame {
        height: 390px;
    }

    .process-tags span {
        font-size: 10px;
    }

    .process-nav-btn {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   14. SUBPAGE STYLES (SERVICIOS & POR QUÉ ELEGIRNOS)
   ========================================================================== */

/* Subpages Hero Banner */
.subpage-hero {
    position: relative;
    padding: 160px 0 80px 0;
    background-color: var(--color-primary-dark);
    color: var(--color-bg-white);
    text-align: center;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(82, 184, 104, 0.15) 0%, rgba(15, 37, 20, 0) 60%);
    z-index: 1;
}

.subpage-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.subpage-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.subpage-hero-image {
    min-height: 76vh;
    padding: 152px 0 112px 0;
    display: flex;
    align-items: center;
    text-align: left;
}

.subpage-hero-image::before {
    background:
        linear-gradient(90deg, rgba(5, 8, 5, 0.88) 0%, rgba(5, 8, 5, 0.68) 42%, rgba(5, 8, 5, 0.26) 72%, rgba(5, 8, 5, 0.12) 100%),
        linear-gradient(180deg, rgba(5, 8, 5, 0.14) 0%, rgba(5, 8, 5, 0.04) 48%, rgba(5, 8, 5, 0.84) 100%);
}

.subpage-hero-image .subpage-hero-container {
    width: 100%;
    max-width: 1200px;
    text-align: left;
}

.subpage-hero-image .section-subtitle {
    background-color: rgba(5, 8, 5, 0.54);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 229, 164, 0.28);
}

.subpage-hero-image .section-title {
    max-width: 820px;
    font-size: clamp(44px, 5.8vw, 74px);
    line-height: 0.98;
    letter-spacing: 0;
    text-shadow: 0 16px 46px rgba(0, 0, 0, 0.4);
}

.subpage-hero-image .section-description {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.62;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.36);
}

.subpage-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.subpage-hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-bg-white);
    background-color: rgba(5, 8, 5, 0.16);
}

.subpage-hero-actions .btn-outline:hover {
    border-color: var(--color-bg-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.subpage-hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.subpage-hero .section-subtitle {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-accent);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.subpage-hero .section-title {
    color: var(--color-bg-white);
    font-size: 46px;
    margin-bottom: 16px;
}

.subpage-hero .section-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
}

/* Detailed Services Cards Layout in subpage */
.services-detail-section {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.service-detail-block {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 56px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    margin-bottom: 56px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
    transition: var(--transition-smooth);
}

.service-detail-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-detail-block:last-child {
    margin-bottom: 0;
}

.service-detail-block:nth-child(even) {
    grid-template-columns: 1.1fr 0.9fr;
}

.service-detail-block:nth-child(even) .service-detail-image-wrapper {
    order: 2;
}

.service-detail-image-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4/3;
    border: 1px solid var(--color-border);
}

.service-detail-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-detail-block:hover .service-detail-image-wrapper img {
    transform: scale(1.05);
}

.service-detail-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-detail-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary-dark);
}

.service-detail-text {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.service-detail-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 12px 0;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--color-text-dark);
    font-weight: 500;
}

.service-feature-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

/* Stepper layout for Por Qué Elegirnos */
.philosophy-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.philosophy-content .section-title {
    margin-bottom: 24px;
}

.philosophy-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    border: 1px solid var(--color-border);
}

.philosophy-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stepper-section {
    padding: 100px 0;
    background-color: var(--color-primary-lightest);
}

.process-stepper {
    max-width: 800px;
    margin: 56px auto 0;
    position: relative;
}

.process-stepper::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 28px;
    width: 4px;
    height: calc(100% - 48px);
    background-color: var(--color-primary-light);
    z-index: 1;
}

.step-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
    border: 4px solid var(--color-bg-white);
}

.step-content {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-md);
    padding: 28px 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    flex-grow: 1;
}

.step-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   15. RESPONSIVE SUBPAGE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
    .subpage-hero .section-title {
        font-size: 38px;
    }

    .subpage-hero-image {
        min-height: 720px;
        padding: 142px 0 96px 0;
    }

    .subpage-hero-image .section-title {
        font-size: 54px;
    }
}

@media (max-width: 900px) {
    .subpage-hero-image {
        min-height: 700px;
        padding: 136px 0 92px 0;
    }

    .subpage-hero-image .subpage-hero-container {
        max-width: 720px;
    }

    .subpage-hero-image .section-title {
        font-size: 46px;
        line-height: 1.04;
    }

    .subpage-hero-image .section-description {
        font-size: 17px;
    }

    .subpage-hero-why .subpage-hero-bg img {
        object-position: 40% center;
    }

    .service-detail-block,
    .service-detail-block:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px;
    }
    
    .service-detail-block:nth-child(even) .service-detail-image-wrapper {
        order: 0; /* Normalizes layout */
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .philosophy-image-wrapper {
        order: 2;
    }
}

@media (max-width: 768px) {
    .services-detail-section,
    .philosophy-section,
    .stepper-section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .subpage-hero {
        padding: 130px 0 60px 0;
    }

    .subpage-hero-image {
        min-height: 720px;
        padding: 128px 0 84px 0;
    }

    .subpage-hero-image .subpage-hero-container {
        width: min(340px, calc(100vw - 40px)) !important;
        max-width: min(340px, calc(100vw - 40px)) !important;
        padding: 0 !important;
        margin-left: 20px;
        margin-right: auto;
    }
    
    .subpage-hero .section-title {
        font-size: 30px;
    }

    .subpage-hero-image .section-title {
        font-size: 32px;
        line-height: 1.08;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    
    .subpage-hero .section-description {
        font-size: 15px;
    }

    .subpage-hero-image .section-description {
        max-width: 100%;
        font-size: 15.5px;
        overflow-wrap: anywhere;
    }

    .subpage-hero-actions {
        width: 100%;
        align-items: stretch;
        gap: 12px;
    }

    .subpage-hero-actions .btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .subpage-hero-why .subpage-hero-bg img {
        object-position: 35% center;
    }
    
    .service-detail-title {
        font-size: 24px;
    }
    
    .service-detail-features {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        gap: 16px;
    }
    
    .step-number {
        width: 44px;
        height: 44px;
        font-size: 16px;
        border-width: 2px;
    }
    
    .process-stepper::before {
        left: 20px;
    }
    
    .step-content {
        padding: 20px 24px;
    }
}

/* ==========================================================================
   16. ORGANIC BACKGROUND DECORATORS & NATURAL ANIMATIONS
   ========================================================================== */

/* Organic Fluid Blob Background Shapes */
.organic-shape-decorator {
    position: absolute;
    border-radius: 60% 40% 70% 30% / 50% 60% 30% 70%;
    background: radial-gradient(circle, rgba(142, 208, 148, 0.07) 0%, rgba(34, 130, 58, 0.01) 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
    animation: liquidBlob 16s ease-in-out infinite alternate;
}

.organic-shape-1 {
    width: 450px;
    height: 450px;
    top: 15%;
    left: -150px;
    animation-duration: 20s;
}

.organic-shape-2 {
    width: 600px;
    height: 600px;
    bottom: 20%;
    right: -200px;
    background: radial-gradient(circle, rgba(82, 184, 104, 0.06) 0%, rgba(15, 37, 20, 0) 70%);
    animation-duration: 25s;
    animation-delay: -5s;
}

.organic-shape-3 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 45%;
    background: radial-gradient(circle, rgba(142, 208, 148, 0.05) 0%, rgba(82, 184, 104, 0) 65%);
    animation-duration: 18s;
    animation-delay: -2s;
}

/* Ensure sections holding decorators have relative positioning */
.services-section,
.why-us-section,
.philosophy-section,
.stepper-section,
.services-detail-section {
    position: relative;
    overflow: hidden;
}

@keyframes liquidBlob {
    0% {
        border-radius: 60% 40% 70% 30% / 50% 60% 30% 70%;
        transform: rotate(0deg) scale(0.95) translate(0px, 0px);
    }
    33% {
        border-radius: 53% 47% 43% 57% / 45% 56% 44% 55%;
        transform: rotate(40deg) scale(1.05) translate(20px, -15px);
    }
    66% {
        border-radius: 45% 55% 60% 40% / 58% 38% 62% 42%;
        transform: rotate(-30deg) scale(0.98) translate(-10px, 20px);
    }
    100% {
        border-radius: 60% 40% 70% 30% / 50% 60% 30% 70%;
        transform: rotate(15deg) scale(1.02) translate(0px, 0px);
    }
}

/* Before/After central handle pulse animation */
.slider-handle-button {
    animation: handlePulse 2.5s infinite ease-in-out;
}

@keyframes handlePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(82, 184, 104, 0.5), var(--shadow-glow);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(82, 184, 104, 0), var(--shadow-glow);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(82, 184, 104, 0), var(--shadow-glow);
    }
}

/* Subtle micro-interactions globally */
.step-content {
    transition: var(--transition-smooth);
}

.step-item:hover .step-content {
    transform: translateX(6px);
    box-shadow: 0 12px 24px -6px rgba(15, 37, 20, 0.05), var(--shadow-glow-soft);
    border-color: rgba(82, 184, 104, 0.3);
}

.step-item:hover .step-number {
    transform: scale(1.08);
    background-color: var(--color-primary-hover);
    box-shadow: var(--shadow-glow);
}

/* (feature-item overrides moved to main why-us block above) */

/* ==========================================================================
   15. STATS SECTION (ANIMATED COUNTERS)
   ========================================================================== */

.stats-section {
    padding: 64px 0;
    background: linear-gradient(180deg, var(--color-primary-lightest) 0%, #ffffff 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 760px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    border-right: 1px solid var(--color-border);
    position: relative;
}

.stat-item:last-child {
    border-right: 0;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    border-radius: 999px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover::before { opacity: 1; }

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.01em;
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    .stat-item {
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
        padding: 24px 16px;
    }
    .stat-item:last-child { border-bottom: 0; }
}

/* ==========================================================================
   16. COVERAGE / MAP SECTION
   ========================================================================== */

.coverage-section {
    padding: 96px 0;
    background: #ffffff;
}

.coverage-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    margin-top: 56px;
}

.coverage-zones-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

.zones-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.zone-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--color-primary-lightest);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-dark);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.zone-tag:hover {
    background: rgba(31, 125, 53, 0.08);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.zone-tag-primary {
    background: linear-gradient(135deg, rgba(31, 125, 53, 0.12) 0%, rgba(88, 189, 104, 0.10) 100%);
    border-color: rgba(31, 125, 53, 0.35);
    color: var(--color-primary);
    font-weight: 600;
}

.zone-tag-more {
    background: linear-gradient(135deg, rgba(82, 184, 104, 0.15) 0%, rgba(157, 229, 164, 0.12) 100%);
    border-color: rgba(82, 184, 104, 0.3);
    color: var(--color-primary);
    font-style: italic;
}

.coverage-note {
    font-size: 13.5px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.coverage-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.coverage-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    line-height: 0;
}

.coverage-map iframe {
    display: block;
    width: 100%;
    border-radius: 0;
}

@media (max-width: 900px) {
    .coverage-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .coverage-map iframe {
        height: 320px;
    }
}

@media (max-width: 600px) {
    .coverage-section { padding: 64px 0; }
    .coverage-layout { margin-top: 36px; }
    .coverage-map iframe { height: 260px; }
}

/* ==========================================================================
   17. COOKIE BANNER (RGPD)
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background:
        linear-gradient(180deg, rgba(4, 12, 6, 0.96) 0%, rgba(3, 9, 5, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-top: 1px solid rgba(157, 229, 164, 0.18);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 16px 24px;
}

.cookie-banner.cookie-banner--visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 260px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13.5px;
    line-height: 1.5;
}

.cookie-banner-text svg {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 1px;
}

.cookie-banner-text p { margin: 0; }

.cookie-link {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-link:hover { color: #ffffff; }

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.75);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.cookie-btn-primary {
    background: linear-gradient(180deg, #2a9444 0%, #1f7d35 100%);
    border-color: rgba(157, 229, 164, 0.3);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 75, 30, 0.4);
}

.cookie-btn-primary:hover {
    background: linear-gradient(180deg, #34a651 0%, #248a3b 100%);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .cookie-banner { padding: 14px 16px; }
    .cookie-banner-inner {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .cookie-banner-text {
        font-size: 13px;
        min-width: 0;
        width: 100%;
    }
    .cookie-banner-text svg { display: none; } /* Quita el icono en móvil para ganar espacio */
    .cookie-banner-actions {
        justify-content: stretch;
        gap: 8px;
    }
    .cookie-btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 13px;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   18. FOOTER LEGAL LINKS
   ========================================================================== */

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--color-accent);
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 600px) {
    .footer-bottom-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ==========================================================================
   19. BLOG PAGE STYLES
   ========================================================================== */

.blog-section {
    padding: 80px 0 96px;
    background: var(--color-surface);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 0;
}

.blog-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(82, 184, 104, 0.3);
}

.blog-card-img-wrap {
    position: relative;
    overflow: hidden;
}

.blog-card-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-photo {
    transform: scale(1.04);
}

.blog-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 999px;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.blog-card-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-card-excerpt {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap 0.25s ease, color 0.2s ease;
}

.blog-card-link:hover {
    color: var(--color-primary-hover);
    gap: 10px;
}

@media (max-width: 900px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-section { padding: 56px 0 72px; }
}

/* Blog article page */
.blog-article-page {
    padding: 56px 0 96px;
    background: #ffffff;
    min-height: 80vh;
}

.blog-article-container {
    max-width: 760px;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.blog-breadcrumb a {
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.blog-breadcrumb a:hover { color: var(--color-primary); }

.blog-breadcrumb span { color: var(--color-text-dark); }

.blog-article-header {
    margin-bottom: 40px;
}

.blog-article-header .blog-card-category {
    position: static;
    display: inline-block;
    margin-bottom: 16px;
}

.blog-article-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.blog-article-body {
    font-size: 16px;
    line-height: 1.75;
    color: #2a2e2b;
}

.blog-article-body h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-border);
}

.blog-article-body h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 28px 0 10px;
}

.blog-article-body p { margin-bottom: 18px; }

.blog-article-body ul {
    padding-left: 22px;
    margin-bottom: 18px;
}

.blog-article-body ul li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.blog-article-lead {
    font-size: 18px;
    color: var(--color-text-muted);
    border-left: 3px solid var(--color-primary-light);
    padding-left: 18px;
    margin-bottom: 28px;
    font-weight: 400;
}

.blog-article-cta {
    margin-top: 48px;
    padding: 28px 32px;
    background: var(--color-primary-lightest);
    border: 1px solid rgba(82, 184, 104, 0.2);
    border-radius: 16px;
    text-align: center;
}

.blog-article-cta p {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 18px;
}

.blog-article-cta .btn {
    margin: 6px;
}

/* ==========================================================================
   20. LEGAL PAGE STYLES
   ========================================================================== */

.legal-page {
    padding: 80px 0 100px;
    background: #ffffff;
}

.legal-container {
    max-width: 800px;
}

.legal-header {
    margin-bottom: 48px;
}

.legal-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 13.5px;
    color: var(--color-text-muted);
}

.legal-body {
    font-size: 15.5px;
    line-height: 1.75;
    color: #2a2e2b;
}

.legal-body h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 36px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.legal-body p { margin-bottom: 14px; }

.legal-body ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.legal-body ul li { margin-bottom: 6px; }

.legal-body a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-body a:hover { color: var(--color-primary-hover); }

.legal-body code {
    font-size: 12.5px;
    background: var(--color-primary-lightest);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 2px 6px;
    color: var(--color-primary);
    word-break: break-all;
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 16px 0 20px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.legal-table th {
    background: var(--color-primary-lightest);
    color: var(--color-text-dark);
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.legal-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.legal-table tr:last-child td { border-bottom: 0; }

.legal-cta {
    margin-top: 48px;
    padding: 28px 32px;
    background: var(--color-primary-lightest);
    border: 1px solid rgba(82, 184, 104, 0.2);
    border-radius: 16px;
    text-align: center;
}

.legal-cta p {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 16px;
}

.legal-cta .btn { margin: 6px; }

@media (max-width: 600px) {
    .legal-page { padding: 56px 0 72px; }
    .legal-cta { padding: 20px 18px; }
    .blog-article-cta { padding: 20px 18px; }
    .blog-article-page { padding: 40px 0 72px; }
}


