/* Import Montserrat Font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM (Inspired by Luker Chocolate)
   ========================================================================== */
:root {
    --color-chocolate: #5B2D00;
    --color-chocolate-dark: #3D1E00;
    --color-chocolate-light: #8C4F1A;
    --color-green: #56A772;
    --color-green-hover: #3E8A57;
    --color-green-light: #EBF5EF;
    --color-cream: #FBF6E2;
    --color-cream-light: #FCFAF5;
    --color-white: #FFFFFF;
    --color-gray-dark: #4A4A4A;
    --color-gray-light: #F0EDE4;
    --color-gray-muted: #8E8A80;
    
    --font-primary: 'Montserrat', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(91, 45, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(91, 45, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(91, 45, 0, 0.12);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --header-height: 110px;
}

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

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

body {
    font-family: var(--font-primary);
    color: var(--color-chocolate-dark);
    background-color: var(--color-cream-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

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

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-chocolate);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-green);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    margin-top: 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-green);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(86, 167, 114, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(86, 167, 114, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-chocolate);
    border: 2px solid var(--color-chocolate);
}

.btn-secondary:hover {
    background-color: var(--color-chocolate);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ==========================================================================
   HEADER & NAVIGATION (Glassmorphism + Premium Feel)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(252, 250, 245, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(91, 45, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header.scrolled {
    height: 90px;
    background-color: rgba(252, 250, 245, 0.95);
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 70px;
    width: auto;
    transition: var(--transition-smooth);
}

.header.scrolled .logo {
    height: 55px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu li {
    position: relative;
    padding: 10px 0;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-chocolate-dark);
    position: relative;
    padding: 5px 0;
}

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

.nav-menu a:hover {
    color: var(--color-green);
}

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

/* Mega Menu Styles */
.nav-item-has-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 580px;
    background: rgba(91, 45, 0, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.mega-card {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.mega-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(86, 167, 114, 0.3);
    transform: translateY(-2px);
}

.mega-card-img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mega-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-cream);
    margin-bottom: 3px;
}

.mega-card-desc {
    font-size: 0.72rem;
    color: var(--color-gray-light);
    line-height: 1.35;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    background-color: var(--color-gray-light);
    padding: 3px;
    border-radius: 30px;
    border: 1px solid rgba(91, 45, 0, 0.05);
}

.lang-btn {
    background: none;
    border: none;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gray-muted);
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.lang-btn.active {
    background-color: var(--color-chocolate);
    color: var(--color-white);
}

.lang-btn:hover:not(.active) {
    color: var(--color-chocolate);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-chocolate);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION (Split Design with Animations)
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 40px);
    display: flex;
    align-items: center;
    background: var(--color-cream-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background-color: rgba(86, 167, 114, 0.05);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.badge {
    display: inline-block;
    background-color: var(--color-green-light);
    color: var(--color-green);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-chocolate-dark);
    margin-bottom: 25px;
}

.hero-content h1 span {
    color: var(--color-green);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-gray-dark);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    animation: fadeInRight 1s ease-out;
}

.hero-main-img {
    width: 85%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    border: 8px solid var(--color-white);
    transform: rotate(2deg);
    transition: var(--transition-smooth);
}

.hero-main-img:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-decor-img {
    position: absolute;
    width: 180px;
    bottom: -40px;
    left: -20px;
    z-index: 3;
    filter: drop-shadow(0 15px 25px rgba(91,45,0,0.15));
    animation: float 6s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   ABOUT & TIMELINE SECTION (Premium timeline design)
   ========================================================================== */
.about {
    background-color: var(--color-white);
    position: relative;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 450px;
    background-image: url('../img/chocolate-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 80px auto 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-green-light) 0%, var(--color-green) 15%, var(--color-green) 85%, var(--color-green-light) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--color-white);
    border: 4px solid var(--color-green);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.timeline-badge::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--color-chocolate);
    border-radius: 50%;
}

.timeline-item:hover .timeline-badge {
    background-color: var(--color-green);
    transform: translateX(-50%) scale(1.2);
}

.timeline-item:hover .timeline-badge::after {
    background-color: var(--color-white);
}

.timeline-content-wrapper {
    width: 45%;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-green);
    margin-bottom: 10px;
    display: inline-block;
    background-color: var(--color-green-light);
    padding: 4px 16px;
    border-radius: 30px;
}

.timeline-panel {
    background-color: var(--color-cream-light);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-green);
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-panel::after {
    content: '';
    position: absolute;
    top: 25px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-panel::after {
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent var(--color-cream-light);
}

.timeline-item:nth-child(even) .timeline-panel::after {
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent var(--color-cream-light) transparent transparent;
}

.timeline-panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.timeline-panel h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-chocolate);
    margin-bottom: 12px;
}

