/* ============================================================
   OPTECHNOLOGIES LANDING — base visual heredada de HomeUltra
   con ritmo y refinamiento SaaS premium.
   ============================================================ */

/* ========== PAGE WRAPPER ========== */
.hu-page {
    background: #111513;
    min-height: 100vh;
    color: #e0e6f0;
    overflow-x: hidden;
}

/* ========== SCROLL PROGRESS ========== */
.hu-progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 3px; z-index: 9999; background: rgba(255,255,255,0.03);
}
.hu-progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, #006f61, #48b8aa, #a9f20f, #c8ff4d);
    transition: width 0.05s linear;
    box-shadow: 0 0 12px rgba(72,184,170,0.5);
}

/* ========== CANVAS ========== */
.hu-canvas {
    position: fixed; inset: 0;
    width: 100% !important; height: 100% !important;
    z-index: 0; pointer-events: none;
}

/* ========== CURSOR GLOW ========== */
.hu-cursor-glow {
    position: fixed; width: 400px; height: 400px;
    border-radius: 50%; pointer-events: none; z-index: 1;
    background: radial-gradient(circle, rgba(72,184,170,0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}
.hu-page:hover .hu-cursor-glow { opacity: 1; }

/* ========== REVEAL ========== */
.hu-reveal {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.home-reveals-enabled .hu-reveal {
    opacity: 0; transform: translateY(40px);
}
.home-reveals-enabled .hu-reveal.hu-visible { opacity: 1; transform: translateY(0); }

.hu-word-reveal {
    display: inline-block;
    opacity: 0; transform: translateY(100%) rotateX(-80deg);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
    transform-origin: bottom center;
}
.hu-word-reveal.hu-visible { opacity: 1; transform: translateY(0) rotateX(0); }

/* ========== COMMON ========== */
.hu-gradient-text {
    background: linear-gradient(135deg, #48b8aa 0%, #a9f20f 50%, #c8ff4d 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hu-tag {
    display: inline-block; font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.18em; color: rgba(96,165,250,0.6);
    margin-bottom: 16px; text-transform: uppercase;
}

.hu-section-title {
    font-size: clamp(1.9rem, 4.2vw, 2.7rem); font-weight: 800;
    color: #e0e6f0; letter-spacing: -0.02em; line-height: 1.15;
    margin: 0 0 32px;
}

.hu-section { position: relative; z-index: 2; padding: 110px 24px; }
.hu-inner { max-width: 1200px; margin: 0 auto; width: 100%; }

/* ========== HERO (idéntico a HomeUltra) ========== */
.hu-hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, #0a1f4d 0%, #040b1e 70%);
    overflow: hidden; padding: 0 24px; z-index: 2;
}

.hu-hero-bg {
    position: absolute; inset: -10%;
    width: 120%; height: 120%;
    background: url('../landing-assets/fondo-hero-opalquiler.webp') center center / cover no-repeat;
    z-index: 0;
    animation: optKenBurns 25s ease-in-out infinite alternate;
}
@keyframes optKenBurns {
    0%   { transform: scale(1) translate(0,0); }
    33%  { transform: scale(1.08) translate(-1.5%,-1%); }
    66%  { transform: scale(1.05) translate(1%,-0.5%); }
    100% { transform: scale(1.1) translate(-0.5%,1%); }
}

.hu-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(4,11,30,0.5) 0%, rgba(4,11,30,0.65) 40%, rgba(3,8,18,0.95) 100%);
    z-index: 1;
}

.hu-hero-grid {
    position: absolute; inset: 0; z-index: 2;
    background-image:
        linear-gradient(rgba(0,170,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,170,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    animation: optGridPulse 8s ease-in-out infinite alternate;
}
@keyframes optGridPulse { 0% { opacity:.4 } 100% { opacity:.8 } }

.hu-glow {
    position: absolute; border-radius: 50%;
    filter: blur(120px); pointer-events: none; z-index: 2;
}
.hu-glow--1 { width: 600px; height: 600px; top: -10%; left: -10%; background: rgba(0,80,200,0.15); animation: optF1 12s ease-in-out infinite alternate; }
.hu-glow--2 { width: 500px; height: 500px; bottom: -15%; right: -10%; background: rgba(0,200,255,0.1); animation: optF2 10s ease-in-out infinite alternate; }
.hu-glow--3 { width: 300px; height: 300px; top: 30%; right: 20%; background: rgba(100,100,255,0.08); animation: optF3 15s ease-in-out infinite alternate; }
@keyframes optF1 { 0%{transform:translate(0,0)} 100%{transform:translate(60px,40px)} }
@keyframes optF2 { 0%{transform:translate(0,0)} 100%{transform:translate(-40px,-30px)} }
@keyframes optF3 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-30px,50px) scale(1.3)} }

.hu-hero-content { position: relative; z-index: 3; max-width: 880px; }

.hu-hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(72,184,170,0.8);
    background: rgba(72,184,170,0.06); border: 1px solid rgba(72,184,170,0.15);
    border-radius: 50px; padding: 10px 24px; margin-bottom: 32px;
    position: relative;
    top: -80px;
}
.hu-badge-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #48b8aa;
    animation: optDotPulse 2s ease-in-out infinite;
}
@keyframes optDotPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(72,184,170,0.4); }
    50% { box-shadow: 0 0 0 10px rgba(72,184,170,0); }
}

.hu-hero-title {
    font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800;
    line-height: 1.06; color: #fff; margin: 0 0 28px; letter-spacing: -0.04em;
}
.hu-text-line { display: block; }

