/* ========================================
   TERRA NUTRI — Design System
   Aesthetic: Organic Premium
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
    /* Color story: Deep earth greens + warm gold accent */
    --green-950: #0a2e0a;
    --green-900: #0d3b0d;
    --green-800: #145214;
    --green-700: #1B5E20;
    --green-600: #2E7D32;
    --green-500: #388E3C;
    --green-400: #4CAF50;
    --green-100: #C8E6C9;
    --green-50: #E8F5E9;

    --gold-700: #9E7B1B;
    --gold-600: #B8941F;
    --gold-500: #D4A017;
    --gold-400: #E6B422;
    --gold-300: #F0CA45;
    --gold-100: #FFF3C4;

    --earth-950: #1a1a12;
    --earth-900: #2d2d1f;
    --earth-800: #3d3d2a;
    --earth-100: #F5F1E6;
    --earth-50: #FAFAF5;
    --white: #FFFFFF;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;

    /* Spacing rhythm (8px base) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Sizing */
    --max-width: 1280px;
    --header-height: 80px;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 200ms;
    --duration-normal: 400ms;
    --duration-slow: 700ms;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 20px rgba(212, 160, 23, 0.2);
}

/* --- 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(--earth-900);
    background: var(--earth-50);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Typography System --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--green-900);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
}

h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    max-width: 65ch;
}

/* --- Section Wrapper --- */
.section {
    padding: var(--space-20) var(--space-6);
    position: relative;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: var(--space-4);
}

.section-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--gold-500);
}

.section-title {
    margin-bottom: var(--space-3);
}

.section-subtitle {
    color: var(--earth-800);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    opacity: 0.8;
    margin-bottom: var(--space-12);
}

/* --- Scroll Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--duration-slow) var(--ease-out),
        transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 100ms;
}

.reveal-delay-2 {
    transition-delay: 200ms;
}

.reveal-delay-3 {
    transition-delay: 300ms;
}

.reveal-delay-4 {
    transition-delay: 400ms;
}

.reveal-delay-5 {
    transition-delay: 500ms;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: background var(--duration-normal) var(--ease-out),
        box-shadow var(--duration-normal) var(--ease-out);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--space-6);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: 1001;
}

.logo img {
    width: 88px;
    height: 88px;
    border-radius: 0;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    transition: color var(--duration-normal) var(--ease-out);
}

.header.scrolled .logo-text {
    color: var(--green-700);
}

/* Nav links */
.nav-links {
    display: flex;
    gap: var(--space-8);
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: var(--space-1) 0;
    transition: color var(--duration-fast) var(--ease-out);
}

.header.scrolled .nav-links a {
    color: var(--earth-800);
}

.nav-links a:hover {
    color: var(--gold-400);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width var(--duration-normal) var(--ease-spring);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gold-500) !important;
    color: var(--green-950) !important;
    padding: var(--space-2) var(--space-5) !important;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: transform var(--duration-fast) var(--ease-spring),
        box-shadow var(--duration-fast) var(--ease-out) !important;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-gold);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: var(--space-2);
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled .nav-toggle span {
    background: var(--green-700);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 46, 10, 0.88) 0%,
            rgba(27, 94, 32, 0.72) 50%,
            rgba(10, 46, 10, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-24) var(--space-6);
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 100px;
    padding: var(--space-2) var(--space-4);
    color: var(--gold-300);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-8);
    backdrop-filter: blur(8px);
}

.hero h1 {
    color: var(--white);
    max-width: 700px;
    margin-bottom: var(--space-6);
}

.hero h1 span {
    color: var(--gold-400);
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    max-width: 540px;
    margin-bottom: var(--space-10);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--duration-normal) var(--ease-spring);
}

.btn-primary {
    background: var(--gold-500);
    color: var(--green-950);
}

.btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: var(--space-10);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(27, 94, 32, 0.4), transparent);
    pointer-events: none;
}

.about-image-badge {
    position: absolute;
    bottom: var(--space-6);
    left: var(--space-6);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: var(--space-4) var(--space-5);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.about-image-badge-icon {
    width: 40px;
    height: 40px;
    background: var(--green-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.about-image-badge-text {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--green-700);
}

.about-image-badge-text span {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--earth-800);
    opacity: 0.7;
}

.about-text h2 {
    margin-bottom: var(--space-6);
}

.about-description {
    color: var(--earth-800);
    margin-bottom: var(--space-8);
    opacity: 0.85;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4);
    border-radius: 12px;
    background: var(--earth-50);
    transition: background var(--duration-fast) var(--ease-out);
}

.about-feature:hover {
    background: var(--green-50);
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.about-feature h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--green-800);
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 0.78rem;
    color: var(--earth-800);
    opacity: 0.7;
    line-height: 1.5;
}

/* ========================================
   PRODUCTS / CATALOG SECTION
   ======================================== */
.products {
    background: var(--earth-50);
}

.products-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.products-header .section-label {
    justify-content: center;
}

.products-header .section-label::before {
    display: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-8);
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--duration-normal) var(--ease-spring),
        box-shadow var(--duration-normal) var(--ease-out);
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-50), var(--earth-100));
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(160deg, var(--green-50) 0%, var(--green-100) 40%, var(--earth-100) 100%);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-card-image img {
    transform: scale(1.06);
}

