/* ========================================
   Origin Harvest Spices — Luxury Brand CSS
   ======================================== */

/* === CSS Variables === */
:root {
    /* Brand Colors */
    --noir: oklch(0.14 0.005 240);
    --noir-2: oklch(0.18 0.008 240);
    --ivory: oklch(0.96 0.012 85);
    --gold: oklch(0.78 0.13 85);
    --gold-soft: oklch(0.86 0.09 85);
    --emerald: oklch(0.42 0.09 165);
    --emerald-deep: oklch(0.30 0.07 165);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, oklch(0.86 0.09 85), oklch(0.72 0.14 85));
    --gradient-emerald: linear-gradient(135deg, oklch(0.42 0.09 165), oklch(0.30 0.07 165));
    
    /* Shadows */
    --shadow-gold: 0 10px 40px -10px oklch(0.78 0.13 85 / 0.35);
    --shadow-elegant: 0 30px 80px -30px oklch(0 0 0 / 0.6);
}

/* === Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--noir);
    color: var(--ivory);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

::selection {
    background: var(--gold);
    color: var(--noir);
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* === Utility Classes === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 12px;
}

.eyebrow-line {
    display: inline-block;
    height: 1px;
    width: 32px;
    background: var(--gold);
    opacity: 0.7;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    margin-top: 20px;
}

.text-gold-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.shimmer-gold {
    background: linear-gradient(90deg, #fbbf24, #fef08a, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.hairline {
    height: 1px;
    background: linear-gradient(90deg, transparent, oklch(0.78 0.13 85 / 0.5), transparent);
    margin: 40px 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-gold);
    color: var(--noir);
    padding: 14px 28px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    box-shadow: var(--shadow-gold);
    transition: transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-primary .arrow-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-icon {
    transform: translateX(2px);
}

/* === Header / Navigation === */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s ease;
}

#header.scrolled {
    background: rgba(12, 10, 9, 0.7);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 44px;
    width: auto;
    filter: brightness(1.4) saturate(1.2) drop-shadow(0 2px 8px rgba(197, 161, 86, 0.3));
}

.desktop-nav {
    display: none;
    gap: 36px;
}

.desktop-nav a {
    position: relative;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(248, 246, 241, 0.75);
    transition: color 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--gold);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    height: 1px;
    background: var(--ivory);
    transition: all 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
    width: 24px;
}

.mobile-menu-btn span:nth-child(2) {
    width: 24px;
}

.mobile-menu-btn span:nth-child(3) {
    width: 16px;
}

.mobile-menu {
    display: none;
    background: rgba(12, 10, 9, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(248, 246, 241, 0.8);
}

.mobile-menu a.active {
    color: var(--gold);
    font-weight: 600;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* === Hero Section === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    width: 100%;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    inset: 0;
    will-change: transform;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(12, 10, 9, 0.7), 
        rgba(12, 10, 9, 0.4), 
        rgba(12, 10, 9, 1));
}

.hero-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(12, 10, 9, 0.7) 85%);
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 65px 24px 65px;
    max-width: 1024px;
    margin: 0 auto;
}

.hero-logo {
    width: auto;
    height: 160px;
    margin-bottom: 2px;
    opacity: 0.95;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.6));
}

.hero-title {
    font-size: clamp(2.6rem, 7vw, 5.75rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-top: 24px;
}

.hero-description {
    max-width: 768px;
    margin: 28px auto 0;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.6;
    color: rgba(248, 246, 241, 0.7);
}

.hero-cta {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-scroll {
    padding-bottom: 32px;
    text-align: center;
}

.scroll-line {
    width: 1px;
    height: 40px;
    margin: 0 auto;
    background: linear-gradient(to bottom, rgba(197, 161, 86, 0.6), transparent);
}

.scroll-text {
    margin-top: 8px;
    font-size: 0.625rem;
    letter-spacing: 0.3em;
    color: rgba(248, 246, 241, 0.4);
}

/* === Intro Section === */
.intro {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 96px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
}

.intro-text-large {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(248, 246, 241, 0.75);
}

.intro-text-large strong {
    color: var(--ivory);
}

.intro-text {
    margin-top: 24px;
    line-height: 1.7;
    color: rgba(248, 246, 241, 0.65);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--gold);
}

.stat-label {
    margin-top: 4px;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(248, 246, 241, 0.55);
}

@media (min-width: 1024px) {
    .intro-grid {
        grid-template-columns: 5fr 7fr;
        gap: 80px;
    }
}

/* === Products Section === */
.products {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--noir-2);
    padding: 96px 0;
}

.products-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.products-header-left {
    /* Left column */
}

