/* =========================================
   VARIABLES & GLOBAL STYLES
   ========================================= */
:root {
    --primary-bg: #10243e; /* Lighter navy blue */
    --secondary-bg: #153152; /* Even lighter for gradients/accents */
    --accent-cyan: #00e5ff;
    --accent-blue: #0077ff;
    --text-main: #ffffff;
    --text-muted: #8a9bb3;
    --logo-font: 'Montserrat', sans-serif;
    --body-font: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: relative; /* Added so .hex-bg scales to full height */
}

/* =========================================
   PRESENTATION SLIDE WRAPPERS
   ========================================= */
.slide-wrapper {
    width: 100%;
}

.slide-content {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 5%; /* Espacio para el navbar */
    container-type: inline-size;
    background: transparent;
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

/* Hexagon Background Pattern */
.hex-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: var(--primary-bg);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2760%27%20height%3D%27103.923%27%20viewBox%3D%270%200%2060%20103.923%27%3E%3Cg%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271%27%20stroke-opacity%3D%270.04%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M60%2017.3205%20L30%200%20L0%2017.3205%20V51.9615%20L30%2069.282%20L60%2051.9615%20Z%27%2F%3E%3Cpath%20d%3D%27M30%2069.282%20V103.923%27%2F%3E%3Cpath%20d%3D%27M0%2051.9615%20L-30%2069.282%20V103.923%20L0%20121.2435%20L30%20103.923%27%2F%3E%3Cpath%20d%3D%27M60%2051.9615%20L90%2069.282%20V103.923%20L60%20121.2435%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-size: 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.section-title {
    font-family: var(--logo-font);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--text-main);
    margin-bottom: 40px;
}

/* =========================================
   NAVIGATION & SIDEBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    background: rgba(4, 10, 20, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 80px;
    list-style: none;
}

.nav-links li a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.nav-links li a i {
    opacity: 0.5;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--accent-cyan);
}
.nav-links li a:hover i {
    opacity: 1;
    transform: translateX(3px);
}

.nav-mobile-btn {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 20px;
}

.sidebar {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 90;
}

.sidebar-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-main);
}

.sidebar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-main);
    box-shadow: 0 0 0 4px transparent;
    transition: var(--transition);
    cursor: pointer;
}
.sidebar-dot:hover {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* =========================================
   ZOOM BLUR INTRO SPLASH
   ========================================= */
#flash-overlay {
    position: fixed;
    inset: 0;
    background-color: #ffffff; /* El resto de la página en blanco */
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    /* La transición dura 2.5 segundos */
    transition: opacity 2.5s ease-in-out, filter 2.5s ease-in-out;
}

#flash-overlay.fade-out {
    opacity: 0;
    filter: blur(15px); /* Se difumina */
    pointer-events: none;
}

.intro-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-bg); /* El recuadro de color oscuro */
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2760%27%20height%3D%27103.923%27%20viewBox%3D%270%200%2060%20103.923%27%3E%3Cg%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271%27%20stroke-opacity%3D%270.04%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M60%2017.3205%20L30%200%20L0%2017.3205%20V51.9615%20L30%2069.282%20L60%2051.9615%20Z%27%2F%3E%3Cpath%20d%3D%27M30%2069.282%20V103.923%27%2F%3E%3Cpath%20d%3D%27M0%2051.9615%20L-30%2069.282%20V103.923%20L0%20121.2435%20L30%20103.923%27%2F%3E%3Cpath%20d%3D%27M60%2051.9615%20L90%2069.282%20V103.923%20L60%20121.2435%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-size: 60px;
    background-position: center;
    background-blend-mode: overlay;
    padding: 30px 50px;
    border-radius: 20px; /* Bordes redondeados para el recuadro */
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    /* Animación aplicada al recuadro completo, 2.5s con suavidad */
    transition: transform 2.5s ease-in-out;
}

.intro-logo img {
    height: 100px; /* Tamaño un poco más grande para el logo horizontal */
    width: auto;
}

#flash-overlay.fade-out .intro-logo {
    transform: scale(25); /* Se agranda el recuadro con el logo muchísimo */
}

