/* ==========================================================================
   FESTNINGSGATA 16 — Premium microsite stylesheet
   Shares the heritage-luxury design language with the GJ-Invest corporate
   page (tokens + chrome imported below), then adds the project-specific
   components: project hero, history, location, lifestyle, boligvelger
   (building picker / table / modal) and the interest form.
   All JS hook class names from main.js are preserved.
   ========================================================================== */

/* gjinvest.css lastes via <link> i HTML (før denne filen) — ikke @import,
   for å unngå seriell CSS-kjede før første render. */

/* ---------- Button aliases used by the project pages + main.js ---------- */
.btn-outline {
    background: transparent;
    color: var(--bone);
    border-color: rgba(250, 247, 241, 0.4);
}
.btn-outline:hover { background: rgba(250, 247, 241, 0.1); border-color: rgba(250, 247, 241, 0.7); }

.btn-white { background: var(--bone); color: var(--pine-800); border-color: var(--bone); }
.btn-white:hover { background: transparent; color: var(--bone); border-color: var(--bone); }

.btn-outline-dark { background: transparent; color: var(--pine-700); border-color: var(--line); }
.btn-outline-dark:hover { background: var(--pine-700); color: var(--bone); border-color: var(--pine-700); }

/* Section background helpers */
.bg-paper { background: var(--paper); }
.bg-bone { background: var(--bone); }

/* ==========================================================================
   PROJECT HERO (festningsgata-16.html)
   ========================================================================== */
.p-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    background: var(--pine-950);
    text-align: center;
}
.p-hero .hero-media::after {
    background:
        linear-gradient(180deg, rgba(16, 33, 26, 0.7) 0%, rgba(16, 33, 26, 0.32) 38%, rgba(16, 33, 26, 0.5) 72%, rgba(16, 33, 26, 0.92) 100%),
        radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(16, 33, 26, 0.4) 100%);
}
.p-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    color: var(--bone);
}
.p-hero .eyebrow { color: var(--brass-300); justify-content: center; }
.p-hero .eyebrow::before, .p-hero .eyebrow::after { background: var(--brass-300); }
.p-hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.8rem, 8vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin: 1.3rem 0 1.2rem;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}
.p-hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.15rem, 2.5vw, 1.8rem);
    line-height: 1.4;
    color: var(--brass-300);
    max-width: 700px;
    margin: 0 auto 1.5rem;
}
.p-hero-desc {
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    font-weight: 300;
    line-height: 1.75;
    max-width: 62ch;
    margin: 0 auto 2.4rem;
    color: rgba(250, 247, 241, 0.9);
}
.p-hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.p-hero .hero-meta { justify-content: center; }

/* ==========================================================================
   PROJECT ABOUT (split image + text)
   ========================================================================== */
.p-about { background: var(--bone); }
.p-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
.p-about-figure { position: relative; }
.p-about-figure img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--sh-xl);
}
.p-about-figure::after {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 1px solid var(--brass);
    border-radius: 4px;
    z-index: -1;
}
.p-about-text .display { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 1.1rem 0 1.3rem; }
.p-about-text p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.about-get-title { font-weight: 700; color: var(--ink) !important; margin: 1.6rem 0 1rem !important; }
.about-closing { font-size: 0.96rem; }
.p-about-text .btn { margin-top: 1.6rem; }

/* ---------- Premium check-list (brass tick in a green disc) ---------- */
.check-list { list-style: none; display: grid; gap: 0.9rem; margin: 1.3rem 0 1.6rem; }
.check-list li { position: relative; padding-left: 2.5rem; line-height: 1.6; color: var(--ink-soft); }
.check-list li::before {
    content: '';
    position: absolute; left: 0; top: 0.05rem;
    width: 1.7rem; height: 1.7rem;
    border-radius: 50%;
    background: var(--pine-700);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.check-list li::after {
    content: '';
    position: absolute; left: 0.55rem; top: 0.52rem;
    width: 0.55rem; height: 0.3rem;
    border-left: 2px solid var(--brass-300);
    border-bottom: 2px solid var(--brass-300);
    transform: rotate(-45deg);
}
.check-list-light li { color: rgba(250, 247, 241, 0.9); }
.check-list-light li::before { background: var(--brass); box-shadow: none; }
.check-list-light li::after { border-color: var(--pine-950); }

/* ==========================================================================
   HISTORY / PROSE
   ========================================================================== */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { color: var(--ink-soft); line-height: 1.9; margin-bottom: 1.3rem; font-size: 1.05rem; }
.pull-quote {
    max-width: 760px;
    margin: 2.6rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid rgba(184, 143, 84, 0.4);
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.4rem, 3vw, 2.05rem);
    line-height: 1.4;
    color: var(--pine-600);
}