/* ===== NEBULA TEXT EFFECT ===== */
.nebula-text {
    position: relative;
    display: inline-block;
    background: linear-gradient(
        90deg,
        #006f61 0%,
        #48b8aa 15%,
        #a9f20f 35%,
        #c8ff4d 50%,
        #a9f20f 65%,
        #48b8aa 85%,
        #006f61 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: nebulaFlow 6s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(72,184,170,0.3));
}
.nebula-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: none;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
    text-shadow:
        0 0 40px rgba(0,119,204,0.4),
        0 0 80px rgba(72,184,170,0.2),
        0 0 120px rgba(0,221,255,0.1);
    animation: nebulaGlow 4s ease-in-out infinite alternate;
}
@keyframes nebulaFlow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
@keyframes nebulaGlow {
    0%   { opacity: 0.6; filter: blur(1px); }
    100% { opacity: 1; filter: blur(0px); }
}

/* ===== HERO ===== */
.hu-hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.6); line-height: 1.7;
    max-width: 680px; margin: 0 auto 36px;
}

.opt-hero-micro {
    margin: 28px auto 0;
    font-size: 0.85rem;
    color: rgba(174,183,179,0.4);
    letter-spacing: 0.005em;
    max-width: 600px;
}

/* ========== SCROLL CUE ========== */
.hu-scroll-cue {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hu-scroll-cue span {
    font-size: 0.6rem; letter-spacing: 0.25em; color: rgba(174,183,179,0.25); text-transform: uppercase;
}
.hu-scroll-bar {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, rgba(72,184,170,0.5), transparent);
    animation: optScrollPulse 2s ease-in-out infinite;
}
@keyframes optScrollPulse { 0%,100% { opacity:.3; transform:scaleY(1) } 50% { opacity:1; transform:scaleY(1.4) } }

/* ========== BUTTONS ========== */
.hu-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hu-btn {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 34px; font-weight: 600; font-size: 0.95rem;
    border: none; border-radius: 14px; text-decoration: none;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}
.hu-btn--magnetic {
    background: linear-gradient(135deg, #00584d, #48b8aa);
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,111,97,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.hu-btn--magnetic:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,111,97,0.45), inset 0 1px 0 rgba(255,255,255,0.1);
    color: #fff; text-decoration: none;
}
.hu-btn--nebula {
    position: relative;
    overflow: hidden;
    background: none;
    border: 1px solid rgba(72,184,170,0.3);
    color: #fff;
}
.hu-btn--nebula::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        90deg,
        #006f61 0%,
        #48b8aa 15%,
        #a9f20f 35%,
        #c8ff4d 50%,
        #a9f20f 65%,
        #48b8aa 85%,
        #006f61 100%
    );
    background-size: 250% 100%;
    animation: nebulaFlow 6s ease-in-out infinite alternate;
    opacity: 0.85;
}
.hu-btn--nebula span {
    position: relative;
    z-index: 1;
    color: #fff;
}
.hu-btn--nebula:hover::before {
    opacity: 1;
}
.hu-btn--nebula:hover {
    color: #fff;
    box-shadow: 0 0 30px rgba(72,184,170,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.hu-btn-shine {
    position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
    transform: rotate(25deg) translateX(-120%);
    transition: none;
}
.hu-btn--magnetic:hover .hu-btn-shine { animation: optShine 0.6s ease forwards; }
@keyframes optShine { 0% { transform: rotate(25deg) translateX(-120%); } 100% { transform: rotate(25deg) translateX(120%); } }

.hu-btn--ghost {
    background: transparent; border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}
.hu-btn--ghost:hover {
    border-color: rgba(72,184,170,0.3); color: #fff;
    background: rgba(72,184,170,0.04); text-decoration: none;
}
.hu-btn--lg { padding: 18px 42px; font-size: 1.05rem; }

/* ========== SHARED CARD UTILS ========== */
.hu-card-glow {
    position: absolute; inset: 0; z-index: 0;
    opacity: 0; transition: opacity 0.5s;
    background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(72,184,170,0.10), transparent 60%);
    border-radius: inherit;
    pointer-events: none;
}
.opt-card-border {
    position: absolute; inset: 0; pointer-events: none;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.5s;
}
.opt-prose {
    font-size: 1rem; line-height: 1.75;
    color: rgba(190,204,198,0.72);
    margin: 0 0 18px;
}
.opt-prose:last-child { margin-bottom: 0; }
.opt-section-lead {
    text-align: center;
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: rgba(190,204,198,0.55);
    line-height: 1.7;
    max-width: 720px;
    margin: -16px auto 50px;
}

/* ========== TRUST BAR (sin fondo, animaciones premium) ========== */
.opt-trust {
    position: relative; z-index: 2;
    padding: 64px 24px;
    background: transparent;
}
.opt-trust-inner {
    display: flex; justify-content: center; align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    max-width: 1280px;
    margin: 0 auto;
}
.opt-trust-item {
    position: relative;
    display: flex; align-items: center;
    gap: 14px;
    padding: 12px 20px;
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
    flex: 0 0 auto;
}
.opt-trust-item:hover { transform: translateY(-5px); }

/* halo radial detrás del icono — aparece en hover */
.opt-trust-icon {
    position: relative;
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 56px; height: 56px;
    flex-shrink: 0;
    animation: optTrustFloat 5.5s ease-in-out infinite;
}
.opt-trust-icon::before {
    content: "";
    position: absolute; inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(72,184,170,0.22) 0%, rgba(200,255,77,0.06) 45%, transparent 75%);
    opacity: 0; transform: scale(0.8);
    transition: opacity 0.5s, transform 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 0;
    pointer-events: none;
}
.opt-trust-item:hover .opt-trust-icon { animation-play-state: paused; }
.opt-trust-item:hover .opt-trust-icon::before {
    opacity: 1;
    transform: scale(1.45);
}

/* delays escalonados para que cada icono flote desincronizado
   (1,3,5,7,9 porque hay un divider entre cada par de items) */
