/* =====================================================
   COOPERATIVA PIN-UNO — DISEÑO CORPORATIVO PREMIUM
===================================================== */

:root {
    --green-950: #06120a;
    --green-900: #0a1c10;
    --green-850: #102819;
    --green-800: #173720;
    --green-700: #225c31;
    --green-600: #2e7540;
    --green-500: #429654;
    --green-400: #69b778;
    --green-300: #98d5a3;
    --green-100: #e4f1e7;
    --green-50: #f4f8f5;

    --orange-700: #bc5909;
    --orange-600: #dd7110;
    --orange-500: #f18b18;
    --orange-400: #ffa42d;
    --orange-100: #fff0dc;

    --white: #ffffff;
    --black: #050806;

    --background: #f8faf8;
    --background-soft: #f0f4f1;

    --text-primary: #17211a;
    --text-secondary: #5c685f;
    --text-muted: #7a867d;

    --border: rgba(23, 55, 32, 0.13);
    --border-medium: rgba(23, 55, 32, 0.2);
    --border-light: rgba(255, 255, 255, 0.11);

    --shadow-small:
        0 8px 25px rgba(8, 30, 14, 0.07);

    --shadow-medium:
        0 20px 55px rgba(8, 30, 14, 0.12);

    --shadow-large:
        0 32px 90px rgba(5, 22, 10, 0.18);

    --shadow-orange:
        0 18px 45px rgba(221, 113, 16, 0.24);

    --container: 1360px;
    --hero-parallax: 0px;
}

/* =====================================================
   CONFIGURACIÓN GENERAL
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}

body {
    overflow-x: hidden;
    color: var(--text-primary);
    background-color: var(--background);
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    color: var(--white);
    background-color: var(--green-600);
}

.container {
    width: min(var(--container), 90%);
    margin: 0 auto;
}

/* =====================================================
   BARRA DE PROGRESO
===================================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3000;
    width: 100%;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            var(--green-500),
            var(--orange-500)
        );
    box-shadow: 0 0 12px rgba(241, 139, 24, 0.55);
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
    will-change: transform;
}

/* =====================================================
   ENCABEZADO
===================================================== */

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: headerEntrance 0.75s ease both;
    transition:
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

@keyframes headerEntrance {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header.scrolled {
    border-bottom-color: var(--border);
    background-color: rgba(255, 255, 255, 0.975);
    box-shadow: 0 12px 45px rgba(7, 29, 13, 0.1);
}

.header-content {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    transition: min-height 0.35s ease;
}

.header.scrolled .header-content {
    min-height: 90px;
}

/* =====================================================
   LOGO
===================================================== */

.header-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 16px;
    min-width: max-content;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

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

.header-logo-image {
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border: 2px solid rgba(241, 139, 24, 0.9);
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background-color: #070a08;
    box-shadow:
        0 11px 28px rgba(6, 22, 10, 0.25),
        0 0 0 5px rgba(241, 139, 24, 0.1);
    transition:
        width 0.35s ease,
        height 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.header.scrolled .header-logo-image {
    width: 73px;
    height: 73px;
}

.header-logo:hover .header-logo-image {
    border-color: var(--orange-400);
    box-shadow:
        0 16px 36px rgba(6, 22, 10, 0.28),
        0 0 0 8px rgba(241, 139, 24, 0.13);
    transform: rotate(-3deg) scale(1.04);
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.header-logo-name {
    color: var(--green-900);
    font-size: 1.56rem;
    font-weight: 900;
    letter-spacing: -0.75px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.header-logo:hover .header-logo-name {
    color: var(--green-600);
}

.header-logo-subtitle {
    margin-top: 7px;
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* =====================================================
   NAVEGACIÓN
===================================================== */

.navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 27px;
}

.navigation a {
    position: relative;
    padding: 45px 0;
    color: #314036;
    font-size: 0.9rem;
    font-weight: 750;
    white-space: nowrap;
    transition:
        color 0.25s ease,
        padding 0.35s ease,
        transform 0.25s ease;
}

.header.scrolled .navigation a {
    padding-top: 34px;
    padding-bottom: 34px;
}

.navigation a::before {
    position: absolute;
    right: 50%;
    bottom: 34px;
    left: 50%;
    height: 2px;
    border-radius: 20px;
    background:
        linear-gradient(
            90deg,
            var(--green-500),
            var(--orange-500)
        );
    content: "";
    opacity: 0;
    transition:
        right 0.28s ease,
        left 0.28s ease,
        opacity 0.28s ease;
}

.header.scrolled .navigation a::before {
    bottom: 24px;
}

.navigation a:hover,
.navigation a.active {
    color: var(--green-700);
}

.navigation a:hover {
    transform: translateY(-2px);
}

.navigation a:hover::before,
.navigation a.active::before {
    right: 0;
    left: 0;
    opacity: 1;
}

/* =====================================================
   BOTÓN DEL MENÚ
===================================================== */

.menu-button {
    position: relative;
    width: 48px;
    height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background-color: var(--white);
    cursor: pointer;
    box-shadow: var(--shadow-small);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.menu-button:hover {
    border-color: rgba(241, 139, 24, 0.5);
    box-shadow: var(--shadow-orange);
    transform: translateY(-2px);
}

.menu-button-line {
    width: 21px;
    height: 2px;
    border-radius: 5px;
    background-color: var(--green-900);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.menu-button.active .menu-button-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.active .menu-button-line:nth-child(2) {
    opacity: 0;
}

.menu-button.active .menu-button-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   PORTADA
===================================================== */

.hero {
    position: relative;
    min-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background-color: var(--green-950);
}

.hero-background {
    position: absolute;
    inset: -40px;
    background:
        linear-gradient(
            90deg,
            rgba(4, 17, 8, 0.92),
            rgba(6, 20, 10, 0.7)
        );
    transform:
        translateY(var(--hero-parallax))
        scale(1.07);
    transition: transform 0.12s linear;
    animation: heroBackgroundEntrance 1.6s ease both;
}

@keyframes heroBackgroundEntrance {
    from {
        opacity: 0;
        transform: scale(1.16);
    }

    to {
        opacity: 1;
        transform: scale(1.07);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(4, 17, 8, 0.97) 0%,
            rgba(8, 28, 13, 0.9) 42%,
            rgba(8, 28, 13, 0.52) 74%,
            rgba(8, 28, 13, 0.35) 100%
        ),
        linear-gradient(
            to top,
            rgba(3, 14, 7, 0.76),
            transparent 40%
        );
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.hero-decoration-one {
    top: 18%;
    right: 9%;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: floatingOrbit 9s ease-in-out infinite;
}

.hero-decoration-two {
    right: 19%;
    bottom: 4%;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(241, 139, 24, 0.22);
    animation: floatingOrbit 7s ease-in-out infinite reverse;
}

@keyframes floatingOrbit {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-18px) rotate(8deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 210px 0 120px;
}

.hero-main-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(430px, 0.88fr);
    gap: clamp(24px, 4vw, 70px);
    align-items: center;
}

.hero-copy {
    max-width: 850px;
}

.hero-label,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 19px;
    color: var(--green-300);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-label::before,
.section-label::before {
    width: 35px;
    height: 1px;
    background-color: currentColor;
    content: "";
}

.hero-label {
    animation: heroTextEntrance 0.85s ease 0.15s both;
}

.hero h1 {
    max-width: 850px;
    margin-bottom: 28px;
    font-size: clamp(3.05rem, 5vw, 5.25rem);
    font-weight: 900;
    line-height: 1.01;
    letter-spacing: -3.5px;
    text-wrap: balance;
    text-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
    animation: heroTextEntrance 0.9s ease 0.28s both;
}

.hero-description {
    max-width: 735px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
    line-height: 1.85;
    animation: heroTextEntrance 0.9s ease 0.42s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 39px;
    animation: heroTextEntrance 0.9s ease 0.56s both;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 48px;
    animation: heroTextEntrance 0.9s ease 0.7s both;
}

.hero-highlight {
    min-width: 172px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(10px);
    transition:
        border-color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.hero-highlight:hover {
    border-color: rgba(241, 139, 24, 0.4);
    background-color: rgba(255, 255, 255, 0.09);
    transform: translateY(-4px);
}

.hero-highlight-number {
    color: var(--orange-400);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.hero-highlight-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.82rem;
    font-weight: 700;
}

@keyframes heroTextEntrance {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   IMAGEN PREMIUM DE MAQUINARIA
===================================================== */

.hero-visual {
    --machine-rotate-x: 0deg;
    --machine-rotate-y: 0deg;
    --machine-shift-x: 0px;
    --machine-shift-y: 0px;
    --aura-shift-x: 0px;
    --aura-shift-y: 0px;

    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    animation: heroVisualEntrance 1s ease 0.45s both;
}

@keyframes heroVisualEntrance {
    from {
        opacity: 0;
        transform: translateX(42px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.hero-visual-aura {
    position: absolute;
    width: min(520px, 92%);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(241, 139, 24, 0.3) 0%,
            rgba(241, 139, 24, 0.14) 29%,
            rgba(66, 150, 84, 0.08) 53%,
            transparent 73%
        );
    filter: blur(12px);
    opacity: 0.86;
    transform:
        translate(
            var(--aura-shift-x),
            var(--aura-shift-y)
        )
        scale(1);
    animation: heroAuraPulse 5s ease-in-out infinite;
    transition:
        opacity 0.35s ease,
        filter 0.35s ease;
}

@keyframes heroAuraPulse {
    0%,
    100% {
        opacity: 0.78;
        filter: blur(12px);
    }

    50% {
        opacity: 1;
        filter: blur(17px);
    }
}

.hero-machine-float {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 660px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroMachineFloat 4.8s ease-in-out infinite;
}

@keyframes heroMachineFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-11px);
    }
}

.hero-machine-stage {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    transform:
        translate3d(
            var(--machine-shift-x),
            var(--machine-shift-y),
            0
        )
        rotateX(var(--machine-rotate-x))
        rotateY(var(--machine-rotate-y));
    transition:
        transform 0.16s ease-out,
        filter 0.35s ease;
    will-change: transform;
}

.hero-machine-image {
    width: 100%;
    max-width: 660px;
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 24px 45px rgba(0, 0, 0, 0.34))
        drop-shadow(0 8px 24px rgba(241, 139, 24, 0.14));
    transform: scale(1);
    transform-origin: center;
    transition:
        filter 0.4s ease,
        transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.hero-visual:hover .hero-machine-image {
    filter:
        drop-shadow(0 32px 58px rgba(0, 0, 0, 0.39))
        drop-shadow(0 11px 30px rgba(241, 139, 24, 0.2));
    transform: scale(1.045);
}

.hero-visual:hover .hero-visual-aura {
    opacity: 1;
    filter: blur(20px);
}

.hero-badge {
    position: absolute;
    z-index: 4;
    min-width: 190px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    color: var(--white);
    background-color: rgba(8, 22, 12, 0.52);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition:
        border-color 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.hero-badge small {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hero-badge strong {
    display: block;
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 850;
}

.hero-badge-top {
    top: 62px;
    right: 0;
    animation: badgeFloatOne 5s ease-in-out infinite;
}

.hero-badge-bottom {
    bottom: 58px;
    left: 4px;
    animation: badgeFloatTwo 5.5s ease-in-out infinite;
}

@keyframes badgeFloatOne {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -7px;
    }
}

@keyframes badgeFloatTwo {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 7px;
    }
}

.hero-visual:hover .hero-badge {
    border-color: rgba(241, 139, 24, 0.36);
    background-color: rgba(8, 22, 12, 0.64);
    box-shadow:
        0 24px 52px rgba(0, 0, 0, 0.25),
        0 0 22px rgba(241, 139, 24, 0.08);
}

.hero-badge:hover {
    transform: translateY(-4px) scale(1.02);
}

.hero-badge-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--green-500),
            var(--green-700)
        );
    font-size: 0.9rem;
    font-weight: 900;
}

.hero-badge-dot {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--orange-400);
    box-shadow:
        0 0 0 6px rgba(241, 139, 24, 0.18),
        0 0 18px rgba(241, 139, 24, 0.58);
}

.scroll-indicator {
    position: absolute;
    right: 2.5%;
    bottom: 52px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    transform: rotate(90deg);
    transform-origin: right center;
}

.scroll-indicator-line {
    position: relative;
    width: 65px;
    height: 1px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.22);
}

.scroll-indicator-line::after {
    position: absolute;
    top: 0;
    left: -50%;
    width: 45%;
    height: 100%;
    background-color: var(--orange-400);
    content: "";
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    to {
        left: 110%;
    }
}

/* =====================================================
   BOTONES
===================================================== */

.button {
    position: relative;
    min-height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    overflow: hidden;
    padding: 14px 29px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    isolation: isolate;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.button::before {
    position: absolute;
    top: -80%;
    left: -50%;
    z-index: -1;
    width: 40%;
    height: 260%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            transparent
        );
    content: "";
    transform: rotate(20deg);
    transition: left 0.7s ease;
}

.button:hover {
    transform: translateY(-4px);
}

.button:hover::before {
    left: 130%;
}

.button:active {
    transform: translateY(-1px) scale(0.98);
}

.button-arrow {
    font-size: 1.12rem;
    transition: transform 0.3s ease;
}

.button:hover .button-arrow {
    transform: translateX(5px);
}

.button-primary {
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--green-500),
            var(--green-700)
        );
    box-shadow:
        0 15px 33px rgba(35, 99, 51, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-primary:hover {
    box-shadow:
        0 23px 42px rgba(35, 99, 51, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-outline-light {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.38);
    background-color: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
}

.button-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.66);
    background-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.2);
}

.button-light {
    color: var(--green-900);
    background-color: var(--white);
    box-shadow: 0 17px 38px rgba(3, 18, 8, 0.25);
}

.button-light:hover {
    color: var(--green-700);
    box-shadow: 0 24px 48px rgba(3, 18, 8, 0.34);
}

.button-ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.36);
    pointer-events: none;
    transform: scale(0);
    animation: buttonRipple 0.65s ease-out;
}

@keyframes buttonRipple {
    to {
        opacity: 0;
        transform: scale(4);
    }
}

/* =====================================================
   SECCIONES
===================================================== */

.section {
    position: relative;
    padding: 120px 0;
}

.section-heading {
    max-width: 850px;
    margin-bottom: 54px;
}

.section-heading-centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading-centered .section-label {
    justify-content: center;
}

.section h2,
.call-to-action h2 {
    max-width: 850px;
    margin-bottom: 24px;
    font-size: clamp(2.25rem, 4.3vw, 3.75rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -2px;
    text-wrap: balance;
}

.section:not(.section-dark) .section-label {
    color: var(--green-600);
}

.section-introduction {
    max-width: 750px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-heading-centered .section-introduction {
    margin-right: auto;
    margin-left: auto;
}

.section-dark {
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(
            145deg,
            var(--green-950),
            var(--green-850)
        );
}

.section-background-glow {
    position: absolute;
    top: -250px;
    right: -230px;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(105, 183, 120, 0.14),
            transparent 67%
        );
    pointer-events: none;
    animation: sectionGlow 8s ease-in-out infinite;
}

@keyframes sectionGlow {
    50% {
        transform: translate(-30px, 25px) scale(1.08);
    }
}

.section-dark::after {
    position: absolute;
    bottom: -360px;
    left: -270px;
    width: 690px;
    height: 690px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(241, 139, 24, 0.09),
            transparent 68%
        );
    content: "";
}

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

.section-dark .section-introduction {
    color: rgba(255, 255, 255, 0.66);
}

/* =====================================================
   SUPERFICIES PREMIUM
===================================================== */

.premium-surface,
.premium-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
    position: relative;
    isolation: isolate;
}

.premium-surface::before,
.premium-card::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
        radial-gradient(
            420px circle at var(--mouse-x) var(--mouse-y),
            rgba(241, 139, 24, 0.11),
            transparent 45%
        );
    content: "";
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.premium-surface:hover::before,
.premium-card:hover::before {
    opacity: 1;
}

/* =====================================================
   EMPRESA
===================================================== */

.company-section {
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            #ffffff,
            var(--green-50)
        );
}

.company-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
    gap: 75px;
    align-items: start;
}

.company-text p {
    max-width: 750px;
    margin-bottom: 22px;
    color: var(--text-secondary);
    font-size: 1.04rem;
    line-height: 1.88;
}

.company-leading-text {
    color: var(--text-primary) !important;
    font-size: 1.22rem !important;
    font-weight: 650;
    line-height: 1.75 !important;
}

.experience-panel {
    overflow: hidden;
    padding: 40px;
    border: 1px solid rgba(46, 117, 64, 0.16);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.95),
            rgba(231, 243, 234, 0.96)
        );
    box-shadow: var(--shadow-medium);
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

.experience-panel:hover {
    border-color: rgba(241, 139, 24, 0.3);
    box-shadow: var(--shadow-large);
    transform: translateY(-8px);
}

.experience-panel-line {
    width: 58px;
    height: 3px;
    margin-bottom: 28px;
    border-radius: 20px;
    background:
        linear-gradient(
            90deg,
            var(--green-500),
            var(--orange-500)
        );
    transition: width 0.4s ease;
}

.experience-panel:hover .experience-panel-line {
    width: 100px;
}

.experience-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: var(--orange-600);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.experience-panel strong {
    display: block;
    margin-bottom: 17px;
    color: var(--green-900);
    font-size: 1.45rem;
    line-height: 1.35;
}

.experience-panel p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}

.experience-tags span {
    padding: 7px 11px;
    border: 1px solid rgba(46, 117, 64, 0.14);
    border-radius: 30px;
    color: var(--green-700);
    background-color: rgba(255, 255, 255, 0.66);
    font-size: 0.72rem;
    font-weight: 800;
}

