@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================
   DISEÑO DE IDENTIDAD VISUAL - DSS
   Estilo: Glassmorphic Premium Clean Tech
   ========================================== */

:root {
    /* Paleta de Colores Principal */
    --bg-dark: #070a13;
    --bg-darker: #04060c;
    --bg-card: rgba(17, 24, 39, 0.65);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-card-hover: rgba(14, 165, 233, 0.4);
    
    /* Colores de Acento y Conversión */
    --accent-cyan: #0ea5e9;
    --accent-cyan-gradient: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    --accent-cyan-glow: rgba(14, 165, 233, 0.3);
    
    --accent-amber: #f59e0b;
    --accent-amber-hover: #d97706;
    --accent-amber-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    --accent-amber-glow: rgba(245, 158, 11, 0.4);
    
    --accent-green: #10b981;
    --accent-green-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --accent-green-glow: rgba(16, 185, 129, 0.2);
    
    /* Tipografía y Textos */
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transiciones y Bordes */
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ==========================================
   RESET & ESTILOS BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

/* Fondo dinámico de partículas/aurora sutil */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

button {
    font-family: var(--font-heading);
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

/* ==========================================
   COMPONENTES Y BOTONES
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--accent-amber-gradient);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 14px 0 var(--accent-amber-glow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px 0 var(--accent-amber-glow);
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-card-hover);
    box-shadow: 0 12px 40px 0 rgba(14, 165, 233, 0.1);
}

/* ==========================================
   HEADER / NAVEGACIÓN
   ========================================== */
header {
    width: 100%;
    padding: 24px 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Nuevo Contenedor en Cápsula para el Logo (Alineación con la Identidad) */
.logo-link {
    display: inline-block;
    transition: var(--transition-smooth);
}

/* Nuevo Contenedor Híbrido Premium para el Logo (Isotipo + Texto HTML) */
.logo-hybrid {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.logo-icon-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

.logo-text-top {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.04em;
    transition: var(--transition-smooth);
}

.logo-text-top .highlight {
    font-weight: 800;
    background: var(--accent-cyan-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text-bottom {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.28em;
    transition: var(--transition-smooth);
}

/* Interactividad Hover Premium */
.logo-link:hover .logo-hybrid {
    transform: translateY(-1px);
}

.logo-link:hover .logo-icon-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px var(--accent-cyan-glow));
}

.logo-link:hover .logo-text-top {
    color: #ffffff;
}

.logo-link:hover .logo-text-bottom {
    color: var(--accent-cyan);
}

/* Logo oficial completo */
.logo-official-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition-smooth);
}

.logo-link:hover .logo-official-img {
    transform: scale(1.03);
    filter: drop-shadow(0 0 10px var(--accent-cyan-glow));
}

/* Estilización específica del logo en footer (Escalado menor) */
.logo-footer-img {
    height: 36px;
}


.nav-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #10b981;
}

.nav-whatsapp:hover {
    background: rgba(16, 185, 129, 0.2);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

/* ==========================================
   SECTION 1: HERO SECTION — Apple Style
   ========================================== */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 64px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 100px;
    color: var(--accent-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.08;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.025em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-title span {
    background: var(--accent-cyan-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}

/* Video estilo Apple — grande, limpio, centrado */
.hero-video-apple {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-video-apple:hover {
    transform: translateY(-4px);
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-video-apple__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.hero-video-apple__controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 3;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-video-apple:hover .hero-video-apple__controls {
    opacity: 1;
    transform: translateY(0);
}

.hero-video-apple__btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    transition: var(--transition-smooth);
    -webkit-tap-highlight-color: transparent;
}

.hero-video-apple__btn:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.hero-video-apple__btn svg {
    display: none;
}

/* Default: playing + muted */
#hero-play-pause .icon-pause {
    display: block;
}

#hero-sound-toggle .icon-sound-off {
    display: block;
}

/* Paused state */
#hero-play-pause.is-paused .icon-pause {
    display: none;
}

#hero-play-pause.is-paused .icon-play {
    display: block;
}

/* Sound ON state */
#hero-sound-toggle.is-sound-on .icon-sound-off {
    display: none;
}

#hero-sound-toggle.is-sound-on .icon-sound-on {
    display: block;
}

@media (max-width: 768px) {
    header {
        padding: 16px 0;
    }

    .logo-official-img {
        height: 44px;
    }

    .nav-whatsapp {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        overflow: hidden;
    }

    .hero-grid {
        width: 100%;
        max-width: 100vw;
        padding: 0 16px;
    }

    .hero-visual {
        max-width: 100%;
        padding: 0;
    }

    .hero-video-apple {
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
    }

    .hero-video-apple__media {
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        margin-bottom: 40px;
    }

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

    .hero-video-apple {
        border-radius: 18px;
    }

    .hero-video-apple__controls {
        opacity: 1;
        transform: translateY(0);
        bottom: 12px;
        right: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }
}

/* ==========================================
   SECTION 2: NUESTRAS SOLUCIONES DSS
   ========================================== */
.solutions-section {
    padding: 100px 0;
    position: relative;
}

.zero-highlight {
    background: linear-gradient(135deg, #10b981 0%, #0ea5e9 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.solutions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin-bottom: 48px;
}

/* Tarjeta de solución individual */
.solution-card {
    flex: 1 1 300px;
    max-width: 360px;
    min-width: 280px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    transition: var(--transition-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    border-color: var(--border-card-hover);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.1), 0 8px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-6px);
}

/* Imagen de la tarjeta */
.solution-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

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

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

/* Contenido de la tarjeta */
.solution-card__content {
    padding: 24px 28px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Título */
.solution-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.25;
}

/* Descripción */
.solution-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Resultado / beneficio */
.solution-card__result {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--accent-green);
}

.solution-card__result svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.solution-card__result span {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.solution-card__result strong {
    color: var(--accent-green);
}

/* Micro CTA */
.solution-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.solution-card__cta:hover {
    color: #38bdf8;
    gap: 8px;
}

.solution-card__cta svg {
    transition: transform 0.3s ease;
}

.solution-card__cta:hover svg {
    transform: translateX(3px);
}

/* Acciones de la tarjeta */
.solution-card__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.solution-card__info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(14, 165, 233, 0.05) 100%);
    border: 1.5px solid rgba(14, 165, 233, 0.35);
    border-radius: var(--radius-lg);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
    position: relative;
    overflow: hidden;
}

.solution-card__info-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.solution-card__info-btn:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-color: rgba(14, 165, 233, 0.7);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2), 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.solution-card__info-btn:hover::before {
    left: 100%;
}

.solution-card__info-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(14, 165, 233, 0.5));
}

.solution-card__info-btn:hover svg {
    transform: scale(1.2);
}

.battery-bar__cta svg {
    transition: transform 0.3s ease;
}

.battery-bar__cta:hover svg {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 992px) {
    .solutions-grid {
        flex-direction: column;
        align-items: center;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }

    .solution-card {
        flex: 1 1 100%;
        max-width: 420px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .solutions-section {
        padding: 60px 0;
    }

    .solution-card__content {
        padding: 20px 22px 28px;
    }

    .solution-card__image {
        aspect-ratio: 16 / 9;
    }

    .solution-card__actions {
        gap: 10px;
    }
}

/* ==========================================
   MODAL DE VIDEO INFORMATIVO
   ========================================== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 6, 12, 0.92);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.video-modal__content {
    position: relative;
    width: 90%;
    max-width: 720px;
    background: var(--bg-dark);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.96);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-modal.is-active .video-modal__content {
    transform: scale(1);
}

.video-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 10, 19, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.video-modal__close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.video-modal__player {
    width: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-modal__player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    aspect-ratio: 9 / 16;
}

.video-modal__player img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

@media (max-width: 576px) {
    .video-modal__content {
        width: 95%;
        border-radius: var(--radius-lg);
    }

    .video-modal__player {
        aspect-ratio: 9 / 16;
    }
}

/* ==========================================
   SECTION 3: QUIENES SOMOS
   ========================================== */
.about-section {
    padding: 100px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.about-visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-xl);
}

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(7, 10, 19, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.about-badge__number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
}

.about-badge__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.about-content .section-title span {
    background: var(--accent-cyan-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--text-light);
    font-weight: 600;
}

.about-founder {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 8px 0 16px;
    padding: 16px 20px;
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: var(--radius-lg);
}

.about-founder__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(14, 165, 233, 0.25);
}

.about-founder__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-founder__name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-light);
}

