:root{
    --bg:#f7f4ef;
    --text:#343230;
    --muted:#6f6a64;
    --accent:#1f1f1f;
    --line:#e8e2da;
    --surface:#fcfaf7;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.8;
    padding-top:90px;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

/* ================= HEADER ================= */

header{
    position:fixed;
    top:0;
    width:100%;
    background:rgba(247,244,239,0.94);
    border-bottom:1px solid var(--line);
    backdrop-filter:blur(12px);
    z-index:1000;
}

.nav-container{
    max-width:960px;
    margin:0 auto;
    padding:22px 20px 20px;
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    gap:32px;
}

.brand{
    display:flex;
    flex-direction:row;
    align-items:baseline;
    text-decoration:none;
    color:inherit;
    flex-shrink:0;
    gap:36px;
    margin-left:-8px;
}

nav{
    display:flex;
    align-items:baseline;
    justify-content:flex-end;
    flex-wrap:wrap;
}

nav a{
    font-size:0.92rem;
    font-weight:500;
    letter-spacing:0.01em;
    color:var(--muted);
    text-decoration:none;
    margin-left:28px;
    padding-bottom:3px;
    line-height:1;
    display:inline-flex;
    align-items:baseline;
    background-image:linear-gradient(currentColor,currentColor);
    background-position:0 100%;
    background-repeat:no-repeat;
    background-size:0 1px;
    transition:color 0.25s ease, background-size 0.25s ease, opacity 0.25s ease;
}

nav a:hover{
    opacity:1;
    color:#111;
    background-size:100% 1px;
}

.logo{
    font-family:'Playfair Display',serif;
    font-size:1.7rem;
    font-weight:600;
    letter-spacing:-0.03em;
    color:#111;
    line-height:1;
    transform:translateY(2px);
}

.brand-sub{
    font-size:0.82rem;
    font-weight:400;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:#777;
    margin-top:0;
    line-height:1;
    white-space:nowrap;
    transform:none;
}

/* ================= HERO ================= */

.hero{
    height:80vh;
    background:
    linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.25) 100%),
    url('../hero.jpg') center/cover no-repeat;
    display:flex;
    align-items:flex-end;
    padding:0 8% 12vh 8%;
    color:white;
}

.hero-inner{
    max-width:640px;
}

.hero p{
    font-size:1.12rem;
    font-weight:300;
    line-height:1.85;
    margin-bottom:34px;
    opacity:0.93;
}

.hero-btn{
    display:inline-block;
    padding:14px 30px;
    background:white;
    color:#1f1f1f;
    text-decoration:none;
    border-radius:6px;
    font-weight:500;
    transition:0.3s ease;
}

.hero-btn:hover{
    background:#f2efe9;
}

/* ================= SECTION ================= */

.section{
    padding:132px 8%;
}

.section h2{
    font-family:'Playfair Display',serif;
    font-size:2.1rem;
    font-weight:600;
    letter-spacing:-0.02em;
    line-height:1.25;
    margin-bottom:18px;
}

/* ================= GRID ================= */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:40px;
    margin-top:30px;
}

.card{
    display:block;
    background:white;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 18px 50px rgba(31,24,18,0.06);
    color:inherit;
    text-decoration:none;
    transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover{
    transform:translateY(-6px);
    box-shadow:0 24px 60px rgba(31,24,18,0.08);
}

.card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.card-content{
    padding:27px 25px 26px;
}

.card h3{
    font-family:'Playfair Display',serif;
    font-size:1.34rem;
    line-height:1.3;
    margin-bottom:11px;
}

.card p{
    font-size:0.97rem;
    color:var(--muted);
}

.section:nth-of-type(even){
    background:#f3efe9;
}

/* ================= CTA ================= */

.cta{
    background:#e9e6e1;
    text-align:center;
    padding:100px 20px;
}

.cta h2{
    font-family:'Playfair Display',serif;
    font-size:2rem;
}

button{
    margin-top:25px;
    padding:16px 36px;
    border:none;
    background:var(--accent);
    color:white;
    border-radius:8px;
    cursor:pointer;
}

/* ================= FOOTER ================= */

footer{
    padding:60px 8%;
    text-align:center;
    background:#1f1f1f;
    color:#bbb;
    font-size:0.9rem;
}

footer a{
    color:#ddd4c9;
    text-decoration:none;
    transition:color 0.3s ease;
}

footer a:hover{
    color:white;
}

/* ================= COOKIE BANNER ================= */

.cookie-banner{
    position:fixed;
    left:24px;
    right:24px;
    bottom:24px;
    max-width:920px;
    margin:0 auto;
    padding:18px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    background:rgba(252,250,247,0.98);
    border:1px solid var(--line);
    border-radius:20px;
    box-shadow:0 18px 48px rgba(31,24,18,0.12);
    z-index:1200;
    backdrop-filter:blur(14px);
}

.cookie-banner[hidden]{
    display:none;
}

.cookie-banner p{
    margin:0;
    max-width:640px;
    color:var(--muted);
    font-size:0.95rem;
    line-height:1.7;
}

.cookie-banner-actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
}

