: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;
    --card-radius: 10px;
    --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 */
.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 */
.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 */
.hero-facts {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: .6rem;
    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; }

/* INTRO / SHOP */
.intro-band, .shop-band {
    width: min(calc(100% - 3rem), var(--max));
    margin: 0 auto;
    padding: 4rem 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 */
.solutions { padding: 4rem 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: 0;
    padding: 2rem;
    border: 1px solid var(--line);
    border-top: 6px solid var(--ocean);
    border-radius: var(--radius);
    background: var(--paper);
}
.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 h3 { margin-bottom: .8rem; }
.solution-card p { min-height: 0; margin-bottom: 1rem; }
.solution-card a {
    display: inline-flex;
    gap: .5rem;
    color: var(--ocean);
    font-weight: 800;
    text-decoration: none;
}

/* WEATHER */
.weather-callout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--ocean);
    color: var(--white);
}
.weather-copy {
    padding: 3.5rem max(3rem, calc((100vw - var(--max)) / 2));
    padding-right: 4rem;
    align-self: center;
}
.weather-copy h2 { max-width: 710px; margin-bottom: 1rem; }
.weather-copy p:not(.eyebrow) {
    max-width: 670px;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,.75);
    font-size: 1.12rem;
}
.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;
    min-height: 150px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,.1);
}
.weather-metrics span { margin-bottom: .35rem; color: rgba(255,255,255,.6); }
.weather-metrics strong { color: var(--signal); font-size: 1.7rem; line-height: 1.2; }
.weather-metrics strong.sun-metric { font-size: 1.2rem; line-height: 1.3; }

/* SHOP */
.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;
}

/* UNDERSIDOR */
.page-hero {
    min-height: 400px;
    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: 4rem 0 3rem;
}
.page-hero h1 {
    max-width: 930px;
    margin-bottom: 1.2rem;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.page-hero p:not(.eyebrow) {
    max-width: 700px;
    color: rgba(255,255,255,.78);
    font-size: 1.25rem;
    line-height: 1.6;
}

.service-hero { background: linear-gradient(120deg, #143f35, #39765b); }
.about-hero { background: linear-gradient(120deg, #2f3940, #0e536d); }

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

/* Gemensam kortstil för Väderstationer och Tjänster */
.feature-list {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.feature-card {
    padding: 2rem;
    background: #f4f7f9;
    border: 1px solid #d1dbe0;
    border-radius: var(--card-radius);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
    border-color: var(--ocean);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17,58,82,.08);
}
.feature-card h3 { margin-bottom: .7rem; color: var(--ocean); }
.feature-card p { margin: 0; color: var(--ink-soft); }

.audience-band { padding: 4rem 0; background: var(--white); }


.cta-band {
    padding: 4rem max(1.5rem, calc((100vw - var(--max)) / 2));
    display: grid;
    grid-template-columns: minmax(0, 760px) auto;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    color: var(--white);
    background: var(--ocean);
}

.cta-band > div {
    max-width: 760px;
}

.cta-band .eyebrow {
    margin-bottom: .7rem;
}

.cta-band h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 3.6vw, 3rem);
}

.cta-band p:not(.eyebrow) {
    margin-bottom: 0;
    max-width: 720px;
    color: rgba(255,255,255,.78);
    font-size: 1.05rem;
}

.cta-band .button {
    min-width: 160px;
    white-space: nowrap;
}

.capability-band { padding: 4rem 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;
}

/* KONTAKT */
.contact-page {
    min-height: calc(100vh - 84px);
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.contact-intro, .contact-details {
    padding: clamp(3rem, 8vw, 8rem) max(1.5rem, calc((100vw - var(--max)) / 2));
}
.contact-intro { color: var(--white); background: var(--ocean); }
.contact-intro p:last-child {
    max-width: 570px;
    color: rgba(255,255,255,.76);
    font-size: 1.2rem;
}
.contact-details { background: var(--white); }
.contact-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}
.contact-row span { color: var(--ink-soft); font-size: .85rem; text-transform: uppercase; }
.contact-row strong { color: var(--ocean); font-size: 1.15rem; }
.contact-row b { color: var(--signal); font-size: 1.5rem; }
.contact-note { margin-top: 3rem; padding-top: 1rem; }
.contact-note h2 { font-size: 1.5rem; }
.contact-note li { margin-bottom: .5rem; color: var(--ink-soft); }

/* DOWNLOADS */
.download-list {
    margin: 3rem 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}
.download-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line);
}
.download-list strong { display: block; color: var(--ink); font-size: 1.08rem; }
.download-list span { color: var(--ink-soft); font-size: .92rem; }
.download-list .button { min-width: 124px; color: var(--white); background: var(--ocean); }
.download-note { margin-top: 2rem; max-width: 760px; }

/* 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-brand { margin-bottom: 1rem; color: var(--white); font-size: 1.5rem; font-weight: 850; }
.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;
}

/* JORDBRUKSVERKETS VÄDERSTATIONER */
.station-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.station-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    padding: 1rem 1.25rem;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .2s ease, box-shadow .2s ease;
}
.station-grid a::after { content: "→"; margin-left: 1rem; font-size: 1.2rem; }
.station-grid a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stations-page .page-hero > div,
.stations-page .section { padding-left: 2rem; padding-right: 2rem; }
.stations-page .station-grid { margin-bottom: 3rem; }