.about-founder__role {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-founder__cred {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.about-founder__bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-top: 6px;
}

.about-quote {
    margin: 0 0 24px;
    padding: 22px 28px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    position: relative;
}

.about-quote__icon {
    color: var(--accent-cyan);
    opacity: 0.4;
    margin-bottom: 6px;
    display: block;
}

.about-quote p {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.about-quote cite {
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 0.02em;
}

.about-visual--ceo img {
    aspect-ratio: 3 / 4;
    object-position: center 15%;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin: 24px 0 32px;
    padding: 24px 0;
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat__value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
}

.about-stat__label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-content .btn-primary {
    align-self: flex-start;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-content {
        text-align: center;
        align-items: center;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
        width: 100%;
    }

    .about-content .btn-primary {
        align-self: center;
    }
}

@media (max-width: 576px) {
    .about-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .about-founder {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        align-items: center;
    }

    .about-founder__bio {
        text-align: center;
    }

    .about-quote {
        padding: 18px 20px;
    }

    .about-quote p {
        font-size: 0.95rem;
    }

    .about-visual--ceo img {
        aspect-ratio: 1 / 1;
        object-position: center top;
    }

    .about-badge {
        bottom: 12px;
        left: 12px;
        padding: 12px 18px;
    }

    .about-badge__number {
        font-size: 1.5rem;
    }
}

/* ==========================================
   SECTION 4: CALCULADORA INTERACTIVA
   ========================================== */
.calculator-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.calc-input-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.input-group {
    margin-bottom: 24px;
}

.input-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-light);
}

.currency-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.currency-input {
    width: 100%;
    padding: 18px 20px 18px 70px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.currency-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
}

/* Estilo del Slider Premium */
.slider-container {
    margin-top: 16px;
}

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-cyan-glow);
    transition: var(--transition-smooth);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--text-light);
}

/* Radio buttons de tarifa */
.tariff-options {
    display: flex;
    gap: 16px;
}

.tariff-card {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.tariff-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.tariff-content {
    display: block;
    padding: 16px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    transition: var(--transition-smooth);
}

.tariff-card input:checked ~ .tariff-content {
    border-color: var(--accent-cyan);
    background: rgba(14, 165, 233, 0.05);
    color: var(--text-light);
}

.tariff-title {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

.tariff-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Panel de Resultados */
.calc-results-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
    border-color: rgba(14, 165, 233, 0.15);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.result-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}

.result-item:last-child {
    border: none;
    padding-bottom: 0;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
}

.result-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1.1;
}

.result-item.highlight .result-value {
    color: var(--accent-cyan);
    font-size: 2.6rem;
}

.result-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.calc-cta-btn {
    width: 100%;
    margin-top: 24px;
}

/* ==========================================
   TRANSICIÓN MODAL DE ANÁLISIS
   ========================================== */
.transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 12, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loader-container {
    text-align: center;
    max-width: 400px;
    padding: 32px;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(14, 165, 233, 0.1);
    border-top: 4px solid var(--accent-cyan);
    border-radius: 50%;
    margin: 0 auto 24px auto;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px var(--accent-cyan-glow);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.loader-status {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* ==========================================
   SECTION 4: AUTORIDAD / SEGURIDAD
   ========================================== */
.authority-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
}

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

.auth-card {
    text-align: left;
}

@media (max-width: 992px) {
    .auth-card {
        text-align: center;
    }
    .auth-card .card-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-cyan);
}

.auth-card:hover .card-icon {
    background: var(--accent-cyan-gradient);
    color: var(--text-dark);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
    transform: scale(1.05);
}

/* Imagen en tarjeta de autoridad */
.auth-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.auth-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-card:hover .auth-card-image img {
    transform: scale(1.05);
}

.auth-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 10, 19, 0.7) 100%);
}

/* Storytelling: línea de progreso */
.story-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.story-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.story-step span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.story-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(14, 165, 233, 0.3);
    transition: var(--transition-smooth);
}

.story-step.active .story-dot {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan-glow);
}

.story-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.3) 0%, rgba(14, 165, 233, 0.1) 100%);
    max-width: 120px;
    margin: 0 16px;
    position: relative;
    top: -10px;
}

/* Storytelling: conector entre secciones */
.story-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.story-connector svg {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   SECTION 5: PRUEBA SOCIAL / TESTIMONIOS
   ========================================== */
.social-proof-section {
    padding: 100px 0;
    background-color: #f8fafc;
    color: var(--text-dark);
    position: relative;
}

.social-proof-section .section-title {
    color: var(--text-dark);
}

.social-proof-section .section-subtitle {
    color: #475569;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 80px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Visual del testimonio: imagen + avatar */
.testimonial-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
}

.testimonial-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(15, 23, 42, 0.6) 100%);
}