.cookie-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:108px;
    padding:12px 18px;
    border-radius:999px;
    border:1px solid transparent;
    font:inherit;
    font-size:0.9rem;
    cursor:pointer;
    transition:background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.cookie-button:hover{
    transform:translateY(-1px);
}

.cookie-button-primary{
    background:var(--accent);
    color:white;
}

.cookie-button-primary:hover{
    background:#333;
}

.cookie-button-secondary{
    background:transparent;
    color:var(--text);
    border-color:var(--line);
}

.cookie-button-secondary:hover{
    background:#f3eee7;
}

/* ================= ARTICLE ================= */

.article-hero{
    padding:152px 20px 72px;
    text-align:center;
}

.article-hero p{
    max-width:720px;
    margin:0 auto;
    color:var(--muted);
    font-size:1.05rem;
    line-height:1.9;
}

.article-hero h1{
    font-family:'Playfair Display',serif;
    font-size:52px;
    line-height:1.14;
    letter-spacing:-0.035em;
    margin-bottom:20px;
}

.article-feature-image{
    max-width:760px;
    margin:40px auto 88px;
    padding:0 20px;
}

.article-feature-image img{
    width:100%;
    border-radius:16px;
    box-shadow:0 22px 60px rgba(31,24,18,0.08);
}

.article-body{
    padding:0 20px 112px;
}

.article-content{
    max-width:680px;
    margin:0 auto;
}

.article-content h2{
    font-family:'Playfair Display',serif;
    margin-top:58px;
    margin-bottom:16px;
    font-size:30px;
    line-height:1.28;
    letter-spacing:-0.02em;
}

.article-content p{
    margin-bottom:20px;
    color:var(--text);
}

.article-content ul{
    margin-left:20px;
    margin-top:16px;
    color:var(--text);
}

.article-content li{
    margin-bottom:10px;
}

/* ================= SOLUTION SECTION ================= */

.solution-section{
    max-width:960px;
    margin:0 auto 112px;
    padding:0 20px;
    text-align:center;
}

.solution-section h2{
    font-family:'Playfair Display',serif;
    font-size:34px;
    letter-spacing:-0.02em;
    margin-bottom:12px;
}

.solution-section p{
    color:var(--muted);
    margin-bottom:32px;
}

.solution-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.solution-card{
    background:var(--surface);
    border-radius:16px;
    padding:20px;
    box-shadow:0 12px 30px rgba(31,24,18,0.05);
    display:flex;
    flex-direction:column;
    transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 36px rgba(31,24,18,0.08);
}

.solution-card img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:15px;
}

.solution-card h3{
    font-family:'Playfair Display',serif;
    font-size:20px;
    margin-bottom:10px;
}

.solution-card p{
    font-size:14px;
    color:var(--muted);
    margin-bottom:14px;
}

/* ================= BUTTON ================= */

.button{
    display:inline-block;
    padding:11px 20px;
    background:#1f1f1f;
    color:white;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
    margin-top:auto;
    align-self:center;
    transition:0.2s;
}

.button:hover{
    background:#333;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){

    .hero{
        height:70vh;
    }

    .section{
        padding:88px 6%;
    }

    .article-hero h1{
        font-size:38px;
    }

    .nav-container{
        align-items:flex-start;
        flex-direction:column;
        gap:14px;
    }

    .brand{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    nav{
        width:100%;
        justify-content:flex-start;
        gap:6px 0;
    }

    nav a{
        margin-left:0;
        margin-right:22px;
    }

    .solution-section{
        background:#f1efec;
        padding:80px 20px;
        border-radius:20px;
    }

    .top-pick{
        display:inline-block;
        background:#e8e5df;
        color:#333;
        font-size:12px;
        padding:4px 10px;
        border-radius:20px;
        margin-bottom:10px;
    }

    .section-sub{
        color:var(--muted);
        margin-bottom:30px;
    }

    .article-feature-image{
        margin-top:20px;
    }

    .cookie-banner{
        left:16px;
        right:16px;
        bottom:16px;
        padding:16px;
        flex-direction:column;
        align-items:flex-start;
    }

    .cookie-banner p{
        max-width:none;
        font-size:0.92rem;
    }

    .cookie-banner-actions{
        width:100%;
    }

    .cookie-button{
        flex:1 1 0;
    }
}