.timeline-panel p {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
}

/* ==========================================================================
   METRICS SECTION (Premium Dashboard Layout)
   ========================================================================== */
.metrics {
    background-color: var(--color-chocolate-dark);
    color: var(--color-white);
    position: relative;
}

.metrics .section-header h2 {
    color: var(--color-white);
}

.metrics .section-header p {
    color: var(--color-gray-light);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.metric-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-green);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.metric-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.metric-card:hover::before {
    transform: scaleX(1);
}

.metric-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-green);
    line-height: 1;
    margin-bottom: 15px;
    font-feature-settings: "lnum";
}

.metric-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-cream);
}

.metric-card p {
    font-size: 0.95rem;
    color: var(--color-gray-light);
}

.metric-card p strong {
    color: var(--color-white);
}

/* Light Metric Card for White Backgrounds */
.metric-card-light {
    background-color: var(--color-cream-light);
    border: 1px solid rgba(91, 45, 0, 0.08);
    color: var(--color-chocolate-dark);
}

.metric-card-light::before {
    background-color: var(--color-green);
}

.metric-card-light:hover {
    background-color: var(--color-cream);
    border-color: rgba(91, 45, 0, 0.15);
    box-shadow: var(--shadow-md);
}

.metric-card-light .metric-num {
    color: var(--color-green-hover);
}

.metric-card-light h3 {
    color: var(--color-chocolate);
    border-bottom: 2px solid rgba(91, 45, 0, 0.05);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.metric-card-light p {
    color: var(--color-gray-dark);
    text-align: justify;
    line-height: 1.6;
}

.metric-card-light p strong {
    color: var(--color-chocolate-dark);
}

/* ==========================================================================
   PROCESSES SECTION (Interactive production line cards)
   ========================================================================== */
.processes {
    background-color: var(--color-cream-light);
}

.processes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.process-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border-bottom: 4px solid var(--color-gray-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.process-num {
    width: 45px;
    height: 45px;
    background-color: var(--color-green-light);
    color: var(--color-green);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.process-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-chocolate);
    margin-bottom: 15px;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    line-height: 1.5;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--color-green);
}

.process-card:hover .process-num {
    background-color: var(--color-green);
    color: var(--color-white);
    transform: scale(1.1);
}

/* ==========================================================================
   PRODUCT SHOWCASE (Highlighting real product images)
   ========================================================================== */
.showcase {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background-color: rgba(86,167,114,0.04);
    border-radius: 50%;
    filter: blur(80px);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.product-img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.product-bg-circle {
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: var(--color-cream);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    z-index: 1;
}

.product-img {
    z-index: 2;
    max-height: 480px;
    width: auto;
    filter: drop-shadow(0 15px 30px rgba(91,45,0,0.18));
    transition: var(--transition-smooth);
}

.product-img-wrapper:hover .product-img {
    transform: scale(1.04) rotate(-2deg);
}

.product-details {
    z-index: 2;
}

.product-label {
    display: inline-block;
    color: var(--color-chocolate-light);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.product-details h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-chocolate-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-details p {
    font-size: 1.05rem;
    color: var(--color-gray-dark);
    margin-bottom: 30px;
}

.product-meta-list {
    margin-bottom: 35px;
}

.product-meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product-meta-item::before {
    content: '✓';
    color: var(--color-green);
    font-size: 1.2rem;
    font-weight: 800;
    margin-right: 15px;
}

.product-meta-item span {
    font-size: 1rem;
    font-weight: 600;
}

.product-price-box {
    background-color: var(--color-cream-light);
    border-left: 5px solid var(--color-green);
    padding: 20px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin-bottom: 30px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-chocolate);
}

.product-price span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-gray-muted);
}

/* ==========================================================================
   MAP / DISTRIBUTION SECTION
   ========================================================================== */
.map-section {
    background-color: var(--color-cream-light);
}

.map-wrapper {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.map-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

.map-img:hover {
    transform: scale(1.01);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
    background-color: var(--color-white);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    padding-top: 10px;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-chocolate);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--color-gray-dark);
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-green-light);
    color: var(--color-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    font-weight: 800;
}

.contact-method-text h4 {
    font-size: 0.9rem;
    color: var(--color-gray-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-method-text p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-chocolate-dark);
    margin: 0;
}

/* Form Styling */
.contact-form-wrapper {
    background-color: var(--color-cream-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 5px solid var(--color-green);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-chocolate);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 15px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-chocolate-dark);
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--border-radius-sm);
    outline: none;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px rgba(86, 167, 114, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--color-chocolate-dark);
    color: var(--color-white);
    padding: 60px 0 30px 0;
    border-top: 5px solid var(--color-green);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.9rem;
    color: var(--color-gray-light);
    max-width: 320px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    font-size: 0.9rem;
    color: var(--color-gray-light);
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: var(--color-gray-light);
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-gray-muted);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-light);
    font-size: 0.9rem;
}

