/*
Theme Name: Naguara Productions
Theme URI: https://naguaraproductions.com
Author: Naguara Productions
Description: Tema personalizado para Naguara Productions — Agencia de Marketing Audiovisual
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: naguara
*/

/* ============================================================
   VARIABLES & RESET
   ============================================================ */
:root {
    --bg:       #0a0a0a;
    --bg-alt:   #0f0f0f;
    --bg-card:  #141414;
    --text:     #ffffff;
    --accent:   #abb220;
    --accent-h: #c4cc28;
    --muted:    rgba(255,255,255,0.60);
    --border:   rgba(255,255,255,0.10);

    --font-display: 'Bebas Neue', sans-serif;
    --font-ui:      'Barlow', sans-serif;
    --font-logo:    'Dancing Script', cursive;

    --max-w:    1280px;
    --px:       5vw;
    --py:       100px;
    --radius:   3px;
    --tr:       0.3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 68px; overflow-x: hidden; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

section { padding: var(--py) 0; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: var(--font-ui);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.body-text {
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    line-height: 1.8;
    color: var(--muted);
    font-weight: 400;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--tr);
    border-radius: var(--radius);
    white-space: nowrap;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.55);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--text); background: rgba(255,255,255,0.07); }

.btn-accent {
    background: var(--accent);
    color: #000;
    font-weight: 800;
}
.btn-accent:hover {
    background: var(--accent-h);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(171,178,32,0.3);
}

.btn-center { display: flex; justify-content: center; margin-top: 48px; }

/* ============================================================
   MEDIA PLACEHOLDERS
   ============================================================ */
.mp {
    background: linear-gradient(145deg, #161616, #1e1e1e);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius);
}
.mp::after {
    content: attr(data-label);
    position: absolute;
    color: rgba(255,255,255,0.12);
    font-size: 0.7rem;
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}
.mp--16-9  { aspect-ratio: 16/9; }
.mp--9-16  { aspect-ratio: 9/16; }
.mp--1-1   { aspect-ratio: 1/1; }
.mp--4-3   { aspect-ratio: 4/3; }
.mp--3-2   { aspect-ratio: 3/2; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background var(--tr), border-color var(--tr);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(8,8,8,0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--px);
    max-width: var(--max-w);
    margin: 0 auto;
}

.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.nav-logo .script   { font-family: var(--font-logo); font-size: 1.85rem; font-weight: 700; color: var(--text); line-height: 1; }
.nav-logo .prod-tag { font-family: var(--font-ui); font-size: 0.48rem; font-weight: 600; letter-spacing: 0.45em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    transition: color var(--tr);
}
.nav-links a:hover { color: var(--text); }
.nav-links .n-cta {
    background: var(--accent);
    color: #000;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-weight: 800;
}
.nav-links .n-cta:hover { background: var(--accent-h); color: #000; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all var(--tr);
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px var(--px) 28px;
    background: rgba(8,8,8,0.98);
    border-top: 1px solid var(--border);
    gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--tr);
}
.nav-mobile a:last-child { border-bottom: none; color: var(--accent); margin-top: 8px; font-weight: 800; }
.nav-mobile a:hover { color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* Columna izquierda — media */
.hero-media {
    position: relative;
    overflow: hidden;
    background: #080808;
}
/* Fade suave hacia el panel de contenido — oculta el corte vertical */
.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
        transparent 60%,
        rgba(10,10,10,0.55) 80%,
        var(--bg) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #050a00 0%, #0d150a 35%, #050a03 70%, #0a0a0a 100%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.05) 0%,
        rgba(0,0,0,0.35) 100%
    );
    z-index: 1;
}

.hero-bg video,
.hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Columna derecha — contenido */
.hero-body {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 130px clamp(32px, 5vw, 72px) 80px clamp(32px, 4vw, 56px);
    background: var(--bg);
}

.hero-text { max-width: 560px; }

.hero-quote {
    font-family: Georgia, serif;
    font-size: 4.5rem;
    line-height: 0.5;
    color: var(--text);
    opacity: 0.85;
    display: block;
    margin-bottom: 18px;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.hero-brand {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 28px;
    display: block;
}

.hero-box {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 18px 22px;
    border-radius: var(--radius);
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
    margin-bottom: 36px;
}
.hero-box p { font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.78); }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   NOSOTROS
   ============================================================ */