/* =====================================================
   TARJETAS
===================================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
}

.premium-card {
    min-height: 285px;
    overflow: hidden;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 1),
            rgba(248, 251, 248, 0.98)
        );
    box-shadow: var(--shadow-small);
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.premium-card::after {
    position: absolute;
    top: -80px;
    right: -80px;
    z-index: -1;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(241, 139, 24, 0.15),
            transparent 68%
        );
    content: "";
    opacity: 0;
    transform: scale(0.65);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.premium-card:hover {
    border-color: rgba(241, 139, 24, 0.28);
    box-shadow: var(--shadow-large);
    transform: translateY(-10px);
}

.premium-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.premium-card h3 {
    margin-bottom: 15px;
    color: var(--green-900);
    font-size: 1.27rem;
    font-weight: 800;
    line-height: 1.36;
    transition: color 0.3s ease;
}

.premium-card:hover h3 {
    color: var(--green-600);
}

.premium-card p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.section-dark .premium-card {
    border-color: rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.095),
            rgba(255, 255, 255, 0.045)
        );
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.17);
    backdrop-filter: blur(9px);
}

.section-dark .premium-card::before {
    background:
        radial-gradient(
            430px circle at var(--mouse-x) var(--mouse-y),
            rgba(241, 139, 24, 0.18),
            transparent 45%
        );
}

.section-dark .premium-card:hover {
    border-color: rgba(241, 139, 24, 0.38);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.135),
            rgba(255, 255, 255, 0.065)
        );
    box-shadow: 0 27px 65px rgba(0, 0, 0, 0.3);
}

.section-dark .premium-card h3 {
    color: var(--white);
}

.section-dark .premium-card p {
    color: rgba(255, 255, 255, 0.66);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
}

.card-number {
    width: 47px;
    height: 47px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(241, 139, 24, 0.28);
    border-radius: 50%;
    color: var(--orange-400);
    background-color: rgba(241, 139, 24, 0.09);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    transition:
        color 0.35s ease,
        background-color 0.35s ease,
        transform 0.35s ease;
}

.card-line {
    width: 40px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.16);
    transition:
        background-color 0.35s ease,
        width 0.35s ease;
}

.service-card:hover .card-number {
    color: var(--white);
    background-color: var(--orange-500);
    transform: rotate(-8deg) scale(1.08);
}

.service-card:hover .card-line {
    width: 72px;
    background-color: var(--orange-500);
}

.machinery-section {
    background-color: var(--white);
}

.machine-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 35px;
}

.machine-number {
    color: var(--orange-600);
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -1px;
    transition: transform 0.35s ease;
}

.machine-card:hover .machine-number {
    transform: translateY(-3px) scale(1.08);
}

.machine-category {
    padding: 6px 10px;
    border-radius: 30px;
    color: var(--green-700);
    background-color: var(--green-100);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.machine-card-decoration {
    position: absolute;
    right: 28px;
    bottom: 26px;
    width: 50px;
    height: 7px;
    border-radius: 20px;
    background:
        linear-gradient(
            90deg,
            var(--green-500),
            var(--orange-500)
        );
    opacity: 0.45;
    transition:
        opacity 0.35s ease,
        width 0.35s ease;
}

.machine-card:hover .machine-card-decoration {
    width: 85px;
    opacity: 1;
}

/* =====================================================
   GALERÍA
===================================================== */

.works-section {
    background:
        linear-gradient(
            180deg,
            var(--green-50),
            #ffffff
        );
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
}

.gallery-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 21px;
    background-color: var(--white);
    box-shadow: var(--shadow-small);
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-card:hover {
    border-color: rgba(241, 139, 24, 0.3);
    box-shadow: var(--shadow-large);
    transform: translateY(-10px);
}

.gallery-media {
    position: relative;
    min-height: 255px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #d9e7dc,
            #f4f8f5
        );
    transition: transform 0.5s ease;
}

.gallery-media::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(46, 117, 64, 0.04),
            rgba(241, 139, 24, 0.17)
        );
    content: "";
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-media::after {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 14px;
    content: "";
    opacity: 0;
    transform: scale(0.94);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.gallery-card:hover .gallery-media {
    transform: scale(1.025);
}

.gallery-card:hover .gallery-media::before,
.gallery-card:hover .gallery-media::after {
    opacity: 1;
}

.gallery-card:hover .gallery-media::after {
    transform: scale(1);
}

.gallery-index {
    position: absolute;
    top: 19px;
    left: 19px;
    z-index: 2;
    color: var(--orange-600);
    font-size: 0.76rem;
    font-weight: 900;
}

.gallery-placeholder-text {
    position: relative;
    z-index: 2;
    color: var(--green-700);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.gallery-content {
    position: relative;
    z-index: 3;
    padding: 27px;
    background-color: var(--white);
}

.gallery-category {
    display: block;
    margin-bottom: 9px;
    color: var(--orange-600);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gallery-content h3 {
    margin-bottom: 10px;
    color: var(--green-900);
    font-size: 1.18rem;
    line-height: 1.35;
}

.gallery-content p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.7;
}

/* =====================================================
   LLAMADA A LA ACCIÓN
===================================================== */

.call-to-action {
    position: relative;
    overflow: hidden;
    padding: 92px 0;
    color: var(--white);
    background:
        linear-gradient(
            130deg,
            var(--green-800),
            var(--green-600)
        );
}

.call-to-action-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.orbit-one {
    top: -220px;
    right: -150px;
    width: 510px;
    height: 510px;
    animation: orbitMove 11s ease-in-out infinite;
}

.orbit-two {
    right: 130px;
    bottom: -300px;
    width: 560px;
    height: 560px;
    border-color: rgba(241, 139, 24, 0.23);
    animation: orbitMove 9s ease-in-out infinite reverse;
}

@keyframes orbitMove {
    50% {
        transform: translate(-25px, 20px) scale(1.05);
    }
}

.call-to-action-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.call-to-action h2 {
    margin-bottom: 14px;
}

.call-to-action p:not(.section-label) {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.77);
    line-height: 1.75;
}

/* =====================================================
   CONTACTO
===================================================== */

.contact-section {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
}

.contact-card {
    min-height: 275px;
    overflow: hidden;
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 21px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8faf8
        );
    box-shadow: var(--shadow-small);
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s ease;
}

.contact-card::after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            var(--green-500),
            var(--orange-500)
        );
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-card:hover {
    border-color: rgba(241, 139, 24, 0.28);
    box-shadow: var(--shadow-large);
    transform: translateY(-9px);
}

.contact-card:hover::after {
    transform: scaleX(1);
}

.contact-number {
    display: block;
    margin-bottom: 26px;
    color: var(--orange-600);
    font-size: 1.6rem;
    font-weight: 900;
}

.contact-card h3 {
    margin-bottom: 12px;
    color: var(--green-900);
    font-size: 1.25rem;
}

.contact-card p {
    margin-bottom: 22px;
    color: var(--text-secondary);
    line-height: 1.72;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0;
    color: var(--green-600);
    background: transparent;
    font-weight: 850;
    cursor: pointer;
    text-align: left;
    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.contact-link:hover {
    gap: 14px;
    color: var(--orange-600);
}

.contact-location {
    color: var(--green-700);
    font-weight: 850;
}

/* =====================================================
   BOTÓN FLOTANTE
===================================================== */

.floating-budget-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 950;
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    border-radius: 40px;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--orange-500),
            var(--orange-700)
        );
    cursor: pointer;
    box-shadow:
        0 18px 42px rgba(188, 89, 9, 0.34);
    animation: floatingButtonEntrance 0.8s ease 1s both;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

@keyframes floatingButtonEntrance {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-budget-button:hover {
    box-shadow:
        0 25px 52px rgba(188, 89, 9, 0.43);
    transform: translateY(-5px);
}

.floating-budget-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.17);
    font-size: 1.35rem;
    transition: transform 0.35s ease;
}

.floating-budget-button:hover .floating-budget-icon {
    transform: rotate(90deg);
}

.floating-budget-text {
    font-size: 0.83rem;
    font-weight: 850;
}

/* =====================================================
   MODAL
===================================================== */

.budget-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.budget-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.budget-modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(3, 13, 6, 0.8);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.budget-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 48px;
    border: 1px solid rgba(241, 139, 24, 0.2);
    border-radius: 25px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7faf8
        );
    box-shadow:
        0 40px 110px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition:
        opacity 0.36s ease,
        transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.budget-modal.active .budget-modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.budget-modal-dialog::-webkit-scrollbar {
    width: 8px;
}

.budget-modal-dialog::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: rgba(46, 117, 64, 0.28);
}

.budget-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--green-900);
    background-color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-small);
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.3s ease;
}

.budget-modal-close:hover {
    color: var(--white);
    border-color: var(--orange-500);
    background-color: var(--orange-500);
    transform: rotate(90deg);
}

.budget-modal-header {
    padding-right: 55px;
    margin-bottom: 35px;
}

.budget-modal-header .section-label {
    color: var(--green-600);
}

.budget-modal-header h2 {
    max-width: 680px;
    margin-bottom: 15px;
    color: var(--green-900);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -1.7px;
}

.budget-modal-header > p:last-child {
    max-width: 700px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.budget-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--green-900);
    font-size: 0.9rem;
    font-weight: 850;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(23, 55, 32, 0.18);
    border-radius: 12px;
    outline: none;
    color: var(--text-primary);
    background-color: var(--white);
    font-size: 0.96rem;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.form-group input,
.form-group select {
    min-height: 53px;
    padding: 0 16px;
}

.form-group textarea {
    min-height: 145px;
    padding: 15px 16px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #939d95;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(46, 117, 64, 0.38);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-500);
    box-shadow:
        0 0 0 4px rgba(66, 150, 84, 0.12);
    transform: translateY(-1px);
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 26px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    cursor: pointer;
}

.privacy-checkbox input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--green-600);
}

.budget-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 31px;
}

.budget-cancel-button {
    color: var(--text-secondary);
    border-color: var(--border);
    background-color: var(--white);
    box-shadow: none;
}

.budget-cancel-button:hover {
    color: var(--green-900);
    border-color: rgba(46, 117, 64, 0.3);
    background-color: var(--green-50);
}

.budget-form-help {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.55;
    text-align: right;
}

/* =====================================================
   PIE DE PÁGINA
===================================================== */

.footer {
    position: relative;
    overflow: hidden;
    padding: 68px 0;
    color: rgba(255, 255, 255, 0.67);
    background-color: var(--green-950);
}

.footer::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(241, 139, 24, 0.55),
            transparent
        );
    content: "";
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 70px;
    align-items: start;
}

.footer-brand p {
    max-width: 370px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
    color: var(--white);
    font-size: 1.38rem;
    font-weight: 900;
    letter-spacing: -0.65px;
    line-height: 1.2;
}

.footer-logo-image {
    width: 66px;
    height: 66px;
    border: 2px solid var(--orange-500);
    border-radius: 50%;
    object-fit: cover;
    background-color: #070a08;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.footer-logo:hover .footer-logo-image {
    box-shadow: 0 0 0 6px rgba(241, 139, 24, 0.13);
    transform: rotate(-4deg) scale(1.05);
}

.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer a {
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--orange-400);
    transform: translateX(4px);
}

/* =====================================================
   ANIMACIONES AL DESPLAZARSE
===================================================== */

[data-reveal] {
    opacity: 0;
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal="up"] {
    transform: translateY(38px);
}

[data-reveal="left"] {
    transform: translateX(-42px);
}

[data-reveal="right"] {
    transform: translateX(42px);
}

[data-reveal].visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* =====================================================
   ESCRITORIOS MEDIANOS
===================================================== */

@media (max-width: 1250px) {
    :root {
        --container: 1160px;
    }

    .header-logo-name {
        font-size: 1.43rem;
    }

    .navigation {
        gap: 21px;
    }

    .hero-main-grid {
        grid-template-columns:
            minmax(0, 1.08fr)
            minmax(390px, 0.92fr);
        gap: 25px;
    }

    .hero h1 {
        font-size: clamp(3rem, 4.8vw, 4.75rem);
    }

    .hero-machine-float,
    .hero-machine-image {
        max-width: 580px;
    }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1080px) {
    .header-logo-image {
        width: 82px;
        height: 82px;
    }

    .header.scrolled .header-logo-image {
        width: 70px;
        height: 70px;
    }

    .header-logo-name {
        font-size: 1.3rem;
    }

    .header-logo-subtitle {
        display: none;
    }

    .navigation {
        gap: 18px;
    }

    .navigation a {
        font-size: 0.83rem;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 175px;
    }

    .hero-main-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-copy {
        max-width: 950px;
    }

    .hero h1 {
        max-width: 950px;
    }

    .hero-visual {
        min-height: 510px;
    }

    .hero-machine-float,
    .hero-machine-image {
        max-width: 670px;
    }

    .hero-badge-top {
        right: 8%;
    }

    .hero-badge-bottom {
        left: 8%;
    }

    .cards-grid,
    .gallery-grid,
    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .call-to-action-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .scroll-indicator {
        display: none;
    }
}

/* =====================================================
   MENÚ MÓVIL
===================================================== */

@media (max-width: 850px) {
    html {
        scroll-padding-top: 86px;
    }

    .header-content,
    .header.scrolled .header-content {
        min-height: 86px;
    }

    .header-logo {
        gap: 10px;
    }

    .header-logo-image,
    .header.scrolled .header-logo-image {
        width: 66px;
        height: 66px;
    }

    .header-logo-name {
        font-size: 1.08rem;
        letter-spacing: -0.45px;
    }

    .header-logo-subtitle {
        display: block;
        font-size: 0.54rem;
        letter-spacing: 0.65px;
    }

    .menu-button {
        display: flex;
    }

    .navigation {
        position: fixed;
        top: 86px;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 86px);
        padding: 13px 5% 26px;
        overflow-y: auto;
        border-bottom: 1px solid var(--border);
        background-color: rgba(255, 255, 255, 0.99);
        box-shadow: 0 22px 48px rgba(7, 29, 13, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-130%);
        transition:
            opacity 0.35s ease,
            visibility 0.35s ease,
            transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .navigation.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navigation a,
    .header.scrolled .navigation a {
        padding: 17px 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }

    .navigation a::before,
    .header.scrolled .navigation a::before {
        right: auto;
        bottom: 9px;
        left: 0;
        width: 0;
    }

    .navigation a:hover::before,
    .navigation a.active::before {
        right: auto;
        width: 38px;
    }

    .hero-content {
        padding: 145px 0 95px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                rgba(4, 17, 8, 0.91),
                rgba(8, 28, 13, 0.84)
            );
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-machine-float,
    .hero-machine-image {
        max-width: 560px;
    }

    .hero-badge {
        min-width: 170px;
        padding: 12px 14px;
    }

    .hero-badge-top {
        top: 32px;
        right: 0;
    }

    .hero-badge-bottom {
        bottom: 28px;
        left: 0;
    }

    .section {
        padding: 90px 0;
    }

    .cards-grid,
    .gallery-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .premium-card {
        min-height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .budget-modal {
        align-items: flex-end;
        padding: 0;
    }

    .budget-modal-dialog {
        width: 100%;
        max-height: 94vh;
        padding: 36px 22px 28px;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 25px 25px 0 0;
        transform: translateY(100%);
    }

    .budget-modal.active .budget-modal-dialog {
        transform: translateY(0);
    }

    .budget-modal-close {
        top: 15px;
        right: 15px;
        width: 41px;
        height: 41px;
    }

    .budget-modal-header {
        padding-right: 42px;
    }

    .budget-modal-header h2 {
        font-size: 2rem;
        letter-spacing: -1.2px;
    }

    .budget-form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-group-full {
        grid-column: auto;
    }

    .budget-form-actions {
        flex-direction: column-reverse;
    }

    .budget-form-actions .button {
        width: 100%;
    }

    .budget-form-help {
        text-align: center;
    }
}

/* =====================================================
   MÓVIL PEQUEÑO
===================================================== */

@media (max-width: 520px) {
    .container {
        width: min(92%, var(--container));
    }

    .header-logo-subtitle {
        display: none;
    }

    .header-logo-image,
    .header.scrolled .header-logo-image {
        width: 60px;
        height: 60px;
    }

    .header-logo-name {
        font-size: 1rem;
        letter-spacing: -0.4px;
    }

    .hero-content {
        padding: 135px 0 82px;
    }

    .hero h1 {
        font-size: 2.62rem;
        letter-spacing: -1.7px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-highlights {
        flex-direction: column;
    }

    .hero-highlight {
        width: 100%;
    }

    .hero-visual {
        min-height: 320px;
    }

    .hero-machine-float,
    .hero-machine-image {
        max-width: 390px;
    }

    .hero-badge {
        display: none;
    }

    .section h2,
    .call-to-action h2 {
        font-size: 2.12rem;
        letter-spacing: -1.2px;
    }

    .premium-card,
    .contact-card,
    .experience-panel {
        padding: 28px;
    }

    .gallery-media {
        min-height: 220px;
    }

    .floating-budget-button {
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
        justify-content: center;
        padding: 8px;
    }

    .floating-budget-text {
        display: none;
    }

    .call-to-action {
        padding: 78px 0;
    }
}

/* =====================================================
   REDUCCIÓN DE MOVIMIENTO
===================================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .hero-machine-stage {
        transform: none !important;
    }
}

/* =====================================================
   COOPERATIVA PIN-UNO — CAPA HÍPER MEGA PREMIUM
   Compatible con el HTML y main.js entregados.
===================================================== */

:root {
    --premium-gold: #ffb34a;
    --premium-gold-deep: #e77a12;
    --premium-emerald: #7bc98a;
    --premium-emerald-deep: #1d6b35;
    --premium-ink: #041108;
    --premium-glass: rgba(255, 255, 255, 0.075);
    --premium-glass-strong: rgba(255, 255, 255, 0.12);
    --premium-line: rgba(255, 179, 74, 0.24);
    --premium-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --premium-ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --premium-shadow:
        0 28px 80px rgba(3, 18, 8, 0.2),
        0 8px 26px rgba(3, 18, 8, 0.12);
}

html {
    scrollbar-color: var(--green-600) var(--green-50);
    scrollbar-width: thin;
}

body {
    position: relative;
    background:
        radial-gradient(circle at 10% 5%, rgba(66, 150, 84, 0.045), transparent 25%),
        radial-gradient(circle at 90% 30%, rgba(241, 139, 24, 0.04), transparent 24%),
        var(--background);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(23, 55, 32, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 55, 32, 0.018) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 72%);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--green-50);
}

::-webkit-scrollbar-thumb {
    border: 2px solid var(--green-50);
    border-radius: 999px;
    background:
        linear-gradient(
            180deg,
            var(--green-500),
            var(--green-700)
        );
}

