/* --- VARIABLES --- */
:root {
    --primary-blue: #0C1E3E;
    --gold: #948A54;
    --gold-light: #b3a86c;
    --text-dark: #2d3436;
    --text-gray: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- RESET & TYPOGRAPHY --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
}

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

.section-padding {
    padding: 100px 0;
}

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

.text-gold {
    color: var(--gold);
}

.mt-4 {
    margin-top: 1.5rem;
}

.w-100 {
    width: 100%;
}

/* --- BADGES --- */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(148, 138, 84, 0.2);
    color: var(--gold);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.badge-dark {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* --- BOTONES --- */
.btn-solid {
    background: var(--gold);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-solid:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(148, 138, 84, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: var(--transition);
}

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

/* --- NAVBAR MODERNO --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(12, 30, 62, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

/* Para que tu logo se vea bien y no como la caja fea */
.logo-img {
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.3)); /* Resalta en fondos oscuros */
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Imagen de selva ecuatoriana */
    background: linear-gradient(to right, rgba(12, 30, 62, 0.9), rgba(12, 30, 62, 0.6)), url('https://images.unsplash.com/photo-1454496522488-7a8e488e8606?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #dfe6e9;
    margin-bottom: 40px;
    font-weight: 300;
}

/* --- QUIÉNES SOMOS --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    gap: 20px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateX(10px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

/* --- PRODUCTOS (CARDS MODERNAS) --- */
.bg-light {
    background-color: var(--bg-light);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(12, 30, 62, 0.15);
}

.product-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 40px 30px;
    position: relative;
}

.icon-wrapper {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(148, 138, 84, 0.4);
}

.product-info h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.product-info p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.product-list {
    list-style: none;
}

.product-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.product-list i {
    margin-right: 10px;
}

/* --- AGENCIA / BANNER --- */
.agency-banner {
    background: var(--primary-blue);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    color: var(--white);
}

.agency-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

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

.agency-content p {
    color: #dfe6e9;
    margin-bottom: 15px;
}

.agency-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- FOOTER & FORM --- */
.footer {
    background: #061124; /* Azul marino más oscuro */
    color: var(--white);
    padding: 80px 0 20px;
}

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

.footer-logo {
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-contact h3, .footer-form h3 {
    margin-bottom: 25px;
    color: var(--gold);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b2bec3;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form select {
    padding: 15px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    outline: none;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-form input:focus, .contact-form select:focus {
    border-color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #b2bec3;
    font-size: 0.9rem;
}

/* --- WHATSAPP FLOTANTE --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* --- ANIMACIONES DE SCROLL (REVEAL) --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .about-grid, .product-grid, .agency-banner {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}