#nosotros { background: var(--bg-alt); }

.nosotros-intro {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--muted);
    max-width: 700px;
    margin-bottom: 64px;
}

.nosotros-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.team-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 40px;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.team-photo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
    background: linear-gradient(135deg, #1a1a1a, #252525);
    flex-shrink: 0;
}
.team-photo .mp {
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    border: none;
    border-radius: 0;
}

.team-card h3 {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.team-card .role {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
}
.team-card .handle {
    font-size: 0.78rem;
    color: var(--muted);
}

.nosotros-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    padding-top: 40px;
}

.nosotros-tagline {
    font-family: var(--font-ui);
    font-size: clamp(1.25rem, 2.2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
}

/* ============================================================
   DOCUMENTAL BREVE
   ============================================================ */
#documental { background: var(--bg); }

.doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.doc-left .section-title { margin-bottom: 22px; }

.doc-video {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    background: #111;
}

.doc-right {
    padding-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.doc-right p { font-size: 0.94rem; line-height: 1.8; color: var(--muted); }

/* ============================================================
   REELS
   ============================================================ */
#reels { background: var(--bg-alt); }

.reels-header { margin-bottom: 44px; }

.reels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 8px;
}

.reel-item {}
.reel-video {
    width: 100%;
    display: block;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #111;
}

.reel-cat {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
.reel-media { margin-bottom: 14px; overflow: hidden; }
.reel-desc  { font-size: 0.8rem; line-height: 1.65; color: var(--muted); }

/* ============================================================
   CONTENIDO PARA EMPRESAS
   ============================================================ */
#empresas { background: var(--bg); }

.emp-title { margin-bottom: 44px; }

.emp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.emp-video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #111;
}

.emp-item .emp-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
.emp-item .emp-media { margin-bottom: 14px; overflow: hidden; }
.emp-item .emp-desc  { font-size: 0.85rem; line-height: 1.7; color: var(--muted); }

/* ============================================================
   CREATIVIDAD CON PROPÓSITO
   ============================================================ */
#creatividad { background: var(--bg-alt); }

.crea-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.crea-video {
    width: 100%;
    display: block;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: #111;
}
.crea-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.crea-right p { font-size: 0.94rem; line-height: 1.8; color: var(--muted); }

/* ============================================================
   FOTOS
   ============================================================ */
#fotos { background: var(--bg); }

.fotos-header { margin-bottom: 44px; }

.fotos-categorias {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 40px;
    margin-bottom: 48px;
}

.foto-cat-label {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
    margin-bottom: 10px;
}

/* Trío de fotos: gap mínimo para maximizar tamaño */
.foto-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.foto-trio__item { overflow: hidden; }

.foto-trio__img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
}
.foto-trio__item:hover .foto-trio__img {
    transform: scale(1.05);
    will-change: transform;
}

.foto-trio__ph {
    aspect-ratio: 2 / 3;
    border: none;
    border-radius: 0;
}

.fotos-note {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    text-align: center;
    max-width: 560px;
    margin: 28px auto 0;
    line-height: 1.7;
    font-style: italic;
}

/* ============================================================
   RESEÑAS DE ALIADOS
   ============================================================ */
#resenas { background: var(--bg-alt); }

.resenas-header { margin-bottom: 56px; }

.resenas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
}

.resena-q {
    font-family: Georgia, serif;
    font-size: 3.5rem;
    line-height: 0.6;
    color: var(--accent);
    display: block;
    margin-bottom: 18px;
}

.resena-text {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.72);
    font-style: italic;
    margin-bottom: 28px;
}

.resena-name {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.resena-role {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ============================================================
   ALIADOS (LOGOS)
   ============================================================ */
#aliados { background: var(--bg); }

.aliados-header { margin-bottom: 56px; }

.logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    align-items: center;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 16px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--tr);
}
.logo-item:hover { border-color: rgba(255,255,255,0.28); }

.logo-img {
    display: block;
    width: 100%;
    max-width: 160px;
    height: 72px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity var(--tr), filter var(--tr);
}
.logo-item:hover .logo-img {
    opacity: 1;
    filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(52deg);
}

