/* ==========================================================================
   AGROTECH DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary-dark: #081C15;
    /* Dark Forest Green */
    --color-primary-medium: #1B4332;
    /* Deep Moss Green */
    --color-primary-light: #2D6A4F;
    /* Medium Sage Green */
    --color-accent: #52B788;
    /* Vibrant Lime/Spring Green */
    --color-accent-hover: #74C69D;
    /* Soft Light Green */
    --color-bg-light: #F8F9FA;
    /* Off-white */
    --color-bg-gray: #F1F5F2;
    /* Light green-tinted gray */
    --color-text-dark: #202523;
    /* Charcoal for readability */
    --color-text-muted: #555E5A;
    /* Muted gray-green */
    --color-text-white: #FFFFFF;
    /* Pure white */

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout & Spacing */
    --container-max-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 15px rgba(82, 183, 136, 0.3);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

/* Common Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-green {
    color: var(--color-accent) !important;
}

.text-white {
    color: var(--color-text-white) !important;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    display: inline-block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

/* Section Header Styling */
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 700px;
}

@media (min-width: 992px) {
    .section-header-split {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 3rem;
    }

    .section-header-split h2 {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .section-header-split p {
        margin-bottom: 0.2rem;
    }
}

/* Animations Triggered by Scroll */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-text-white);
}

.btn-outline:hover {
    background-color: var(--color-text-white);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-dark-outline {
    border-color: var(--color-primary-dark);
    color: var(--color-primary-dark);
}

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

/* ==========================================================================
   NAVIGATION BAR (NAVBAR)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background-color: rgba(8, 28, 21, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(82, 183, 136, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.scrolled .nav-logo {
    height: 76px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text-white);
    line-height: 1;
    letter-spacing: -0.02em;
    transition: var(--transition-smooth);
}

.scrolled .brand-name {
    font-size: 1.85rem;
}

.brand-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.15rem;
    transition: var(--transition-smooth);
}

.scrolled .brand-tagline {
    font-size: 0.72rem;
}

.nav-links {
    display: none;
}

.nav-cta-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    padding: 0.65rem 1.25rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border: 2px solid var(--color-accent);
}

.nav-cta-btn:hover {
    background-color: transparent;
    color: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.nav-cta-btn:hover .btn-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Active Menu Toggle States */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Navigation Breakpoints */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        gap: 2.25rem;
    }

    .nav-item {
        font-family: var(--font-heading);
        font-size: 0.95rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.8);
        position: relative;
        padding: 0.5rem 0;
    }

    .nav-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--color-accent);
        transition: var(--transition-smooth);
    }

    .nav-item:hover,
    .nav-item.active {
        color: var(--color-text-white);
    }

    .nav-item:hover::after,
    .nav-item.active::after {
        width: 100%;
    }

    .nav-cta-btn {
        display: flex;
    }
}

/* Mobile Navigation Dropdown & Responsive Navbar Sizes */
@media (max-width: 991px) {
    .nav-logo {
        height: 100px;
    }

    .scrolled .nav-logo {
        height: 75px;
    }

    .brand-name {
        font-size: 2rem;
    }

    .scrolled .brand-name {
        font-size: 1.5rem;
    }

    .brand-tagline {
        font-size: 0.8rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-primary-dark);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.5s;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
        visibility: hidden;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-item {
        font-family: var(--font-heading);
        font-size: 1.3rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
    }

    .nav-item:hover,
    .nav-item.active {
        color: var(--color-accent);
    }
}