/* =========================================
   SCROLLBAR & SELECTION
   ========================================= */

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* La clase .slide-content ya maneja el tamaño y aspect-ratio */
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

/* =========================================
   3D BACKGROUND SHAPES
   ========================================= */

/* 3D Background Shapes eliminados para diseño limpio */

/* =========================================
   LOGO HERO SECTION
   ========================================= */

.logo-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    z-index: 5;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 229, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.2), inset 0 0 20px rgba(0, 229, 255, 0.1);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    z-index: 10;
    max-width: 800px;
    text-align: center;
    padding-top: 50px;
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #e2e8f0;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-cta {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--accent-cyan), #0056b3);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 204, 255, 0.2);
    margin-top: 10px;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 204, 255, 0.4);
}


.brand-logo-hero {
    max-width: 300px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* =========================================
   QUIÉNES SOMOS
   ========================================= */
.about {
    /* La clase .slide-content ya maneja el tamaño y aspect-ratio */
}

.about-container {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about .section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
}

.about .divider {
    width: 60px;
    height: 4px;
    background-color: #ffffff;
    margin: 0 auto 30px;
}

.about-text {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
    font-weight: 400;
}

.about-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.about-logo {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
}

.about-cyan-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 150px;
    background: radial-gradient(ellipse at center, rgba(0, 190, 255, 0.4) 0%, transparent 60%);
    filter: blur(20px);
    border-radius: 50%;
    z-index: 1;
}

/* =========================================
   PORTAFOLIO
   ========================================= */
.portfolio {
    /* La clase .slide-content ya maneja el tamaño y aspect-ratio */
}

.portfolio-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 120px 5% 60px 5%;
    flex-wrap: wrap;
}

.portfolio-left {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

.portfolio .section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
}

.portfolio .divider {
    width: 60px;
    height: 4px;
    background-color: #ffffff;
    margin-bottom: 30px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.port-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.port-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 204, 255, 0.2);
}

.portfolio-image-wrapper {
    width: 100%;
    max-width: 600px;
}

.portfolio-main-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
    border-radius: 10px;
}

.portfolio-list ul {
    list-style: none;
    padding: 0;
}

.portfolio-list li {
    font-size: 1.2cqw;
    color: #ffffff;
    padding: 0;
    position: relative;
    padding-left: 1.5cqw;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.1cqw;
    transition: all 0.3s ease;
    cursor: default;
}

.portfolio-list li:hover {
    color: #00beff;
    text-shadow: 0 0 8px rgba(0, 190, 255, 0.8), 0 0 15px rgba(0, 190, 255, 0.5);
    transform: translateX(0.5cqw);
}

.portfolio-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5cqw;
    width: 0.4cqw;
    height: 0.4cqw;
    background-color: #ffffff;
    border-radius: 50%;
}

.portfolio-logo-wrapper {
    position: absolute;
    bottom: 5%;
    left: 4.1cqw;
    display: flex;
    align-items: center;
    z-index: 2;
}

.portfolio-logo {
    width: 10.4cqw;
    height: auto;
    position: relative;
    z-index: 2;
}

.portfolio-cyan-glow {
    position: absolute;
    bottom: -9.2cqw;
    left: -5.2cqw;
    width: 31.2cqw;
    height: 15.6cqw;
    background: radial-gradient(ellipse at center, rgba(0, 190, 255, 0.5) 0%, transparent 60%);
    filter: blur(2cqw);
    border-radius: 50%;
    z-index: 1;
    transform: rotate(15deg);
}

/* =========================================
   SUMA CLUB 12 HERO
   ========================================= */
.suma-hero-wrapper {
    width: 100%;
}

.suma-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 5%;
    container-type: inline-size;
    background: transparent;
    border-bottom: 2px solid rgba(255,255,255,0.05); /* Separador sutil */
}

.suma-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4; /* Aumentado a 4 para estar sobre hero-blurry-hole */
    width: 100%;
    height: 88%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
}

.suma-main-img {
    width: 70%;
    height: auto;
    object-fit: contain;
    box-shadow: 0 3cqw 8cqw rgba(0,0,0,0.7);
}