.logo-name {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    text-align: center;
}
.logo-name span {
    display: block;
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.15em;
    margin-top: 3px;
}

/* ============================================================
   ¿POR QUÉ TRABAJAR CON NOSOTROS?
   ============================================================ */
#porque { background: var(--bg-alt); }

.porque-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.porque-left h2 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.porque-left p { font-size: 0.93rem; line-height: 1.85; color: var(--muted); }
.porque-left p + p { margin-top: 16px; }

.porque-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    border: 1px solid var(--border);
    padding: 56px 40px;
    border-radius: var(--radius);
    background: var(--bg-card);
}
.porque-right .big-logo   { font-family: var(--font-logo); font-size: 4rem; font-weight: 700; line-height: 1; }
.porque-right .big-tagline { font-size: 0.52rem; font-weight: 600; letter-spacing: 0.45em; text-transform: uppercase; color: var(--muted); }
.porque-right .contact-email { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.porque-right .contact-email a:hover { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #050505;
    padding: 72px 0 36px;
    border-top: 1px solid var(--border);
}

.footer-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.footer-logo { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer-logo .script   { font-family: var(--font-logo); font-size: 3.2rem; font-weight: 700; line-height: 1; }
.footer-logo .prod-tag { font-size: 0.48rem; font-weight: 600; letter-spacing: 0.45em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }

.footer-social {
    display: flex;
    gap: 14px;
}
.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all var(--tr);
}
.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}
.footer-social svg { width: 17px; height: 17px; }

.footer-email { font-size: 0.88rem; color: var(--muted); letter-spacing: 0.04em; }
.footer-email a:hover { color: var(--accent); }

.footer-hr { width: 100%; border: none; border-top: 1px solid var(--border); margin: 8px 0 0; }

.footer-bottom {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.footer-bottom a,
.footer-bottom span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.28);
    letter-spacing: 0.04em;
    transition: color var(--tr);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   RESPONSIVE — TABLET 1024px
   ============================================================ */
