/* ==========================================================
   Bosne Invest – stilmall
   ========================================================== */

/* ---------- Typsnitt (lokalt hostade) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- Variabler ---------- */
:root {
    --bg:        #f6f3ee;
    --surface:   #fffdf9;
    --soft:      #ede7dc;
    --ink:       #1c2420;
    --ink-2:     #47504b;
    --muted:     #7a807c;
    --line:      #e2dbcf;
    --accent:    #2e4a3e;   /* djup skogsgrön */
    --accent-h:  #243b31;
    --brass:     #a88752;   /* varm mässing */
    --ok:        #3f6b4f;
    --warn:      #9a6b2b;
    --err:       #a2453a;

    --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
    --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius:   14px;
    --radius-s: 8px;
    --shadow:   0 1px 2px rgba(28,36,32,.04), 0 8px 28px rgba(28,36,32,.06);
    --shadow-h: 0 2px 4px rgba(28,36,32,.05), 0 18px 44px rgba(28,36,32,.10);
    --max:      1180px;
    --ease:     cubic-bezier(.22,.61,.36,1);
}

/* ---------- Grund ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-h); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, .h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0 0 .5em;
    color: var(--ink);
    font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 350; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3, .h3 { font-size: 1.35rem; font-variation-settings: "opsz" 36; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }

.eyebrow {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: .9em;
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; justify-content: center; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Knappar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .9em 1.6em;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    font: 500 .98rem/1 var(--sans);
    text-decoration: none;
    cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s;
}
.btn:hover { background: var(--accent-h); border-color: var(--accent-h); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink-2); }
.btn-light { background: var(--surface); color: var(--accent); border-color: var(--surface); }
.btn-light:hover { background: #fff; color: var(--accent-h); border-color: #fff; }
.btn-small { padding: .65em 1.2em; font-size: .9rem; }
.btn-block { width: 100%; margin-top: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.link-arrow { font-weight: 500; text-decoration: none; color: var(--ink); display: inline-flex; gap: .4em; align-items: center; }
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246,243,238,.86);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--accent); color: #f6f3ee;
    font: italic 400 1.25rem/1 var(--serif);
}
.brand-text { font: 400 1.32rem/1 var(--serif); letter-spacing: -.01em; }
.brand-text em { font-style: italic; color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a:not(.btn) {
    color: var(--ink-2); text-decoration: none; font-size: .96rem; font-weight: 500;
    position: relative; padding: 6px 0;
}
.site-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:not(.btn):hover, .site-nav a.active { color: var(--ink); }
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { transform: scaleX(1); }
.count {
    display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
    border-radius: 999px; background: var(--soft); color: var(--accent);
    font-size: .74rem; font-weight: 600; margin-left: 4px; vertical-align: 1px;
}

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy h1 { margin-bottom: .35em; }
.hero-points { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-2); font-size: .94rem; }
.hero-points li::before { content: "—"; color: var(--brass); margin-right: 10px; }

.hero-visual { position: relative; }
.hero-frame {
    position: relative; aspect-ratio: 4 / 4.4; border-radius: 220px 220px var(--radius) var(--radius);
    background: linear-gradient(180deg, #e7dfd1 0%, #dcd3c3 100%);
    overflow: hidden;
}
.hero-sun {
    position: absolute; width: 38%; aspect-ratio: 1; border-radius: 50%;
    top: 14%; right: 14%;
    background: radial-gradient(circle at 40% 40%, #e9c88f, #c9a066);
    opacity: .85;
}
.hero-house { position: absolute; inset: auto 0 0 0; width: 100%; height: auto; }
.hero-house path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.hero-house path:nth-child(2) { fill: #f3eee6; }
.hero-note {
    position: absolute; left: -24px; bottom: 36px;
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-h);
    padding: 18px 22px; display: flex; align-items: center; gap: 14px;
}
.hero-note strong { font: 400 2.2rem/1 var(--serif); color: var(--accent); }
.hero-note span { font-size: .9rem; color: var(--ink-2); line-height: 1.3; max-width: 9em; }

/* ---------- Värden ---------- */
.values { padding-top: 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value { padding: 40px 36px 8px 0; }
.value + .value { padding-left: 36px; border-left: 1px solid var(--line); }
.value .num { font: italic 400 .95rem var(--serif); color: var(--brass); display: block; margin-bottom: 18px; }
.value p { color: var(--ink-2); margin: 0; }

/* ---------- Sektionsrubriker ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.section-head h2 { margin: 0; }
.section-head.center { justify-content: center; text-align: center; }

/* ---------- Kort ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card-media img, .card-media .placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img, .card:hover .card-media .placeholder { transform: scale(1.03); }
.card-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body .eyebrow { margin-bottom: .6em; font-size: .72rem; }
.card-body h3 { margin-bottom: .35em; }
.card-text { color: var(--ink-2); font-size: .95rem; }
.card-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.price { font: 400 1.45rem/1 var(--serif); color: var(--ink); }
.price small { font-family: var(--sans); font-size: .82rem; color: var(--muted); }
.arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.card:hover .arrow { background: var(--accent); border-color: var(--accent); color: #fff; }

.facts { list-style: none; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.facts li { font-size: .82rem; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.facts-lg li { font-size: .92rem; padding: 6px 14px; }

.badge {
    position: absolute; top: 14px; left: 14px;
    font-size: .74rem; font-weight: 600; letter-spacing: .04em;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(255,253,249,.94); color: var(--ok);
    backdrop-filter: blur(6px);
}
.badge::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 7px; vertical-align: 1px; }
.badge-reserverad { color: var(--warn); }
.badge-uthyrd { color: var(--muted); }

/* Platshållare för bilder */
.placeholder { display: grid; place-items: center; color: rgba(46,74,62,.45); }
.placeholder svg { width: 38%; max-width: 180px; }
.placeholder.tone-0 { background: linear-gradient(150deg, #e9e2d6, #d9cfbe); }
.placeholder.tone-1 { background: linear-gradient(150deg, #e3e6df, #ccd3c8); }
.placeholder.tone-2 { background: linear-gradient(150deg, #ece4da, #dccbb8); }

/* ---------- Steg ---------- */
.steps-section { background: var(--surface); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { position: relative; padding-top: 8px; }
.step-num {
    width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid var(--brass); color: var(--brass);
    font: italic 400 1.2rem/1 var(--serif);
    margin-bottom: 22px; background: var(--surface); position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: 60px; right: -20px; height: 1px; background: var(--line); }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-copy p { color: var(--ink-2); }
.quote-card {
    background: var(--accent); color: #f2ede4; border-radius: var(--radius);
    padding: clamp(36px, 5vw, 60px); aspect-ratio: 5 / 4; display: flex; flex-direction: column; justify-content: flex-end;
    position: relative; overflow: hidden;
}
.quote-card::before { content: "”"; position: absolute; top: -40px; left: 28px; font: 400 14rem/1 var(--serif); color: rgba(255,255,255,.07); }
.quote-card p { font: 300 clamp(1.5rem, 2.6vw, 2.1rem)/1.3 var(--serif); font-style: italic; margin-bottom: 20px; position: relative; }
.quote-card span { font-size: .9rem; color: rgba(242,237,228,.7); }

.stat-panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 36px; }
.stat { padding: 24px 0; display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.stat + .stat { border-top: 1px solid var(--line); }
.stat strong { font: 400 1.7rem/1 var(--serif); color: var(--accent); }
.stat span { color: var(--ink-2); font-size: .95rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service { background: var(--surface); border-radius: var(--radius); padding: 36px 32px; border: 1px solid var(--line); }
.service h3 { position: relative; padding-top: 22px; }
.service h3::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 1px; background: var(--brass); }
.service p { color: var(--ink-2); margin: 0; }

.promise { background: var(--surface); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li { padding: 14px 0 14px 40px; position: relative; border-top: 1px solid var(--line); color: var(--ink-2); }
.checklist li::before {
    content: ""; position: absolute; left: 4px; top: 20px; width: 16px; height: 9px;
    border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}

/* ---------- CTA ---------- */
.cta-band { background: var(--accent); color: #eee9df; padding: clamp(52px, 7vw, 84px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(238,233,223,.8); }

/* ---------- Undersidor ---------- */
.page-head { padding: clamp(52px, 8vw, 96px) 0 clamp(16px, 3vw, 32px); }
.page-head h1 { max-width: 14em; }
.page-404 { padding-bottom: 120px; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .55em 1.15em; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: .92rem; font-weight: 500; transition: all .2s; background: transparent; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.toolbar p { margin: 0; font-size: .92rem; }

.empty { text-align: center; padding: 72px 24px; background: var(--surface); border-radius: var(--radius); border: 1px dashed var(--line); }
.empty p { color: var(--ink-2); }
.empty .btn { margin-top: 8px; }
.actions.center { justify-content: center; }

.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.info-strip > div { padding: 32px 32px 0 0; }
.info-strip > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.info-strip h3 { font-size: 1.15rem; }
.info-strip p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---------- Objektsida ---------- */
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: var(--soft); }
.gallery-main .gallery-img, .gallery-main img, .gallery-main .placeholder { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.gallery-main .placeholder svg { width: 22%; }
.gallery-main .badge { top: 20px; left: 20px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumb { flex: 0 0 110px; aspect-ratio: 4/3; border-radius: var(--radius-s); overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; opacity: .7; transition: opacity .2s, border-color .2s; }
.thumb img, .thumb .placeholder { width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--accent); }

.detail { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 72px); margin-top: 48px; align-items: start; }
.detail-main h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: .2em; }
.address { color: var(--muted); margin-bottom: 20px; }
.prose { margin: 32px 0 40px; color: var(--ink-2); font-size: 1.04rem; max-width: 40em; }
.detail-main .h3 { margin-top: 8px; margin-bottom: 18px; }

.features { list-style: none; padding: 0; margin: 0 0 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.features li { padding-left: 26px; position: relative; color: var(--ink-2); }
.features li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1px; background: var(--brass); }

.fact-table { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
.fact-table div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-table dt { color: var(--muted); font-size: .94rem; }
.fact-table dd { margin: 0; text-align: right; font-weight: 500; }

.detail-side { position: sticky; top: 100px; }
.side-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; }
.side-card + .side-card { margin-top: 20px; }
.side-card.soft { background: var(--soft); box-shadow: none; }
.side-card .muted { margin-bottom: .2em; font-size: .9rem; }
.side-price { font: 400 2.6rem/1.1 var(--serif); margin-bottom: 4px; }
.side-card hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0 18px; }
.side-card .small { margin: 0; }
.notice { font-size: .92rem; background: #f6eedf; color: var(--warn); padding: 12px 14px; border-radius: var(--radius-s); margin: 14px 0 4px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-form { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 48px); scroll-margin-top: 100px; }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.optional { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], select, textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s);
    padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
    -webkit-appearance: none; appearance: none;
}
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2347504b' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
textarea { resize: vertical; min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(46,74,62,.12); }
[aria-invalid="true"] { border-color: var(--err) !important; }
.field-error { color: var(--err); font-size: .86rem; margin: 6px 0 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--ink-2); font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { background: #f8e9e6; color: var(--err); padding: 14px 16px; border-radius: var(--radius-s); margin-bottom: 24px; font-size: .95rem; }

.success { text-align: center; padding: 24px 0; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-grid; place-items: center; font-size: 1.6rem; margin-bottom: 20px; }
.success p { color: var(--ink-2); }
.success .actions { justify-content: center; }

.contact-list { margin: 0; }
.contact-list div { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list div:first-child { border-top: 0; padding-top: 4px; }
.contact-list dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.contact-list dd { margin: 0; }

.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: #1c2420; color: rgba(238,233,223,.72); padding: 72px 0 28px; font-size: .94rem; }
.site-footer a { color: rgba(238,233,223,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #f6f3ee; margin-bottom: 18px; }
.footer-brand .brand-mark { background: #f6f3ee; color: var(--accent); }
.footer-brand .brand-text em { color: var(--brass); }
.footer-brand p { max-width: 22em; }
.site-footer h3 { font: 600 .76rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .muted { color: rgba(238,233,223,.5); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(238,233,223,.12); font-size: .86rem; color: rgba(238,233,223,.5); }

/* ---------- Animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivt ---------- */
@media (max-width: 1020px) {
    .card-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
    .steps li::after { display: none; }
    .detail, .contact-grid { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; inset: 76px 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--bg); border-bottom: 1px solid var(--line);
        padding: 8px 24px 24px;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    }
    .site-nav.open { transform: none; opacity: 1; visibility: visible; }
    .site-nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .site-nav a:not(.btn)::after { display: none; }
    .site-nav .btn { margin-top: 20px; padding: 1em; }

    .hero-grid, .split { grid-template-columns: 1fr; }
    .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
    .hero-note { left: 12px; }
    .value-grid, .info-strip { grid-template-columns: 1fr; }
    .value, .value + .value, .info-strip > div, .info-strip > div + div { padding: 28px 0; border-left: 0; }
    .value + .value, .info-strip > div + div { border-top: 1px solid var(--line); }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .section-head.center { align-items: center; }
    .gallery-main { aspect-ratio: 4 / 3; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .container { padding: 0 18px; }
    .card-grid, .service-grid, .steps { grid-template-columns: 1fr; }
    .field-row, .features, .fact-table { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .stat { grid-template-columns: 1fr; gap: 4px; }
    .btn-block-mobile { width: 100%; }
    .actions .btn { flex: 1 1 auto; }
}
