/* ============================================================
   style.css — Rolling Market · Remolques y Food Trucks
   Paleta: Rojo trailer + Dorado premium sobre negro profundo
   (extraída del logotipo oficial Rolling Market)
   ============================================================ */

:root {
    --gold:       #FDA400;
    --gold-light: #FFC247;
    --gold-dark:  #B37200;
    --gold-glow:  rgba(253, 164, 0, 0.28);
    --red:        #C70102;
    --red-light:  #E63946;
    --red-dark:   #7A0000;
    --red-glow:   rgba(199, 1, 2, 0.30);
    --dark:       #0a0808;
    --dark2:      #120e0e;
    --dark3:      #1c1414;
    --dark4:      #241a1a;
    --ease:       cubic-bezier(0.4, 0, 0.2, 1);
    --trans:      all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--dark); color: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* ===== GRADIENTE ROJO-DORADO EN TEXTO (efecto "fuego" de marca) ===== */
.text-gradient-gold {
    background: linear-gradient(135deg, #7A0000 0%, #C70102 28%, #FDA400 60%, #FFC247 80%, #FDA400 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BOTONES ===== */
.btn-gold-primary {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    color: #080808;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    transition: var(--trans);
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    display: inline-flex;
    align-items: center;
    border: none;
}

.btn-gold-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
}

.btn-gold-primary:hover::after { transform: translateX(100%); }
.btn-gold-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 42px var(--gold-glow), 0 4px 16px rgba(0,0,0,0.5);
}

.btn-glass {
    background: rgba(255,255,255,0.07);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 700;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--trans);
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    display: inline-flex;
    align-items: center;
}

.btn-glass:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(253, 164, 0,0.5);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    font-weight: 700;
    transition: var(--trans);
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    display: inline-flex;
    align-items: center;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--gold-glow);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    font-weight: 800;
    transition: var(--trans);
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.32);
}

/* ===== NAVBAR ===== */
#navbar { background: transparent; }

#navbar.scrolled {
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(253, 164, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.nav-logo-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, rgba(253, 164, 0,0.14), rgba(253, 164, 0,0.04));
    border: 1px solid rgba(253, 164, 0,0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
    flex-shrink: 0;
    overflow: hidden;
    padding: 4px;
}

.nav-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    filter: brightness(1.1);
}

.nav-link {
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after { width: 100%; }

/* ===================================================
   HERO — IMAGEN DE AGUA + OVERLAYS
=================================================== */
.hero-water-wrap {
    overflow: hidden;
    z-index: 0;
}

.hero-water-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform-origin: center;
    will-change: transform;
}

.hero-overlay-base {
    background: rgba(4, 4, 8, 0.58);
    z-index: 1;
}

.hero-overlay-left {
    background: linear-gradient(
        105deg,
        rgba(4, 4, 8, 0.92) 0%,
        rgba(8, 6, 3, 0.80) 30%,
        rgba(10, 8, 4, 0.55) 55%,
        rgba(8, 8, 8, 0.18) 75%,
        transparent 100%
    );
    z-index: 2;
}

.hero-overlay-gold {
    background: radial-gradient(
        ellipse at 70% 55%,
        rgba(199, 1, 2, 0.16) 0%,
        transparent 55%
    );
    z-index: 3;
}

.hero-grid {
    background-image:
        linear-gradient(rgba(253, 164, 0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(253, 164, 0,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    z-index: 4;
}

/* Orbes dorados */
.gold-orb {
    border-radius: 50%;
    filter: blur(65px);
    z-index: 5;
}

.gold-orb-1 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(199, 1, 2, 0.12) 0%, transparent 70%);
    top: -80px; left: -80px;
    animation: orbFloat1 10s ease-in-out infinite;
}

.gold-orb-2 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(253, 164, 0,0.07) 0%, transparent 70%);
    bottom: 100px; left: 35%;
    animation: orbFloat2 8s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0,0) scale(1); }
    40%  { transform: translate(30px, 20px) scale(1.06); }
    70%  { transform: translate(-15px, -20px) scale(0.95); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0,0); }
    50%  { transform: translate(-20px, -30px); }
}