.products-header-right {
    color: rgba(248, 246, 241, 0.65);
    text-align: left;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.products-header-right p {
    margin: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: oklch(0.17 0.008 240);
    transition: all 0.5s ease;
    aspect-ratio: 4 / 5;
    cursor: pointer;
}

.product-card:hover {
    border-color: rgba(197, 161, 86, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-elegant);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease-out;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--noir), rgba(12, 10, 9, 0.3), transparent);
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(197, 161, 86, 0.3);
    background: rgba(12, 10, 9, 0.6);
    backdrop-filter: blur(10px);
    font-size: 0.5625rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
}

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
}

.product-info h3 {
    font-size: 1.25rem;
    color: var(--ivory);
}

.product-info p {
    margin-top: 4px;
    font-size: 0.75rem;
    color: rgba(248, 246, 241, 0.6);
}

.product-link {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover .product-link {
    opacity: 1;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-header {
        grid-template-columns: 1fr 1fr;
        gap: 100px;
        align-items: center;
    }
    
    .products-header-right {
        text-align: right;
        padding-left: 40px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === Why Choose Section === */
.why-choose {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 96px 0;
}

.why-header {
    max-width: 768px;
    margin-bottom: 56px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.why-card {
    position: relative;
    background: var(--noir);
    padding: 40px;
    transition: background 0.3s ease;
}

.why-card:hover {
    background: var(--noir-2);
}

.why-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(197, 161, 86, 0.3);
    color: var(--gold);
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.why-card h3 {
    margin-top: 24px;
    font-size: 1.5rem;
    color: var(--ivory);
}

.why-card p {
    margin-top: 12px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(248, 246, 241, 0.6);
}

.why-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    color: rgba(248, 246, 241, 0.2);
}

@media (min-width: 640px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === Origin Section === */
.origin {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.origin-hero {
    position: relative;
    height: 90vh;
    min-height: 420px;
    width: 100%;
    overflow: hidden;
}

.origin-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.origin-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--noir), transparent, var(--noir));
}

.origin-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 64px;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.origin-hero-title {
    margin-top: 16px;
    max-width: 896px;
    font-size: clamp(2rem, 6vw, 3.75rem);
    line-height: 1.05;
}

.origin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    padding: 96px 0;
}

.origin-text-large {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(248, 246, 241, 0.75);
}

.origin-text {
    margin-top: 24px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(248, 246, 241, 0.6);
}

.origin-regions {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.origin-region-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.origin-region-item:hover {
    border-color: rgba(197, 161, 86, 0.4);
}

.region-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    color: var(--ivory);
}

.region-spice {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.origin-selected {
    margin-top: 24px;
    position: relative;
    border-radius: 4px;
    border: 1px solid rgba(197, 161, 86, 0.3);
    background: var(--noir-2);
    padding: 16px;
}

.origin-selected-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(248, 246, 241, 0.4);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 4px;
}

.origin-selected-close:hover {
    color: var(--gold);
}

.origin-selected-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 8px;
}

.origin-selected-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--ivory);
}

.origin-map-container {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--noir-2);
}

.origin-map {
    width: 100%;
    height: 100%;
}

.origin-map-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(248, 246, 241, 0.4);
    pointer-events: none;
    z-index: 1000;
}

/* Leaflet custom styles for Origin map */
.leaflet-container {
    font-family: 'Inter', sans-serif;
    background: var(--noir);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: rgba(12, 10, 9, 0.95);
    border: 1px solid rgba(197, 161, 86, 0.3);
    color: var(--ivory);
}

.leaflet-tooltip.custom-tooltip {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.leaflet-control-zoom {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(12, 10, 9, 0.8) !important;
    backdrop-filter: blur(10px);
}

.leaflet-control-zoom a {
    background: transparent !important;
    color: var(--ivory) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.leaflet-control-zoom a:hover {
    background: rgba(197, 161, 86, 0.2) !important;
    color: var(--gold) !important;
}

.leaflet-control-attribution {
    background: rgba(12, 10, 9, 0.7) !important;
    color: rgba(248, 246, 241, 0.5) !important;
    font-size: 9px !important;
}

.leaflet-control-attribution a {
    color: rgba(197, 161, 86, 0.8) !important;
}

@media (min-width: 1024px) {
    .origin-grid {
        grid-template-columns: 5fr 7fr;
    }
    
    .origin-map-container {
        aspect-ratio: auto;
        height: 450px;
    }
}

/* === Process Section === */
.process {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--noir-2);
    padding: 96px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.process-description {
    margin-top: 24px;
    color: rgba(248, 246, 241, 0.65);
}

.process-hairline {
    display: none;
}

.process-certs {
    display: none;
}

.process-steps {
    position: relative;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.process-timeline {
    position: absolute;
    left: 22px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, 
        rgba(197, 161, 86, 0.6), 
        rgba(197, 161, 86, 0.2), 
        transparent);
}

.process-step {
    display: flex;
    gap: 24px;
    padding: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.02);
}

.process-step-number {
    position: relative;
    z-index: 10;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(197, 161, 86, 0.4);
    background: var(--noir);
    font-family: 'Playfair Display', serif;
    font-size: 0.875rem;
    color: var(--gold);
    transition: all 0.3s ease;
}

.process-step:hover .process-step-number {
    background: var(--gold);
    color: var(--noir);
    box-shadow: var(--shadow-gold);
}

.process-step-content {
    padding-top: 6px;
}

.process-step-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--ivory);
}

