/* ========================================== */
/* 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,
main, 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    background: #F9FAFB;
    color: #263238;
    font-family: 'Roboto', Arial, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.02em;
}
ol, ul {
    list-style: none;
}
a {
    background: transparent;
    color: #263238;
    text-decoration: none;
    transition: color 0.2s;
}
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    outline: none;
}
strong {
    font-weight: 600;
    color: #263238;
}

/* ========================================== */
/* BRAND FONTS                               */
/* ========================================== */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 500;
    color: #263238;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: 0.01em;
}
h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.5rem;
}
h4 {
    font-size: 1.2rem;
}
h5, h6 {
    font-size: 1rem;
}

.subheadline {
    font-size: 1.2rem;
    color: #607D8B;
    font-family: 'Roboto', Arial, sans-serif;
    margin-bottom: 24px;
}
p, ul, li, a, button, label {
    font-size: 1rem;
    font-family: 'Roboto', Arial, sans-serif;
    color: #263238;
    line-height: 1.6;
}
.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ========================================== */
/* SCANDINAVIAN CLEAN STYLE BASICS            */
/* ========================================== */
body {
    background: #FAFAFA;
    color: #263238;
    font-size: 16px;
    font-family: 'Roboto', Arial, sans-serif;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(90,110,125,0.04);
}

.content-wrapper,
.text-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.text-section {
    gap: 20px;
}

/* CARD LAYOUTS -- mandatory flex spacing */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(90,110,125,0.06);
    margin-bottom: 20px;
    padding: 32px 28px;
    position: relative;
    flex: 1 1 250px;
    min-width: 240px;
    transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
    box-shadow: 0 4px 20px rgba(38,50,56,0.09);
    transform: translateY(-3px);
}

/* Content Grid -- flex-based only */
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px;
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: #F7F9FA;
    border-radius: 12px;
    padding: 20px 18px;
}

/***************************************
 * TESTIMONIALS                       *
 **************************************/
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    background: #FFFEFB;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(90,110,125,0.06);
    padding: 20px 28px 18px 28px;
    margin-bottom: 24px;
    border-left: 5px solid #90A4AE;
    min-width: 200px;
    color: #263238;
}
.testimonial-card p {
    color: #263238;
    font-size: 1.1em;
    margin-bottom: 0;
}
.testimonial-card strong {
    font-size: 1em;
    color: #607D8B;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
}

/***************************************
*  HEADER & MAIN NAVIGATION           *
***************************************/
header {
    background: #fff;
    border-bottom: 1.5px solid #ECEFF1;
    box-shadow: 0 1px 16px rgba(60,68,79,.03);
    position: sticky;
    top: 0;
    z-index: 20;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 20px 12px 20px;
}
.main-nav a {
    font-family: 'Roboto', Arial, sans-serif;
    color: #263238;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.16s, color 0.18s;
    font-size: 1rem;
    position: relative;
}
.main-nav a.cta {
    background: #263238;
    color: #FFFDE7;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 1.08rem;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-left: 14px;
    transition: background 0.18s, color 0.18s, box-shadow 0.15s;
    box-shadow: 0 2px 10px rgba(80,87,100,0.04);
}
.main-nav a.cta:hover,
.main-nav a.cta:focus {
    background: #90A4AE;
    color: #263238;
}
.main-nav a:not(.cta):hover,
.main-nav a:not(.cta):focus {
    background: #EEF0F2;
    color: #263238;
}
.main-nav img {
    height: 38px;
    margin-right: 12px;
    display: block;
}

header .mobile-menu-toggle {
    display: none;
    background: #fff;
    color: #263238;
    border: 1.5px solid #CFD8DC;
    border-radius: 8px;
    padding: 7px 13px;
    font-size: 1.7rem;
    margin-right: 17px;
    position: absolute;
    top: 16px;
    right: 15px;
    z-index: 31;
    transition: background 0.13s;
}
header .mobile-menu-toggle:active {
    background: #F4F5F5;
}