.social-icon:hover {
    background-color: var(--color-green);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Adaptive styling)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-badge {
        left: 30px;
    }
    
    .timeline-content-wrapper {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-panel::after {
        left: -15px !important;
        right: auto !important;
        border-width: 10px 15px 10px 0 !important;
        border-color: transparent var(--color-cream-light) transparent transparent !important;
    }
    
    .processes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-img {
        max-height: 380px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header {
        height: 90px;
    }
    
    .logo {
        height: 70px;
    }
    
    .header.scrolled .logo {
        height: 60px;
    }

    .hamburger {
        display: flex;
        z-index: 1200;
    }
    
    /* Hamburger Line Animations */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(91, 45, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 120px 40px 40px 40px;
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        width: 100%;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        color: var(--color-white);
        width: 100%;
        display: block;
    }
    
    /* Disable Mega Menus on mobile touchscreen */
    .mega-menu {
        display: none !important;
    }
    
    .lang-switcher {
        margin-top: 20px;
        background-color: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .lang-btn {
        color: var(--color-gray-light);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin-top: 40px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .processes-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   SUBPAGES CUSTOM STYLES (TIMELINE, MOSAIC, PROCESSES, CHARTS, MODAL)
   ========================================================================== */

/* Timeline with Image Frames */
.timeline-img-frame {
    width: 100%;
    margin-bottom: 20px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 5px solid var(--color-white);
    box-shadow: var(--shadow-sm);
}

.timeline-img-frame img {
    width: 100%;
    height: auto;
    transition: var(--transition-smooth);
}

.timeline-panel:hover .timeline-img-frame img {
    transform: scale(1.04);
}

/* Gallery layout for Nuestro Cacao */
.cacao-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.gallery-card {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
    transition: var(--transition-smooth);
    border: 4px solid var(--color-white);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-card:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.gallery-card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(91, 45, 0, 0.9) 0%, rgba(91, 45, 0, 0) 100%);
    padding: 20px 15px;
    color: var(--color-white);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-card-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card-caption h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Processes detail layout */
.process-detail-item {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.process-detail-item:nth-child(even) {
    grid-template-columns: 1fr 1.1fr;
}

.process-detail-content {
    padding: 20px;
}

.process-detail-num {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-green);
    line-height: 1;
    margin-bottom: 15px;
    opacity: 0.7;
}

.process-detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-chocolate);
    margin-bottom: 20px;
}

.process-detail-desc {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
    margin-bottom: 20px;
}

.process-detail-img-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 8px solid var(--color-white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

.process-detail-img-wrapper img {
    width: 100%;
    height: auto;
    transition: var(--transition-smooth);
}

.process-detail-img-wrapper:hover img {
    transform: scale(1.04);
}

/* Infografía & Sustainability layouts */
.charts-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.chart-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border-top: 5px solid var(--color-green);
}

.chart-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-chocolate);
    margin-bottom: 25px;
    text-align: center;
}

.chart-container {
    position: relative;
    width: 100%;
    min-height: 320px;
}

.sustainability-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.sustainability-info-panel {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border-top: 5px solid var(--color-chocolate-light);
}

.sustainability-info-panel h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-chocolate);
    margin-bottom: 25px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.stats-table th, .stats-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-light);
}

.stats-table th {
    font-weight: 700;
    color: var(--color-chocolate-light);
}

.stats-table tr:last-child td {
    border-bottom: none;
}

.stats-table strong {
    color: var(--color-green-hover);
}

/* Modal Alert Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(91, 45, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.success-modal {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-top: 8px solid var(--color-green);
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .success-modal {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    color: var(--color-green);
    margin-bottom: 20px;
    animation: scaleUp 0.5s ease;
}

.success-modal h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-chocolate);
    margin-bottom: 15px;
}

.success-modal p {
    font-size: 1rem;
    color: var(--color-gray-dark);
    margin-bottom: 25px;
}

.success-modal .btn {
    min-width: 120px;
}

@keyframes scaleUp {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments for subpages */
@media (max-width: 1024px) {
    .charts-grid,
    .sustainability-split {
        grid-template-columns: 1fr;
    }
    
    .process-detail-item {
        grid-template-columns: 1fr !important;
        gap: 30px;
        text-align: center;
    }
    
    .process-detail-item:nth-child(even) {
        flex-direction: column-reverse;
    }
    
    .process-detail-img-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
}