/* ==========================================================================
   Samar Nutritions — Premium Light Theme & Full-Width Master Stylesheet
   ========================================================================== */

:root {
    /* Light Color Palette */
    --bg-main: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-glow: rgba(16, 185, 129, 0.2);

    /* Text Colors (High Contrast) */
    --text-main: #0F172A;
    --text-muted: #475569;
    --text-dim: #94A3B8;

    /* Theme Accents */
    --citrus-primary: #D97706;
    --citrus-glow: rgba(217, 119, 6, 0.15);
    
    --hydrate-primary: #0284C7;
    --hydrate-glow: rgba(2, 132, 199, 0.15);

    --immunity-primary: #10B981;
    --immunity-glow: rgba(16, 185, 129, 0.15);

    --fiber-primary: #65A30D;
    --fiber-glow: rgba(101, 163, 13, 0.15);

    --range-primary: #EA580C;
    --range-glow: rgba(234, 88, 12, 0.15);

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

    /* Shadows & Elevations */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.15);

    /* Layout & Transitions */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-main);
}

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

button, input, select {
    font-family: inherit;
    font-size: inherit;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }

/* ==========================================================================
   Navigation Bar — Tight, Clean, Light Theme
   ========================================================================== */

/* === Navbar Height Token: used for hero margin-top calculation ===
   Total nav height = 2 × 0.35rem padding + 45px logo ≈ 3.51rem ≈ 3.5rem
   We use CSS variable so hero offset stays in sync automatically.        */
:root {
    --navbar-height: 3.5rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0.35rem 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo-img {
    height: 45px;          /* +10% from 41px = 45px */
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--immunity-primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Global Button Base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-glass {
    background: #F1F5F9;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-glass:hover { background: #E2E8F0; }

.btn-full { width: 100%; }

/* Mobile hamburger — hidden on desktop */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 105;
    padding: 0;
    flex-shrink: 0;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   Mobile Navigation Drawer
   ========================================================================== */
.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(6px);
    z-index: 190;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 340px);
    height: 100dvh;
    background: #FFFFFF;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 30px rgba(15, 23, 42, 0.12);
    border-left: 1px solid var(--border-color);
}

.mobile-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.mobile-drawer-close {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
    padding: 0;
}

.mobile-drawer-close:hover { color: var(--text-main); }

.mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: background 0.2s ease, color 0.2s ease;
    display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #F0FDF4;
    color: var(--immunity-primary);
}

