:root {
    --bg-dark: #0a0b10;
    --accent: #f39c12;
    --accent-secondary: #e67e22;
    --accent-glow: rgba(243, 156, 18, 0.4);
    --panel-blue: #2c3e50;
    --text-light: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Loader Styles (keeping existing loader functionality) */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #0a0b10 0%, #000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-content {
    text-align: center;
    width: 80%;
    max-width: 600px;
}

.animation-container.top-down {
    position: relative;
    height: 500px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    perspective: 1200px;
    overflow: visible;
}

.sun-container.top {
    position: relative;
    top: -100px;
    opacity: 0;
    transition: all 3s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 5;
}

.sun-container.top.active {
    top: 20px;
    opacity: 1;
}

.sun {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #fff 10%, #fff7e6 40%, #f39c12 70%, #e67e22 100%);
    border-radius: 50%;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 100px #f39c12, 0 0 200px rgba(243, 156, 18, 0.4);
    animation: sunFlicker 3s infinite alternate ease-in-out, sunDistort 8s infinite linear;
}

@keyframes sunDistort {

    0%,
    100% {
        border-radius: 50% 50% 50% 50%;
    }

    25% {
        border-radius: 45% 55% 48% 52%;
    }

    50% {
        border-radius: 53% 47% 55% 45%;
    }

    75% {
        border-radius: 48% 52% 43% 57%;
    }
}

@keyframes sunFlicker {
    0% {
        transform: scale(1);
        filter: brightness(1) contrast(1.1) drop-shadow(0 0 40px #f39c12);
    }

    100% {
        transform: scale(1.08);
        filter: brightness(1.4) contrast(1.4) drop-shadow(0 0 80px #f1c40f);
    }
}

.sun-glow-1,
.sun-glow-2,
.sun-glow-3,
.sun-glow-4 {
    position: absolute;
    border-radius: 50%;
}

.sun-glow-1 {
    width: 250%;
    height: 250%;
    background: radial-gradient(circle, rgba(255, 235, 180, 0.5) 0%, rgba(243, 156, 18, 0.3) 40%, transparent 70%);
    animation: pulseGlow 4s infinite alternate;
}

.sun-glow-2 {
    width: 400%;
    height: 400%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.25) 0%, transparent 70%);
    animation: pulseGlow 6s infinite alternate-reverse;
}

.sun-glow-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600%;
    height: 600%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.1) 0%, transparent 80%);
    filter: blur(20px);
}

.sun-glow-4 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200%;
    height: 1200%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.05) 0%, transparent 85%);
    filter: blur(50px);
}

.sun-corona {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 40px #f39c12, inset 0 0 30px #fff;
    animation: coronaSpin 15s linear infinite, coronaPulse 5s ease-in-out infinite;
    mix-blend-mode: screen;
}

@keyframes coronaSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes coronaPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

@keyframes pulseGlow {
    from {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.4;
    }

    to {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.8;
    }
}

.lens-flare {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250vw;
    height: 250vh;
    background: radial-gradient(circle at center, rgba(255, 250, 240, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 4s ease;
}

.sun-container.active~.lens-flare {
    opacity: 1;
}

.global-illumination {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 10%, rgba(243, 156, 18, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    mix-blend-mode: screen;
    transition: opacity 3s ease;
}

.hud-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 90vh;
    pointer-events: none;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent);
    opacity: 0.4;
}

.t-l {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.t-r {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
}

.b-l {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
}

.b-r {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    box-shadow: 0 0 15px var(--accent);
    opacity: 0.2;
    animation: scan 8s infinite linear;
}

@keyframes scan {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.sun-container.top.active~.global-illumination,
.sun-container.top.active~.light-leaks {
    opacity: 1;
}

.panel-container.redesigned.bottom {
    margin-top: 150px;
    position: relative;
    opacity: 1;
    transform: rotateX(25deg);
    z-index: 20;
    pointer-events: none;
}

.solar-panel {
    width: 280px;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.9));
}

#internal-charge {
    transition: width 0.1s linear;
}

.panel-outline {
    animation: techGlow 2s infinite alternate;
}

@keyframes techGlow {
    from {
        opacity: 0.1;
    }

    to {
        opacity: 0.4;
    }
}

.panel-container.charging {
    animation: intensePulse 0.15s infinite;
}