.suma-footer-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12%;
    background-color: #060b14;
    background-image: 
        linear-gradient(135deg, rgba(6, 11, 20, 0.8) 0%, rgba(12, 21, 38, 0.9) 100%),
        url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2760%27%20height%3D%27103.923%27%20viewBox%3D%270%200%2060%20103.923%27%3E%3Cg%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271%27%20stroke-opacity%3D%270.08%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M60%2017.3205%20L30%200%20L0%2017.3205%20V51.9615%20L30%2069.282%20L60%2051.9615%20Z%27%2F%3E%3Cpath%20d%3D%27M30%2069.282%20V103.923%27%2F%3E%3Cpath%20d%3D%27M0%2051.9615%20L-30%2069.282%20V103.923%20L0%20121.2435%20L30%20103.923%27%2F%3E%3Cpath%20d%3D%27M60%2051.9615%20L90%2069.282%20V103.923%20L60%20121.2435%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-size: cover, 3cqw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5.2%;
    z-index: 10;
}

.suma-footer-logo img {
    height: 6cqw;
    width: auto;
    position: relative;
    z-index: 2;
}

.suma-footer-right {
    position: relative;
    z-index: 2;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.suma-hashtag {
    font-size: 1.6cqw;
    font-style: italic;
    color: #b0b5be;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.5cqw;
}

.suma-slogan {
    font-size: 2cqw;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.8cqw;
}

.suma-linkedin {
    font-size: 1cqw;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5cqw;
}

.suma-linkedin i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5cqw;
    height: 1.5cqw;
    border: 1px solid #ffffff;
    border-radius: 50%;
    font-size: 0.8cqw;
}

.suma-footer-cyan-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.5cqw;
    background: linear-gradient(to right, #00e5ff 0%, #0055ff 40%, transparent 80%);
    box-shadow: inset 0 0.2cqw 0.5cqw rgba(255,255,255,0.5), 0 -0.5cqw 2cqw rgba(0, 229, 255, 0.8);
    z-index: 3;
}

/* =========================================
   CLIENTES TARGET
   ========================================= */
.target {
    /* La clase .slide-content ya maneja el tamaño */
}

.target .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.target-content {
    max-width: 85cqw;
    margin-left: 5cqw;
}

.target .section-title {
    font-size: 3.5cqw;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5cqw;
    color: #ffffff;
}

.target .divider {
    width: 4cqw;
    height: 0.25cqw;
    background-color: #ffffff;
    margin-bottom: 2cqw;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2cqw;
}

.target-item {
    display: flex;
    flex-direction: column;
    gap: 1.5cqw;
}

.target-badge {
    display: flex;
    align-items: center;
    gap: 1cqw;
    background: rgba(255,255,255,0.1);
    padding: 1cqw 2cqw;
    border-radius: 3cqw;
    border: 0.05cqw solid rgba(255,255,255,0.2);
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1.1cqw;
    height: 100%;
}

.target-badge:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-0.25cqw);
}

.badge-icon {
    background-color: white;
    color: var(--primary-bg);
    width: 2.8cqw;
    height: 2.8cqw;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3cqw;
    flex-shrink: 0;
}

.t-card {
    border-radius: 1.5cqw;
    overflow: hidden;
    border: 0.1cqw solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.t-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0.8cqw 2cqw rgba(0,0,0,0.5);
}

.card-img-placeholder {
    background: linear-gradient(45deg, #1a2a44, #2a3a54);
    height: 15.6cqw;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.2);
}

/* =========================================
   POR QUÉ SUMA CLUB 12
   ========================================= */
.suma-why {
    /* La clase .slide-content maneja el tamaño */
}

.suma-why .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 250px;
}

.step-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.3);
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.step:hover .step-icon {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), inset 0 0 15px rgba(0, 229, 255, 0.2);
    color: var(--accent-cyan);
    transform: translateY(-10px);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.step-text {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

.step-arrow {
    color: var(--text-muted);
    font-size: 2rem;
}

@media (max-width: 768px) {
    .step-arrow {
        display: none;
    }
}

/* =========================================
   EN QUÉ CONSISTE
   ========================================= */
.suma-what {
    /* La clase .slide-content maneja el tamaño */
}

.suma-what .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.what-content {
    max-width: 1000px;
    margin-left: 0;
}

.suma-what .section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
}