.opt-trust-item:nth-child(1) .opt-trust-icon { animation-delay: 0s; }
.opt-trust-item:nth-child(3) .opt-trust-icon { animation-delay: 0.55s; }
.opt-trust-item:nth-child(5) .opt-trust-icon { animation-delay: 1.10s; }
.opt-trust-item:nth-child(7) .opt-trust-icon { animation-delay: 1.65s; }
.opt-trust-item:nth-child(9) .opt-trust-icon { animation-delay: 2.20s; }

.opt-trust-item img {
    position: relative; z-index: 1;
    width: 44px; height: 44px;
    filter: drop-shadow(0 2px 10px rgba(72,184,170,0.28));
    transition: filter 0.45s, transform 0.5s cubic-bezier(.34,1.56,.64,1);
}
.opt-trust-item:hover img {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 6px 22px rgba(72,184,170,0.7)) brightness(1.12);
}

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

/* label con subrayado animado en gradient */
.opt-trust-label {
    position: relative;
    font-size: 0.92rem; font-weight: 600;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    letter-spacing: -0.005em;
    transition: color 0.4s, transform 0.45s cubic-bezier(.4,0,.2,1);
}
.opt-trust-label::after {
    content: "";
    position: absolute;
    left: 0; bottom: -5px;
    width: 0; height: 1.5px;
    background: linear-gradient(90deg, #48b8aa, #c8ff4d);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(72,184,170,0.5);
    transition: width 0.5s cubic-bezier(.4,0,.2,1);
}
.opt-trust-item:hover .opt-trust-label {
    color: #fff;
    transform: translateX(2px);
}
.opt-trust-item:hover .opt-trust-label::after { width: 100%; }

.opt-trust-divider {
    width: 1px; height: 36px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
}

@media (max-width: 1100px) {
    .opt-trust-inner { flex-wrap: wrap; }
    .opt-trust-divider:nth-of-type(2n) { display: none; }
}

@media (max-width: 768px) {
    .opt-trust { padding: 40px 12px; }
    .opt-trust-inner { flex-wrap: wrap; }
    .opt-trust-item { padding: 10px 18px; gap: 12px; }
    .opt-trust-icon { width: 44px; height: 44px; }
    .opt-trust-item img { width: 32px; height: 32px; }
    .opt-trust-label { font-size: 0.8rem; }
    .opt-trust-divider { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hu-page *,
    .hu-page *::before,
    .hu-page *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .home-reveals-enabled .hu-reveal,
    .home-reveals-enabled .hu-word-reveal,
    .hu-reveal,
    .hu-word-reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .hu-canvas,
    .hu-cursor-glow,
    .hu-progress {
        display: none !important;
    }
}

/* ============================================================
   PUBLIC HEADER — overlay on the landing hero
   ============================================================ */
.public-layout {
    position: relative;
}

.public-layout .public-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.50) 100%
    ) !important;
    border-bottom: 0 !important;
    box-shadow: none;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none;
}

.public-layout .public-header::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 96px;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.50) 0%,
        rgba(0, 0, 0, 0) 100%
    );
}

.public-layout .header-row {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
    padding: 0.7rem clamp(1rem, 2.5vw, 2.75rem);
}

.public-layout .brand {
    flex: 0 0 auto;
}

.public-layout .public-nav {
    margin-left: auto;
    gap: clamp(0.8rem, 1.6vw, 1.5rem);
}

.public-layout .public-nav > a:not(.btn) {
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.public-layout .public-nav > a:not(.btn):hover {
    color: #c8ff4d;
}

.public-layout main {
    position: relative;
}

.hu-hero {
    margin-top: 0;
    min-height: 100svh;
}

@media (max-width: 760px) {
    .public-layout .header-row {
        padding-inline: 1rem;
    }
}

/* ========== S2 — BENEFICIOS RÁPIDOS ========== */
.opt-quick { padding: 110px 24px 80px; }
.opt-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.opt-quick-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008));
    border-radius: 16px;
    padding: 30px 24px 26px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), box-shadow 0.5s;
    transform-style: preserve-3d;
    isolation: isolate;
}
.opt-quick-card::before {
    content:""; position:absolute; left:14%; right:14%; top:0; height:1px;
    background: linear-gradient(90deg, transparent, rgba(72,184,170,0.25), transparent);
    pointer-events:none; z-index:2;
}
.opt-quick-card:hover .hu-card-glow { opacity:1; }
.opt-quick-card:hover .opt-card-border { border-color: rgba(72,184,170,0.22); }
.opt-quick-card:hover { box-shadow: 0 16px 40px rgba(0,111,97,0.12); }
.opt-quick-icon {
    position: relative; z-index: 1;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(72,184,170,0.08);
    border: 1px solid rgba(72,184,170,0.18);
    color: #48b8aa;
    margin-bottom: 18px;
    transition: transform 0.3s, background 0.3s;
}
.opt-quick-card:hover .opt-quick-icon { transform: scale(1.06); background: rgba(72,184,170,0.13); }
.opt-quick-card h3 {
    position: relative; z-index: 1;
    font-size: 1.05rem; font-weight: 700; color: #d6deec;
    margin: 0 0 8px; letter-spacing: -0.01em;
}
.opt-quick-card p {
    position: relative; z-index: 1;
    font-size: 0.88rem; color: rgba(174,183,179,0.55);
    line-height: 1.55; margin: 0;
}