.testimonial-avatar {
    position: absolute;
    bottom: -32px;
    left: 40px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: 48px 40px 24px 40px;
    flex: 1;
}

.quote-icon {
    font-size: 2.5rem;
    line-height: 0.1;
    color: #cbd5e1;
    font-family: Georgia, serif;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
    color: #334155;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding: 20px 40px;
}

.author-info .name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
}

.author-info .title {
    font-size: 0.8rem;
    color: #64748b;
}

.metric-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    color: #059669;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* CTA DE CIERRE */
.closing-cta {
    background: linear-gradient(135deg, #090d1a 0%, #111827 100%);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.closing-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.05) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.closing-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.closing-cta .cta-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-light);
}

.closing-cta .cta-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-color: var(--bg-darker);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact-info {
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-contact-item a {
    color: var(--text-light);
    font-weight: 500;
}

.footer-contact-item a:hover {
    color: var(--accent-cyan);
}

.footer-contact-item svg {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.footer-logo-wrapper {
    margin-bottom: 16px;
    display: inline-block;
}

.footer-location-note {
    font-size: 0.8rem;
    margin-top: 4px;
    opacity: 0.7;
}

.footer-extra-links {
    margin-top: 16px;
}

.footer-extra-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Colores de marca interactivos individuales con sombras luminosas */
.social-icon[aria-label="Instagram"]:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aec 90%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(214, 36, 159, 0.4);
}

.social-icon[aria-label="Facebook"]:hover {
    background: #1877f2;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.social-icon[aria-label="LinkedIn"]:hover {
    background: #0077b5;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(0, 119, 181, 0.4);
}

.social-icon[aria-label="WhatsApp"]:hover {
    background: #25d366;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    justify-content: center;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* ==========================================
   RESPONSIVIDAD (MEDIA QUERIES)
   ========================================== */

@media (max-width: 992px) {
    .calc-grid {
        grid-template-columns: 1fr;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .closing-cta {
        padding: 40px 24px;
    }
    
    .closing-cta .cta-title {
        font-size: 1.8rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    /* Responsive: storytelling */
    .story-progress {
        display: none;
    }
    
    .story-connector {
        font-size: 0.85rem;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }
    
    .testimonial-visual {
        aspect-ratio: 2.5 / 1;
    }
    
    .testimonial-avatar {
        width: 52px;
        height: 52px;
        bottom: -26px;
        left: 24px;
    }
    
    .testimonial-content {
        padding: 40px 24px 20px 24px;
    }
    
    .testimonial-footer {
        padding: 16px 24px;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================
   PREGUNTAS FRECUENTES (FAQs)
   ========================================== */
.faq-container-block {
    max-width: 800px;
    margin: 80px auto 0 auto;
}

.faq-section-header {
    margin-top: 80px;
    margin-bottom: 40px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 80px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.faq-item-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
    user-select: none;
}

.faq-icon {
    color: #64748b;
    transition: transform 0.3s ease;
}

.faq-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 24px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item-content p {
    margin-bottom: 20px;
}

/* Acordeón Activo */
.faq-item.active {
    border-color: var(--accent-cyan);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.faq-item.active .faq-item-content {
    max-height: 250px;
    padding: 0 24px 20px 24px;
    border-top: 1px solid #f1f5f9;
}


/* Scroll offset para navegación con header fixed */
section[id] {
    scroll-margin-top: 100px;
}

/* ==========================================
   SECCIÓN DE CONTACTO Y UBICACIÓN
   ========================================== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
}

.contact-detail-card:hover {
    border-color: var(--border-card-hover);
    background: rgba(255, 255, 255, 0.04);
}

.detail-icon {
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.detail-text h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--text-light);
}

.detail-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.detail-text a:hover {
    color: var(--accent-cyan);
}

.map-wrapper {
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    overflow: hidden;
}

.map-wrapper iframe {
    display: block;
}

/* Columna de Formulario */
.contact-form-col {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%);
    border-color: rgba(14, 165, 233, 0.15);
}

.contact-form-col h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.form-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-grid-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.form-textarea {
    resize: none;
    min-height: 100px;
}

.form-submit-btn {
    width: 100%;
    margin-top: 8px;
    cursor: pointer;
}

/* Estado de Éxito del Formulario */
.form-success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 10;
}

.form-success-message.active {
    opacity: 1;
    pointer-events: all;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    margin-bottom: 24px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.form-success-message h4 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.form-success-message p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

/* Caja de CTA WhatsApp (reemplaza al formulario) */
.whatsapp-cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 8px 8px;
}

.whatsapp-cta-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 360px;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 340px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4), 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn-whatsapp-large svg {
    flex-shrink: 0;
}

.whatsapp-cta-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 500;
}

.whatsapp-cta-trust svg {
    flex-shrink: 0;
}

/* Responsividad para estas nuevas secciones */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

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

    .contact-detail-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* ==========================================
   SECCIÓN: GALERÍA DE PROYECTOS REALIZADOS
   ========================================== */
.projects-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0f1e 50%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(14, 165, 233, 0.15) 50%, transparent 100%);
}

/* Barra de Confianza */
.trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 48px;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 28px;
    text-align: center;
}

.trust-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1.2;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.trust-separator {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .trust-bar {
        padding: 16px 20px;
        gap: 16px 0;
    }
    
    .trust-item {
        padding: 0 16px;
        flex: 1 1 40%;
    }
    
    .trust-separator {
        display: none;
    }
    
    .trust-value {
        font-size: 1.3rem;
    }
}

/* Contenedor del slider */
.projects-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.projects-slider {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-xl);
    mask-image: linear-gradient(90deg, transparent 0%, black 2%, black 98%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 2%, black 98%, transparent 100%);
}