.product-card-tag {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    background: var(--green-700);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: var(--space-1) var(--space-3);
    border-radius: 100px;
}

.product-card-body {
    padding: var(--space-6);
}

.product-card-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-900);
    margin-bottom: var(--space-2);
}

.product-card-composition {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold-600);
    margin-bottom: var(--space-3);
}

.product-card-description {
    font-size: 0.88rem;
    color: var(--earth-800);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.product-card-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.product-card-benefit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    background: var(--green-50);
    color: var(--green-700);
    font-size: 0.75rem;
    font-weight: 500;
    padding: var(--space-1) var(--space-3);
    border-radius: 100px;
}

.product-card-benefit::before {
    content: '✓';
    font-weight: 700;
    font-size: 0.7rem;
}

.product-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-4);
    border-top: 1px solid var(--green-50);
}

.product-card-link {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--green-700);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: gap var(--duration-fast) var(--ease-spring);
}

.product-card:hover .product-card-link {
    gap: var(--space-3);
    color: var(--gold-600);
}

.product-card-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-fast) var(--ease-spring);
}

.product-card:hover .product-card-link svg {
    transform: translateX(3px);
}

/* ========================================
   BENEFITS SECTION
   ======================================== */
.benefits {
    background: var(--green-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.08), transparent 70%);
    pointer-events: none;
}

.benefits .section-title {
    color: var(--white);
    text-align: center;
}

.benefits .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.benefits .section-label {
    justify-content: center;
}

.benefits .section-label::before {
    display: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: var(--space-8);
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 160, 23, 0.2);
    transform: translateY(-4px);
}

.benefit-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(212, 160, 23, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.benefit-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--gold-400);
}

.benefit-card h3 {
    color: var(--white);
    margin-bottom: var(--space-3);
    font-size: 1.15rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.contact-info h2 {
    margin-bottom: var(--space-4);
}

.contact-info>p {
    color: var(--earth-800);
    opacity: 0.8;
    margin-bottom: var(--space-10);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: 16px;
    background: var(--earth-50);
    transition: all var(--duration-normal) var(--ease-out);
}

.contact-method:hover {
    background: var(--green-50);
    transform: translateX(8px);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--green-700);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-method h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--green-800);
    margin-bottom: 2px;
}

.contact-method p {
    font-size: 0.85rem;
    color: var(--earth-800);
    opacity: 0.7;
}

.contact-method a {
    color: var(--gold-600);
    font-weight: 500;
    transition: color var(--duration-fast);
}

.contact-method a:hover {
    color: var(--gold-500);
}

/* Contact form */
.contact-form-wrapper {
    background: var(--earth-50);
    border-radius: 24px;
    padding: var(--space-10);
}

.contact-form-wrapper h3 {
    margin-bottom: var(--space-2);
    font-size: 1.3rem;
}

.contact-form-wrapper>p {
    color: var(--earth-800);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: var(--space-8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--green-800);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: var(--space-3) var(--space-4);
    border: 1.5px solid var(--green-100);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--earth-900);
    background: var(--white);
    outline: none;
    transition: border-color var(--duration-fast) var(--ease-out),
        box-shadow var(--duration-fast) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.btn-submit {
    width: 100%;
    justify-content: center;
    background: var(--green-700);
    color: var(--white);
    padding: var(--space-4) var(--space-8);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-spring);
}

.btn-submit:hover {
    background: var(--green-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.25);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--green-950);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-12) var(--space-6) var(--space-6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    max-width: var(--max-width);
    margin: 0 auto;
    padding-bottom: var(--space-10);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
    font-size: 1.2rem;
    margin-bottom: var(--space-4);
    display: block;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 320px;
}

.footer h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-500);
    margin-bottom: var(--space-5);
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer ul a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--duration-fast);
}

.footer ul a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-6);
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    transition: all var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
    background: rgba(212, 160, 23, 0.15);
    color: var(--gold-400);
}

/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--duration-normal) var(--ease-spring);
    animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@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 12px rgba(37, 211, 102, 0.08);
    }
}

/* ========================================
   PRODUCT MODAL
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 46, 10, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.4s var(--ease-spring);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration-fast);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.6);
}

.modal-body {
    padding: var(--space-8);
}

.modal-body h2 {
    margin-bottom: var(--space-2);
    font-size: 1.6rem;
}

.modal-composition {
    color: var(--gold-600);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-5);
}

.modal-body>p {
    color: var(--earth-800);
    margin-bottom: var(--space-6);
    line-height: 1.8;
}

.modal-benefits-title {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-700);
    margin-bottom: var(--space-3);
}

.modal-benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.modal-cta {
    width: 100%;
    justify-content: center;
    gap: var(--space-3);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 46, 10, 0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-8);
        transform: translateX(100%);
        transition: transform var(--duration-normal) var(--ease-out);
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.3rem;
        color: var(--white) !important;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-5);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .section {
        padding: var(--space-16) var(--space-5);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .contact-form-wrapper {
        padding: var(--space-6);
    }
}