::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(
            180deg,
            var(--orange-500),
            var(--green-700)
        );
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(255, 164, 45, 0.65);
    outline-offset: 4px;
}

/* =====================================================
   ENCABEZADO HÍPER PREMIUM
===================================================== */

.header {
    background:
        linear-gradient(
            110deg,
            rgba(255, 255, 255, 0.965),
            rgba(247, 252, 248, 0.91)
        );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 14px 50px rgba(5, 28, 12, 0.055);
}

.header::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(66, 150, 84, 0.28),
            rgba(241, 139, 24, 0.4),
            transparent
        );
    content: "";
    opacity: 0.68;
}

.header.scrolled {
    background:
        linear-gradient(
            110deg,
            rgba(255, 255, 255, 0.985),
            rgba(245, 250, 246, 0.97)
        );
    box-shadow:
        0 18px 55px rgba(4, 24, 10, 0.115),
        inset 0 -1px 0 rgba(255, 255, 255, 0.75);
}

.header-logo {
    position: relative;
    padding-right: 8px;
}

.header-logo::after {
    position: absolute;
    top: 50%;
    right: -10px;
    width: 1px;
    height: 36px;
    background:
        linear-gradient(
            transparent,
            rgba(23, 55, 32, 0.2),
            transparent
        );
    content: "";
    transform: translateY(-50%);
}

.header-logo-image {
    position: relative;
    border-color: rgba(241, 139, 24, 0.86);
    box-shadow:
        0 15px 34px rgba(3, 22, 9, 0.25),
        0 0 0 5px rgba(255, 255, 255, 0.85),
        0 0 0 7px rgba(241, 139, 24, 0.13);
}

.header-logo:hover .header-logo-image {
    box-shadow:
        0 21px 43px rgba(3, 22, 9, 0.31),
        0 0 0 5px rgba(255, 255, 255, 0.94),
        0 0 0 9px rgba(241, 139, 24, 0.17),
        0 0 34px rgba(241, 139, 24, 0.16);
}

.header-logo-name {
    background:
        linear-gradient(
            110deg,
            var(--green-950),
            var(--green-700) 58%,
            var(--orange-700)
        );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 8px 25px rgba(8, 42, 18, 0.08);
}

.header-logo-subtitle {
    color: #667369;
}

.navigation a {
    letter-spacing: 0.04px;
}

.navigation a::after {
    position: absolute;
    top: 24px;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--orange-500);
    content: "";
    opacity: 0;
    transform: translate(-50%, 5px) scale(0.5);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.header.scrolled .navigation a::after {
    top: 18px;
}

.navigation a:hover::after,
.navigation a.active::after {
    opacity: 0.9;
    transform: translate(-50%, 0) scale(1);
}

/* =====================================================
   PORTADA CINEMATOGRÁFICA
===================================================== */

.hero {
    isolation: isolate;
    min-height: max(900px, 100svh);
    background:
        linear-gradient(
            135deg,
            #031008,
            #0a2111 52%,
            #07180c
        );
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 77% 47%, rgba(255, 155, 36, 0.13), transparent 31%),
        radial-gradient(circle at 28% 38%, rgba(90, 182, 108, 0.11), transparent 34%);
    content: "";
    pointer-events: none;
    animation: premiumHeroBreathing 8s ease-in-out infinite;
}

.hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 56px 56px;
    content: "";
    pointer-events: none;
    mask-image:
        radial-gradient(circle at 70% 48%, black 0%, transparent 72%);
}

@keyframes premiumHeroBreathing {
    0%,
    100% {
        opacity: 0.78;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.045);
    }
}

.hero-background {
    filter:
        saturate(0.94)
        contrast(1.05)
        brightness(0.78);
}

.hero-overlay {
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(2, 14, 6, 0.985) 0%,
            rgba(5, 24, 11, 0.935) 39%,
            rgba(5, 23, 11, 0.58) 70%,
            rgba(4, 18, 8, 0.35) 100%
        ),
        linear-gradient(
            to top,
            rgba(2, 12, 5, 0.88),
            transparent 45%
        );
}

.hero-main-grid {
    position: relative;
    z-index: 3;
}

.hero-copy {
    position: relative;
}

.hero-copy::before {
    position: absolute;
    top: 36px;
    left: -44px;
    width: 2px;
    height: 118px;
    border-radius: 999px;
    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(255, 164, 45, 0.8),
            rgba(105, 183, 120, 0.54),
            transparent
        );
    content: "";
    opacity: 0.72;
}

.hero-label {
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.hero-label::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--orange-400);
    box-shadow:
        0 0 0 5px rgba(241, 139, 24, 0.12),
        0 0 18px rgba(255, 164, 45, 0.5);
}

.hero h1 {
    background:
        linear-gradient(
            105deg,
            #ffffff 0%,
            #f6fff7 62%,
            #d7efdc 100%
        );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow:
        0 18px 58px rgba(0, 0, 0, 0.42);
}

.hero-description {
    position: relative;
    padding-left: 21px;
    border-left: 1px solid rgba(255, 179, 74, 0.38);
}

.hero-highlight {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.13);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.035)
        );
    box-shadow:
        0 15px 34px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.hero-highlight::after {
    position: absolute;
    top: -100%;
    left: -40%;
    width: 30%;
    height: 280%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.24),
            transparent
        );
    content: "";
    transform: rotate(18deg);
    transition: left 0.75s ease;
}

.hero-highlight:hover::after {
    left: 130%;
}

.hero-highlight:hover {
    border-color: rgba(255, 179, 74, 0.42);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.13),
            rgba(255, 179, 74, 0.055)
        );
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.21),
        0 0 30px rgba(241, 139, 24, 0.07);
}

/* Imagen de maquinaria */

.hero-visual {
    isolation: isolate;
}

.hero-visual::before {
    position: absolute;
    inset: 6% 2% 2%;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 46% 54% 50% 50% / 48% 44% 56% 52%;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.026),
            transparent 62%
        );
    content: "";
    transform: rotate(-4deg);
    animation: premiumMachineFrame 11s ease-in-out infinite;
}

.hero-visual::after {
    position: absolute;
    right: 7%;
    bottom: 13%;
    left: 5%;
    z-index: -1;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    content: "";
    filter: blur(20px);
    opacity: 0.6;
    transform: scaleX(0.84);
    transition:
        opacity 0.4s ease,
        transform 0.4s var(--premium-ease);
}

@keyframes premiumMachineFrame {
    0%,
    100% {
        transform: rotate(-4deg) scale(1);
    }

    50% {
        transform: rotate(2deg) scale(1.025);
    }
}

.hero-visual:hover::after {
    opacity: 0.76;
    transform: scaleX(0.93) translateY(5px);
}

.hero-visual-aura {
    background:
        radial-gradient(
            circle,
            rgba(255, 157, 36, 0.34) 0%,
            rgba(255, 157, 36, 0.17) 26%,
            rgba(85, 175, 104, 0.1) 49%,
            transparent 72%
        );
    filter: blur(18px);
}

.hero-machine-float {
    filter: saturate(1.06) contrast(1.025);
}

.hero-machine-image {
    filter:
        drop-shadow(0 30px 58px rgba(0, 0, 0, 0.42))
        drop-shadow(0 12px 31px rgba(241, 139, 24, 0.19));
}

.hero-visual:hover .hero-machine-image {
    filter:
        drop-shadow(0 42px 73px rgba(0, 0, 0, 0.5))
        drop-shadow(0 16px 38px rgba(255, 156, 39, 0.27));
    transform: scale(1.055);
}

.hero-badge {
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(
            145deg,
            rgba(8, 25, 13, 0.72),
            rgba(13, 44, 22, 0.48)
        );
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 179, 74, 0.025);
}

.hero-badge::after {
    position: absolute;
    top: -80%;
    left: -60%;
    width: 32%;
    height: 260%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.22),
            transparent
        );
    content: "";
    transform: rotate(18deg);
    animation: premiumBadgeShine 6s ease-in-out infinite;
}

@keyframes premiumBadgeShine {
    0%,
    62% {
        left: -60%;
    }

    78%,
    100% {
        left: 150%;
    }
}

/* =====================================================
   BOTONES DE LUJO
===================================================== */

.button {
    border-radius: 14px;
    letter-spacing: 0.05px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.button::after {
    position: absolute;
    inset: 1px;
    z-index: -2;
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            transparent 56%
        );
    content: "";
    pointer-events: none;
}

.button-primary {
    border-color: rgba(132, 220, 149, 0.2);
    background:
        linear-gradient(
            135deg,
            #4aa75e 0%,
            #26723a 58%,
            #1e5e31 100%
        );
    box-shadow:
        0 18px 43px rgba(35, 99, 51, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.23),
        0 0 0 1px rgba(255, 255, 255, 0.03);
}

.button-primary:hover {
    border-color: rgba(255, 179, 74, 0.34);
    box-shadow:
        0 27px 56px rgba(25, 89, 41, 0.43),
        0 0 34px rgba(78, 172, 98, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.button-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.095),
            rgba(255, 255, 255, 0.035)
        );
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button-outline-light:hover {
    border-color: rgba(255, 179, 74, 0.62);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 179, 74, 0.08)
        );
    box-shadow:
        0 24px 52px rgba(0, 0, 0, 0.26),
        0 0 30px rgba(255, 164, 45, 0.1);
}

.button-light {
    border-color: rgba(255, 255, 255, 0.75);
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #edf7ef
        );
}

/* =====================================================
   SECCIONES Y TITULARES
===================================================== */

.section {
    isolation: isolate;
}

.section::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(740px, 72%);
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(46, 117, 64, 0.2),
            rgba(241, 139, 24, 0.22),
            transparent
        );
    content: "";
    transform: translateX(-50%);
}

.section-heading {
    position: relative;
}

.section-heading::after {
    width: 92px;
    height: 4px;
    display: block;
    margin-top: 27px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            var(--green-500),
            var(--orange-500)
        );
    box-shadow: 0 7px 22px rgba(241, 139, 24, 0.18);
    content: "";
}

.section-heading-centered::after {
    margin-right: auto;
    margin-left: auto;
}

.section h2,
.call-to-action h2 {
    background:
        linear-gradient(
            110deg,
            var(--green-950),
            var(--green-700) 72%,
            var(--orange-700)
        );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.section-dark h2,
.call-to-action h2 {
    background:
        linear-gradient(
            105deg,
            #ffffff,
            #dcf1e1 72%,
            #ffd19b
        );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.section-label {
    letter-spacing: 2.3px;
}

/* =====================================================
   TARJETAS HÍPER PREMIUM
===================================================== */

.premium-card,
.premium-surface,
.gallery-card,
.contact-card,
.experience-panel {
    transform-style: preserve-3d;
}

.premium-card,
.contact-card,
.gallery-card,
.experience-panel {
    border-color: rgba(23, 55, 32, 0.11);
    box-shadow:
        0 13px 34px rgba(5, 31, 12, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.premium-card::before,
.premium-surface::before {
    z-index: 0;
}

.premium-card > *,
.premium-surface > * {
    position: relative;
    z-index: 1;
}

.premium-card:hover,
.contact-card:hover,
.gallery-card:hover,
.experience-panel:hover {
    border-color: rgba(241, 139, 24, 0.31);
    box-shadow:
        0 38px 90px rgba(5, 30, 12, 0.18),
        0 12px 30px rgba(5, 30, 12, 0.09),
        0 0 0 1px rgba(241, 139, 24, 0.045),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.premium-card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.99),
            rgba(244, 249, 245, 0.97)
        );
}

.premium-card::after {
    z-index: 0;
    background:
        radial-gradient(
            circle,
            rgba(255, 172, 67, 0.18),
            rgba(91, 178, 108, 0.055) 45%,
            transparent 70%
        );
}

.section-dark .premium-card {
    border-color: rgba(255, 255, 255, 0.105);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.105),
            rgba(255, 255, 255, 0.035)
        );
    box-shadow:
        0 20px 52px rgba(0, 0, 0, 0.21),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.section-dark .premium-card:hover {
    border-color: rgba(255, 179, 74, 0.42);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.15),
            rgba(255, 172, 67, 0.045)
        );
    box-shadow:
        0 36px 82px rgba(0, 0, 0, 0.36),
        0 0 38px rgba(241, 139, 24, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.card-number {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 10px 24px rgba(0, 0, 0, 0.1);
}

.machine-category,
.experience-tags span {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* =====================================================
   EMPRESA / COOPERATIVA
===================================================== */

.company-section {
    background:
        radial-gradient(circle at 86% 15%, rgba(241, 139, 24, 0.055), transparent 25%),
        radial-gradient(circle at 8% 75%, rgba(66, 150, 84, 0.07), transparent 28%),
        linear-gradient(180deg, #ffffff, var(--green-50));
}

.company-leading-text::first-letter {
    float: left;
    margin: 7px 9px 0 0;
    color: var(--green-700);
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 0.8;
}

.experience-panel {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 174, 67, 0.14), transparent 35%),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(229, 243, 233, 0.97)
        );
}

/* =====================================================
   GALERÍA
===================================================== */

.gallery-card {
    isolation: isolate;
}

.gallery-media {
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.75), transparent 27%),
        linear-gradient(135deg, #d7e8da, #f6faf7);
}

.gallery-media::before {
    background:
        linear-gradient(
            135deg,
            rgba(46, 117, 64, 0.05),
            rgba(241, 139, 24, 0.2)
        );
}

.gallery-placeholder-text {
    padding: 9px 13px;
    border: 1px solid rgba(46, 117, 64, 0.15);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.48);
    backdrop-filter: blur(8px);
}

.gallery-card:hover .gallery-placeholder-text {
    color: var(--orange-700);
    border-color: rgba(241, 139, 24, 0.32);
    background-color: rgba(255, 255, 255, 0.75);
}

/* =====================================================
   CTA
===================================================== */

.call-to-action {
    background:
        radial-gradient(circle at 85% 30%, rgba(255, 175, 70, 0.16), transparent 26%),
        radial-gradient(circle at 5% 90%, rgba(114, 206, 131, 0.14), transparent 28%),
        linear-gradient(130deg, #12361d, #1f6935 58%, #18572c);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.call-to-action::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    opacity: 0.55;
}

/* =====================================================
   CONTACTO
===================================================== */

.contact-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(66, 150, 84, 0.065), transparent 30%),
        #ffffff;
}

.contact-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 173, 66, 0.09), transparent 34%),
        linear-gradient(145deg, #ffffff, #f7faf8);
}

.contact-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 25px;
    border: 1px solid rgba(241, 139, 24, 0.18);
    border-radius: 50%;
    background-color: rgba(255, 240, 220, 0.65);
    box-shadow:
        0 12px 28px rgba(188, 89, 9, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    font-size: 0.84rem;
    letter-spacing: 1px;
}

/* =====================================================
   BOTÓN FLOTANTE
===================================================== */

.floating-budget-button {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background:
        linear-gradient(
            135deg,
            #ffa42d,
            #e06f0c 56%,
            #b54f07
        );
    box-shadow:
        0 22px 52px rgba(188, 89, 9, 0.39),
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 0 0 6px rgba(241, 139, 24, 0.07);
}

.floating-budget-button::before {
    position: absolute;
    inset: -7px;
    z-index: -1;
    border: 1px solid rgba(255, 164, 45, 0.22);
    border-radius: inherit;
    content: "";
    animation: premiumFloatingPulse 2.8s ease-in-out infinite;
}

@keyframes premiumFloatingPulse {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.98);
    }

    50% {
        opacity: 0;
        transform: scale(1.13);
    }
}

/* =====================================================
   MODAL ULTRA PREMIUM
===================================================== */

.budget-modal-backdrop {
    background:
        radial-gradient(circle at 50% 20%, rgba(72, 160, 89, 0.11), transparent 34%),
        rgba(2, 12, 5, 0.84);
}