.mobile-drawer-footer {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

/* ==========================================================================
   Hero Section — Desktop: 16:9 Background Image Slider
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - var(--navbar-height));
    margin-top: var(--navbar-height);
    overflow: hidden;
    background: #F8FAFC;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2.5rem 5rem;
    background-color: #F8FAFC;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* ── Desktop slide content ── */
.slide-content-capsule {
    position: relative;
    z-index: 2;
    max-width: 520px;
    background: transparent;
    padding: 0;
}

/* Product image — desktop: hidden; mobile: shown */
.slide-product-mobile {
    display: none;
}

/* Tag badges row */
.slide-tag {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.tag-badge {
    padding: 0.28rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Colour variants */
.badge-citrus   { background: #FEF3C7; color: #D97706; border: 1px solid #FCD34D; }
.badge-hydrate  { background: #E0F2FE; color: #0284C7; border: 1px solid #7DD3FC; }
.badge-immunity { background: #D1FAE5; color: #059669; border: 1px solid #6EE7B7; }
.badge-fiber    { background: #ECFCCB; color: #65A30D; border: 1px solid #BEF264; }
.badge-range    { background: #FFEDD5; color: #EA580C; border: 1px solid #FDBA74; }
.badge-outline  { border: 1px solid var(--border-color); background: #F8FAFC; color: var(--text-muted); }

/* Heading */
.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 3.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    color: #0F172A;
}

/* Colour highlights */
.highlight-citrus   { color: var(--citrus-primary); }
.highlight-hydrate  { color: var(--hydrate-primary); }
.highlight-immunity { color: var(--immunity-primary); }
.highlight-fiber    { color: var(--fiber-primary); }
.highlight-range    { color: var(--range-primary); }

/* Subtitle */
.slide-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.3vw, 1.2rem);
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.85rem;
}

/* Description — visible on desktop, hidden on mobile */
.slide-description {
    font-size: 0.95rem;
    color: #475569;
    max-width: 440px;
    margin-bottom: 1.25rem;
    line-height: 1.65;
    font-weight: 500;
}

/* Feature pills row — visible on desktop, hidden on mobile */
.slide-features-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.feature-pill {
    background: rgba(241, 245, 249, 0.95);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

/* Action buttons row */
.slide-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Themed CTA buttons */
.btn-citrus   { background: #F59E0B; color: #FFFFFF; font-weight: 800; }
.btn-citrus:hover   { background: #D97706; box-shadow: 0 8px 20px var(--citrus-glow); }
.btn-hydrate  { background: var(--hydrate-primary); color: #FFFFFF; font-weight: 800; }
.btn-hydrate:hover  { background: #0369A1; box-shadow: 0 8px 20px var(--hydrate-glow); }
.btn-immunity { background: var(--immunity-primary); color: #FFFFFF; font-weight: 800; }
.btn-immunity:hover { background: #059669; box-shadow: 0 8px 20px var(--immunity-glow); }
.btn-fiber    { background: var(--fiber-primary); color: #FFFFFF; font-weight: 800; }
.btn-fiber:hover    { background: #4D7C0F; box-shadow: 0 8px 20px var(--fiber-glow); }
.btn-range    { background: var(--range-primary); color: #FFFFFF; font-weight: 800; }
.btn-range:hover    { background: #C2410C; box-shadow: 0 8px 20px var(--range-glow); }

/* ==========================================================================
   Slider Controls (Dots + Arrows) — positioned inside hero bottom-left
   ========================================================================== */
.slider-controls {
    position: absolute;
    bottom: 1.5rem;
    left: 5rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.slider-arrow {
    background: transparent;
    border: none;
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.slider-arrow:hover {
    background: var(--immunity-primary);
    color: #FFFFFF;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease, border-radius 0.3s ease;
    flex-shrink: 0;
}

.dot.active {
    width: 24px;
    border-radius: var(--radius-full);
    background: var(--immunity-primary);
}

/* Misc slide elements (legacy / kept for compatibility) */
.slide-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.glow-citrus   { background: #FCD34D; opacity: 0.3; }
.glow-hydrate  { background: #7DD3FC; opacity: 0.3; }
.glow-immunity { background: #6EE7B7; opacity: 0.3; }
.glow-fiber    { background: #BEF264; opacity: 0.3; }
.glow-range    { background: #FDBA74; opacity: 0.3; }

.product-img {
    max-height: 480px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.product-img:hover { transform: scale(1.02) translateY(-4px); }

.floating-badge {
    position: absolute;
    top: 2rem;
    right: -1rem;
    z-index: 3;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 4s ease-in-out infinite;
    box-shadow: var(--shadow-md);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--immunity-primary);
    line-height: 1;
}

.badge-lbl {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.slide-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--bg-card);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.feature-icon { font-size: 1.4rem; }

.feature-info { display: flex; flex-direction: column; }
.feature-info strong { font-size: 0.82rem; color: var(--text-main); }
.feature-info span   { font-size: 0.72rem; color: var(--text-muted); }



/* ==========================================================================
   Retailers Section (Full Width)
   ========================================================================== */
.retailers-section {
    padding: 5.5rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-badge {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--immunity-primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto;
}

.retailers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.retailer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.85rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.retailer-card:hover {
    transform: translateY(-6px);
    border-color: var(--immunity-primary);
    box-shadow: var(--shadow-md);
}

.retailer-logo {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.retailer-logo svg {
    max-height: 100%;
    height: 80px;
    width: auto;
    max-width: 90%;
}

.retailer-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.status-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: #D1FAE5;
    color: #059669;
    border: 1px solid #6EE7B7;
}

/* ==========================================================================
   Nutrition & Health Audit Section (Full Width)
   ========================================================================== */
.nutrition-section {
    padding: 6rem 0;
    background: var(--bg-main);
}

.audit-tabs {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: #F1F5F9;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.85rem 1.65rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-main);
    background: #E2E8F0;
}

.tab-btn.active {
    background: var(--immunity-primary);
    color: #FFFFFF;
    border-color: var(--immunity-primary);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.audit-panel {
    display: none;
}

.audit-panel.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
    align-items: center;
}

.panel-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 470px;
    aspect-ratio: 9 / 16;
    max-height: 780px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: #0F172A;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.panel-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
}

.panel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

.panel-details h3 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.panel-tag {
    font-size: 0.9rem;
    color: var(--immunity-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 1.25rem;
}

.panel-highlights {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.chip {
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: #F8FAFC;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.nutrition-table th, .nutrition-table td {
    padding: 0.85rem 1.1rem;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.nutrition-table th {
    background: #E2E8F0;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

.nutrition-table tr:hover {
    background: #F1F5F9;
}

.benefit-list {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.benefit-list li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   About Us & Heritage Story Section (Full Width)
   ========================================================================== */
.heritage-section {
    position: relative;
    padding: 7rem 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #FFFFFF 100%);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.heritage-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.heritage-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
}

.badge-heritage {
    color: #D97706;
}

.heritage-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.heritage-lead {
    font-size: 1.25rem;
    font-weight: 700;
    color: #D97706;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    border-left: 4px solid #D97706;
    padding-left: 1rem;
}

.heritage-body {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.heritage-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.35rem 0.85rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--immunity-primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-lbl {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.heritage-card {
    position: relative;
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(180, 83, 9, 0.82) 100%), url('../Assets/hero_lifestyle2.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 3.25rem 2.75rem;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
    overflow: hidden;
}

.seal-svg {
    width: 85px;
    height: 85px;
    margin-bottom: 1rem;
}

.card-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.heritage-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.heritage-highlights li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.heritage-highlights .icon {
    font-size: 1.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.65rem;
    border-radius: var(--radius-sm);
    color: #FFFFFF;
}

.heritage-highlights strong {
    font-size: 1.05rem;
    color: #FEF3C7;
    display: block;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.heritage-highlights p {
    font-size: 0.92rem;
    color: #F1F5F9;
    line-height: 1.55;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   CTA Banner Section (Full Width)
   ========================================================================== */
.cta-banner-section {
    padding: 5.5rem 0;
    background: var(--bg-main);
}

.cta-banner-card {
    position: relative;
    background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.84) 0%, rgba(5, 150, 105, 0.8) 100%), url('../Assets/hero_lifestyle1.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-lg);
    padding: 5.5rem 3rem;
    text-align: center;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
    overflow: hidden;
}

.badge-cta {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: #6EE7B7;
    margin-bottom: 0.85rem;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.cta-banner-card h2 {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-banner-card p {
    font-size: 1.15rem;
    color: #F1F5F9;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.form-note {
    display: block;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: #E2E8F0;
}

.cta-form {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    max-width: 580px;
    margin: 0 auto 1rem;
}

.cta-form input {
    flex: 1;
    padding: 1rem 1.65rem;
    border-radius: var(--radius-full);
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: var(--text-main);
    outline: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.cta-form input:focus {
    border-color: var(--immunity-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Premium Footer (Light Theme & Full Width)
   ========================================================================== */
.footer {
    background: #F8FAFC;
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
}

.footer-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-bio {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 1.25rem 0 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background: var(--immunity-primary);
    color: #FFFFFF;
    border-color: var(--immunity-primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--immunity-primary);
    padding-left: 4px;
}

.footer-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2.25rem 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.developer-credit {
    font-weight: 600;
    color: var(--text-main);
}

.developer-credit a {
    color: var(--immunity-primary);
    font-weight: 700;
    text-decoration: underline;
    transition: var(--transition);
}

.developer-credit a:hover {
    color: #059669;
}

.legal-links {
    display: flex;
    gap: 1.75rem;
}

.legal-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--text-main);
}

/* ==========================================================================
   VIP Modal
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-badge {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--immunity-primary);
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0.25rem 0 0.5rem;
    color: var(--text-main);
}

.modal-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.form-group input, .form-group select {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    color: var(--text-main);
    outline: none;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--immunity-primary);
    background: #FFFFFF;
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}


/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

/* ── Mobile hamburger & drawer: extra defs removed (defined above) ── */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
}

@media (max-width: 1200px) {
    .nav-container,
    .section-container,
    .footer-container {
        padding: 0 2rem;
    }
}

@media (max-width: 1024px) {
    /* ── Navbar ── */
    .nav-menu,
    .nav-actions {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

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

    .site-logo-img {
        height: 35px;          /* +10% from 32px ≈ 35px */
        max-width: 160px;
    }

    /* ═══════════════════════════════════════════════════════════════════════
       MOBILE HERO — Full 9:16 portrait screen (ROOT CAUSE FIX)

       Structure:  .slide  >  .slide-content-capsule  >  .slide-product-mobile
                                                       >  .slide-tag
                                                       >  .slide-title  ...

       Problem:    flex: 0 0 58% on .slide-product-mobile is relative to its
                   parent (.slide-content-capsule).  If the parent has no
                   concrete height, the percentage means nothing → collapse.

       Fix:        Give .slide-content-capsule a concrete height by making it
                   position:absolute; inset:0  so it fills 100% of .slide.
                   Then as a flex column it has real height to distribute to
                   its children (.slide-product-mobile and text elements).
    ═══════════════════════════════════════════════════════════════════════ */
    .hero-section {
        aspect-ratio: unset !important;
        width: 100%;
        height: calc(100dvh - var(--navbar-height));
        min-height: 520px;
        max-height: none;
        margin-top: var(--navbar-height);
        padding: 0;
        background: #FFFFFF;
        overflow: hidden;
    }

    /* Slider containers must propagate the concrete height downward */
    .slider-container,
    .slider-track {
        width: 100%;
        height: 100%;
        position: relative;
        overflow: hidden;
    }

    /* Each slide is an absolute layer that fills its container */
    .slide {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: block;           /* simple block — capsule handles layout */
        background-color: #FFFFFF !important;
        background-image: none !important;
        overflow: hidden;
    }

    /* ── THE KEY FIX ──
       Make the capsule fill the entire slide via absolute positioning.
       Now it has a real pixel height (100% of slide = 100% of hero).
       As a flex column it can correctly distribute that height to children. */
    .slide-content-capsule {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: #FFFFFF;
        padding: 0;
        overflow: hidden;
    }

    /* Product image zone: top 55% of the capsule (= top 55% of screen) */
    .slide-product-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex: 0 0 55%;        /* 55% of capsule height — now real pixels */
        min-height: 0;        /* allow flex shrink below content size */
        padding: 1.25rem 1.5rem 0.5rem;
        background: #FFFFFF;
    }

    .hero-product-img {
        display: block;
        width: auto;
        height: 100%;             /* fill the product zone height */
        max-width: 90%;
        max-height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 8px 20px rgba(15, 23, 42, 0.08));
    }

    /* Text zone: remaining 45% of capsule */
    .slide-tag {
        flex-shrink: 0;
        justify-content: center;
        margin-bottom: 0.25rem;
        padding-top: 0.25rem;
    }

    .slide-title {
        flex-shrink: 0;
        font-size: clamp(1.35rem, 5.5vw, 2rem);
        color: #0F172A;
        line-height: 1.08;
        margin-bottom: 0.2rem;
        padding: 0 1rem;
    }

    .slide-subtitle {
        flex-shrink: 0;
        font-size: clamp(0.8rem, 2.8vw, 0.92rem);
        color: #475569;
        margin-bottom: 0.5rem;
        padding: 0 1rem;
    }

    /* Hide long content on mobile */
    .slide-description,
    .slide-features-row {
        display: none !important;
    }

    /* CTA buttons: stacked, full width, inside text zone */
    .slide-actions {
        flex-shrink: 0;
        flex-direction: column;
        width: 88%;
        gap: 0.4rem;
        padding-bottom: 3.5rem; /* clearance for slider controls */
    }

    .slide-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Slider controls: pinned inside hero, below the slide */
    .slider-controls {
        position: absolute;
        left: 50%;
        bottom: 0.75rem;
        transform: translateX(-50%);
        width: auto;
        min-width: 170px;
        padding: 0.3rem 0.65rem;
        z-index: 20;
    }

    /* Retailers */
    .retailers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    /* Nutrition Audit tabs */
    .audit-tabs {
        display: flex;
        justify-content: flex-start;
        gap: 0.75rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.85rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .audit-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.9rem;
        padding: 0.7rem 1.35rem;
    }

    .panel-grid {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        gap: 2.5rem;
    }

    .panel-image {
        max-width: 100%;
        max-height: 480px;
    }

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

    /* Heritage */
    .heritage-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .heritage-card {
        padding: 2.75rem 2rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 640px) {
    .nav-container, .section-container, .footer-container {
        padding: 0 1.25rem;
    }

    /* Hero: keep full-height on small phones, just tighten padding */
    .hero-section {
        min-height: 480px;
    }

    .slide-content-capsule {
        padding: 0.5rem 1.25rem 4rem;
    }

    .slide-title {
        font-size: clamp(1.35rem, 5vw, 1.85rem);
        line-height: 1.1;
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    .slide-description {
        font-size: 0.92rem;
        margin-bottom: 1.25rem;
    }

    .slide-features-row {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-pill {
        font-size: 0.78rem;
        padding: 0.35rem 0.75rem;
    }

    .slide-actions {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 0.75rem;
    }

    .slide-actions .btn {
        width: 100%;
    }

    .slider-controls {
        width: calc(100% - 2.5rem);
        padding: 0.4rem 1rem;
        bottom: 1.25rem;
    }

    /* Retailers */
    .retailers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .retailer-card {
        padding: 1.25rem 0.75rem;
    }

    .retailer-logo {
        height: 60px;
    }

    /* Nutrition Section */
    .nutrition-section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .panel-grid {
        padding: 1.75rem 1.25rem;
        gap: 1.75rem;
    }

    .panel-details h3 {
        font-size: 1.65rem;
    }

    .nutrition-table th, .nutrition-table td {
        padding: 0.65rem 0.75rem;
        font-size: 0.82rem;
    }

    .panel-image {
        max-height: 420px;
        border-radius: 16px;
    }

    /* Heritage Section */
    .heritage-section {
        padding: 4.5rem 0;
    }

    .heritage-title {
        font-size: 2.1rem;
    }

    .heritage-lead {
        font-size: 1.05rem;
    }

    .heritage-body {
        font-size: 0.95rem;
    }

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

    .stat-card {
        padding: 1rem 0.5rem;
    }

    .stat-num {
        font-size: 1.85rem;
    }

    .heritage-card {
        padding: 2rem 1.25rem;
    }

    .card-heading {
        font-size: 1.4rem;
    }

    /* CTA Form */
    .cta-banner-section {
        padding: 4rem 0;
    }

    .cta-banner-card {
        padding: 3rem 1.25rem;
    }

    .cta-banner-card h2 {
        font-size: 1.85rem;
    }

    .cta-banner-card p {
        font-size: 0.98rem;
    }

    .cta-form {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .cta-form input, .cta-form .btn {
        width: 100%;
    }

    /* Footer */
    .footer {
        padding-top: 3.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 0.85rem;
        text-align: center;
    }

    /* VIP Modal */
    .modal-card {
        padding: 2rem 1.25rem;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }
}