.suma-what .divider {
    width: 60px;
    height: 4px;
    background-color: #ffffff;
    margin-bottom: 30px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.service {
    background: transparent;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: none;
}

.service-icon-custom {
    position: relative;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.8)); 
}

.service:hover .service-icon-custom {
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(0, 190, 255, 1)) drop-shadow(0 0 40px rgba(0, 190, 255, 0.6));
    transform: scale(1.05);
}

.service-icon-main {
    font-size: 4rem;
    color: #ffffff;
}

.service-number {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}

.service-desc {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}

.service.service-dark .service-number,
.service.service-dark .service-title {
    color: #050a13;
    text-shadow: none;
}

.service.service-dark .service-desc {
    color: #475569;
    text-shadow: none;
}



/* =========================================
   FOOTER / CONTACTO
   ========================================= */
.footer {
    position: relative;
    padding: 5cqw 0 2cqw;
    overflow: hidden;
    background-color: #020408;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2760%27%20height%3D%27103.923%27%20viewBox%3D%270%200%2060%20103.923%27%3E%3Cg%20stroke%3D%27%23ffffff%27%20stroke-width%3D%271%27%20stroke-opacity%3D%270.08%27%20fill%3D%27none%27%3E%3Cpath%20d%3D%27M60%2017.3205%20L30%200%20L0%2017.3205%20V51.9615%20L30%2069.282%20L60%2051.9615%20Z%27%2F%3E%3Cpath%20d%3D%27M30%2069.282%20V103.923%27%2F%3E%3Cpath%20d%3D%27M0%2051.9615%20L-30%2069.282%20V103.923%20L0%20121.2435%20L30%20103.923%27%2F%3E%3Cpath%20d%3D%27M60%2051.9615%20L90%2069.282%20V103.923%20L60%20121.2435%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-size: 3cqw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    flex: 1;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-footer {
    max-width: 300px;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
}

.step-05-custom {
    /* No sobreescribir las dimensiones de .step-icon */
}

.step-ring {
    display: none;
}

.step-crown {
    position: absolute;
    left: 1cqw;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2cqw;
    color: #ffffff;
    filter: drop-shadow(0 0 0.25cqw rgba(255, 255, 255, 0.5));
    z-index: 2;
    transition: all 0.3s ease;
}

.step-user-top, .step-user-mid, .step-user-bot {
    position: absolute;
    color: #ffffff;
    font-size: 1.1cqw;
    filter: drop-shadow(0 0 0.25cqw rgba(255, 255, 255, 0.5));
    z-index: 3;
    right: 1.25cqw;
    transition: all 0.3s ease;
}

.step:hover .step-crown,
.step:hover .step-user-top,
.step:hover .step-user-mid,
.step:hover .step-user-bot {
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 0.4cqw rgba(0, 240, 255, 0.8));
}

.step-user-top {
    top: 1.5cqw;
}

.step-user-mid {
    top: 50%;
    transform: translateY(-50%);
}

.step-user-bot {
    bottom: 1.5cqw;
}

.box-gem-combo {
    position: relative;
    width: 3.1cqw;
    height: 3.1cqw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    margin-top: 0.8cqw;
}

.combo-box {
    font-size: 3cqw;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.combo-gem {
    font-size: 1.5cqw;
    color: #ffffff;
    position: absolute;
    top: -0.8cqw;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.brand-logo-hero {
    max-width: 31.25cqw;
    height: auto;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 5cqw;
}

.slogan {
    font-size: 2.2cqw;
    font-weight: 500;
    margin-bottom: 0.5cqw;
    text-align: center;
}
.slogan em {
    font-style: italic;
    color: #e2e8f0;
}
.slogan span {
    font-weight: 800;
    font-size: 3cqw;
    display: block;
    margin-top: -0.2cqw;
    color: #ffffff;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8cqw;
    font-size: 1.6cqw; /* Aumentado */
    margin-top: 0.5cqw;
    align-self: flex-start;
    margin-left: 1cqw;
}

.contact-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8cqw;
}

.contact-list i {
    width: 2.2cqw; /* Aumentado para que el icono se vea acorde al texto */
    text-align: center;
    color: #cbd5e1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3cqw;
    padding-bottom: 2cqw;
    position: relative;
    z-index: 10;
    width: 100%;
    padding-left: 5cqw;
    padding-right: 5cqw;
}

.copyright {
    color: var(--text-muted);
    font-size: 1.3cqw; /* Aumentado */
}

.btn-reclamaciones {
    display: inline-block;
    padding: 1.0cqw 1.8cqw; /* Aumentado */
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    text-decoration: none;
    border: 0.05cqw solid rgba(255,255,255,0.2);
    border-radius: 0.25cqw;
    font-size: 1.3cqw; /* Aumentado */
    transition: var(--transition);
}

.btn-reclamaciones:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 0.8cqw rgba(0, 229, 255, 0.2);
    background: rgba(0, 229, 255, 0.05);
}