/* ==========================================================================
   LOCATION
   ========================================================================== */
.p-loc { background: var(--bone); }
.p-loc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
}
.p-loc-text .display { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 1.1rem 0 1rem; }
.p-loc-text .section-desc { color: var(--ink-soft); font-size: 1.05rem; }
.loc-closing { margin-top: 1.4rem; color: var(--ink-soft); line-height: 1.8; }
.p-loc-card {
    background: var(--bone);
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--sh-md);
}
.p-loc-card .check-list { margin: 0; }
.p-loc-card .check-list li { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   FEATURES (reuses .pillars / .pillar from the imported sheet)
   ========================================================================== */
.features-closing {
    max-width: 760px;
    margin: 3rem auto 0;
    text-align: center;
    color: var(--ink-soft);
    line-height: 1.8;
    font-size: 0.98rem;
}

/* ==========================================================================
   LIFESTYLE banner
   ========================================================================== */
.p-life {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: linear-gradient(135deg, var(--pine-950) 0%, var(--pine-800) 55%, var(--pine-700) 100%);
    color: var(--bone);
    position: relative;
    overflow: hidden;
}
.p-life::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(80% 60% at 80% 15%, rgba(184, 143, 84, 0.16), transparent 60%);
    pointer-events: none;
}
.p-life-inner { max-width: 820px; margin: 0 auto; text-align: center; position: relative; }
.p-life .eyebrow { color: var(--brass-300); justify-content: center; }
.p-life .eyebrow::before, .p-life .eyebrow::after { background: var(--brass-300); }
.p-life .display { color: var(--bone); font-size: clamp(2rem, 4vw, 3rem); margin: 1.1rem 0 1.2rem; }
.p-life-lead { font-size: 1.08rem; line-height: 1.8; color: rgba(250, 247, 241, 0.9); margin-bottom: 2rem; }
.lifestyle-list-title { font-weight: 700; margin-bottom: 1.1rem; }
.p-life .check-list-light { max-width: 560px; margin: 0 auto 2rem; text-align: left; }
.lifestyle-closing { font-size: 1.05rem; font-style: italic; color: rgba(250, 247, 241, 0.9); margin-bottom: 2rem; }

/* ==========================================================================
   WHY grid
   ========================================================================== */
.p-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    max-width: 940px;
    margin: 3rem auto 0;
}
.p-why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--bone);
    border: 1px solid var(--line-soft);
    border-radius: 4px;
    padding: 1.4rem 1.6rem;
    box-shadow: var(--sh-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.p-why-item:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--line); }
.p-why-check {
    flex: 0 0 auto;
    width: 1.8rem; height: 1.8rem;
    display: grid; place-items: center;
    background: var(--pine-700);
    border-radius: 50%;
    margin-top: 0.1rem;
}
.p-why-check svg { width: 0.9rem; height: 0.9rem; color: var(--brass-300); }
.p-why-item p { color: var(--ink); line-height: 1.55; font-size: 0.98rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.p-cta {
    padding: clamp(4.5rem, 9vw, 7rem) 2rem;
    background: linear-gradient(135deg, var(--pine-900) 0%, var(--pine-700) 100%);
    color: var(--bone);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.p-cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(70% 80% at 50% 0%, rgba(184, 143, 84, 0.18), transparent 60%);
    pointer-events: none;
}
.p-cta-inner { max-width: 680px; margin: 0 auto; position: relative; }
.p-cta .display { color: var(--bone); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.p-cta p { color: rgba(250, 247, 241, 0.82); margin-bottom: 2rem; font-size: 1.05rem; }

/* ==========================================================================
   BOLIGVELGER — intro hero
   ========================================================================== */
.picker-hero {
    padding: clamp(8rem, 16vh, 10rem) 1.4rem 3rem;
    text-align: center;
    background: var(--paper);
}
.picker-hero .eyebrow { justify-content: center; }
.picker-hero .display { font-size: clamp(2rem, 4.5vw, 3rem); margin: 1rem 0 0.8rem; }
.picker-hero > p { color: var(--ink-soft); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }

.availability-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bone);
    border: 1px solid var(--line);
    box-shadow: var(--sh-sm);
    padding: 0.55rem 1.2rem;
    border-radius: 30px;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    color: var(--ink-soft);
}
.availability-pill strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--pine-700); }
.availability-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #5fae74;
    box-shadow: 0 0 0 4px rgba(95, 174, 116, 0.22);
}