.budget-modal-dialog {
    border-color: rgba(255, 174, 67, 0.24);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 175, 70, 0.1), transparent 30%),
        linear-gradient(145deg, #ffffff, #f4f9f5);
    box-shadow:
        0 50px 135px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(255, 255, 255, 0.68),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.budget-modal-dialog::before {
    position: absolute;
    top: 0;
    right: 70px;
    left: 0;
    height: 3px;
    border-radius: 25px 0 999px 0;
    background:
        linear-gradient(
            90deg,
            var(--green-500),
            var(--orange-500),
            transparent
        );
    content: "";
}

.form-group input,
.form-group select,
.form-group textarea {
    border-color: rgba(23, 55, 32, 0.15);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(247, 250, 247, 0.96)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 8px 20px rgba(5, 34, 13, 0.035);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(66, 150, 84, 0.82);
    box-shadow:
        0 0 0 4px rgba(66, 150, 84, 0.11),
        0 14px 30px rgba(5, 34, 13, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* =====================================================
   PIE PREMIUM
===================================================== */

.footer {
    background:
        radial-gradient(circle at 12% 5%, rgba(86, 180, 104, 0.11), transparent 28%),
        radial-gradient(circle at 88% 100%, rgba(255, 162, 45, 0.09), transparent 25%),
        linear-gradient(145deg, #031008, #071b0d 60%, #041309);
}

.footer::after {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 52px 52px;
    content: "";
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-logo span {
    background:
        linear-gradient(
            105deg,
            #ffffff,
            #d7efdc 70%,
            #ffc27a
        );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* =====================================================
   APARICIÓN MÁS ORGÁNICA
===================================================== */

[data-reveal] {
    filter: blur(3px);
    transition:
        opacity 0.85s ease,
        transform 0.9s var(--premium-ease-spring),
        filter 0.8s ease;
}

[data-reveal].visible {
    filter: blur(0);
}

/* =====================================================
   RESPONSIVE HÍPER PREMIUM
===================================================== */

@media (max-width: 1250px) {
    .header-logo::after {
        display: none;
    }

    .hero-copy::before {
        left: -24px;
    }
}

@media (max-width: 1080px) {
    .hero {
        min-height: auto;
    }

    .hero-copy::before {
        display: none;
    }

    .hero-main-grid {
        gap: 14px;
    }

    .hero-visual {
        margin-top: 12px;
    }

    .header-logo-name {
        max-width: 260px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 850px) {
    body::before {
        background-size: 34px 34px;
        opacity: 0.6;
    }

    .navigation a::after {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero::after {
        background-size: 42px 42px;
    }

    .hero-copy {
        text-align: left;
    }

    .hero-label {
        padding: 8px 11px;
        letter-spacing: 1.45px;
    }

    .hero-description {
        padding-left: 16px;
    }

    .hero-visual::before {
        inset: 7% 0 1%;
    }

    .section::before {
        width: 82%;
    }

    .company-leading-text::first-letter {
        float: none;
        margin: 0;
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
    }
}

@media (max-width: 520px) {
    .header-logo-name {
        max-width: 172px;
    }

    .hero-label {
        border-radius: 13px;
        line-height: 1.4;
    }

    .hero-highlight {
        border-radius: 13px;
    }

    .section-heading::after {
        width: 72px;
    }

    .budget-modal-dialog::before {
        right: 58px;
    }
}

@media (hover: none),
(pointer: coarse) {
    .premium-card:hover,
    .contact-card:hover,
    .gallery-card:hover,
    .experience-panel:hover,
    .hero-highlight:hover,
    .button:hover,
    .floating-budget-button:hover {
        transform: none;
    }

    .hero-visual:hover .hero-machine-image {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero-visual::before,
    .hero-badge::after,
    .floating-budget-button::before {
        animation: none !important;
    }

    [data-reveal] {
        filter: none !important;
    }
}


/* =====================================================
   COOPERATIVA PIN-UNO — SECCIÓN INSTITUCIONAL RESPONSIVE
   Capa final compatible con el index.html actualizado.
   Debe permanecer al final del archivo.
===================================================== */

/* Enlace accesible para saltar al contenido */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 5000;
    padding: 12px 18px;
    border: 1px solid rgba(255, 179, 74, 0.5);
    border-radius: 12px;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--green-700),
            var(--green-900)
        );
    box-shadow: var(--shadow-medium);
    font-size: 0.88rem;
    font-weight: 850;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-150%);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.skip-link:focus {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Foco visible consistente */
:where(
    a,
    button,
    input,
    select,
    textarea
):focus-visible {
    outline: 3px solid rgba(241, 139, 24, 0.48);
    outline-offset: 4px;
}

/* Evita desbordamientos en nombres y textos largos */
.header-logo-text,
.header-logo-name,
.footer-logo span,
.company-heading,
.company-heading-note,
.company-trust-item > div,
.company-text,
.experience-panel {
    min-width: 0;
}

/* =====================================================
   SECCIÓN COOPERATIVA — ESCENARIO
===================================================== */

.company-section {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding-top: clamp(92px, 8vw, 126px);
    padding-bottom: clamp(110px, 9vw, 150px);
    background:
        radial-gradient(
            circle at 6% 18%,
            rgba(66, 150, 84, 0.11),
            transparent 28%
        ),
        radial-gradient(
            circle at 91% 24%,
            rgba(241, 139, 24, 0.09),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbf8 46%,
            #eef6f0 100%
        );
}

.company-section::before {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    width: min(86%, 1160px);
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(46, 117, 64, 0.28),
            rgba(241, 139, 24, 0.38),
            transparent
        );
    content: "";
    transform: translateX(-50%);
}

.company-section::after {
    position: absolute;
    right: -240px;
    bottom: -330px;
    z-index: -2;
    width: 680px;
    height: 680px;
    border: 1px solid rgba(46, 117, 64, 0.08);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 75px rgba(46, 117, 64, 0.025),
        0 0 0 150px rgba(241, 139, 24, 0.018);
    pointer-events: none;
}

.company-background {
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
}

.company-background-grid {
    background-image:
        linear-gradient(
            rgba(23, 55, 32, 0.028) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(23, 55, 32, 0.028) 1px,
            transparent 1px
        );
    background-size: 56px 56px;
    opacity: 0.5;
    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 14%,
            #000 82%,
            transparent
        );
    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 14%,
            #000 82%,
            transparent
        );
}

.company-background-glow {
    background:
        radial-gradient(
            ellipse at 40% 43%,
            rgba(255, 255, 255, 0.92),
            rgba(255, 255, 255, 0.35) 42%,
            transparent 70%
        );
}

.company-watermark {
    position: absolute;
    top: clamp(96px, 9vw, 150px);
    right: -0.04em;
    z-index: -2;
    color: rgba(10, 28, 16, 0.025);
    font-size: clamp(6rem, 16vw, 17rem);
    font-weight: 950;
    line-height: 0.82;
    letter-spacing: -0.085em;
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

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

/* =====================================================
   CABECERA DE LA SECCIÓN
===================================================== */

.company-heading-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(270px, 0.6fr);
    gap: clamp(32px, 6vw, 92px);
    align-items: end;
    margin-bottom: clamp(38px, 5vw, 64px);
}

.company-heading {
    max-width: 870px;
    margin-bottom: 0;
}

.company-heading .section-label {
    margin-bottom: 18px;
}

.company-heading h2 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(2.65rem, 4.6vw, 4.75rem);
    line-height: 1.01;
    letter-spacing: -0.055em;
}

.company-heading .section-introduction {
    max-width: 760px;
    margin: 0;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.company-heading-note {
    position: relative;
    max-width: 440px;
    justify-self: end;
    padding: 22px 0 5px 28px;
    border-left: 1px solid rgba(46, 117, 64, 0.2);
}

.company-heading-note-line {
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 68px;
    border-radius: 999px;
    background:
        linear-gradient(
            to bottom,
            var(--green-500),
            var(--orange-500)
        );
    box-shadow: 0 0 18px rgba(241, 139, 24, 0.2);
}

.company-heading-note p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.78;
}

/* =====================================================
   BLOQUES DE CONFIANZA
===================================================== */

.company-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.7vw, 24px);
    margin-bottom: clamp(54px, 6vw, 82px);
}

.company-trust-item {
    position: relative;
    min-height: 178px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 17px;
    align-items: start;
    overflow: hidden;
    padding: clamp(22px, 2vw, 29px);
    border: 1px solid rgba(23, 55, 32, 0.12);
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(241, 139, 24, 0.1),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(245, 250, 246, 0.9)
        );
    box-shadow:
        0 16px 42px rgba(6, 32, 13, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        border-color 0.4s var(--premium-ease),
        box-shadow 0.4s var(--premium-ease),
        transform 0.4s var(--premium-ease);
}

.company-trust-item::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            var(--green-500),
            var(--orange-500)
        );
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.42s var(--premium-ease);
}

.company-trust-item:hover {
    border-color: rgba(241, 139, 24, 0.3);
    box-shadow:
        0 28px 65px rgba(6, 32, 13, 0.13),
        0 0 0 1px rgba(255, 255, 255, 0.72);
    transform: translateY(-7px);
}

.company-trust-item:hover::after {
    transform: scaleX(1);
}

.company-trust-number {
    min-width: 42px;
    padding-top: 2px;
    color: var(--orange-600);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.company-trust-number::after {
    width: 30px;
    height: 1px;
    display: block;
    margin-top: 12px;
    background:
        linear-gradient(
            90deg,
            var(--green-500),
            transparent
        );
    content: "";
}

.company-trust-item strong {
    display: block;
    margin-bottom: 10px;
    color: var(--green-900);
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    font-weight: 900;
    line-height: 1.28;
}

.company-trust-item p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.62;
}

/* =====================================================
   HISTORIA Y PANEL OPERATIVO
===================================================== */

.company-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.28fr)
        minmax(340px, 0.72fr);
    gap: clamp(44px, 7vw, 104px);
    align-items: stretch;
}

.company-text {
    position: relative;
    align-self: center;
    padding: clamp(16px, 2vw, 28px) 0;
}

.company-story-line {
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 0;
    width: 3px;
    border-radius: 999px;
    background:
        linear-gradient(
            to bottom,
            var(--green-500),
            var(--orange-500),
            rgba(241, 139, 24, 0.05)
        );
    box-shadow: 0 0 20px rgba(66, 150, 84, 0.14);
}

.company-text > p {
    max-width: 800px;
    margin-right: 0;
    margin-bottom: 22px;
    padding-left: clamp(28px, 3vw, 46px);
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.13vw, 1.08rem);
    line-height: 1.86;
}

.company-leading-text {
    position: relative;
    margin-bottom: 28px !important;
    color: var(--green-900) !important;
    font-size: clamp(1.18rem, 1.65vw, 1.48rem) !important;
    font-weight: 800;
    line-height: 1.6 !important;
}

/* Anula la capitular decorativa de versiones anteriores */
.company-leading-text::first-letter {
    float: none !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.company-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
    padding-left: clamp(28px, 3vw, 46px);
}

.company-secondary-button {
    color: var(--green-800);
    border-color: rgba(46, 117, 64, 0.24);
    background:
        rgba(255, 255, 255, 0.68);
    box-shadow:
        0 12px 28px rgba(6, 32, 13, 0.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.company-secondary-button:hover {
    color: var(--white);
    border-color: var(--green-600);
    background:
        linear-gradient(
            135deg,
            var(--green-600),
            var(--green-800)
        );
    box-shadow:
        0 20px 40px rgba(35, 99, 51, 0.22);
}

/* Panel derecho */
.experience-panel {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(34px, 3.1vw, 48px);
    border: 1px solid rgba(46, 117, 64, 0.17);
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(255, 179, 74, 0.13),
            transparent 31%
        ),
        linear-gradient(
            150deg,
            rgba(255, 255, 255, 0.96),
            rgba(231, 244, 235, 0.94)
        );
    box-shadow:
        0 30px 76px rgba(5, 34, 13, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.experience-panel::after {
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(46, 117, 64, 0.08);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 34px rgba(46, 117, 64, 0.025),
        0 0 0 68px rgba(241, 139, 24, 0.018);
    pointer-events: none;
}

.experience-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.experience-panel-line {
    width: 64px;
    height: 3px;
    margin: 0;
}

.experience-panel-index {
    color: var(--text-muted);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.experience-panel .experience-eyebrow {
    margin-bottom: 16px;
}

.experience-panel > strong {
    max-width: 470px;
    margin-bottom: 20px;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    line-height: 1.23;
    letter-spacing: -0.025em;
}

.experience-panel > p {
    max-width: 520px;
    margin-bottom: 26px;
    font-size: 0.98rem;
}

.experience-areas {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid rgba(46, 117, 64, 0.14);
}

.experience-areas-title {
    display: block;
    margin-bottom: 14px;
    color: var(--green-800);
    font-size: 0.73rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.experience-areas ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 18px;
    list-style: none;
}

.experience-areas li {
    position: relative;
    padding-left: 18px;
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.45;
}

.experience-areas li::before {
    position: absolute;
    top: 0.56em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            var(--green-500),
            var(--orange-500)
        );
    box-shadow: 0 0 0 4px rgba(66, 150, 84, 0.09);
    content: "";
}

.experience-tags {
    position: relative;
    z-index: 2;
    margin-top: 26px;
}

/* La casilla de privacidad contiene un enlace */
.privacy-checkbox a {
    color: var(--green-700);
    font-weight: 850;
    text-decoration: underline;
    text-decoration-color: rgba(46, 117, 64, 0.34);
    text-underline-offset: 3px;
}

.privacy-checkbox a:hover {
    color: var(--orange-600);
    text-decoration-color: currentColor;
}

/* =====================================================
   RESPONSIVE — PANTALLAS GRANDES
===================================================== */

@media (min-width: 1500px) {
    :root {
        --container: 1440px;
    }

    .company-trust-item {
        min-height: 188px;
    }
}

/* =====================================================
   RESPONSIVE — PORTÁTILES
===================================================== */

@media (max-width: 1250px) {
    .company-heading-layout {
        grid-template-columns:
            minmax(0, 1.28fr)
            minmax(260px, 0.72fr);
        gap: 50px;
    }

    .company-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-trust-item {
        min-height: 152px;
    }

    .company-layout {
        grid-template-columns:
            minmax(0, 1.08fr)
            minmax(350px, 0.92fr);
        gap: 48px;
    }
}

/* =====================================================
   RESPONSIVE — TABLET HORIZONTAL
===================================================== */

@media (max-width: 1080px) {
    .company-heading-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .company-heading-note {
        max-width: 720px;
        justify-self: start;
    }

    .company-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .company-text {
        max-width: 900px;
    }

    .experience-panel {
        min-height: auto;
    }

    .company-watermark {
        top: 155px;
        font-size: clamp(6rem, 19vw, 12rem);
    }
}

/* =====================================================
   RESPONSIVE — TABLET Y MÓVIL
===================================================== */

@media (max-width: 850px) {
    .company-section {
        padding-top: 86px;
        padding-bottom: 112px;
    }

    .company-background-grid {
        background-size: 42px 42px;
        opacity: 0.42;
    }

    .company-watermark {
        top: 130px;
        right: -12px;
        font-size: clamp(5rem, 22vw, 9rem);
        opacity: 0.8;
    }

    .company-heading-layout {
        margin-bottom: 34px;
    }

    .company-heading h2 {
        font-size: clamp(2.35rem, 8vw, 3.75rem);
        letter-spacing: -0.045em;
    }

    .company-heading-note {
        padding: 18px 0 2px 23px;
    }

    .company-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-bottom: 52px;
    }

    .company-trust-item {
        min-height: 164px;
        padding: 22px;
    }

    .company-layout {
        gap: 34px;
    }

    .company-text {
        padding-top: 4px;
    }

    .company-story-line {
        top: 10px;
        bottom: 12px;
    }

    .company-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .company-actions .button {
        width: 100%;
    }

    .experience-panel {
        padding: 34px;
    }

    .experience-panel > strong {
        font-size: clamp(1.5rem, 5vw, 1.9rem);
    }

    .floating-budget-button {
        right: 16px;
        bottom: 16px;
    }
}

/* =====================================================
   RESPONSIVE — MÓVIL
===================================================== */

@media (max-width: 620px) {
    .company-section {
        padding-top: 76px;
        padding-bottom: 100px;
    }

    .company-watermark {
        display: none;
    }

    .company-heading .section-label {
        letter-spacing: 1.45px;
    }

    .company-heading h2 {
        font-size: clamp(2.15rem, 11vw, 3.05rem);
        line-height: 1.04;
    }

    .company-heading-note {
        padding-left: 19px;
    }

    .company-heading-note p {
        font-size: 0.92rem;
    }

    .company-trust-grid {
        grid-template-columns: 1fr;
    }

    .company-trust-item {
        min-height: auto;
        padding: 22px;
    }

    .company-text > p {
        padding-left: 25px;
        font-size: 0.98rem;
    }

    .company-leading-text {
        font-size: 1.12rem !important;
        line-height: 1.65 !important;
    }

    .company-story-line {
        width: 2px;
    }

    .company-actions {
        padding-left: 25px;
    }

    .experience-panel {
        padding: 28px 24px;
        border-radius: 22px;
    }

    .experience-panel-top {
        margin-bottom: 26px;
    }

    .experience-panel-index {
        display: none;
    }

    .experience-areas ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .experience-tags {
        gap: 7px;
    }
}

/* =====================================================
   RESPONSIVE — MÓVILES MUY PEQUEÑOS
===================================================== */

@media (max-width: 390px) {
    .header-logo-name {
        max-width: 150px;
        overflow: hidden;
        font-size: 0.94rem;
        text-overflow: ellipsis;
    }

    .company-heading h2 {
        font-size: 2rem;
    }

    .company-trust-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .company-trust-number::after {
        margin-top: 7px;
    }

    .company-text > p,
    .company-actions {
        padding-left: 20px;
    }

    .experience-panel {
        padding: 25px 20px;
    }

    .floating-budget-button {
        right: 12px;
        bottom: 12px;
    }
}

/* =====================================================
   DISPOSITIVOS TÁCTILES Y MOVIMIENTO REDUCIDO
===================================================== */

@media (hover: none),
(pointer: coarse) {
    .company-trust-item:hover,
    .experience-panel:hover,
    .company-secondary-button:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .company-trust-item,
    .company-secondary-button,
    .experience-panel,
    .skip-link {
        transition-duration: 0.01ms !important;
    }
}


/* =====================================================
   COOPERATIVA PIN-UNO — GALERÍA FOTOGRÁFICA HÍPER PREMIUM
   Compatible con:
   - index-cooperativa-pin-uno-galeria-premium.html
   - modal con paginación, miniaturas y pantalla completa
   - navegación mediante teclado y gestos táctiles
===================================================== */

/* Utilidad accesible */
.screen-reader-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Bloqueo de desplazamiento al abrir la galería */
body.gallery-modal-open {
    overflow: hidden;
}

/* El botón flotante no debe tapar la galería */
body.gallery-modal-open .floating-budget-button {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px) scale(0.9);
}

/* =====================================================
   TARJETAS DE TRABAJOS CLICABLES
===================================================== */

.works-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 7% 12%,
            rgba(66, 150, 84, 0.09),
            transparent 27%
        ),
        radial-gradient(
            circle at 92% 82%,
            rgba(241, 139, 24, 0.07),
            transparent 26%
        ),
        linear-gradient(
            180deg,
            var(--green-50),
            #ffffff
        );
}

.works-section::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(
            rgba(23, 55, 32, 0.022) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(23, 55, 32, 0.022) 1px,
            transparent 1px
        );
    background-size: 52px 52px;
    content: "";
    pointer-events: none;
    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 12%,
            #000 88%,
            transparent
        );
    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 12%,
            #000 88%,
            transparent
        );
}

.gallery-grid {
    align-items: stretch;
}

.gallery-card {
    position: relative;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(23, 55, 32, 0.12);
    border-radius: 24px;
    background-color: var(--white);
    box-shadow:
        0 18px 48px rgba(8, 30, 14, 0.09),
        0 2px 8px rgba(8, 30, 14, 0.04);
    isolation: isolate;
    transition:
        border-color 0.42s var(--premium-ease, ease),
        box-shadow 0.42s var(--premium-ease, ease),
        transform 0.42s var(--premium-ease, ease);
}

.gallery-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            var(--green-500),
            var(--orange-500)
        );
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition:
        transform 0.45s var(--premium-ease, ease);
    pointer-events: none;
}

.gallery-card:hover,
.gallery-card:focus-within {
    border-color: rgba(241, 139, 24, 0.34);
    box-shadow:
        0 34px 82px rgba(8, 30, 14, 0.16),
        0 10px 25px rgba(241, 139, 24, 0.08);
    transform: translateY(-10px);
}

