/* Colorimetria Surya PNL */
:root {
    --primary-black: #0d0d0d;
    --primary-white: #ffffff;
    --trust-blue: #0033a0;
    --action-amber: #ffb81c;
    --eco-green: #00a859;
    --power-vinotinto: #800020;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--primary-black);
    background-color: var(--primary-white);
}

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.section-padding { padding: 100px 0; }
.text-green { color: var(--eco-green) !important; }
.text-white { color: var(--primary-white) !important; }
.bg-black { background-color: var(--primary-black); color: var(--primary-white); }
.bg-light { background-color: #f8f9fa; }

/* Botones y Animaciones */
.btn-amber {
    display: inline-block;
    background-color: var(--action-amber);
    color: var(--primary-black);
    font-weight: 800;
    padding: 15px 35px;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-large {
    font-size: 1.25rem;
    padding: 18px 45px;
}

.btn-amber:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 184, 28, 0.4);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 184, 28, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 184, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 184, 28, 0); }
}

.btn-outline-blue {
    display: inline-block;
    border: 2px solid var(--trust-blue);
    color: var(--trust-blue);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-blue:hover {
    background-color: var(--trust-blue);
    color: var(--primary-white);
}

.btn-outline-neon-blue {
    display: inline-block;
    border: 2px solid #0056FF;
    color: #0056FF;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 86, 255, 0.3);
    background-color: transparent;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-outline-neon-blue:hover {
    background-color: #0056FF;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 86, 255, 0.6), inset 0 0 10px rgba(0, 86, 255, 0.5);
    transform: translateY(-2px);
}

.btn-neon-orange {
    display: inline-block;
    background: linear-gradient(135deg, #ff4e00, #ec9f05);
    color: #fff;
    font-size: 1.3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    padding: 22px 60px;
    border-radius: 60px;
    border: none;
    box-shadow: 0 0 25px rgba(255, 78, 0, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 2px;
    margin-top: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.btn-neon-orange::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    opacity: 0;
}

.btn-neon-orange:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 78, 0, 0.9), inset 0 0 15px rgba(255, 255, 255, 0.6);
    color: #fff;
}

.btn-neon-orange:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.15;
}

.btn-neon-green {
    display: inline-block;
    background: linear-gradient(135deg, #00ff00, #00b300);
    color: #000;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    padding: 18px 40px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.btn-neon-green::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    opacity: 0;
}

.btn-neon-green:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 255, 0, 0.7), inset 0 0 15px rgba(255, 255, 255, 0.6);
    color: #000;
}

.btn-neon-green:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.2;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--trust-blue);
    letter-spacing: 1px;
}

.logo-img {
    height: 40px;
    margin-right: 15px;
}

/* Hamburger Dropdown Styles */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-black);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-links {
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: var(--primary-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    width: 100%;
}

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

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

/* Section 1: Hero Parallax */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -2;
    background: #000; /* Fallback */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--primary-white);
    max-width: 800px;
    padding: 0 20px;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff, var(--action-amber));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #e0e0e0;
}

/* Fade in up animation */
.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Section 2: Simulador */
.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.section-desc {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 50px;
}

.simulator-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.styled-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: #e2e8f0;
    border-radius: 5px;
    outline: none;
}

.styled-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--trust-blue);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,51,160,0.4);
    transition: transform 0.2s;
}

.styled-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider-label {
    font-weight: 600;
    color: #777;
    font-size: 0.9rem;
    min-width: 90px;
    text-align: center;
}

.current-value {
    font-size: 1.5rem;
    font-weight: 600;
}

.value-highlight {
    font-size: 2.5rem;
    color: var(--primary-black);
    font-family: 'Outfit', sans-serif;
    display: block;
    margin-top: 10px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.result-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.result-card:hover { transform: translateY(-5px); }

.highlight-card {
    border-color: rgba(0, 168, 89, 0.3);
    background: rgba(0, 168, 89, 0.02);
}

.result-card h3 {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 15px;
}

.result-value {
    font-size: 2.2rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
}

.result-note {
    font-size: 0.9rem;
    color: #888;
}

.hero-cta-wrapper {
    margin-top: 20px;
}

/* Section 3: Oferta */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.offer-card {
    background: #fff;
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 4px solid transparent;
}

.offer-card.hover-blue:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--trust-blue);
    box-shadow: 0 25px 40px rgba(0,51,160,0.1);
}

.offer-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    color: #ccc;
    transition: color 0.4s;
}

.offer-card:hover .offer-icon {
    color: var(--trust-blue);
}

.offer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.offer-card p {
    color: #666;
    line-height: 1.6;
}

/* Section 4: Producto Batería (Advanced LFP) */
.product-section {
    background-color: var(--primary-black);
    padding: 120px 0;
    overflow: hidden;
    position: relative;
}

