:root {
    --ink: #102733;
    --ink-soft: #405963;
    --ocean: #113a52;
    --ocean-bright: #176787;
    --sky: #d9edf2;
    --paper: #f7f9f7;
    --white: #ffffff;
    --signal: #f5b942;
    --green: #39765b;
    --line: #cbd6d7;
    --shadow: 0 18px 44px rgba(16, 39, 51, 0.12);
    --radius: 6px;
    --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: 1.35rem; }
p { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .7rem 1rem; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    position: relative;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid rgba(16,39,51,.13);
}
.header-inner {
    width: min(calc(100% - 3rem), var(--max));
    min-height: 84px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.5rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 176px; height: 64px; object-fit: contain; object-position: left center; }
.primary-navigation { justify-self: center; display: flex; align-items: center; gap: 1.8rem; }
.primary-navigation a { position: relative; padding: 1.8rem 0; color: var(--ink-soft); font-weight: 650; text-decoration: none; }
.primary-navigation a:hover, .primary-navigation a[aria-current="page"] { color: var(--ocean); }
.primary-navigation a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 1.15rem; height: 3px; background: var(--signal); }
.header-contact { display: grid; padding-left: 1.5rem; border-left: 1px solid var(--line); text-decoration: none; line-height: 1.25; }
.header-contact span { color: var(--ink-soft); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.header-contact strong { color: var(--ocean); }
.menu-button { display: none; }

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero { position: relative; min-height: min(820px, calc(100vh - 84px)); display: grid; align-items: center; overflow: hidden; color: var(--white); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(6,28,40,.88) 0%, rgba(6,28,40,.62) 37%, rgba(6,28,40,.08) 68%, rgba(6,28,40,.02) 100%); }
.hero-content { position: relative; z-index: 2; width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 6rem 0 10rem; }
.hero h1 { max-width: 770px; margin-bottom: 1.2rem; color: var(--white); }
.hero-lead { max-width: 610px; margin-bottom: 2rem; color: rgba(255,255,255,.88); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.eyebrow { margin-bottom: 1rem; color: var(--signal); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.dark { color: var(--ocean-bright); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; min-height: 52px; padding: .8rem 1.25rem; border: 1px solid transparent; border-radius: 4px; font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--signal); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.6); background: rgba(8,37,52,.28); }
.button-light { color: var(--ocean); background: var(--white); }
.hero-facts { position: absolute; z-index: 3; left: 50%; bottom: 0; width: min(calc(100% - 3rem), var(--max)); transform: translateX(-50%); display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(11,48,66,.92); backdrop-filter: blur(10px); }
.hero-facts div { display: grid; gap: .15rem; padding: 1.3rem 1.6rem; border-right: 1px solid rgba(255,255,255,.18); }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { color: var(--signal); font-size: 1.3rem; }
.hero-facts span { color: rgba(255,255,255,.76); font-size: .9rem; }

