:root {
    --navy: #061f3d;
    --navy-2: #0b315f;
    --blue: #0b66c3;
    --blue-dark: #084f9a;
    --text: #102033;
    --muted: #65758a;
    --light: #f6f9fc;
    --border: #dce5ef;
    --radius: 22px;
    --shadow: 0 18px 50px rgba(7, 31, 61, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
}

a { color: inherit; }

.navbar {
    padding: 1rem 0;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(220,229,239,.85);
}
.navbar-brand {
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -.02em;
}
.nav-link { color: var(--navy); font-weight: 650; }
.nav-link:hover { color: var(--blue); }

.btn-primary {
    --bs-btn-bg: var(--navy);
    --bs-btn-border-color: var(--navy);
    --bs-btn-hover-bg: var(--blue-dark);
    --bs-btn-hover-border-color: var(--blue-dark);
    border-radius: 12px;
    font-weight: 750;
    box-shadow: 0 10px 22px rgba(6,31,61,.18);
}
.btn-outline-light { border-radius: 12px; font-weight: 750; }

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    background: url('../img/kontor-spikgatan-2-vellinge.jpg') center/cover no-repeat;
    isolation: isolate;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3,15,31,.86) 0%, rgba(3,15,31,.62) 38%, rgba(3,15,31,.18) 100%);
    z-index: -1;
}
.hero-content { max-width: 1180px; color: #fff; }
.hero-badge {
    background: rgba(11,102,195,.96);
    padding: .65rem .9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.hero h1 {
    max-width: 780px;
    font-size: clamp(2.6rem, 7vw, 5.8rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.055em;
    margin-bottom: 1.3rem;
}
.hero p {
    max-width: 650px;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    line-height: 1.55;
    color: rgba(255,255,255,.9);
    margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.section { padding: 88px 0; }
.section-light { background: #fff; }
.section-muted { background: var(--light); }
.section-contact { background: linear-gradient(180deg, #fff 0%, #f5f9fd 100%); }
.section-heading { max-width: 720px; margin-bottom: 2.2rem; }
.section-heading span,
.eyebrow {
    color: var(--blue);
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .86rem;
}
.section-heading h2,
.content-card h2,
.contact-panel h2 {
    color: var(--navy);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.08;
}
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: .45rem; }
.content-card h2,
.contact-panel h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin: .6rem 0 1rem; }

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.fact-card,
.content-card,
.mini-card,
.contact-form,
.map-wrapper,
.contact-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}
.fact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem;
}
.fact-card i,
.mini-card i,
.benefit i {
    color: var(--blue);
    font-size: 2rem;
}
.fact-card h3,
.mini-card h3 {
    margin: 0 0 .25rem;
    font-size: 1rem;
    font-weight: 850;
    color: var(--navy);
}
.fact-card p,
.mini-card p,
.content-card p,
.contact-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}
.content-card { padding: 2.2rem; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 2rem; line-height: 1.45; }
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: var(--blue);
    border-radius: 50%;
    font-size: .85rem;
    font-weight: 900;
}
.mini-card { padding: 1.6rem; height: 100%; }
.mini-card i { display: block; margin-bottom: .9rem; }

.benefit-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.benefit {
    padding: 1.4rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    min-height: 170px;
}
.benefit i { display: block; margin-bottom: .8rem; }
.benefit strong { display: block; color: var(--navy); font-weight: 850; margin-bottom: .35rem; }
.benefit span { display: block; color: var(--muted); line-height: 1.5; }

.map-wrapper { overflow: hidden; min-height: 460px; }
.map-wrapper iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

.contact-panel {
    padding: 2.4rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff;
}
.contact-panel h2,
.contact-panel p { color: #fff; }
.contact-panel p { opacity: .86; }
.phone-link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-top: 1.4rem;
    padding: .9rem 1.1rem;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 14px;
    text-decoration: none;
    font-weight: 850;
}
.contact-form { padding: 2rem; }
.form-control {
    border-radius: 12px;
    border-color: var(--border);
    min-height: 48px;
}
.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 .25rem rgba(11,102,195,.12);
}
textarea.form-control { min-height: 150px; }

.site-footer {
    background: radial-gradient(circle at top left, #0b315f 0, var(--navy) 42%, #031326 100%);
    color: #fff;
    padding: 58px 0 28px;
}
.site-footer h2 { font-size: 1.1rem; font-weight: 850; margin-bottom: .8rem; }
.site-footer p { color: rgba(255,255,255,.78); margin-bottom: 0; line-height: 1.65; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-bottom {
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.14);
    text-align: center;
    color: rgba(255,255,255,.7);
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991.98px) {
    .hero { min-height: 620px; }
    .facts-grid { grid-template-columns: repeat(2, 1fr); }
    .benefit-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .navbar { padding: .8rem 0; }
    .hero { min-height: 600px; padding: 120px 0 70px; }
    .hero-overlay { background: linear-gradient(90deg, rgba(3,15,31,.9), rgba(3,15,31,.58)); }
    .section { padding: 64px 0; }
    .facts-grid,
    .benefit-row { grid-template-columns: 1fr; }
    .fact-card,
    .content-card,
    .contact-form,
    .contact-panel { padding: 1.3rem; }
    .hero-actions .btn { width: 100%; }
}