@media (max-width: 1024px) {
    :root { --py: 72px; }
    .logos-grid    { grid-template-columns: repeat(3, 1fr); }
    .reels-grid        { grid-template-columns: repeat(2, 1fr); }
    .fotos-categorias  { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE 767px
   ============================================================ */
@media (max-width: 767px) {
    :root { --py: 56px; --px: 6vw; }

    /* Nav */
    .nav-links  { display: none; }
    .nav-toggle { display: flex; }

    /* Hero — fullscreen video con contenido encima */
    #hero {
        display: block;
        position: relative;
        width: 100%;
        max-width: 100vw;
        min-height: 100svh;
        overflow: hidden;
    }
    .hero-media {
        position: absolute;
        inset: 0;
        z-index: 0;
    }
    /* Reemplaza el fade lateral por uno vertical (oscurece hacia abajo) */
    .hero-media::after {
        background: linear-gradient(to bottom,
            rgba(0,0,0,0.25) 0%,
            rgba(0,0,0,0.15) 25%,
            rgba(0,0,0,0.60) 60%,
            rgba(10,10,10,0.97) 100%
        );
    }
    .hero-body {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1;
        background: transparent;
        padding: 0 6vw 64px;
        display: flex;
        align-items: flex-end;
    }
    .hero-text { max-width: 100%; }
    .hero-heading { font-size: clamp(2.2rem, 8vw, 3rem); }
    .hero-box { background: rgba(0,0,0,0.35); backdrop-filter: blur(8px); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* Two-col → single */
    .nosotros-cols,
    .doc-grid,
    .crea-grid,
    .porque-grid { grid-template-columns: 1fr; gap: 40px; }

    .nosotros-right { padding-top: 0; align-items: center; }
    .doc-right      { padding-top: 0; }
    .crea-right     { padding-top: 0; }

    .emp-grid   { grid-template-columns: 1fr; }
    .reels-grid { grid-template-columns: 1fr 1fr; }
    .fotos-grid { grid-template-columns: 1fr 1fr; }

    .resenas-grid     { grid-template-columns: 1fr; gap: 44px; }
    .logos-grid       { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .fotos-categorias { grid-template-columns: 1fr; }

    .btn-center { margin-top: 32px; }

    .nosotros-intro { margin-bottom: 44px; }
    .porque-right   { padding: 40px 28px; }
}

@media (max-width: 479px) {
    .reels-grid { grid-template-columns: 1fr; }
    .fotos-grid { grid-template-columns: 1fr; }
    .logos-grid { grid-template-columns: repeat(2, 1fr); }
    .team-cards { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ============================================================
   LOGO IMAGE — todos los contextos
   ============================================================ */

/* Navegación */
.nav-logo__img {
    display: block;
    height: 42px;
    width: auto;
    object-fit: contain;
}

/* Footer */
.footer-logo__img {
    display: block;
    height: 82px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

/* Loader */
.ng-loader__logo-img {
    display: block;
    width: clamp(160px, 32vw, 240px);
    height: auto;
    object-fit: contain;
}

/* Sección "¿Por qué trabajar?" */
.porque-logo__img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* Quita los estilos de texto que ya no aplican */
.nav-logo .script,
.nav-logo .prod-tag,
.footer-logo .script,
.footer-logo .prod-tag { display: none; }

@media (max-width: 767px) {
    .nav-logo__img    { height: 34px; }
    .footer-logo__img { height: 60px; max-width: 200px; }
    .porque-logo__img { max-width: 180px; }
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.ng-loader {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ng-loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

/* Estilos de texto del loader eliminados — ahora usa .ng-loader__logo-img */

.ng-loader__bar {
    width: min(240px, 60vw);
    height: 1px;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
    border-radius: 1px;
    margin-top: 8px;
}

.ng-loader__bar-fill {
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
}

/* ============================================================
   GRAIN OVERLAY — 100% CSS, sin JS
   ============================================================ */
@keyframes grain {
    0%,100% { transform: translate(0,0);      }
    10%     { transform: translate(-5%,-10%); }
    20%     { transform: translate(-15%,5%);  }
    30%     { transform: translate(7%,-25%);  }
    40%     { transform: translate(-5%,25%);  }
    50%     { transform: translate(-15%,10%); }
    60%     { transform: translate(15%,0%);   }
    70%     { transform: translate(0%,15%);   }
    80%     { transform: translate(3%,35%);   }
    90%     { transform: translate(-10%,10%); }
}

.ng-grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    z-index: 9980;
    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)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    animation: grain 0.35s steps(1) infinite;
    /* GPU layer — no repaints */
    transform: translateZ(0);
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.has-cursor,
.has-cursor * { cursor: none !important; }

.ng-cursor__dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
    will-change: transform;
}

.ng-cursor__dot.is-hover {
    width: 10px;
    height: 10px;
    background: var(--accent-h);
}

.ng-cursor__ring {
    position: fixed;
    top: 0; left: 0;
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
                height 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
                border-color 0.35s ease;
    will-change: transform;
}

.ng-cursor__ring.is-hover {
    width: 64px;
    height: 64px;
    border-color: var(--accent);
}

.ng-cursor__ring.is-media {
    width: 72px;
    height: 72px;
    border-color: var(--accent);
    border-width: 2px;
}

/* ============================================================
   SCROLL INDICATOR
   ============================================================ */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: var(--px);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0; /* animated in */
}

.scroll-indicator__track {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.18);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.scroll-indicator__dot {
    width: 1px;
    height: 16px;
    background: var(--accent);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 2px;
}

.scroll-indicator__label {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--muted);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* ============================================================
   TITLE CLIP WRAPPER (for slide-up reveal)
   ============================================================ */
.title-clip {
    overflow: hidden;
    padding-top: 1.20em; /* espacio para diacríticos (Ñ, Á, É…) */
}

/* ============================================================
   SPLITTING.JS — word/char base styles
   ============================================================ */
.word { display: inline-block; }
.char { display: inline-block; }

/* Hero headline — clip each word */
.hero-heading .word {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}

/* Nosotros tagline — stagger words */
.nosotros-tagline .word {
    display: inline-block;
}

/* ============================================================
   HOVER MICRO-INTERACTIONS (pure CSS)
   ============================================================ */

/* Media placeholders — zoom on hover */
.reel-item .reel-media,
.emp-item .emp-media,
.foto-item { overflow: hidden; }

.reel-item .mp,
.emp-item .mp,
.foto-item .mp {
    transition: transform 0.55s cubic-bezier(0.25,0.46,0.45,0.94);
    /* will-change sólo durante hover, no permanente */
}
.reel-item:hover .mp,
.emp-item:hover .mp,
.foto-item:hover .mp {
    transform: scale(1.06);
    will-change: transform;
}

/* Reel items — accent top border on hover */
.reel-item {
    border-top: 2px solid transparent;
    transition: border-color var(--tr);
    padding-top: 12px;
}
.reel-item:hover { border-top-color: var(--accent); }

/* Logo items — glow on hover */
.logo-item {
    transition: border-color var(--tr), box-shadow var(--tr);
}
.logo-item:hover {
    border-color: rgba(171,178,32,0.45);
    box-shadow: 0 0 20px rgba(171,178,32,0.08);
}
.logo-item:hover .logo-name { color: rgba(255,255,255,0.8); }

/* Team photo ring on hover */
.team-photo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    display: block;
}

.team-card:hover .team-photo {
    border-color: var(--accent);
    transition: border-color 0.3s ease;
}

/* Resena — left border reveal on hover */
.resena-item {
    padding-left: 20px;
    border-left: 2px solid transparent;
    transition: border-color var(--tr);
}
.resena-item:hover { border-left-color: var(--accent); }

/* CTA buttons — glow pulse on hover */
.btn-accent {
    position: relative;
    overflow: hidden;
}
.btn-accent::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    transform: translateX(-105%) skewX(-12deg);
    transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.btn-accent:hover::after { transform: translateX(105%) skewX(-12deg); }

/* Outline button — fill from left */
.btn-outline {
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.07);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
    z-index: -1;
}
.btn-outline:hover::before { transform: scaleX(1); }

/* Footer social icons bounce */
.footer-social a { transition: transform var(--tr), border-color var(--tr), color var(--tr); }

/* ============================================================
   ANIMATED ACCENT LINE
   ============================================================ */
.accent-line {
    display: block;
    height: 2px;
    background: var(--accent);
    transform-origin: left center;
    /* animated by GSAP */
}

/* ============================================================
   LOADED STATE — prevent FOUC on animated elements
   ============================================================ */
/* Before JS runs, show everything normally */
html:not(.js) [data-reveal],
html:not(.js) .section-title,
html:not(.js) .hero-quote,
html:not(.js) .hero-heading,
html:not(.js) .hero-brand,
html:not(.js) .hero-box,
html:not(.js) .hero-actions .btn,
html:not(.js) .scroll-indicator { opacity: 1 !important; transform: none !important; }

/* ============================================================
   SMOOTH TRANSITION after loader
   ============================================================ */
body { transition: opacity 0.1s ease; }
body.loaded { opacity: 1; }

/* ============================================================
   NOSOTROS — tagline highlight on words
   ============================================================ */
.nosotros-tagline .word {
    transition: color 0.3s ease;
}
#nosotros:hover .nosotros-tagline .word {
    color: rgba(255,255,255,0.6);
}
#nosotros:hover .nosotros-tagline:hover .word {
    color: var(--text);
}

/* ============================================================
   PORQUE RIGHT — pulsing border
   ============================================================ */
@keyframes borderPulse {
    0%, 100% { border-color: var(--border); box-shadow: none; }
    50%       { border-color: rgba(171,178,32,0.35); box-shadow: 0 0 40px rgba(171,178,32,0.06); }
}
.porque-right { animation: borderPulse 4s ease-in-out infinite; }

/* ============================================================
   HERO — animated gradient background pulse
   ============================================================ */
@keyframes heroBgPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.85; }
}
.hero-bg > div { animation: heroBgPulse 8s ease-in-out infinite; }

