/* ==========================================
   CITROMUDAS — STYLE SYSTEM
   Modern Agro Website
   ========================================== */

/* ---------- CSS Variables ---------- */
:root {
    --color-primary: #2d6a2e;
    --color-primary-dark: #1a4d1b;
    --color-primary-light: #3d8b3e;
    --color-dark-green: #0f2b10;
    --color-accent: #c8a43a;
    --color-accent-text: #8a6e1d;
    --color-accent-light: #e0c85a;
    --color-bg-light: #f5f7f2;
    --color-bg-gray: #eef0eb;
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
    --color-text: #3a3a3a;
    --color-text-light: #6a6a6a;
    --color-border: #dde0d8;
    --color-whatsapp: #25d366;

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

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-fast: 0.2s ease;
    --transition-base: 0.35s ease;
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

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

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

/* ---------- Section Utilities ---------- */
.section {
    padding: 100px 0;
}

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

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

.section--dark {
    background: linear-gradient(135deg, var(--color-dark-green) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.section--green {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 50%, var(--color-dark-green) 100%);
    color: var(--color-white);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    background: none;
    color: var(--color-primary);
    padding: 0 0 10px 0;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
}

.section-tag::after {
    content: '';
    display: block;
    width: 100%;
    height: 2.5px;
    margin-top: 8px;
    border-radius: 3px;
    background: linear-gradient(90deg,
            var(--color-primary) 0%,
            var(--color-accent) 30%,
            var(--color-primary-light) 60%,
            var(--color-accent-light) 100%);
    background-size: 300% 100%;
    animation: tagLineShimmer 3s ease-in-out infinite;
    transform: scaleX(0);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.animate-on-scroll.visible .section-tag::after,
.section-header.visible .section-tag::after {
    transform: scaleX(1);
}

@keyframes tagLineShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.section-tag--white {
    color: rgba(255, 255, 255, 0.85);
}

.section-tag--white::after {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.4) 0%,
            var(--color-accent-light) 30%,
            rgba(255, 255, 255, 0.7) 60%,
            var(--color-accent-light) 100%);
    background-size: 300% 100%;
    animation: tagLineShimmer 3s ease-in-out infinite;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-title--white {
    color: var(--color-white);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

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

.text-accent-light {
    color: var(--color-accent-light);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 46, 0.35);
}

.btn--accent {
    background: linear-gradient(135deg, var(--color-accent), #b8942a);
    color: var(--color-dark);
    border-color: var(--color-accent);
}

.btn--accent:hover {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 164, 58, 0.4);
}

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

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

.btn--outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: var(--color-whatsapp);
    color: var(--color-white);
    border-color: var(--color-whatsapp);
}

.btn--whatsapp:hover {
    background: #1db954;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.header.scrolled .logo-text,
.header.scrolled .nav-link {
    color: var(--color-dark);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-base);
}

.header.scrolled .logo-img {
    height: 28px;
}

/* Removido estilos de texto antigo para limpeza, mas mantendo a classe header__logo para layout */
.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.header__nav {
    display: flex;
    gap: 32px;
}

.nav-header {
    display: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

.header__cta {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.header__burger span {
    width: 28px;
    height: 2.5px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.header.scrolled .header__burger span {
    background: var(--color-dark);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 43, 16, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001; /* Above header (1000) */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ==========================================
   HERO SLIDER
   ========================================== */
.hero-slider {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* --- Vertical Text --- */
.hero-vertical-text {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.hero-vertical-text span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.15);
    text-shadow:
        0 0 20px rgba(200, 164, 58, 0.15),
        0 0 40px rgba(200, 164, 58, 0.08);
    transition: all 1s ease;
    animation: verticalTextGlow 4s ease-in-out infinite alternate;
}

.hero-vertical-text span:first-child {
    animation-delay: 0s;
}

.hero-vertical-text span:last-child {
    animation-delay: 2s;
}

.vertical-separator {
    display: block;
    width: 2px !important;
    height: 40px;
    writing-mode: horizontal-tb !important;
    background: linear-gradient(180deg,
            transparent,
            var(--color-accent-light),
            transparent);
    opacity: 0.4;
    animation: separatorPulse 3s ease-in-out infinite !important;
}

@keyframes verticalTextGlow {
    0% {
        color: rgba(255, 255, 255, 0.1);
        text-shadow:
            0 0 20px rgba(200, 164, 58, 0.1),
            0 0 40px rgba(200, 164, 58, 0.05);
    }

    100% {
        color: rgba(255, 255, 255, 0.3);
        text-shadow:
            0 0 30px rgba(200, 164, 58, 0.3),
            0 0 60px rgba(200, 164, 58, 0.15),
            0 0 80px rgba(200, 164, 58, 0.08);
    }
}

@keyframes separatorPulse {

    0%,
    100% {
        opacity: 0.3;
        height: 40px;
    }

    50% {
        opacity: 0.7;
        height: 50px;
    }
}

/* --- Slides --- */
.hero-slides {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 7s ease-out;
    transform: scale(1);
}

.hero-slide.active .hero-slide__bg {
    transform: scale(1.06);
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(15, 43, 16, 0.78) 0%,
            rgba(15, 43, 16, 0.5) 40%,
            rgba(15, 43, 16, 0.82) 100%);
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 80px 60px 60px;
}

/* Slide content entrance animation */
.hero-slide .hero__badge,
.hero-slide .hero__title,
.hero-slide .hero__subtitle,
.hero-slide .hero__actions {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.active .hero__badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-slide.active .hero__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.hero-slide.active .hero__subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.hero-slide.active .hero__actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* --- Hero Badge (kept) --- */
.hero__badge {
    display: inline-block;
    background: none;
    border: none;
    padding: 0 0 10px 0;
    border-radius: 0;
    color: var(--color-accent-light);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
}

.hero__badge::after {
    content: '';
    display: block;
    width: 100%;
    height: 2.5px;
    margin-top: 8px;
    border-radius: 3px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.3) 0%,
            var(--color-accent-light) 30%,
            rgba(255, 255, 255, 0.6) 60%,
            var(--color-accent-light) 100%);
    background-size: 300% 100%;
    animation: tagLineShimmer 3s ease-in-out infinite;
}

.hero__title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__title .text-accent {
    color: var(--color-accent-light);
    display: inline-block;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Slider Navigation (Right Side Vertical) --- */
.hero-slider__nav {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-slider__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.hero-slider__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.hero-slider__dots {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-slider__arrows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.hero-slider__dot.active {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(224, 200, 90, 0.5);
}

.hero-slider__dot:hover:not(.active) {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.3);
}

/* --- Progress Bar --- */
.hero-slider__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.hero-slider__progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent-light));
    transition: width 0.1s linear;
}

/* --- Scroll Indicator --- */
.hero__scroll-indicator {
    display: none;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    z-index: 10;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    margin: 8px auto 0;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: rotate(45deg) translateY(8px);
        opacity: 1;
    }
}

/* ==========================================
   ABOUT
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about__image:hover img {
    transform: scale(1.03);
}

.about__image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--color-accent), #b8942a);
    color: var(--color-dark);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.about__text .section-tag {
    margin-bottom: 12px;
}

.about__text .section-title {
    margin-bottom: 20px;
}

.about__text p {
    margin-bottom: 16px;
    color: var(--color-text);
    font-size: 1.02rem;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.about-feature:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.about-feature__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
}

.about-feature strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-dark);
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ==========================================
   STATS
   ========================================== */
.stats-section {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat {
    padding: 24px;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--color-accent-light);
    display: inline;
}

.stat__suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--color-accent-light);
}