.water-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(253, 164, 0,0.22), rgba(253, 164, 0,0.08), transparent);
    z-index: 5;
}

.water-line-1 {
    width: 50%; top: 35%; left: 0;
    transform: rotate(-6deg);
    transform-origin: left;
}

.water-line-2 {
    width: 35%; bottom: 30%; left: 5%;
    transform: rotate(4deg);
    transform-origin: left;
    opacity: 0.6;
}

/* Badge hero */
.hero-badge {
    background: rgba(253, 164, 0,0.10);
    border: 1px solid rgba(253, 164, 0,0.25);
    padding: 8px 20px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    animation: pulseDot 2.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%  { opacity: 0.4; transform: scale(0.7); }
}

.hero-deco-line { display: flex; align-items: center; }

.hero-stats {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

/* Partículas */
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
}

/* ===================================================
   HERO — COLUMNA DERECHA: FOTO REAL DEL PROYECTO
   Marco dorado + badges flotantes glassmorphism
=================================================== */
.hero-photo-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* Marco con borde dorado y esquinas angulares */
.hero-photo-frame {
    position: relative;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
    border: 1px solid rgba(253, 164, 0,0.35);
    overflow: hidden;
}

/* Esquinas decorativas doradas */
.corner-deco {
    position: absolute;
    width: 28px; height: 28px;
    z-index: 10;
    pointer-events: none;
}

.corner-tl {
    top: 0; left: 0;
    border-top: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
}

.corner-tr {
    top: 0; right: 0;
    border-top: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
}

.corner-bl {
    bottom: 0; left: 0;
    border-bottom: 2px solid var(--gold);
    border-left: 2px solid var(--gold);
}

.corner-br {
    bottom: 0; right: 0;
    border-bottom: 2px solid var(--gold);
    border-right: 2px solid var(--gold);
}

/* Foto real del proyecto */
.hero-photo-inner {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.hero-project-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
    display: block;
}

.hero-photo-frame:hover .hero-project-photo {
    transform: scale(1.04);
}

/* Overlay sutil con gradiente dorado en la foto */
.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(4,4,8,0.75) 0%, transparent 45%),
        radial-gradient(ellipse at top right, rgba(253, 164, 0,0.10) 0%, transparent 60%);
    pointer-events: none;
}

/* Label "Proyecto Real" en la parte inferior de la foto */
.hero-photo-label {
    position: absolute;
    bottom: 16px; left: 16px;
    display: flex;
    align-items: center;
    background: rgba(8,8,8,0.70);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(253, 164, 0,0.22);
    padding: 7px 14px;
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}

/* Badges flotantes sobre la foto */
.photo-badge-1 {
    position: absolute;
    top: -18px; left: -28px;
    z-index: 20;
    min-width: 190px;
}

.photo-badge-2 {
    position: absolute;
    top: 45%; right: -30px;
    transform: translateY(-50%);
    z-index: 20;
    min-width: 200px;
}

.photo-badge-3 {
    position: absolute;
    bottom: -18px; left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    min-width: 140px;
}

/* ===== TARJETAS FLOTANTES GLASSMORPHISM ===== */
.glass-float-card {
    background: rgba(10, 8, 4, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(253, 164, 0,0.22);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.55),
        inset 0 1px 0 rgba(253, 164, 0,0.08);
    padding: 14px 18px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: var(--trans);
}

.glass-float-card:hover {
    border-color: rgba(253, 164, 0,0.40);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 20px rgba(253, 164, 0,0.10);
}

