/* Front-page hero + focus areas + Ydelser grid (2026 redesign). */

body.front-chrome-minimal .topbar {
    display: none;
}

body.front-chrome-minimal .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(6, 14, 24, 0.32) 0%, rgba(6, 14, 24, 0.16) 70%, rgba(6, 14, 24, 0) 100%);
    border-bottom: 0;
    backdrop-filter: none;
}

body.front-chrome-minimal .site-header .container {
    min-height: 78px;
}

body.front-chrome-minimal .brand__text,
body.front-chrome-minimal .site-nav a {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

body.front-chrome-minimal .brand .custom-logo {
    filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}

body.front-chrome-minimal .nav-toggle {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

body.front-chrome-minimal .site-nav .button {
    background: #fff;
    color: var(--primary, #1f3863);
}

@media (max-width: 980px) {
    body.front-chrome-minimal .site-nav {
        background: #10263c;
        color: #fff;
    }

    body.front-chrome-minimal .site-nav a {
        color: rgba(255, 255, 255, 0.9);
    }
}

/* Hero shell */
.front-hero {
    position: relative;
    isolate: isolate;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: #0d1c2c;
    overflow: hidden;
}

.front-hero__media,
.front-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.front-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.front-hero__inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 2rem), var(--max));
    padding: 7.5rem 0 4.5rem;
}

.front-hero__title {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.02;
    text-wrap: balance;
}

.front-hero__lede {
    margin: 1.25rem 0 0;
    max-width: 36rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
}

.front-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.85rem;
}

.front-hero__actions .button-ghost--light {
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}

.front-hero__actions .button-ghost--light:hover {
    background: rgba(255, 255, 255, 0.12);
}

.front-hero--a .front-hero__media img {
    object-position: 62% 55%;
}

.front-hero--a .front-hero__veil {
    background: linear-gradient(
        180deg,
        rgba(9, 19, 31, 0.38) 0%,
        rgba(9, 19, 31, 0.22) 26%,
        rgba(9, 19, 31, 0.32) 52%,
        rgba(9, 19, 31, 0.7) 80%,
        rgba(9, 19, 31, 0.86) 100%
    );
}

.front-hero__inner--a .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.front-hero--a .front-hero__title--a {
    max-width: 16ch;
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    color: #fff;
}

.front-focus--a {
    padding: 4.25rem 0 3.5rem;
    background: #f7f8f7;
    border-bottom: 1px solid rgba(19, 40, 61, 0.08);
}

.front-focus--a .front-focus__intro {
    max-width: 36rem;
    margin-bottom: 2rem;
}

.front-focus--a h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--text, #1b2f47);
}

.front-focus__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(19, 40, 61, 0.14);
}

.front-focus__list a {
    display: grid;
    gap: 0.35rem;
    padding: 1.35rem 1.1rem 1.35rem 0;
    border-bottom: 1px solid rgba(19, 40, 61, 0.14);
}

.front-focus__list li:nth-child(even) a {
    padding-left: 1.1rem;
    border-left: 1px solid rgba(19, 40, 61, 0.14);
}

.front-focus__label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-2, #014e8d);
}

.front-focus__text {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text, #1b2f47);
}

.front-focus__list a:hover .front-focus__text {
    color: var(--primary-2, #014e8d);
}

/* Light, scannable Ydelser grid — replaces the earlier vertical
   "services-list" rows (heading + paragraph + 3 bullets + links per row),
   which read as heavy/dense. Each service is now a single glanceable card:
   kicker, heading, one short line, one link. Deeper detail lives on the
   linked service pages instead of being duplicated here. */
.services-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.services-grid__card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.6rem 1.7rem;
    border: 1px solid var(--line, rgba(19, 40, 61, 0.12));
    border-radius: var(--radius-lg, 24px);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.services-grid__card:hover {
    border-color: rgba(19, 40, 61, 0.22);
    box-shadow: 0 16px 40px rgba(14, 31, 48, 0.08);
    transform: translateY(-2px);
}

.services-grid__kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-2, #014e8d);
}

.services-grid__card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--text, #1b2f47);
}

.services-grid__card p {
    margin: 0;
    color: var(--muted, #5a6b78);
    line-height: 1.55;
}

.services-grid__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary, #1f3863);
}

/* VVS & ventilation links to two separate service pages, so this card isn't
   itself a link (avoids nesting <a> inside <a>) — instead it shows both
   as a compact side-by-side row of text links, not full buttons. */
.services-grid__card--links {
    cursor: default;
}

.services-grid__linkrow {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.3rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.services-grid__linkrow .services-grid__cta {
    padding-top: 0;
}

.services-grid__cta span {
    display: inline-block;
    transition: transform 0.15s ease;
}

.services-grid__cta:hover {
    color: var(--primary-2, #014e8d);
}

.services-grid__cta:hover span {
    transform: translateX(3px);
}

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

@media (max-width: 800px) {
    .front-hero__inner {
        padding: 6.5rem 0 3.4rem;
    }

    .front-focus__list {
        grid-template-columns: 1fr;
    }

    .front-focus__list li:nth-child(even) a {
        padding-left: 0;
        border-left: 0;
    }
}