/* ========== S3 — PROBLEMA ========== */
.opt-problem { padding: 90px 24px; }
.opt-problem-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.opt-problem-stack {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 14px;
    padding: 32px 28px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.005));
    border: 1px solid rgba(255,255,255,0.06);
    isolation: isolate;
    overflow: hidden;
}
.opt-problem-stack::before {
    content:""; position:absolute; inset:-1px; border-radius:22px; pointer-events:none;
    background:
        radial-gradient(circle at 20% 20%, rgba(72,184,170,0.08), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(200,255,77,0.06), transparent 55%);
    z-index:-1;
}
.opt-problem-stack::after {
    content:""; position:absolute; left:14%; right:14%; top:0; height:1px;
    background: linear-gradient(90deg, transparent, rgba(72,184,170,0.25), transparent);
    pointer-events:none;
}
.opt-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    font-size: 0.85rem; font-weight: 600;
    color: rgba(220,232,226,0.78);
    transition: transform 0.4s, border-color 0.4s, background 0.4s;
    justify-content: flex-start;
}
.opt-chip svg { color: rgba(72,184,170,0.55); flex-shrink: 0; }
.opt-chip--a { transform: rotate(-1.5deg); }
.opt-chip--b { transform: rotate(1deg); }
.opt-chip--c { transform: rotate(-0.5deg); }
.opt-chip--d { transform: rotate(1.8deg); }
.opt-chip--e { transform: rotate(-1deg); }
.opt-chip--f { transform: rotate(0.8deg); }
.opt-chip:hover {
    transform: rotate(0) translateY(-2px);
    border-color: rgba(72,184,170,0.25);
    background: rgba(72,184,170,0.06);
}

/* ========== S4 — ANTES Y DESPUÉS ========== */
.opt-vs { padding: 100px 24px; }
.opt-vs-bad-text {
    color: rgba(220,232,226,0.45);
    text-decoration: line-through;
    text-decoration-color: rgba(220,80,80,0.4);
    text-decoration-thickness: 2px;
}
.opt-vs-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 44px;
}
.opt-vs-col {
    position: relative;
    padding: 36px 32px;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
}
.opt-vs-col--before {
    background: linear-gradient(180deg, rgba(80,30,30,0.18), rgba(40,20,20,0.05));
    border: 1px solid rgba(220,80,80,0.14);
}
.opt-vs-col--after {
    background: linear-gradient(180deg, rgba(0,88,77,0.16), rgba(0,40,100,0.04));
    border: 1px solid rgba(72,184,170,0.20);
}
.opt-vs-col::before {
    content:""; position:absolute; left:14%; right:14%; top:0; height:1px;
    pointer-events:none;
    background: linear-gradient(90deg, transparent, rgba(72,184,170,0.25), transparent);
}
.opt-vs-col--before::before {
    background: linear-gradient(90deg, transparent, rgba(255,180,180,0.22), transparent);
}
.opt-vs-label {
    display: inline-block;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(220,80,80,0.1);
    color: rgba(255,170,170,0.9);
    border: 1px solid rgba(220,80,80,0.25);
    margin-bottom: 22px;
}
.opt-vs-label--good {
    background: rgba(72,184,170,0.08);
    color: rgba(200,255,77,0.95);
    border-color: rgba(72,184,170,0.28);
}
.opt-vs-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.opt-vs-col li {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 0.95rem; line-height: 1.5;
    color: rgba(190,204,198,0.72);
}
.opt-vs-cross, .opt-vs-check {
    flex-shrink: 0;
    width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 6px;
    font-size: 0.85rem; font-weight: 700;
    margin-top: 1px;
}
.opt-vs-cross { background: rgba(220,80,80,0.14); color: rgba(255,170,170,0.9); }
.opt-vs-check { background: rgba(72,184,170,0.14); color: #c8ff4d; }
.opt-vs-arrow {
    align-self: center;
    color: rgba(72,184,170,0.55);
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(72,184,170,0.06);
    border: 1px solid rgba(72,184,170,0.18);
}

/* ========== QUOTE / FRASE DESTACADA ========== */
.opt-quote {
    text-align: left;
    font-size: clamp(1.1rem, 1.7vw, 1.3rem);
    font-weight: 500;
    color: rgba(220,232,226,0.85);
    line-height: 1.55;
    max-width: 820px;
    margin: 30px auto 0;
    padding: 22px 28px;
    border-left: 2px solid rgba(72,184,170,0.45);
    background: rgba(72,184,170,0.025);
    border-radius: 0 14px 14px 0;
    letter-spacing: -0.01em;
}
.opt-quote--center {
    text-align: center;
    border-left: none;
    border-top: 1px solid rgba(72,184,170,0.18);
    border-bottom: 1px solid rgba(72,184,170,0.18);
    border-radius: 0;
    background: transparent;
    padding: 26px 24px;
    margin-top: 50px;
}

/* ========== S5 — QUÉ HACEMOS ========== */
.opt-services { padding: 110px 24px; }
.opt-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.opt-service-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008));
    border-radius: 18px;
    padding: 36px 28px 30px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), box-shadow 0.5s;
    transform-style: preserve-3d;
    isolation: isolate;
}
.opt-service-card::before {
    content:""; position:absolute; left:14%; right:14%; top:0; height:1px;
    background: linear-gradient(90deg, transparent, rgba(72,184,170,0.25), transparent);
    pointer-events:none; z-index:2;
}
.opt-service-card:hover .hu-card-glow { opacity: 1; }
.opt-service-card:hover .opt-card-border { border-color: rgba(72,184,170,0.22); }
.opt-service-card:hover { box-shadow: 0 18px 50px rgba(0,111,97,0.12); }
.opt-card-num {
    position: relative; z-index: 1;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
    color: rgba(72,184,170,0.55);
    display: block; margin-bottom: 14px;
}
.opt-service-card h3 {
    position: relative; z-index: 1;
    font-size: 1.1rem; font-weight: 700; color: #d6deec;
    margin: 0 0 10px; letter-spacing: -0.01em;
}
.opt-service-card p {
    position: relative; z-index: 1;
    font-size: 0.92rem; color: rgba(174,183,179,0.6);
    line-height: 1.6; margin: 0;
}