@keyframes intensePulse {
    0% {
        transform: scale(1) rotateX(25deg);
        filter: brightness(1.1) contrast(1.1);
    }

    50% {
        transform: scale(1.003) rotateX(25deg);
        filter: brightness(1.4) contrast(1.2);
    }

    100% {
        transform: scale(1) rotateX(25deg);
        filter: brightness(1.1) contrast(1.1);
    }
}

.energy-beam.top-down {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 550px;
    background: radial-gradient(ellipse at top, rgba(255, 245, 220, 0.8) 0%, rgba(243, 156, 18, 0.3) 30%, rgba(243, 156, 18, 0.1) 60%, transparent 95%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 10%, black 25%, black 75%, transparent 100%);
    opacity: 0;
    transition: opacity 2s ease;
    mix-blend-mode: screen;
    z-index: -1;
    pointer-events: none;
}

.beam-impact {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
    background: radial-gradient(ellipse at center, #fff 0%, var(--accent) 40%, transparent 80%);
    filter: blur(15px);
    z-index: 25;
    opacity: 0;
    transition: opacity 1.5s ease;
    mix-blend-mode: screen;
}

.panel-container.charging .beam-impact {
    opacity: 0.8;
    animation: impactPulse 0.5s infinite alternate;
}

@keyframes impactPulse {
    from {
        transform: translateX(-50%) scale(1);
        opacity: 0.6;
    }

    to {
        transform: translateX(-50%) scale(1.4);
        opacity: 1;
    }
}

.loading-stats {
    margin-top: 50px;
}

.percentage {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    background: linear-gradient(to bottom, #fff, #bdc3c7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-text {
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: #7f8c8d;
    text-transform: uppercase;
}

/* Main Content Styles */
#main-content {
    opacity: 0;
    transition: opacity 2s ease;
}

#main-content.visible {
    opacity: 1;
    display: block;
}

.hidden {
    display: none !important;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
    backdrop-filter: blur(10px);
    background: rgba(10, 11, 16, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 80px !important;
    height: 80px !important;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 6px;
    background: linear-gradient(to bottom, #fff, #f39c12);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.7rem;
    letter-spacing: 3px;
    opacity: 0.8;
    margin-top: 2px;
    color: #fff;
    text-transform: uppercase;
}





.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--accent);
    margin: 4px 0;
    transition: 0.4s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-nav {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-nav:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}

/* Buttons */
.primary-btn {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin-right: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.2);
    position: relative;
    overflow: hidden;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: 0.6s;
    opacity: 0;
}

.primary-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.4);
}

.primary-btn:hover::before {
    opacity: 1;
    left: 0%;
}

.primary-btn.full-width {
    width: 100%;
    margin: 0;
}

.secondary-btn {
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.secondary-btn.full-width {
    width: 100%;
}

/* Global scroll offset for fixed navbar (~100px tall) */
section {
    scroll-margin-top: 100px;
}

.hero-left-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-logo-img {
    width: 240px;
    height: 240px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 110px 10% 100px;
    gap: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(243, 156, 18, 0.08) 0%, transparent 40%);
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 50px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.hero-img:hover {
    transform: scale(1.02);
}



/* About Section */
#nosotros {
    padding: 40px 10%;
    background: #0d0f17;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.about-text h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.about-intro {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.7;
}

.about-features {
    margin: 40px 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--glass);
    border-radius: 15px;
    border-left: 3px solid var(--accent);
    transition: all 0.3s ease;
}

.about-feature:hover {
    background: rgba(243, 156, 18, 0.08);
    transform: translateX(10px);
}

.about-feature i {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.about-feature h4 {
    color: var(--accent);
    margin-bottom: 5px;
}

.about-feature p {
    opacity: 0.7;
    font-size: 0.95rem;
}

/* Portfolio Section */
#portafolio {
    padding: 120px 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.2rem;
    opacity: 0.7;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    height: 350px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    opacity: 0.8;
    margin-bottom: 15px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Benefits Grid */
#beneficios {
    padding: 40px 10%;
    background: #0d0f17;
}

#beneficios .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.benefit-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(243, 156, 18, 0.2);
}

.benefit-card .icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), transparent);
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: var(--accent);
    transition: all 0.4s ease;
}

.benefit-card:hover .icon-box {
    background: var(--accent);
    color: white;
    transform: rotateY(360deg);
    box-shadow: 0 0 30px var(--accent-glow);
}

