@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

:root {
    color-scheme: light;
    --bg: #ffffff;
    --surface: #f5f7fb;
    --text: #1a1a1a;
    --muted: #5a5a5a;
    --red: #e10600;
    --blue: #0b5bd3;
    --white: #1a1a1a;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 0, 0, 0.075);
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); */
}

.hero-intro {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/static/images/bannercableadoestructurado.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-intro-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 80px 24px 40px;
    color: #ffffff;
}

.hero-intro-content .eyebrow {
    color: #00bfff;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-intro-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin: 20px 0;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: #00bfff;
    margin: 24px auto;
}

.hero-intro-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.08em;
}

.brand span {
    color: var(--red);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.link {
    color: var(--blue);
    font-weight: 600;
}

.hero-parallax {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.parallax-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.hero-bg img {
    height: 110%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.3));
    z-index: 1;
}

.hero-parallax .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 24px;
}

.hero-parallax .hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    margin: 20px 0;
    line-height: 1.1;
}

.hero-parallax .hero-text {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.eyebrow {
    color: var(--blue);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 1.0rem;
}

.parallax-banner {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 80px 0;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    padding: 40px 24px;
}

.banner-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.banner-content p {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.section-header p {
    color: var(--muted);
    margin: 0;
}

.service-card,
.product-card,
.feature-card {
    background: var(--surface);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    gap: 16px;
    padding: 0 0 20px;
}

.service-card img,
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card h3,
.product-card h3,
.feature-card h3 {
    margin: 0 0 8px;
    padding: 0 20px;
}

.service-card p,
.product-card p,
.feature-card p {
    color: var(--muted);
    margin: 0 0 16px;
    padding: 0 20px;
}

.service-card .link {
    padding: 0 20px 20px;
    display: inline-block;
}

.product-showcase {
    display: grid;
    gap: 40px;
}

.product-featured {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--surface);
}

.product-featured .parallax-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 60%;
    height: 100%;
}

.product-featured .product-info {
    position: relative;
    z-index: 2;
    margin-left: auto;
    width: 45%;
    padding: 40px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.7), var(--bg) 20%, var(--bg));
}

.product-featured h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.product-featured p {
    color: var(--muted);
    margin-bottom: 24px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.product-card .btn {
    margin: 0 20px 20px;
    display: inline-flex;
    justify-content: center;
}

.swiper {
    padding-bottom: 32px;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--text);
}

.swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--red);
}

.brands-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.brand-pill {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 18px 24px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 24px 20px;
}

.split-parallax {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.split-content h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 20px;
}

.split-content p {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.features-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: var(--muted);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: bold;
}

.split-media {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.site-footer {
    padding: 32px 24px 48px;
    text-align: center;
    color: var(--muted);
}

#lottie-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    z-index: 1;
    opacity: 0.2;
}

.card-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.card-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-parallax .hero-content,
.hero-parallax .hero-cta a {
    opacity: 0;
}

@media (max-width: 720px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-actions {
        display: none;
    }

    .hero-parallax {
        min-height: 80vh;
    }

    .parallax-banner {
        min-height: 300px;
        margin: 40px 0;
    }

    .product-featured .parallax-layer {
        width: 100%;
        opacity: 0.3;
    }

    .product-featured .product-info {
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
    }
}