/* ========== S6 — IA APLICADA ========== */
.opt-ai { padding: 100px 24px; }
.opt-ai-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 32px;
    list-style: none;
    padding: 0;
    max-width: 820px;
    margin: 0 auto 30px;
}
.opt-ai-list li {
    display: flex; gap: 14px; align-items: flex-start;
    font-size: 0.96rem; line-height: 1.55;
    color: rgba(190,204,198,0.72);
}
.opt-ai-list li::before {
    content: "";
    flex-shrink: 0;
    margin-top: 9px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #48b8aa, #c8ff4d);
    box-shadow: 0 0 8px rgba(72,184,170,0.4);
}
.opt-ai-flow {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 56px;
    padding: 26px 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(0,88,77,0.06), rgba(0,40,100,0.02));
    border: 1px solid rgba(72,184,170,0.14);
    position: relative;
    isolation: isolate;
}
.opt-flow-step {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 18px 22px;
    border-radius: 14px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    min-width: 110px;
    transition: transform 0.3s;
}
.opt-flow-step:hover { transform: translateY(-3px); }
.opt-flow-step span {
    font-size: 0.82rem; font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(220,232,226,0.85);
}
.opt-flow-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(72,184,170,0.08);
    border: 1px solid rgba(72,184,170,0.22);
    color: rgba(72,184,170,0.9);
}
.opt-flow-step--accent {
    background: linear-gradient(180deg, rgba(72,184,170,0.18), rgba(0,88,77,0.06));
    border-color: rgba(72,184,170,0.45);
    box-shadow: 0 0 22px rgba(72,184,170,0.18);
}
.opt-flow-step--accent span { color: #fff; }
.opt-flow-step--accent .opt-flow-icon {
    background: rgba(72,184,170,0.28);
    border-color: rgba(200,255,77,0.6);
    color: #fff;
}
.opt-flow-line {
    flex: 0 0 auto;
    width: 28px; height: 2px;
    background: linear-gradient(90deg, rgba(72,184,170,0.5), rgba(200,255,77,0.7));
    border-radius: 2px;
    position: relative;
}
.opt-flow-line::after {
    content:""; position:absolute; right:-1px; top:50%; transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 6px solid rgba(200,255,77,0.7);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* ========== S7 — SECTORES ========== */
.opt-sectors { padding: 100px 24px; }
.opt-sectors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.opt-sector-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008));
    border-radius: 20px;
    padding: 36px 32px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), box-shadow 0.5s;
    transform-style: preserve-3d;
    isolation: isolate;
}
.opt-sector-card::before {
    content:""; position:absolute; left:14%; right:14%; top:0; height:1px;
    background: linear-gradient(90deg, transparent, rgba(72,184,170,0.25), transparent);
    pointer-events:none; z-index:2;
}
.opt-sector-card:hover .hu-card-glow { opacity:1; }
.opt-sector-card:hover .opt-card-border { border-color: rgba(72,184,170,0.22); }
.opt-sector-card:hover { box-shadow: 0 18px 50px rgba(0,111,97,0.12); }
.opt-sector-icon {
    position: relative; z-index: 1;
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(72,184,170,0.18), rgba(72,184,170,0.04));
    border: 1px solid rgba(72,184,170,0.22);
    color: #48b8aa;
    margin-bottom: 20px;
    transition: transform 0.3s;
}
.opt-sector-card:hover .opt-sector-icon { transform: scale(1.06); }
.opt-sector-card h3 {
    position: relative; z-index: 1;
    font-size: 1.18rem; font-weight: 700;
    color: #d6deec;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}
.opt-sector-card p {
    position: relative; z-index: 1;
    font-size: 0.94rem; color: rgba(174,183,179,0.6);
    line-height: 1.65; margin: 0;
}

/* ========== S8 — MÉTODO TIMELINE ========== */
.opt-method { padding: 100px 24px; }
.opt-method-timeline {
    position: relative;
    max-width: 820px;
    margin: 50px auto 0;
}
.opt-method-line {
    position: absolute;
    left: 23px; top: 24px; bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, rgba(72,184,170,0.55), rgba(72,184,170,0.05));
}
.opt-method-step {
    position: relative;
    display: flex;
    gap: 24px;
    margin-bottom: 22px;
    align-items: stretch;
}
.opt-method-step:last-child { margin-bottom: 0; }
.opt-method-dot {
    flex-shrink: 0;
    position: relative; z-index: 2;
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #00584d, #48b8aa);
    color: #fff;
    font-size: 0.85rem; font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 0 20px rgba(72,184,170,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.opt-method-card {
    flex: 1;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 22px 26px;
    position: relative;
    isolation: isolate;
    transition: border-color 0.4s, background 0.4s;
}
.opt-method-card::before {
    content:""; position:absolute; left:14%; right:14%; top:0; height:1px;
    background: linear-gradient(90deg, transparent, rgba(72,184,170,0.22), transparent);
    pointer-events:none;
}
.opt-method-step:hover .opt-method-card {
    border-color: rgba(72,184,170,0.22);
    background: linear-gradient(180deg, rgba(72,184,170,0.05), rgba(72,184,170,0.01));
}
.opt-method-card h3 {
    font-size: 1.05rem; font-weight: 700;
    color: #d6deec; margin: 0 0 6px;
    letter-spacing: -0.01em;
}
.opt-method-card p {
    font-size: 0.92rem; color: rgba(174,183,179,0.62);
    line-height: 1.6; margin: 0;
}

/* ========== S9 — DIFERENCIAL ========== */
.opt-diff { padding: 100px 24px; }
.opt-diff-inner {
    max-width: 880px;
    text-align: center;
    margin: 0 auto;
}
.opt-diff-inner .hu-tag,
.opt-diff-inner .hu-section-title { text-align: center; }
.opt-diff-text { margin-bottom: 30px; }
.opt-diff-text .opt-prose {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 18px;
}

/* ========== S10 — CONFIANZA TÉCNICA ========== */
.opt-tech { padding: 100px 24px; }
.opt-tech-grid {
    display: flex; flex-wrap: wrap; gap: 12px;
    justify-content: center;
    max-width: 940px;
    margin: 0 auto;
}
.opt-tech-pill {
    display: inline-flex; align-items: center;
    padding: 12px 20px;
    border-radius: 50px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
    border: 1px solid rgba(72,184,170,0.16);
    font-size: 0.92rem; font-weight: 600;
    color: rgba(220,232,226,0.85);
    letter-spacing: -0.005em;
    transition: transform 0.3s, border-color 0.3s, background 0.3s, color 0.3s;
    cursor: default;
}
.opt-tech-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(72,184,170,0.42);
    background: linear-gradient(180deg, rgba(72,184,170,0.08), rgba(72,184,170,0.02));
    color: #fff;
}

/* ========== S11 — CTA FINAL ========== */
.opt-cta-final {
    position: relative; overflow: hidden;
    padding: 110px 24px 130px;
}
.hu-cta-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(0,111,97,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(169,242,15,0.08) 0%, transparent 50%);
    animation: optCtaPulse 6s ease-in-out infinite alternate;
}
@keyframes optCtaPulse { 0% { opacity: 0.5; } 100% { opacity: 1; } }
.opt-cta-inner {
    text-align: center;
    position: relative; z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.hu-cta-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800;
    color: #e0e6f0; margin: 0 0 22px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.opt-cta-prose {
    font-size: 1.05rem; color: rgba(190,204,198,0.62);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 14px;
}
.opt-final-claims {
    display: flex; flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 38px auto 36px;
}
.opt-final-claim {
    display: inline-flex; align-items: center;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(72,184,170,0.07);
    border: 1px solid rgba(72,184,170,0.24);
    font-size: 0.85rem; font-weight: 600;
    color: rgba(200,255,77,0.95);
    letter-spacing: 0.01em;
}

