/* 
   PHUNK v2 — Ultra-Conversion Alpha 
   Design System: Deep Black, Electric Cyan, Neon Purple
   Font: Outfit (Headings), Inter (Body)
*/

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

:root {
    /* Backgrounds */
    --bg-dark: #050505;
    --bg-surface: rgba(20, 20, 20, 0.7);
    
    /* Brand Colors */
    --primary: #00f5ff;       /* Electric Cyan */
    --secondary: #bc13fe;     /* Neon Purple */
    --accent: #c8ff00;        /* Acid Green */
    --white: #f5f5f5;
    --gray: #888888;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --grad-surface: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    --bg-gradient: linear-gradient(135deg, #050505 0%, #001a1d 50%, #15031d 100%);
    
    /* Spacing & Borders */
    --radius-lg: 24px;
    --radius-md: 12px;
    --border: 1px solid rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* UTILITIES */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 1000px;
}

/* SECTION HEADERS */
.section-header {
    margin-bottom: 80px;
    position: relative;
    z-index: 5;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.4em;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.section-headline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 28px;
    color: var(--white);
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.section-subheadline {
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    max-width: 700px;
    font-weight: 300;
}

.section-header.center .section-subheadline {
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: var(--bg-surface);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: var(--border);
    border-radius: var(--radius-lg);
}

/* REVEAL ANIMATIONS (Intersection Observer) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--grad-primary);
    color: #050505 !important;
    font-weight: 900;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.4);
}

.btn-nav {
    padding: 8px 20px;
    font-size: 11px;
}

/* --- LOGO MORPH --- */
.logo-morph {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: clamp(3rem, 12vw, 9rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #fff;
    display: flex;
    pointer-events: none;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.4));
}

.logo-morph span {
    display: inline-block;
    transition: all 0.15s ease;
    min-width: 0.5em;
    text-align: center;
    /* Evitar saltos de layout */
    font-variant-numeric: tabular-nums;
    color: #fff !important;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* SECTION PADDING */
section {
    padding: 120px 0;
    position: relative;
}

/* NAVIGATION PILL */
nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateY(24px) translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 12px 30px;
}

.nav-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-align: center;
    min-width: 150px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* HERO SECTION */
#hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 100px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 245, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(48px, 6vw, 90px);
    line-height: 1.0;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 18px;
    color: var(--gray);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