.gc-icon {
    width: 40px; height: 40px;
    background: rgba(253, 164, 0,0.10);
    border: 1px solid rgba(253, 164, 0,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
}

.float-card-a { animation: floatCardA 5s ease-in-out infinite; }
.float-card-b { animation: floatCardB 6s ease-in-out infinite; }
.float-card-c { animation: floatCardA 7s ease-in-out infinite reverse; }

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

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

/* Scroll indicator */
.scroll-hint { opacity: 0.7; }

.scroll-mouse {
    width: 22px; height: 36px;
    border: 2px solid rgba(253, 164, 0,0.35);
    border-radius: 11px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.scroll-wheel {
    width: 3px; height: 7px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ===== ELEMENTOS COMUNES DE SECCIÓN ===== */
.section-tag {
    display: inline-block;
    background: rgba(253, 164, 0,0.08);
    color: var(--gold);
    border: 1px solid rgba(253, 164, 0,0.20);
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.gold-divider {
    width: 56px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-glow-bg {
    background: radial-gradient(ellipse at center top, rgba(253, 164, 0,0.03) 0%, transparent 60%);
}

/* ===================================================
   PRODUCTOS — Cards con imagen real de fondo
=================================================== */
.product-card {
    position: relative;
    background: linear-gradient(135deg, var(--c1, #1a1208), var(--c2, #0d0904));
    border: 1px solid rgba(253, 164, 0,0.07);
    padding: 28px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--trans);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.product-card:hover {
    transform: translateY(-7px);
    border-color: rgba(253, 164, 0,0.35);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 30px rgba(253, 164, 0,0.08);
}

/* Cards con foto real de fondo */
.product-card-img {
    background: var(--dark);
}

.product-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.30;
    transition: opacity 0.5s ease, transform 0.7s ease;
    z-index: 0;
}

.product-card-img:hover .product-bg-img {
    opacity: 0.45;
    transform: scale(1.07);
}

/* Overlay dorado sutil sobre la foto del producto */
.product-img-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(4,4,8,0.85) 0%, rgba(8,6,4,0.45) 60%, rgba(8,6,4,0.30) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.product-card-img:hover .product-img-overlay {
    background: linear-gradient(to top, rgba(4,4,8,0.75) 0%, rgba(8,6,4,0.30) 60%, transparent 100%);
}

.product-icon-bg {
    width: 54px; height: 54px;
    background: rgba(253, 164, 0,0.08);
    border: 1px solid rgba(253, 164, 0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
    transition: var(--trans);
}

.product-icon-bg i {
    color: var(--gold);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-icon-bg {
    background: rgba(253, 164, 0,0.16);
    box-shadow: 0 0 20px rgba(253, 164, 0,0.15);
}

.product-card:hover .product-icon-bg i { transform: scale(1.2); }

.product-name {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 4px;
}

.product-sub { color: #999; font-size: 11px; font-weight: 500; }

.product-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(253, 164, 0,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.product-card:hover .product-glow { opacity: 1; }

/* ===================================================
   PORTFOLIO / PROYECTOS REALES
   Cards con foto a pantalla completa + info debajo
=================================================== */
.portfolio-card {
    background: var(--dark3);
    border: 1px solid rgba(253, 164, 0,0.07);
    overflow: hidden;
    transition: var(--trans);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.portfolio-card:hover {
    border-color: rgba(253, 164, 0,0.30);
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(253, 164, 0,0.12);
}

/* Tarjeta central destacada — ligeramente más alta */
.portfolio-card-featured {
    border-color: rgba(253, 164, 0,0.18);
}

.portfolio-card-featured:hover {
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 40px rgba(253, 164, 0,0.10);
}

.portfolio-img-wrap {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(4,4,8,0.65) 0%,
        transparent 60%
    );
    transition: background 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    background: linear-gradient(
        to top,
        rgba(4,4,8,0.50) 0%,
        transparent 70%
    );
}

/* Etiqueta tipo de proyecto (esquina superior) */
.portfolio-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(8,8,8,0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(253, 164, 0,0.22);
    color: var(--gold);
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.portfolio-tag-gold {
    background: rgba(199, 1, 2, 0.22);
    border-color: rgba(199, 1, 2, 0.55);
    color: #FFC247;
}

/* Info debajo de la foto */
.portfolio-info {
    padding: 22px 24px;
    border-top: 1px solid rgba(253, 164, 0,0.07);
}

.portfolio-cta {
    margin-top: 14px;
}

.portfolio-wa-btn {
    display: inline-flex;
    align-items: center;
    color: #25D366;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(37,211,102,0.25);
    padding: 8px 14px;
    transition: var(--trans);
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}

.portfolio-wa-btn:hover {
    background: rgba(37,211,102,0.10);
    border-color: rgba(37,211,102,0.50);
    transform: translateX(4px);
}

/* ===================================================
   SECCIÓN INSPIRACIÓN
   Imagen real de diseño interior como fondo
=================================================== */
.inspo-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.inspo-bg-wrap {
    overflow: hidden;
}

.inspo-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: saturate(0.75);
    transform: scale(1.05);
    transition: transform 10s ease;
}

.inspo-section:hover .inspo-bg-img {
    transform: scale(1.0);
}

.inspo-overlay {
    background:
        linear-gradient(
            105deg,
            rgba(4,4,8,0.92) 0%,
            rgba(8,6,4,0.75) 45%,
            rgba(4,4,8,0.40) 100%
        );
    z-index: 1;
}

.inspo-section > .max-w-7xl {
    z-index: 2;
}

/* ===== BENEFICIOS ===== */
.benefit-card {
    position: relative;
    padding: 36px 28px;
    background: var(--dark3);
    border: 1px solid rgba(253, 164, 0,0.07);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
    overflow: hidden;
    transition: var(--trans);
}

.benefit-card:hover {
    border-color: rgba(253, 164, 0,0.28);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.benefit-icon {
    width: 58px; height: 58px;
    background: rgba(253, 164, 0,0.08);
    border: 1px solid rgba(253, 164, 0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    transition: var(--trans);
}

.benefit-card:hover .benefit-icon {
    background: rgba(253, 164, 0,0.16);
    box-shadow: 0 0 20px rgba(253, 164, 0,0.12);
}

.benefit-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 2px; width: 0;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    transition: width 0.5s ease;
}

.benefit-card:hover .benefit-bar { width: 100%; }

/* ===== PROCESO ===== */
.process-steps { position: relative; }

.process-connector {
    position: absolute;
    top: 62px;
    left: 12%; right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(253, 164, 0,0.22), rgba(253, 164, 0,0.22), transparent);
    z-index: 0;
}

.process-step { position: relative; padding-top: 16px; }

.step-num {
    font-size: 58px;
    font-weight: 900;
    color: rgba(253, 164, 0,0.05);
    line-height: 1;
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    letter-spacing: -2px;
    user-select: none;
}

.step-icon {
    width: 62px; height: 62px;
    background: rgba(253, 164, 0,0.08);
    border: 2px solid rgba(253, 164, 0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 44px auto 0;
    position: relative; z-index: 1;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: var(--trans);
}

.process-step:hover .step-icon {
    background: rgba(253, 164, 0,0.18);
    box-shadow: 0 0 28px rgba(253, 164, 0,0.18);
    transform: scale(1.08);
}

/* ===================================================
   BANNER PROMESA — Foto real de proyecto como fondo
   Imagen: pared oscura con iluminación cenital (8.28.33)
=================================================== */
.banner-highlight {
    position: relative;
}

.banner-img-wrap {
    overflow: hidden;
    z-index: 0;
}

.banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.6) brightness(0.55);
    transform: scale(1.05);
    transition: transform 12s ease;
}

.banner-highlight:hover .banner-bg-img {
    transform: scale(1.0);
}

/* Overlay multicapa para legibilidad sobre la foto real */
.banner-overlay {
    z-index: 1;
    background:
        linear-gradient(
            105deg,
            rgba(4,4,8,0.88) 0%,
            rgba(8,6,4,0.72) 50%,
            rgba(4,4,8,0.55) 100%
        ),
        radial-gradient(
            ellipse at 80% 50%,
            rgba(253, 164, 0,0.07) 0%,
            transparent 60%
        );
}

.banner-highlight > .max-w-7xl { position: relative; z-index: 2; }

.trust-badge {
    padding: 28px 24px;
    background: rgba(8,8,8,0.60);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(253, 164, 0,0.09);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
    transition: var(--trans);
}

.trust-badge:hover {
    border-color: rgba(253, 164, 0,0.28);
    background: rgba(253, 164, 0,0.05);
}

/* ===== ZONA DE SERVICIO ===== */
.service-row {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(253, 164, 0,0.05);
}

.map-wrap {
    border: 1px solid rgba(253, 164, 0,0.15);
    overflow: hidden;
    position: relative;
}

.map-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(253, 164, 0,0.10);
    pointer-events: none;
}

/* ===== CONTACTO ===== */
.contact-glow {
    background: radial-gradient(ellipse at center, rgba(253, 164, 0,0.03) 0%, transparent 65%);
}

.form-wrap {
    background: var(--dark3);
    border: 1px solid rgba(253, 164, 0,0.07);
    padding: 40px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.form-label {
    display: block;
    color: #555;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(253, 164, 0,0.14);
    color: #fff;
    padding: 13px 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: var(--trans);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus {
    border-color: rgba(253, 164, 0,0.45);
    background: rgba(253, 164, 0,0.02);
    box-shadow: 0 0 0 3px rgba(253, 164, 0,0.07);
}

.form-input::placeholder { color: rgba(255,255,255,0.18); }
.form-input option { background: var(--dark3); color: #fff; }

.wa-card {
    background: var(--dark3);
    border: 1px solid rgba(37,211,102,0.18);
    padding: 32px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.wa-icon {
    width: 64px; height: 64px;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.map-icon {
    width: 64px; height: 64px;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.visit-card {
    border-color: rgba(253, 164, 0, 0.20);
}

.info-mini-card {
    background: var(--dark3);
    border: 1px solid rgba(253, 164, 0,0.07);
    padding: 22px;
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
    transition: var(--trans);
}

.info-mini-card:hover {
    border-color: rgba(253, 164, 0,0.22);
    background: rgba(253, 164, 0,0.03);
}

/* ===== FOOTER ===== */
.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(253, 164, 0,0.12);
}

.footer-link {
    color: #555;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
    display: block;
}

.footer-link:hover { color: var(--gold); }

.social-icon {
    width: 38px; height: 38px;
    background: rgba(253, 164, 0,0.08);
    border: 1px solid rgba(253, 164, 0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 15px;
    transition: var(--trans);
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.social-icon:hover {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 0 18px rgba(253, 164, 0,0.3);
}

/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.wa-float {
    position: fixed;
    bottom: 28px; left: 28px;
    width: 62px; height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: waPulse 3s ease-in-out infinite;
    text-decoration: none;
}

.wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 32px rgba(37,211,102,0.55);
    animation: none;
}

.wa-label {
    position: absolute;
    left: 74px;
    background: #25D366;
    color: #fff;
    padding: 7px 14px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.wa-label::before {
    content: '';
    position: absolute;
    left: -6px; top: 50%;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #25D366;
}

.wa-float:hover .wa-label { opacity: 1; transform: translateX(0); }

@keyframes waPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 16px rgba(37,211,102,0);
    }
}

/* ===================================================
   CARRUSEL — Galería completa de proyectos
=================================================== */
.carousel-wrap {
    position: relative;
    user-select: none;
}

/* Contenedor con overflow oculto */
.carousel-track-wrap {
    overflow: hidden;
    /* Bordes angulares premium */
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    border: 1px solid rgba(253, 164, 0,0.18);
    background: var(--dark);
    position: relative;
}

/* Pista que se mueve */
.carousel-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Cada slide */
.carousel-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16/7;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s ease;
}

.carousel-slide.is-active img {
    transform: scale(1.03);
}

/* Caption sobre la imagen */
.carousel-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 28px 18px;
    background: linear-gradient(to top, rgba(4,4,8,0.82) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}

.carousel-caption span {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
    border-left: 2px solid var(--gold);
    padding-left: 12px;
}

/* Flechas de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    background: rgba(8,8,8,0.70);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(253, 164, 0,0.28);
    color: var(--gold);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--trans);
    z-index: 10;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.carousel-btn:hover {
    background: rgba(253, 164, 0,0.18);
    border-color: rgba(253, 164, 0,0.60);
    transform: translateY(-50%) scale(1.08);
}

.carousel-btn-prev { left: 18px; }
.carousel-btn-next { right: 18px; }

/* Contador "1 / 24" */
.carousel-counter {
    position: absolute;
    top: 16px; right: 18px;
    background: rgba(8,8,8,0.70);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(253, 164, 0,0.18);
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    z-index: 10;
}

.carousel-counter-sep {
    color: var(--gold);
    margin: 0 4px;
}

/* Barra de progreso auto-play */
.carousel-progress {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: rgba(255,255,255,0.08);
    z-index: 10;
}

.carousel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    width: 0%;
    transition: width linear;
}

/* Puntos indicadores (agrupados en bloques de 6 para no saturar) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 16px 0 4px;
    flex-wrap: wrap;
}

.carousel-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(253, 164, 0,0.22);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.carousel-dot.is-active {
    background: var(--gold);
    width: 22px;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(253, 164, 0,0.5);
}

.carousel-dot:hover:not(.is-active) {
    background: rgba(253, 164, 0,0.50);
    transform: scale(1.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1280px) {
    .photo-badge-1 { left: -10px; top: -10px; }
    .photo-badge-2 { right: -10px; }
}

@media (max-width: 1024px) {
    .hero-right { display: none !important; }
    .photo-badge-1, .photo-badge-2, .photo-badge-3 { display: none; }
}

@media (max-width: 768px) {
    .hero-title span:first-child,
    .hero-title span:nth-child(2) { font-size: 2.6rem; }
    .hero-title span:last-child  { font-size: 1.4rem; }
    .hero-stats { width: 100%; }
    .form-wrap { padding: 24px 18px; }
    .wa-float { bottom: 20px; left: 20px; width: 56px; height: 56px; }
    .process-connector { display: none; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .inspo-section { min-height: 420px; }
    /* Carrusel en móvil: ratio más vertical para ver mejor las fotos */
    .carousel-slide { aspect-ratio: 4/3; }
    .carousel-btn   { width: 40px; height: 40px; font-size: 14px; }
    .carousel-btn-prev { left: 10px; }
    .carousel-btn-next { right: 10px; }
    .carousel-caption span { font-size: 11px; }
}

@media (max-width: 480px) {
    .hero-title span:first-child,
    .hero-title span:nth-child(2) { font-size: 2rem; }
    .hero-title span:last-child  { font-size: 1.1rem; }
    .section-header h2 { font-size: 1.9rem; }
    .step-num { font-size: 42px; }
    .portfolio-img-wrap { aspect-ratio: 4/3; }
}

/* ====================================================================
   LOADER PREMIUM — Big Tech level site reveal
==================================================================== */
#site-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #080808;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.80s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.80s cubic-bezier(0.4, 0, 0.2, 1);
}

#site-loader.ldr-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}

/* ---- Ring SVG ---- */
.loader-ring-wrap {
    position: relative;
    width: 90px;
    height: 90px;
}

.loader-svg {
    width: 90px;
    height: 90px;
    animation: ldrSpin 2s linear infinite;
    overflow: visible;
}

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

.loader-track {
    stroke: rgba(253, 164, 0, 0.10);
    stroke-width: 2.5;
}

.loader-arc {
    stroke: #FDA400;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 264;
    stroke-dashoffset: 198;
    animation: ldrArc 1.8s ease-in-out infinite;
}

@keyframes ldrArc {
    0%   { stroke-dashoffset: 264; opacity: 0.5; }
    45%  { stroke-dashoffset: 50;  opacity: 1; }
    100% { stroke-dashoffset: 264; opacity: 0.5; transform: rotate(360deg); }
}

.loader-home-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 25px;
    animation: ldrIconPulse 2s ease-in-out infinite;
}

.loader-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px rgba(253, 164, 0,0.5));
}

@keyframes ldrIconPulse {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.10); }
}

/* ---- Brand wordmark ---- */
.loader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0;
    animation: ldrFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.loader-brand-main {
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.loader-brand-sub {
    color: var(--gold);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.85;
    font-family: 'Montserrat', sans-serif;
}

@keyframes ldrFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Progress bar ---- */
.loader-bar-outer {
    width: 170px;
    height: 2px;
    background: rgba(253, 164, 0, 0.12);
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: ldrFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.loader-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    border-radius: 2px;
    transition: width 0.12s ease;
    box-shadow: 0 0 8px rgba(253, 164, 0, 0.5);
}

/* ====================================================================
   HERO PREMIUM EFFECTS
==================================================================== */

/* ---- Scan line ---- */
.hero-scan-line {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(253, 164, 0, 0.06) 10%,
        rgba(253, 164, 0, 0.50) 50%,
        rgba(253, 164, 0, 0.06) 90%,
        transparent 100%
    );
    z-index: 6;
    pointer-events: none;
    animation: heroScan 10s linear infinite 1.5s;
}

@keyframes heroScan {
    0%   { top: -1%;   opacity: 0; }
    2%   { opacity: 0.85; }
    96%  { opacity: 0.20; }
    100% { top: 101%; opacity: 0; }
}

/* ---- Ambient light pulse ---- */
.hero-ambient-pulse {
    position: absolute;
    width: 65vw;
    height: 65vh;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 164, 0, 0.07) 0%, transparent 70%);
    top: 50%;
    left: 28%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 4;
    animation: ambientPulse 7s ease-in-out infinite;
}

@keyframes ambientPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.88); opacity: 0.55; }
    50%      { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

/* ---- Water lines — pure CSS, no JS needed ---- */
.water-line-1 { animation: wl1 8s ease-in-out infinite; }
.water-line-2 { animation: wl2 8s ease-in-out 4s infinite; }

@keyframes wl1 {
    0%, 100% { transform: rotate(-6deg) scaleX(0); opacity: 0; transform-origin: left; }
    25%, 75% { transform: rotate(-6deg) scaleX(1); opacity: 0.55; transform-origin: left; }
}

@keyframes wl2 {
    0%, 100% { transform: rotate(4deg) scaleX(0); opacity: 0; transform-origin: left; }
    25%, 75% { transform: rotate(4deg) scaleX(1); opacity: 0.35; transform-origin: left; }
}

/* ---- Rojo-dorado shimmer on gradient text ---- */
.text-shimmer {
    background: linear-gradient(
        90deg,
        #7A0000 0%,
        #C70102 22%,
        #FDA400 38%,
        rgba(255, 255, 255, 0.88) 50%,
        #FDA400 62%,
        #C70102 78%,
        #7A0000 100%
    ) !important;
    background-size: 300% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: textShimmer 5s ease-in-out infinite;
}

@keyframes textShimmer {
    0%   { background-position: 100% center; }
    50%  { background-position: 0%   center; }
    100% { background-position: 100% center; }
}

/* ---- CTA primary glow pulse (hero only) ---- */
.hero-ctas .btn-gold-primary {
    animation: ctaGlowPulse 3.5s ease-in-out infinite;
}

@keyframes ctaGlowPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(253, 164, 0, 0.22); }
    50%      { box-shadow: 0 10px 55px rgba(253, 164, 0, 0.50), 0 0 90px rgba(253, 164, 0, 0.10); }
}

