/* ==========================================================================
   COOPERATIVA VALLE SALOMITA – Design System v2
   Complete professional redesign: responsive, animated, polished.
   ========================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
    --green-50: #e8f5e9;
    --green-100: #c8e6c9;
    --green-200: #a5d6a7;
    --green-300: #81c784;
    --green-400: #66bb6a;
    --green-500: #43a047;
    --green-600: #388e3c;
    --green-700: #2e7d32;
    --green-800: #1b5e20;
    --green-900: #0d3b12;

    --teal-50: #e0f7fa;
    --teal-100: #b2ebf2;
    --teal-200: #80deea;
    --teal-400: #26c6da;
    --teal-500: #00bcd4;
    --teal-600: #00acc1;
    --teal-700: #0097a7;

    --gray-50: #f8fafb;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;

    --color-primary: var(--green-700);
    --color-primary-dark: var(--green-800);
    --color-accent: var(--teal-600);
    --color-accent-soft: rgba(0, 172, 193, 0.1);
    --color-text: #3d5a47;
    --color-text-light: #5a7265;
    --color-surface: #ffffff;
    --color-bg: #f7faf8;

    --shadow-xs: 0 1px 2px rgba(15, 68, 40, 0.04);
    --shadow-sm: 0 2px 8px rgba(15, 68, 40, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 68, 40, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 68, 40, 0.1);
    --shadow-xl: 0 20px 48px rgba(15, 68, 40, 0.13);

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-full: 999px;

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.2, 0.9, 0.2, 1);
    --duration-fast: 200ms;
    --duration-normal: 320ms;
    --duration-slow: 500ms;

    --header-h: 78px;
    --container-w: 1280px;
    --container-px: 1.75rem;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.03rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.2; color: var(--color-primary-dark); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

/* ---------- 3. LAYOUT ---------- */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ---------- 4. HEADER & NAVIGATION ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-surface);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background var(--duration-normal) ease,
                box-shadow var(--duration-normal) ease,
                border-color var(--duration-normal) ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}
.logo-mark { font-size: 1.6rem; line-height: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-title {
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.01em;
    color: var(--color-primary-dark);
}
.logo-subtitle {
    font-weight: 800;
    font-size: 0.76rem;
    color: var(--color-primary);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.header-nav-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}
.main-nav { display: flex; align-items: center; }
.main-nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.main-nav-list li { white-space: nowrap; }
.main-nav a {
    display: block;
    padding: 0.55rem 0.95rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-light);
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-normal) var(--ease-out);
}
.main-nav a:hover { color: var(--color-primary-dark); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-ctas {
    display: none;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}
.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--duration-normal) ease;
}
.btn-header-outline {
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}
.btn-header-outline:hover {
    background: rgba(46, 125, 50, 0.06);
    color: var(--color-primary-dark);
}
.btn-header-wa {
    background: #25D366;
    color: #fff;
    border: 1.5px solid #25D366;
}
.btn-header-wa:hover {
    background: #20bd5c;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Inicio: transparent header over hero */
body.page-inicio .site-header {
    position: fixed;
    left: 0; right: 0; top: 0;
    background: rgba(13, 59, 18, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
body.page-inicio .site-header.site-header--scrolled {
    background: var(--color-surface);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.page-inicio main { padding-top: var(--header-h); }
body.page-inicio .logo,
body.page-inicio .logo .logo-title,
body.page-inicio .logo .logo-subtitle { color: #fff; }
body.page-inicio .main-nav a { color: rgba(255, 255, 255, 0.9); }
body.page-inicio .main-nav a:hover { color: #fff; }
body.page-inicio .main-nav a::after { background: linear-gradient(90deg, #fff, var(--teal-200)); }
body.page-inicio .btn-header-outline { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
body.page-inicio .btn-header-outline:hover { background: rgba(255, 255, 255, 0.12); }
body.page-inicio .nav-toggle-bar { background: #fff; }

body.page-inicio .site-header.site-header--scrolled .logo,
body.page-inicio .site-header.site-header--scrolled .logo .logo-title { color: var(--color-primary-dark); }
body.page-inicio .site-header.site-header--scrolled .logo .logo-subtitle { color: var(--color-primary); }
body.page-inicio .site-header.site-header--scrolled .main-nav a { color: var(--color-text-light); }
body.page-inicio .site-header.site-header--scrolled .main-nav a:hover { color: var(--color-primary-dark); }
body.page-inicio .site-header.site-header--scrolled .main-nav a::after {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}
body.page-inicio .site-header.site-header--scrolled .btn-header-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
body.page-inicio .site-header.site-header--scrolled .btn-header-outline:hover {
    background: rgba(46, 125, 50, 0.06);
}
body.page-inicio .site-header.site-header--scrolled .nav-toggle-bar { background: var(--color-primary-dark); }

/* ---------- 5. NAV TOGGLE (MOBILE) ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 201;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary-dark);
    border-radius: 1px;
    transition: transform var(--duration-fast) ease, opacity var(--duration-fast) ease;
}
.site-header.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. MOBILE DRAWER ---------- */
.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 340;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-normal) ease;
}
body.nav-drawer-open { overflow: hidden; }
body.nav-drawer-open .nav-drawer-overlay { opacity: 1; pointer-events: auto; }

.nav-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw);
    background: var(--color-surface);
    z-index: 350;
    box-shadow: -6px 0 32px rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-out);
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
}
body.nav-drawer-open .nav-drawer {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}
.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
}
.nav-drawer-logo {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary);
}
.nav-drawer-close {
    width: 44px; height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    color: var(--gray-500);
    border-radius: var(--radius-sm);
    transition: color var(--duration-fast) ease, background var(--duration-fast) ease;
}
.nav-drawer-close:hover { color: var(--color-primary-dark); background: var(--green-50); }
.nav-drawer-list {
    padding: 1rem;
    flex: 1;
    overflow: auto;
}
.nav-drawer-list a {
    display: block;
    padding: 0.7rem 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}
.nav-drawer-list a:hover { background: var(--green-50); color: var(--color-primary-dark); }
.nav-drawer-ctas {
    padding: 1rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.btn-drawer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    transition: all var(--duration-normal) ease;
}
.btn-drawer-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}
.btn-drawer-outline:hover { background: var(--green-50); }
.btn-drawer-wa { background: #25D366; color: #fff; border: none; }
.btn-drawer-wa:hover { background: #20bd5c; }

/* ---------- 7. BUTTONS ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--green-700), var(--green-800));
    color: #fff;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.3);
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) ease;
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(27, 94, 32, 0.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.88rem 1.55rem;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 500;
    font-size: 0.96rem;
    transition: all var(--duration-normal) ease;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.85);
    transform: translateY(-1px);
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    background: #25D366;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--duration-normal) ease;
}
.btn-wa:hover {
    background: #20bd5c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ---------- 8. HERO (INICIO) ---------- */
.hero {
    background:
        linear-gradient(145deg, rgba(13, 59, 18, 0.93) 0%, rgba(27, 94, 32, 0.88) 35%, rgba(0, 130, 143, 0.85) 100%),
        var(--hero-bg-url, none) center/cover no-repeat;
    color: #fff;
    padding: 5rem 0 0;
    min-height: min(85vh, 700px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 172, 193, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(46, 125, 50, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-700), var(--teal-600), var(--green-500));
    pointer-events: none;
    z-index: 4;
}
.hero > .container {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-right: 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: center;
    min-height: min(68vh, 520px);
}
.hero-content {
    max-width: 640px;
    padding: 2.25rem 0 3.25rem;
}

.hero-title {
    font-size: clamp(2.3rem, 4.4vw, 3.45rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #fff;
}
.hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.75;
    color: rgba(230, 245, 240, 0.92);
    max-width: 560px;
    margin-bottom: 0.5rem;
}
.hero-subtitle--muted {
    opacity: 0.92;
    font-size: 0.96rem;
}
.hero-actions {
    margin-top: 1.75rem;
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}
.hero-pills-bar {
    position: relative;
    z-index: 3;
    padding: 0.85rem 0 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.12), transparent);
}
.hero-pills-row {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.pill {
    padding: 0.55rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: #fff;
    backdrop-filter: blur(6px);
    transition: background var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.pill:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.hero-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    margin-right: 0;
}
.hero-socios-image {
    display: block;
    height: auto;
    width: min(100%, 620px);
    max-width: 620px;
    object-fit: contain;
    object-position: right bottom;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.22));
}

/* (hero-stats-bar removed) */
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}
.hero-stat-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-top: 0.2rem;
}

/* ---------- 9. GENERIC SECTIONS ---------- */
.section { padding: 4rem 0; }
.section--alt { background: var(--color-surface); }
.section--light { background: var(--teal-50); }

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-kicker {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: var(--color-primary-dark);
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}
.section-description {
    max-width: 36rem;
    margin: 0.5rem auto 0;
    font-size: 1.02rem;
    line-height: 1.78;
    color: var(--color-text-light);
}

/* ---------- 10. CARDS ---------- */
.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 68, 40, 0.06);
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) ease,
                border-color var(--duration-normal) ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 172, 193, 0.2);
}
.card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.card-icon {
    width: 2.5rem; height: 2.5rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-soft);
    color: var(--color-primary);
    font-size: 1.3rem;
}
.card-title { font-weight: 700; color: var(--color-primary-dark); font-size: 0.95rem; }
.card-text { font-size: 0.9rem; line-height: 1.6; color: var(--color-text-light); }

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

/* Cards with top image */
.card-with-image {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 68, 40, 0.06);
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) ease;
}
.card-with-image:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-with-image .card-image { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--teal-50); }
.card-with-image .card-body { padding: 1.25rem 1.35rem; }

/* ---------- 11. FORMS ---------- */
.contact-form { display: grid; gap: 0.9rem; }
.form-field { display: flex; flex-direction: column; gap: 0.3rem; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--color-primary-dark); }
.form-input,
.form-textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--gray-300);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}
.form-error { color: #dc2626; font-size: 0.8rem; }
.contact-info-block { margin-top: 1.5rem; }
.contact-info-block .card-text { margin: 0.25rem 0; }

/* ---------- 12. IMAGES ---------- */
.img-responsive { max-width: 100%; height: auto; display: block; }
.img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--gray-100);
}
.img-wrap img { width: 100%; height: auto; object-fit: cover; vertical-align: middle; }

/* ---------- 13. TABLES ---------- */
.table-wrap {
    overflow-x: auto;
    margin-top: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 68, 40, 0.08);
}
.org-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.org-table th, .org-table td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--gray-200); }
.org-table thead tr { background: var(--gray-100); }
.org-table tbody tr:hover { background: rgba(46, 125, 50, 0.03); }
.org-table th { font-weight: 600; color: var(--color-primary-dark); }
.org-card { margin-bottom: 1.5rem; }

