/* =============================================
   RESET
   ============================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
*, *:after, *:before { box-sizing: border-box; }

/* =============================================
   VARIABLES
   ============================================= */
:root {
    --primary:       #122318;
    --primary-light: #1c3826;
    --accent:        #3a7d44;
    --accent-hover:  #2d6035;
    --accent-light:  #76c68f;
    --accent-pale:   #e8f5eb;
    --text:          #1a2a1c;
    --text-muted:    #5a7060;
    --bg:            #ffffff;
    --bg-alt:        #f4f9f5;
    --bg-cream:      #fdfbf7;
    --border:        #d0e8d5;
    --white:         #ffffff;
    --max-width:     1200px;
    --header-h:      70px;
    --radius:        8px;
}

/* =============================================
   BASE
   ============================================= */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
}
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    transition: background 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); }
.btn-large { padding: 15px 38px; font-size: 16px; }
.btn-white { background: var(--white); color: var(--accent); }
.btn-white:hover { background: var(--accent-pale); color: var(--accent-hover); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); }
.btn-login {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.4);
    padding: 10px 22px;
}
.btn-login:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.72); }
.btn-signup {
    background: var(--accent);
    color: var(--white);
    padding: 10px 22px;
}
.btn-signup:hover { background: var(--accent-hover); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--primary);
    height: var(--header-h);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    position: relative;
}
.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.2px;
    flex-shrink: 0;
    text-decoration: none;
}
.logo span { color: var(--accent-light); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    list-style: none;
}
.nav-menu li a {
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    display: block;
}
.nav-menu li a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.nav-cta-item { display: none; }
.desktop-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.28s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO — diagonal split overlay (template variation)
   ============================================= */
.hero {
    background: url("../images/banner.jpg") no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 88px 0 96px;
    text-align: center;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18,35,24,0.82) 0%, rgba(58,125,68,0.4) 60%, rgba(18,35,24,0.55) 100%);
    z-index: 0;
}
.hero-content {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-pill {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(26px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.14;
    margin-bottom: 20px;
    color: var(--white);
}
.hero p {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   TRUST BAR (template variation)
   ============================================= */
.trust-bar {
    background: var(--accent);
    padding: 0;
}
.trust-bar-inner {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
}
.trust-item {
    flex: 1;
    text-align: center;
    padding: 16px 12px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-right: 1px solid rgba(255,255,255,0.18);
}
.trust-item:last-child { border-right: none; }
.trust-item small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    opacity: 0.8;
    margin-top: 3px;
    letter-spacing: 0;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery {
    background: var(--primary);
    padding: 36px 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.gallery-item {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.32s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* =============================================
   SECTION BASE
   ============================================= */
section { padding: 64px 0; }

section h2 {
    font-size: clamp(22px, 2.8vw, 36px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.18;
    margin-bottom: 14px;
}
section h3 {
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 10px;
}
section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 12px;
}
section p:last-child { margin-bottom: 0; }
section p strong { color: var(--primary); font-weight: 700; }

section ul { margin: 10px 0 16px; }
section ul li {
    font-size: 15px;
    line-height: 1.72;
    color: var(--text);
    padding-left: 22px;
    position: relative;
    margin-bottom: 5px;
}
section ul li::before {
    content: '✓';
    position: absolute;
    left: 2px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.72;
}

.section-intro {
    font-size: 17px !important;
    color: var(--text-muted) !important;
    margin-bottom: 36px !important;
}
.green-line {
    width: 48px;
    height: 3px;
    background: var(--accent);
    margin: 12px 0 26px;
    border-radius: 2px;
}

/* =============================================
   INTRO
   ============================================= */
.intro { background: var(--bg); }
.intro .container { max-width: 860px; }
.intro p { font-size: 16px; line-height: 1.88; margin-bottom: 18px; }

/* =============================================
   SWISS QUALITY — split 2-col text + highlights
   ============================================= */
.swiss-quality { background: var(--bg-alt); }
.quality-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 8px;
}
.quality-text p { margin-bottom: 14px; }
.quality-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.quality-highlight {
    background: var(--bg);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
}
.quality-highlight h3 { font-size: 15px; margin-bottom: 6px; }
.quality-highlight p { font-size: 14px; margin: 0; }

/* =============================================
   PRODUCTS — 2×2 grid (template variation)
   ============================================= */
.products { background: var(--bg-cream); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 8px;
}
.product-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}
.product-card h3 { margin-bottom: 12px; }

/* =============================================
   INGREDIENTS — dark section
   ============================================= */
.ingredients { background: var(--primary); }
.ingredients h2 { color: var(--white); }
.ingredients h3 { color: var(--accent-light); }
.ingredients p { color: rgba(255,255,255,0.82); }
.ingredients .section-intro { color: rgba(255,255,255,0.58) !important; }
.ingredients ul li { color: rgba(255,255,255,0.82); }
.ingredients ul li::before { color: var(--accent-light); }
.ingredients-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 8px;
}

/* =============================================
   CRAFTSMANSHIP
   ============================================= */
.craftsmanship { background: var(--bg-alt); }
.craft-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 8px;
}
.craft-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px 26px;
    border: 1px solid var(--border);
}
.craft-card h3 { border-bottom: 2px solid var(--accent); padding-bottom: 10px; margin-bottom: 14px; }