.gallery-card:hover::after,
.gallery-card:focus-within::after {
    transform: scaleX(1);
}

.gallery-card-trigger {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 0;
    border-radius: inherit;
    outline: none;
    color: inherit;
    background: transparent;
    cursor: pointer;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
}

.gallery-card-trigger:focus-visible {
    outline: 3px solid rgba(241, 139, 24, 0.46);
    outline-offset: -5px;
}

.gallery-media {
    position: relative;
    min-height: clamp(240px, 22vw, 330px);
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 72% 22%,
            rgba(255, 255, 255, 0.86),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #d9e7dc,
            #f4f8f5
        );
    transform: translateZ(0);
}

.gallery-media::before {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(
            to top,
            rgba(3, 19, 8, 0.76) 0%,
            rgba(3, 19, 8, 0.17) 43%,
            transparent 72%
        ),
        linear-gradient(
            135deg,
            rgba(46, 117, 64, 0.08),
            rgba(241, 139, 24, 0.12)
        );
    content: "";
    opacity: 0.58;
    transition:
        opacity 0.45s ease;
    pointer-events: none;
}

.gallery-media::after {
    position: absolute;
    inset: 18px;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 17px;
    content: "";
    opacity: 0;
    transform: scale(0.96);
    transition:
        opacity 0.42s ease,
        transform 0.42s var(--premium-ease, ease);
    pointer-events: none;
}

.gallery-card:hover .gallery-media::before,
.gallery-card:focus-within .gallery-media::before {
    opacity: 0.78;
}

.gallery-card:hover .gallery-media::after,
.gallery-card:focus-within .gallery-media::after {
    opacity: 1;
    transform: scale(1);
}

.gallery-cover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-color: #e6efe8;
    transform: scale(1.001);
    filter:
        saturate(0.94)
        contrast(1.02)
        brightness(0.98);
    transition:
        filter 0.55s ease,
        opacity 0.35s ease,
        transform 0.75s var(--premium-ease, ease);
    will-change: transform;
}

.gallery-card:hover .gallery-cover-image,
.gallery-card:focus-within .gallery-cover-image {
    filter:
        saturate(1.08)
        contrast(1.04)
        brightness(0.93);
    transform: scale(1.075);
}

/* Fallback si la portada no existe */
.gallery-cover-image.has-error,
.gallery-card.has-cover-error .gallery-cover-image {
    opacity: 0;
}

.gallery-card.has-cover-error .gallery-media {
    background:
        radial-gradient(
            circle at 55% 25%,
            rgba(255, 255, 255, 0.9),
            transparent 33%
        ),
        linear-gradient(
            135deg,
            #d9e7dc,
            #f4f8f5
        );
}

.gallery-index {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 5;
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 50%;
    color: var(--white);
    background-color: rgba(5, 23, 10, 0.56);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.19),
        inset 0 1px 0 rgba(255, 255, 255, 0.11);
    font-size: 0.74rem;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.gallery-photo-count {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.94);
    background-color: rgba(5, 23, 10, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.17);
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.gallery-media-action {
    position: absolute;
    right: 24px;
    bottom: 23px;
    left: 24px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 48px;
    padding: 11px 17px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            rgba(8, 36, 16, 0.75),
            rgba(10, 28, 16, 0.58)
        );
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    box-shadow:
        0 17px 34px rgba(0, 0, 0, 0.19),
        inset 0 1px 0 rgba(255, 255, 255, 0.13);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(13px);
    transition:
        border-color 0.4s ease,
        opacity 0.4s ease,
        transform 0.4s var(--premium-ease, ease);
}

.gallery-card:hover .gallery-media-action,
.gallery-card:focus-within .gallery-media-action {
    border-color: rgba(255, 179, 74, 0.45);
    opacity: 1;
    transform: translateY(0);
}

.gallery-media-icon {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--orange-400);
    background-color: rgba(255, 255, 255, 0.11);
}

.gallery-media-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gallery-content {
    position: relative;
    z-index: 4;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: clamp(27px, 2.4vw, 35px);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(241, 139, 24, 0.07),
            transparent 31%
        ),
        var(--white);
}

.gallery-category {
    display: block;
    margin-bottom: 11px;
    color: var(--orange-600);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.105em;
    text-transform: uppercase;
}

.gallery-content h3 {
    margin-bottom: 12px;
    color: var(--green-900);
    font-size: clamp(1.17rem, 1.5vw, 1.36rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.02em;
    transition:
        color 0.3s ease;
}

.gallery-card:hover .gallery-content h3,
.gallery-card:focus-within .gallery-content h3 {
    color: var(--green-600);
}

.gallery-content p {
    margin-bottom: 22px;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.72;
}

.gallery-card-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: var(--green-700);
    font-size: 0.79rem;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.gallery-card-link > span {
    color: var(--orange-600);
    font-size: 1rem;
    transition:
        transform 0.3s ease;
}

.gallery-card:hover .gallery-card-link > span,
.gallery-card:focus-within .gallery-card-link > span {
    transform: translateX(6px);
}

/* =====================================================
   MODAL DE GALERÍA
===================================================== */

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 3600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 2.4vw, 36px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.34s ease,
        visibility 0.34s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(24, 73, 38, 0.23),
            transparent 45%
        ),
        rgba(1, 9, 4, 0.92);
    backdrop-filter: blur(18px) saturate(0.82);
    -webkit-backdrop-filter: blur(18px) saturate(0.82);
}

.gallery-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(1480px, 100%);
    max-height: min(94dvh, 1040px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 29px;
    color: var(--white);
    background:
        radial-gradient(
            circle at 18% 0%,
            rgba(66, 150, 84, 0.16),
            transparent 27%
        ),
        radial-gradient(
            circle at 86% 12%,
            rgba(241, 139, 24, 0.13),
            transparent 25%
        ),
        linear-gradient(
            150deg,
            rgba(7, 24, 12, 0.98),
            rgba(3, 13, 6, 0.99)
        );
    box-shadow:
        0 55px 150px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(255, 255, 255, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(34px) scale(0.965);
    transition:
        opacity 0.42s ease,
        transform 0.42s var(--premium-ease-spring, ease);
}

.gallery-modal.active .gallery-modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery-modal-dialog::before {
    position: absolute;
    top: 0;
    right: 10%;
    left: 10%;
    z-index: 6;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 179, 74, 0.7),
            transparent
        );
    content: "";
    pointer-events: none;
}

/* Cabecera */
.gallery-modal-header {
    position: relative;
    z-index: 8;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding:
        clamp(20px, 2.25vw, 31px)
        clamp(22px, 3vw, 45px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background-color: rgba(4, 17, 8, 0.76);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.gallery-modal-heading {
    min-width: 0;
}

.gallery-modal-category {
    display: block;
    margin-bottom: 5px;
    color: var(--orange-400);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gallery-modal-heading h2 {
    max-width: 880px;
    overflow: hidden;
    color: var(--white);
    font-size: clamp(1.45rem, 2.2vw, 2.25rem);
    font-weight: 900;
    line-height: 1.13;
    letter-spacing: -0.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.gallery-modal-icon-button {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.84);
    background-color: rgba(255, 255, 255, 0.065);
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition:
        color 0.28s ease,
        border-color 0.28s ease,
        background-color 0.28s ease,
        box-shadow 0.28s ease,
        transform 0.28s var(--premium-ease, ease);
}

.gallery-modal-icon-button:hover {
    color: var(--white);
    border-color: rgba(255, 179, 74, 0.44);
    background-color: rgba(255, 179, 74, 0.13);
    box-shadow:
        0 13px 28px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.gallery-modal-icon-button:focus-visible {
    outline: 3px solid rgba(255, 179, 74, 0.46);
    outline-offset: 3px;
}

.gallery-modal-icon-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gallery-compress-icon {
    display: none;
}

.gallery-modal-dialog.is-fullscreen
.gallery-expand-icon,
.gallery-modal-dialog:fullscreen
.gallery-expand-icon {
    display: none;
}

.gallery-modal-dialog.is-fullscreen
.gallery-compress-icon,
.gallery-modal-dialog:fullscreen
.gallery-compress-icon {
    display: block;
}

/* Escenario principal */
.gallery-stage {
    position: relative;
    min-height: 0;
    display: grid;
    grid-template-columns:
        clamp(52px, 5.4vw, 78px)
        minmax(0, 1fr)
        clamp(52px, 5.4vw, 78px);
    gap: clamp(10px, 1.45vw, 22px);
    align-items: center;
    padding:
        clamp(18px, 2.5vw, 34px)
        clamp(14px, 2vw, 30px);
    overflow: hidden;
    background:
        radial-gradient(
            ellipse at 50% 47%,
            rgba(50, 116, 65, 0.15),
            transparent 57%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.018),
            transparent
        );
    touch-action: pan-y pinch-zoom;
    user-select: none;
}

.gallery-figure {
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-image-frame {
    position: relative;
    min-height: 300px;
    height: min(58dvh, 650px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        ),
        #020a04;
    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.gallery-image-frame::after {
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    box-shadow:
        inset 0 0 90px rgba(0, 0, 0, 0.28);
    content: "";
    pointer-events: none;
}

.gallery-modal-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transform: scale(0.985);
    transition:
        opacity 0.34s ease,
        transform 0.5s var(--premium-ease, ease);
    -webkit-user-drag: none;
}

.gallery-modal-image.is-loaded {
    opacity: 1;
    transform: scale(1);
}

.gallery-modal-image.is-changing {
    opacity: 0;
    transform: scale(0.975);
}

.gallery-modal-caption {
    min-height: 28px;
    margin-top: 13px;
    padding: 0 7px;
    color: rgba(255, 255, 255, 0.69);
    font-size: 0.84rem;
    line-height: 1.55;
    text-align: center;
}

/* Estado de carga */
.gallery-image-loader {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    background:
        radial-gradient(
            circle,
            rgba(66, 150, 84, 0.08),
            transparent 40%
        );
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.gallery-image-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gallery-loader-ring {
    width: 46px;
    height: 46px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--orange-400);
    border-right-color: var(--green-400);
    border-radius: 50%;
    animation:
        galleryLoaderSpin 0.85s linear infinite;
}

@keyframes galleryLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Estado de error */
.gallery-image-error {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    padding: 30px;
    color: rgba(255, 255, 255, 0.74);
    background:
        radial-gradient(
            circle at center,
            rgba(188, 89, 9, 0.1),
            transparent 44%
        );
    text-align: center;
}

.gallery-image-error[hidden] {
    display: none;
}

.gallery-image-error-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border: 1px solid rgba(255, 179, 74, 0.38);
    border-radius: 50%;
    color: var(--orange-400);
    background-color: rgba(255, 179, 74, 0.1);
    font-size: 1.35rem;
    font-weight: 950;
}

.gallery-image-error strong {
    color: var(--white);
    font-size: 1rem;
}

.gallery-image-error > span:last-child {
    max-width: 440px;
    font-size: 0.82rem;
}

/* Flechas */
.gallery-navigation-button {
    width: clamp(48px, 4.3vw, 62px);
    height: clamp(48px, 4.3vw, 62px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.86);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.095),
            rgba(255, 255, 255, 0.045)
        );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    box-shadow:
        0 17px 38px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s var(--premium-ease, ease);
}

.gallery-navigation-button:hover:not(:disabled) {
    color: var(--white);
    border-color: rgba(255, 179, 74, 0.48);
    background:
        linear-gradient(
            145deg,
            rgba(241, 139, 24, 0.24),
            rgba(46, 117, 64, 0.15)
        );
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.28),
        0 0 25px rgba(241, 139, 24, 0.1);
    transform: scale(1.06);
}

.gallery-navigation-button:active:not(:disabled) {
    transform: scale(0.96);
}

.gallery-navigation-button:focus-visible {
    outline: 3px solid rgba(255, 179, 74, 0.45);
    outline-offset: 4px;
}

.gallery-navigation-button:disabled {
    opacity: 0.3;
    cursor: default;
}

.gallery-navigation-button svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Pie, contador y puntos */
.gallery-modal-footer {
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(20px, 3vw, 42px);
    align-items: center;
    padding:
        17px
        clamp(22px, 3vw, 44px)
        20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(4, 17, 8, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.gallery-pagination {
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: max-content;
}

.gallery-counter {
    min-width: 61px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.gallery-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition:
        width 0.3s var(--premium-ease, ease),
        border-radius 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}

.gallery-dot:hover {
    background-color: rgba(255, 179, 74, 0.55);
    transform: scale(1.17);
}

.gallery-dot.active,
.gallery-dot[aria-current="true"] {
    width: 25px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            var(--green-400),
            var(--orange-400)
        );
    box-shadow:
        0 0 16px rgba(255, 179, 74, 0.19);
}

/* Miniaturas */
.gallery-thumbnails {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    overflow-x: auto;
    padding: 3px 2px 5px;
    scrollbar-width: thin;
    scrollbar-color:
        rgba(255, 179, 74, 0.42)
        transparent;
    scroll-behavior: smooth;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 5px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background-color: rgba(255, 179, 74, 0.34);
}

.gallery-thumbnail {
    position: relative;
    width: 74px;
    height: 52px;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 11px;
    background-color: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    opacity: 0.62;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s var(--premium-ease, ease);
}

.gallery-thumbnail::after {
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.gallery-thumbnail:hover {
    border-color: rgba(255, 179, 74, 0.32);
    opacity: 0.92;
    transform: translateY(-2px);
}

.gallery-thumbnail.active,
.gallery-thumbnail[aria-current="true"] {
    border-color: rgba(255, 179, 74, 0.7);
    box-shadow:
        0 0 0 2px rgba(255, 179, 74, 0.13),
        0 10px 22px rgba(0, 0, 0, 0.25);
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-thumbnail.active::after,
.gallery-thumbnail[aria-current="true"]::after {
    border-color: rgba(255, 255, 255, 0.19);
}

.gallery-thumbnail:focus-visible {
    outline: 3px solid rgba(255, 179, 74, 0.42);
    outline-offset: 3px;
}

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

.gallery-thumbnail.has-error::before {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--orange-400);
    background-color: rgba(255, 255, 255, 0.055);
    content: "!";
    font-size: 1rem;
    font-weight: 950;
}

/* =====================================================
   PANTALLA COMPLETA
===================================================== */

.gallery-modal-dialog:fullscreen,
.gallery-stage:fullscreen {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(38, 100, 54, 0.18),
            transparent 46%
        ),
        #010703;
}

.gallery-modal-dialog:fullscreen {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

.gallery-stage:fullscreen {
    display: grid;
    grid-template-columns:
        clamp(54px, 6vw, 88px)
        minmax(0, 1fr)
        clamp(54px, 6vw, 88px);
    align-items: center;
    padding: clamp(15px, 2vw, 35px);
}

.gallery-modal-dialog:fullscreen .gallery-stage,
.gallery-stage:fullscreen {
    min-height: 0;
}

.gallery-modal-dialog:fullscreen .gallery-image-frame,
.gallery-stage:fullscreen .gallery-image-frame {
    height: min(78dvh, 940px);
    max-height: none;
    border-radius: 18px;
}

.gallery-modal-dialog:fullscreen .gallery-modal-header,
.gallery-modal-dialog:fullscreen .gallery-modal-footer {
    background-color: rgba(2, 10, 4, 0.88);
}

/* Compatibilidad WebKit */
.gallery-modal-dialog:-webkit-full-screen,
.gallery-stage:-webkit-full-screen {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border: 0;
    border-radius: 0;
    background: #010703;
}

/* =====================================================
   RESPONSIVE — MODAL Y TARJETAS
===================================================== */

@media (max-width: 1180px) {
    .gallery-modal-dialog {
        width: min(1100px, 100%);
    }

    .gallery-image-frame {
        height: min(54dvh, 580px);
    }

    .gallery-modal-footer {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .gallery-pagination {
        justify-content: center;
    }

    .gallery-thumbnails {
        justify-content: flex-start;
    }
}

@media (max-width: 850px) {
    .gallery-card:hover,
    .gallery-card:focus-within {
        transform: translateY(-5px);
    }

    .gallery-media {
        min-height: 245px;
    }

    .gallery-media-action {
        right: 18px;
        bottom: 18px;
        left: 18px;
        opacity: 1;
        transform: none;
    }

    .gallery-modal {
        align-items: stretch;
        padding: 0;
    }

    .gallery-modal-dialog {
        width: 100%;
        height: 100dvh;
        max-height: none;
        border: 0;
        border-radius: 0;
        transform: translateY(25px) scale(0.985);
    }

    .gallery-modal-header {
        min-height: 80px;
        padding: 17px 18px;
    }

    .gallery-modal-heading h2 {
        max-width: min(65vw, 520px);
        font-size: clamp(1.25rem, 4.8vw, 1.75rem);
    }

    .gallery-modal-category {
        font-size: 0.62rem;
    }

    .gallery-modal-icon-button {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .gallery-stage {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 13px 14px 9px;
    }

    .gallery-figure {
        grid-column: 1;
        grid-row: 1;
    }

    .gallery-image-frame {
        min-height: 250px;
        height: min(61dvh, 650px);
        border-radius: 17px;
    }

    .gallery-navigation-button {
        position: absolute;
        top: 50%;
        z-index: 9;
        width: 49px;
        height: 49px;
        background-color: rgba(4, 18, 8, 0.7);
        transform: translateY(-50%);
    }

    .gallery-navigation-button:hover:not(:disabled) {
        transform:
            translateY(-50%)
            scale(1.04);
    }

    .gallery-previous-button {
        left: 24px;
    }

    .gallery-next-button {
        right: 24px;
    }

    .gallery-modal-caption {
        min-height: 24px;
        margin-top: 9px;
        padding-right: 50px;
        padding-left: 50px;
        font-size: 0.78rem;
    }

    .gallery-modal-footer {
        padding: 13px 16px max(15px, env(safe-area-inset-bottom));
    }

    .gallery-thumbnail {
        width: 68px;
        height: 48px;
    }
}

@media (max-width: 620px) {
    .gallery-media {
        min-height: 225px;
    }

    .gallery-index {
        top: 15px;
        left: 15px;
        min-width: 38px;
        height: 38px;
    }

    .gallery-photo-count {
        top: 16px;
        right: 15px;
        min-height: 33px;
        padding: 7px 11px;
        font-size: 0.65rem;
    }

    .gallery-media-action {
        right: 15px;
        bottom: 15px;
        left: 15px;
        min-height: 44px;
        font-size: 0.71rem;
    }

    .gallery-content {
        padding: 25px 23px 27px;
    }

    .gallery-content h3 {
        font-size: 1.18rem;
    }

    .gallery-card-link {
        font-size: 0.73rem;
    }

    .gallery-modal-header {
        gap: 13px;
        padding:
            max(14px, env(safe-area-inset-top))
            13px
            13px;
    }

    .gallery-modal-heading h2 {
        max-width: 52vw;
        font-size: 1.13rem;
    }

    .gallery-modal-actions {
        gap: 7px;
    }

    .gallery-modal-icon-button {
        width: 41px;
        height: 41px;
    }

    .gallery-modal-icon-button svg {
        width: 19px;
        height: 19px;
    }

    .gallery-stage {
        padding: 10px 8px 7px;
    }

    .gallery-image-frame {
        height: min(59dvh, 580px);
        border-radius: 14px;
    }

    .gallery-navigation-button {
        width: 44px;
        height: 44px;
    }

    .gallery-navigation-button svg {
        width: 23px;
        height: 23px;
    }

    .gallery-previous-button {
        left: 16px;
    }

    .gallery-next-button {
        right: 16px;
    }

    .gallery-modal-caption {
        padding-right: 38px;
        padding-left: 38px;
        font-size: 0.73rem;
    }

    .gallery-pagination {
        gap: 12px;
    }

    .gallery-counter {
        min-width: 52px;
        font-size: 0.7rem;
    }

    .gallery-dot {
        width: 7px;
        height: 7px;
    }

    .gallery-dot.active,
    .gallery-dot[aria-current="true"] {
        width: 21px;
    }

    .gallery-thumbnail {
        width: 62px;
        height: 45px;
        border-radius: 9px;
    }
}

@media (max-width: 390px) {
    .gallery-photo-count {
        max-width: 132px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gallery-modal-heading h2 {
        max-width: 48vw;
        font-size: 1rem;
    }

    .gallery-modal-category {
        display: none;
    }

    .gallery-modal-icon-button {
        width: 39px;
        height: 39px;
    }

    .gallery-image-frame {
        min-height: 220px;
        height: min(57dvh, 520px);
    }

    .gallery-navigation-button {
        width: 41px;
        height: 41px;
    }

    .gallery-previous-button {
        left: 12px;
    }

    .gallery-next-button {
        right: 12px;
    }

    .gallery-modal-caption {
        padding-right: 29px;
        padding-left: 29px;
    }
}

/* =====================================================
   DISPOSITIVOS TÁCTILES
===================================================== */

@media (hover: none),
(pointer: coarse) {
    .gallery-card:hover {
        transform: none;
    }

    .gallery-media-action {
        opacity: 1;
        transform: none;
    }

    .gallery-navigation-button:hover:not(:disabled) {
        transform: none;
    }

    .gallery-thumbnail:hover {
        transform: none;
    }
}

/* =====================================================
   MOVIMIENTO REDUCIDO
===================================================== */

@media (prefers-reduced-motion: reduce) {
    .gallery-card,
    .gallery-cover-image,
    .gallery-media-action,
    .gallery-modal,
    .gallery-modal-dialog,
    .gallery-modal-image,
    .gallery-navigation-button,
    .gallery-thumbnail,
    .gallery-dot,
    .floating-budget-button {
        transition-duration: 0.01ms !important;
    }

    .gallery-loader-ring {
        animation-duration: 1.5s !important;
    }
}


/* =====================================================
   COOPERATIVA PIN-UNO
   COMPARADOR ANTES/DESPUÉS + PREGUNTAS FRECUENTES
   Capa final compatible con el HTML actualizado.
===================================================== */

/* =====================================================
   COMPARADOR — CONTENEDOR GENERAL
===================================================== */

.before-after-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(
            145deg,
            #041108 0%,
            #092314 48%,
            #0b2d18 100%
        );
}

.before-after-section::before {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(
            circle at 9% 16%,
            rgba(105, 183, 120, 0.17),
            transparent 29%
        ),
        radial-gradient(
            circle at 91% 77%,
            rgba(241, 139, 24, 0.13),
            transparent 28%
        );
    content: "";
    pointer-events: none;
}

.before-after-section::after {
    position: absolute;
    right: -280px;
    bottom: -340px;
    z-index: -2;
    width: 760px;
    height: 760px;
    border: 1px solid rgba(255, 179, 74, 0.11);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 90px rgba(255, 255, 255, 0.012),
        0 0 0 180px rgba(255, 255, 255, 0.008);
    pointer-events: none;
}

.before-after-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.before-after-background-grid {
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.026) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.026) 1px,
            transparent 1px
        );
    background-size: 58px 58px;
    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 12%,
            #000 88%,
            transparent
        );
    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 12%,
            #000 88%,
            transparent
        );
}