/* RESPONSIVE */


/* HERO FACTS - MOBIL */


/* =========================================================
   KONTAKTSIDA
   ========================================================= */

.contact-grid {
    max-width: 1080px;
    margin: 0 auto;
}

.contact-info-col > h2 {
    margin-bottom: 1rem;
}

.contact-info-col > p:not(.eyebrow) {
    max-width: 720px;
    margin-bottom: 2.5rem;
    font-size: 1.08rem;
}


/* Kontaktkort */

.contact-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.contact-card-item {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;

    color: var(--ink);
    text-decoration: none;

    background: #f4f7f9;
    border: 1px solid #d1dbe0;
    border-radius: var(--card-radius);

    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

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

.contact-label {
    margin-bottom: .65rem;

    color: var(--ocean-bright);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-card-item strong {
    color: var(--ocean);
    font-size: 1.2rem;
    line-height: 1.45;
}

.contact-action {
    margin-top: auto;
    padding-top: 0;

    color: var(--ocean);
    font-weight: 800;
}

.contact-card-item.static {
    cursor: default;
}


/* Inför din förfrågan */

.contact-checklist-box {
    margin-top: 1.5rem;
    padding: 2rem;

    background: var(--white);
    border: 1px solid var(--line);
    border-left: 5px solid var(--signal);
    border-radius: var(--card-radius);
}

.contact-checklist-box h3 {
    margin-bottom: .7rem;
    color: var(--ocean);
}

.contact-checklist-box > p {
    margin-bottom: 1rem;
}

.contact-checklist-box ul {
    margin: 0;
    padding-left: 1.3rem;
}

.contact-checklist-box li {
    margin-bottom: .55rem;
    color: var(--ink-soft);
}

.contact-checklist-box li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LORAWAN
   ========================================================= */

.lorawan-band {
    padding: 4rem 0;
    color: var(--white);
    background: var(--ocean);
}

.lorawan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.lorawan-intro h2 {
    margin-bottom: 1.2rem;
    color: var(--white);
}

.lorawan-intro p:not(.eyebrow) {
    color: rgba(255,255,255,.78);
}

.lorawan-intro .text-link {
    margin-top: .5rem;
    color: var(--white);
}

.lorawan-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.lorawan-features > div {
    min-height: 150px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;

    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--card-radius);
}

.lorawan-features strong {
    display: block;
    margin-bottom: .45rem;
    color: var(--signal);
    font-size: 1.1rem;
}

.lorawan-features span {
    color: rgba(255,255,255,.75);
    line-height: 1.5;
}

.about-experience-band {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

.about-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--card-radius);
    transition:
        border-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

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

.about-card > strong {
    display: block;
    margin-bottom: .7rem;
    color: var(--ocean-bright);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.about-card h3 {
    margin-bottom: .7rem;
    color: var(--ocean);
}

.about-card p {
    margin: 0;
    color: var(--ink-soft);
}

.about-page .about-experience-band { padding: 3rem 0; }

/* =========================================================
   404
   ========================================================= */

.error-page {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.error-code {
    margin-bottom: 0.5rem;
    color: var(--sky);
    font-size: clamp(6rem, 18vw, 12rem);
    font-weight: 850;
    line-height: 0.85;
    letter-spacing: -0.06em;
}

.error-page h2 {
    margin-bottom: 1rem;
    color: var(--ocean);
}

.error-page > p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.error-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.error-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.error-contact a {
    color: var(--ocean);
    font-weight: 750;
}

/* =========================================================
   Informations-popup
   ========================================================= */


.info-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.info-modal.is-open {
    display: flex;
}

.info-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 39, 51, 0.72);
}

.info-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
}