/* =============================================
   WHY CHOOSE
   ============================================= */
.why-choose { background: var(--bg); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 8px;
}
.why-card {
    background: var(--accent-pale);
    border-radius: var(--radius);
    padding: 26px 24px;
    border: 1px solid var(--border);
}
.why-card h3 { color: var(--accent-hover); margin-bottom: 10px; }

/* =============================================
   SUSTAINABILITY
   ============================================= */
.sustainability { background: var(--primary-light, #1c3826); }
.sustainability h2 { color: var(--white); }
.sustainability p { color: rgba(255,255,255,0.82); }
.sustainability .section-intro { color: rgba(255,255,255,0.58) !important; }
.sustainability ul li { color: rgba(255,255,255,0.82); }
.sustainability ul li::before { color: var(--accent-light); }
.sustain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 28px 0;
}
.sustain-item {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(118,198,143,0.18);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

/* =============================================
   OCCASIONS — 3-col
   ============================================= */
.occasions { background: var(--bg-alt); }
.occasions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 8px;
}
.occasion-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 30px 26px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
}

/* =============================================
   LIFESTYLE / PREMIUM GENUSS
   ============================================= */
.lifestyle { background: var(--bg-cream); }
.lifestyle-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 8px;
}

/* =============================================
   GEOGRAPHY
   ============================================= */
.geography { background: var(--primary); }
.geography h2 { color: var(--white); }
.geography p { color: rgba(255,255,255,0.82); }
.geography .section-intro { color: rgba(255,255,255,0.58) !important; }
.swiss-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}
.city-tag {
    background: rgba(118,198,143,0.12);
    border: 1px solid rgba(118,198,143,0.25);
    color: var(--white);
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 600;
}

/* =============================================
   ONLINE ORDERING — tech items
   ============================================= */
.online-ordering { background: var(--bg-alt); }
.order-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 24px 0;
}
.order-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
}

/* =============================================
   COMMUNITY / CTA
   ============================================= */
.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    text-align: center;
}
.cta-section h2 {
    color: var(--white);
    font-size: clamp(24px, 3.2vw, 42px);
}
.cta-section p {
    color: rgba(255,255,255,0.88);
    font-size: 16px;
    max-width: 580px;
    margin: 0 auto 28px;
}
.cta-section ul { display: inline-block; text-align: left; margin: 14px auto 24px; }
.cta-section ul li { color: rgba(255,255,255,0.88); }
.cta-section ul li::before { color: var(--accent-light); }

/* =============================================
   FAQ
   ============================================= */
.faq { background: var(--bg-alt); }
.faq-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.faq-item {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 24px 28px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
}
.faq-item h3 { margin-bottom: 10px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--primary);
    padding: 52px 0 28px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.footer-brand .logo { display: block; margin-bottom: 10px; font-size: 20px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.65; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.footer-nav a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.28); margin: 0; }

/* =============================================
   RESPONSIVE — HAMBURGER FROM 1024px
   ============================================= */
@media (max-width: 1024px) {
    .hamburger { display: flex; }
    .desktop-cta { display: none; }
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: -24px; right: -24px;
        background: var(--primary);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 16px;
        box-shadow: 0 12px 32px rgba(0,0,0,0.4);
        z-index: 100;
        margin-left: 0;
    }
    .nav-menu.open { display: flex; }
    .nav-menu li { border-bottom: 1px solid rgba(255,255,255,0.07); }
    .nav-menu li:last-child { border-bottom: none; }
    .nav-menu li a { padding: 14px 24px; font-size: 15px; border-radius: 0; }
    .nav-menu li a:hover { background: rgba(255,255,255,0.06); }
    .nav-cta-item { display: block; padding: 10px 24px; border-bottom: none !important; }
    .nav-cta-item .btn { display: block; width: 100%; text-align: center; }

    .trust-bar-inner { flex-wrap: wrap; }
    .trust-item { flex: 1 1 40%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .quality-layout { grid-template-columns: 1fr; gap: 24px; }
    .products-grid { grid-template-columns: 1fr; }
    .ingredients-grid { grid-template-columns: 1fr; }
    .craft-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .sustain-grid { grid-template-columns: repeat(2, 1fr); }
    .occasions-grid { grid-template-columns: 1fr; }
    .lifestyle-cols { grid-template-columns: 1fr; gap: 24px; }
    .order-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    section { padding: 48px 0; }
    .hero { padding: 68px 0 76px; }
    .sustain-grid { grid-template-columns: repeat(2, 1fr); }
    .order-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { flex-direction: column; gap: 24px; }
    .footer-nav { flex-direction: column; align-items: flex-start; gap: 10px; }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .trust-item { flex: 1 1 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 25px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .order-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 5px; }
}