.benefit-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.benefit-card p {
    opacity: 0.7;
    line-height: 1.6;
}

/* Calculator Section */
#calculadora {
    padding: 40px 10%;
    background: linear-gradient(135deg, #0a0b10 0%, #0d0f17 100%);
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.calculator-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.calculator-form h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.calculator-form p {
    opacity: 0.7;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.form-group select {
    cursor: pointer;
    background-color: rgba(20, 25, 35, 0.9);
    color: white;
}

.form-group select option {
    background-color: #1a1f2e;
    color: white;
    padding: 10px;
    font-size: 1rem;
}

.form-group select option:hover,
.form-group select option:focus,
.form-group select option:checked {
    background-color: var(--accent);
    color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(243, 156, 18, 0.05);
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.1);
}

.calculator-results {
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), transparent);
    border: 2px solid var(--accent);
    border-radius: 20px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calculator-results h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.result-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}


.tech-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 80px;
}

.tech-text h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.tech-text p {
    font-size: 1.2rem;
    opacity: 0.7;
    margin-bottom: 40px;
    line-height: 1.8;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    padding: 15px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-list li::before {
    content: '→';
    color: var(--accent);
    margin-right: 15px;
    font-weight: bold;
}

.tech-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tech-visual img:hover {
    transform: scale(1.05) rotateY(5deg);
}

.tech-content.mirror {
    grid-template-columns: 1fr 1.2fr;
}

.app-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.app-badges .secondary-btn {
    padding: 12px 25px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Testimonials */
#testimonios {
    padding: 40px 10%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(243, 156, 18, 0.15);
}

.stars {
    margin-bottom: 20px;
}

.stars i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-right: 5px;
}

.testimonial-card>p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--accent);
}

.testimonial-author span {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Process */
#process {
    padding: 40px 10%;
    background: #0d0f17;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.step {
    padding: 40px;
    background: var(--glass);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: var(--accent);
    background: rgba(243, 156, 18, 0.05);
    transform: translateY(-10px);
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 20px;
}

.step h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent);
}

/* Pricing */
#pricing {
    padding: 40px 10%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.price-card {
    background: var(--glass);
    padding: 60px 40px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.price-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    background: rgba(243, 156, 18, 0.05);
}

.price-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.popular {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 30px 0;
    background: linear-gradient(to bottom, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price span {
    font-size: 1rem;
    opacity: 0.5;
    background: none;
    -webkit-text-fill-color: #999;
}

.price-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin: 30px 0;
}

.price-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.8;
}

.price-card ul li i {
    color: var(--accent);
    margin-right: 10px;
}

.financing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
}

.financing-note i {
    font-size: 2.5rem;
    color: var(--accent);
}

/* Specs Table */
#specs {
    padding: 40px 10%;
    background: #0d0f17;
}

.specs-table-container {
    background: var(--glass);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--glass-border);
    overflow-x: auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th {
    text-align: left;
    padding: 20px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--glass-border);
    font-size: 0.95rem;
}

.specs-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table tr:hover {
    background: rgba(243, 156, 18, 0.05);
}

/* FAQ */
#faq {
    padding: 40px 10%;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass);
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-item.active {
    background: rgba(243, 156, 18, 0.05);
    border-color: var(--accent);
}

.faq-item h4 {
    color: var(--accent);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
}

.faq-item h4 i {
    transition: transform 0.3s ease;
}

.faq-item.active h4 i {
    transform: rotate(45deg);
}

.faq-item p {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    line-height: 1.7;
}

.faq-item.active p {
    max-height: 500px;
    opacity: 0.9;
    margin-top: 20px;
}

/* Quote Form Section */
#cotizacion {
    padding: 40px 10%;
    background: linear-gradient(135deg, #0a0b10 0%, #0d0f17 100%);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
}

.quote-form-wrapper h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-align: center;
}

.quote-subtitle {
    text-align: center;
    opacity: 0.7;
    margin-bottom: 50px;
}