.stat__label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 8px;
    font-weight: 500;
}

/* ==========================================
   PRODUCTS
   ========================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card__image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card__overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.product-card__tag {
    background: linear-gradient(135deg, var(--color-accent), #b8942a);
    color: var(--color-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card__body {
    padding: 28px;
}

.product-card__body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.product-card__body p {
    font-size: 0.93rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.product-card__features {
    list-style: none;
    margin-bottom: 24px;
}

.product-card__features li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--color-text);
    position: relative;
    padding-left: 24px;
}

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

/* ==========================================
   DIFFERENTIATORS
   ========================================== */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.diff-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.diff-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.diff-card__icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.diff-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.diff-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ==========================================
   CTA PARALLAX
   ========================================== */
.cta-parallax {
    position: relative;
    padding: 120px 0;
    background-image: url('images/citros.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.cta-parallax__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(15, 43, 16, 0.88) 0%,
            rgba(45, 106, 46, 0.75) 100%);
}

.cta-parallax__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-parallax__content h2 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-parallax__content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    line-height: 1.8;
}

.cta-parallax__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   INTERACTIVE HARVEST CHART
   ========================================== */
.harvest-chart {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    overflow-x: auto;
}

.harvest-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--color-dark);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.val-l {
    background-color: #a4d65e;
}