.picker-container { max-width: 1140px; margin: 0 auto; padding: 2.5rem 1.4rem; }

/* Filter pills */
.picker-controls { display: flex; justify-content: center; margin-bottom: 1.6rem; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bone);
    border: 1.5px solid var(--line);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: var(--sh-sm);
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pill:hover { border-color: var(--brass); transform: translateY(-1px); }
.pill-count {
    font-style: normal;
    font-size: 0.74rem;
    font-weight: 700;
    background: var(--paper-2);
    color: var(--ink-soft);
    padding: 0.05rem 0.5rem;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
}
.pill.active { background: var(--pine-700); border-color: var(--pine-700); color: var(--bone); }
.pill.active .pill-count { background: rgba(255, 255, 255, 0.22); color: #fff; }
.pill.pill-reservert.active { background: var(--brass-600); border-color: var(--brass-600); }
.pill.pill-solgt.active { background: var(--ink-faint); border-color: var(--ink-faint); }

/* Building picker (SVG zones on the facade render) */
.picker-stage { margin-top: 1.5rem; }
.picker-hint { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 1rem; }
.building-picker {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--sh-lg);
    background: #20221f;
    line-height: 0;
    max-width: 1100px;
    margin: 0 auto;
}
.building-picker-img { width: 100%; display: block; aspect-ratio: 1672 / 941; object-fit: cover; }
.building-picker-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.apt-zone { cursor: pointer; outline: none; }
.apt-zone--solgt { cursor: default; }
/* Rent bilde: sonene er synlige med svak status-tone + hvit kontur, og lyser
   opp ved hover. Koordinatene er kalibrert hjørne-til-hjørne. */
