/* CSS Variables based on Brand Guidelines */
:root {
    --color-primary: #008a4d; /* Verde Institucional */
    --color-accent: #f57c00;  /* Naranja Industrial */
    --color-bg: #ffffff;      /* Blanco Puro */
    --color-surface: #f4f6f8; /* Gris Acero/Claro para divisores */
    --color-text: #2c3e50;    /* Gris Pizarra para lectura */
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-badge: 'Impact', 'Arial Black', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

.promo-box h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.promo-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.text-center {
    text-align: center;
}

/* Badges */
.badge {
    font-family: var(--font-badge);
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.3rem 0.8rem;
    background: var(--color-accent);
    color: #fff;
    letter-spacing: 1px;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: #006b3a;
    border-color: #006b3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 138, 77, 0.3);
}

.btn-nav {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.5rem 1.5rem;
}

.btn-nav:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.4s ease;
}

.navbar.scrolled .nav-content {
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-text {
    font-family: 'Bauhaus 93', var(--font-heading);
    font-size: 2rem;
    color: var(--color-text);
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.navbar ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar a:not(.btn) {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navbar a:not(.btn):hover {
    color: var(--color-primary);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-content h1 span {
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Equipos Section */
.equipos {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.section-header {
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text);
    opacity: 0.8;
}

.epp-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.epp-card {
    display: flex;
    align-items: stretch;
    background: var(--color-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(60px);
}

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

.epp-card.reveal-active:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.epp-card-reverse {
    flex-direction: row-reverse;
}

.epp-image {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.epp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.epp-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.epp-content h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.epp-content p {
    font-size: 1.05rem;
    color: var(--color-text);
}

.epp-content ul li {
    margin-bottom: 0.8rem;
    position: relative;
}

/* Promociones */
.promociones {
    padding: 6rem 0;
    background-color: var(--color-surface);
}

.promociones h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.promociones > .container > p {
    margin-bottom: 4rem;
}

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

.promo-box {
    background: var(--color-bg);
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid var(--color-accent);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.8s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
}

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

.promo-box.reveal-active:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.promo-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.promo-box p {
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.promo-box .price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-accent);
}

/* Footer */
.footer {
    background-color: var(--color-text);
    color: #fff;
    padding-top: 5rem;
}

.footer-cta {
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4rem;
    margin-bottom: 3rem;
}

.footer-cta h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-cta p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
}

.footer-brand .footer-logo {
    height: 70px;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.footer-brand p {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-links ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.footer-links a,
.footer-contact a {
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-primary);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    background-color: rgba(0,0,0,0.2);
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 992px) {
    .epp-card, .epp-card-reverse {
        flex-direction: column;
    }
    
    .epp-image {
        min-height: 300px;
    }
    
    .epp-content {
        padding: 2.5rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .footer-info {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
}