.info-modal-dialog h2 {
    margin-bottom: 1.25rem;
    color: var(--ocean);
}

.info-modal-dialog p {
    margin-bottom: 1.1rem;
}

.info-modal-dialog .button {
    margin-top: 0.75rem;
}

.info-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}


/* Tablet */


/* Mobil */


/* =========================================================
   Användningsområden – färgade klickbara kort
   ========================================================= */

.tag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin-top: 2rem;
}


.tag-card {
    position: relative;
    min-height: 64px;
    display: flex;
    align-items: center;

    padding: 0.9rem 3.3rem 0.9rem 1.15rem;

    background: linear-gradient(
        135deg,
        #e7f3f5 0%,
        #d9edf2 100%
    );

    border: 1px solid #b8d8df;
    border-left: 5px solid var(--ocean-bright);
    border-radius: 8px;

    color: var(--ocean);
    font-size: 0.96rem;
    font-weight: 750;
    line-height: 1.2;

    box-shadow: 0 4px 14px rgba(16, 39, 51, 0.07);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.tag-card-clickable {
    cursor: pointer;
}


/* Pil */


/* Muspekare över kortet */
.tag-card-clickable:hover {
    transform: translateY(-2px);

    background: linear-gradient(
        135deg,
        #d9edf2 0%,
        #c5e5eb 100%
    );

    border-color: var(--ocean-bright);

    box-shadow: 0 8px 20px rgba(16, 39, 51, 0.13);
}


/* Tangentbordsmarkering */
.tag-card-clickable:focus-visible {
    outline: 2px solid var(--ocean-bright);
    outline-offset: 3px;
}


.tag-card-clickable::after {
    content: "›";
    position: absolute;
    right: 0.9rem;
    top: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    transform: translateY(-50%);

    background: var(--ocean-bright);
    border-radius: 50%;

    color: var(--white);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;

    transition:
        transform 0.18s ease,
        background 0.18s ease;
}

.tag-card-clickable:hover::after {
    transform: translate(3px, -50%);
    background: var(--ocean);
}


.service-area-band {
    padding: 4rem 0;
    background: var(--sky);
}

.service-area-band h2 {
    color: var(--ocean);
}

.service-area-band p {
    color: var(--ink-soft);
}

.capability-services {
    display: grid;
    gap: 1.25rem;
}

.capability-services > div {
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.capability-services > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.capability-services strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.capability-services p {
    margin: 0;
}

/* =========================================================
   Tjänster – Så arbetar vi
   ========================================================= */

.service-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 3.5rem;
}

.service-step {
    position: relative;
    padding: 0 2rem;
    border-right: 1px solid var(--line);
}

.service-step:first-child {
    padding-left: 0;
}

.service-step:last-child {
    padding-right: 0;
    border-right: 0;
}

.service-step-number {
    display: block;
    margin-bottom: 1rem;

    color: var(--ocean-bright);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.service-step h3 {
    margin: 0 0 0.8rem;
    color: var(--ocean);
    font-size: 1.25rem;
}

.service-step p {
    margin: 0 0 0.8rem;
}

.service-step-detail {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}

.service-process .section-heading h2 {
    margin-bottom: 1.25rem;
}


/* Surfplatta */


/* Mobil */

/* =========================================================
   RESPONSIVT – SURFPLATTA / MINDRE SKÄRM
   ========================================================= */

@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: .6rem 1.5rem 1rem;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .primary-navigation.is-open { display: grid; }
    .primary-navigation a { padding: .60rem 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, .contact-page { grid-template-columns: 1fr; }
    .weather-copy { padding: 3.5rem 1.5rem; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .story-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .station-grid { grid-template-columns: repeat(2, 1fr); }

    .contact-cards-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .contact-card-item.static {
        grid-column: 1 / -1;
        min-height: auto;
    }

    .tag-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 0;
    }

    .service-step:nth-child(2) {
        border-right: 0;
    }

    .service-step:nth-child(3) {
        padding-left: 0;
    }
}

/* =========================================================
   RESPONSIVT – MOBIL
   ========================================================= */

@media (max-width: 680px) {

    .hero-facts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        width: calc(100% - 2rem);
    }
    .hero-facts > div {
        display: grid;
        grid-template-columns: 42% 58%;
        align-items: center;
        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: block;
        padding: .6rem .65rem;
        line-height: 1.15;
        text-align: left;
        white-space: nowrap;
    }
    .hero-facts strong { font-size: .92rem; }
    .hero-facts span { font-size: .82rem; }

    .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: 3.25rem 0;
    }
    .section-shell, .footer-grid, .footer-bottom {
        width: min(calc(100% - 2rem), var(--max));
    }
    .solutions, .content-band, .process-band, .story-band, .milestones-band {
        padding: 3.25rem 0;
    }

    .feature-list { grid-template-columns: 1fr; gap: 1rem; }
    .feature-card { padding: 1.5rem; }

    /* Behåll vädervärden som kompakt 2x2 även på mobil */
    .weather-metrics { grid-template-columns: 1fr 1fr; }
    .weather-metrics div { min-height: 100px; padding: 1rem .65rem; }
    .weather-metrics strong { font-size: 1.35rem; }
    .weather-metrics strong.sun-metric { font-size: 1rem; }

    .cta-band { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
    .cta-band .button { width: 100%; }

    .timeline { grid-template-columns: 1fr; }
    .contact-intro, .contact-details { padding: 4.5rem 1rem; }
    .contact-row { grid-template-columns: 1fr auto; }
    .contact-row span { grid-column: 1 / 3; }
    .contact-row strong { overflow-wrap: anywhere; }
    .download-list li { grid-template-columns: 1fr; gap: 1rem; }
    .download-list .button { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { gap: 1rem; flex-direction: column; }

    .station-grid { grid-template-columns: 1fr; }
    .stations-page .page-hero > div,
    .stations-page .section { padding-left: 1rem; padding-right: 1rem; }

    .contact-cards-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .contact-card-item,
    .contact-card-item.static {
        grid-column: auto;
        min-height: auto;
        padding: 1.5rem;
    }

    .contact-action {
        margin-top: 1rem;
        padding-top: 0;
    }

    .contact-checklist-box {
        margin-top: 1rem;
        padding: 1.5rem;
    }

    .lorawan-band {
        padding: 4rem 0;
    }

    .lorawan-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .lorawan-features {
        grid-template-columns: 1fr;
    }

    .lorawan-features > div {
        min-height: auto;
    }

    .about-card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-page .content-band {
        padding-top: 2.75rem;
        padding-bottom: 2.25rem;
    }

    .about-page .about-experience-band {
        padding: 2.75rem 0 2.25rem;
    }

    .error-code {
        font-size: 7rem;
    }

    .error-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .error-actions .button {
        width: 100%;
    }

    .info-modal {
        padding: 1rem;
    }

    .info-modal-dialog {
        padding: 2rem 1.5rem 1.5rem;
    }

    .tag-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .tag-card {
        min-height: 58px;
        padding: 0.8rem 2.5rem 0.8rem 1rem;
    }

    .service-steps {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 2.5rem;
    }

    .service-step,
    .service-step:first-child,
    .service-step:nth-child(3),
    .service-step:last-child {
        padding: 1.5rem 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .service-step:first-child {
        padding-top: 0;
    }

    .service-step:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .service-step-number {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
}

/* =========================================================
   RESPONSIVT – LITEN MOBIL
   ========================================================= */

@media (max-width: 420px) {

}

/* Minskad rörelse */
@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: 980px) {
    .primary-navigation.is-open {
        gap: 0;
        padding-top: 0.5rem;
        padding-bottom: 0.8rem;
    }

    .primary-navigation.is-open a {
        padding: 0.50rem 0;
        line-height: 1.3;
    }
}

/* Luft mellan undersidans hero och efterföljande innehåll */
.page-hero + .content-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

@media (max-width: 680px) {
    .page-hero + .content-section {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
}

/* Historiska bildsidor */

.history-intro {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.12rem;
    line-height: 1.75;
}

.history-gallery {
    max-width: 760px;
    margin: 0 auto;
}

.history-gallery figure {
    margin: 0 0 3.5rem;
    text-align: center;
}

.history-gallery img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 8px 28px rgba(16, 39, 51, .15);
}

.history-gallery figcaption {
    margin-top: 1rem;
    color: var(--ink-soft);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
}

@media (max-width: 680px) {
    .history-intro {
        margin-bottom: 2rem;
    }

    .history-gallery figure {
        margin-bottom: 2.5rem;
    }
}

.history-article {
    max-width: 820px;
    margin: 0 auto;
}

.history-article p {
    margin: 0 0 1.5rem;
    line-height: 1.75;
}

.history-lead {
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 600;
}

.history-source {
    margin-top: 3rem !important;
    color: var(--ink-soft);
    font-style: italic;
}

.history-article h2 {
    margin: 1rem 0 1.5rem;
    color: var(--ocean);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.history-article h3 {
    margin: 2.5rem 0 1rem;
    color: var(--ocean);
    font-size: 1.3rem;
}

.history-photo {
    margin: 2rem auto;
    text-align: center;
}

.history-photo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0 8px 28px rgba(16, 39, 51, .15);
}

.history-credit {
    margin-top: 3rem !important;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

/* Vanliga informationssidor */

.text-article {
    max-width: 820px;
    margin: 0 auto;
}

.text-article p {
    margin: 0 0 1.5rem;
    line-height: 1.75;
}

.text-article h2 {
    margin: 3rem 0 1.2rem;
    color: var(--ocean);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.text-article h3 {
    margin: 2rem 0 0.8rem;
    color: var(--ocean);
    font-size: 1.25rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    text-decoration: underline;
}

/* =========================================================
   TJÖRN – HISTORIA & BILDER
   ========================================================= */

.history-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.history-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.history-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

.history-card > a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.history-card-content {
    padding: 1.7rem;
}

.history-card h2 {
    margin-top: 0.3rem;
    margin-bottom: 0.8rem;
    color: var(--ocean);
    font-size: 1.45rem;
    line-height: 1.25;
}

.history-card p {
    line-height: 1.65;
}

.history-card p:not(.eyebrow) {
    line-height: 1.65;
}

@media (max-width: 900px) {
    .history-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   LoRaWAN lantbruk – artikeltypografi och avstånd
   ========================================================= */

/* Luft mellan huvudrubrik i ett avsnitt och efterföljande text/kort. */
.lora-section-heading {
    margin-bottom: 1.75rem;
}

/* De tekniska delarna är underrubriker i samma avsnitt,
   inte nya jättestora huvudrubriker. */
.lora-details .lora-detail + .lora-detail {
    margin-top: 3.5rem;
}

.lora-details .lora-detail h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    line-height: 1.15;
}

.lora-details .lora-detail p {
    margin-bottom: 1.15rem;
}

.lora-details .lora-detail p:last-child,
.lora-details .lora-detail ul:last-child {
    margin-bottom: 0;
}

/* LoRaWAN – numrerade användningsområden */
.lora-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    vertical-align: middle;
}

/* Numrerade LoRaWAN-avsnitt */
h3:has(.lora-number) {
    margin-bottom: 0.55rem;
}

h3:has(.lora-number) + p {
    margin-top: 0;
    margin-bottom: 2.4rem;
}


/* Kontaktformulär – kontakt1.php */
.contact-form-col {
    min-width: 0;
}

.contact-form {
    margin-top: 1.5rem;
}

.form-field {
    margin-bottom: 1.15rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    color: var(--ink);
}

.form-field input,
.form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    font: inherit;
}

.form-field textarea {
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid var(--ocean-bright);
    outline-offset: 2px;
}

.form-message {
    margin: 1.25rem 0;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.form-message ul {
    margin-bottom: 0;
}

.form-message-success {
    border-left: 4px solid var(--green);
}

.form-message-error {
    border-left: 4px solid var(--signal);
}

/* Honeypot: ska inte synas eller kunna nås med tangentbordet. */
.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Kontaktformulär – avstånd och bekräftelse */

.contact-form-col {
    padding-top: 2rem;
}

.contact-form .button {
    background: #2f684e;
    color: #fff;
    border: 2px solid #2f684e;
    border-radius: 8px;
    padding: 0.85rem 1.4rem;
    font-weight: 700;
    cursor: pointer;
}

.contact-form .button:hover {
    background: #24533e;
    border-color: #24533e;
}


.form-message-success {
    margin: 1.5rem 0 2rem;
    padding: 1.25rem 1.4rem;
    border: 2px solid var(--green);
    border-radius: var(--card-radius);
    background: #eaf4ee;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(16, 39, 51, 0.08);
}