@media (max-width: 576px) {
    .nav-logo {
        height: 85px;
    }

    .scrolled .nav-logo {
        height: 65px;
    }

    .brand-name {
        font-size: 1.6rem;
    }

    .scrolled .brand-name {
        font-size: 1.3rem;
    }

    .brand-tagline {
        display: none;
        /* Hide tagline on small screens to avoid clutter and overlap */
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

/* ==========================================================================
   HERO / HEADER SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(8, 28, 21, 0.8) 0%,
            rgba(8, 28, 21, 0.6) 50%,
            rgba(8, 28, 21, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    padding: 0 2rem;
    text-align: center;
    color: var(--color-text-white);
    margin-top: 4rem;
}

/* Carrusel de textos */
.carousel-container {
    position: relative;
    min-height: 220px;
    margin-bottom: 2rem;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text-white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.highlight-green {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
}

@media (min-width: 768px) {
    .carousel-container {
        min-height: 180px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Animations within slider */
.carousel-slide.active .animate-text {
    animation: slideUpFade 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.carousel-slide.active .animate-text-delay {
    animation: slideUpFade 0.7s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background-color: var(--color-accent);
    transform: scale(1.2);
    box-shadow: var(--shadow-glow);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

@media (min-width: 576px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* ==========================================================================
   HIGHLIGHTS BAR (BARRA DE CARACTERÍSTICAS)
   ========================================================================== */
.highlights-bar {
    position: relative;
    background-color: var(--color-primary-dark);
    border-bottom: 1px solid rgba(82, 183, 136, 0.15);
    padding: 2.5rem 0;
    z-index: 10;
    margin-top: -2px;
    overflow: hidden;
    width: 100%;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0.5rem 0;
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    transition: var(--transition-smooth);
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.15) rotate(5deg);
}

.highlight-text h3 {
    font-size: 0.95rem;
    color: var(--color-text-white);
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.highlight-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 576px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .highlight-item {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 1.5rem;
    }

    .highlight-item:last-child {
        border-right: none;
        padding-right: 0;
    }
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--color-bg-light);
    padding: 8rem 0;
    overflow-x: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.service-card {
    position: relative;
    background-color: var(--color-text-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(82, 183, 136, 0.25);
}

.card-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 195px;
    left: 24px;
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--color-text-white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    z-index: 5;
}

.card-badge svg {
    width: 20px;
    height: 20px;
}

.service-card:hover .card-badge {
    background-color: var(--color-primary-dark);
    color: var(--color-accent);
    transform: rotate(360deg);
}

.card-content {
    padding: 2.5rem 2rem 2rem;
}

.card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    height: 80px;
    /* Fixed height for clean grid alignment */
    overflow: hidden;
}

.features-bar {
    background-color: var(--color-primary-dark);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.features-bar::before,
.features-bar::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 768px) {
    .features-bar::before,
    .features-bar::after {
        width: 150px;
    }
}

.features-bar::before {
    left: 0;
    background: linear-gradient(to right, var(--color-primary-dark) 0%, transparent 100%);
}

.features-bar::after {
    right: 0;
    background: linear-gradient(to left, var(--color-primary-dark) 0%, transparent 100%);
}

.features-ticker {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.features-ticker-track {
    display: flex;
    width: max-content;
    gap: 6rem;
    padding-right: 6rem;
    animation: tickerScroll 25s linear infinite;
}

.features-ticker:hover .features-ticker-track {
    animation-play-state: paused;
}

.f-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    width: 250px;
    text-align: center;
}

.f-bar-icon {
    width: 2.25rem;
    height: 2.25rem;
    color: var(--color-accent);
}

.f-bar-item span {
    font-family: var(--font-header);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-white);
    white-space: nowrap;
}

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

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

.card-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary-light);
    display: inline-flex;
    align-items: center;
}

.card-link:hover {
    color: var(--color-accent);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   INTERACTIVE STATS SECTION
   ========================================================================== */
.stats-section {
    background-color: var(--color-primary-dark);
    background-image: linear-gradient(135deg, var(--color-primary-dark) 0%, rgba(27, 67, 50, 0.8) 100%);
    color: var(--color-text-white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(82, 183, 136, 0.1);
    border-bottom: 1px solid rgba(82, 183, 136, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 1rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 250px;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   PRODUCTS SECTION (FERTILIZANTES)
   ========================================================================== */
.products-section {
    background-color: var(--color-bg-gray);
    padding: 8rem 0;
    overflow-x: hidden;
}

.products-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.products-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.products-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12));
    transition: var(--transition-smooth);
}

.products-layout:hover .products-img {
    transform: scale(1.02);
}

/* Products Detail Tabs */
.products-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-item {
    background-color: var(--color-text-white);
    padding: 1.75rem 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid transparent;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.product-item:hover,
.product-item.active {
    box-shadow: var(--shadow-md);
    border-left-color: var(--color-accent);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.product-badge {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-accent);
    background-color: rgba(82, 183, 136, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-grow: 1;
}

.weight-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-text-muted);
    background-color: var(--color-bg-gray);
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius-sm);
}

.product-body-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-item.active .product-body-wrapper {
    grid-template-rows: 1fr;
}

.product-body-inner {
    overflow: hidden;
}

.product-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1), transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-bullets {
    list-style: none;
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1) 0.05s, transform 0.35s cubic-bezier(0.25, 1, 0.5, 1) 0.05s;
}

.product-bullets li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
}

.product-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* Active State layout details */
.product-item.active .product-desc,
.product-item.active .product-bullets {
    opacity: 1;
    transform: translateY(0);
}

.products-actions {
    margin-top: 1.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    .products-layout {
        grid-template-columns: 1.1fr 1fr;
        gap: 5rem;
    }
}

/* ==========================================================================
   ABOUT US SECTION (NOSOTROS)
   ========================================================================== */
