/* Core Master Stylesheet - DronAgro Red & Dark Burgundy Brand System */
@import url('navbar.css');
@import url('hero.css');
@import url('zigzag.css');
@import url('metrics.css');
@import url('faq.css');
@import url('footer.css');

:root {
    --color-bg-pure: #ffffff;
    --color-bg-alt: #f8fafc;

    /* DronAgro Brand Identity Colors */
    --color-primary: #8a0e0e;
    /* Rojo Corporativo DronAgro */
    --color-primary-hover: #730a0a;
    /* Rojo Oscuro Hover */
    --color-accent: #15803d;
    /* Verde Agro Profundo (WhatsApp & Campo) */
    --color-accent-hover: #166534;
    /* Verde Oscuro Hover */
    --color-dark-bordo: #1c0d15;
    /* Bordó Oscuro Noche (Header & Footer) */
    --color-dark-bordo-border: #331525;
    /* Borde Bordó Noche */

    --color-text-main: #111827;
    --color-text-secondary: #4b5563;
    --color-text-muted: #6b7280;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;

    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* CSS Reset & Global Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    letter-spacing: -0.02em;
}

/* Container Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.bg-white {
    background-color: var(--color-bg-pure);
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

/* WhatsApp Primary CTA Button - Verde Agro Profundo */
.btn-wsp-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    background-color: #15803d;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(21, 128, 61, 0.3);
    border: none;
}

.btn-wsp-primary:hover {
    background-color: #166534;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(21, 128, 61, 0.4);
}

.btn-wsp-primary svg {
    flex-shrink: 0;
}

/* Utility Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Store CTA Mid-Page Banner */
.store-cta-banner {
    background-color: #9b9b9b52;
    padding: 40px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.store-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.store-cta-tag {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;

}

.store-cta-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.store-cta-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: #f3f4f6;
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-store-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    background-color: #ffffff;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    border: none;
}

.btn-store-cta:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Product Marquee Carousel */
.product-marquee-viewport {
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);

}

.product-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marqueeScroll 120s linear infinite;
}

.product-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Product Card in Marquee */
.marquee-product-card {
    width: 220px;
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    box-shadow: 0 0px 7px rgb(15, 15, 15, 0.7);
}

.marquee-product-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.marquee-product-img-container {
    width: 100%;
    height: 130px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
    padding: 8px;
    box-sizing: border-box;
}

.marquee-product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.marquee-product-brand {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.marquee-product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6rem;
}

.marquee-product-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #38bdf8;
}