/* ---- Hero image parallax wrapper ---- */
#heroWaterImg {
    will-change: transform;
}

/* ====================================================================
   SCROLL REVEAL — CSS class-based (no library)
==================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================================================
   PARTICLE ANIMATION KEYFRAMES — 4 path variants
==================================================================== */
@keyframes pf1 {
    0%, 100% { transform: translate(0, 0); }
    33%      { transform: translate(42px, -38px); }
    66%      { transform: translate(-24px, -55px); }
}

@keyframes pf2 {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-48px, 30px); }
}

@keyframes pf3 {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(28px, 20px); }
    75%      { transform: translate(-32px, -25px); }
}

@keyframes pf4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%      { transform: translate(38px, -30px) scale(1.4); }
    80%      { transform: translate(-20px, 15px) scale(0.7); }
}

/* ====================================================================
   CURSOR SPOTLIGHT — Efecto de luz que sigue el cursor
==================================================================== */
.hero-spotlight {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    background: radial-gradient(700px circle at 50% 50%, rgba(253, 164, 0,0.07), transparent 55%);
}

/* ====================================================================
   HERO SWEEP — Barrido de luz sobre la imagen de fondo
==================================================================== */
.hero-sweep {
    position: absolute;
    inset: 0;
    top: 0; left: -100%;
    width: 200%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent   0%,
        rgba(253, 164, 0,0.025) 25%,
        rgba(253, 164, 0,0.06)  50%,
        rgba(253, 164, 0,0.025) 75%,
        transparent  100%
    );
    animation: heroSweep 14s ease-in-out infinite 3s;
}