/* ============================================================
   FOTOS NOTE — glow on scroll
   ============================================================ */
.fotos-note em { color: var(--accent); font-style: normal; }

/* ============================================================
   SCROLL-TRIGGERED accent underline for subtitles
   ============================================================ */
.section-subtitle {
    position: relative;
    padding-bottom: 14px;
}
.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.7s cubic-bezier(0.25,0.46,0.45,0.94) 0.3s;
}
[data-reveal="right"].section-subtitle.animated::after,
.doc-right .section-subtitle::after,
.crea-right .section-subtitle::after { width: 60px; }

/* Force trigger once revealed */
.doc-right .section-subtitle::after  { width: 60px; transition-delay: 0.5s; }
.crea-right .section-subtitle::after { width: 60px; transition-delay: 0.5s; }

/* ============================================================
   PÁGINAS WEB
   ============================================================ */
#paginas-web {
    background: var(--bg);
    padding: 100px 0;
    overflow: hidden;
}

.web-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.web-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: sticky;
    top: 120px;
}

.web-left .body-text {
    color: var(--muted);
    max-width: 400px;
    line-height: 1.7;
}

.web-cta-btn { align-self: flex-start; }

/* Feature list */
.web-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.web-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s, border-color 0.3s;
    cursor: default;
}

.web-feature:hover {
    background: rgba(171,178,32,0.05);
    border-color: rgba(171,178,32,0.2);
}