/* ========== FOOTER ========== */
.hu-footer {
    position: relative; z-index: 2;
    background: rgba(3,6,16,0.9); backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.04); padding: 56px 24px 0;
}
.hu-footer-top {
    display: flex; justify-content: space-between; gap: 48px;
    max-width: 1100px; margin: 0 auto; padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.04); flex-wrap: wrap;
}
.hu-footer-brand { max-width: 360px; }
.hu-footer-logo {
    height: 32px; opacity: 0.6; margin-bottom: 12px;
    filter: drop-shadow(0 0 6px rgba(72,184,170,0.1));
}
.hu-footer-brand p { font-size: 0.9rem; color: rgba(174,183,179,0.35); line-height: 1.6; }
.hu-footer-col { display: flex; flex-direction: column; gap: 7px; }
.hu-footer-col h4 {
    font-size: 0.85rem; font-weight: 700; color: rgba(174,183,179,0.4);
    letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 6px;
}
.hu-footer-col a {
    font-size: 0.9rem; color: rgba(174,183,179,0.3);
    text-decoration: none; transition: color 0.3s;
}
.hu-footer-col a:hover { color: #48b8aa; }
.hu-footer-bottom { text-align: center; padding: 20px 0; max-width: 1100px; margin: 0 auto; }
.hu-footer-bottom p { font-size: 0.78rem; color: rgba(174,183,179,0.15); margin: 0; }

/* ========== SERVICIOS (formato Home — bento grid con foto e iconos) ========== */
.opt-services-home {
    padding: 100px 24px 80px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.opt-services-home .section-header {
    margin-bottom: 60px;
}

.opt-services-home .section-tag {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #48b8aa;
    margin-bottom: 16px;
    text-transform: uppercase;
    text-align: left;
}

.opt-services-home .section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 auto 24px;
    text-align: center;
    max-width: 800px;
}

.opt-services-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(190,204,198,0.72);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* Bento Grid (igual que Home) */
.opt-services-home .bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.opt-services-home .bento-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.45s cubic-bezier(.4,0,.2,1);
    background: rgba(24,30,27,0.6);
    display: flex;
    flex-direction: column;
}
.opt-services-home .bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(72,184,170,0.25);
    box-shadow: 0 20px 60px rgba(0,111,97,0.15), 0 0 0 1px rgba(72,184,170,0.08);
}

.opt-services-home .bento-card--large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 500px;
}
.opt-services-home .bento-card--medium {
    min-height: 240px;
}
.opt-services-home .bento-card--small {
    min-height: 220px;
    background: linear-gradient(145deg, rgba(28,35,31,0.8), rgba(17,21,19,0.9));
}

.opt-services-home .bento-card-bg {
    position: absolute;
    inset: 0;
}
.opt-services-home .bento-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,12,9,0.96) 0%, rgba(5,12,9,0.80) 45%, rgba(5,12,9,0.35) 100%);
    z-index: 1;
    pointer-events: none;
}
.opt-services-home .bento-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transition: opacity 0.5s ease, transform 0.8s ease;
}
.opt-services-home .bento-card:hover .bento-card-bg img {
    opacity: 0.45;
    transform: scale(1.05);
}

.opt-services-home .bento-card-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    flex: 1;
}
.opt-services-home .bento-card-content--no-bg {
    justify-content: center;
}

.opt-services-home .bento-card-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.opt-services-home .bento-card-icons img {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 2px 8px rgba(72,184,170,0.3));
}

