/* ============================================================
   BIOLUGA — COMPLETE RESPONSIVE STYLES
   ============================================================ */

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Body */
body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    background: #FFFFFF; 
    color: #003366; 
    line-height: 1.6; 
    overflow-x: hidden;
}

/* Container */
.container { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 24px; 
    width: 100%; 
}

/* ============================================================
   HEADER
   ============================================================ */
.global-header { 
    background: #FFFFFF; 
    padding: 12px 0; 
    border-bottom: 1px solid rgba(0,51,102,0.06); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    box-shadow: 0 2px 8px rgba(0,51,102,0.04);
}
.header-inner { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}
.logo-link { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    flex-shrink: 0;
}
.logo { 
    height: 48px; 
    width: auto; 
}
.nav-list { 
    display: flex; 
    align-items: center; 
    gap: 24px; 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}
.nav-item a { 
    font-size: 14px; 
    font-weight: 500; 
    color: #415A77; 
    text-decoration: none; 
    padding: 4px 0; 
    border-bottom: 2px solid transparent; 
    transition: all 0.2s ease;
}
.nav-item a:hover, 
.nav-item.active a { 
    color: #003366; 
    border-bottom-color: #003366; 
}
.nav-locator { 
    color: #003366 !important; 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
}
.menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 8px; 
    flex-direction: column;
    gap: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}