.product-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.product-text {
    flex: 1;
    color: #ddd;
}

.tech-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.05);
}

.LFP-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
    max-width: 500px;
}

.LFP-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 90%;
}

.zero-cuts-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.3s;
}

.zero-cuts-badge:hover {
    transform: translateY(-3px);
}

.thunder-icon {
    width: 24px;
    height: 24px;
}

.product-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-green {
    position: absolute;
    width: 400px;
    height: 400px;
    background: #00ff00;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.battery-wrapper {
    position: relative;
    z-index: 2;
    width: 380px;
    height: 550px;
    perspective: 1000px;
}

.battery-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1f1f1f, #0a0a0a);
    border-radius: 20px;
    box-shadow: 
        -10px 0 30px rgba(0,0,0,0.8),
        inset 2px 2px 10px rgba(255,255,255,0.05),
        inset -5px -5px 15px rgba(0,0,0,0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
    border-right: 2px solid #333;
    border-bottom: 3px solid #000;
}

.battery-led-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateZ(20px);
    display: flex;
    gap: 10px;
}

.battery-led {
    width: 30px;
    height: 4px;
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    border-radius: 2px;
}

.battery-brand {
    position: absolute;
    right: 40px;
    bottom: 120px;
    color: rgba(255,255,255,0.05);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    letter-spacing: 15px;
    transform: rotate(-90deg) translateZ(10px);
    transform-origin: right bottom;
}

.warranty-badge {
    position: absolute;
    top: 40px;
    right: -40px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    transform: translateZ(50px);
    z-index: 3;
}

.shield-icon {
    width: 24px;
    height: 24px;
}

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

.float-anim-delayed {
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 900px) {
    .product-layout { flex-direction: column; text-align: center; }
    .LFP-title { font-size: 2.8rem; margin: 0 auto 30px; }
    .LFP-desc { margin: 0 auto 30px; }
    .warranty-badge { right: 5%; top: -20px; font-size: 0.9rem; padding: 10px 15px;}
    .shield-icon { width: 18px; height: 18px; }
    .battery-wrapper { width: 300px; height: 450px; }
}

/* Section 5: Autoridad */
.authority-section {
    background: #fff;
}

.logos-carousel {
    overflow: hidden;
    padding: 40px 0;
    white-space: nowrap;
    position: relative;
    margin-bottom: 50px;
}

.logos-slide {
    display: inline-flex;
    gap: 30px;
    animation: slideLogo 30s linear infinite;
}

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

.logo-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
    background: #f4f4f4;
    border-radius: 10px;
    filter: grayscale(100%);
    transition: all 0.3s;
    cursor: pointer;
}

.logo-box:hover {
    filter: grayscale(0%);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: scale(1.05);
}

