@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
    --clr-primary: #B5E18B;
    --clr-secondary: #F0FFC2;
    --clr-sand: #EAE6BC;
    --clr-deep: #28396C;
    --clr-text: #1f2640;
    --clr-white: #fff;
    --space-xs: .5rem;
    --space-sm: .875rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3.5rem;
    --radius-sm: 10px;
    --radius-md: 18px;
    --shadow-soft: 0 10px 30px rgba(40, 57, 108, .12);
    --font-main: "Trebuchet MS", "Segoe UI", sans-serif
}

*,
*::before,
*::after {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--clr-text);
    background: linear-gradient(180deg, var(--clr-secondary), #f9fbe8 45%, var(--clr-white));
    line-height: 1.6
}

a {
    color: var(--clr-deep);
    text-decoration: none;
    transition: color .3s ease
}

a:hover {
    color: #1e2d55
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto
}

.split,
.nav-grid,
.two-col,
.footer-grid,
.card-grid,
.rhythm-grid {
    display: grid;
    gap: var(--space-md)
}

.split {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.top-contact {
    background: var(--clr-sand);
    padding: .4rem 0;
    font-size: .92rem
}

.top-contact .split a:last-child {
    text-align: right
}

.main-nav-wrap {
    background: rgba(240, 255, 194, .87);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(40, 57, 108, .16);
    position: sticky;
    top: 0;
    z-index: 20
}

.nav-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: var(--space-sm) 0
}

.brand {
    display: block;
}

.brand img {
    width: 4rem;
    position: relative;
    z-index: 20;
}

.brand img {
    display: inline-block;
    transform: rotate(-5deg);
    transition: transform var(--transition-normal);
}

.brand:hover img {
    transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .brand img {
        width: 3rem;
        position: relative;
        z-index: 20;
    }
}

@media (max-width: 768px) {
    .brand img {
        width: 3rem;
        position: relative;
        z-index: 20;
    }
}

@media (max-width: 576px) {
    .brand img {
        width: 2rem;
        position: relative;
        z-index: 20;
    }
}

@media (max-width: 400px) {
    .brand img {
        width: 2rem;
        position: relative;
        z-index: 20;
    }
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem
}

.main-nav a {
    font-weight: 600;
    border-bottom: 2px solid transparent;
    padding-bottom: .25rem
}

.main-nav a:hover,
.main-nav a.active {
    border-bottom-color: var(--clr-deep)
}

.menu-toggle {
    display: none;
    font-size: 1.35rem;
    border: none;
    background: transparent;
    color: var(--clr-deep)
}

.hero-minimal {
    padding: var(--space-xl) 0 var(--space-lg)
}

.kicker {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem
}

h1,
h2,
h3 {
    line-height: 1.2;
    color: var(--clr-deep)
}

h1 {
    font-size: clamp(1.8rem, 3vw, 2.8rem)
}

.hero-note,
.media-card,
.quote-card,
.contact-form,
.contact-side,
.legal-content,
.cookie-panel,
.thanks-page .container {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(40, 57, 108, .1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft)
}

.hero-note,
.legal-content,
.thanks-page .container,
.contact-side,
.contact-form,
.quote-card,
.cookie-panel {
    padding: var(--space-lg)
}

.section {
    padding: var(--space-xl) 0
}

.page-intro {
    padding: var(--space-lg) 0
}

.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start
}

.media-card {
    overflow: hidden
}

img {
    display: block;
    width: 100%;
    height: auto
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0 0
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .45rem
}

.accent {
    background: linear-gradient(120deg, rgba(181, 225, 139, .43), rgba(234, 230, 188, .52))
}

.rhythm-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.rhythm-grid article {
    background: rgba(255, 255, 255, .9);
    padding: var(--space-md);
    border-radius: var(--radius-sm)
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.btn {
    display: inline-block;
    border: 2px solid var(--clr-deep);
    background: var(--clr-deep);
    color: var(--clr-secondary);
    border-radius: 999px;
    padding: .65rem 1.2rem;
    font-weight: 600;
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(40, 57, 108, .2)
}

.btn-outline {
    background: transparent;
    color: var(--clr-deep)
}

.btn-ghost {
    border-color: transparent;
    background: transparent;
    color: var(--clr-deep)
}

.small {
    padding: .45rem .8rem;
    font-size: .85rem
}

.text-link {
    text-decoration: underline
}

.map-wrap iframe {
    width: 100%;
    min-height: 300px;
    border: 0;
    border-radius: var(--radius-sm)
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs)
}