/* Light Green */
.val-d {
    background-color: #4b6028;
}

/* Dark Green */
.val-l.legend-color {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.val-d.legend-color {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.harvest-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--color-border);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    min-width: 800px;
}

.hg-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.5fr) repeat(12, 1fr);
    background: var(--color-white);
    position: relative;
    transition: background-color 0.2s ease;
}

.hg-row:not(.hg-header):not(.hg-group-title):hover {
    background: #f4fbf0;
}

.hg-header {
    background: var(--color-bg-light);
    font-weight: 700;
    color: var(--color-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hg-cell {
    padding: 12px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--color-border);
    text-align: center;
}

.hg-cell:last-child {
    border-right: none;
}

.hg-var {
    padding: 12px 16px;
    font-weight: 600;
    color: var(--color-dark);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.3;
}

.hg-var small {
    font-weight: 400;
    color: var(--color-text);
    font-size: 0.75rem;
    margin-top: 2px;
}

.hg-m {
    position: relative;
    border-right: 1px solid #f0f0f0;
    min-height: 40px;
    transition: filter 0.2s;
}

.hg-m:last-child {
    border-right: none;
}

.hg-m.val-l,
.hg-m.val-d {
    cursor: pointer;
}

.hg-m.val-l:hover,
.hg-m.val-d:hover {
    filter: brightness(1.1);
}

.hg-group-title {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 10px 16px;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    text-align: left;
    gap: 16px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--color-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-item__answer {
    max-height: 400px;
    padding: 0 24px 20px;
}

.faq-item__answer p {
    font-size: 0.93rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--color-white);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-card__icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-card p {
    color: var(--color-text-light);
    font-size: 0.93rem;
    margin-bottom: 16px;
}

.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--color-dark);
    background: var(--color-bg-light);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(45, 106, 46, 0.12);
    background: var(--color-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236a6a6a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--color-dark-green);
    color: rgba(255, 255, 255, 0.8);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand .header__logo {
    margin-bottom: 16px;
}

.footer__brand .logo-text {
    color: var(--color-white);
}

.footer__brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.footer__links h4,
.footer__contact h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer__links a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-accent-light);
}

.footer__contact p {
    font-size: 0.88rem;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-base);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

.animate-on-scroll:nth-child(5) {
    transition-delay: 0.4s;
}

.animate-on-scroll:nth-child(6) {
    transition-delay: 0.5s;
}

/* ==========================================
   ROOTSTOCK DASHBOARD
   ========================================== */
.rs-dashboard {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 32px;
}

/* Scroll Hint for Mobile */
.rs-scroll-hint {
    display: none;
    text-align: right;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--color-primary-dark);
    font-weight: 500;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.rs-scroll-hint span {
    display: inline-block;
    animation: bounceRight 1.5s infinite;
}

@keyframes bounceRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* Tabs */
.rs-tabs {
    display: flex;
    overflow-x: auto;
    background: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    scrollbar-width: none;
    /* Firefox */
}

.rs-tabs::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.rs-tab {
    flex: 1;
    min-width: 140px;
    padding: 20px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text);
    transition: all var(--transition-fast);
    position: relative;
    border-right: 1px solid var(--color-border);
}

.rs-tab:last-child {
    border-right: none;
}

.rs-tab__icon {
    font-size: 1.8rem;
    transition: transform var(--transition-fast);
}

.rs-tab:hover {
    background: var(--color-white);
    color: var(--color-primary-dark);
}

.rs-tab:hover .rs-tab__icon {
    transform: scale(1.1);
}