.logo-box h3 {
    color: var(--trust-blue);
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.mini-tag {
    font-size: 0.8rem;
    color: var(--eco-green);
    margin-top: 5px;
    font-weight: 600;
}

.portfolio-cta-wrapper {
    margin-bottom: 60px;
}

/* Operators Carousel */
.operators-section {
    margin-bottom: 50px;
}

.operators-carousel {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.operators-track {
    display: flex;
    gap: 30px;
    animation: slideOperators 25s linear infinite;
    width: max-content;
    will-change: transform;
}

.operators-track:hover {
    animation-play-state: running;
}

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

.operator-logo-box {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    background: #f4f4f4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
    cursor: pointer;
}

.operator-logo-box:hover {
    filter: grayscale(0%) opacity(1);
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: scale(1.08);
}

.operator-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .operators-section .section-title {
        font-size: 1.4rem !important;
    }
    .operator-logo-box {
        width: 130px;
        height: 75px;
        padding: 10px;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ================================= */
/* PORTAFOLIO PAGE STYLES            */
/* ================================= */

.portfolio-page {
    background-color: var(--primary-white);
}

.text-black { color: #111 !important; }
.text-amber { color: var(--action-amber) !important; }
.bg-darkish { background-color: #2c323a; }
.bg-dark-card { background-color: #1e2329; border: 1px solid #3d454e; }

.split-section {
    position: relative;
    overflow: hidden;
}

.pattern-waves::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 150px;
    background: radial-gradient(circle at 50% 100%, #2c323a 10%, transparent 60%);
    z-index: 0;
    opacity: 0.1;
}

.grid-2-uneven {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.portfolio-text-block h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.amber-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--action-amber);
    border-left: 4px solid var(--action-amber);
    padding-left: 20px;
    margin-bottom: 30px;
    font-weight: 600;
}

.portfolio-text-block p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
}

.orange-card {
    background-color: var(--action-amber);
    border-radius: 20px;
    padding: 50px 40px;
    color: #111;
    position: relative;
    box-shadow: 0 20px 40px rgba(255, 184, 28, 0.3);
}

.orange-card h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.orange-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 600;
}

.circle-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.circle-img-large {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid var(--action-amber);
    box-shadow: 0 15px 30px rgba(255, 184, 28, 0.2);
}

.section-heading-clean {
    font-size: 2.8rem;
    margin-bottom: 60px;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    min-width: 300px;
    flex: 1;
}

.stat-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ccc;
    font-weight: 400;
}

.big-stat {
    font-size: 2.8rem;
    margin: 15px 0;
}

.numbered-list-amber {
    list-style: none;
    padding: 0;
}

.numbered-list-amber li {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.numbered-list-amber li strong {
    color: var(--primary-black);
    font-size: 1.15rem;
}

.case-study-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.reverse-row {
    direction: rtl;
}
.reverse-row > * {
    direction: ltr;
}

.case-subtitle {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.case-details {
    list-style: none;
    padding: 0;
}

.case-details li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: #555;
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--action-amber);
}

.case-desc-compact {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

.border-radius-lg {
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.mosaic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.case-divider {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 80px 0;
}

.icons-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.icon-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #555;
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.icon-item:hover {
    transform: translateY(-5px);
    border-color: var(--action-amber);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.guarantee-box {
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
}

.guarantee-box h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.guarantee-box p {
    color: #aaa;
    margin-bottom: 10px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .grid-2-uneven, .case-study-row { grid-template-columns: 1fr; }
    .icons-grid-6 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .icons-grid-6 { grid-template-columns: 1fr; }
    .portfolio-text-block h2 { font-size: 2.2rem; }
}

.action-card {
    padding: 50px 40px;
    border-radius: 15px;
    background: #f8f9fa;
    border: 1px solid #eaeaea;
}

.action-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.action-card p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Section 6: Comunidad / Lead Magnet */
.community-section {
    position: relative;
    padding: 120px 20px;
    background: url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&q=80') center/cover fixed;
    display: flex;
    justify-content: center;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 51, 160, 0.7); /* Azul rey transparente */
}

.glassy-container {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 60px;
    max-width: 1000px;
    width: 100%;
    display: flex;
    gap: 50px;
    align-items: center;
}

.lead-content {
    flex: 1;
    color: #fff;
}

.lead-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.lead-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

.lead-form {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.lead-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.lead-form input:focus {
    border-color: var(--trust-blue);
}

.form-btn {
    width: 100%;
    padding: 18px;
}

.privacy-note {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
}

@media (max-width: 800px) {
    .glassy-container { flex-direction: column; padding: 40px 20px; }
}

/* Section 7: Referidos */
.referral-section {
    background: #f0f4f8;
}

.neon-ticket {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border: 2px solid var(--action-amber);
    box-shadow: 0 0 30px rgba(255, 184, 28, 0.3), inset 0 0 20px rgba(255, 184, 28, 0.1);
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.neon-ticket::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(transparent, rgba(255, 184, 28, 0.1), transparent 30%);
    animation: rotate 10s linear infinite;
    z-index: 0;
}

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

.ticket-content {
    position: relative;
    z-index: 1;
}

.ticket-title {
    font-size: 2.5rem;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.ticket-subtitle {
    font-size: 1.5rem;
    color: var(--trust-blue);
    margin-bottom: 30px;
}

.ticket-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-ticket {
    margin-top: 20px;
}

/* Footer Premium Style */
.footer {
    position: relative;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,193,7,0.3), transparent);
    margin: 0 auto;
}

.footer-brand .logo span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-brand .logo:hover span {
    transform: scale(1.05);
}

.footer-desc {
    color: #888;
    margin-top: 20px;
    line-height: 1.6;
    max-width: 320px;
    font-size: 0.95rem;
}

/* Location */
.footer-location {
    margin-top: 25px;
}
.location-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #999;
    text-decoration: none;
    line-height: 1.5;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.location-link svg {
    color: var(--action-amber);
    flex-shrink: 0;
    margin-top: 2px;
}
.location-link:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links h4, .footer-social h4 {
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--action-amber);
    transition: width 0.3s ease;
}

.footer-links:hover h4::after, .footer-social:hover h4::after {
    width: 100%;
}

.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--action-amber);
    transform: translateX(5px);
}

/* Social Icons Premium */
.social-icons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ccc;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn svg {
    transition: transform 0.3s ease;
}

.social-btn:hover {
    background: var(--action-amber);
    color: var(--primary-black);
    border-color: var(--action-amber);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

.social-btn:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    color: #666;
    font-size: 0.9rem;
}

.privacy-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}
.privacy-link:hover {
    color: var(--action-amber);
}

@media (max-width: 768px) {
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 40px;
        text-align: left;
    }
}

/* Floating WA */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

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