.bottom-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5cqw;
    font-size: 1.3cqw; /* Aumentado */
    color: #cbd5e1;
}
.sidebar-dot-horizontal {
    width: 1.5cqw;
    height: 0.8cqw;
    border-radius: 0.4cqw;
    background: transparent;
    border: 0.1cqw solid #ffffff;
    position: relative;
}
.sidebar-dot-horizontal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.15cqw;
    transform: translateY(-50%);
    width: 0.5cqw;
    height: 0.5cqw;
    background-color: #ffffff;
    border-radius: 50%;
}

.footer-diagonal-beam {
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 120%;
    height: 60%;
    background: linear-gradient(180deg, rgba(0, 150, 255, 0.9) 0%, rgba(0, 80, 200, 0.8) 30%, rgba(0, 20, 50, 1) 100%);
    transform: rotate(4deg);
    transform-origin: center;
    z-index: 1;
    box-shadow: 0 -0.5cqw 2cqw rgba(0, 229, 255, 0.6), 0 -1cqw 4cqw rgba(0, 150, 255, 0.4);
    pointer-events: none;
    border-top: 0.2cqw solid rgba(0, 255, 255, 0.8);
}

/* =========================================
   ANIMATIONS & UTILITIES
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(10px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* --- MAGIA E INMERSIÓN --- */

/* 2. Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-fast {
    animation: float 4s ease-in-out infinite;
}

/* 3. Hover Card Zoom & Glow (formerly Tilt Card 3D) */
.tilt-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out;
}

.tilt-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.3);
    border-color: rgba(0, 229, 255, 0.7) !important;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: transparent; /* Sin fondo */
    color: var(--accent-cyan); /* Logo celeste */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65px; /* Más grande porque ya no tiene un círculo contenedor */
    box-shadow: none; /* Quitamos la sombra de caja porque no hay caja */
    filter: drop-shadow(0 5px 15px rgba(0, 229, 255, 0.4)); /* Sombra al ícono directamente */
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: float 4s ease-in-out infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 25px rgba(0, 229, 255, 0.6));
}

/* --- ELEGANT WHITE NOTES (BACKGROUND PARTICLES) --- */
.white-note {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.6);
    opacity: 0.5;
    animation: twinkleFloat 8s infinite ease-in-out;
    pointer-events: none; /* Así no interfieren con clics */
    z-index: 1; /* Detrás del contenido pero sobre el fondo oscuro */
}

@keyframes twinkleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.2; }
}

/* =========================================
   RESPONSIVE DESIGN & MOBILE MENU
   ========================================= */