input,
textarea {
    width: 100%;
    margin-top: .35rem;
    border: 1px solid rgba(40, 57, 108, .22);
    border-radius: 9px;
    padding: .7rem;
    font: inherit
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(40, 57, 108, .25)
}

.gdpr {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    margin: var(--space-sm) 0
}

.gdpr input {
    width: auto;
    margin-top: .2rem
}

.error {
    display: block;
    min-height: 1.1rem;
    color: #a02a2a;
    font-size: .87rem;
    margin-bottom: .2rem
}

.site-footer {
    background: var(--clr-deep);
    color: var(--clr-secondary);
    padding: var(--space-lg) 0
}

.footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start
}

.site-footer a {
    color: var(--clr-secondary)
}

.legal-nav {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    width: min(940px, 94%);
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(40, 57, 108, .2);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: var(--space-sm) var(--space-md);
    display: none;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    z-index: 40
}

.cookie-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.cookie-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(21, 30, 59, .35);
    z-index: 50
}

.cookie-panel {
    width: min(420px, 92%)
}

.cookie-panel label {
    display: block;
    margin: .65rem 0
}

.thanks-page {
    min-height: 100vh;
    display: grid;
    place-items: center
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0)
}

.nordic-card {
    background: rgba(255, 255, 255, .88);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(40, 57, 108, .12)
}

.plan-tabs {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-sm)
}

.plan-tab {
    border: 1px solid rgba(40, 57, 108, .25);
    background: #fff;
    color: var(--clr-deep);
    padding: .45rem .8rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all .25s ease
}

.plan-tab.active,
.plan-tab:hover {
    background: var(--clr-primary)
}

.plan-panel {
    display: none
}

.plan-panel.active {
    display: block;
    animation: softIn .45s ease
}

.timeline {
    display: grid;
    gap: .8rem
}

.timeline article {
    padding: .8rem;
    background: rgba(240, 255, 194, .62);
    border-radius: 10px;
    border-left: 4px solid var(--clr-deep)
}

.faq-list {
    display: grid;
    gap: .6rem
}

.faq-item {
    border: 1px solid rgba(40, 57, 108, .15);
    border-radius: 12px;
    background: #fff;
    overflow: hidden
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: .9rem;
    font: inherit;
    font-weight: 700;
    color: var(--clr-deep);
    cursor: pointer
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 .9rem;
    transition: max-height .35s ease, padding .35s ease
}

.faq-item.open .faq-answer {
    max-height: 180px;
    padding: 0 .9rem .9rem
}

.micro-tool {
    display: grid;
    gap: .5rem;
    background: rgba(234, 230, 188, .65);
    padding: var(--space-md);
    border-radius: 12px
}

.micro-tool .inline {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: .6rem
}

.badge-row {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.badge {
    padding: .2rem .55rem;
    border-radius: 999px;
    background: rgba(40, 57, 108, .12);
    font-size: .8rem
}

.ad-safe {
    border-left: 4px solid #6f934c;
    padding-left: .8rem
}

.legal-list {
    padding-left: 1.1rem
}

.legal-list li {
    margin-bottom: .35rem
}

@keyframes softIn {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (max-width:920px) {

    .two-col,
    .footer-grid,
    .card-grid,
    .rhythm-grid {
        grid-template-columns: 1fr
    }

    .nav-grid {
        grid-template-columns: auto auto;
        gap: .6rem
    }

    .menu-toggle {
        display: inline-block;
        justify-self: end
    }

    .main-nav {
        display: none;
        grid-column: 1/-1;
        flex-direction: column;
        background: rgba(255, 255, 255, .96);
        padding: var(--space-sm);
        border-radius: var(--radius-sm)
    }

    .main-nav.open {
        display: flex
    }

    .top-contact .split {
        grid-template-columns: 1fr
    }

    .top-contact .split a:last-child {
        text-align: left
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start
    }
}