.multi-step-form {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 24px;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.progress-step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.progress-step.completed {
    background: rgba(243, 156, 18, 0.3);
    border-color: var(--accent);
}

.progress-line {
    width: 100px;
    height: 2px;
    background: var(--glass-border);
    margin: 0 10px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-step h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.form-buttons .secondary-btn,
.form-buttons .primary-btn {
    flex: 1;
}

/* Contact Section */
#contacto {
    padding: 40px 10%;
    background: #0d0f17;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--glass);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--accent);
    margin-bottom: 8px;
}

.contact-item p {
    opacity: 0.8;
    line-height: 1.6;
}

.social-links h4 {
    margin-bottom: 20px;
    color: var(--accent);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.contact-form-wrapper {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 24px;
}

.contact-form-wrapper h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--accent);
}

/* Success Messages */
.success-message {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), transparent);
    border: 2px solid #27ae60;
    border-radius: 20px;
    animation: fadeIn 0.5s ease;
}

.success-message i {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.success-message h3,
.success-message h4 {
    color: #27ae60;
    margin-bottom: 15px;
}

/* Newsletter */
#newsletter {
    padding: 40px 10%;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), transparent);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.newsletter-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    opacity: 0.7;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.newsletter-form button {
    margin: 0;
}

/* Footer */
footer {
    background: #000;
    padding: 40px 10% 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand p {
    margin-top: 25px;
    opacity: 0.6;
    max-width: 350px;
    line-height: 1.6;
}

.certifications {
    margin-top: 20px;
}

.certifications p {
    font-size: 0.85rem;
    opacity: 0.5;
}

.footer-links h4 {
    margin-bottom: 25px;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.footer-links a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 12px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.4;
    font-size: 0.85rem;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {

    /* Navigation */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(10, 11, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px;
        gap: 25px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
    }

    .cta-nav {
        width: 100%;
    }

    /* Hero */
    #hero {
        grid-template-columns: 1fr;
        padding: 40px 8% 40px;
        gap: 50px;
        min-height: auto;
    }

    .hero-left-block {
        flex-direction: column;
        text-align: center;
    }

    .hero-logo-img {
        width: 180px;
        height: 180px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        text-align: center;
    }

    .about-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    /* Tech Content */
    .tech-content,
    .tech-content.mirror {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tech-list li {
        justify-content: center;
    }

    .app-badges {
        justify-content: center;
    }

    /* Calculator */
    .calculator-container {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    /* Typography */
    .section-header h2 {
        font-size: 2.5rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-logo-img {
        width: 140px;
        height: 140px;
    }

    .tech-text h2,
    .about-text h2 {
        font-size: 2.5rem;
    }

    /* Sections */
    section {
        padding: 80px 6%;
    }

    #hero {
        padding: 100px 6% 60px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 3rem;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Benefits */
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }

    .benefit-card {
        padding: 30px 20px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Process */
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        transform: scale(1);
    }

    .price-card.featured:hover {
        transform: scale(1) translateY(-10px);
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    .multi-step-form,
    .contact-form-wrapper {
        padding: 30px;
    }

    .progress-bar {
        transform: scale(0.85);
    }

    .form-buttons {
        flex-direction: column;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-content h2 {
        font-size: 2.5rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {

    /* Navigation */
    nav {
        padding: 20px 5%;
    }

    .logo {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }

    /* Hero */
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        margin: 0;
        padding: 14px 30px;
        font-size: 0.9rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .multi-step-form,
    .contact-form-wrapper {
        padding: 25px;
    }

    /* Benefits refinements */
    .benefit-card .icon-box {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .calculator-form h2,
    .quote-form-wrapper h2 {
        font-size: 2.2rem;
    }

    .form-step h3,
    .contact-form-wrapper h3 {
        font-size: 1.6rem;
    }

    /* Calculator Results */
    .result-grid {
        grid-template-columns: 1fr;
    }

    .result-value {
        font-size: 1.8rem;
    }

    /* Price */
    .price {
        font-size: 2.8rem;
    }

    .price-card {
        padding: 40px 25px;
    }

    /* FAQ */
    .faq-item {
        padding: 20px;
    }

    .faq-item h4 {
        font-size: 1rem;
    }

    /* Footer */
    footer {
        padding: 60px 5% 30px;
    }

    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    /* Touch-friendly sizing */
    .cta-nav,
    .primary-btn,
    .secondary-btn {
        min-height: 48px;
    }

    input,
    select,
    textarea {
        min-height: 48px;
    }
}

/* Smooth Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    section {
        scroll-margin-top: 100px;
    }

    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s ease;
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {

    nav,
    #loader,
    .hamburger,
    footer,
    #newsletter {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }
}