.visual-card {
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.neural-nodes {
    width: 100%;
    height: 100%;
    position: relative;
}

.node {
    width: 20px;
    height: 20px;
    background: var(--grad-primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--primary);
}

.pulse {
    animation: pulse-ring 3s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(.2); opacity: 0; }
    50% { opacity: .5; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.hero-visual {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-blur {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    animation: drift 10s ease-in-out infinite alternate;
}

@keyframes drift {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.2) translate(10%, 10%); }
}

.calc-btn-full {
    width: 100%;
}

/* MARQUEE ENGINE (KEYWORDS ONLY) */
.marquee-engine {
    display: flex;
    flex-direction: column;
    background: #000;
    border-top: var(--border);
    border-bottom: var(--border);
    padding: 15px 0;
}

.marquee-strip {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 80px;
    width: max-content;
    align-items: center;
    animation: marquee 50s linear infinite;
}

.marquee-track span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.4em;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

/* STATIC TRUST LOGOS */
.trust-static {
    padding: 70px 0;
    border-bottom: var(--border);
}

.trust-label {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.5;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo-grid-static {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.static-logo {
    height: 42px;
    width: auto;
    filter: grayscale(1) brightness(0.8) opacity(0.5);
    transition: all 0.4s ease;
}

.logo-white {
    filter: brightness(0) invert(1) opacity(0.6) !important;
}

.static-logo:hover, .logo-white:hover {
    filter: grayscale(1) brightness(1) opacity(1);
    transform: translateY(-5px);
}

.logo-white:hover {
    filter: brightness(0) invert(1) opacity(1) !important;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* BENEFITS GRID */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-item {
    padding: 48px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    border: var(--border);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-10px);
    border-color: rgba(0, 245, 255, 0.2);
}

.benefit-num {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    color: var(--secondary);
    display: block;
    margin-bottom: 24px;
}

/* CALCULATOR SECTION */
.calculator-container {
    padding: 80px;
}

.calc-header {
    text-align: center;
    margin-bottom: 60px;
}

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

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

.input-group label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    appearance: none;
    border-radius: 50px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
}

input[type="number"] {
    background: rgba(255,255,255,0.05);
    border: var(--border);
    padding: 12px 20px;
    color: var(--white);
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    width: 100%;
}

.value-display {
    display: block;
    margin-top: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

.result-box {
    margin-bottom: 32px;
}

.result-label {
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.result-value {
    font-size: 52px;
    color: var(--white);
    line-height: 1.1;
}

/* --- CALCULATOR REFINEMENT --- */
.calc-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.calc-info-text {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.currency-switch {
    display: flex;
    align-items: center;
    gap: 12px;
}

.currency-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray);
    transition: color 0.3s ease;
}

.currency-label.active {
    color: var(--secondary);
}

/* --- SIMPLIFIED RANGE SLIDERS (BUGFIX) --- */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 32px;
    background: transparent;
    cursor: pointer;
    margin: 15px 0;
}

/* Track & Thumb Stability */
input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
    margin-top: -7px;
    transition: transform 0.2s ease;
}

/* --- INDUSTRIAL STABILITY (v2.9.11) --- */
.value-display {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 120px;
    font-variant-numeric: tabular-nums;
    color: var(--secondary);
    font-weight: 700;
}

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

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

/* --- CLEAN RESULT LAYOUT --- */
.impact-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.result-box {
    border-left: 2px solid var(--secondary); /* Línea de autoridad */
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-box p {
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 4px;
    opacity: 0.8;
}

.result-value {
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
    line-height: 1.1;
    font-size: 44px; /* Tamaño moderado y profesional */
    font-weight: 800;
    margin: 4px 0;
}

.calc-formula-label {
    display: block;
    font-size: 13px; /* Aumentado para ser legible */
    color: var(--gray);
    font-family: 'Courier New', Courier, monospace;
    opacity: 0.9; /* Más visible */
    margin-top: 8px;
    letter-spacing: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .4s;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--secondary-dark);
    border-color: var(--secondary);
}

input:checked + .slider:before {
    transform: translateX(20px);
    background-color: var(--secondary);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.input-helper {
    font-size: 11px;
    color: var(--gray);
    margin-top: 12px;
    font-style: italic;
    opacity: 0.8;
}

.calc-disclaimer {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.5;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-sm);
    border-left: 2px solid var(--secondary);
}

/* --- SYNERGY SECTION (PHUNK x DONGEE) --- */
.synergy-wrapper {
    padding: 80px 60px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 245, 255, 0.2);
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(10, 10, 10, 0.4);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.synergy-sub {
    font-size: 24px;
    margin: 16px 0 24px;
    color: #fff;
    font-weight: 300;
}

.synergy-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: 48px;
}

.synergy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.synergy-item h4 {
    color: var(--primary);
    margin: 16px 0 8px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.synergy-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.synergy-icon {
    font-size: 32px;
}

.synergy-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.synergy-quote {
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    font-size: 15px;
    max-width: 450px;
}

.synergy-logos {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo-phunk {
    font-weight: 900;
    font-size: 20px;
    color: #fff;
}

.dongee-synergy-logo {
    height: 35px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.dongee-synergy-logo:hover {
    opacity: 1;
}

.logo-divider {
    font-size: 24px;
    color: var(--secondary);
    font-weight: 200;
}

@media (max-width: 900px) {
    .synergy-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .synergy-wrapper {
        padding: 40px 24px;
    }
}
.section-with-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
}

.bg-ops {
    background-image: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.8)), 
                      url('../assets/img/content/phunk-sinergia-dongee-gpu.webp');
}

.bg-team {
    background-image: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.8)), 
                      url('../assets/img/content/phunk-equipo-expertos-ia.webp');
}

.bg-strategy {
    background-image: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.8)), 
                      url('../assets/img/content/phunk-metodologia-ingenieria.webp');
}

.pill-tag {
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
}