.page-hero { min-height: 500px; display: grid; align-items: end; color: var(--white); background: linear-gradient(120deg, #0c3449, #176787); }
.page-hero > div { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 7rem 0 5rem; }
.page-hero h1 { max-width: 930px; margin-bottom: 1.2rem; font-size: clamp(2.8rem, 6vw, 5.6rem); }
.page-hero p:last-child { max-width: 700px; color: rgba(255,255,255,.78); font-size: 1.25rem; }
.service-hero { background: linear-gradient(120deg, #143f35, #39765b); }
.about-hero { background: linear-gradient(120deg, #2f3940, #0e536d); }

/* ==========================================================================
   SECTIONS & LAYOUTS
   ========================================================================== */
.intro-band, .shop-band { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 6.5rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: end; }
.section-heading h2 { margin-bottom: 0; max-width: 760px; }
.section-heading.centered { margin: 0 auto 3rem; text-align: center; }
.section-heading.centered h2 { margin-inline: auto; }
.intro-copy p { font-size: 1.2rem; }
.text-link { display: inline-flex; gap: .55rem; color: var(--ocean); font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--signal); }

.solutions { padding: 6.5rem 0; background: var(--white); }
.section-shell { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; }
.section-shell.narrow { max-width: 1080px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.solution-card { position: relative; min-height: 280px; padding: 2rem; border: 1px solid var(--line); border-top: 6px solid var(--ocean); border-radius: var(--radius); background: var(--paper); }
/* 360 */
.solution-card.accent-green { border-top-color: var(--green); }
.solution-card.accent-yellow { border-top-color: var(--signal); }
.solution-number { margin-bottom: 4rem; color: #87999f; font-size: .8rem; font-weight: 800; }
.solution-card p { min-height: 105px; }
.solution-card a { color: var(--ocean); font-weight: 800; text-decoration: none; }

.weather-callout { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 520px; background: var(--ocean); color: var(--white); }
.weather-copy { padding: clamp(3rem, 7vw, 7rem) max(3rem, calc((100vw - var(--max)) / 2)); padding-right: 5rem; }
.weather-copy h2 { max-width: 710px; }
.weather-copy p:not(.eyebrow) { max-width: 670px; color: rgba(255,255,255,.75); font-size: 1.12rem; }

/* VÄDERMÄTNINGAR (CENTRERAT & ANPASSAT FÖR FLERA RADER) */
.weather-metrics { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    background: #0b2d3e; 
}
.weather-metrics div { 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    min-height: 220px; 
    padding: 2rem; 
    border: 1px solid rgba(255,255,255,.1); 
}
.weather-metrics span { 
    color: rgba(255,255,255,.6); 
    margin-bottom: 0.5rem;
}
.weather-metrics strong { 
    color: var(--signal); 
    font-size: 2rem; 
    text-align: center;
}
.weather-metrics strong.sun-metric {
    font-size: 1.35rem;
    line-height: 1.3;
}

.shop-band { align-items: start; }
.shop-links { display: grid; }
.shop-links a { display: grid; grid-template-columns: 1fr auto; padding: 1.25rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.shop-links strong, .shop-links span { grid-column: 1; }
.shop-links span { color: var(--ink-soft); }
.shop-links b { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--ocean); font-size: 1.4rem; }

.content-band, .process-band, .story-band, .milestones-band { padding: 6.5rem 0; }
.split-copy { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; }
.split-copy p { font-size: 1.08rem; }

/* ==========================================================================
   FEATURE CARDS (4 RUTOR)
   ========================================================================== */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.feature-card {
    background-color: #f4f7f9;
    border: 1px solid #d1dbe0;
    border-radius: 10px;
    padding: 24px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
    border-color: var(--ocean);
}
.feature-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--ocean);
}
.feature-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

/* ==========================================================================
   AUDIENCE & PROCESS BANDS
   ========================================================================== */
.audience-band { padding: 6rem 0; background: var(--white); }

.tag-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tag-card {
    background-color: #f4f7f9;
    border: 1px solid #d1dbe0;
    border-radius: 10px;
    padding: 24px;
    font-weight: 750;
    font-size: 1.1rem;
    color: var(--ocean);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tag-card:hover {
    border-color: var(--ocean);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 58, 82, 0.08);
}

.cta-band { padding: 4rem max(1.5rem, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--white); background: var(--ocean); }
.cta-band h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3.6vw, 3rem); }
.cta-band p:not(.eyebrow) {
    margin-top: 1rem;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
}
.process-list { margin: 3.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 100px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--ocean-bright); font-weight: 900; font-size: 1.2rem; }
.process-list p { margin-bottom: 0; }
.capability-band { padding: 6.5rem 0; color: var(--white); background: var(--green); }
.capability-band p { color: rgba(255,255,255,.76); }
.story-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 4rem; }
.story-year { color: var(--signal); font-size: clamp(5rem, 13vw, 11rem); font-weight: 900; line-height: .85; }
.story-grid p { max-width: 720px; font-size: 1.1rem; }
.milestones-band { background: var(--white); }
.timeline { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(5, 1fr); }
.timeline article { padding: 1.5rem; border-top: 4px solid var(--ocean); border-right: 1px solid var(--line); }
.timeline time { display: block; margin-bottom: 2rem; color: var(--ocean-bright); font-weight: 900; font-size: 1.25rem; }

/* ==========================================================================
   CONTACT PAGE (UTAN FORMULÄR)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-cards-wrapper {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.contact-card-item {
    background-color: #f4f7f9;
    border: 1px solid #d1dbe0;
    border-radius: 10px;
    padding: 20px 24px;
    display: grid;
    gap: 4px;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card-item:not(.static):hover {
    border-color: var(--ocean);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 58, 82, 0.08);
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
}

.contact-card-item strong {
    font-size: 1.25rem;
    color: var(--ocean);
}

.contact-action {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ocean-bright);
    margin-top: 4px;
}

.contact-checklist-box {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(16, 39, 51, 0.04);
}

.contact-checklist-box h3 {
    margin-bottom: 12px;
    color: var(--ocean);
    font-size: 1.4rem;
}

.contact-checklist-box ul {
    margin: 16px 0 0;
    padding-left: 20px;
    color: var(--ink-soft);
}

.contact-checklist-box li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.contact-checklist-box li strong {
    color: var(--ink);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { color: rgba(255,255,255,.75); background: #092432; }
.footer-grid { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 4rem 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 4rem; }
.footer-grid p { max-width: 400px; color: rgba(255,255,255,.58); }
.footer-grid h2 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid address { font-style: normal; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--signal); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-bottom { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 1.2rem 0; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.footer-brand { font-weight: 500; letter-spacing: 0.5px; }

/* ==========================================================================
   RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 980px) {
    .header-inner { grid-template-columns: auto 1fr auto; }
    .header-contact { display: none; }
    .menu-button { justify-self: end; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 4px; background: var(--sky); cursor: pointer; }
    .menu-lines { width: 22px; display: grid; gap: 5px; }
    .menu-lines span { height: 2px; background: var(--ocean); }
    .primary-navigation { position: fixed; inset: 84px 0 auto; display: none; align-items: stretch; padding: 1rem 1.5rem 2rem; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .primary-navigation.is-open { display: grid; }
    .primary-navigation a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
    .primary-navigation a[aria-current="page"]::after { display: none; }
    .solution-grid { grid-template-columns: 1fr; }
    .solution-card { min-height: 0; }
    .solution-number { margin-bottom: 2rem; }
    .solution-card p { min-height: 0; }
    .weather-callout { grid-template-columns: 1fr; }
    .weather-copy { padding: 5rem 1.5rem; }
    .tag-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .story-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 680px) {
    .header-inner { width: min(calc(100% - 2rem), var(--max)); min-height: 72px; }
    .brand-logo { width: 142px; height: 54px; }
    .primary-navigation { top: 72px; }
    .hero { min-height: 650px; align-items: start; }
    .hero-image { object-position: 62% center; }
    .hero-shade { background: linear-gradient(90deg, rgba(6,28,40,.9), rgba(6,28,40,.4)); }
    .hero-content { width: min(calc(100% - 2rem), var(--max)); padding: 5rem 0 11rem; }
    .hero h1 { font-size: clamp(3rem, 18vw, 4.6rem); }
    .intro-band, .shop-band, .split-copy { grid-template-columns: 1fr; gap: 2rem; }
    .intro-band, .shop-band { width: min(calc(100% - 2rem), var(--max)); padding: 4.5rem 0; }
    .section-shell, .footer-grid, .footer-bottom { width: min(calc(100% - 2rem), var(--max)); }
    .solutions, .content-band, .process-band, .story-band, .milestones-band { padding: 4.5rem 0; }
    .weather-metrics { grid-template-columns: 1fr; }
    .weather-metrics div { min-height: 140px; }
    .cta-band { align-items: stretch; flex-direction: column; }
    .process-list li { grid-template-columns: 54px 1fr; gap: 1rem; }
    .timeline { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { gap: 1rem; flex-direction: column; }
}

@media (max-width: 540px) {
    .tag-grid { grid-template-columns: 1fr; }
    .tag-card { min-height: 70px; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 768px) {
    .hero-facts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        width: calc(100% - 2rem);
    }

    .hero-facts > div {
        display: grid;
        grid-template-columns: 50% 50%;
        width: 100%;
        padding: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.18);
    }

    .hero-facts > div:last-child {
        border-bottom: 0;
    }

    .hero-facts strong,
    .hero-facts span {
        display: flex;
        align-items: center;
        padding: .65rem .8rem;
        text-align: left;
        line-height: 1.2;
    }

    .hero-facts strong {
        font-size: 1rem;
        white-space: nowrap;
    }

    .hero-facts span {
        font-size: .85rem;
    }
}