@keyframes heroSweep {
    0%   { transform: translateX(-30%); opacity: 0; }
    5%   { opacity: 1; }
    45%  { opacity: 1; }
    50%  { transform: translateX(80%);  opacity: 0; }
    100% { transform: translateX(80%);  opacity: 0; }
}

/* ====================================================================
   HERO RIGHT — Columna de foto con marco y badges
==================================================================== */

/* Hacer visible hero-right en desktop (ya existe la regla de ocultar en móvil) */
.hero-right {
    z-index: 10;
}

/* Punto live en el label de la foto */
.photo-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    animation: pulseDot 2.2s ease-in-out infinite;
}

/* Estado inicial de corner decos — se "dibujan" con JS */
.corner-deco {
    width: 0;
    height: 0;
    transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.corner-deco.drawn {
    width: 28px;
    height: 28px;
}

/* Badges flotantes — estado inicial oculto */
.hero-badge-card {
    opacity: 0;
    transform: scale(0.80) translateY(10px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-badge-card.badge-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Estado inicial hero-right para animación de entrada */
#heroRight {
    opacity: 0;
    transform: translateX(48px);
    filter: blur(6px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
                filter 1s ease;
}

#heroRight.hero-right-visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

/* ====================================================================
   MAGNETIC BUTTON — El botón se mueve hacia el cursor
==================================================================== */
.hero-ctas .btn-gold-primary,
.hero-ctas .btn-glass {
    will-change: transform;
}

/* ====================================================================
   HERO TITLE — Wipe reveal tipo Stripe / Linear
   Cada span tiene overflow hidden implícito por clip-path polygon
==================================================================== */
.hero-title span {
    display: block;
    will-change: clip-path, transform;
}

/* ====================================================================
   STAT COUNTER GLOW — Destello dorado al terminar el contador
==================================================================== */
@keyframes counterFlash {
    0%   { text-shadow: 0 0 20px rgba(253, 164, 0,0.4); }
    40%  { text-shadow: 0 0 55px rgba(253, 164, 0,0.9), 0 0 100px rgba(253, 164, 0,0.3); }
    100% { text-shadow: 0 0 20px rgba(253, 164, 0,0.4); }
}

.counter.flash {
    animation: counterFlash 0.8s ease-out forwards;
}

/* ====================================================================
   HERO PHOTO FRAME GLOW — brillo sutil del borde en hover
==================================================================== */
.hero-photo-frame {
    box-shadow: 0 0 0 rgba(253, 164, 0,0);
    transition: box-shadow 0.6s ease, border-color 0.6s ease;
}

.hero-photo-frame:hover {
    box-shadow: 0 0 50px rgba(253, 164, 0,0.18), 0 32px 80px rgba(0,0,0,0.6);
    border-color: rgba(253, 164, 0,0.55);
}

/* ====================================================================
   RESPONSIVE — Hero derecha ya oculto en tablet/móvil (existing rule)
   Ajustar columna izquierda en mobile para full-width
==================================================================== */
@media (max-width: 1024px) {
    #heroContent { grid-column: 1 / -1 !important; }
}

/* ====================================================================
   NOISE TEXTURE OVERLAY — Calidad editorial sobre el hero
==================================================================== */
#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    opacity: 0.028;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    mix-blend-mode: overlay;
}