@media (max-width: 900px) {
    .nav-brand-mobile {
        display: flex !important;
    }
    
    /* Mostrar el botón de hamburguesa nativo */
    .nav-mobile-btn {
        display: block !important;
        position: absolute;
        top: 25px;
        right: 20px;
        z-index: 1001;
    }

    /* Ocultar barra lateral decorativa */
    .sidebar {
        display: none !important;
    }

    /* Convertir enlaces en menú desplegable móvil */
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(4, 10, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: left 0.4s ease;
        z-index: 1000;
        box-shadow: 10px 0 30px rgba(0,0,0,0.8);
        margin: 0;
        padding: 0;
    }

    .nav-links.mobile-active {
        left: 0;
    }

    /* Ajustes generales de layout */
    .main-content, .slide-wrapper {
        margin-left: 0 !important;
        width: 100%;
    }

    .slide-content, .suma-hero-wrapper {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
        height: auto;
    }
    
    .container {
        padding: 0 20px;
        overflow-x: hidden;
        min-height: auto !important; /* Overrides inline min-height: 100vh */
    }

    /* Ajuste de fuentes para móviles */
    h1 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }
    
    h2.section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    }

    /* Apilar flexboxes */
    .contact-layout, .about-container > div {
        flex-direction: column !important;
    }

    /* Solucionar overflow horizontal causado por grids inline con minmax() grandes */
    div[style*="display: grid"], 
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        max-width: 100vw !important; /* Asegurar que no exceda el ancho de pantalla */
    }

    /* Aumentar logo del hero en móviles */
    .brand-logo-hero {
        width: 95% !important;
        max-width: 450px !important;
    }

    /* Ajustar Target Section para móviles */
    .target .container {
        align-items: center !important;
    }
    
    .target-content {
        margin-left: 0 !important;
        max-width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .target .divider {
        margin: 0 auto 30px !important;
    }

    .target-grid {
        grid-template-columns: 1fr;
        gap: 8vw;
    }

    .target-item {
        gap: 3vw;
    }

    .target-badge {
        padding: 4vw 6vw;
        border-radius: 8vw;
        font-size: 3.5vw;
        gap: 3vw;
        height: auto;
    }

    .badge-icon {
        width: 10vw;
        height: 10vw;
        font-size: 4vw;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
    }

    .t-card {
        width: 80% !important;
        max-width: 320px !important;
    }

    .t-card img {
        width: 100% !important; /* Adaptado al tamaño de t-card */
    }

    /* Ajustar Floating WhatsApp */
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 55px; /* Más grande en móvil también */
    }
}

/* Surprise Box effect */
.surprise-box {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    animation: swell-ready 2.5s infinite ease-in-out;
    transition: all 0.3s ease;
}

.surprise-box.opened {
    animation: explode-open 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2), inset 0 0 15px rgba(0, 229, 255, 0.1) !important;
}

.surprise-box p {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, margin-top 0.5s ease-in-out;
    margin-top: 0;
}

.surprise-box.opened p {
    max-height: 300px;
    opacity: 1;
    margin-top: 15px;
}

@keyframes swell-ready {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
    10% { transform: scale(1.05); box-shadow: 0 0 25px rgba(0, 229, 255, 0.5); border-color: rgba(0, 229, 255, 0.8); }
    15% { transform: scale(1.05) translateX(-4px); }
    20% { transform: scale(1.05) translateX(4px); }
    25% { transform: scale(1.05) translateX(-4px); }
    30% { transform: scale(1.05) translateX(0); }
    40% { transform: scale(1); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
}

@keyframes explode-open {
    0% { transform: scale(1); filter: brightness(1); }
    30% { transform: scale(1.15) translateY(-5px); filter: brightness(1.5); box-shadow: 0 0 50px rgba(0, 229, 255, 0.8), inset 0 0 20px rgba(0, 229, 255, 0.5); border-color: #fff; }
    100% { transform: scale(1); filter: brightness(1); }
}

.click-hint {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-top: 5px;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse-hint 1.5s infinite;
    transition: opacity 0.3s ease, max-height 0.3s ease;
    max-height: 20px;
    opacity: 1;
}

.surprise-box.opened .click-hint {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
}

@keyframes pulse-hint {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Custom AOS (Animate On Scroll) Elements */
.aos-zoom {
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.aos-zoom.visible {
    opacity: 1;
    transform: scale(1);
}

.aos-left {
    opacity: 0;
    transform: translateX(-200px);
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.3s, transform 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}
.aos-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.aos-right {
    opacity: 0;
    transform: translateX(200px);
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.5s, transform 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.5s;
}
.aos-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.aos-up {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 1.5s ease-out, transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.aos-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.aos-down {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 1.5s ease-out, transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.aos-down.visible {
    opacity: 1;
    transform: translateY(0);
}

.aos-fade {
    opacity: 0;
    transition: opacity 1.5s ease-out;
}
.aos-fade.visible {
    opacity: 1;
}