/* Base Intersection Observer Fade */
.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp Channel Banner (Reemplazo Comunidad) */
.channel-section {
    padding: 80px 0;
    background-color: var(--primary-black);
}

.channel-banner {
    position: relative;
    background-color: #124d9c; /* Deep Blue from flyer */
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    background-image: linear-gradient(135deg, rgba(18, 77, 156, 0.95) 0%, rgba(10, 40, 80, 0.95) 100%), url('https://images.unsplash.com/photo-1509391366360-1f95096ebfc4?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

.channel-content {
    flex: 1 1 350px;
    padding: 60px 40px;
    color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.channel-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: white;
    line-height: 1.1;
}

.channel-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 20px;
}

.text-orange {
    color: #ff6b00;
}

.channel-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.btn-wa-channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    align-self: flex-start;
}

.btn-wa-channel:hover {
    background-color: #1ebc5a;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.6);
}

.channel-image {
    flex: 1 1 350px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 20px 0 0;
    mask-image: linear-gradient(to right, transparent, black 15%);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%);
}

.channel-footer-bar {
    width: 100%;
    background-color: #ffb800; /* Yellow bottom bar */
    color: #111;
    text-align: center;
    padding: 15px;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    z-index: 2;
}

@media (max-width: 768px) {
    .team-img {
        display: none;
    }
    .channel-content {
        padding: 40px 25px;
        align-items: center;
        text-align: center;
    }
    .channel-title {
        font-size: 2.5rem;
    }
    .btn-wa-channel {
        width: 100%;
        align-self: center;
    }

    /* FIXES MOBILE: Hero section & Simulator */
    .hero {
        padding-top: 130px !important;
        padding-bottom: 60px !important;
        min-height: auto !important;
    }
    .hero-title {
        font-size: 2.3rem !important;
        margin-top: 10px !important;
        line-height: 1.1 !important;
    }
    .hero-subtitle {
        font-size: 1.25rem !important;
        margin-bottom: 30px !important;
    }
    .simulator-card {
        padding: 25px 10px !important;
        margin: 0 5px !important;
    }
    .slider-wrapper {
        gap: 8px !important;
    }
    .slider-label {
        min-width: 75px !important;
        font-size: 0.8rem !important;
    }
    .result-display {
        font-size: 2.2rem !important;
    }
    .money-display {
        font-size: 1.8rem !important;
    }
    .slider-labels {
        font-size: 0.8rem !important;
    }
}

/* Fix for overlapping images */
.feature-img, .diagram-placeholder img, .zoom-img, .case-image img, .border-radius-lg {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
    width: 100%;
}
.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
}
.arrow-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}
.dropdown.active .arrow-down {
    transform: rotate(180deg);
}
.dropdown-menu {
    display: none;
    flex-direction: column;
    padding: 10px 0 0 15px;
    gap: 12px;
    border-left: 2px solid var(--action-amber);
    margin-top: 10px;
}
.dropdown-menu a {
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #555 !important;
}
.dropdown-menu a:hover {
    color: var(--trust-blue) !important;
}
.dropdown.active .dropdown-menu {
    display: flex;
}

/* Section 8: Ubicaciones Slider */
.location-section {
    background: #f8f9fa;
}

.location-slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
}

.location-slider-track {
    position: relative;
    overflow: hidden;
}

.location-slide {
    display: none;
    animation: locationFadeIn 0.4s ease;
}

.location-slide.active {
    display: block;
}

@keyframes locationFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.location-slide-label {
    display: inline-block;
    background: var(--action-amber);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 24px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.location-map-container {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.location-map-container iframe {
    display: block;
}

.location-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.location-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #555;
    font-weight: 600;
}

.location-info-item svg {
    color: var(--action-amber);
    flex-shrink: 0;
}

.location-btn {
    font-size: 1rem;
    padding: 14px 30px;
}

.location-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-80%);
    z-index: 2;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.location-slider-arrow:hover {
    background: var(--action-amber);
    border-color: var(--action-amber);
    color: #000;
    box-shadow: 0 6px 20px rgba(255,193,7,0.4);
}

.location-slider-prev {
    left: -5px;
}

.location-slider-next {
    right: -5px;
}

.location-slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.location-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.location-dot.active {
    background: var(--action-amber);
    border-color: var(--action-amber);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .location-slider-wrapper {
        padding: 0 10px;
    }
    .location-map-container {
        height: 280px;
    }
    .location-info {
        flex-direction: column;
        gap: 20px;
    }
    .location-info-item {
        font-size: 1rem;
    }
    .location-slider-arrow {
        width: 38px;
        height: 38px;
    }
    .location-slider-prev {
        left: -2px;
    }
    .location-slider-next {
        right: -2px;
    }
    .location-slide-label {
        font-size: 0.9rem;
        padding: 6px 18px;
    }
}