.opt-services-home .bento-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.opt-services-home .bento-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin: 0 0 16px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.opt-services-home .bento-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a9f20f;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.opt-services-home .bento-card-link:hover {
    color: #c8ff4d;
    gap: 12px;
    text-decoration: none;
    text-shadow: 0 0 12px rgba(72,184,170,0.35);
}
.opt-services-home .bento-card-link svg {
    transition: transform 0.3s ease;
}
.opt-services-home .bento-card-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .opt-services-home .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .opt-services-home .bento-card--large {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 380px;
    }
    .opt-services-home .bento-card--medium {
        min-height: 260px;
    }
    .opt-services-home .bento-card--small {
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    .opt-services-home {
        padding: 60px 16px;
    }
    .opt-services-home .section-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    .opt-services-home .bento-grid {
        grid-template-columns: 1fr;
    }
    .opt-services-home .bento-card--large {
        grid-column: span 1;
        min-height: 340px;
    }
    .opt-services-home .bento-card--medium { min-height: 280px; }
    .opt-services-home .bento-card--small { min-height: 160px; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .opt-quick-grid { grid-template-columns: repeat(2, 1fr); }
    .opt-services-grid { grid-template-columns: repeat(2, 1fr); }
    .opt-problem-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 820px) {
    .opt-vs-grid { grid-template-columns: 1fr; }
    .opt-vs-arrow { transform: rotate(90deg); margin: 0 auto; }
    .opt-ai-list { grid-template-columns: 1fr; }
    .opt-sectors-grid { grid-template-columns: 1fr; }
    .opt-ai-flow { padding: 22px 18px; }
    .opt-flow-line { width: 2px; height: 24px; background: linear-gradient(180deg, rgba(72,184,170,0.5), rgba(200,255,77,0.7)); }
    .opt-flow-line::after { right: 50%; top: auto; bottom: -1px; transform: translateX(50%); border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid rgba(200,255,77,0.7); border-bottom: none; }
    .opt-ai-flow { flex-direction: column; }
    .opt-flow-step { width: 100%; min-width: 0; }
}

@media (max-width: 768px) {
    .hu-hero-title { font-size: 2.2rem; }
    .hu-hero-sub { font-size: 0.95rem; }
    .hu-hero-badge { top: -24px; }
    .hu-scroll-cue {
        right: auto;
        bottom: 8px;
        left: 50%;
        width: max-content;
        transform: translateX(-50%);
    }
    .hu-scroll-cue.hu-reveal {
        transform: translate(-50%, 40px);
    }
    .hu-scroll-cue.hu-reveal.hu-visible {
        transform: translate(-50%, 0);
    }
    .hu-section { padding: 70px 16px; }
    .opt-quick-grid { grid-template-columns: 1fr; }
    .opt-services-grid { grid-template-columns: 1fr; }
    .opt-problem-stack { grid-template-columns: repeat(2, 1fr); padding: 24px 18px; }
    .opt-vs-col { padding: 28px 22px; }
    .opt-method-step { gap: 16px; }
    .opt-method-line { left: 23px; }
    .hu-footer-top { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
    .hu-hero-btns { flex-direction: column; align-items: stretch; }
    .hu-hero-btns a, .hu-hero-btns .hu-btn { text-align: center; justify-content: center; }
    .opt-problem-stack { grid-template-columns: 1fr; }
    .opt-method-card { padding: 18px 20px; }
    .opt-quote { padding: 18px 20px; }
}

/* ============================================================
   OP LANDING WORK SECTION — reestructura precisa del grid
   ============================================================ */

.op-landing-work-section {
    padding: 100px 24px 80px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.op-landing-work-header {
    margin-bottom: 56px;
}

.op-landing-work-kicker {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #48b8aa;
    margin-bottom: 16px;
    text-transform: uppercase;
    text-align: left;
}

.op-landing-work-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 auto 20px;
    text-align: center;
    max-width: 800px;
}

.op-landing-work-subtitle {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(190,204,198,0.72);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* Contenedor principal de cards: replica el bento de Home */
.op-landing-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.opt-page .opt-services-home .op-landing-work-main-card.hu-tilt,
.opt-page .opt-services-home .op-landing-work-side-card.hu-tilt,
.opt-page .op-solutions-section .op-solution-card.hu-tilt {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.opt-page .opt-services-home .op-landing-work-main-card.hu-tilt.hu-tilting,
.opt-page .opt-services-home .op-landing-work-side-card.hu-tilt.hu-tilting,
.opt-page .op-solutions-section .op-solution-card.hu-tilt.hu-tilting {
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.opt-page .opt-services-home .op-landing-work-main-card.hu-tilt:hover,
.opt-page .opt-services-home .op-landing-work-side-card.hu-tilt:hover,
.opt-page .op-solutions-section .op-solution-card.hu-tilt:hover {
    transform: translateY(0);
}

/* Estos wrappers conservan el HTML, pero dejan que las cards ocupen el grid como en Home */
.op-landing-work-top {
    display: contents;
}

.op-landing-work-main-card {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 480px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(24,30,27,0.6);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), border-color 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.op-landing-work-main-card:hover {
    border-color: rgba(72,184,170,0.2);
    box-shadow: 0 20px 60px rgba(0,111,97,0.12);
}

.op-landing-work-side {
    display: contents;
}

.op-landing-work-side-card {
    min-height: 230px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(24,30,27,0.6);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), border-color 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.op-landing-work-side-card:hover {
    border-color: rgba(72,184,170,0.2);
    box-shadow: 0 20px 60px rgba(0,111,97,0.12);
}
.op-landing-work-main-card:hover .hu-card-glow,
.op-landing-work-side-card:hover .hu-card-glow {
    opacity: 1;
}

/* Fila inferior: tres cards iguales */
.op-landing-work-bottom-grid {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.op-landing-work-bottom-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(145deg, rgba(28,35,31,0.8), rgba(17,21,19,0.9));
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    transition: all 0.45s cubic-bezier(.4,0,.2,1);
}
.op-landing-work-bottom-card:hover {
    transform: translateY(-6px);
    border-color: rgba(72,184,170,0.2);
    box-shadow: 0 20px 60px rgba(0,111,97,0.12);
}

/* Overlays e imágenes para cards con fondo */
.op-landing-work-main-card .bento-card-bg,
.op-landing-work-side-card .bento-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.op-landing-work-main-card .hu-card-glow,
.op-landing-work-side-card .hu-card-glow {
    z-index: 1;
}
.op-landing-work-main-card .bento-card-bg::after,
.op-landing-work-side-card .bento-card-bg::after {
    content: none;
}
.op-landing-work-main-card .bento-card-bg img,
.op-landing-work-side-card .bento-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    transition: opacity 0.5s ease, transform 0.8s ease;
}
.op-landing-work-main-card:hover .bento-card-bg img,
.op-landing-work-side-card:hover .bento-card-bg img {
    opacity: 0.35;
    transform: scale(1.05);
}

/* Contenido de las cards */
.op-landing-work-main-card .bento-card-content,
.op-landing-work-side-card .bento-card-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    flex: 1;
    background: linear-gradient(to top, rgba(8,22,17,0.95) 20%, transparent 100%);
}
.op-landing-work-bottom-card .bento-card-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    flex: 1;
}

/* Tipografía legible */
.op-landing-work-main-card h3,
.op-landing-work-side-card h3,
.op-landing-work-bottom-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.op-landing-work-main-card p,
.op-landing-work-side-card p,
.op-landing-work-bottom-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0 0 16px;
}
.op-landing-work-main-card .bento-card-link,
.op-landing-work-side-card .bento-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #48b8aa;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.op-landing-work-main-card .bento-card-link:hover,
.op-landing-work-side-card .bento-card-link:hover {
    color: #a9f20f;
    gap: 12px;
    text-decoration: none;
}

/* Responsive tablet */
@media (max-width: 1024px) {
    .op-landing-work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .op-landing-work-main-card {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 380px;
    }
    .op-landing-work-side-card {
        min-height: 260px;
    }
    .op-landing-work-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive móvil */
@media (max-width: 768px) {
    .op-landing-work-section {
        padding: 60px 16px;
    }
    .op-landing-work-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    .op-landing-work-grid {
        grid-template-columns: 1fr;
    }
    .op-landing-work-main-card {
        grid-column: span 1;
        min-height: 340px;
    }
    .op-landing-work-side-card {
        min-height: 280px;
    }
    .op-landing-work-bottom-grid {
        grid-template-columns: 1fr;
    }
    .op-landing-work-bottom-card {
        min-height: 160px;
    }
}

/* ============================================================
   MARQUEE — piezas conectables (copiado desde OptInicio)
   ============================================================ */
.op-landing-marquee-section {
    position: relative;
    z-index: 2;
    padding: 40px 0 60px;
    overflow: hidden;
}
.op-landing-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
    padding: 14px 0;
    border-top: 1px solid rgba(72,184,170,0.08);
    border-bottom: 1px solid rgba(72,184,170,0.08);
    background: rgba(17,21,19,0.4);
}
.op-landing-marquee-track {
    display: inline-flex;
    gap: 36px;
    white-space: nowrap;
    animation: opLandingMarquee 90s linear infinite;
}
.op-landing-marquee-track span {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(174,183,179,0.4);
    letter-spacing: -0.01em;
}
.op-landing-marquee-track span:nth-child(odd) {
    color: rgba(72,184,170,0.7);
}
@keyframes opLandingMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 480px) {
    .op-landing-marquee-track span {
        font-size: 1rem;
    }
}

