:root {
    /* Kolory – łatwa podmiana: ustaw tu odcień oliwkowy KL24 */
    --olive: #6E7B67; /* zbliżony do Magnat KL24 (oliwkowy) */
    --olive-600: #5f6a5a;
    --beige: #F2EEE4;
    --light: #FFFFFF;
    --ink: #233029;
    --muted: #66736B;
    --accent: #C7A57A; /* złoto-beżowy dla CTA nr 1 */
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--ink);
    background: var(--beige);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px;
    /*text-align: center*/
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(242, 238, 228, .92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #e5e0d5
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--olive-600)
}

.brand span {
    color: var(--olive)
}

.nav a {
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 10px
}

.nav a:hover {
    background: #e9e4d8
}

.cta-top {
    display: flex;
    gap: 10px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease
}

.btn:focus-visible {
    outline: 3px solid #0003;
    outline-offset: 2px
}

.btn-primary {
    background: var(--accent);
    color: #1b1b1b;
    box-shadow: 0 8px 20px rgba(199, 165, 122, .25)
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(199, 165, 122, .32)
}

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border: 1px solid #e6e0d6
}

.btn-ghost:hover {
    background: #fbfaf7
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(1200px 600px at 85% -20%, #f7f4ed 40%, #ece6d9 100%)
}

.hero img {
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto 20px
}

.hero::before {
    /* delikatny motyw liścia – SVG jako tło, bardzo subtelne */
    content: "";
    position: absolute;
    inset: -10% -10% auto auto;
    width: 900px;
    height: 900px;
    opacity: .14;
    pointer-events: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 600" fill="none"><g stroke="%236E7B67" stroke-opacity="0.35"><path d="M420 80c-60 40-110 90-140 150s-30 130 5 210"/><path d="M500 140c-60 30-125 75-160 130s-40 120 0 200"/><path d="M360 60c-40 25-85 70-110 110s-35 90-20 150"/></g></svg>') center/contain no-repeat;
}

.hero-inner {
    display: grid;
    align-items: center;
    min-height: 50svh
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.15;
    color: var(--olive-600);
    letter-spacing: .01em;
    margin: 18px 0
}

.hero p.lead {
    max-width: 62ch;
    font-size: clamp(16px, 2vw, 18px);
    color: var(--muted)
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px
}

/* WELCOME two-col */
.welcome {
    background: var(--light)
}

.welcome-grid {
    display: grid;
    gap: clamp(24px, 3vw, 40px);
    grid-template-columns: 1.2fr .8fr
}

@media (max-width: 900px) {
    .welcome-grid {
        grid-template-columns: 1fr
    }
}

.welcome h2 {
    font-family: "Playfair Display", serif;
    color: var(--olive-600);
    font-size: clamp(26px, 3.2vw, 36px);
    line-height: 1.25;
    margin: .25rem 0 1rem
}

.welcome p {
    margin: .6rem 0
}

.frame {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(35, 48, 41, .08)
}

/* LONG TEXT */
.long {
    background: #FAF7F1
}

.long .quote {
    font-family: "Playfair Display", serif;
    font-size: clamp(18px, 2.4vw, 22px);
    color: var(--olive);
    padding: 16px 18px;
    border-left: 4px solid var(--olive);
    background: #fff;
    border-radius: 10px
}

/* WHY */
.why .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

@media (max-width: 900px) {
    .why .items {
        grid-template-columns: 1fr
    }
}

.why .card {
    background: #fff;
    border: 1px solid #ece6d9;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .03)
}

.why .icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--olive);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px
}

.why h3 {
    margin: .2rem 0 .4rem;
    font-weight: 600
}

.why p {
    margin: 0;
    color: var(--muted)
}

/* Footer */
footer {
    background: #1f2621;
    color: #e9efe9
}

footer a {
    color: #e9efe9;
    text-decoration: none
}

footer a:hover {
    text-decoration: underline
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr
    }
}

.logo-mini {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: .06em
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none
    }

    .hero::before {
        display: none
    }
}