.projects-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Cada slide */
.project-slide {
    flex: 0 0 auto;
    width: 380px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: grab;
}

.project-slide:hover {
    border-color: var(--border-card-hover);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.06);
    transform: translateY(-4px);
}

.project-slide:active {
    cursor: grabbing;
}

/* Media del proyecto (imagen/video) */
.project-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
}

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

.project-slide:hover .project-media img {
    transform: scale(1.08);
}

/* Overlay sutil con icono de play */
.project-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(4, 6, 12, 0.75) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-slide:hover .project-media-overlay {
    opacity: 1;
}

.project-play-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--bg-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    transform: scale(0.8);
}

.project-slide:hover .project-play-icon {
    transform: scale(1);
}

.project-play-icon:hover {
    background: var(--accent-cyan);
    color: var(--text-light);
}

/* Información del proyecto */
.project-info {
    padding: 24px;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-year {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 700;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Flechas de navegación */
.slider-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-card);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 2;
}

.slider-arrow:hover {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.3);
    color: var(--accent-cyan);
    transform: scale(1.1);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.slider-arrow:disabled,
.slider-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Dots indicadores */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.35);
}

.slider-dot.active {
    width: 28px;
    border-radius: 100px;
    background: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan-glow);
}

/* Nota informativa */
.projects-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    padding: 14px 20px;
    background: rgba(245, 158, 11, 0.04);
    border: 1px dashed rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.projects-note svg {
    flex-shrink: 0;
    color: var(--accent-amber);
}

.projects-note code {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

/* Scroll snapping nativo en móvil */
@media (max-width: 768px) {
    .projects-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .projects-slider::-webkit-scrollbar {
        display: none;
    }

    .projects-track {
        transition: none;
    }

    .project-slide {
        scroll-snap-align: center;
        width: 300px;
    }

    .slider-arrow {
        display: none;
    }

    .slider-dots {
        margin-top: 16px;
    }
}

@media (max-width: 480px) {
    .logo-official-img {
        height: 38px;
    }

    .logo-footer-img {
        height: 28px;
    }

    .nav-whatsapp {
        padding: 6px 10px;
        font-size: 0;
    }

    .nav-whatsapp svg {
        margin: 0;
    }

    .project-slide {
        width: 280px;
    }

    .project-info {
        padding: 18px;
    }

    .project-info h3 {
        font-size: 1.05rem;
    }

    .projects-note {
        flex-direction: column;
        font-size: 0.8rem;
        gap: 8px;
    }
}

/* ==========================================
   PÁGINA DE POLÍTICA DE PRIVACIDAD
   ========================================== */
.privacy-page {
    padding-top: 180px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.privacy-title {
    font-size: 3rem;
    margin-bottom: 8px;
    text-align: center;
    background: var(--accent-cyan-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

.privacy-content h2 {
    font-size: 1.35rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--accent-cyan);
    border-bottom: 1px solid rgba(14, 165, 233, 0.15);
    padding-bottom: 6px;
}

.privacy-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.privacy-content ul {
    margin-left: 24px;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.privacy-content li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .privacy-title {
        font-size: 2.2rem;
    }
    .privacy-page {
        padding-top: 140px;
    }
}