.process-step-content p {
    margin-top: 8px;
    max-width: 640px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(248, 246, 241, 0.6);
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: 5fr 7fr;
        gap: 32px;
    }
    
    .process-hairline {
        display: block;
    }
    
    .process-certs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .process-cert {
        padding: 12px 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        text-align: center;
        font-family: 'Playfair Display', serif;
        font-size: 0.875rem;
        letter-spacing: 0.2em;
        color: rgba(248, 246, 241, 0.8);
    }
}

/* === Wholesale Section === */
.wholesale {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 96px 0;
}

.wholesale-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at top right, 
        rgba(66, 99, 91, 0.18), 
        transparent 60%);
}

.wholesale-container {
    position: relative;
}

.wholesale-header {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
}

.wholesale-description {
    margin-top: 20px;
    color: rgba(248, 246, 241, 0.65);
    line-height: 1.6;
}

.wholesale-grid {
    margin-top: 64px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.wholesale-card {
    display: flex;
    flex-direction: column;
    background: var(--noir);
    padding: 32px 40px;
    transition: background-color 0.3s ease;
}

.wholesale-card:hover {
    background: var(--noir-2);
}

.wholesale-icon {
    color: var(--gold);
}

.wholesale-card h3 {
    margin-top: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--ivory);
}

.wholesale-card p {
    margin-top: 12px;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(248, 246, 241, 0.6);
}

.wholesale-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.wholesale-link:hover {
    opacity: 1;
}

.wholesale-link .arrow-icon {
    transition: transform 0.3s ease;
}

.wholesale-link:hover .arrow-icon {
    transform: translateX(2px);
}

@media (min-width: 640px) {
    .wholesale-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .wholesale-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === Sustainability Section === */
.sustainability {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--noir-2);
    padding: 96px 0;
}

.sustainability-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

.sustainability-left {
    position: relative;
}

.sustainability-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
}

.sustainability-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sustainability-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, 
        rgba(12, 10, 9, 0.6), 
        transparent, 
        transparent);
}

.sustainability-badge {
    display: none;
}

.sustainability-description {
    margin-top: 24px;
    color: rgba(248, 246, 241, 0.75);
    line-height: 1.7;
}

.sustainability-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sustainability-feature {
    display: flex;
    gap: 20px;
}

.sustainability-feature-line {
    margin-top: 8px;
    width: 40px;
    height: 1px;
    flex-shrink: 0;
    background: var(--gold);
}

.sustainability-feature-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--ivory);
}

.sustainability-feature-content p {
    margin-top: 4px;
    font-size: 0.875rem;
    color: rgba(248, 246, 241, 0.6);
}

@media (min-width: 1024px) {
    .sustainability-grid {
        grid-template-columns: repeat(12, 1fr);
    }
    
    .sustainability-left {
        grid-column: span 6;
    }
    
    .sustainability-right {
        grid-column: span 6;
        padding-left: 24px;
    }
    
    .sustainability-badge {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: absolute;
        bottom: -24px;
        right: -24px;
        width: 160px;
        height: 160px;
        padding: 20px;
        border-radius: 4px;
        border: 1px solid rgba(197, 161, 86, 0.4);
        background: var(--noir);
        z-index: 10;
    }
    
    .sustainability-badge-icon {
        width: 20px;
        height: 20px;
        color: var(--gold);
    }
    
    .sustainability-badge p {
        font-size: 0.625rem;
        text-transform: uppercase;
        letter-spacing: 0.22em;
        color: rgba(248, 246, 241, 0.7);
        line-height: 1.4;
    }
}

/* === Global Vision Section === */
.global-vision {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 96px 0;
}

.global-vision-header {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
}

.global-vision-description {
    margin-top: 20px;
    color: rgba(248, 246, 241, 0.65);
    line-height: 1.6;
}

.global-vision-map {
    margin-top: 64px;
}

.global-vision-map-container {
    position: relative;
    aspect-ratio: 2 / 1;
    max-width: 1024px;
    margin: 0 auto;
}

.global-vision-globe {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    color: rgba(248, 246, 241, 0.04);
}

.location-dot {
    position: absolute;
    transform: translate(-50%, -50%);
}

.dot-ping {
    position: absolute;
    display: inline-flex;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.7;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dot-core {
    position: relative;
    display: inline-flex;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

@keyframes ping {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(2);
        opacity: 0;
    }
}

.location-label {
    position: absolute;
    transform: translateY(-50%);
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
}

.global-vision-regions {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
}

.global-region-card {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.global-region-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--ivory);
}

.global-region-status {
    margin-top: 4px;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
}

@media (min-width: 640px) {
    .global-vision-regions {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === Testimonials Section === */
.testimonials {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--noir-2);
    padding: 96px 0;
}

.testimonials-header {
    max-width: 768px;
}

.testimonials-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.testimonial-card {
    position: relative;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: var(--noir);
    transition: all 0.5s ease;
}

.testimonial-card:hover {
    border-color: rgba(197, 161, 86, 0.4);
    box-shadow: var(--shadow-elegant);
}

.quote-icon {
    color: rgba(197, 161, 86, 0.7);
}

.testimonial-card blockquote {
    margin-top: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    line-height: 1.5;
    color: rgba(248, 246, 241, 0.9);
}

.testimonial-card figcaption {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--ivory);
}

.testimonial-role {
    margin-top: 4px;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(248, 246, 241, 0.5);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === Contact Section === */
.contact {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 96px 0;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background-image: url('../public/assets/spices-macro.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
    pointer-events: none;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 10, 9, 0.85);
}

.contact-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
}

.contact-description {
    margin-top: 24px;
    color: rgba(248, 246, 241, 0.65);
}

.contact-info {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(197, 161, 86, 0.4);
    color: var(--gold);
}

.contact-info-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--ivory);
}

.contact-info-text {
    margin-top: 4px;
    font-size: 0.875rem;
    color: rgba(248, 246, 241, 0.6);
}

.contact-link:hover {
    color: var(--gold);
}

.contact-form-container {
    background: rgba(12, 10, 9, 0.55);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 40px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-field label,
.form-field-full label {
    display: block;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(248, 246, 241, 0.55);
    margin-bottom: 8px;
}

.required {
    color: var(--gold);
}

.form-field input,
.form-field-full input,
.form-field-full textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 0;
    font-size: 0.875rem;
    color: var(--ivory);
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field-full input:focus,
.form-field-full textarea:focus {
    border-color: var(--gold);
}

.form-field-full textarea {
    resize: none;
}

.form-field-full textarea::placeholder {
    color: rgba(248, 246, 241, 0.3);
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
}

.form-notice {
    font-size: 0.6875rem;
    color: rgba(248, 246, 241, 0.45);
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 5fr 7fr;
    }
}

/* === Footer === */
.footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--noir-2);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-bottom: 56px;
}

.footer-brand {
    grid-column: span 2;
}

.footer-logo {
    height: 88px;
    width: auto;
    filter: brightness(1.4) saturate(1.2) drop-shadow(0 2px 8px rgba(197, 161, 86, 0.3));
}

.footer-description {
    margin-top: 24px;
    max-width: 480px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(248, 246, 241, 0.55);
}

.footer-social {
    margin-top: 24px;
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--gold);
    transform: scale(1.1);
}

.footer-social img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-social a:hover img {
    opacity: 1;
}

.footer-col h4 {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--gold);
}

.footer-col ul {
    margin-top: 20px;
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 0.875rem;
    color: rgba(248, 246, 241, 0.6);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-contact li {
    font-size: 0.875rem;
    color: rgba(248, 246, 241, 0.6);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.6875rem;
    color: rgba(248, 246, 241, 0.4);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-accent {
    height: 4px;
    width: 100%;
    background: var(--gradient-gold);
}

@media (min-width: 640px) {
    .footer-bottom-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(12, 1fr);
    }
    
    .footer-brand {
        grid-column: span 4;
    }
    
    .footer-col {
        grid-column: span 2;
    }
}

/* === Reveal Animations === */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-reveal-product] {
    opacity: 0;
    transform: translateY(80px);
    filter: blur(8px) brightness(0.3);
    transition: 
        opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-product].is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0) brightness(1);
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .hero-logo {
        height: 120px;
    }
    
    .intro,
    .products,
    .why-choose,
    .contact {
        padding: 64px 0;
    }
}