.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #003366;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.menu-toggle span:nth-child(2) { width: 20px; }
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 14px 32px; 
    border-radius: 50px; 
    font-weight: 600; 
    font-size: 16px; 
    border: none; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    text-decoration: none; 
    gap: 8px; 
    min-height: 52px; 
    font-family: 'Inter', sans-serif;
}
.btn-primary { 
    background-color: #003366; 
    color: #FFFFFF; 
}
.btn-primary:hover { 
    background-color: #002244; 
    transform: translateY(-2px); 
    box-shadow: 0 8px 30px rgba(0,51,102,0.2); 
}
.btn-secondary { 
    background-color: transparent; 
    color: #003366; 
    border: 1.5px solid #003366; 
}
.btn-secondary:hover { 
    background-color: #003366; 
    color: #FFFFFF; 
    transform: translateY(-2px); 
}
.btn-small { 
    padding: 8px 18px; 
    font-size: 13px; 
    min-height: 38px; 
}
.btn-stacked { 
    display: inline-flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 12px 20px; 
    min-height: 60px; 
    gap: 2px; 
    width: 100%;
}
.btn-line-top { 
    font-weight: 600; 
    font-size: 15px; 
}
.btn-line-bottom { 
    font-weight: 400; 
    font-size: 13px; 
    opacity: 0.9; 
}
.zone-a-card .btn-stacked .btn-line-top { color: #7B9E87; }
.zone-b-card .btn-stacked .btn-line-top { color: #1B4F72; }
.zone-c-card .btn-stacked .btn-line-top { color: #C47B2E; }
.btn-stacked:hover .btn-line-top { color: #FFFFFF; }
.btn-stacked:hover .btn-line-bottom { color: rgba(255,255,255,0.9); }

/* ============================================================
   HERO
   ============================================================ */
.hero { 
    position: relative; 
    min-height: 80vh; 
    display: flex; 
    align-items: center; 
    overflow: hidden; 
    background: #003366; 
}
.hero-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.hero-background .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,51,102,0.85) 0%, rgba(0,51,102,0.4) 50%, rgba(0,51,102,0.1) 100%);
    z-index: 1;
}
.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 700px; 
    padding: 60px 0; 
}
.hero-headline { 
    font-family: 'Playfair Display', Georgia, serif; 
    font-size: 56px; 
    font-weight: 700; 
    color: #FFFFFF; 
    line-height: 1.1; 
    margin-bottom: 20px; 
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-subheadline { 
    font-size: 20px; 
    color: rgba(255,255,255,0.9); 
    line-height: 1.6; 
    margin-bottom: 32px; 
    max-width: 600px; 
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-actions .btn-primary { 
    background: #FFFFFF; 
    color: #003366; 
}
.hero-actions .btn-primary:hover { 
    background: rgba(255,255,255,0.9); 
}

/* ============================================================
   SECTION HEADLINES
   ============================================================ */
.section-headline { 
    font-family: 'Playfair Display', Georgia, serif; 
    font-size: 36px; 
    font-weight: 600; 
    color: #003366; 
    text-align: center; 
    margin-bottom: 12px; 
}
.section-subheadline { 
    font-size: 18px; 
    color: #415A77; 
    text-align: center; 
    max-width: 700px; 
    margin: 0 auto 40px; 
    line-height: 1.6; 
}

/* ============================================================
   PILLARS — COMPLETE FIX
   ============================================================ */

.pillars {
    padding: 80px 0;
    background: #FDFBF7;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.pillar-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 4px 20px rgba(0,51,102,0.06);
    transition: all 0.4s ease;
    border-top: 4px solid #003366;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 40px rgba(0,51,102,0.08);
}

/* Zone colors */
.zone-a-card { border-top-color: #7B9E87; }
.zone-b-card { border-top-color: #1B4F72; }
.zone-c-card { border-top-color: #C47B2E; }

/* Card icon */
.pillar-card .card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.zone-a-card .card-icon { background: rgba(123,158,135,0.12); }
.zone-b-card .card-icon { background: rgba(27,79,114,0.12); }
.zone-c-card .card-icon { background: rgba(196,123,46,0.12); }

.pillar-card .card-icon i {
    font-size: 36px;
    color: #003366;
}

.zone-a-card .card-icon i { color: #7B9E87; }
.zone-b-card .card-icon i { color: #1B4F72; }
.zone-c-card .card-icon i { color: #C47B2E; }

/* Brand header */
.pillar-card .brand-header {
    margin-bottom: 8px;
    text-align: center;
    width: 100%;
}

.pillar-card .brand-name {
    font-size: 28px;
    font-weight: 700;
    display: block;
    line-height: 1.1;
}

.brand-name-crena {
    font-family: 'Playfair Display', Georgia, serif;
    color: #7B9E87;
}

.brand-name-mealuga {
    font-family: 'Comfortaa', sans-serif;
    color: #1B4F72;
}

.brand-name-snacking {
    font-family: 'Inter', sans-serif;
    color: #C47B2E;
    letter-spacing: 0.5px;
}

.brand-tagline {
    font-size: 13px;
    font-weight: 500;
    color: #415A77;
    display: block;
    margin-top: 2px;
}

.pillar-card .card-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #003366;
    margin-bottom: 10px;
}

.pillar-card .card-description {
    font-size: 14px;
    color: #415A77;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
    width: 100%;
}

.pillar-card .btn {
    width: 100%;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .pillar-card .brand-name {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .pillars {
        padding: 50px 0;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .pillar-card {
        padding: 24px 20px;
    }
    .pillar-card .brand-name {
        font-size: 22px;
    }
    .pillar-card .card-icon {
        width: 60px;
        height: 60px;
    }
    .pillar-card .card-icon i {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .pillars {
        padding: 40px 0;
    }
    .pillars-grid {
        gap: 16px;
        max-width: 100%;
    }
    .pillar-card {
        padding: 20px 16px;
    }
    .pillar-card .brand-name {
        font-size: 20px;
    }
    .pillar-card .card-description {
        font-size: 13px;
    }
}

/* ============================================================
   PURITY STANDARD — FULLY RESPONSIVE
   ============================================================ */
.purity-standard { 
    padding: 80px 0; 
    background: #FDFBF7; 
}
.purity-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 28px; 
    margin-top: 40px; 
}
.purity-item { 
    text-align: center; 
    padding: 20px; 
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,51,102,0.04);
}
.purity-icon { 
    width: 64px; 
    height: 64px; 
    border-radius: 50%; 
    background: rgba(44,90,74,0.1); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 12px; 
}
.purity-title { 
    font-family: 'Playfair Display', Georgia, serif; 
    font-size: 18px; 
    font-weight: 600; 
    color: #003366; 
    margin-bottom: 8px; 
}
.purity-description { 
    font-size: 14px; 
    color: #415A77; 
    line-height: 1.6; 
}

/* ============================================================
   SUSTAINABILITY — FULLY RESPONSIVE
   ============================================================ */
.sustainability { 
    padding: 80px 0; 
    background: #F5F8F2; 
}
.sustainability-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 28px; 
    margin-top: 40px; 
}
.sustainability-card { 
    background: #FFFFFF; 
    border-radius: 16px; 
    padding: 28px 20px; 
    text-align: center; 
    box-shadow: 0 2px 8px rgba(0,51,102,0.04); 
    transition: all 0.4s ease; 
    border-top: 3px solid #C47B2E; 
    height: 100%;
}
.sustainability-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 4px 20px rgba(0,51,102,0.06); 
}
.sustainability-icon { 
    width: 64px; 
    height: 64px; 
    border-radius: 50%; 
    background: rgba(196,123,46,0.1); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 12px; 
}
.sustainability-title { 
    font-family: 'Playfair Display', Georgia, serif; 
    font-size: 18px; 
    font-weight: 600; 
    color: #003366; 
    margin-bottom: 6px; 
}
.sustainability-description { 
    font-size: 14px; 
    color: #415A77; 
    line-height: 1.6; 
}

/* ============================================================
   ROUTING — FULLY RESPONSIVE
   ============================================================ */
.audience-routing { 
    padding: 80px 0; 
    background: #FDFBF7; 
}
.routing-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 28px; 
    margin-top: 40px; 
}
.routing-card { 
    background: #FFFFFF; 
    border-radius: 16px; 
    padding: 32px 24px; 
    box-shadow: 0 4px 20px rgba(0,51,102,0.06); 
    transition: all 0.4s ease; 
    border-top: 4px solid #003366; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    height: 100%; 
    width: 100%;
}
.routing-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 10px 40px rgba(0,51,102,0.08); 
}
.routing-card:nth-child(1) { border-top-color: #7B9E87; }
.routing-card:nth-child(2) { border-top-color: #1B4F72; }
.routing-card:nth-child(3) { border-top-color: #C47B2E; }

.routing-icon { 
    width: 72px; 
    height: 72px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 14px; 
    flex-shrink: 0;
}
.routing-card:nth-child(1) .routing-icon { background: rgba(123,158,135,0.12); }
.routing-card:nth-child(2) .routing-icon { background: rgba(27,79,114,0.12); }
.routing-card:nth-child(3) .routing-icon { background: rgba(196,123,46,0.12); }

.routing-icon i { font-size: 32px; }
.routing-card h3 { 
    font-family: 'Playfair Display', Georgia, serif; 
    font-size: 20px; 
    font-weight: 600; 
    color: #003366; 
    margin-bottom: 8px; 
}
.routing-card p { 
    font-size: 14px; 
    color: #415A77; 
    line-height: 1.6; 
    flex-grow: 1; 
    margin-bottom: 16px; 
}
.routing-card .btn { 
    width: 100%; 
    justify-content: center; 
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ─── Tablet (1024px and below) ─── */
@media (max-width: 1024px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .purity-grid { grid-template-columns: repeat(2, 1fr); }
    .sustainability-grid { grid-template-columns: repeat(2, 1fr); }
    .routing-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hero-headline { font-size: 44px; }
    .hero { min-height: 60vh; }
    
    .pillar-card { padding: 28px 20px; }
    .pillar-card .brand-name { font-size: 26px; }
    .pillar-card .card-icon { width: 64px; height: 64px; }
}

/* ─── Mobile (768px and below) ─── */
@media (max-width: 768px) {
    /* All grids → 1 column */
    .pillars-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .purity-grid { 
        grid-template-columns: 1fr; 
        gap: 16px; 
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .sustainability-grid { 
        grid-template-columns: 1fr; 
        gap: 16px; 
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .routing-grid { 
        grid-template-columns: 1fr; 
        gap: 16px; 
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 24px; 
    }
    
    /* Hero — Full width with proper text */
    .hero { 
        min-height: 70vh; 
        align-items: flex-start;
        padding-top: 40px;
    }
    .hero-content { 
        padding: 30px 0; 
        max-width: 100%;
    }
    .hero-headline { 
        font-size: 32px; 
        br { display: none; }
    }
    .hero-subheadline { 
        font-size: 17px; 
        max-width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Section Headlines */
    .section-headline { 
        font-size: 28px; 
    }
    .section-subheadline { 
        font-size: 16px; 
        margin: 0 auto 24px; 
        padding: 0 10px;
    }
    
    /* Pillar Cards */
    .pillar-card { 
        padding: 24px 20px; 
        max-width: 100%;
    }
    .pillar-card .brand-name { 
        font-size: 24px; 
    }
    .pillar-card .card-icon { 
        width: 60px; 
        height: 60px; 
    }
    .pillar-card .card-icon i { 
        font-size: 30px; 
    }
    .pillar-card .card-description { 
        font-size: 14px; 
    }
    
    /* Routing Cards */
    .routing-card { 
        padding: 24px 20px; 
    }
    .routing-icon { 
        width: 60px; 
        height: 60px; 
    }
    .routing-icon i { 
        font-size: 28px; 
    }
    
    /* Section Padding */
    .pillars { padding: 50px 0; }
    .purity-standard { padding: 50px 0; }
    .sustainability { padding: 50px 0; }
    .audience-routing { padding: 50px 0; }
    .corporate-footer { 
        padding: 32px 0 16px; 
        margin-top: 40px; 
    }
    
    /* Container */
    .container { 
        padding: 0 16px; 
    }
    
    /* Newsletters */
    .newsletter-form { 
        flex-direction: column; 
    }
    .newsletter-form input { 
        width: 100%; 
    }
    .newsletter-form .btn-small { 
        width: 100%; 
        justify-content: center; 
    }
    
    /* Footer */
    .footer-bottom { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 12px;
    }
    .address-item { 
        flex-direction: column; 
        text-align: center; 
        gap: 6px; 
    }
    .legal-links { 
        gap: 12px; 
    }
    
    /* Menu */
    .nav-list { 
        display: none; 
        flex-direction: column; 
        gap: 12px; 
        padding: 20px; 
        width: 100%; 
        background: #FFFFFF; 
        position: absolute; 
        top: 72px; 
        left: 0; 
        box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
        border-top: 1px solid rgba(0,51,102,0.06); 
    }
    .nav-list.open { 
        display: flex; 
    }
    .menu-toggle { 
        display: flex; 
    }
    .nav-item { 
        width: 100%; 
    }
    .nav-item a { 
        display: block; 
        padding: 8px 0; 
        font-size: 16px; 
        border-bottom: none; 
    }
    .nav-locator {
        justify-content: center;
    }
    .logo { 
        height: 40px; 
    }
}

/* ─── Extra Small (480px and below) ─── */
@media (max-width: 480px) {
    .hero { 
        min-height: 60vh; 
        padding-top: 20px;
    }
    .hero-headline { 
        font-size: 28px; 
    }
    .hero-subheadline { 
        font-size: 15px; 
    }
    .section-headline { 
        font-size: 24px; 
    }
    .section-subheadline { 
        font-size: 15px; 
    }
    .pillar-card .brand-name { 
        font-size: 22px; 
    }
    .pillar-card { 
        padding: 20px 16px; 
    }
    .pillar-card .card-description { 
        font-size: 13px; 
    }
    
    .btn { 
        padding: 12px 20px; 
        font-size: 14px; 
        min-height: 44px; 
    }
    .btn-stacked { 
        padding: 10px 16px; 
        min-height: 50px; 
    }
    .btn-stacked .btn-line-top { 
        font-size: 14px; 
    }
    .btn-stacked .btn-line-bottom { 
        font-size: 12px; 
    }
    
    .container { 
        padding: 0 12px; 
    }
    
    .pillars { padding: 40px 0; }
    .purity-standard { padding: 40px 0; }
    .sustainability { padding: 40px 0; }
    .audience-routing { padding: 40px 0; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1),
                transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.15s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }