/* ============================================================
   CSS RESET & NORMALIZE
   ============================================================ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html {
    box-sizing: border-box;
    -ms-overflow-style: scrollbar;
    scroll-behavior: smooth;
    font-size: 16px;
}
*, *:before, *:after {
    box-sizing: inherit;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    min-height: 100vh;
    background: #F6F8FA;
    font-family: 'Roboto', Arial, sans-serif;
    color: #1E2433;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    background-color: transparent;
    text-decoration: none;
    color: #1E2433;
    transition: color .2s;
}
a:focus, a:hover {
    color: #34A69A;
    outline: none;
}
ul, ol {
    list-style: none;
}
img {
    border: 0;
    max-width: 100%;
    display: block;
    height: auto;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}
button {
    border: none;
    background: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

/*
   ============================================================
   TYPOGRAPHY (SCANDINAVIAN CLEAN)
   ============================================================ */
h1, .h1 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E2433;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.1;
}
@media (max-width: 768px) {
  h1, .h1 {
    font-size: 2rem;
  }
}
h2, .h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #1E2433;
    margin-bottom: 18px;
    margin-top: 0;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
h3, .h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1E2433;
}
h4, .h4 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1E2433;
}
p, li, span, label {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    color: #232C3A;
    line-height: 1.7;
}
strong {
    font-weight: bold;
    color: #1E2433;
}

/* ===========================================================
   LAYOUT STRUCTURE & CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (max-width: 991px) {
    .container {
        max-width: 95%;
        padding: 0 12px;
    }
}

/* ====== FLEXBOXLAYOUT CORE CLASSES ====== */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: none;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(30,36,51,0.06);
    padding: 32px 28px;
    min-width: 240px;
    flex: 1 1 290px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
    box-shadow: 0 5px 18px rgba(52,166,154,0.16);
    transform: translateY(-4px) scale(1.02);
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(30,36,51,0.07);
    margin-bottom: 24px;
    transition: box-shadow 0.2s;
}
.testimonial-card:hover {
    box-shadow: 0 5px 18px rgba(52,166,154,0.16);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* =============== HEADER =============== */
header {
    background: #fff;
    box-shadow: 0 1px 8px rgba(30,36,51,0.06);
    position: relative;
    z-index: 20;
}
header .container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
    min-height: 68px;
    justify-content: space-between;
}
header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
header nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #1E2433;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
    background: #F6F8FA;
    color: #34A69A;
}
.cta-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    background: #34A69A;
    color: #fff;
    padding: 11px 28px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 8px rgba(52,166,154,0.07);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
    display: inline-block;
    outline: none;
    letter-spacing: 0.4px;
}
.cta-btn:hover, .cta-btn:focus {
    background: #25958A;
    color: #fff;
    box-shadow: 0 5px 16px rgba(52,166,154,0.18);
    transform: translateY(-2px) scale(1.02);
}
.mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    color: #1E2433;
    background: #F6F8FA;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}
@media (max-width: 991px) {
    header nav {
        display: none;
    }
    .cta-btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}

/* ==== MOBILE MENU (SLIDE ANIMATION) ==== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.77,0,0.18,1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 20px 10px 24px;
    will-change: transform;
    box-shadow: 0 2px 16px rgba(30,36,51,0.12);
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    align-self: flex-end;
    font-size: 2rem;
    color: #1E2433;
    background: #F6F8FA;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1E2433;
    padding: 12px 0 12px 0;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #F6F8FA;
    color: #34A69A;
}

/* Blur main when mobile menu is open */
body.mobile-menu-open main, body.mobile-menu-open footer, body.mobile-menu-open header .container {
    filter: blur(2px);
    pointer-events: none;
}

@media (min-width: 992px) {
    .mobile-menu { display: none !important; }
    .mobile-menu-toggle { display: none !important; }
}

/* =============== HERO SECTION =============== */
.hero {
    background: #F6F8FA;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 38px;
    padding-bottom: 64px;
}
.hero .container, .hero .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    max-width: 800px;
}
.hero h1 {
    color: #1E2433;
}
.hero p {
    font-size: 1.18rem;
    color: #232C3A;
    margin-bottom: 14px;
}
.hero .cta-btn {
    margin-top: 8px;
}