.web-feature:hover .web-feature__icon { color: var(--accent); }

.web-feature__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s;
    margin-top: 2px;
}

.web-feature__icon svg {
    width: 100%;
    height: 100%;
}

.web-feature__text { display: flex; flex-direction: column; gap: 6px; }

.web-feature__text h4 {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.web-feature__text p {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

/* ── Ejemplos de sitios ── */
.web-ejemplos {
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 64px;
}

.web-ejemplos__eyebrow {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin: 0 0 40px;
}

.web-ejemplos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.web-ejemplo-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
                border-color 0.35s,
                box-shadow 0.35s;
}

.web-ejemplo-card:hover {
    transform: translateY(-6px);
    border-color: rgba(171,178,32,0.35);
    box-shadow: 0 20px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(171,178,32,0.1);
}

/* Browser chrome */
.web-ejemplo-card__browser { display: flex; flex-direction: column; }

.web-ejemplo-card__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.web-chrome__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.web-chrome__dot:nth-child(1) { background: #ff5f57; }
.web-chrome__dot:nth-child(2) { background: #febc2e; }
.web-chrome__dot:nth-child(3) { background: #28c840; }

.web-chrome__bar {
    flex: 1;
    height: 18px;
    background: rgba(255,255,255,0.07);
    border-radius: 4px;
    margin-left: 8px;
}

/* Screen / image */
.web-ejemplo-card__screen {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.web-ejemplo-card__screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}

.web-ejemplo-card:hover .web-ejemplo-card__screen img { transform: scale(1.04); }

/* Placeholder (mientras no hay imagen) */
.web-ejemplo-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.2);
    font-family: var(--font-ui);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.web-ejemplo-card__placeholder svg {
    width: 36px;
    height: 36px;
    opacity: 0.3;
}

/* Card info */
.web-ejemplo-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 22px;
    flex: 1;
}

.web-ejemplo-card__tag {
    font-family: var(--font-ui);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.web-ejemplo-card__title {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.web-ejemplo-card__desc {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.web-ejemplo-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    margin-top: 4px;
    transition: color 0.2s, gap 0.2s;
}

.web-ejemplo-card__link:hover {
    color: var(--accent);
    gap: 10px;
}

@media (max-width: 1024px) {
    .web-grid { grid-template-columns: 1fr; gap: 56px; }
    .web-left { position: static; }
    .web-left .body-text { max-width: 100%; }
    .web-ejemplos-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    #paginas-web { padding: 70px 0; }
    .web-features { grid-template-columns: 1fr; }
    .web-feature { padding: 20px 16px; }
    .web-ejemplos { margin-top: 56px; padding-top: 48px; }
    .web-ejemplos-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COTIZADOR DE PAQUETES
   ============================================================ */
#cotizador {
    background: var(--bg-alt);
    padding: 100px 0 80px;
}

.cotizador-intro {
    max-width: 600px;
    margin: 0 0 56px;
    color: var(--muted);
}

.cotizador-form {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cotizador-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.cotizador-row--full { grid-template-columns: 1fr; }

.cotizador-field {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.3s;
}

.cotizador-field:hover { border-color: rgba(171,178,32,0.25); }

.cotizador-label {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cotizador-hint {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

/* ── Checkboxes ── */
.cotizador-checkboxes { display: flex; flex-direction: column; gap: 9px; }

.cotizador-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
    user-select: none;
}

.cotizador-check:hover { color: #fff; }

.cotizador-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}

.cotizador-check input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.cotizador-check input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: 2px solid #0a0a0a;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* ── Toggles ── */
.cotizador-toggles { display: flex; flex-direction: column; gap: 16px; }

.cotizador-toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cotizador-toggle-label {
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    flex: 1;
}

.cotizador-toggle-switch { position: relative; flex-shrink: 0; cursor: pointer; }
.cotizador-toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }

.cotizador-toggle-track {
    display: block;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    position: relative;
    transition: background 0.25s;
}

.cotizador-toggle-track::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), background 0.25s;
}

.cotizador-toggle-switch input:checked + .cotizador-toggle-track { background: var(--accent); }
.cotizador-toggle-switch input:checked + .cotizador-toggle-track::after { transform: translateX(20px); background: #0a0a0a; }

/* ── Selects ── */
.cotizador-select-wrap { position: relative; }

.cotizador-select-wrap select {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    color: rgba(255,255,255,0.65);
    font-family: var(--font-ui);
    font-size: 0.88rem;
    padding: 11px 36px 11px 14px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    outline: none;
}

.cotizador-select-wrap select:focus { border-color: var(--accent); color: #fff; }
.cotizador-select-wrap select option { background: #1a1a1a; color: #fff; }

.cotizador-select-arrow {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    pointer-events: none;
    font-size: 1rem;
    line-height: 1;
}

/* ── Range ── */
.cotizador-range {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, var(--accent) var(--rng, 0%), rgba(255,255,255,0.15) var(--rng, 0%));
    outline: none;
    cursor: pointer;
}

.cotizador-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(171,178,32,0.5);
    transition: transform 0.15s;
}

.cotizador-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.cotizador-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: none; cursor: pointer; }

.cotizador-range-val {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.9rem;
    margin-left: auto;
}

.cotizador-range-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 2px;
}

/* ── Radios ── */
.cotizador-radios { display: flex; gap: 24px; }

.cotizador-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
    user-select: none;
}

.cotizador-radio:hover { color: #fff; }

.cotizador-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
    position: relative;
}

.cotizador-radio input[type="radio"]:checked { border-color: var(--accent); }
.cotizador-radio input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

/* ── Resumen ── */
.cotizador-summary {
    margin-top: 44px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.cotizador-summary__header {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 14px 24px;
    background: rgba(171,178,32,0.1);
    border-bottom: 1px solid rgba(171,178,32,0.2);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.cotizador-summary__body { display: flex; flex-direction: column; }

.cotizador-summary-item {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 11px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-family: var(--font-ui);
    font-size: 0.83rem;
    color: rgba(255,255,255,0.55);
    align-items: center;
    transition: background 0.2s;
}

.cotizador-summary-item:last-child { border-bottom: none; }
.cotizador-summary-item:hover { background: rgba(255,255,255,0.02); }

.cotizador-summary-item__val {
    color: #fff;
    font-weight: 600;
    text-align: right;
    padding-left: 20px;
    white-space: nowrap;
}

.cotizador-summary-item--empty .cotizador-summary-item__val { color: rgba(255,255,255,0.2); }

/* ── CTA ── */
.cotizador-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 52px;
    text-align: center;
}

.cotizador-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    padding: 16px 44px;
}

.cotizador-cta__note { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* ── Responsive cotizador ── */
@media (max-width: 1024px) {
    .cotizador-field { padding: 22px 24px; }
}

@media (max-width: 767px) {
    #cotizador { padding: 70px 0 60px; }
    .cotizador-row { grid-template-columns: 1fr; }
    .cotizador-field { padding: 20px; }
    .cotizador-summary-item { font-size: 0.78rem; padding: 10px 16px; }
    .cotizador-summary__header { padding: 12px 16px; }
}

/* ============================================================
   MOBILE ADJUSTMENTS FOR ANIMATION ELEMENTS
   ============================================================ */
@media (max-width: 767px) {
    .scroll-indicator { display: none; }
    .ng-cursor__dot,
    .ng-cursor__ring { display: none; }
    .ng-loader__logo-img { width: clamp(130px, 55vw, 200px); }
    .resena-item { padding-left: 0; border-left: none; border-top: 2px solid transparent; padding-top: 20px; }
    .resena-item:hover { border-top-color: var(--accent); border-left-color: transparent; }
}