/* ---------- 14. FOOTER ---------- */
.site-footer {
    background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
    color: #fff;
    padding-top: 0.85rem;
    margin-top: 0;
    box-shadow: inset 0 1px 0 rgba(0, 172, 193, 0.22);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.25rem;
    align-items: start;
    padding-bottom: 1.1rem;
}
.footer-text { margin: 0.15rem 0; font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); line-height: 1.5; }
.footer-contact { display: flex; flex-direction: column; gap: 0.4rem; align-items: flex-start; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.55rem 0;
    text-align: center;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- 15. ANIMATION KEYFRAMES ---------- */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeScale {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes heroImageIn {
    from { opacity: 0; transform: translateX(30px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 172, 193, 0); }
    50% { box-shadow: 0 0 20px 4px rgba(0, 172, 193, 0.08); }
}
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header load animation (inicio) */
body.page-inicio .site-header.site-header--loaded .logo {
    animation: fadeDown 450ms var(--ease-spring) both;
}
body.page-inicio .site-header.site-header--loaded .main-nav-list > li {
    opacity: 0;
    animation: fadeDown 400ms var(--ease-spring) both;
}
body.page-inicio .site-header.site-header--loaded .main-nav-list > li:nth-child(1) { animation-delay: 60ms; }
body.page-inicio .site-header.site-header--loaded .main-nav-list > li:nth-child(2) { animation-delay: 110ms; }
body.page-inicio .site-header.site-header--loaded .main-nav-list > li:nth-child(3) { animation-delay: 160ms; }
body.page-inicio .site-header.site-header--loaded .main-nav-list > li:nth-child(4) { animation-delay: 210ms; }
body.page-inicio .site-header.site-header--loaded .main-nav-list > li:nth-child(5) { animation-delay: 260ms; }
body.page-inicio .site-header.site-header--loaded .main-nav-list > li:nth-child(6) { animation-delay: 310ms; }
body.page-inicio .site-header.site-header--loaded .main-nav-list > li:nth-child(7) { animation-delay: 360ms; }
body.page-inicio .site-header.site-header--loaded .header-ctas {
    animation: fadeDown 400ms var(--ease-spring) both;
    animation-delay: 280ms;
}

/* Hero element animations */
body.page-inicio .hero .hero-title {
    opacity: 0;
    animation: fadeLeft 600ms var(--ease-spring) forwards;
    animation-delay: 100ms;
}
body.page-inicio .hero .hero-subtitle {
    opacity: 0;
    animation: fadeLeft 600ms var(--ease-spring) forwards;
    animation-delay: 220ms;
}
body.page-inicio .hero .hero-actions {
    opacity: 0;
    animation: fadeUp 600ms var(--ease-spring) forwards;
    animation-delay: 340ms;
}
body.page-inicio .hero .hero-pills-bar {
    opacity: 0;
    animation: fadeUp 600ms var(--ease-spring) forwards;
    animation-delay: 440ms;
}
body.page-inicio .hero .hero-image-wrap {
    opacity: 0;
    animation: heroImageIn 800ms var(--ease-spring) forwards;
    animation-delay: 350ms;
}
.hero-socios-image {
    opacity: 0;
    animation: heroImageIn 700ms var(--ease-spring) forwards;
    animation-delay: 200ms;
}

/* Scroll-reveal system */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity var(--duration-slow) var(--ease-out),
        transform var(--duration-slow) var(--ease-spring);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-left  { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal-scale { transform: scale(0.96) translateY(12px); }
.reveal-up    { transform: translateY(20px); }

/* ---------- 16. IDX – INICIO SECTIONS ---------- */
.idx-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}
.idx-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.idx-section > .container { position: relative; z-index: 1; }

.idx-about {
    background: linear-gradient(170deg, #ffffff 0%, #f6faf9 50%, #edf5f3 100%);
}
.idx-about::before {
    background:
        radial-gradient(ellipse at 100% 0%, rgba(0, 172, 193, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 5% 95%, rgba(46, 125, 50, 0.04) 0%, transparent 35%);
}
.idx-about::after {
    content: "";
    position: absolute;
    top: 3rem;
    right: 2rem;
    width: 200px;
    height: 200px;
    border: 2px dashed rgba(0, 172, 193, 0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: rotate-slow 60s linear infinite;
}
.idx-actions {
    background: linear-gradient(170deg, #f7fbff 0%, #eef5fb 50%, #eef7f1 100%);
}
.idx-actions::before {
    background: radial-gradient(ellipse at 0% 20%, rgba(0, 172, 193, 0.05) 0%, transparent 40%);
}
.idx-production {
    background: linear-gradient(170deg, #ffffff 0%, #f4fafd 50%, #f1f8fc 100%);
}
.idx-production::after {
    content: "";
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    width: 160px;
    height: 160px;
    border: 2px dashed rgba(46, 125, 50, 0.08);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: rotate-slow 45s linear infinite reverse;
}
.idx-services {
    background: linear-gradient(170deg, #e9f8f8 0%, #e5f4f4 48%, #dff1f3 100%);
}
.idx-services::before {
    background: radial-gradient(ellipse at 95% 0%, rgba(0, 172, 193, 0.12) 0%, transparent 40%);
}
.idx-services::after {
    content: "";
    position: absolute;
    top: 4rem;
    left: -2rem;
    width: 120px;
    height: 120px;
    border: 2px dashed rgba(0, 172, 193, 0.07);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: rotate-slow 55s linear infinite;
}

/* Section headers */
.idx-section-head {
    max-width: 44rem;
    margin: 0 auto 3.5rem;
    text-align: center;
}
.idx-section-head .section-kicker {
    color: var(--teal-700);
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, rgba(0, 172, 193, 0.08), rgba(46, 125, 50, 0.06));
    border: 1px solid rgba(0, 172, 193, 0.12);
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.idx-section-head .section-title {
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}
.idx-section-head .section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--green-600), var(--teal-600));
    border-radius: 2px;
    margin: 0.6rem auto 0;
}
.idx-section-head .section-description {
    margin: 0 auto;
    max-width: 40rem;
    color: #38505f;
    font-size: 1.02rem;
    line-height: 1.8;
}

/* Two-column layout */
.idx-two-col {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: start;
}
.idx-col-text .section-kicker {
    color: var(--teal-700);
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, rgba(0, 172, 193, 0.08), rgba(46, 125, 50, 0.06));
    border: 1px solid rgba(0, 172, 193, 0.12);
    border-radius: var(--radius-full);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.idx-col-text .section-title {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.18;
}
.idx-col-text .section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--green-600), var(--teal-600));
    border-radius: 2px;
    margin-top: 0.6rem;
}
.idx-lead {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #2f4a55;
    font-weight: 500;
    margin: 0 0 1rem;
}
.idx-body {
    font-size: 0.93rem;
    line-height: 1.7;
    color: #405962;
    margin: 0 0 1.5rem;
}

/* Highlights with icon badges */
.idx-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}
.idx-highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 172, 193, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}
.idx-highlight-item::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--green-600), var(--teal-600));
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}
.idx-highlight-item:hover {
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 172, 193, 0.2);
}
.idx-highlight-item:hover::after { opacity: 1; }
.idx-highlight-icon {
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    background: linear-gradient(135deg, var(--green-50), rgba(0, 172, 193, 0.1));
    color: var(--color-primary);
    box-shadow: 0 2px 6px rgba(0, 172, 193, 0.08);
}
.idx-highlight-text { display: flex; flex-direction: column; gap: 0.1rem; }
.idx-highlight-text strong {
    font-size: 0.88rem;
    color: var(--color-primary-dark);
    font-weight: 700;
}
.idx-highlight-text span {
    font-size: 0.84rem;
    color: #506a74;
    line-height: 1.5;
}

.org-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-full);
    border: none;
    background: linear-gradient(135deg, var(--green-700), var(--teal-700));
    background-size: 200% 200%;
    box-shadow: 0 4px 14px rgba(27, 94, 32, 0.25);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}
.org-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.org-cta:hover::before { left: 100%; }
.org-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(27, 94, 32, 0.35);
    color: #fff;
}

/* Visual column */
.idx-col-visual {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}
.idx-col-visual::before {
    content: "";
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    width: 110px;
    height: 110px;
    border: 2px solid rgba(0, 172, 193, 0.12);
    border-radius: var(--radius-xl);
    pointer-events: none;
    z-index: 0;
    animation: rotate-slow 80s linear infinite;
}
.idx-col-visual::after {
    content: "";
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.idx-img-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 172, 193, 0.12);
    box-shadow: var(--shadow-lg);
    background: var(--gray-100);
    position: relative;
    z-index: 1;
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) ease;
}
.idx-img-frame:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}
.idx-img-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 340px;
    transition: transform 0.6s var(--ease-out);
}
.idx-img-frame:hover img { transform: scale(1.03); }
.idx-value-card {
    background: linear-gradient(135deg, #fff 0%, #f6fffe 100%);
    border: 1px solid rgba(0, 172, 193, 0.12);
    border-radius: var(--radius-xl);
    padding: 1.6rem 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) ease;
}
.idx-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.idx-value-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--green-700), var(--teal-600));
    color: #fff;
    margin-bottom: 0.85rem;
    box-shadow: 0 6px 16px rgba(27, 94, 32, 0.25);
    animation: pulse-glow 3s ease-in-out infinite;
}
.idx-value-card h3 {
    font-size: 1rem;
    color: var(--color-primary-dark);
    margin: 0 0 0.45rem;
    font-weight: 700;
}
.idx-value-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #405962;
    margin: 0;
}

/* Card grid */
.idx-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.idx-card {
    background: #fff;
    border: 1px solid rgba(0, 172, 193, 0.08);
    border-radius: var(--radius-xl);
    padding: 0;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-out),
                box-shadow var(--duration-normal) ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.idx-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green-700), var(--teal-600), var(--green-500));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}
.idx-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15, 68, 40, 0.14), 0 0 0 1px rgba(0, 172, 193, 0.15);
}
.idx-card:hover::before {
    opacity: 1;
    animation: gradient-shift 2s ease infinite;
}
.idx-card:hover .idx-card-icon {
    animation: float 2s ease-in-out infinite;
}
.idx-card-inner {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.idx-card-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--color-accent-soft), rgba(0, 172, 193, 0.08));
    border: 1px solid rgba(0, 172, 193, 0.1);
    margin-bottom: 1.1rem;
    transition: transform var(--duration-fast) ease;
}
.idx-card-tag {
    display: inline-block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.idx-card h3 {
    font-size: 1.05rem;
    color: var(--color-primary-dark);
    margin: 0 0 0.55rem;
    font-weight: 700;
    line-height: 1.3;
}
.idx-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #4a5e65;
    margin: 0;
    flex: 1;
}
.idx-card-thumb {
    border-radius: 0;
    overflow: hidden;
    position: relative;
}
.idx-card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.06), transparent 60%);
    pointer-events: none;
}
.idx-card-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-out);
}
.idx-card:hover .idx-card-thumb img { transform: scale(1.08); }

/* Actions visual row */
.idx-actions-visual {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}
.idx-actions-visual .idx-img-frame {
    max-height: 320px;
}
.idx-actions-visual .idx-img-frame img { max-height: 320px; }
.idx-actions-caption {
    padding: 1.5rem 0;
}
.idx-actions-caption p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #405962;
    margin: 0;
    font-style: italic;
    border-left: 3px solid var(--color-accent);
    padding-left: 1.25rem;
}

/* ---------- CTA final de página: sección clara + tarjeta (todas las páginas) ---------- */
.idx-cta,
.nos-cta-section,
.prod-cta,
.serv-cta,
.proj-cta,
.orgp-cta {
    background: linear-gradient(180deg, #f3f9f6 0%, #dfe9e4 100%);
    padding: 2.25rem 0;
    position: relative;
    overflow: visible;
    margin-bottom: 0;
}

.idx-cta::before,
.idx-cta::after,
.nos-cta-section::before,
.nos-cta-section::after,
.prod-cta::before,
.prod-cta::after,
.serv-cta::before,
.serv-cta::after,
.orgp-cta::before,
.orgp-cta::after,
.proj-cta::before,
.proj-cta::after {
    display: none !important;
}

.idx-cta-content,
.nos-cta-box,
.prod-cta-box,
.serv-cta-box,
.proj-cta-box,
.orgp-cta-box {
    text-align: left;
    max-width: 42rem;
    margin: 0 auto;
    background: #fff;
    border-radius: 1rem;
    padding: 1.4rem 1.3rem 1.25rem;
    border: 1px solid rgba(0, 151, 167, 0.14);
    box-shadow: 0 8px 32px rgba(17, 83, 65, 0.08);
    border-left: 4px solid var(--teal-600);
    position: relative;
    z-index: 1;
}

.idx-cta-content h2,
.nos-cta-box h2,
.prod-cta-box h2,
.serv-cta-box h2,
.proj-cta-box h2,
.orgp-cta-box h2 {
    font-size: clamp(1.28rem, 2.8vw, 1.8rem);
    color: var(--color-primary-dark);
    margin: 0 0 0.55rem;
    font-weight: 800;
    line-height: 1.22;
}

.idx-cta-content > p,
.nos-cta-box > p,
.prod-cta-box > p,
.serv-cta-box > p,
.proj-cta-box > p,
.orgp-cta-box p {
    font-size: 0.93rem;
    color: #3d5c66;
    line-height: 1.64;
    margin: 0 0 1.05rem;
}

.idx-cta-buttons,
.nos-cta-buttons,
.prod-cta-buttons,
.serv-cta-buttons,
.proj-cta-buttons,
.orgp-cta-buttons {
    display: flex;
    gap: 0.55rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.nos-cta-section .nos-btn-alt,
.prod-cta .prod-btn-alt,
.serv-cta .serv-btn-alt,
.proj-cta .proj-btn-alt,
.orgp-cta .orgp-btn-alt {
    border-color: rgba(27, 94, 32, 0.42) !important;
    color: var(--green-800) !important;
    background: #fff !important;
}

.nos-cta-section .nos-btn-alt:hover,
.prod-cta .prod-btn-alt:hover,
.serv-cta .serv-btn-alt:hover,
.proj-cta .proj-btn-alt:hover,
.orgp-cta .orgp-btn-alt:hover {
    background: rgba(46, 125, 50, 0.08) !important;
    border-color: var(--green-700) !important;
    color: var(--green-900) !important;
}

/* ---------- 16b. SHARED INNER-PAGE ENHANCEMENTS ---------- */
/* Kicker pills (shared across all inner pages) */
.nos-section-head .section-kicker,
.nos-origin-text .section-kicker,
.nos-legal-content .section-kicker,
.prod-section-head .section-kicker,
.prod-overview-text .section-kicker,
.serv-section-head .section-kicker,
.serv-why-text .section-kicker,
.serv-benefits-text .section-kicker,
.orgp-section-head .section-kicker,
.orgp-intro-text .section-kicker {
    padding: 0.3rem 0.85rem;
    background: linear-gradient(135deg, rgba(0, 172, 193, 0.08), rgba(46, 125, 50, 0.06));
    border: 1px solid rgba(0, 172, 193, 0.12);
    border-radius: var(--radius-full);
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
    text-transform: uppercase;
}

/* Title underlines (shared across all inner pages) */
.nos-section-head .section-title::after,
.nos-origin-text .section-title::after,
.nos-legal-content .section-title::after,
.prod-section-head .section-title::after,
.prod-overview-text .section-title::after,
.prod-area-content .section-title::after,
.serv-section-head .section-title::after,
.serv-why-text .section-title::after,
.serv-benefits-text .section-title::after,
.serv-detail-content h3::after,
.orgp-section-head .section-title::after,
.orgp-intro-text .section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--green-600), var(--teal-600));
    border-radius: 2px;
    margin-top: 0.55rem;
}