.before-after-background-glow {
    top: -190px;
    right: -140px;
    left: auto;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(255, 179, 74, 0.14),
            rgba(66, 150, 84, 0.065) 42%,
            transparent 70%
        );
    filter: blur(7px);
    animation:
        beforeAfterGlowFloat 10s ease-in-out infinite;
}

@keyframes beforeAfterGlowFloat {
    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    50% {
        transform:
            translate3d(-38px, 30px, 0)
            scale(1.08);
    }
}

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

.before-after-heading {
    max-width: 920px;
}

.before-after-section .section-label {
    color: var(--green-300);
}

.before-after-section .section-heading h2 {
    color: var(--white);
}

.before-after-section .section-introduction {
    max-width: 810px;
    color: rgba(255, 255, 255, 0.7);
}

/* =====================================================
   COMPARADOR — TARJETAS
===================================================== */

.before-after-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 2.5vw, 34px);
    align-items: stretch;
}

.before-after-card {
    --comparison-position: 50%;

    position: relative;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 27px;
    background:
        linear-gradient(
            150deg,
            rgba(255, 255, 255, 0.095),
            rgba(255, 255, 255, 0.045)
        );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 28px 75px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    isolation: isolate;
    transition:
        border-color 0.42s var(--premium-ease, ease),
        box-shadow 0.42s var(--premium-ease, ease),
        transform 0.42s var(--premium-ease, ease);
}

.before-after-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 8;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            var(--green-400),
            var(--orange-400)
        );
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition:
        transform 0.45s var(--premium-ease, ease);
    pointer-events: none;
}

.before-after-card:hover,
.before-after-card:focus-within {
    border-color: rgba(255, 179, 74, 0.34);
    box-shadow:
        0 40px 95px rgba(0, 0, 0, 0.34),
        0 0 36px rgba(241, 139, 24, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-9px);
}

.before-after-card:hover::after,
.before-after-card:focus-within::after {
    transform: scaleX(1);
}

.before-after-visual {
    position: relative;
    padding: 12px 12px 0;
}

.before-after-frame {
    position: relative;
    aspect-ratio: 16 / 11;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.06),
            rgba(255, 255, 255, 0.02)
        ),
        #07160c;
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
    cursor: ew-resize;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.before-after-frame::after {
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: inherit;
    background:
        linear-gradient(
            to top,
            rgba(2, 10, 4, 0.35),
            transparent 34%
        );
    content: "";
    pointer-events: none;
}

.before-after-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    -webkit-user-drag: none;
}

.before-after-image-before {
    z-index: 1;
}

.before-after-after-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    clip-path:
        inset(
            0
            calc(100% - var(--comparison-position))
            0
            0
        );
    -webkit-clip-path:
        inset(
            0
            calc(100% - var(--comparison-position))
            0
            0
        );
    will-change: clip-path;
}

.before-after-image-after {
    z-index: 2;
}

/* Etiquetas */
.before-after-label {
    position: absolute;
    top: 17px;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: var(--white);
    background-color: rgba(3, 17, 7, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    font-size: 0.67rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    pointer-events: none;
}

.before-label {
    left: 17px;
}

.after-label {
    right: 17px;
    color: #07190d;
    border-color: rgba(255, 255, 255, 0.55);
    background-color: rgba(255, 255, 255, 0.9);
}

/* Línea y manija */
.before-after-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--comparison-position);
    z-index: 7;
    width: 3px;
    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.55),
            var(--orange-400) 20%,
            var(--orange-400) 80%,
            rgba(255, 255, 255, 0.55)
        );
    box-shadow:
        0 0 18px rgba(255, 179, 74, 0.45),
        0 0 0 1px rgba(0, 0, 0, 0.12);
    transform: translateX(-50%);
    pointer-events: none;
    will-change: left;
}

.before-after-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--green-500),
            var(--orange-500)
        );
    box-shadow:
        0 15px 34px rgba(0, 0, 0, 0.3),
        0 0 0 7px rgba(255, 255, 255, 0.1),
        0 0 26px rgba(255, 179, 74, 0.24);
    transform:
        translate(-50%, -50%);
    transition:
        box-shadow 0.3s ease,
        transform 0.3s var(--premium-ease, ease);
}

.before-after-card:hover
.before-after-handle,
.before-after-card:focus-within
.before-after-handle {
    box-shadow:
        0 18px 39px rgba(0, 0, 0, 0.35),
        0 0 0 9px rgba(255, 255, 255, 0.12),
        0 0 34px rgba(255, 179, 74, 0.31);
    transform:
        translate(-50%, -50%)
        scale(1.06);
}

.before-after-handle svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Range invisible que captura mouse, dedo y teclado */
.before-after-range {
    position: absolute;
    inset: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: inherit;
    outline: none;
    background: transparent;
    cursor: ew-resize;
    opacity: 0;
    appearance: none;
    -webkit-appearance: none;
    touch-action: pan-y;
}

.before-after-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 100%;
    background: transparent;
}

.before-after-range::-webkit-slider-thumb {
    width: 1px;
    height: 100%;
    border: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
}

.before-after-range::-moz-range-track {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
}

.before-after-range::-moz-range-thumb {
    width: 1px;
    height: 100%;
    border: 0;
    background: transparent;
}

.before-after-frame:has(
    .before-after-range:focus-visible
) {
    outline: 3px solid rgba(255, 179, 74, 0.72);
    outline-offset: 5px;
}

/* Contenido */
.before-after-content {
    position: relative;
    flex: 1;
    padding:
        clamp(25px, 2.2vw, 34px)
        clamp(24px, 2.2vw, 32px)
        clamp(29px, 2.5vw, 38px);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(241, 139, 24, 0.095),
            transparent 35%
        ),
        linear-gradient(
            150deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.022)
        );
}

.before-after-content-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.before-after-index {
    color: var(--orange-400);
    font-size: 1.45rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.05em;
}

.before-after-category {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(105, 183, 120, 0.22);
    border-radius: 999px;
    color: var(--green-300);
    background-color: rgba(105, 183, 120, 0.08);
    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.075em;
    text-align: right;
    text-transform: uppercase;
}

.before-after-content h3 {
    margin-bottom: 13px;
    color: var(--white);
    font-size: clamp(1.22rem, 1.55vw, 1.48rem);
    font-weight: 900;
    line-height: 1.29;
    letter-spacing: -0.025em;
}

.before-after-content > p {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.92rem;
    line-height: 1.72;
}

.before-after-details {
    display: grid;
    gap: 10px;
    list-style: none;
}

.before-after-details li {
    position: relative;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.77);
    font-size: 0.81rem;
    line-height: 1.5;
}

.before-after-details li::before {
    position: absolute;
    top: 0.44em;
    left: 0;
    width: 10px;
    height: 10px;
    border: 2px solid var(--orange-400);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 4px rgba(241, 139, 24, 0.08);
}

.before-after-help {
    width: fit-content;
    max-width: 760px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin:
        clamp(32px, 4vw, 52px)
        auto
        0;
    padding: 12px 17px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.61);
    background-color: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.before-after-help::before {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--orange-400);
    box-shadow:
        0 0 0 5px rgba(241, 139, 24, 0.1),
        0 0 15px rgba(241, 139, 24, 0.35);
    content: "";
}

/* =====================================================
   PREGUNTAS FRECUENTES — SECCIÓN
===================================================== */

.faq-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 88% 9%,
            rgba(241, 139, 24, 0.075),
            transparent 25%
        ),
        radial-gradient(
            circle at 7% 84%,
            rgba(66, 150, 84, 0.08),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            var(--green-50)
        );
}

.faq-section::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(
            rgba(23, 55, 32, 0.019) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(23, 55, 32, 0.019) 1px,
            transparent 1px
        );
    background-size: 54px 54px;
    content: "";
    pointer-events: none;
    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 13%,
            #000 87%,
            transparent
        );
    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 13%,
            #000 87%,
            transparent
        );
}

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

.faq-layout {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.72fr)
        minmax(0, 1.28fr);
    gap: clamp(48px, 7vw, 105px);
    align-items: start;
}

.faq-introduction {
    position: sticky;
    top: 130px;
}

.faq-introduction > h2 {
    max-width: 530px;
}

.faq-introduction
.section-introduction {
    max-width: 510px;
}

/* Tarjeta lateral */
.faq-assistance-card {
    position: relative;
    overflow: hidden;
    margin-top: 36px;
    padding: clamp(28px, 3vw, 39px);
    border: 1px solid rgba(46, 117, 64, 0.15);
    border-radius: 25px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(241, 139, 24, 0.12),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(235, 246, 238, 0.95)
        );
    box-shadow:
        0 24px 63px rgba(8, 30, 14, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.4s var(--premium-ease, ease);
}

.faq-assistance-card::after {
    position: absolute;
    top: -75px;
    right: -75px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(241, 139, 24, 0.18);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 28px rgba(241, 139, 24, 0.025);
    pointer-events: none;
}

.faq-assistance-card:hover {
    border-color: rgba(241, 139, 24, 0.28);
    box-shadow:
        0 33px 82px rgba(8, 30, 14, 0.17),
        0 12px 30px rgba(241, 139, 24, 0.07);
    transform: translateY(-7px);
}

.faq-assistance-index {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    color: var(--orange-600);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.faq-assistance-index::before {
    width: 25px;
    height: 1px;
    background-color: currentColor;
    content: "";
}

.faq-assistance-card h3 {
    max-width: 380px;
    margin-bottom: 13px;
    color: var(--green-900);
    font-size: clamp(1.3rem, 2vw, 1.68rem);
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: -0.025em;
}

.faq-assistance-card p {
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.72;
}

.faq-assistance-card .button {
    width: 100%;
}

/* =====================================================
   PREGUNTAS FRECUENTES — ACORDEÓN
===================================================== */

.faq-list {
    display: grid;
    gap: 15px;
    min-width: 0;
}

.faq-item {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(23, 55, 32, 0.12);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.99),
            rgba(248, 251, 248, 0.98)
        );
    box-shadow:
        0 10px 30px rgba(8, 30, 14, 0.055);
    isolation: isolate;
    transition:
        border-color 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s var(--premium-ease, ease);
}

.faq-item::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background:
        linear-gradient(
            to bottom,
            var(--green-500),
            var(--orange-500)
        );
    content: "";
    opacity: 0;
    transform: scaleY(0.45);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
    pointer-events: none;
}

.faq-item:hover {
    border-color: rgba(46, 117, 64, 0.22);
    box-shadow:
        0 18px 42px rgba(8, 30, 14, 0.09);
    transform: translateY(-2px);
}

.faq-item.is-open,
.faq-item:has(
    .faq-trigger[aria-expanded="true"]
) {
    border-color: rgba(241, 139, 24, 0.26);
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(241, 139, 24, 0.075),
            transparent 31%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f7faf8
        );
    box-shadow:
        0 22px 58px rgba(8, 30, 14, 0.11),
        0 8px 20px rgba(241, 139, 24, 0.04);
}

.faq-item.is-open::after,
.faq-item:has(
    .faq-trigger[aria-expanded="true"]
)::after {
    opacity: 1;
    transform: scaleY(1);
}

.faq-question {
    margin: 0;
}

.faq-trigger {
    width: 100%;
    min-height: 82px;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    gap: 20px;
    align-items: center;
    padding:
        23px
        clamp(22px, 3vw, 31px);
    border: 0;
    outline: none;
    color: var(--green-900);
    background: transparent;
    cursor: pointer;
    font-size: clamp(0.98rem, 1.25vw, 1.1rem);
    font-weight: 900;
    line-height: 1.4;
    text-align: left;
    transition:
        color 0.28s ease;
}

.faq-trigger:hover {
    color: var(--green-600);
}

.faq-trigger:focus-visible {
    outline: 3px solid rgba(241, 139, 24, 0.42);
    outline-offset: -5px;
    border-radius: 17px;
}

.faq-trigger > span:first-child {
    min-width: 0;
}

.faq-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(46, 117, 64, 0.16);
    border-radius: 50%;
    background-color: var(--green-50);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition:
        border-color 0.32s ease,
        background-color 0.32s ease,
        box-shadow 0.32s ease,
        transform 0.42s var(--premium-ease-spring, ease);
}

.faq-icon::before,
.faq-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 2px;
    border-radius: 99px;
    background-color: var(--green-700);
    content: "";
    transform:
        translate(-50%, -50%);
    transition:
        background-color 0.3s ease,
        opacity 0.3s ease,
        transform 0.42s var(--premium-ease-spring, ease);
}

.faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.faq-trigger[aria-expanded="true"]
.faq-icon {
    border-color: rgba(241, 139, 24, 0.38);
    background:
        linear-gradient(
            135deg,
            var(--green-500),
            var(--orange-500)
        );
    box-shadow:
        0 10px 23px rgba(46, 117, 64, 0.18),
        0 0 0 5px rgba(241, 139, 24, 0.07);
    transform: rotate(180deg);
}

.faq-trigger[aria-expanded="true"]
.faq-icon::before,
.faq-trigger[aria-expanded="true"]
.faq-icon::after {
    background-color: var(--white);
}

.faq-trigger[aria-expanded="true"]
.faq-icon::after {
    opacity: 0;
    transform:
        translate(-50%, -50%)
        rotate(180deg);
}

.faq-panel {
    overflow: hidden;
    color: var(--text-secondary);
}