.rs-tab.active {
    background: var(--color-white);
    color: var(--color-primary-dark);
}

.rs-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
}

/* Panels */
.rs-panels {
    padding: 32px;
}

.rs-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.rs-panel.active {
    display: block;
}

.rs-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.rs-panel__header h3 {
    margin: 0 0 4px 0;
    font-size: 1.6rem;
    color: var(--color-primary-dark);
}

.rs-panel__header span {
    font-size: 1rem;
    color: var(--color-text);
    font-style: italic;
}

.rs-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.rs-badge--warning {
    background: #fee2e2;
    color: #b91c1c;
}

.rs-badge--success {
    background: #dcfce7;
    color: #15803d;
}

.rs-badge--info {
    background: #e0f2fe;
    color: #0369a1;
}

.rs-badge--cold {
    background: #f3e8ff;
    color: #7e22ce;
}

.rs-panel__desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-dark);
    margin-bottom: 32px;
}

/* Indicators / Meters */
.rs-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
    background: var(--color-bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
}

.rs-meter {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rs-meter__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
}

.rs-meter__bar {
    height: 8px;
    background: var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.rs-meter__fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.1, 0.7, 0.1, 1);
    width: 0;
    /* Animated via JS or inline initially */
}

.rs-meter__val {
    font-size: 0.85rem;
    color: var(--color-text);
    text-align: right;
    font-weight: 500;
}

/* Detail Boxes */
.rs-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.rs-detail-box {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.rs-detail-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.rs-detail-box h4 {
    margin: 0 0 12px 0;
    font-size: 1.05rem;
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.rs-detail-box p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.5;
}

.rs-conclusion {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 6px solid var(--color-accent);
}

.rs-conclusion h4 {
    color: var(--color-primary-dark);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.rs-conclusion p {
    color: var(--color-dark);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image img {
        height: 360px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .diff-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-left: 1px solid rgba(255, 255, 255, 0.6);
        display: flex;
        flex-direction: column;
        padding: 40px 32px;
        gap: 0;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
        transition: right 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 1002;
        overflow-y: auto;
    }

    .header__nav.open {
        right: 0;
    }

    .nav-header {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 32px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        width: 100%;
    }

    .nav-logo {
        height: 48px;
        width: auto;
        object-fit: contain;
    }

    .header__nav .nav-link {
        color: var(--color-dark);
        font-size: 1.15rem;
        font-weight: 600;
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease, padding 0.2s ease;
    }

    .header__nav.open .nav-link {
        opacity: 1;
        transform: translateX(0);
    }

    .header__nav.open .nav-link:nth-child(2) { transition-delay: 0.1s; }
    .header__nav.open .nav-link:nth-child(3) { transition-delay: 0.15s; }
    .header__nav.open .nav-link:nth-child(4) { transition-delay: 0.2s; }
    .header__nav.open .nav-link:nth-child(5) { transition-delay: 0.25s; }
    .header__nav.open .nav-link:nth-child(6) { transition-delay: 0.3s; }
    .header__nav.open .nav-link:nth-child(7) { transition-delay: 0.35s; }

    .header__nav .nav-link:last-child {
        border-bottom: none;
    }

    .header__nav .nav-link:hover,
    .header__nav .nav-link.active {
        color: var(--color-primary);
        padding-left: 12px;
        background: linear-gradient(90deg, rgba(45, 106, 46, 0.05), transparent);
        border-radius: var(--radius-sm);
    }
    
    .header__nav .nav-link::after {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .header__burger {
        display: flex;
        z-index: 1003;
    }

    .header__burger.active span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    .header__burger.active span:nth-child(2) {
        opacity: 0;
    }

    .header__burger.active span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    .hero-vertical-text {
        display: none;
    }

    .hero__title {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hero__scroll-indicator {
        display: none;
    }

    .hero-slider__nav {
        right: 16px;
    }

    .hero-slide__content {
        padding: 120px 20px 100px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .diff-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

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

    .contact-form {
        padding: 24px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Parallax fallback for mobile */
    .hero,
    .cta-parallax {
        background-attachment: scroll;
    }

    .rs-scroll-hint {
        display: block;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    .hero-slide__content {
        padding: 100px 16px 60px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .btn--lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}