@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --brand-green-dark: #8faf22;
    --brand-green-light: #b0cb52;
    --brand-red: #ff0000;
    --brand-black: #000000;
    --brand-white: #ffffff;
    --bg-light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-muted: #666666;
    --font-titles: 'Arial Rounded MT Bold', Arial, sans-serif;
    --font-text: 'Nunito', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-text);
    overflow-x: hidden;
}

body {
    background-color: var(--brand-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    color: var(--brand-black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

/* =========================================
   HEADER / NAV
   ========================================= */
header {
    background-color: var(--brand-white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container img {
    height: 90px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-contact {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.header-contact span {
    white-space: nowrap;
}

.header-contact strong {
    color: var(--brand-black);
}

.nav-cta {
    background-color: var(--brand-red);
    color: var(--brand-white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.nav-cta:hover {
    background-color: #cc0000;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    color: var(--brand-white);
    text-align: center;
    padding: 6rem 5% 5rem;
    position: relative;
    overflow: hidden;
    background-color: var(--brand-black);
}

.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeCarousel 15s infinite;
}

.slide-1 { background-image: url('../assets/hero_1.jpg'); animation-delay: 0s; }
.slide-2 { background-image: url('../assets/hero_2.jpg'); animation-delay: 5s; }
.slide-3 { background-image: url('../assets/hero_3.jpg'); animation-delay: 10s; }

@keyframes fadeCarousel {
    0%, 26.66% { opacity: 1; }
    33.33%, 93.33% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--brand-white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--brand-green-light);
}

.hero p {
    color: #cccccc;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--brand-green-dark);
    color: var(--brand-white);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(143, 175, 34, 0.4);
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
        flex-direction: column;
        gap: 1rem;
    }
    .logo-container img {
        height: 70px;
    }
    .header-right {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
    .header-contact {
        text-align: center;
    }
    .nav-cta {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    .hero {
        padding: 4rem 5% 3rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

/* =========================================
   VALUE PROPOSITION SECTION
   ========================================= */
.value-prop-section {
    padding: 5rem 5%;
    background-color: var(--brand-white);
    max-width: 1200px;
    margin: 0 auto;
}

.value-prop-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.value-prop-intro p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.value-prop-highlight {
    background-color: var(--bg-light-gray);
    padding: 2rem;
    border-left: 5px solid var(--brand-red);
    font-style: italic;
    color: var(--text-dark);
    font-size: 1.15rem;
    border-radius: 0 10px 10px 0;
    margin-bottom: 4rem;
}

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

.benefit-card {
    background: var(--brand-white);
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.benefit-card h4 {
    color: var(--brand-green-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-card h4::before {
    content: "✓";
    color: var(--brand-red);
    font-weight: bold;
}

.benefit-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =========================================
   TWO COLUMN INFOGRAPHIC SECTIONS
   ========================================= */
.section-wrapper {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-column {
    background: var(--bg-light-gray);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.info-column h2 {
    font-size: 2rem;
    color: var(--brand-black);
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--brand-green-light);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.feature-block {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--brand-white);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    flex-shrink: 0;
    color: var(--brand-red);
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Visual Placeholders / Badges */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.badge {
    background: #e9ecef;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* =========================================
   TABLE SECTION (CAPACIDAD DE REPORTE)
   ========================================= */
.table-section {
    padding: 4rem 5% 6rem;
    background-color: var(--brand-white);
}

.table-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--brand-white);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #2c3e50;
    color: var(--brand-white);
    font-family: var(--font-titles);
    font-size: 1.1rem;
}

td h4 {
    margin-bottom: 0.2rem;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #fcfcfc;
}

.format-icons {
    display: flex;
    gap: 15px;
}

.format-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.format-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .table-container {
        border: none;
        box-shadow: none;
        background: transparent;
    }
    table, thead, tbody, th, td, tr {
        display: block;
    }
    thead {
        display: none;
    }
    tr {
        background: var(--brand-white);
        margin-bottom: 1.5rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        padding: 1.5rem;
    }
    td {
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }
    td:last-child {
        border-bottom: none;
    }
}

/* =========================================
   CONTACT FORM SECTION
   ========================================= */
.contact-section {
    padding: 5rem 5%;
    background-color: var(--bg-light-gray);
    display: flex;
    justify-content: center;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    background: var(--brand-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: var(--font-text);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-green-dark);
}

.btn-submit {
    background-color: var(--brand-green-dark);
    color: var(--brand-white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(143, 175, 34, 0.4);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: var(--brand-black);
    color: var(--brand-white);
    text-align: center;
    padding: 3rem 5%;
    font-family: var(--font-text);
}

footer img {
    height: 90px;
    max-width: 100%;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

/* =========================================
   YOUTUBE VIDEO
   ========================================= */
.video-container {
    padding: 0 5%;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