.faq-panel[hidden] {
    display: none;
}

.faq-panel-content {
    position: relative;
    padding:
        0
        clamp(74px, 7vw, 94px)
        26px
        clamp(22px, 3vw, 31px);
}

.faq-panel-content::before {
    position: absolute;
    top: 0;
    right: clamp(74px, 7vw, 94px);
    left: clamp(22px, 3vw, 31px);
    height: 1px;
    background:
        linear-gradient(
            90deg,
            rgba(46, 117, 64, 0.16),
            rgba(241, 139, 24, 0.16),
            transparent
        );
    content: "";
}

.faq-panel-content p {
    max-width: 750px;
    padding-top: 20px;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.78;
}

/* Clases que utilizará JavaScript para animar la apertura */
.faq-panel.is-opening,
.faq-panel.is-closing {
    display: block;
    overflow: hidden;
    will-change: height;
}

.faq-panel.is-opening {
    animation:
        faqPanelFadeIn 0.34s ease both;
}

@keyframes faqPanelFadeIn {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   RESPONSIVE — ANTES/DESPUÉS Y FAQ
===================================================== */

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

    .before-after-card:last-child {
        grid-column: 1 / -1;
        width: min(680px, 100%);
        justify-self: center;
    }

    .faq-layout {
        grid-template-columns:
            minmax(260px, 0.65fr)
            minmax(0, 1.35fr);
        gap: 55px;
    }
}

@media (max-width: 980px) {
    .before-after-grid {
        grid-template-columns: 1fr;
        max-width: 760px;
        margin-right: auto;
        margin-left: auto;
    }

    .before-after-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .before-after-frame {
        aspect-ratio: 16 / 9;
        min-height: 310px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .faq-introduction {
        position: static;
    }

    .faq-introduction > h2,
    .faq-introduction
    .section-introduction {
        max-width: 760px;
    }

    .faq-assistance-card {
        max-width: 760px;
    }
}

@media (max-width: 850px) {
    .before-after-section,
    .faq-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .before-after-card:hover,
    .before-after-card:focus-within {
        transform: translateY(-4px);
    }

    .before-after-frame {
        min-height: 285px;
    }

    .before-after-help {
        border-radius: 18px;
    }

    .faq-item:hover {
        transform: none;
    }

    .faq-trigger {
        min-height: 76px;
    }
}

@media (max-width: 620px) {
    .before-after-grid {
        gap: 22px;
    }

    .before-after-card {
        border-radius: 22px;
    }

    .before-after-visual {
        padding: 9px 9px 0;
    }

    .before-after-frame {
        min-height: 245px;
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }

    .before-after-label {
        top: 12px;
        min-height: 30px;
        padding: 6px 9px;
        font-size: 0.6rem;
    }

    .before-label {
        left: 12px;
    }

    .after-label {
        right: 12px;
    }

    .before-after-handle {
        width: 50px;
        height: 50px;
        box-shadow:
            0 13px 29px rgba(0, 0, 0, 0.28),
            0 0 0 5px rgba(255, 255, 255, 0.1),
            0 0 22px rgba(255, 179, 74, 0.22);
    }

    .before-after-handle svg {
        width: 22px;
        height: 22px;
    }

    .before-after-content {
        padding: 24px 21px 28px;
    }

    .before-after-content-top {
        align-items: flex-start;
    }

    .before-after-index {
        font-size: 1.32rem;
    }

    .before-after-category {
        max-width: 66%;
        font-size: 0.58rem;
    }

    .before-after-help {
        align-items: flex-start;
        padding: 12px 14px;
        font-size: 0.71rem;
        text-align: left;
    }

    .before-after-help::before {
        margin-top: 5px;
    }

    .faq-assistance-card {
        margin-top: 29px;
        padding: 27px 23px;
        border-radius: 21px;
    }

    .faq-list {
        gap: 12px;
    }

    .faq-item {
        border-radius: 17px;
    }

    .faq-trigger {
        min-height: 72px;
        gap: 14px;
        padding: 19px 18px;
        font-size: 0.94rem;
    }

    .faq-icon {
        width: 36px;
        height: 36px;
    }

    .faq-panel-content {
        padding:
            0
            18px
            22px;
    }

    .faq-panel-content::before {
        right: 18px;
        left: 18px;
    }

    .faq-panel-content p {
        padding-top: 17px;
        font-size: 0.89rem;
    }
}

@media (max-width: 390px) {
    .before-after-frame {
        min-height: 220px;
    }

    .before-after-content h3 {
        font-size: 1.16rem;
    }

    .before-after-category {
        max-width: 62%;
    }

    .faq-trigger {
        padding:
            17px
            15px;
    }

    .faq-panel-content {
        padding:
            0
            15px
            20px;
    }

    .faq-panel-content::before {
        right: 15px;
        left: 15px;
    }
}

/* =====================================================
   INTERACCIÓN TÁCTIL
===================================================== */

@media (hover: none),
(pointer: coarse) {
    .before-after-card:hover,
    .before-after-card:focus-within,
    .faq-assistance-card:hover {
        transform: none;
    }

    .before-after-range {
        touch-action: pan-y;
    }
}

/* =====================================================
   REDUCCIÓN DE MOVIMIENTO
===================================================== */

@media (prefers-reduced-motion: reduce) {
    .before-after-background-glow,
    .before-after-card,
    .before-after-handle,
    .before-after-divider,
    .before-after-after-layer,
    .faq-assistance-card,
    .faq-item,
    .faq-icon,
    .faq-panel {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}


/* =====================================================
   COOPERATIVA PIN-UNO
   DIRECCIÓN VISUAL EDITORIAL PREMIUM — CAPA FINAL
   Mantiene íntegramente el contenido y las funciones.
   Esta capa debe permanecer al final de styles.css.
===================================================== */

:root {
    --container: 1280px;

    --editorial-ivory: #f7f8f4;
    --editorial-paper: #fcfdf9;
    --editorial-green: #082313;
    --editorial-green-soft: #123a22;
    --editorial-green-muted: #30593d;
    --editorial-gold: #e88a1a;
    --editorial-gold-soft: #ffb54c;

    --editorial-line:
        rgba(20, 57, 31, 0.11);

    --editorial-line-light:
        rgba(255, 255, 255, 0.11);

    --editorial-shadow:
        0 22px 60px rgba(7, 31, 15, 0.09),
        0 4px 16px rgba(7, 31, 15, 0.045);

    --editorial-shadow-hover:
        0 30px 78px rgba(7, 31, 15, 0.14),
        0 8px 24px rgba(232, 138, 26, 0.055);

    --editorial-radius: 18px;
    --editorial-radius-large: 24px;
    --editorial-section-space: 84px;
}

/* =====================================================
   BASE Y JERARQUÍA GENERAL
===================================================== */

html {
    scroll-padding-top: 94px;
}

body {
    color: #17221a;
    background:
        radial-gradient(
            circle at 10% 3%,
            rgba(66, 150, 84, 0.035),
            transparent 25%
        ),
        radial-gradient(
            circle at 92% 30%,
            rgba(232, 138, 26, 0.028),
            transparent 23%
        ),
        var(--editorial-ivory);
    font-family:
        Inter,
        "Segoe UI Variable",
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;
    line-height: 1.68;
}

body::before {
    opacity: 0.48;
    background-size: 56px 56px;
}

.container {
    width: min(var(--container), 90%);
}

.section {
    padding-top: var(--editorial-section-space);
    padding-bottom: var(--editorial-section-space);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 39px;
}

.section-heading-centered {
    max-width: 820px;
}

.section-label,
.hero-label {
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.section-label::before,
.hero-label::before {
    width: 27px;
}

.section h2,
.call-to-action h2 {
    max-width: 760px;
    margin-bottom: 17px;
    font-size: clamp(2rem, 3.05vw, 3.15rem);
    font-weight: 800;
    line-height: 1.075;
    letter-spacing: -0.045em;
}

.section-introduction {
    max-width: 690px;
    font-size: 0.96rem;
    line-height: 1.72;
}

.section-heading::after {
    width: 75px;
    height: 2px;
    margin-top: 20px;
    opacity: 0.92;
}

/* =====================================================
   ENCABEZADO EDITORIAL
===================================================== */

.header {
    border-bottom-color: rgba(20, 57, 31, 0.065);
    background-color: rgba(252, 253, 249, 0.91);
    backdrop-filter: blur(22px) saturate(1.18);
    -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.header.scrolled {
    border-bottom-color: var(--editorial-line);
    background-color: rgba(252, 253, 249, 0.975);
    box-shadow:
        0 12px 38px rgba(7, 31, 15, 0.075);
}

.header-content {
    min-height: 94px;
    gap: 24px;
}

.header.scrolled .header-content {
    min-height: 78px;
}

.header-logo {
    gap: 13px;
}

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

.header-logo-image {
    width: 74px;
    height: 74px;
    border-width: 1px;
    box-shadow:
        0 9px 22px rgba(6, 22, 10, 0.2),
        0 0 0 4px rgba(232, 138, 26, 0.075);
}

.header.scrolled .header-logo-image {
    width: 62px;
    height: 62px;
}

.header-logo:hover .header-logo-image {
    box-shadow:
        0 13px 30px rgba(6, 22, 10, 0.22),
        0 0 0 5px rgba(232, 138, 26, 0.1);
    transform: scale(1.025);
}

.header-logo-name {
    font-size: 1.28rem;
    font-weight: 850;
    letter-spacing: -0.045em;
}

.header-logo-subtitle {
    margin-top: 5px;
    font-size: 0.64rem;
    font-weight: 750;
    letter-spacing: 0.11em;
}

.navigation {
    gap: clamp(13px, 1.25vw, 21px);
}

.navigation a {
    padding-top: 36px;
    padding-bottom: 36px;
    color: #324138;
    font-size: 0.79rem;
    font-weight: 700;
}

.header.scrolled .navigation a {
    padding-top: 28px;
    padding-bottom: 28px;
}

.navigation a::before {
    bottom: 25px;
    height: 1px;
}

.header.scrolled .navigation a::before {
    bottom: 18px;
}

.navigation a:hover {
    transform: none;
}

/* =====================================================
   PORTADA CINEMATOGRÁFICA Y SOBRIA
===================================================== */

.hero {
    min-height: 735px;
}

.hero-background {
    inset: -26px;
    filter:
        saturate(0.9)
        contrast(1.04);
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(3, 16, 7, 0.985) 0%,
            rgba(5, 24, 11, 0.935) 39%,
            rgba(5, 24, 11, 0.64) 69%,
            rgba(5, 24, 11, 0.4) 100%
        ),
        linear-gradient(
            to top,
            rgba(2, 13, 5, 0.75),
            transparent 44%
        );
}

.hero-content {
    padding-top: 154px;
    padding-bottom: 82px;
}

.hero-main-grid {
    grid-template-columns:
        minmax(0, 1.04fr)
        minmax(390px, 0.96fr);
    gap: clamp(28px, 3.5vw, 55px);
}

.hero-copy {
    max-width: 745px;
}

.hero-label {
    margin-bottom: 16px;
    padding: 8px 14px;
    border-color: rgba(255, 255, 255, 0.13);
    background-color: rgba(255, 255, 255, 0.045);
    font-size: 0.68rem;
}

.hero h1 {
    max-width: 740px;
    margin-bottom: 22px;
    font-size: clamp(2.75rem, 4vw, 4.18rem);
    font-weight: 850;
    line-height: 1.025;
    letter-spacing: -0.052em;
    text-shadow:
        0 15px 42px rgba(0, 0, 0, 0.24);
}

.hero-description {
    max-width: 645px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.98rem;
    line-height: 1.73;
}

.hero-buttons {
    gap: 13px;
    margin-top: 29px;
}

.hero-highlights {
    gap: 10px;
    margin-top: 33px;
}

.hero-highlight {
    min-width: 147px;
    gap: 10px;
    padding: 10px 13px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.045);
}

.hero-highlight:hover {
    transform: translateY(-2px);
}

.hero-highlight-number {
    font-size: 0.66rem;
}

.hero-highlight-text {
    font-size: 0.75rem;
    font-weight: 650;
}

.hero-visual {
    min-height: 455px;
}

.hero-visual-aura {
    width: min(450px, 88%);
    opacity: 0.68;
}

.hero-machine-float,
.hero-machine-image {
    max-width: 565px;
}

.hero-visual:hover .hero-machine-image {
    transform: scale(1.025);
}

.hero-badge {
    min-width: 168px;
    gap: 10px;
    padding: 10px 13px;
    border-radius: 13px;
    background-color: rgba(6, 22, 10, 0.56);
}

.hero-badge-top {
    top: 46px;
}

.hero-badge-bottom {
    bottom: 41px;
}

.hero-badge small {
    font-size: 0.61rem;
}

.hero-badge strong {
    font-size: 0.77rem;
}

.hero-badge-icon {
    width: 30px;
    height: 30px;
}

.hero-badge-dot {
    width: 9px;
    height: 9px;
}

/* =====================================================
   BOTONES REFINADOS
===================================================== */

.button {
    min-height: 49px;
    gap: 10px;
    padding: 11px 22px;
    border-radius: 11px;
    font-size: 0.84rem;
    font-weight: 750;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background:
        linear-gradient(
            135deg,
            #3b9450,
            #1d6a35
        );
    box-shadow:
        0 12px 27px rgba(35, 99, 51, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.17);
}

.button-primary:hover {
    box-shadow:
        0 18px 35px rgba(35, 99, 51, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* =====================================================
   COOPERATIVA
===================================================== */

.company-section {
    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(232, 138, 26, 0.04),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            var(--editorial-paper),
            #f3f7f3
        );
}

.company-heading-layout {
    gap: clamp(36px, 5vw, 66px);
    margin-bottom: 38px;
}

.company-heading {
    max-width: 730px;
}

.company-heading h2 {
    max-width: 700px;
    margin-bottom: 16px;
    font-size: clamp(2.15rem, 3.4vw, 3.35rem);
    font-weight: 820;
    line-height: 1.06;
    letter-spacing: -0.05em;
}

.company-heading .section-introduction {
    max-width: 660px;
    font-size: 0.96rem;
}

.company-heading-note {
    max-width: 385px;
    padding-top: 16px;
    padding-left: 22px;
}

.company-heading-note p {
    font-size: 0.87rem;
    line-height: 1.7;
}

.company-trust-grid {
    gap: 15px;
    margin-bottom: 42px;
}

.company-trust-item {
    min-height: 125px;
    gap: 14px;
    padding: 19px;
    border-color: rgba(20, 57, 31, 0.1);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(248, 250, 247, 0.94)
        );
    box-shadow:
        0 13px 34px rgba(7, 31, 15, 0.055);
}

.company-trust-item:hover {
    transform: translateY(-4px);
}

.company-trust-item strong {
    margin-bottom: 5px;
    font-size: 0.95rem;
    font-weight: 780;
}

.company-trust-item p {
    font-size: 0.79rem;
    line-height: 1.55;
}

.company-layout {
    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(330px, 0.82fr);
    gap: 48px;
}

.company-text > p {
    margin-bottom: 17px;
    font-size: 0.94rem;
    line-height: 1.76;
}

.company-leading-text {
    margin-bottom: 22px !important;
    font-size: clamp(1.05rem, 1.3vw, 1.23rem) !important;
    line-height: 1.55 !important;
}

.company-actions {
    margin-top: 27px;
}

.experience-panel {
    padding: 30px;
    border-color: rgba(20, 57, 31, 0.13);
    border-radius: var(--editorial-radius);
    box-shadow: var(--editorial-shadow);
}

.experience-panel:hover {
    box-shadow: var(--editorial-shadow-hover);
    transform: translateY(-5px);
}

.experience-panel > strong,
.experience-panel strong {
    font-size: clamp(1.18rem, 1.6vw, 1.48rem);
    font-weight: 790;
}

/* =====================================================
   TARJETAS DE SERVICIOS Y MAQUINARIA
===================================================== */

.cards-grid {
    gap: 20px;
}

.premium-card {
    min-height: 218px;
    padding: 25px;
    border-color: rgba(20, 57, 31, 0.1);
    border-radius: var(--editorial-radius);
    box-shadow:
        0 15px 42px rgba(7, 31, 15, 0.065);
}

.premium-card:hover {
    border-color: rgba(232, 138, 26, 0.22);
    box-shadow: var(--editorial-shadow-hover);
    transform: translateY(-5px);
}

.premium-card h3 {
    margin-bottom: 9px;
    font-size: 1.06rem;
    font-weight: 760;
    line-height: 1.32;
}

.premium-card p {
    font-size: 0.87rem;
    line-height: 1.64;
}

.section-dark {
    background:
        radial-gradient(
            circle at 84% 10%,
            rgba(105, 183, 120, 0.09),
            transparent 27%
        ),
        linear-gradient(
            145deg,
            #031408,
            #0b2a16
        );
}

.section-dark .premium-card {
    border-color: rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.072),
            rgba(255, 255, 255, 0.036)
        );
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.15);
}

.section-dark .premium-card:hover {
    border-color: rgba(255, 181, 76, 0.24);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.045)
        );
    box-shadow:
        0 24px 52px rgba(0, 0, 0, 0.23);
}

.card-top {
    gap: 12px;
    margin-bottom: 19px;
}

.card-number {
    width: 40px;
    height: 40px;
    font-size: 0.7rem;
}

.machine-card {
    min-height: 218px;
}

.machine-card-header {
    margin-bottom: 22px;
}

.machine-number {
    font-size: 1.36rem;
}

.machine-category {
    padding: 5px 9px;
    font-size: 0.61rem;
}

.machine-card-decoration {
    right: 22px;
    bottom: 20px;
    width: 42px;
    height: 4px;
}

/* =====================================================
   PORTAFOLIO FOTOGRÁFICO
===================================================== */

.works-section {
    background:
        radial-gradient(
            circle at 8% 5%,
            rgba(66, 150, 84, 0.045),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #f3f7f3,
            #fbfcf9
        );
}

.gallery-grid {
    gap: 20px;
}

.gallery-card {
    border-color: rgba(20, 57, 31, 0.095);
    border-radius: var(--editorial-radius);
    box-shadow:
        0 16px 44px rgba(7, 31, 15, 0.075);
}