/***************************************
* MOBILE NAVIGATION                   *
***************************************/
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: 0 2px 24px rgba(38,50,56,0.14);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.34s cubic-bezier(.39,.575,.565,1), opacity 0.2s;
    opacity: 0;
    pointer-events: none;
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-close {
    background: none;
    color: #263238;
    font-size: 2.1rem;
    border: none;
    padding: 18px;
    cursor: pointer;
    align-self: flex-end;
    margin-top: 4px;
    margin-right: 5px;
    z-index: 2300;
    border-radius: 8px;
    transition: background 0.13s;
}
.mobile-menu-close:active {
    background: #EAEDEE;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 10px;
    align-items: flex-start;
    padding: 18px 28px;
}
.mobile-nav a {
    font-size: 1.18rem;
    color: #263238;
    padding: 14px 0 14px 6px;
    border-radius: 7px;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    width: 100%;
    transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
    background: #F9FBE9;
}

/*****************************************/
/* BUTTONS & CTAS                        */
/*****************************************/
.cta, .btn, button.cta, .mobile-nav a.cta {
    background: #263238;
    color: #FFFDE7;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1.04rem;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 600;
    border: none;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 10px rgba(80,87,100,0.03);
    transition: background 0.21s, color 0.15s, transform 0.10s, box-shadow 0.19s;
    margin-top: 6px;
    cursor: pointer;
}
.cta:hover, .btn:hover, button.cta:hover,
.cta:focus, .btn:focus, button.cta:focus {
    background: #90A4AE;
    color: #263238;
    transform: translateY(-2px);
    box-shadow: 0 4px 18px rgba(30,38,45,0.04);
    outline: none;
}

/***************************************
* ICONS AND LIST ITEMS                *
***************************************/
ul {
    margin-left: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 12px;
}
ul li {
    display: flex;
    align-items: center;
    column-gap: 12px;
    font-size: 1.1rem;
}
ul li img {
    width: 28px;
    height: 28px;
    margin-right: 4px;
    vertical-align: middle;
}

/***************************************
* FOOTER                              *
***************************************/
footer {
    background: #FAFAFA;
    border-top: 1.5px solid #ECEFF1;
    padding: 36px 0 18px 0;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
footer nav {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
footer nav a {
    color: #607D8B;
    font-size: 1rem;
    padding: 8px 10px;
    border-radius: 7px;
    transition: background 0.13s, color 0.13s;
}
footer nav a:hover,
footer nav a:focus {
    background: #E4E8EA;
    color: #263238;
}
.contact-details {
    text-align: center;
    color: #90A4AE;
    font-size: 1rem;
    font-family: 'Roboto', Arial, sans-serif;
    margin-top: 10px;
    line-height: 1.7;
}
.contact-details img {
    height: 20px;
    vertical-align: middle;
    margin-right: 10px;
    margin-bottom: 3px;
}

/***********************************
* Cookie Consent Banner + Modal    *
***********************************/
.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 20px;
    background: #FFFDE7;
    color: #263238;
    box-shadow: 0 2px 18px rgba(90,110,125,0.10);
    padding: 28px 34px 20px 34px;
    z-index: 2500;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    max-width: 480px;
    margin: 0 auto;
    animation: banner-in 0.4s cubic-bezier(0.61,0.38,0.17,0.84);
}
@keyframes banner-in {
    0% { opacity: 0; transform: translateY(80px); }
    100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-banner button,
.cookie-banner .cta {
    padding: 10px 22px;
    border-radius: 9px;
    border: none;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    background: #263238;
    color: #FFFDE7;
    transition: background 0.16s, color 0.15s;
}
.cookie-banner .btn-secondary {
    background: #90A4AE;
    color: #263238;
}
.cookie-banner .btn-secondary:hover {
    background: #607D8B;
    color: #FFFDE7;
}
.cookie-banner button:hover, .cookie-banner button:focus {
    background: #90A4AE;
    color: #263238;
}

/******** COOKIE MODAL ***********/
.cookie-modal-overlay {
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(38,50,56, 0.14);
    z-index: 2600;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modal-in 0.22s;
}
@keyframes modal-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cookie-modal {
    background: #fff;
    border-radius: 18px;
    padding: 32px 36px 28px 36px;
    max-width: 90vw;
    width: 400px;
    box-shadow: 0 6px 40px rgba(60,70,80,0.13);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 2620;
    animation: modal-popin 0.29s cubic-bezier(.42,0,.58,1.0);
}
@keyframes modal-popin {
    0% { transform: scale(0.93); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
    background: none;
    color: #90A4AE;
    font-size: 1.6rem;
    border: none;
    position: absolute;
    top: 12px; right: 18px;
    z-index: 2650;
    cursor: pointer;
    transition: color 0.16s;
    border-radius: 8px;
    padding: 4px 8px;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
    color: #263238;
}
.cookie-modal h3 {
    margin-bottom: 10px;
    font-size: 1.19rem;
}
.cookie-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 7px;
    background: #F7F9FA;
    border-radius: 8px;
    padding: 10px 14px 10px 14px;
}
.cookie-group label {
    font-size: 1rem;
    font-weight: 500;
    color: #263238;
}
.cookie-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #90A4AE;
    margin-right: 10px;
}
.cookie-modal-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.cookie-modal-actions button {
    padding: 8px 18px;
    border-radius: 8px;
    border: none;
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 600;
    background: #263238;
    color: #FFFDE7;
    font-size: 1rem;
    transition: background 0.16s, color 0.14s;
}
.cookie-modal-actions .btn-secondary {
    background: #90A4AE;
    color: #263238;
}
.cookie-modal-actions .btn-secondary:hover {
    background: #607D8B;
    color: #FFFDE7;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
    background: #607D8B;
    color: #FFFDE7;
}

/***************************************
* UTILITY: SPACING & FLEXBOX           *
***************************************/
.mb-0 {margin-bottom: 0 !important;}
.mb-8 {margin-bottom: 8px !important;}
.mb-16 {margin-bottom: 16px !important;}
.mb-24 {margin-bottom: 24px !important;}
.mt-24 {margin-top: 24px !important;}
.gap-20 {gap: 20px !important;}

/***************************************
* RESPONSIVE DESIGN                   *
***************************************/
@media (max-width: 1080px) {
    .container { max-width: 97vw; }
}
@media (max-width: 860px) {
    .main-nav { flex-wrap: wrap; }
    .main-nav img { margin-bottom: 8px; }
    .container { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.1rem; }
    .main-nav {
        display: none;
    }
    header .mobile-menu-toggle {
        display: block;
    }
    .container,
    .section {
        padding-left: 10px;
        padding-right: 10px;
    }
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .content-wrapper, .text-section {
        gap: 12px;
        padding-left: 0;
        padding-right: 0;
    }
    .card-container, .content-grid {
        flex-direction: column;
        gap: 18px;
    }
    .card {
        min-width: 0;
        padding: 22px 15px;
    }
    .testimonial-card {
        padding: 16px 13px;
        min-width: 0;
    }
    footer {
        padding: 26px 0 8px 0;
        gap: 7px;
    }
    .cookie-banner {
        padding: 19px 8px 10px 8px;
        left: 6px;
        right: 6px;
        max-width: 98vw;
    }
    .cookie-modal {
        width: 98vw;
        min-width: 0;
        padding: 16px 4vw 12px 4vw;
    }
}
@media (max-width: 480px) {
    h1 { font-size: 1.25rem; }
    h2 { font-size: 1.08rem; }
    .section { padding: 22px 5px; }
    .cookie-banner {
        left: 2px;
        right: 2px;
        max-width: 99vw;
    }
}

/* Hide mobile menu when not open */
@media (min-width: 769px) {
    .mobile-menu { display: none !important; }
    header .mobile-menu-toggle { display: none !important; }
    .main-nav { display: flex !important; }
}

/* Add simple focus styles for accessibility */
:focus-visible {
    outline: 2.5px solid #90A4AE;
    outline-offset: 2px;
}

/* Micro Interactions and Subtle Transitions */
section, .section, .card, .testimonial-card, .feature-item {
    transition: box-shadow 0.19s, background 0.16s, border 0.14s;
}

/***************************************
* Miscellaneous & Overrides            *
***************************************/
::-webkit-input-placeholder { color: #90A4AE; }
::-moz-placeholder { color: #90A4AE; }
:-ms-input-placeholder { color: #90A4AE; }
::placeholder { color: #90A4AE; }

hr {
    border: 0;
    height: 1px;
    background: #ECEFF1;
}

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

/***************************************
* END OF STYLE.CSS                    *
***************************************/