/* ============================================================
   S1c — SOLUCIONES EN ACCIÓN
   ============================================================ */
.op-solutions-section {
    position: relative;
    z-index: 2;
    padding: 100px 24px 80px;
}

.op-solutions-header {
    margin-bottom: 56px;
}

.op-solutions-tag {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #48b8aa;
    margin-bottom: 16px;
    text-transform: uppercase;
    text-align: left;
}

.op-solutions-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 auto 20px;
    text-align: center;
    max-width: 800px;
}

.op-solutions-subtitle {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(190,204,198,0.72);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.op-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.op-solution-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), border-color 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

.op-solution-card:hover {
    border-color: rgba(72,184,170,0.25);
    box-shadow: 0 20px 60px rgba(0,111,97,0.15), 0 0 0 1px rgba(72,184,170,0.08);
}
.op-solution-card:hover .hu-card-glow {
    opacity: 1;
}

.op-solution-card-featured {
    grid-column: 1 / -1;
    min-height: 380px;
}

.op-solution-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.op-solution-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: opacity 0.5s ease, transform 0.8s ease;
}

.op-solution-card:hover .op-solution-card-bg img {
    opacity: 0.65;
    transform: scale(1.05);
}

.op-solution-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(5,12,9,0.92) 15%, rgba(5,12,9,0.50) 55%, rgba(5,12,9,0.20) 100%);
}
.op-solution-card .hu-card-glow {
    z-index: 1;
}

.op-solution-card-content {
    position: relative;
    z-index: 2;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    flex: 1;
}

.op-solution-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.op-solution-card p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin: 0 0 16px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.op-solution-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a9f20f;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.op-solution-card-link:hover {
    color: #c8ff4d;
    gap: 12px;
    text-decoration: none;
    text-shadow: 0 0 12px rgba(72,184,170,0.35);
}

.op-solution-card-link svg {
    transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
    .op-solutions-section {
        padding: 60px 16px;
    }
    .op-solutions-title {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    .op-solutions-grid {
        grid-template-columns: 1fr;
    }
    .op-solution-card {
        min-height: 280px;
    }
    .op-solution-card-featured {
        min-height: 320px;
    }
}