.gallery-card:hover,
.gallery-card:focus-within {
    border-color: rgba(232, 138, 26, 0.22);
    box-shadow: var(--editorial-shadow-hover);
    transform: translateY(-5px);
}

.gallery-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    background-color: #dce6dd;
}

.gallery-cover-image {
    filter:
        saturate(0.92)
        contrast(1.025)
        brightness(0.985);
}

.gallery-card:hover .gallery-cover-image,
.gallery-card:focus-within .gallery-cover-image {
    filter:
        saturate(1.04)
        contrast(1.03)
        brightness(0.94);
    transform: scale(1.045);
}

.gallery-media::before {
    background:
        linear-gradient(
            to top,
            rgba(3, 17, 7, 0.68),
            rgba(3, 17, 7, 0.08) 52%,
            transparent 75%
        );
}

.gallery-media::after {
    inset: 13px;
    border-color: rgba(255, 255, 255, 0.35);
    border-radius: 13px;
}

.gallery-media-action {
    right: 17px;
    bottom: 16px;
    left: 17px;
    min-height: 42px;
    padding: 9px 13px;
    border-radius: 11px;
    font-size: 0.67rem;
    letter-spacing: 0.055em;
}

.gallery-media-icon {
    width: 27px;
    height: 27px;
}

.gallery-content {
    padding: 21px 22px 24px;
}

.gallery-category {
    margin-bottom: 7px;
    font-size: 0.64rem;
    letter-spacing: 0.09em;
}

.gallery-content h3 {
    margin-bottom: 8px;
    font-size: 1.03rem;
    font-weight: 770;
}

.gallery-content p {
    margin-bottom: 17px;
    font-size: 0.84rem;
    line-height: 1.6;
}

.gallery-card-link {
    font-size: 0.67rem;
    font-weight: 800;
}

/* =====================================================
   ANTES Y DESPUÉS COMO SECCIÓN DESTACADA
===================================================== */

.before-after-section {
    padding-top: var(--editorial-section-space);
    padding-bottom: var(--editorial-section-space);
    background:
        radial-gradient(
            circle at 82% 8%,
            rgba(232, 138, 26, 0.08),
            transparent 26%
        ),
        linear-gradient(
            145deg,
            #021207,
            #092817
        );
}

.before-after-heading {
    max-width: 780px;
    margin-bottom: 38px;
}

.before-after-section .section-heading h2 {
    max-width: 730px;
    font-size: clamp(2.15rem, 3.25vw, 3.3rem);
}

.before-after-grid {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    max-width: 1160px;
    gap: 22px;
    margin-right: auto;
    margin-left: auto;
}

.before-after-card {
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background:
        linear-gradient(
            150deg,
            rgba(255, 255, 255, 0.072),
            rgba(255, 255, 255, 0.032)
        );
    box-shadow:
        0 22px 58px rgba(0, 0, 0, 0.22);
}

.before-after-card:last-child {
    grid-column: 1 / -1;
    width: min(560px, 100%);
    justify-self: center;
}

.before-after-card:hover,
.before-after-card:focus-within {
    transform: translateY(-5px);
}

.before-after-visual {
    padding: 9px 9px 0;
}

.before-after-frame {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 15px;
}

.before-after-label {
    top: 12px;
    min-height: 28px;
    padding: 5px 9px;
    font-size: 0.57rem;
}

.before-label {
    left: 12px;
}

.after-label {
    right: 12px;
}

.before-after-divider {
    width: 2px;
    box-shadow:
        0 0 13px rgba(255, 181, 76, 0.38);
}

.before-after-handle {
    width: 47px;
    height: 47px;
    box-shadow:
        0 11px 27px rgba(0, 0, 0, 0.28),
        0 0 0 5px rgba(255, 255, 255, 0.09);
}

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

.before-after-content-top {
    margin-bottom: 12px;
}

.before-after-index {
    font-size: 1.13rem;
}

.before-after-category {
    min-height: 26px;
    padding: 5px 8px;
    font-size: 0.55rem;
}

.before-after-content h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
    font-weight: 770;
}

.before-after-content > p {
    margin-bottom: 14px;
    font-size: 0.81rem;
    line-height: 1.58;
}

.before-after-details {
    gap: 7px;
}

.before-after-details li {
    padding-left: 21px;
    font-size: 0.72rem;
}

.before-after-details li::before {
    width: 8px;
    height: 8px;
}

.before-after-help {
    margin-top: 29px;
    padding: 10px 14px;
    font-size: 0.68rem;
}

/* =====================================================
   PREGUNTAS FRECUENTES
===================================================== */

.faq-section {
    padding-top: var(--editorial-section-space);
    padding-bottom: var(--editorial-section-space);
    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(232, 138, 26, 0.045),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #fcfdf9,
            #f3f7f3
        );
}

.faq-layout {
    grid-template-columns:
        minmax(270px, 0.58fr)
        minmax(0, 1.42fr);
    gap: clamp(40px, 5vw, 72px);
}

.faq-introduction {
    top: 102px;
}

.faq-introduction > h2 {
    max-width: 410px;
    font-size: clamp(2.1rem, 3.25vw, 3.1rem);
    line-height: 1.04;
}

.faq-introduction .section-introduction {
    max-width: 420px;
}

.faq-assistance-card {
    margin-top: 26px;
    padding: 25px;
    border-color: rgba(20, 57, 31, 0.1);
    border-radius: var(--editorial-radius);
    box-shadow: var(--editorial-shadow);
}

.faq-assistance-card:hover {
    transform: translateY(-4px);
}

.faq-assistance-card h3 {
    margin-bottom: 9px;
    font-size: clamp(1.12rem, 1.45vw, 1.34rem);
    font-weight: 780;
}

.faq-assistance-card p {
    margin-bottom: 18px;
    font-size: 0.82rem;
    line-height: 1.62;
}

.faq-list {
    gap: 10px;
}

.faq-item {
    border-color: rgba(20, 57, 31, 0.1);
    border-radius: 15px;
    box-shadow:
        0 9px 25px rgba(7, 31, 15, 0.045);
}

.faq-item:hover {
    transform: none;
}

.faq-item.is-open,
.faq-item:has(
    .faq-trigger[aria-expanded="true"]
) {
    border-color: rgba(232, 138, 26, 0.2);
    box-shadow:
        0 16px 38px rgba(7, 31, 15, 0.075);
}

.faq-trigger {
    min-height: 64px;
    gap: 15px;
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 760;
}

.faq-icon {
    width: 33px;
    height: 33px;
}

.faq-panel-content {
    padding:
        0
        65px
        19px
        20px;
}

.faq-panel-content::before {
    right: 65px;
    left: 20px;
}

.faq-panel-content p {
    padding-top: 14px;
    font-size: 0.84rem;
    line-height: 1.66;
}

/* =====================================================
   LLAMADA A LA ACCIÓN Y CONTACTO
===================================================== */

.call-to-action {
    padding-top: 66px;
    padding-bottom: 66px;
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(255, 181, 76, 0.12),
            transparent 27%
        ),
        linear-gradient(
            130deg,
            #123b22,
            #2d7540
        );
}

.call-to-action-content {
    gap: 40px;
}

.contact-section {
    background:
        linear-gradient(
            180deg,
            #fbfcf9,
            #f4f7f3
        );
}

.contact-grid {
    gap: 20px;
}

.contact-card {
    min-height: 212px;
    padding: 25px;
    border-color: rgba(20, 57, 31, 0.1);
    border-radius: var(--editorial-radius);
    box-shadow:
        0 14px 38px rgba(7, 31, 15, 0.06);
}

.contact-card:hover {
    box-shadow: var(--editorial-shadow-hover);
    transform: translateY(-5px);
}

.contact-number {
    width: 39px;
    height: 39px;
    margin-bottom: 17px;
}

.contact-card h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 770;
}

.contact-card p {
    margin-bottom: 15px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.contact-link {
    font-size: 0.82rem;
    font-weight: 780;
}

/* =====================================================
   BOTÓN FLOTANTE
===================================================== */

.floating-budget-button {
    right: 19px;
    bottom: 19px;
    min-height: 47px;
    gap: 7px;
    padding: 6px 14px 6px 6px;
    box-shadow:
        0 14px 34px rgba(188, 89, 9, 0.28);
}

.floating-budget-button:hover {
    box-shadow:
        0 19px 42px rgba(188, 89, 9, 0.35);
    transform: translateY(-3px);
}

.floating-budget-icon {
    width: 33px;
    height: 33px;
    font-size: 1.05rem;
}

.floating-budget-text {
    font-size: 0.72rem;
}

/* =====================================================
   MODALES Y PIE
===================================================== */

.budget-modal-dialog {
    width: min(810px, 100%);
    padding: 38px;
    border-radius: 21px;
}

.budget-modal-header {
    margin-bottom: 26px;
}

.budget-modal-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.budget-form-grid {
    gap: 17px;
}

.form-group input,
.form-group select {
    min-height: 49px;
}

.footer {
    padding-top: 52px;
    padding-bottom: 52px;
    background:
        radial-gradient(
            circle at 85% 12%,
            rgba(232, 138, 26, 0.06),
            transparent 25%
        ),
        #031207;
}

.footer-content {
    gap: 50px;
}

.footer-logo {
    font-size: 1.2rem;
}

.footer-logo-image {
    width: 58px;
    height: 58px;
}

/* =====================================================
   PANTALLAS MEDIANAS
===================================================== */

@media (max-width: 1280px) {
    :root {
        --container: 1140px;
    }

    .header-logo-image {
        width: 69px;
        height: 69px;
    }

    .header-logo-name {
        font-size: 1.18rem;
    }

    .navigation {
        gap: 13px;
    }

    .navigation a {
        font-size: 0.75rem;
    }

    .hero h1 {
        font-size: clamp(2.65rem, 4vw, 3.8rem);
    }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1080px) {
    :root {
        --editorial-section-space: 73px;
    }

    .hero-content {
        padding-top: 137px;
        padding-bottom: 70px;
    }

    .hero-main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-copy,
    .hero h1 {
        max-width: 830px;
    }

    .hero-visual {
        min-height: 390px;
    }

    .section {
        padding-top: var(--editorial-section-space);
        padding-bottom: var(--editorial-section-space);
    }

    .company-layout {
        gap: 34px;
    }

    .before-after-section,
    .faq-section {
        padding-top: var(--editorial-section-space);
        padding-bottom: var(--editorial-section-space);
    }

    .faq-layout {
        gap: 35px;
    }
}

/* =====================================================
   MÓVIL Y TABLET VERTICAL
===================================================== */

@media (max-width: 850px) {
    :root {
        --editorial-section-space: 62px;
    }

    html {
        scroll-padding-top: 76px;
    }

    .header-content,
    .header.scrolled .header-content {
        min-height: 76px;
    }

    .header-logo-image,
    .header.scrolled .header-logo-image {
        width: 56px;
        height: 56px;
    }

    .header-logo-name {
        font-size: 0.97rem;
    }

    .navigation {
        top: 76px;
        max-height: calc(100vh - 76px);
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 116px;
        padding-bottom: 61px;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 7.8vw, 3.25rem);
        letter-spacing: -0.047em;
    }

    .hero-description {
        font-size: 0.93rem;
    }

    .hero-visual {
        min-height: 340px;
    }

    .hero-machine-float,
    .hero-machine-image {
        max-width: 485px;
    }

    .section,
    .before-after-section,
    .faq-section {
        padding-top: var(--editorial-section-space);
        padding-bottom: var(--editorial-section-space);
    }

    .section h2,
    .call-to-action h2,
    .before-after-section .section-heading h2,
    .faq-introduction > h2 {
        font-size: clamp(1.9rem, 6.8vw, 2.58rem);
    }

    .company-heading h2 {
        font-size: clamp(1.95rem, 7.5vw, 2.65rem);
    }

    .company-trust-item {
        min-height: 116px;
    }

    .premium-card,
    .machine-card,
    .contact-card {
        min-height: auto;
    }

    .gallery-media {
        aspect-ratio: 16 / 10;
    }

    .before-after-grid {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .before-after-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .faq-trigger {
        min-height: 61px;
    }

    .call-to-action {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}

/* =====================================================
   MÓVIL PEQUEÑO
===================================================== */

@media (max-width: 520px) {
    :root {
        --editorial-section-space: 54px;
    }

    .hero-content {
        padding-top: 108px;
        padding-bottom: 54px;
    }

    .hero h1 {
        font-size: clamp(2.12rem, 10.4vw, 2.56rem);
        line-height: 1.035;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.62;
    }

    .hero-buttons {
        margin-top: 23px;
    }

    .hero-highlights {
        margin-top: 25px;
    }

    .hero-visual {
        min-height: 275px;
    }

    .section h2,
    .call-to-action h2,
    .before-after-section .section-heading h2,
    .faq-introduction > h2,
    .company-heading h2 {
        font-size: clamp(1.78rem, 8.7vw, 2.16rem);
    }

    .section-introduction {
        font-size: 0.89rem;
    }

    .premium-card,
    .contact-card,
    .experience-panel {
        padding: 21px;
    }

    .company-trust-item {
        min-height: auto;
        padding: 17px;
    }

    .gallery-content {
        padding: 19px 18px 21px;
    }

    .before-after-content {
        padding: 19px 18px 21px;
    }

    .faq-assistance-card {
        padding: 21px 19px;
    }

    .faq-trigger {
        min-height: 59px;
        padding: 15px;
        font-size: 0.87rem;
    }

    .faq-panel-content {
        padding:
            0
            15px
            18px;
    }

    .faq-panel-content::before {
        right: 15px;
        left: 15px;
    }

    .footer {
        padding-top: 43px;
        padding-bottom: 43px;
    }
}

/* =====================================================
   MOVIMIENTO REDUCIDO
===================================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-machine-image,
    .premium-card,
    .gallery-card,
    .before-after-card,
    .faq-item,
    .contact-card {
        transition-duration: 0.01ms !important;
    }
}


/* =====================================================
   CORRECCIÓN DEFINITIVA RESPONSIVE
   Evita que reglas editoriales posteriores vuelvan a
   imponer diseños de dos columnas en tablet y móvil.
===================================================== */

/* Elementos de cuadrícula nunca deben forzar el ancho */
.company-heading-layout,
.company-layout,
.company-trust-grid,
.faq-layout,
.faq-introduction,
.faq-list,
.faq-item,
.faq-trigger,
.faq-panel,
.experience-panel {
    min-width: 0;
}

/* =====================================================
   TABLET VERTICAL Y PANTALLAS MENORES DE 980 PX
===================================================== */

@media (max-width: 980px) {
    .company-heading-layout,
    .company-layout,
    .faq-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .company-heading-layout,
    .company-layout {
        gap: 32px;
    }

    .faq-layout {
        gap: 38px;
    }

    .faq-introduction {
        position: static !important;
        top: auto !important;
        width: 100%;
        max-width: 100%;
    }

    .faq-introduction > h2,
    .faq-introduction .section-introduction,
    .faq-assistance-card,
    .faq-list {
        width: 100%;
        max-width: 100%;
    }

    .company-text,
    .experience-panel {
        width: 100%;
        max-width: 100%;
    }

    .experience-panel {
        min-height: 0 !important;
        height: auto !important;
        align-self: start;
    }

    .experience-areas {
        margin-top: 24px;
    }

    /* En móvil las entradas aparecen verticalmente,
       evitando desplazamientos laterales durante el reveal */
    [data-reveal="left"],
    [data-reveal="right"] {
        transform: translateY(26px);
    }

    [data-reveal="left"].visible,
    [data-reveal="right"].visible {
        transform: translateY(0);
    }
}

/* =====================================================
   TELÉFONOS Y TABLET PEQUEÑA
===================================================== */

@media (max-width: 850px) {
    body,
    main,
    .company-section,
    .faq-section {
        max-width: 100%;
        overflow-x: clip;
    }

    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .company-heading-layout,
    .company-layout,
    .faq-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
        max-width: 100%;
    }

    .company-heading,
    .company-heading-note,
    .company-text,
    .experience-panel,
    .faq-introduction,
    .faq-list,
    .faq-assistance-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .company-layout {
        align-items: start;
    }

    .experience-panel {
        min-height: 0 !important;
        height: auto !important;
        padding: 28px 24px;
    }

    .experience-panel > p {
        margin-bottom: 0;
    }

    .experience-areas {
        margin-top: 24px;
        padding-top: 21px;
    }

    .experience-tags {
        margin-top: 21px;
    }

    .faq-layout {
        gap: 34px;
    }

    .faq-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .faq-item,
    .faq-question,
    .faq-trigger,
    .faq-panel,
    .faq-panel-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .faq-trigger {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .faq-trigger > span:first-child {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .faq-panel-content p {
        overflow-wrap: anywhere;
    }
}

/* =====================================================
   TELÉFONOS PEQUEÑOS
===================================================== */

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .company-section {
        padding-bottom: 68px;
    }

    .company-heading-layout,
    .company-layout,
    .faq-layout {
        gap: 27px;
    }

    .company-trust-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .company-text > p {
        padding-left: 22px;
    }

    .company-actions {
        padding-left: 22px;
    }

    .experience-panel {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .experience-panel-top {
        margin-bottom: 20px;
    }

    .experience-panel > strong {
        font-size: clamp(1.25rem, 6vw, 1.55rem);
    }

    .experience-panel > p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .experience-areas ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-assistance-card {
        margin-top: 22px;
    }

    .faq-trigger {
        min-height: 58px;
        gap: 12px;
        padding: 15px 14px;
        font-size: 0.86rem;
        line-height: 1.38;
    }

    .faq-icon {
        width: 32px;
        height: 32px;
    }

    .faq-panel-content {
        padding: 0 14px 18px;
    }

    .faq-panel-content::before {
        right: 14px;
        left: 14px;
    }
}

/* =====================================================
   TELÉFONOS MUY ESTRECHOS
===================================================== */

@media (max-width: 390px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .header-logo {
        min-width: 0;
    }

    .header-logo-text {
        min-width: 0;
    }

    .header-logo-name {
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .company-text > p,
    .company-actions {
        padding-left: 18px;
    }

    .experience-panel {
        padding: 22px 18px;
    }

    .faq-trigger {
        padding: 14px 13px;
        font-size: 0.84rem;
    }
}