.text-dimmed {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* --- PHUNK METHOD (Methodology) --- */
.methodology-header {
    text-align: center;
    margin-bottom: 80px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.method-item {
    background: var(--bg-surface);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: var(--border);
    position: relative;
    transition: all 0.3s ease;
}

.method-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.method-step {
    font-size: 10px;
    color: var(--secondary);
    font-weight: 900;
    margin-bottom: 16px;
    display: block;
}

.method-item h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.method-item p {
    font-size: 14px;
    color: var(--gray);
}

/* --- SOLUTIONS GRID --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

@media (min-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.solution-card {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: var(--border);
}

.solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.solution-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 70%);
    display: grid;
    grid-template-rows: 1fr auto auto auto;
    align-items: end;
    padding: 30px 25px; /* Más ancho para el texto */
    gap: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.solution-tag {
    grid-row: 2;
    font-size: 8px;
    color: var(--primary);
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.9);
    padding: 6px 12px;
    border-radius: 50px;
    width: fit-content;
    white-space: nowrap;
    border: 1px solid rgba(0, 245, 255, 0.3);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    text-shadow: 0 1px 2px rgba(0,0,0,1);
}

.solution-title {
    grid-row: 3;
    font-size: 18px; /* Un pelín más chica para que entre todo */
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
    min-height: 40px; 
    margin-bottom: 8px;
    display: flex;
    align-items: flex-end; /* Alineamos a la base */
}

.solution-desc {
    grid-row: 4;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
    min-height: 55px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.solution-card:hover .solution-desc {
    opacity: 1;
    transform: translateY(0);
}

/* --- INDUSTRIAL FOOTER v3.0 --- */
.industrial-footer {
    padding: 100px 0 40px;
    background: linear-gradient(0deg, rgba(0,243,255,0.02) 0%, transparent 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col h4 {
    color: var(--secondary);
    font-size: 11px;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    max-width: 400px;
    margin-top: 20px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-newsletter {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 32px;
    border-radius: var(--radius-sm);
    margin-bottom: 60px;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-content p {
    font-size: 14px;
    color: var(--gray);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
}

.newsletter-form button {
    background: var(--secondary);
    color: var(--black);
    border: none;
    padding: 0 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--white);
    box-shadow: 0 0 20px rgba(0,243,255,0.4);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .section-with-bg {
        background-attachment: scroll; /* Mejora rendimiento en móvil */
        padding: 80px 0;
    }
    .hero-content, .calc-grid, .benefits-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-content {
        text-align: center;
        gap: 40px;
    }
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .nav-links {
        display: none;
    }
    .newsletter-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .calc-top-bar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .impact-grid {
        grid-template-columns: 1fr;
    }
    .result-value {
        font-size: 42px;
    }
}

/* CONTACT SECTION (SUPER CEREBRO V5) */
.section-contact {
    padding-top: 0;
    margin-top: -60px;
    z-index: 10;
}

.contact-card {
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glow-contact {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.05;
    pointer-events: none;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 320px;
    text-align: left;
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wa-btn:hover {
    border-color: #25D366;
}

.btn-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.wa-btn .btn-icon { color: #25D366; }

.btn-texts {
    display: flex;
    flex-direction: column;
}

.btn-top {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.btn-main {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

/* WA FLOATING */
.wa-floating {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.wa-floating:hover {
    transform: scale(1.1) rotate(5deg);
}

.wa-tooltip {
    position: absolute;
    right: 80px;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wa-floating:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    right: 90px;
}

@media (max-width: 768px) {
    .contact-card { padding: 40px 20px; }
    .contact-btn { min-width: 100%; }
    .wa-floating { bottom: 20px; right: 20px; width: 56px; height: 56px; }
}

/* FAQ SLIDER STYLES */
.faq-slider-container {
    position: relative;
    margin-top: 60px;
    padding-bottom: 40px;
}

.faq-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
}

.faq-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.faq-slide {
    flex: 0 0 350px;
    scroll-snap-align: center;
    padding: 40px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease;
}

.faq-slide:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary);
}

.slide-num {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--secondary);
    opacity: 0.6;
}

.faq-slide h4 {
    font-size: 13px;
    color: var(--white);
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.slide-objection {
    font-size: 14px;
    color: var(--primary);
    font-style: italic;
}

.slide-answer {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
}

.slider-hint {
    text-align: center;
    font-size: 11px;
    color: var(--gray);
    margin-top: 20px;
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .faq-slide {
        flex: 0 0 85vw;
    }
}