/* Centered section heads get centered underline */
.nos-section-head .section-title::after,
.prod-section-head .section-title::after,
.serv-section-head .section-title::after,
.orgp-section-head .section-title::after {
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced card hover for inner pages */
.nos-value-card:hover,
.serv-card:hover,
.prod-chain-step:hover,
.serv-step:hover,
.orgp-principle:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(15, 68, 40, 0.12), 0 0 0 1px rgba(0, 172, 193, 0.12);
}

/* Icon float on card hover */
.nos-value-card:hover .nos-value-icon,
.serv-card:hover .serv-card-icon,
.serv-step:hover .serv-step-num,
.prod-chain-step:hover .prod-chain-num {
    animation: float 2s ease-in-out infinite;
}

/* Benefit/fact items left accent on hover */
.serv-benefit-item:hover,
.nos-fact:hover {
    border-left: 3px solid var(--teal-600);
    padding-left: calc(1rem - 3px);
}

/* Top gradient bar on card hover (shared) */
.nos-value-card,
.nos-mv-card,
.serv-card,
.serv-step,
.prod-chain-step,
.orgp-principle {
    position: relative;
    overflow: hidden;
}
.nos-value-card::before,
.nos-mv-card::before,
.serv-card::before,
.serv-step::before,
.prod-chain-step::before,
.orgp-principle::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green-600), var(--teal-600), var(--green-600));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-normal) var(--ease-out);
}
.nos-value-card:hover::before,
.nos-mv-card:hover::before,
.serv-card:hover::before,
.serv-step:hover::before,
.prod-chain-step:hover::before,
.orgp-principle:hover::before {
    transform: scaleX(1);
    animation: gradient-shift 3s linear infinite;
}

/* Decorative rotating circles on inner page sections */
.nos-values::after,
.prod-chain::after,
.serv-catalog::after,
.proj-lines::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 160px;
    height: 160px;
    border: 2px dashed rgba(0, 172, 193, 0.08);
    border-radius: 50%;
    animation: rotate-slow 50s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* ---------- 17. NOS – NOSOTROS ---------- */