.about-section {
    background-color: var(--color-bg-light);
    padding: 8rem 0;
    overflow-x: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.about-feat-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.green-check {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.about-feat-item div {
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.about-feat-item strong {
    color: var(--color-primary-dark);
}

/* About Visual graphics */
.about-visual {
    display: flex;
    justify-content: center;
}

.glass-info-card {
    background: linear-gradient(135deg, var(--color-primary-medium) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    width: 100%;
    border: 1px solid rgba(82, 183, 136, 0.2);
    position: relative;
}

.glass-info-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.brand-badge-mini {
    display: inline-block;
    background-color: rgba(82, 183, 136, 0.15);
    color: var(--color-accent);
    padding: 0.35rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.glass-info-card h4 {
    color: var(--color-text-white);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.glass-info-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.progress-bar-group {
    margin-bottom: 1.5rem;
}

.progress-bar-group:last-child {
    margin-bottom: 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.progress-track {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--color-accent);
    border-radius: 3px;
    box-shadow: var(--shadow-glow);
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1.12fr 1fr;
        gap: 5rem;
    }
}

/* El bloque de estilos de LOWER FEATURES BAR duplicado ha sido eliminado para usar la marquesina infinita definida anteriormente. */

/* ==========================================================================
   CONTACT & FORM SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--color-bg-light);
    padding: 8rem 0;
    overflow-x: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info>p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.c-method {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.c-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(82, 183, 136, 0.1);
    color: var(--color-accent);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-icon svg {
    width: 22px;
    height: 22px;
}

.c-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.c-text a,
.c-text p {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.c-text a:hover {
    color: var(--color-accent);
}

/* WhatsApp direct callout box */
.whatsapp-card {
    background-color: var(--color-bg-gray);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(82, 183, 136, 0.15);
}

.whatsapp-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.whatsapp-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #25D366;
    /* Official WhatsApp color */
    color: var(--color-text-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.wa-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.wa-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Form Wrapper */
.contact-form-wrapper {
    background-color: var(--color-text-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.form-title {
    margin-bottom: 2rem;
}

.form-title h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.form-title p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--border-radius-sm);
    outline: none;
    transition: var(--transition-smooth);
    background-color: var(--color-bg-light);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    background-color: var(--color-text-white);
    box-shadow: var(--shadow-glow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 576px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.btn-submit {
    width: 100%;
    background-color: var(--color-primary-dark);
    color: var(--color-text-white);
    border: none;
    gap: 0.75rem;
    padding: 1.1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
}

.submit-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-submit:hover .submit-arrow {
    transform: translate(3px, -3px);
}

/* Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 28, 21, 0.95);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.form-success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-box {
    text-align: center;
    color: var(--color-text-white);
}

.success-icon {
    width: 72px;
    height: 72px;
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-glow);
}

.success-icon svg {
    width: 36px;
    height: 36px;
}

.success-box h3 {
    color: var(--color-text-white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.success-box p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.success-box .btn {
    min-width: 150px;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.15fr;
        gap: 5rem;
    }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background-color: #030a08;
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
    border-top: 1px solid rgba(82, 183, 136, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand .logo-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.footer-logo {
    height: 160px;
    width: auto;
    object-fit: contain;
}

.footer-brand .brand-name {
    font-size: 3.2rem;
}

.footer-brand .brand-tagline {
    font-size: 1.1rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 350px;
}

.footer h4 {
    color: var(--color-text-white);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.75rem;
    font-weight: 700;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact li svg {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-contact a:hover {
    color: var(--color-accent);
}

/* Social icons footer */
.social-icons {
    display: flex;
    gap: 1rem;
}

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

.social-icons a:hover {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    border-color: var(--color-accent);
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    font-size: 0.8rem;
}

.footer-bottom-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a:hover {
    color: var(--color-accent);
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 576px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .footer-bottom-flex {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ==========================================================================
   PROMO VIDEO BANNER SECTION
   ========================================================================== */
.promo-banner-section {
    position: relative;
    height: 85vh;
    min-height: 550px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-dark);
}

.promo-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.promo-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 3%;
}

.promo-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 43, 31, 0.55) 0%, rgba(8, 28, 20, 0.85) 100%);
    z-index: 2;
}

/* Curve Dividers */
.curve-divider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 130px;
    z-index: 3;
    pointer-events: none;
}

.curve-divider.curve-top {
    top: -2px;
    /* Avoid sub-pixel lines */
}

.curve-divider.curve-bottom {
    bottom: -2px;
}

.curve-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Center Content */
.promo-banner-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: var(--color-text-white);
    max-width: 700px;
    padding: 0 2rem;
}

.promo-banner-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    color: var(--color-text-white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

/* Custom Pill Button */
.btn-promo-pill {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    padding: 0.75rem 0.75rem 0.75rem 2.25rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 25px rgba(82, 183, 136, 0.25);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-promo-pill:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(82, 183, 136, 0.45);
    background-color: var(--color-accent-hover);
}

.promo-pill-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-primary-dark);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-promo-pill:hover .promo-pill-icon {
    transform: rotate(360deg);
    background-color: var(--color-text-white);
    color: var(--color-primary-dark);
}

.promo-pill-icon svg {
    width: 18px;
    height: 18px;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .promo-banner-section {
        height: 360px;
    }

    .promo-banner-content h2 {
        font-size: 1.85rem;
        margin-bottom: 1.5rem;
    }

    .curve-divider {
        height: 80px;
    }

    .btn-promo-pill {
        padding: 0.6rem 0.6rem 0.6rem 1.75rem;
        font-size: 0.85rem;
    }

    .promo-pill-icon {
        width: 30px;
        height: 30px;
    }

    .promo-pill-icon svg {
        width: 14px;
        height: 14px;
    }
}