.zone-shape {
    fill: rgba(53, 107, 76, 0.16);
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
    transition: fill 0.2s ease, stroke 0.2s ease;
}
.apt-zone--reservert .zone-shape { fill: rgba(184, 143, 84, 0.24); }
.apt-zone--solgt .zone-shape { fill: rgba(30, 30, 30, 0.45); stroke: rgba(255, 255, 255, 0.55); }
.apt-zone:hover .zone-shape, .apt-zone:focus-visible .zone-shape { fill: rgba(53, 107, 76, 0.5); stroke: #fff; stroke-width: 3; }
.apt-zone--reservert:hover .zone-shape, .apt-zone--reservert:focus-visible .zone-shape { fill: rgba(184, 143, 84, 0.55); stroke: #fff; stroke-width: 3; }
.apt-zone--solgt:hover .zone-shape { fill: rgba(30, 30, 30, 0.5); }
.zone-marker {
    fill: var(--pine-600);
    stroke: #fff;
    stroke-width: 2.5;
    vector-effect: non-scaling-stroke;
    transition: fill 0.2s ease;
}
.apt-zone--reservert .zone-marker { fill: var(--brass-600); }
.apt-zone--solgt .zone-marker { fill: #6e6e6e; }
.apt-zone:hover .zone-marker { fill: var(--pine-800); }
.zone-num { fill: #fff; font-family: var(--font-sans); font-size: 22px; font-weight: 700; pointer-events: none; }
.apt-zone.is-dim { opacity: 0.16; }
.apt-zone.is-dim:hover .zone-shape { fill: rgba(53, 107, 76, 0.16); stroke: rgba(255, 255, 255, 0.9); stroke-width: 2; }

/* Hover tooltip */
.picker-tooltip {
    position: absolute;
    z-index: 12;
    pointer-events: none;
    transform: translate(-50%, calc(-100% - 16px));
    background: rgba(16, 33, 26, 0.95);
    color: #fff;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    box-shadow: var(--sh-lg);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    white-space: nowrap;
    line-height: 1.4;
}
.picker-tooltip[hidden] { display: none; }
.picker-tooltip .tt-head { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.picker-tooltip .tt-status { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; padding: 0.1rem 0.45rem; border-radius: 20px; }
.picker-tooltip .tt-ledig { background: #e8f0e8; color: #34643f; }
.picker-tooltip .tt-reservert { background: #FBEFD9; color: #855a15; }
.picker-tooltip .tt-solgt { background: #e8e8e8; color: #666; }
.picker-tooltip .tt-sub { font-size: 0.76rem; opacity: 0.85; }
.picker-tooltip .tt-price { font-size: 0.85rem; font-weight: 700; color: var(--brass-300); }

/* Legend */
.picker-legend { display: flex; gap: 2rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--ink-soft); }
.legend-dot { width: 14px; height: 14px; border-radius: 3px; }
.legend-dot.available { background: rgba(53, 107, 76, 0.45); border: 2px solid var(--pine-600); }
.legend-dot.reserved { background: rgba(184, 143, 84, 0.35); border: 2px solid var(--brass-600); }
.legend-dot.sold { background: rgba(120, 120, 120, 0.35); border: 2px solid #999; }

/* ==========================================================================
   APARTMENT TABLE + CARDS
   ========================================================================== */
.apt-table-section { max-width: 1100px; margin: 4rem auto; padding: 0 1.4rem; }
.apt-table-section h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; margin-bottom: 1.8rem; text-align: center; }
.apt-table-wrapper { overflow-x: auto; border-radius: 6px; box-shadow: var(--sh-md); border: 1px solid var(--line-soft); }
.apt-table { width: 100%; border-collapse: collapse; background: var(--bone); font-size: 0.9rem; }
.apt-table thead { background: var(--pine-800); color: var(--bone); }
.apt-table th { padding: 1rem; text-align: left; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.apt-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.apt-table tbody tr { transition: background 0.25s var(--ease); cursor: pointer; }
.apt-table tbody tr:hover { background: var(--paper); }
/* Solgte rader er ikke klikkbare — ikke gi dem klikk-affordans */
.apt-table tbody tr[data-status="solgt"] { cursor: default; }
.apt-table tbody tr[data-status="solgt"]:hover { background: transparent; }
.status-badge { display: inline-flex; align-items: center; padding: 0.25rem 0.7rem; border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; }
.status-badge.ledig { background: #e8f0e8; color: #34643f; }
.status-badge.solgt { background: #ededed; color: #666; }
.status-badge.reservert { background: #FBEFD9; color: #855a15; }
.btn-see-more {
    padding: 0.4rem 0.9rem;
    font-size: 0.74rem;
    background: var(--pine-700);
    color: var(--bone);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 0.3s var(--ease);
}
.btn-see-more:hover { background: var(--pine-800); }

.apt-cards { display: none; }
.is-hidden { display: none !important; }
.apt-card {
    background: var(--bone);
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    padding: 1.1rem 1.2rem;
    box-shadow: var(--sh-sm);
    border-left: 4px solid var(--pine-600);
}
.apt-card[data-status="reservert"] { border-left-color: var(--brass-600); }
.apt-card[data-status="solgt"] { border-left-color: #c2c2c2; }
.apt-card-head { display: flex; align-items: center; justify-content: space-between; }
.apt-card-no { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.apt-card-sub { font-size: 0.82rem; color: var(--ink-soft); margin: 0.35rem 0 0.9rem; }
.apt-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 0.9rem; margin-bottom: 1rem; }
.apt-card-grid > div { display: flex; flex-direction: column; }
.apt-card-grid span { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); }
.apt-card-grid strong { font-size: 0.95rem; }
.apt-card .btn-see-more { width: 100%; padding: 0.6rem; }
.apt-empty { text-align: center; color: var(--ink-soft); padding: 2.5rem 1rem; font-size: 0.95rem; }

/* ==========================================================================
   APARTMENT MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 33, 26, 0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--bone);
    border-radius: 8px;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--sh-xl);
    animation: modalIn 0.35s var(--ease);
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: none; }
}
.modal-header {
    background: var(--pine-800);
    color: var(--bone);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-header h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.modal-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: var(--bone);
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: grid; place-items: center;
    transition: background 0.3s var(--ease);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.25); }
.modal-body { padding: 2rem; }
.modal-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.modal-detail { background: var(--paper); padding: 1rem; border-radius: 4px; border: 1px solid var(--line-soft); }
.modal-detail-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.3rem; }
.modal-detail-value { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.modal-detail-value.price { color: var(--pine-700); font-family: var(--font-display); font-size: 1.3rem; }
.modal-features { margin-bottom: 1.5rem; }
.modal-features h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.8rem; }
.modal-features ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.modal-features li { font-size: 0.88rem; color: var(--ink-soft); padding-left: 1.4rem; position: relative; }
.modal-features li::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--brass); }
.modal-footer { padding: 0 2rem 2rem; display: flex; gap: 1rem; }
.modal-footer .btn { flex: 1; justify-content: center; }

/* ==========================================================================
   INTERESSE — person cards + form
   ========================================================================== */
.interest-hero {
    padding: clamp(8rem, 16vh, 10rem) 1.4rem 1rem;
    text-align: center;
    background: var(--paper);
}
.interest-hero .eyebrow { justify-content: center; }
.interest-hero .display { font-size: clamp(2rem, 4.5vw, 3rem); margin: 1rem 0 0.8rem; }
.interest-hero > p { color: var(--ink-soft); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }

.interest-people {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.4rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.interest-form-section { max-width: 720px; margin: 0 auto; padding: 2rem 1.4rem 5rem; }
.interest-form-section h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; text-align: center; margin-bottom: 2rem; }
.interest-form {
    background: var(--bone);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 8px;
    box-shadow: var(--sh-md);
    border: 1px solid var(--line-soft);
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.45rem;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--line);
    border-radius: 3px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--bone);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(184, 143, 84, 0.18);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
    width: 100%;
    padding: 0.95rem;
    background: var(--brass-600);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form-submit:hover { background: var(--brass-700); transform: translateY(-2px); box-shadow: var(--sh-md); }
.form-submit[disabled] { opacity: 0.7; cursor: progress; transform: none; box-shadow: none; }

/* Personvern-lenke under skjemaet (lys bakgrunn på interesse-siden) */
.interest-form .form-privacy a { color: var(--ink-soft); }
.interest-form .form-privacy a:hover { color: var(--ink); }

/* Light status messages on the interest form (overrides the dark base) */
.interest-form .form-status.is-success {
    background: #e8f0e8;
    color: #2f5d3a;
    border: 1px solid #bcd9c4;
}
.interest-form .form-status.is-error {
    background: #fbeaea;
    color: #9a3b3b;
    border: 1px solid #e6bcbc;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 920px) {
    .p-about-grid { grid-template-columns: 1fr; }
    .p-about-figure { max-width: 460px; margin: 0 auto; order: -1; }
    .p-loc-grid { grid-template-columns: 1fr; }
    .p-why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .interest-people { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .modal-detail-grid { grid-template-columns: 1fr; }
    .modal-features ul { grid-template-columns: 1fr; }
    .modal-footer { flex-direction: column; }
    /* Den interaktive bygningsvelgeren blir for liten til å treffes på mobil —
       skjul den og la kortlisten (med samme data + filtre) ta over. */
    .picker-stage { display: none; }
    .picker-hero .display { font-size: clamp(1.8rem, 8vw, 2.4rem); }
    /* Swap table for cards */
    .apt-table-wrapper { display: none; }
    .apt-cards {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        margin-top: 1.5rem;
    }
    .apt-card .btn-see-more { padding: 0.85rem; }
}
@media (max-width: 480px) {
    .apt-cards { grid-template-columns: 1fr; }
    .p-hero-title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
}