.nos-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(140deg, rgba(13, 59, 18, 0.9) 0%, rgba(27, 94, 32, 0.84) 40%, rgba(0, 130, 143, 0.82) 100%),
        url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=1600&q=80') center/cover no-repeat;
    color: #fff;
    padding: 5rem 0 4rem;
    border-radius: 0 0 2.5rem 2.5rem;
    overflow: hidden;
}
.nos-hero-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 80%, rgba(0, 172, 193, 0.15) 0%, transparent 55%);
    pointer-events: none;
}
.nos-hero-inner { position: relative; z-index: 1; max-width: 660px; }
.nos-hero-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--teal-100);
    margin-bottom: 0.75rem;
    opacity: 0;
    animation: fadeDown 420ms ease both;
}
.nos-hero-title {
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
    color: #fff;
    opacity: 0;
    animation: fadeLeft 520ms var(--ease-spring) both;
    animation-delay: 100ms;
}
.nos-hero-desc {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #dff0eb;
    max-width: 560px;
    margin: 0 0 2rem;
    opacity: 0;
    animation: fadeLeft 520ms var(--ease-spring) both;
    animation-delay: 200ms;
}
.nos-hero-stats {
    display: flex; gap: 2.5rem;
    opacity: 0;
    animation: fadeUp 520ms var(--ease-spring) both;
    animation-delay: 340ms;
}
.nos-stat { display: flex; flex-direction: column; align-items: flex-start; }
.nos-stat-num { font-size: 1.75rem; font-weight: 800; line-height: 1; color: #fff; }
.nos-stat-label {
    font-size: 0.75rem; color: rgba(255, 255, 255, 0.7);
    margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
}

.nos-section { position: relative; overflow: hidden; }
.nos-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.nos-section > .container { position: relative; z-index: 1; }
.nos-section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.nos-section-head .section-kicker { color: var(--teal-700); }
.nos-section-head .section-title { font-size: clamp(1.65rem, 3vw, 2.15rem); margin-bottom: 0.6rem; }
.nos-section-head > p { font-size: 1rem; line-height: 1.65; color: #38505f; margin: 0; max-width: 42rem; }

.nos-origin { background: linear-gradient(168deg, #fff 0%, #f6faf9 50%, #edf5f3 100%); padding: 5rem 0; }
.nos-origin::before { background: radial-gradient(ellipse at 100% 0%, rgba(0, 172, 193, 0.06) 0%, transparent 50%); }
.nos-origin-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: center; }
.nos-origin-text .section-kicker { color: var(--teal-700); display: block; margin-bottom: 0.4rem; }
.nos-origin-text .section-title { font-size: clamp(1.65rem, 3vw, 2.15rem); margin-top: 0; margin-bottom: 0.85rem; }
.nos-origin-lead { font-size: 1.02rem; line-height: 1.7; color: #2f4a55; font-weight: 500; margin: 0 0 1rem; }
.nos-origin-text p { font-size: 0.93rem; line-height: 1.7; color: #405962; margin: 0 0 0.85rem; }
.nos-origin-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0, 172, 193, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.nos-origin-img:hover { transform: scale(1.02); box-shadow: 0 24px 52px rgba(18, 70, 85, 0.16); }
.nos-origin-img img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }

.nos-mv { background: linear-gradient(168deg, #f7fbff 0%, #eef5fb 50%, #eef7f1 100%); padding: 4.5rem 0; }
.nos-mv::before { background: radial-gradient(ellipse at 50% 0%, rgba(0, 172, 193, 0.04) 0%, transparent 45%); }
.nos-mv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.nos-mv-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    border: 1px solid rgba(0, 172, 193, 0.1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) ease;
}
.nos-mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.nos-mv-icon {
    font-size: 1.6rem; margin-bottom: 0.75rem;
    width: 3rem; height: 3rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-accent-soft); border-radius: var(--radius-md);
}
.nos-mv-card h2 { font-size: 1.15rem; color: var(--color-primary-dark); margin: 0 0 0.6rem; font-weight: 700; }
.nos-mv-card p { font-size: 0.92rem; line-height: 1.7; color: #405962; margin: 0; flex: 1; }

.nos-values { background: linear-gradient(168deg, #fff 0%, #f6faf9 50%, #eef6f4 100%); padding: 5rem 0; }
.nos-values::before { background: radial-gradient(ellipse at 0% 15%, rgba(0, 172, 193, 0.04) 0%, transparent 40%); }
.nos-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.nos-value-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(0, 172, 193, 0.1);
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) ease, border-color var(--duration-normal) ease;
}
.nos-value-card:hover { transform: translateY(-4px); border-color: rgba(0, 172, 193, 0.28); box-shadow: var(--shadow-lg); }
.nos-value-icon {
    font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem;
    background: rgba(46, 125, 50, 0.07); border-radius: var(--radius-md);
    margin-bottom: 0.85rem;
}
.nos-value-card h3 { font-size: 1rem; color: var(--color-primary-dark); margin: 0 0 0.4rem; font-weight: 700; }
.nos-value-card p { font-size: 0.86rem; line-height: 1.6; color: #4a5e65; margin: 0; }

.nos-people { background: linear-gradient(168deg, #f7fbff 0%, #eef5fb 50%, #f1f8fc 100%); padding: 5rem 0; }
.nos-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.nos-mosaic-wide { grid-column: span 2; }
.nos-mosaic-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 172, 193, 0.08);
    background: #eef3f0;
}
.nos-mosaic-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease-out); }
.nos-mosaic-item:hover img { transform: scale(1.06); }
.nos-mosaic-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2.5rem 1.15rem 0.85rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
    color: #fff;
}
.nos-mosaic-label h3 { font-size: 0.9rem; font-weight: 700; margin: 0 0 0.15rem; }
.nos-mosaic-label p { font-size: 0.78rem; margin: 0; opacity: 0.85; line-height: 1.4; }

.nos-legal { background: linear-gradient(168deg, #e9f8f8 0%, #e5f4f4 48%, #dff1f3 100%); padding: 5rem 0; }
.nos-legal::before { background: radial-gradient(ellipse at 95% 0%, rgba(0, 172, 193, 0.1) 0%, transparent 40%); }
.nos-legal-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: start; }
.nos-legal-content .section-kicker { color: var(--teal-700); display: block; margin-bottom: 0.4rem; }
.nos-legal-content .section-title { font-size: clamp(1.6rem, 3vw, 2.05rem); margin-top: 0; margin-bottom: 0.85rem; }
.nos-legal-content > p { font-size: 0.93rem; line-height: 1.7; color: #405962; margin: 0 0 1.5rem; }
.nos-legal-facts { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.5rem; }
.nos-fact {
    display: flex; flex-direction: column; gap: 0.1rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 172, 193, 0.08);
    transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease, background var(--duration-fast) ease;
}
.nos-fact:hover { transform: translateX(4px); background: #fff; box-shadow: var(--shadow-sm); }
.nos-fact-label {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--color-accent); font-weight: 700;
}
.nos-fact-value { font-size: 0.9rem; color: var(--color-primary-dark); font-weight: 600; }
.nos-legal-visual { display: grid; gap: 1.25rem; }
.nos-legal-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 172, 193, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.nos-legal-img:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.nos-legal-img img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 240px; }

/* ---------- 18. PROD – PRODUCCION ---------- */
.prod-hero {
    position: relative; min-height: 380px; display: flex; align-items: center;
    background:
        linear-gradient(140deg, rgba(13, 59, 18, 0.9) 0%, rgba(27, 94, 32, 0.84) 45%, rgba(0, 130, 143, 0.82) 100%),
        url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1600&q=80') center/cover no-repeat;
    color: #fff; padding: 5rem 0 4rem; border-radius: 0 0 2.5rem 2.5rem; overflow: hidden;
}
.prod-hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 80%, rgba(0, 172, 193, 0.12) 0%, transparent 55%); pointer-events: none; }
.prod-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.prod-hero-kicker {
    display: inline-block; text-transform: uppercase; letter-spacing: 0.1em;
    font-size: 0.78rem; font-weight: 700; color: var(--teal-100); margin-bottom: 0.75rem;
    opacity: 0; animation: fadeDown 420ms ease both;
}
.prod-hero-title {
    font-size: clamp(2.3rem, 4.6vw, 3.15rem); font-weight: 800; line-height: 1.12;
    margin: 0 0 1.25rem; letter-spacing: -0.02em; color: #fff;
    opacity: 0; animation: fadeLeft 520ms var(--ease-spring) both; animation-delay: 100ms;
}
.prod-hero-desc {
    font-size: 1.08rem; line-height: 1.75; color: #dff0eb; max-width: 620px; margin: 0 0 2rem;
    opacity: 0; animation: fadeLeft 520ms var(--ease-spring) both; animation-delay: 200ms;
}
.prod-hero-stats {
    display: flex; gap: 2.5rem;
    opacity: 0; animation: fadeUp 520ms var(--ease-spring) both; animation-delay: 340ms;
}
.prod-stat { display: flex; flex-direction: column; }
.prod-stat-num { font-size: 1.75rem; font-weight: 800; line-height: 1; }
.prod-stat-label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

.prod-section { position: relative; overflow: hidden; }
.prod-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.prod-section > .container { position: relative; z-index: 1; }
.prod-section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.prod-section-head .section-kicker { color: var(--teal-700); }
.prod-section-head .section-title { font-size: clamp(1.65rem, 3vw, 2.15rem); margin-bottom: 0.5rem; }
.prod-section-head > p { font-size: 1rem; line-height: 1.65; color: #38505f; margin: 0; max-width: 42rem; }

.prod-overview { background: linear-gradient(168deg, #fff 0%, #f6faf9 50%, #edf5f3 100%); padding: 5rem 0; }
.prod-overview::before { background: radial-gradient(ellipse at 100% 0%, rgba(0, 172, 193, 0.05) 0%, transparent 50%); }
.prod-overview-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: start; }
.prod-overview-text .section-kicker { color: var(--teal-700); display: block; margin-bottom: 0.4rem; }
.prod-overview-text .section-title { font-size: clamp(1.65rem, 3vw, 2.15rem); margin-top: 0; margin-bottom: 0.85rem; }
.prod-lead { font-size: 1.02rem; line-height: 1.7; color: #2f4a55; font-weight: 500; margin: 0 0 1rem; }
.prod-overview-text p { font-size: 0.93rem; line-height: 1.7; color: #405962; margin: 0 0 0.85rem; }
.prod-overview-visual { display: grid; gap: 1.25rem; }
.prod-img-frame {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid rgba(0, 172, 193, 0.12);
    box-shadow: var(--shadow-lg); background: #eef3f0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.prod-img-frame:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.prod-img-frame img { width: 100%; display: block; object-fit: cover; max-height: 240px; }

.prod-area { padding: 4.5rem 0; background: linear-gradient(168deg, #f7fbff 0%, #eef5fb 50%, #eef7f1 100%); }
.prod-area:nth-child(even) { background: linear-gradient(168deg, #fff 0%, #f6faf9 50%, #edf5f3 100%); }
/* prod-area--accent styles moved to section 23 */
.prod-area-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: center; }
.prod-area--reverse .prod-area-grid { grid-template-columns: 1.1fr 0.9fr; direction: rtl; }
.prod-area--reverse .prod-area-grid > * { direction: ltr; }
.prod-area-img {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-xl); border: 1px solid rgba(0, 172, 193, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.prod-area-img:hover { transform: scale(1.02); box-shadow: 0 24px 52px rgba(18, 70, 85, 0.16); }
.prod-area-img img { width: 100%; display: block; object-fit: cover; min-height: 260px; max-height: 360px; }
.prod-area-emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.prod-area-content .section-title { font-size: clamp(1.45rem, 2.8vw, 1.9rem); margin-top: 0; margin-bottom: 0.75rem; }
.prod-area-desc { font-size: 0.98rem; line-height: 1.7; color: #2f4a55; font-weight: 500; margin: 0 0 0.75rem; }
.prod-area-detail { font-size: 0.92rem; line-height: 1.7; color: #405962; margin: 0 0 1rem; }
.prod-area-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.prod-area-list li {
    font-size: 0.86rem; color: #3a5560; padding-left: 1.25rem;
    position: relative; line-height: 1.5;
    transition: transform var(--duration-fast) ease;
}
.prod-area-list li::before {
    content: ""; position: absolute; left: 0; top: 0.45em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent);
}
.prod-area-list li:hover { transform: translateX(3px); }

.prod-chain { background: linear-gradient(168deg, #fff 0%, #f4fafd 50%, #f1f8fc 100%); padding: 5rem 0; }
.prod-chain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.prod-chain-step {
    background: #fff; border-radius: var(--radius-lg);
    padding: 1.65rem 1.35rem;
    border: 1px solid rgba(0, 172, 193, 0.1);
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) ease;
}
.prod-chain-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prod-chain-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.4rem; height: 2.4rem; border-radius: 50%;
    background: linear-gradient(135deg, var(--green-700), var(--teal-600));
    color: #fff; font-size: 0.82rem; font-weight: 800; margin-bottom: 0.85rem;
}
.prod-chain-step h3 { font-size: 1rem; color: var(--color-primary-dark); margin: 0 0 0.4rem; font-weight: 700; }
.prod-chain-step p { font-size: 0.86rem; line-height: 1.6; color: #4a5e65; margin: 0; }

.prod-gallery-section { background: linear-gradient(168deg, #f7fbff 0%, #eef5fb 50%, #eef7f1 100%); padding: 4.5rem 0; }
.prod-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.prod-gallery-item {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-md); border: 1px solid rgba(0, 172, 193, 0.08);
    background: #eef3f0;
}
.prod-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s var(--ease-out); }
.prod-gallery-item:hover img { transform: scale(1.05); }

/* ---------- 19. SERV – SERVICIOS ---------- */
.serv-hero {
    position: relative; min-height: 380px; display: flex; align-items: center;
    background:
        linear-gradient(140deg, rgba(13, 59, 18, 0.9) 0%, rgba(0, 100, 120, 0.86) 50%, rgba(0, 172, 193, 0.82) 100%),
        url('https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?w=1600&q=80') center/cover no-repeat;
    color: #fff; padding: 5rem 0 4rem; border-radius: 0 0 2.5rem 2.5rem; overflow: hidden;
}
.serv-hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 70%, rgba(0, 172, 193, 0.12) 0%, transparent 55%); pointer-events: none; }
.serv-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.serv-hero-kicker {
    display: inline-block; text-transform: uppercase; letter-spacing: 0.1em;
    font-size: 0.78rem; font-weight: 700; color: var(--teal-100); margin-bottom: 0.75rem;
    opacity: 0; animation: fadeDown 420ms ease both;
}
.serv-hero-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 800; line-height: 1.15;
    margin: 0 0 1.25rem; letter-spacing: -0.02em; color: #fff;
    opacity: 0; animation: fadeLeft 520ms var(--ease-spring) both; animation-delay: 100ms;
}
.serv-hero-desc {
    font-size: 1.02rem; line-height: 1.7; color: #dff0eb; max-width: 560px; margin: 0 0 2rem;
    opacity: 0; animation: fadeLeft 520ms var(--ease-spring) both; animation-delay: 200ms;
}
.serv-hero-stats {
    display: flex; gap: 2.5rem;
    opacity: 0; animation: fadeUp 520ms var(--ease-spring) both; animation-delay: 340ms;
}
.serv-stat { display: flex; flex-direction: column; }
.serv-stat-num { font-size: 1.75rem; font-weight: 800; line-height: 1; }
.serv-stat-label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

.serv-section { position: relative; overflow-x: hidden; overflow-y: visible; }
.serv-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.serv-section > .container { position: relative; z-index: 1; }
.serv-section-head { max-width: 46rem; margin-bottom: 1.35rem; }
.serv-section-head .section-kicker { color: var(--teal-700); }
.serv-section-head .section-title { font-size: clamp(1.65rem, 3vw, 2.15rem); margin-bottom: 0.5rem; }
.serv-section-head > p { font-size: 1rem; line-height: 1.65; color: #38505f; margin: 0; max-width: 42rem; }

.serv-why { background: linear-gradient(168deg, #fff 0%, #f6faf9 50%, #edf5f3 100%); padding: 5rem 0; }
.serv-why::before { background: radial-gradient(ellipse at 100% 0%, rgba(0, 172, 193, 0.05) 0%, transparent 50%); }
.serv-why-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center; }
.serv-why-text .section-kicker { color: var(--teal-700); display: block; margin-bottom: 0.4rem; }
.serv-why-text .section-title { font-size: clamp(1.65rem, 3vw, 2.15rem); margin-top: 0; margin-bottom: 0.85rem; }
.serv-lead { font-size: 1.02rem; line-height: 1.7; color: #2f4a55; font-weight: 500; margin: 0 0 1rem; }
.serv-why-text p { font-size: 0.93rem; line-height: 1.7; color: #405962; margin: 0 0 0.85rem; }
.serv-why-visual { display: grid; gap: 1.25rem; }
.serv-img-frame {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid rgba(0, 172, 193, 0.12);
    box-shadow: var(--shadow-lg); background: #eef3f0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.serv-img-frame:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.serv-img-frame img { width: 100%; display: block; object-fit: cover; max-height: 340px; }

.serv-catalog { background: linear-gradient(168deg, #f7fbff 0%, #eef5fb 50%, #eef7f1 100%); padding: 5rem 0; }
.serv-catalog::before { background: radial-gradient(ellipse at 0% 15%, rgba(0, 172, 193, 0.04) 0%, transparent 40%); }
.serv-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.serv-card {
    background: #fff; border: 1px solid rgba(0, 172, 193, 0.1);
    border-radius: var(--radius-lg); padding: 1.65rem 1.4rem;
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) ease, border-color var(--duration-normal) ease;
}
.serv-card:hover { transform: translateY(-4px); border-color: rgba(0, 172, 193, 0.28); box-shadow: var(--shadow-lg); }
.serv-card-icon {
    font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem;
    background: var(--color-accent-soft); border-radius: var(--radius-md); margin-bottom: 0.85rem;
}
.serv-card h3 { font-size: 1.02rem; color: var(--color-primary-dark); margin: 0 0 0.5rem; font-weight: 700; }
.serv-card p { font-size: 0.88rem; line-height: 1.65; color: #4a5e65; margin: 0; flex: 1; }

.serv-details { background: linear-gradient(168deg, #fff 0%, #f6faf9 50%, #edf5f3 100%); padding: 3rem 0; }
.serv-detail-row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 1.75rem; align-items: center; margin-bottom: 2rem; }
.serv-detail-row:last-child { margin-bottom: 0; }
.serv-detail-row--reverse { grid-template-columns: 1.15fr 0.85fr; direction: rtl; }
.serv-detail-row--reverse > * { direction: ltr; }
.serv-detail-img {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(0, 172, 193, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.serv-detail-img:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.serv-detail-img img { width: 100%; display: block; object-fit: cover; min-height: 240px; max-height: 320px; }
.serv-detail-content h3 { font-size: 1.3rem; color: var(--color-primary-dark); margin: 0 0 0.75rem; font-weight: 700; }
.serv-detail-content > p { font-size: 0.93rem; line-height: 1.7; color: #405962; margin: 0 0 1rem; }
.serv-detail-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.serv-detail-list li {
    font-size: 0.86rem; color: #3a5560; padding-left: 1.25rem;
    position: relative; line-height: 1.5;
    transition: transform var(--duration-fast) ease;
}
.serv-detail-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }
.serv-detail-list li:hover { transform: translateX(3px); }

.serv-process { background: linear-gradient(168deg, #f7fbff 0%, #eef5fb 50%, #f1f8fc 100%); padding: 3rem 0; }
.serv-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.serv-step {
    background: #fff; border-radius: var(--radius-lg);
    padding: 1.65rem 1.35rem;
    border: 1px solid rgba(0, 172, 193, 0.1);
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) ease;
}
.serv-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.serv-step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.4rem; height: 2.4rem; border-radius: 50%;
    background: linear-gradient(135deg, var(--green-700), var(--teal-600));
    color: #fff; font-size: 0.82rem; font-weight: 800; margin-bottom: 0.85rem;
}
.serv-step h3 { font-size: 1rem; color: var(--color-primary-dark); margin: 0 0 0.4rem; font-weight: 700; }
.serv-step p { font-size: 0.86rem; line-height: 1.6; color: #4a5e65; margin: 0; }

.serv-benefits { background: linear-gradient(168deg, #fff 0%, #f4fafd 50%, #eef6f4 100%); padding: 5rem 0; }
.serv-benefits::before { background: radial-gradient(ellipse at 95% 0%, rgba(0, 172, 193, 0.05) 0%, transparent 40%); }
.serv-benefits-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: start; }
.serv-benefits-text .section-kicker { color: var(--teal-700); display: block; margin-bottom: 0.4rem; }
.serv-benefits-text .section-title { font-size: clamp(1.55rem, 3vw, 2.05rem); margin-top: 0; margin-bottom: 1.25rem; }
.serv-benefit-items { display: flex; flex-direction: column; gap: 0.85rem; }
.serv-benefit-item {
    display: flex; gap: 0.85rem; align-items: flex-start;
    padding: 0.8rem 1rem; border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 172, 193, 0.06);
    transition: transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease, background var(--duration-fast) ease;
}
.serv-benefit-item:hover { transform: translateX(4px); background: #fff; box-shadow: var(--shadow-sm); }
.serv-benefit-icon {
    font-size: 1.3rem; flex-shrink: 0;
    width: 2.4rem; height: 2.4rem;
    display: flex; align-items: center; justify-content: center;
    background: rgba(46, 125, 50, 0.07); border-radius: var(--radius-sm);
}
.serv-benefit-item strong { display: block; font-size: 0.9rem; color: var(--color-primary-dark); font-weight: 700; margin-bottom: 0.1rem; }
.serv-benefit-item p { font-size: 0.84rem; line-height: 1.55; color: #4a5e65; margin: 0; }

/* ---------- 20. ORGP – ORGANIZACION ---------- */
.orgp-hero {
    position: relative; min-height: 350px; display: flex; align-items: center;
    background: linear-gradient(135deg, #0d3b12 0%, #1b5e20 50%, #16613a 100%);
    overflow: hidden; color: #fff; padding: 5rem 0 3.5rem;
}
.orgp-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(46, 125, 50, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(0, 172, 193, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.orgp-hero-overlay {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1515187029135-18ee286d815b?w=1600&q=80') center/cover no-repeat;
    opacity: 0.1; pointer-events: none;
}
.orgp-hero-inner { position: relative; z-index: 2; max-width: 800px; }
.orgp-hero-kicker {
    display: inline-block; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65); margin-bottom: 0.6rem;
    opacity: 0; animation: fadeDown 420ms ease both;
}
.orgp-hero-title {
    font-size: clamp(1.55rem, 4vw, 2.5rem); font-weight: 800;
    line-height: 1.15; margin-bottom: 1rem; color: #fff;
    opacity: 0; animation: fadeLeft 520ms var(--ease-spring) both; animation-delay: 100ms;
}
.orgp-hero-desc {
    font-size: 1.02rem; line-height: 1.6;
    color: rgba(255, 255, 255, 0.85); max-width: 640px; margin-bottom: 1.5rem;
    opacity: 0; animation: fadeUp 520ms var(--ease-spring) both; animation-delay: 220ms;
}
.orgp-hero-stats {
    display: flex; gap: 2rem; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 520ms var(--ease-spring) both; animation-delay: 340ms;
}
.orgp-stat { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.orgp-stat-num { font-size: 1.55rem; font-weight: 800; color: #fff; }
.orgp-stat-label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); text-transform: uppercase; letter-spacing: 0.06em; }

.orgp-section { padding: 4.5rem 0; }
.orgp-section:nth-child(even) { background: var(--gray-50); }
.orgp-section-head { text-align: center; max-width: 620px; margin: 0 auto 2.5rem; }
.orgp-section-head .section-title { margin-bottom: 0.5rem; }
.orgp-section-head p { color: #52665b; font-size: 0.95rem; line-height: 1.6; }

.orgp-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.orgp-intro-text .section-kicker { display: inline-block; margin-bottom: 0.5rem; }
.orgp-intro-text .section-title { margin-bottom: 0.75rem; }
.orgp-lead { font-size: 1rem; line-height: 1.7; color: #3a5244; margin-bottom: 0.75rem; }
.orgp-intro-text p { color: #52665b; line-height: 1.65; }

.orgp-intro-chart { display: flex; flex-direction: column; align-items: center; gap: 0; }
.orgp-chart-item {
    background: var(--color-surface);
    border: 1px solid rgba(15, 68, 40, 0.08);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.25rem; text-align: center;
    box-shadow: var(--shadow-xs);
    display: flex; flex-direction: column; gap: 0.2rem;
    transition: transform var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
}
.orgp-chart-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.orgp-chart-item span { font-size: 1.4rem; }
.orgp-chart-item strong { font-size: 0.85rem; color: var(--color-primary-dark); }
.orgp-chart-item small { font-size: 0.74rem; color: #6b8c7a; }
.orgp-chart-top {
    background: linear-gradient(135deg, var(--green-800), var(--green-700));
    border-color: transparent; color: #fff; padding: 1.1rem 1.65rem;
}
.orgp-chart-top strong { color: #fff; font-size: 0.92rem; }
.orgp-chart-top small { color: rgba(255, 255, 255, 0.7); }
.orgp-chart-connector {
    width: 2px; height: 26px;
    background: linear-gradient(to bottom, var(--green-700), rgba(46, 125, 50, 0.25));
    margin: 0 auto;
}
.orgp-chart-row { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.orgp-chart-small { padding: 0.65rem 0.9rem; }
.orgp-chart-small strong { font-size: 0.78rem; }

.orgp-committee-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg); padding: 0; overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(15, 68, 40, 0.06);
    margin-bottom: 1.5rem;
    transition: box-shadow var(--duration-normal) ease, transform var(--duration-normal) var(--ease-out);
}
.orgp-committee-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.orgp-committee-header {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.5rem 1.65rem;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.03), rgba(0, 172, 193, 0.02));
    border-bottom: 1px solid rgba(15, 68, 40, 0.05);
}
.orgp-committee-icon { font-size: 1.9rem; line-height: 1; flex-shrink: 0; margin-top: 0.1rem; }
.orgp-committee-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--color-primary-dark); margin: 0 0 0.25rem; }
.orgp-committee-header p { font-size: 0.88rem; color: #52665b; line-height: 1.55; margin: 0; }

.orgp-members-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.orgp-members-table table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.orgp-members-table thead tr { background: var(--gray-100); }
.orgp-members-table th {
    font-weight: 600; color: var(--color-primary-dark);
    text-align: left; padding: 0.65rem 1.15rem;
    font-size: 0.78rem; text-transform: uppercase;
    letter-spacing: 0.05em; white-space: nowrap;
}
.orgp-members-table td { padding: 0.6rem 1.15rem; border-bottom: 1px solid #eef2ef; color: #3a4f42; }
.orgp-members-table tbody tr { transition: background var(--duration-fast) ease; }
.orgp-members-table tbody tr:hover { background: rgba(46, 125, 50, 0.03); }
.orgp-members-table tbody tr:last-child td { border-bottom: none; }
.orgp-member-photo-cell { width: 56px; }
.orgp-member-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.orgp-role {
    display: inline-block;
    background: linear-gradient(135deg, var(--green-50), #dcedc8);
    color: var(--green-700); padding: 0.18rem 0.55rem;
    border-radius: 0.3rem; font-size: 0.8rem; font-weight: 600; white-space: nowrap;
}
.orgp-no-members { padding: 1.5rem 1.65rem; color: #6b8c7a; font-style: italic; font-size: 0.9rem; }

.orgp-principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.orgp-principle {
    background: var(--color-surface);
    border-radius: var(--radius-md); padding: 1.65rem 1.4rem;
    text-align: center;
    box-shadow: var(--shadow-xs); border: 1px solid rgba(15, 68, 40, 0.06);
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) ease;
}
.orgp-principle:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.orgp-principle-icon { font-size: 1.85rem; display: block; margin-bottom: 0.75rem; }
.orgp-principle h3 { font-size: 0.95rem; font-weight: 700; color: var(--color-primary-dark); margin-bottom: 0.35rem; }
.orgp-principle p { font-size: 0.85rem; color: #52665b; line-height: 1.55; }

/* ---------- 20b. PROJ – PROYECTOS ---------- */
.proj-hero {
    position: relative; min-height: 380px; display: flex; align-items: center;
    background:
        linear-gradient(140deg, rgba(13, 59, 18, 0.9) 0%, rgba(27, 94, 32, 0.84) 45%, rgba(0, 130, 143, 0.82) 100%),
        url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1600&q=80') center/cover no-repeat;
    color: #fff; padding: 5rem 0 4rem; border-radius: 0 0 2.5rem 2.5rem; overflow: hidden;
}
.proj-hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 80%, rgba(0, 172, 193, 0.12) 0%, transparent 55%); pointer-events: none; }
.proj-hero-inner { position: relative; z-index: 1; max-width: 640px; }
.proj-hero-kicker {
    display: inline-block; text-transform: uppercase; letter-spacing: 0.1em;
    font-size: 0.78rem; font-weight: 700; color: var(--teal-100); margin-bottom: 0.75rem;
    opacity: 0; animation: fadeDown 420ms ease both;
}
.proj-hero-title {
    font-size: clamp(2.3rem, 4.6vw, 3.15rem); font-weight: 800; line-height: 1.12;
    margin: 0 0 1.25rem; letter-spacing: -0.02em; color: #fff;
    opacity: 0; animation: fadeLeft 520ms var(--ease-spring) both; animation-delay: 100ms;
}
.proj-hero-desc {
    font-size: 1.08rem; line-height: 1.75; color: #dff0eb; max-width: 620px; margin: 0 0 2rem;
    opacity: 0; animation: fadeLeft 520ms var(--ease-spring) both; animation-delay: 200ms;
}
.proj-hero-stats {
    display: flex; gap: 2.5rem;
    opacity: 0; animation: fadeUp 520ms var(--ease-spring) both; animation-delay: 340ms;
}
.proj-stat { display: flex; flex-direction: column; }
.proj-stat-num { font-size: 1.75rem; font-weight: 800; line-height: 1; }
.proj-stat-label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

.proj-section { position: relative; overflow-x: hidden; overflow-y: visible; }
.proj-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.proj-section > .container { position: relative; z-index: 1; }
.proj-section-head { max-width: 46rem; margin-bottom: 1.35rem; text-align: center; }
.proj-section-head .section-kicker { color: var(--teal-700); padding: 0.3rem 0.85rem; background: linear-gradient(135deg, rgba(0, 172, 193, 0.08), rgba(46, 125, 50, 0.06)); border: 1px solid rgba(0, 172, 193, 0.12); border-radius: var(--radius-full); font-weight: 600; letter-spacing: 0.04em; font-size: 0.78rem; text-transform: uppercase; }
.proj-section-head .section-title { font-size: clamp(1.65rem, 3vw, 2.15rem); margin-bottom: 0.5rem; }
.proj-section-head .section-title::after { content: ""; display: block; width: 50px; height: 3px; background: linear-gradient(90deg, var(--green-600), var(--teal-600)); border-radius: 2px; margin: 0.55rem auto 0; }
.proj-section-head > p { font-size: 1rem; line-height: 1.65; color: #38505f; margin: 0 auto; max-width: 42rem; }

.proj-intro { background: linear-gradient(168deg, #fff 0%, #f6faf9 50%, #edf5f3 100%); padding: 2.25rem 0; }
.proj-intro::before { background: radial-gradient(ellipse at 100% 0%, rgba(0, 172, 193, 0.05) 0%, transparent 50%); }
.proj-intro-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.65rem; align-items: center; }
.proj-intro-text .section-kicker { color: var(--teal-700); display: block; margin-bottom: 0.4rem; padding: 0.3rem 0.85rem; background: linear-gradient(135deg, rgba(0, 172, 193, 0.08), rgba(46, 125, 50, 0.06)); border: 1px solid rgba(0, 172, 193, 0.12); border-radius: var(--radius-full); font-weight: 600; letter-spacing: 0.04em; font-size: 0.78rem; text-transform: uppercase; display: inline-block; }
.proj-intro-text .section-title { font-size: clamp(1.65rem, 3vw, 2.15rem); margin-top: 0.5rem; margin-bottom: 0.85rem; }
.proj-intro-text .section-title::after { content: ""; display: block; width: 50px; height: 3px; background: linear-gradient(90deg, var(--green-600), var(--teal-600)); border-radius: 2px; margin-top: 0.55rem; }
.proj-lead { font-size: 1.02rem; line-height: 1.7; color: #2f4a55; font-weight: 500; margin: 0 0 1rem; }
.proj-intro-text p { font-size: 0.93rem; line-height: 1.7; color: #405962; margin: 0 0 0.85rem; }
.proj-intro-visual { display: grid; gap: 1.25rem; }
.proj-img-frame {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid rgba(0, 172, 193, 0.12);
    box-shadow: var(--shadow-lg); background: #eef3f0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.proj-img-frame:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.proj-img-frame img { width: 100%; display: block; object-fit: cover; max-height: 340px; }

.proj-lines { background: linear-gradient(168deg, #f7fbff 0%, #eef5fb 50%, #eef7f1 100%); padding: 2.75rem 0; }
.proj-lines::before { background: radial-gradient(ellipse at 0% 15%, rgba(0, 172, 193, 0.04) 0%, transparent 40%); }
.proj-lines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.proj-line-card {
    background: #fff; border: 1px solid rgba(0, 172, 193, 0.1);
    border-radius: var(--radius-lg); padding: 1.65rem 1.4rem; text-align: center;
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center;
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) ease, border-color var(--duration-normal) ease;
    position: relative; overflow: hidden;
}
.proj-line-card::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--green-600), var(--teal-600));
    transform: scaleX(0);
    transition: transform var(--duration-normal) var(--ease-out);
}
.proj-line-card:hover { transform: translateY(-6px); border-color: rgba(0, 172, 193, 0.28); box-shadow: 0 16px 40px rgba(15, 68, 40, 0.12); }
.proj-line-card:hover::before { transform: scaleX(1); }
.proj-line-icon {
    font-size: 1.6rem;
    display: flex; align-items: center; justify-content: center;
    width: 3rem; height: 3rem;
    background: var(--color-accent-soft); border-radius: var(--radius-md); margin-bottom: 0.85rem;
}
.proj-line-card:hover .proj-line-icon { animation: float 2s ease-in-out infinite; }
.proj-line-card h3 { font-size: 1.02rem; color: var(--color-primary-dark); margin: 0 0 0.5rem; font-weight: 700; }
.proj-line-card p { font-size: 0.88rem; line-height: 1.65; color: #4a5e65; margin: 0; }

.proj-catalog { background: linear-gradient(168deg, #fff 0%, #f6faf9 50%, #edf5f3 100%); padding: 2.75rem 0; }
.proj-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.proj-card {
    background: #fff; border: 1px solid rgba(0, 172, 193, 0.1);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) ease;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15, 68, 40, 0.12); }
.proj-card-img {
    position: relative; overflow: hidden; height: 200px;
}
.proj-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease-out); }
.proj-card:hover .proj-card-img img { transform: scale(1.06); }
.proj-status {
    position: absolute; top: 0.75rem; left: 0.75rem;
    display: inline-flex; align-items: center; gap: 0.3rem;
    padding: 0.3rem 0.65rem; border-radius: var(--radius-full);
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}
.proj-status--plan { background: rgba(255, 193, 7, 0.85); color: #5d4200; }
.proj-status--exec { background: rgba(46, 125, 50, 0.85); color: #fff; }
.proj-status--done { background: rgba(0, 172, 193, 0.85); color: #fff; }
.proj-card-body { padding: 1.25rem 1.35rem; }
.proj-card-body h3 { font-size: 1.12rem; color: var(--color-primary-dark); margin: 0 0 0.55rem; font-weight: 700; }
.proj-card-body p { font-size: 0.95rem; line-height: 1.72; color: #4a5e65; margin: 0 0 0.95rem; }
.proj-card-link {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.85rem; font-weight: 600; color: var(--teal-700);
    text-decoration: none;
    transition: color var(--duration-fast) ease, gap var(--duration-fast) ease;
}
.proj-card-link:hover { color: var(--green-700); gap: 0.55rem; }

.proj-empty {
    text-align: center; max-width: 560px; margin: 0 auto;
}
.proj-empty-img {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg); margin-bottom: 1.5rem;
}
.proj-empty-img img { width: 100%; display: block; object-fit: cover; max-height: 300px; }
.proj-empty p { font-size: 1rem; color: #52665b; line-height: 1.65; }

/* ---------- 21. PAGE HERO BANNERS ---------- */
.page-hero {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.88), rgba(0, 172, 193, 0.82));
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 3rem 0 2.75rem;
    min-height: 220px;
    display: flex;
    align-items: center;
    border-radius: 0 0 2rem 2rem;
    overflow: hidden;
}
.page-hero .section-kicker { color: var(--teal-100); }
.page-hero .section-title { color: #fff; margin-bottom: 0.5rem; }
.page-hero .section-description { color: rgba(255, 255, 255, 0.9); margin-left: 0; margin-right: 0; max-width: 100%; }

.page-hero--nosotros { background-image: linear-gradient(135deg, rgba(27, 94, 32, 0.88), rgba(0, 172, 193, 0.82)), url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=1600&q=80'); }
.page-hero--produccion { background-image: linear-gradient(135deg, rgba(27, 94, 32, 0.88), rgba(0, 172, 193, 0.82)), url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1600&q=80'); }
.page-hero--servicios { background-image: linear-gradient(135deg, rgba(27, 94, 32, 0.88), rgba(0, 172, 193, 0.82)), url('https://images.unsplash.com/photo-1573497019940-1c28c88b4f3e?w=1600&q=80'); }
.page-hero--organizacion { background-image: linear-gradient(135deg, rgba(27, 94, 32, 0.88), rgba(0, 172, 193, 0.82)), url('https://images.unsplash.com/photo-1515187029135-18ee286d815b?w=1600&q=80'); }
.page-hero--proyectos { background-image: linear-gradient(135deg, rgba(27, 94, 32, 0.88), rgba(0, 172, 193, 0.82)), url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=1600&q=80'); }
.page-hero--contacto { background-image: linear-gradient(135deg, rgba(27, 94, 32, 0.88), rgba(0, 172, 193, 0.82)), url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=1600&q=80'); }
.page-hero--gestion-ambiental { background-image: linear-gradient(135deg, rgba(27, 94, 32, 0.88), rgba(0, 172, 193, 0.82)), url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?w=1600&q=80'); }

.about-image-wrapper { margin-top: 1.5rem; }
.about-image { width: 100%; max-height: 260px; border-radius: var(--radius-lg); object-fit: cover; }
.section-subtitle { margin-top: 1.2rem; }

/* ==========================================================================
   22. RESPONSIVE
   ========================================================================== */

/* ----- Tablet (960) ----- */
@media (max-width: 960px) {
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .idx-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .idx-actions-visual { grid-template-columns: 1fr; }
    .idx-about::after { display: none; }
    .idx-production::after { display: none; }
    .idx-two-col { grid-template-columns: 1fr; gap: 2.5rem; }
    .nos-origin-grid { grid-template-columns: 1fr 1fr; }
    .nos-values-grid { grid-template-columns: repeat(2, 1fr); }
    .nos-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .nos-mosaic-wide { grid-column: span 2; }
    .prod-chain-grid { grid-template-columns: repeat(2, 1fr); }
    .prod-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
    .serv-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .serv-steps-grid { grid-template-columns: repeat(2, 1fr); }
    .orgp-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
    .orgp-principles-grid { grid-template-columns: repeat(2, 1fr); }
    .proj-lines-grid { grid-template-columns: repeat(2, 1fr); }
    .proj-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr 1fr; }
}

/* ----- Show header CTA on desktop ----- */
@media (min-width: 769px) {
    .header-ctas { display: flex; }
}

/* ----- Mobile (768) ----- */
@media (max-width: 768px) {
    :root {
        --header-h: 56px;
        --container-px: 1.25rem;
    }

    /* --- Header / Nav --- */
    .site-header {
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 300;
        background: var(--green-800);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
    body.page-inicio .site-header { background: var(--green-800); }
    .nav-toggle { display: flex; }
    .header-nav-wrap { display: none; }
    .header-inner {
        flex-wrap: nowrap;
        min-height: var(--header-h);
        padding: 0.4rem 0;
    }
    main { padding-top: var(--header-h); }

    .logo { color: #fff; gap: 0.5rem; }
    .logo .logo-title {
        font-size: 0.72rem;
        color: #fff;
        white-space: normal;
        line-height: 1.2;
    }
    .logo .logo-subtitle {
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.8);
    }
    .logo-mark { font-size: 1.2rem; }
    .nav-toggle-bar { background: #fff; }

    /* --- Hero --- */
    .hero {
        min-height: auto;
        padding: 1.5rem 0 0;
    }
    .hero::after { display: none; }
    .hero > .container { padding-right: var(--container-px); flex: 0; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }
    .hero-content {
        order: 1;
        max-width: 100%;
        padding: 0.5rem 0 1rem;
    }
    .hero-title {
        font-size: clamp(1.45rem, 5.5vw, 1.75rem);
        margin-bottom: 0.6rem;
    }
    .hero-subtitle {
        font-size: 0.88rem;
        max-width: 100%;
        line-height: 1.6;
    }
    .hero-actions {
        margin-top: 0.85rem;
    }
    .hero-image-wrap {
        order: 2;
        justify-content: center;
        margin-right: 0;
        min-height: auto;
    }
    .hero-socios-image {
        width: 100%;
        max-width: 420px;
        height: auto;
        margin: 0 auto;
        object-fit: contain;
        object-position: center bottom;
        filter: drop-shadow(0 6px 20px rgba(0,0,0,0.2));
    }
    .hero-pills-bar { padding: 0.5rem 0 0.65rem; }
    .hero-pills-row {
        gap: 0.4rem;
        justify-content: center;
    }
    .pill {
        font-size: 0.72rem;
        padding: 0.35rem 0.65rem;
        gap: 0.25rem;
    }

    /* --- General layout --- */
    .grid-2, .cards-grid-4 { grid-template-columns: 1fr; }

    /* --- IDX Sections (inicio) --- */
    .idx-section { padding: 3rem 0; }
    .idx-section::after { display: none; }
    .idx-two-col { grid-template-columns: 1fr; gap: 2rem; }
    .idx-cards-grid { grid-template-columns: 1fr; gap: 1rem; }
    .idx-actions-visual { grid-template-columns: 1fr; }

    .idx-section-head {
        text-align: center;
        margin-bottom: 2rem;
    }
    .idx-section-head .section-title { font-size: 1.5rem; }
    .idx-section-head .section-title::after { margin: 0.5rem auto 0; }
    .idx-section-head .section-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.92rem;
    }

    .idx-col-text .section-kicker { display: inline-block; }
    .idx-col-text .section-title { font-size: 1.45rem; }
    .idx-col-text .section-title::after { margin: 0.5rem auto 0; }

    .idx-col-visual::before,
    .idx-col-visual::after { display: none; }

    .idx-highlights {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    .idx-highlight-item { padding: 0.85rem 1rem; }

    .org-cta { width: 100%; justify-content: center; }

    .idx-card-inner { padding: 1.5rem 1.25rem; }
    .idx-card h3 { font-size: 1rem; }
    .idx-card p {
        font-size: 0.86rem;
    }

    .idx-cta,
    .nos-cta-section,
    .prod-cta,
    .serv-cta,
    .proj-cta,
    .orgp-cta {
        padding: 1.35rem 0;
    }
    .idx-cta-content,
    .nos-cta-box,
    .prod-cta-box,
    .serv-cta-box,
    .proj-cta-box,
    .orgp-cta-box {
        padding: 1.1rem 1rem 1rem;
    }
    .idx-cta-content h2,
    .nos-cta-box h2,
    .prod-cta-box h2,
    .serv-cta-box h2,
    .proj-cta-box h2,
    .orgp-cta-box h2 {
        font-size: 1.12rem;
        line-height: 1.2;
    }
    .idx-cta-content > p,
    .nos-cta-box > p,
    .prod-cta-box > p,
    .serv-cta-box > p,
    .proj-cta-box > p,
    .orgp-cta-box p {
        font-size: 0.86rem;
        margin-bottom: 0.85rem;
    }
    .idx-cta-buttons,
    .nos-cta-buttons,
    .prod-cta-buttons,
    .serv-cta-buttons,
    .proj-cta-buttons,
    .orgp-cta-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.45rem;
    }
    .idx-cta-buttons .btn-primary,
    .idx-cta-buttons .btn-secondary,
    .nos-cta-buttons .btn-primary,
    .nos-cta-buttons .btn-secondary,
    .prod-cta-buttons .btn-primary,
    .prod-cta-buttons .btn-secondary,
    .serv-cta-buttons .btn-primary,
    .serv-cta-buttons .btn-secondary,
    .proj-cta-buttons .btn-primary,
    .proj-cta-buttons .btn-secondary,
    .orgp-cta-buttons .btn-primary,
    .orgp-cta-buttons .btn-secondary {
        width: 100%;
        min-height: 2.65rem;
        justify-content: center;
        text-align: center;
    }
    .prod-cta-buttons .btn-secondary:last-child:nth-child(3),
    .orgp-cta-buttons .btn-secondary:last-child:nth-child(3) {
        grid-column: 1 / -1;
    }

    /* --- Nosotros --- */
    .nos-hero { min-height: auto; padding: 2.5rem 0 2rem; border-radius: 0 0 1.5rem 1.5rem; }
    .nos-hero-title { font-size: 1.5rem; }
    .nos-hero-desc { font-size: 0.9rem; max-width: 100%; }
    .nos-hero-stats { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
    .nos-stat-num { font-size: 1.25rem; }
    .nos-origin-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .nos-origin-img { order: -1; }
    .nos-origin-img img { min-height: 180px; max-height: 240px; }
    .nos-mv-row { grid-template-columns: 1fr; }
    .nos-values-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .nos-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
    .nos-mosaic-wide { grid-column: span 2; }
    .nos-legal-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .nos-legal-visual { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .nos-section-head { text-align: center; }
    .nos-section-head > p { margin-left: auto; margin-right: auto; }
    .nos-section, .nos-origin, .nos-mv, .nos-values, .nos-people, .nos-legal { padding: 2.5rem 0; }
    .nos-legal-content { text-align: center; }
    .nos-legal-content .org-cta { width: 100%; justify-content: center; }
    .nos-origin-text { text-align: center; }

    /* --- Produccion --- */
    .prod-hero { min-height: auto; padding: 2.5rem 0 2rem; border-radius: 0 0 1.5rem 1.5rem; }
    .prod-hero-title { font-size: 1.5rem; }
    .prod-hero-desc { font-size: 0.9rem; max-width: 100%; }
    .prod-hero-stats { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
    .prod-stat-num { font-size: 1.25rem; }
    .prod-overview-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .prod-overview-visual { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .prod-area-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
    .prod-area--reverse .prod-area-grid { direction: ltr; }
    .prod-area-img { order: -1; }
    .prod-area-img img { min-height: 180px; max-height: 240px; }
    .prod-area-list { grid-template-columns: 1fr 1fr; }
    .prod-chain-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .prod-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
    .prod-section-head { text-align: center; }
    .prod-section-head > p { margin-left: auto; margin-right: auto; }
    .prod-section, .prod-overview, .prod-chain, .prod-gallery-section { padding: 2.5rem 0; }
    .prod-area { padding: 2.5rem 0; }
    .prod-overview-text { text-align: center; }
    .prod-area-content { text-align: center; }
    .prod-area-list { text-align: left; max-width: 360px; margin: 0 auto; }

    /* --- Servicios --- */
    .serv-hero { min-height: auto; padding: 2.5rem 0 2rem; border-radius: 0 0 1.5rem 1.5rem; }
    .serv-hero-title { font-size: 1.5rem; }
    .serv-hero-desc { font-size: 0.9rem; max-width: 100%; }
    .serv-hero-stats { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
    .serv-stat-num { font-size: 1.25rem; }
    .serv-why-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .serv-why-visual { order: -1; }
    .serv-cards-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .serv-detail-row,
    .serv-detail-row--reverse { grid-template-columns: 1fr !important; gap: 1.5rem; direction: ltr; }
    .serv-detail-img { order: -1; }
    .serv-detail-img img { min-height: 180px; max-height: 240px; }
    .serv-detail-list { grid-template-columns: 1fr 1fr; }
    .serv-steps-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .serv-benefits-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .serv-benefits-visual { order: -1; }
    .serv-section-head { text-align: center; }
    .serv-section-head > p { margin-left: auto; margin-right: auto; }
    .serv-section, .serv-why, .serv-catalog, .serv-details, .serv-process, .serv-benefits { padding: 2.5rem 0; }
    .serv-why-text, .serv-detail-content, .serv-benefits-text { text-align: center; }
    .serv-detail-list { text-align: left; max-width: 360px; margin: 0 auto; }
    .serv-detail-row { margin-bottom: 2rem; }

    /* --- Organizacion --- */
    .orgp-hero { min-height: auto; padding: 2.5rem 0 2rem; }
    .orgp-hero-title { font-size: 1.4rem; }
    .orgp-hero-desc { font-size: 0.88rem; }
    .orgp-hero-stats { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .orgp-stat-num { font-size: 1.2rem; }
    .orgp-section { padding: 2.5rem 0; }
    .orgp-intro-grid { grid-template-columns: 1fr; }
    .orgp-intro-text { text-align: center; }
    .orgp-chart-row { flex-direction: column; align-items: center; gap: 0.5rem; }
    .orgp-chart-item { width: 100%; max-width: 280px; }
    .orgp-committee-header { padding: 1rem 1rem; flex-direction: column; gap: 0.4rem; }
    .orgp-committee-icon { font-size: 1.4rem; }
    .orgp-committee-header h3 { font-size: 0.98rem; }
    .orgp-members-table th,
    .orgp-members-table td { padding: 0.45rem 0.6rem; font-size: 0.78rem; }
    .orgp-principles-grid { grid-template-columns: 1fr; gap: 1rem; }
    .orgp-principle { padding: 1.2rem 1rem; }
    /* --- Proyectos --- */
    .proj-hero { min-height: auto; padding: 2.5rem 0 2rem; border-radius: 0 0 1.5rem 1.5rem; }
    .proj-hero-title { font-size: 1.5rem; }
    .proj-hero-desc { font-size: 0.9rem; max-width: 100%; }
    .proj-hero-stats { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
    .proj-stat-num { font-size: 1.25rem; }
    .proj-intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .proj-intro-visual { order: -1; }
    .proj-intro-text { text-align: center; }
    .proj-intro-text .section-title::after { margin: 0.55rem auto 0; }
    .proj-lines-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .proj-cards-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .proj-card-img { height: 160px; }
    .proj-section, .proj-intro, .proj-lines, .proj-catalog { padding: 2.5rem 0; }
    .proj-section-head { text-align: center; }
    .proj-section-head > p { margin-left: auto; margin-right: auto; }

    /* --- Footer: dos columnas en móvil + barra superior en fila --- */
    .footer-topbar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem 0.75rem;
        padding: 0.4rem 0 0.65rem;
        text-align: left;
    }
    .footer-topbar-brand {
        justify-content: flex-start;
        flex: 1;
        min-width: min(100%, 12rem);
    }
    .footer-topbar-line {
        text-align: left;
    }
    .footer-topbar-wa {
        width: auto;
        max-width: none;
    }
    .footer-inner.footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem 1.15rem;
        text-align: left;
        align-items: start;
    }
    .footer-links-col {
        align-items: flex-start;
    }
    .footer-contact {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.25rem 0.85rem;
        align-items: start;
        text-align: left;
    }
    .footer-contact > .footer-heading {
        grid-column: 1 / -1;
        margin-bottom: 0.35rem;
    }
    .footer-contact > .footer-text:nth-child(2) {
        grid-column: 1;
    }
    .footer-contact > .footer-text:nth-child(3) {
        grid-column: 2;
        word-break: break-word;
    }
    .footer-contact > .footer-text:nth-child(4) {
        grid-column: 1 / -1;
    }
    .footer-links-col a:hover { transform: translateX(1px); }

    /* --- Page hero (inner pages) --- */
    .page-hero { padding: 2rem 0 1.75rem; min-height: auto; border-radius: 0 0 1rem 1rem; }
    .page-hero .section-title { font-size: 1.4rem; }
    .page-hero .section-description { font-size: 0.9rem; }
}

/* ----- Small mobile (480) ----- */
@media (max-width: 480px) {
    :root { --container-px: 1rem; }

    /* Hero */
    .hero { padding: 0.75rem 0 0; }
    .hero-content { padding: 0.5rem 0 1rem; }
    .hero-title { font-size: 1.35rem; line-height: 1.18; }
    .hero-subtitle { font-size: 0.85rem; line-height: 1.6; }
    .hero-socios-image { max-width: 340px; }
    .hero-pills-row { gap: 0.3rem; }
    .pill { padding: 0.3rem 0.5rem; font-size: 0.68rem; }
    .hero-actions { gap: 0.5rem; }
    .btn-primary, .btn-secondary { font-size: 0.82rem; padding: 0.65rem 1.25rem; }

    /* IDX Sections */
    .idx-section { padding: 2.25rem 0; }
    .idx-section-head { margin-bottom: 1.5rem; }
    .idx-section-head .section-title { font-size: 1.25rem; }
    .idx-section-head .section-description { font-size: 0.86rem; }
    .idx-col-text .section-title { font-size: 1.25rem; }
    .idx-lead { font-size: 0.92rem; }
    .idx-body { font-size: 0.86rem; }
    .idx-card-inner { padding: 1.25rem 1rem; }
    .idx-card h3 { font-size: 0.95rem; }
    .idx-card p { font-size: 0.82rem; }
    .idx-card-icon { width: 2.6rem; height: 2.6rem; font-size: 1.1rem; }
    .idx-value-card { padding: 1.25rem 1rem; }
    .idx-cta-content h2,
    .nos-cta-box h2,
    .prod-cta-box h2,
    .serv-cta-box h2,
    .proj-cta-box h2,
    .orgp-cta-box h2 {
        font-size: 1.08rem;
    }
    .idx-cta-buttons,
    .nos-cta-buttons,
    .prod-cta-buttons,
    .serv-cta-buttons,
    .proj-cta-buttons,
    .orgp-cta-buttons {
        grid-template-columns: 1fr;
    }
    .prod-cta-buttons .btn-secondary:last-child:nth-child(3) {
        grid-column: auto;
    }

    /* Page hero */
    .page-hero { padding: 1.75rem 0 1.5rem; }
    .page-hero .section-title { font-size: 1.25rem; }

    /* Nosotros */
    .nos-hero { padding: 2rem 0 1.5rem; }
    .nos-hero-title { font-size: 1.3rem; }
    .nos-hero-stats { gap: 0.75rem; }
    .nos-stat-num { font-size: 1.1rem; }
    .nos-mv-card { padding: 1.25rem 1rem; }
    .nos-mv-card h2 { font-size: 0.98rem; }
    .nos-value-card { padding: 1.1rem 0.9rem; }
    .nos-values-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .nos-mosaic { grid-template-columns: 1fr; grid-auto-rows: 180px; }
    .nos-mosaic-wide { grid-column: span 1; }
    .nos-legal-visual { grid-template-columns: 1fr; }
    /* Produccion */
    .prod-hero { padding: 2rem 0 1.5rem; }
    .prod-hero-title { font-size: 1.3rem; }
    .prod-hero-stats { gap: 0.75rem; }
    .prod-stat-num { font-size: 1.1rem; }
    .prod-overview-visual { grid-template-columns: 1fr; }
    .prod-area-list { grid-template-columns: 1fr; }
    .prod-chain-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .prod-chain-step { padding: 1.1rem 0.9rem; }
    .prod-gallery { grid-template-columns: 1fr; grid-auto-rows: 180px; }
    /* Servicios */
    .serv-hero { padding: 2rem 0 1.5rem; }
    .serv-hero-title { font-size: 1.3rem; }
    .serv-hero-stats { gap: 0.75rem; }
    .serv-stat-num { font-size: 1.1rem; }
    .serv-cards-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .serv-card { padding: 1.2rem 1rem; }
    .serv-detail-list { grid-template-columns: 1fr; }
    .serv-steps-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .serv-step { padding: 1.1rem 0.9rem; }
    /* Organizacion */
    .orgp-hero { padding: 2rem 0 1.5rem; }
    .orgp-hero-title { font-size: 1.2rem; }
    .orgp-hero-desc { font-size: 0.8rem; }
    .orgp-hero-stats { flex-direction: column; gap: 0.5rem; }
    .orgp-members-table th,
    .orgp-members-table td { padding: 0.35rem 0.45rem; font-size: 0.72rem; }
    .orgp-role { font-size: 0.7rem; padding: 0.12rem 0.35rem; }

    /* Proyectos */
    .proj-hero { padding: 2rem 0 1.5rem; }
    .proj-hero-title { font-size: 1.3rem; }
    .proj-hero-stats { gap: 0.75rem; }
    .proj-stat-num { font-size: 1.1rem; }
    .proj-lines-grid { grid-template-columns: 1fr; gap: 0.85rem; }
    .proj-line-card { padding: 1.2rem 1rem; }
    .proj-cards-grid { grid-template-columns: 1fr; gap: 1rem; }
    .proj-card-img { height: 180px; }
}

/* ---------- 23. ACUICULTURA ACCENT COMPONENTS ---------- */

/* --- Pill accent (first pill in hero) --- */
.pill--accent {
    background: rgba(0, 188, 212, 0.25);
    font-weight: 600;
    border: 1px solid rgba(0, 188, 212, 0.3);
}

/* --- Homepage: Featured project section --- */
.idx-featured {
    background: linear-gradient(168deg, #eef8fb 0%, #f4fbf7 52%, #edf8f8 100%);
    padding: 4.75rem 0;
    position: relative;
}
.idx-featured::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-500), var(--green-500), var(--teal-600));
}
.idx-featured-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 151, 167, 0.08);
    border-radius: 1.75rem;
    box-shadow: 0 24px 55px rgba(17, 83, 65, 0.1);
    padding: 2rem;
}
.idx-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 2.25rem;
    align-items: center;
}
.idx-featured-content { max-width: 640px; }
.idx-featured-lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #294753;
    font-weight: 600;
    margin-bottom: 1rem;
}
.idx-featured-img-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(16, 74, 84, 0.16);
}
.idx-featured-img-frame img {
    width: 100%;
    height: 290px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.idx-featured-img-frame:hover img {
    transform: scale(1.04);
}
.idx-featured-content .section-kicker {
    color: var(--teal-700);
}
.idx-featured-content .section-title {
    font-size: clamp(2rem, 3vw, 2.55rem);
    line-height: 1.1;
    margin-bottom: 0.85rem;
}
.idx-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.idx-featured-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(0, 151, 167, 0.12);
    color: var(--teal-700);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.idx-featured-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}
.idx-featured-trust {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1.4rem;
    background: linear-gradient(135deg, rgba(0, 151, 167, 0.08), rgba(46, 125, 50, 0.06));
    border: 1px solid rgba(0, 151, 167, 0.12);
    border-radius: 1rem;
}
.idx-featured-trust-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-700);
}
.idx-featured-trust p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #36515a;
}
.idx-featured-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.idx-featured-visual {
    display: grid;
    gap: 0.9rem;
}
.idx-featured-visual-note {
    display: grid;
    gap: 0.2rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(0, 151, 167, 0.1);
    box-shadow: var(--shadow-sm);
}
.idx-featured-visual-note strong {
    font-size: 0.95rem;
    color: var(--color-primary-dark);
}
.idx-featured-visual-note span {
    font-size: 0.88rem;
    color: #4b6670;
}
.idx-featured-ext {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-700);
    transition: color var(--duration-fast) ease;
}
.idx-featured-ext:hover {
    color: var(--teal-500);
}

/* --- Homepage: Accent card (acuicultura) --- */
.idx-card--accent {
    border-color: rgba(0, 172, 193, 0.2);
    background: linear-gradient(168deg, #e8f8f8 0%, #fff 100%);
    box-shadow: var(--shadow-sm), 0 0 0 1px rgba(0, 172, 193, 0.1);
}
.idx-card--accent::before {
    background: linear-gradient(135deg, var(--teal-400), var(--teal-600)) !important;
    opacity: 0.6;
}

/* --- Production: Area banner (tilapia project link) --- */
.prod-area-banner {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 151, 167, 0.08), rgba(0, 172, 193, 0.04));
    border-left: 3px solid var(--teal-500);
}
.prod-area-banner p {
    font-size: 0.88rem;
    color: var(--color-text);
    margin-bottom: 0.65rem;
    line-height: 1.6;
}
.prod-area-banner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-700);
    transition: color var(--duration-fast) ease, gap var(--duration-fast) ease;
}
.prod-area-banner-link:hover {
    color: var(--teal-500);
    gap: 0.6rem;
}

/* --- Production: Accent area enhanced --- */
.prod-area--accent {
    background: linear-gradient(168deg, #e8f8fb 0%, #eef9f8 48%, #edf8f4 100%) !important;
    border-left: 4px solid var(--teal-500);
}

/* --- Projects: Featured project section --- */
.proj-featured {
    padding: 2rem 0;
    background: linear-gradient(168deg, #eef8fb 0%, #f3fbf7 44%, #edf8f4 100%);
    position: relative;
}
.proj-featured::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-500), var(--green-600), var(--teal-600));
}
.proj-featured-shell {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 151, 167, 0.08);
    border-radius: 1.15rem;
    box-shadow: 0 12px 32px rgba(17, 83, 65, 0.08);
    padding: 1.15rem 1.25rem;
}
.proj-featured-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.4fr) minmax(0, 0.6fr);
    gap: 1.25rem;
    align-items: start;
}
.proj-featured-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: static;
}
.proj-featured-img {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(16, 74, 84, 0.14);
    position: relative;
}
.proj-featured-img img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.proj-featured-img:hover img {
    transform: scale(1.04);
}
.proj-featured-img--secondary img {
    height: 160px;
}
.proj-featured-img .proj-status {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}
.proj-featured-visual-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(0, 151, 167, 0.08), rgba(46, 125, 50, 0.06));
    border: 1px solid rgba(0, 151, 167, 0.12);
}
.proj-featured-visual-kicker {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal-700);
}
.proj-featured-visual-card p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: #36515a;
}
.proj-featured-content .section-kicker {
    color: var(--teal-700);
}
.proj-featured-content .section-title {
    font-size: clamp(1.45rem, 2.6vw, 2.05rem);
    line-height: 1.12;
    margin-bottom: 0.65rem;
}
.proj-featured-intro {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #304b56;
    margin-bottom: 0.85rem;
}

.proj-featured-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.85rem;
    margin-bottom: 0.9rem;
    padding: 0.75rem 0.9rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 151, 167, 0.1);
}
.proj-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.proj-meta-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--teal-700);
}
.proj-meta-value {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 600;
}
.proj-featured-panels {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.proj-featured-panel {
    padding: 0.85rem 0.95rem;
    background: linear-gradient(180deg, #ffffff 0%, #f9fcfc 100%);
    border: 1px solid rgba(0, 151, 167, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.proj-featured-panel h3 {
    font-size: 1rem;
    color: var(--color-primary-dark);
    margin: 0 0 0.55rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--teal-50);
}
.proj-featured-panel p {
    font-size: 0.95rem;
    line-height: 1.72;
    color: var(--color-text);
}

.proj-featured-objectives {
    list-style: none;
    counter-reset: obj-counter;
    padding: 0;
    margin: 0.75rem 0 0;
}
.proj-featured-objectives li {
    counter-increment: obj-counter;
    position: relative;
    padding-left: 2.2rem;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 0.65rem;
}
.proj-featured-objectives li::before {
    content: counter(obj-counter);
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    background: var(--teal-50);
    color: var(--teal-700);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proj-featured-results {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}
.proj-featured-results li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 0.6rem;
}
.proj-featured-results li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--teal-600);
    font-weight: 700;
    font-size: 0.95rem;
}

.proj-featured-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 151, 167, 0.12);
}
.proj-featured-pdf {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teal-700);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-full);
    background: rgba(0, 151, 167, 0.08);
    transition: background var(--duration-fast) ease, color var(--duration-fast) ease;
}
.proj-featured-pdf:hover {
    background: rgba(0, 151, 167, 0.15);
    color: var(--teal-600);
}

.proj-catalog-note {
    max-width: 40rem;
    margin: 0.5rem auto 0;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #405962;
    padding: 0.75rem 1rem;
    background: rgba(0, 151, 167, 0.06);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 151, 167, 0.1);
}

/* --- Projects: Accent line card --- */
.proj-line-card--accent {
    border-color: rgba(0, 172, 193, 0.2);
    background: linear-gradient(168deg, #e8f8f8 0%, #fff 100%);
    box-shadow: var(--shadow-sm), 0 0 0 1px rgba(0, 172, 193, 0.12);
}

/* --- Responsive: Featured sections --- */
@media (max-width: 1024px) {
    .idx-featured-card,
    .proj-featured-shell {
        padding: 1.5rem;
    }
    .idx-featured-grid {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
        gap: 1.5rem;
    }
    .idx-featured-img-frame img {
        height: 250px;
    }
    .proj-featured-grid {
        grid-template-columns: minmax(300px, 0.44fr) minmax(0, 0.56fr);
        gap: 1.6rem;
    }
    .proj-featured-img img {
        height: 195px;
    }
    .proj-featured-img--secondary img {
        height: 150px;
    }
    .proj-featured-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .idx-featured-grid,
    .proj-featured-grid {
        grid-template-columns: 1fr;
    }
    .idx-featured-visual,
    .proj-featured-visual {
        order: -1;
    }
}

@media (max-width: 640px) {
    .idx-featured {
        padding: 2.5rem 0;
    }
    .idx-featured-card {
        padding: 1rem;
        border-radius: 1.25rem;
    }
    .idx-featured-img-frame img {
        height: 190px;
    }
    .idx-featured-meta {
        gap: 0.35rem;
    }
    .idx-featured-pill {
        font-size: 0.72rem;
        padding: 0.3rem 0.65rem;
    }
    .idx-featured-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .idx-featured-actions .btn-primary {
        text-align: center;
    }
    .idx-featured-ext {
        justify-content: center;
    }
    .proj-featured {
        padding: 2.5rem 0;
    }
    .proj-featured-shell {
        padding: 1rem;
        border-radius: 1.25rem;
    }
    .proj-featured-img img {
        height: 190px;
    }
    .proj-featured-img--secondary {
        display: none;
    }
    .proj-featured-meta {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    .proj-featured-panel { padding: 1rem; }
    .proj-featured-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .proj-featured-actions .btn-primary {
        text-align: center;
        width: 100%;
    }
    .proj-featured-pdf {
        justify-content: center;
    }
    .prod-area-banner {
        text-align: center;
    }
    .prod-area-banner-link {
        justify-content: center;
    }
}

/* ---------- 24. PUBLIC PAGES UPGRADE ---------- */

/* Shared proof band */
.proof-band-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.proof-band-card {
    padding: 1.15rem 1.2rem;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
    border: 1px solid rgba(0, 151, 167, 0.08);
    box-shadow: var(--shadow-sm);
}
.proof-band-card strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.98rem;
    color: var(--color-primary-dark);
}
.proof-band-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #45606b;
}

/* Footer: barra superior compacta (identidad + WhatsApp) */
.footer-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.5rem 0 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.footer-topbar-mark {
    font-size: 1.15rem;
    line-height: 1;
    opacity: 0.95;
}
.footer-topbar-line {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
}
.footer-topbar-line strong {
    color: #fff;
    font-weight: 700;
}
.footer-topbar-sep {
    margin: 0 0.35rem;
    opacity: 0.45;
    font-weight: 400;
}
.footer-topbar-sub {
    font-weight: 500;
    color: rgba(200, 230, 210, 0.9);
    font-size: 0.78rem;
}
.footer-topbar-wa {
    flex-shrink: 0;
    padding: 0.35rem 0.9rem;
    font-size: 0.76rem;
    gap: 0.35rem;
}
.footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}
.footer-heading {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-100);
}
.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.footer-links-col a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}
.footer-links-col a:hover {
    color: #fff;
    transform: translateX(2px);
}

/* Shared card media */
.serv-card-media,
.env-action-media {
    margin: -0.5rem -0.5rem 0.85rem;
    border-radius: 0.95rem 0.95rem 0.7rem 0.7rem;
    overflow: hidden;
}
.serv-card-media-img,
.env-action-media img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block;
}

/* Contact page */
.contact-overview {
    padding: 2rem 0 0;
    background: linear-gradient(180deg, #f7fbfb 0%, transparent 100%);
}
.contact-section {
    padding-top: 2.5rem;
}
.contact-layout {
    display: grid;
    grid-template-columns: 0.42fr 0.58fr;
    gap: 1.5rem;
    align-items: start;
}
.contact-sidebar,
.contact-main {
    display: grid;
    gap: 1.25rem;
}
.contact-media-card,
.contact-info-card,
.contact-form-card {
    background: #fff;
    border-radius: 1.35rem;
    border: 1px solid rgba(0, 151, 167, 0.08);
    box-shadow: var(--shadow-md);
}
.contact-media-card {
    overflow: hidden;
}
.contact-media-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.contact-info-card,
.contact-form-card {
    padding: 1.5rem;
}
.contact-info-list {
    display: grid;
    gap: 0.95rem;
    margin: 1rem 0 1.2rem;
}
.contact-info-item strong {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--color-primary-dark);
}
.contact-info-item p {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #49626a;
}
.contact-form-head {
    margin-bottom: 1.15rem;
}
.contact-form-head .section-title {
    font-size: clamp(1.55rem, 2.5vw, 2rem);
}
.contact-form-head .section-description {
    margin: 0.45rem 0 0;
    max-width: 100%;
}
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1rem;
}
.contact-form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.contact-form-note {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #5a6f76;
}
.form-success {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: rgba(67, 160, 71, 0.1);
    border: 1px solid rgba(67, 160, 71, 0.15);
    color: var(--green-800);
    font-weight: 600;
}
.contact-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.contact-process-card {
    padding: 1.1rem 1.15rem;
    background: linear-gradient(180deg, #fff 0%, #f8fbfb 100%);
    border-radius: 1.05rem;
    border: 1px solid rgba(0, 151, 167, 0.08);
    box-shadow: var(--shadow-sm);
}
.contact-process-card span {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--teal-50);
    color: var(--teal-700);
    font-weight: 700;
    margin-bottom: 0.65rem;
}
.contact-process-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.contact-process-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: #4d6670;
}

/* Environmental page */
.env-overview {
    padding: 2rem 0 0;
    background: linear-gradient(180deg, #f5fbf7 0%, transparent 100%);
}
.env-section {
    padding: 4rem 0;
}
.env-feature-grid {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    gap: 2rem;
    align-items: center;
}
.env-media-card {
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.env-media-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}
.env-feature-content {
    max-width: 680px;
}
.env-lead {
    font-size: 1.05rem;
    line-height: 1.78;
    color: #2c4953;
    font-weight: 600;
    margin-bottom: 0.9rem;
}
.env-feature-content p {
    font-size: 0.98rem;
    line-height: 1.75;
    color: #49626a;
}
.env-actions {
    background: linear-gradient(180deg, #f8fbfb 0%, #f1f8f5 100%);
}
.env-section-head { margin-bottom: 2rem; }
.env-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}
.env-action-card {
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 151, 167, 0.08);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.env-action-body {
    padding: 0 1.1rem 1.15rem;
}
.env-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.env-impact-card {
    padding: 1.3rem 1.2rem;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #fff 0%, #f9fcfb 100%);
    border: 1px solid rgba(0, 151, 167, 0.08);
    box-shadow: var(--shadow-sm);
}
.env-impact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.env-impact-card p {
    font-size: 0.92rem;
    line-height: 1.68;
    color: #4f6770;
}

/* Responsive public pages */
@media (max-width: 960px) {
    .proof-band-grid,
    .contact-process-grid,
    .env-impact-grid,
    .env-actions-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-layout,
    .env-feature-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    .footer-links-col {
        align-items: flex-start;
    }
    .footer-contact {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.25rem 0.85rem;
        align-items: start;
        text-align: left;
    }
    .footer-contact > .footer-heading {
        grid-column: 1 / -1;
        margin-bottom: 0.35rem;
    }
    .footer-contact > .footer-text:nth-child(2) {
        grid-column: 1;
    }
    .footer-contact > .footer-text:nth-child(3) {
        grid-column: 2;
        word-break: break-word;
    }
    .footer-contact > .footer-text:nth-child(4) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .proof-band-grid,
    .contact-process-grid,
    .env-impact-grid,
    .env-actions-grid {
        grid-template-columns: 1fr;
    }
    .contact-media-card img,
    .env-media-card img {
        height: 220px;
    }
    .contact-info-card,
    .contact-form-card {
        padding: 1rem;
    }
}

/* ---------- 25. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal.is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-socios-image {
        opacity: 1 !important;
        transform: none !important;
    }
}