/* =============== FEATURES LIST =============== */
.features ul {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 32px;
    padding: 0;
    margin: 0;
    justify-content: flex-start;
}
.features li {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 10px rgba(30,36,51,0.06);
    padding: 28px 22px;
    min-width: 220px;
    flex: 1 1 220px;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 0;
    transition: box-shadow 0.2s, transform 0.2s;
}
.features li:hover {
    box-shadow: 0 5px 16px rgba(52,166,154,0.13);
    transform: translateY(-4px) scale(1.01);
}
.features img {
    width: 44px;
    height: 44px;
    margin-right: 0;
    flex-shrink: 0;
}
.features h3 {
    margin-bottom: 7px;
}
@media (max-width: 991px) {
    .features ul {
        gap: 20px;
        flex-direction: column;
    }
    .features li {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* ========== SERVICES & ABOUT SNIPPETS ========= */
.services-snippet ul, .about-snippet ul {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.services-snippet li, .about-snippet li {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(30,36,51,0.05);
    padding: 24px 18px;
    flex: 1 1 240px;
    margin-bottom: 0;
}
@media (max-width: 991px) {
    .services-snippet ul, .about-snippet ul {
        flex-direction: column;
        gap: 18px;
    }
}

/* ========== TESTIMONIALS ========== */
.testimonials, .testimonial-card {
    background: none;
}
.testimonials .content-wrapper, .testimonial-card {
    gap: 0;
}
.testimonial-card {
    margin-bottom: 20px;
    align-items: flex-start;
    border: 1px solid #E4E8EC;
    background: #fff;
}
.testimonial-card p {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #232C3A;
}
.testimonial-card span {
    font-size: 0.95rem;
    color: #34A69A;
    font-style: italic;
    margin-left: auto;
    font-weight: 500;
}

/* ========== CONTACT/CTA SHORT BOX ========== */
.contact-cta .contact-short, .support-contact {
    display: flex;
    flex-direction: row;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.contact-cta .contact-short p, .support-contact p {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    gap: 10px;
    margin: 0;
    color: #1E2433;
}
.contact-cta img, .support-contact img {
    width: 24px;
    height: 24px;
}
@media (max-width: 600px) {
    .contact-cta .contact-short, .support-contact {
        flex-direction: column;
        gap: 18px;
    }
}

/* ========== BLOG TEASERS ========== */
.blog-teasers {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.blog-teasers article {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 10px rgba(30,36,51,0.07);
    padding: 18px 16px 15px 16px;
    flex: 1 1 280px;
    transition: box-shadow 0.15s, transform 0.14s;
    margin-bottom: 0;
}
.blog-teasers article:hover {
    box-shadow: 0 5px 16px rgba(52,166,154,0.12);
    transform: translateY(-3px) scale(1.01);
}
.category-filters {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: center;
    margin-top: 18px;
}
.category-filters h4 {
    font-size: 1rem;
}
.filter {
    padding: 5px 18px;
    background: #E9F7F6;
    color: #34A69A;
    font-family: 'Montserrat', Arial, sans-serif;
    border-radius: 18px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.filter:hover, .filter.selected {
    background: #34A69A;
    color: #fff;
}

/* ===================== FAQ ===================== */
.faq {
    background: #F6F8FA;
    border-radius: 14px;
    padding: 22px 18px;
    box-shadow: 0 2px 8px rgba(30,36,51,0.04);
    margin-top: 27px;
}
.faq h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.faq ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ================= FOOTER ================= */
footer {
    background: #fff;
    padding: 52px 0 30px 0;
    border-top: 1px solid #E4E8EC;
    font-size: 1rem;
}
footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 48px 40px;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-brand {
    flex: 1 1 210px;
}
footer nav, .footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
}
footer nav a {
    color: #1E2433;
    font-family: 'Montserrat', Arial, sans-serif;
    padding: 4px 0;
    transition: color 0.2s;
    font-size: 1rem;
}
footer nav a:hover {
    color: #34A69A;
    text-decoration: underline;
}
.footer-links a {
    color: #34A69A;
    font-size: 0.97rem;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #25958A;
}
.footer-contact p {
    color: #1E2433;
    font-size: 0.95rem;
}
@media (max-width: 991px) {
    footer .container {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    .footer-brand {
        margin-bottom: 8px;
    }
}

/* ================ FORMS & INPUT (if needed) ================ */
input, textarea {
    background: #fff;
    border: 1px solid #E4E8EC;
    border-radius: 6px;
    padding: 11px 16px;
    font-size: 1rem;
    margin-bottom: 16px;
    width: 100%;
    color: #1E2433;
    transition: border 0.2s;
}
input:focus, textarea:focus {
    border: 1.5px solid #34A69A;
}
label {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 500;
}

/* ========== OL/UL NUMERIC / POLICY, TERMS ETC. ============= */
ol {
    list-style: decimal inside;
    padding-left: 20px;
    margin-bottom: 14px;
}
ul {
    margin-bottom: 7px;
}

/* ========== MISC & UTILITIES ========== */
section {
    margin-bottom: 60px;
    padding: 40px 20px;
}
article {
    margin-bottom: 22px;
}
strong {
    color: #1E2433;
}
hr {
    border: none;
    border-bottom: 1px solid #E4E8EC;
    margin: 30px 0;
}

/* ============= COOKIE CONSENT BANNER & MODAL ============= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #fff;
    border-top: 1.5px solid #E4E8EC;
    box-shadow: 0 -1px 12px rgba(30,36,51,0.09);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 13px 18px 13px;
    gap: 18px;
    transition: transform 0.4s cubic-bezier(.7,0,.23,1), opacity 0.24s;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}
.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cookie-banner p {
    color: #1E2433;
    font-size: 1.05rem;
    max-width: 700px;
}
.cookie-banner .cookie-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.cookie-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 7px;
    background: #34A69A;
    color: #fff;
    margin: 0 2px;
    border: none;
    transition: background 0.2s, transform 0.16s;
    box-shadow: 0 2px 9px rgba(52,166,154,0.04);
}
.cookie-btn.secondary {
    background: #E9F7F6;
    color: #1E2433;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
    background: #C7EEE7;
    color: #25958A;
}
.cookie-btn:hover, .cookie-btn:focus {
    background: #25958A;
    color: #fff;
    transform: translateY(-1.5px) scale(1.02);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 4000;
    background: rgba(30,36,51,0.45);
    align-items: center;
    justify-content: center;
    transition: background 0.32s;
}
.cookie-modal-overlay.open {
    display: flex;
}
.cookie-modal {
    background: #fff;
    border-radius: 21px;
    box-shadow: 0 3px 18px rgba(52,166,154,0.13);
    padding: 38px 30px 28px 30px;
    min-width: 280px;
    max-width: 98vw;
    max-width: 440px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 4050;
    animation: cookieModalIn 0.35s cubic-bezier(.7,0,.23,1);
}
@keyframes cookieModalIn {
  from { transform: translateY(50px) scale(.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.cookie-modal h2 {
    color: #1E2433;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.45rem;
    margin-bottom: 9px;
}
.cookie-modal .cookie-category {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}
.cookie-category label {
    font-size: 1.05rem;
    color: #1E2433;
}
.cookie-category .essential {
    font-style: italic;
    color: #888;
    font-size: 0.97rem;
}
.cookie-modal .close-modal {
    position: absolute;
    top: 19px;
    right: 26px;
    color: #1E2433;
    font-size: 1.34rem;
    background: #F6F8FA;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cookie-modal .modal-actions {
    margin-top: 8px;
    display: flex;
    gap: 14px;
    justify-content: flex-end;
}

/* ============ RESPONSIVE BREAKPOINTS ============= */
@media (max-width: 991px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.35rem; }
    .section, section, .content-wrapper {
        padding: 28px 0 24px 0;
    }
}
@media (max-width: 768px) {
    .container, .content-wrapper {
        padding: 0 6px;
    }
    .section, section {
        padding: 26px 0 18px 0;
        margin-bottom: 38px;
    }
    .card, .testimonial-card {
        padding: 18px 10px;
        min-width: 170px;
    }
    .features ul, .blog-teasers {
        flex-direction: column;
        gap: 16px;
    }
    .content-grid {
        gap: 17px;
    }
}
@media (max-width: 480px) {
    h1 { font-size: 1.31rem; }
    h2 { font-size: 1.07rem; }
    .footer-brand img {
        width: 110px;
        height: auto;
    }
    .cookie-modal {
        padding: 18px 7px 16px 13px;
        min-width: 0;
        max-width: 99vw;
    }
    .mobile-menu {
        padding: 24px 9px;
    }
}

/* ========== MICRO-INTERACTIONS & TRANSITIONS ============= */
a, .cta-btn, .cookie-btn, button {
    transition: all 0.18s cubic-bezier(.7,0,.23,1);
}
section, .section, .card, .testimonial-card, .cookie-banner, .cookie-modal {
    transition: box-shadow 0.26s, transform 0.19s cubic-bezier(.8,0,.27,1), background 0.25s;
}

/* =================== UTILITY =================== */
.visually-hidden {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px; width: 1px; margin: -1px; padding:0; border:0;
}

/* =================== PRINT ==================== */
@media print {
  .cookie-banner, .mobile-menu, .mobile-menu-toggle { display: none !important; }
}
