/* --- 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: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    background: #FAF7F2;
    color: #224067;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: #224067;
    text-decoration: none;
    transition: color .2s;
    cursor: pointer;
}
a:focus {
    outline: 2px solid #65A0B7;
    outline-offset: 2px;
}
a:hover {
    color: #65A0B7;
}
ul, ol {
    padding-left: 24px;
    margin-bottom: 8px;
}
li {
    line-height: 1.7;
    margin-bottom: 6px;
}


/* --- FONT FACE (Google Fonts) --- */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: local('Montserrat Bold'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
}

/* --- CONTAINER LAYOUT --- */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.content-wrapper, .text-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(34, 64, 103, 0.04), 0 1px 2px rgba(34,64,103,0.05);
}

main > section:not(:last-child) {
    margin-bottom: 40px;
}

@media (max-width: 600px) {
    .section {
        padding: 28px 6vw;
        margin-bottom: 36px;
    }
}

/* --- HEADER --- */
header {
    position: sticky;
    top: 0;
    background: #FAF7F2;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(34, 64, 103, 0.08);
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 12px 20px;
    min-height: 60px;
}
header img {
    height: 48px;
}
.main-nav {
    display: flex;
    flex: 1 1 auto;
    flex-direction: row;
    gap: 28px;
    align-items: center;
    margin-left: 36px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
}
.main-nav a {
    padding: 8px 6px;
    border-radius: 6px;
    position: relative;
    transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
    background: #F1F6F8;
    color: #65A0B7;
}

.cta-button {
    background: #224067;
    color: #FAF7F2;
    border-radius: 24px;
    padding: 12px 28px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: none;
    box-shadow: 0 2px 8px rgba(34,64,103,0.05);
    transition: background .2s, color .2s, box-shadow .18s;
    cursor: pointer;
    display: inline-block;
    outline: none;
}
.cta-button:hover, .cta-button:focus {
    background: #65A0B7;
    color: #224067;
    box-shadow: 0 4px 16px rgba(101,160,183,0.10);
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 2rem;
    padding: 4px 10px;
    cursor: pointer;
    display: none;
    margin-left: 16px;
    color: #224067;
    transition: color .2s;
    z-index: 130;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    color: #65A0B7;
}

@media (max-width: 1023px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
@media (max-width: 600px) {
    header .container {
        padding: 10px 6vw;
    }
    header img {
        height: 40px;
    }
}

/* --- MOBILE MENU --- */
.mobile-menu {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.71,.22,.27,.97), opacity .25s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 4px 0 24px rgba(34,64,103,0.13);
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-close {
    font-size: 2rem;
    padding: 16px 18px 12px 18px;
    border: none;
    background: none;
    color: #224067;
    position: relative;
    align-self: flex-end;
    z-index: 1001;
    cursor: pointer;
    transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #65A0B7;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 16px 34px 10px 24px;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 20px;
    padding: 11px 0 11px 4px;
    border-radius: 7px;
    transition: background .17s, color .17s;
    color: #224067;
    font-weight: 600;
    width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #F1F6F8;
    color: #65A0B7;
}

/* --- HERO + TYPOGRAPHY --- */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #224067;
    font-weight: 700;
    line-height: 1.14;
}
h1 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}
h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}
h3 {
    font-size: 1.32rem;
    margin-bottom: 6px;
}
h4, h5 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}
.tagline {
    font-size: 1.05em;
    color: #65A0B7;
    opacity: 0.8;
    margin-top: 6px;
    font-family: 'Open Sans', Arial, sans-serif;
}

p {
    font-size: 1.11em;
    color: #224067;
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}
strong, b {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
}

@media (max-width: 800px) {
    h1 {
        font-size: 1.65rem;
    }
    h2 {
        font-size: 1.35rem;
    }
    h3 {
        font-size: 1.07rem;
    }
}

/* --- PRODUCT/SERVICE & CARD LAYOUT --- */
.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    margin-top: 12px;
    margin-bottom: 10px;
}
.service-card {
    flex: 1 1 230px;
    min-width: 260px;
    max-width: 340px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 14px rgba(34,64,103,0.08);
    padding: 28px 22px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
    transition: box-shadow 0.18s, transform 0.17s;
}
.service-card:hover, .service-card:focus-within {
    box-shadow: 0 6px 26px rgba(101,160,183,0.19);
    transform: translateY(-3px) scale(1.018);
}
.service-card h3 {
    font-size: 1.18rem;
    color: #224067;
    margin-bottom: 4px;
}
.service-card p {
    margin-bottom: 0;
    font-size: 1.01em;
    color: #435368;
}
.service-card .cta-button {
    margin-top: 12px;
    font-size: 17px;
    min-width: 145px;
}
.service-card a:not(.cta-button) {
    color: #65A0B7;
    font-weight: 600;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1em;
    margin-top: 6px;
    text-decoration: underline dotted #65A0B7;
    transition: color .17s;
}
.service-card a:not(.cta-button):hover {
    color: #224067;
}
@media (max-width: 900px) {
    .service-list {
        flex-direction: column;
        gap: 19px;
    }
    .service-card {
        min-width: 0;
        max-width: 100%;
    }
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(34,64,103,0.05);
    display: flex;
    flex-direction: column;
}

.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;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    background: #F1F6F8;
    border-radius: 13px;
    box-shadow: 0 1px 4px rgba(34,64,103,0.07);
    color: #224067;
    font-size: 1.07em;
    transition: box-shadow 0.15s;
}
.testimonial-card strong {
    color: #224067;
    font-size: 1em;
    margin-left: auto;
    text-align: right;
}
.testimonial-card:hover, .testimonial-card:focus-within {
    box-shadow: 0 4px 12px rgba(101,160,183,0.13);
}
@media (max-width: 700px) {
    .testimonial-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

/* --- CONTACT INFO and TEXT SECTIONS --- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 10px;
}
.text-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- FOOTER --- */
footer {
    background: #fff;
    padding: 36px 0 30px 0;
    border-top: 1px solid #E7EBF0;
    margin-top: 65px;
}
footer .container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 36px;
    justify-content: space-between;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-nav a {
    color: #224067;
    opacity: 0.9;
    font-size: 15px;
    transition: opacity .2s;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: #65A0B7;
    opacity: 1;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.footer-brand img {
    height: 38px;
    margin-bottom: 2px;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 0.97em;
    color: #435368;
}
@media (max-width: 800px) {
    footer .container {
        flex-direction: column;
        gap: 22px;
        align-items: flex-start;
    }
    .footer-brand {
        align-items: flex-start;
    }
}

/* --- GENERAL BUTTON STYLES --- */
button, input[type="button"], input[type="submit"] {
    font-family: inherit;
    background: #224067;
    color: #FAF7F2;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(34,64,103,0.04);
    transition: background .2s, color .18s, box-shadow .15s;
}
button:hover, button:focus {
    background: #65A0B7;
    color: #224067;
    box-shadow: 0 3px 8px rgba(101,160,183,0.11);
}

/* --- FORMS (if present) --- */
input, textarea, select {
    font-family: inherit;
    font-size: 1em;
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #E7EBF0;
    background: #FAF7F2;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border .15s;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #65A0B7;
    background: #fff;
}
label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1em;
    margin-bottom: 6px;
    color: #224067;
    font-weight: 600;
}

/* --- SPACING --- */
.section,
.card-container,
.card,
.content-grid,
.text-image-section,
.testimonial-card,
.feature-item {
    /* Ensured directly in each corresponding class above for exact gap/margin rules. */
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(34,64,103,0.09);
    padding: 22px 20px 19px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    justify-content: center;
    font-size: 1em;
    border-radius: 16px 16px 0 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(60px);
    transition: opacity .3s, transform .3s;
}
.cookie-banner.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.cookie-banner p {
    color: #224067;
    margin-bottom: 0;
    font-size: 1em;
}
.cookie-banner .cookie-btn {
    background: #224067;
    color: #FAF7F2;
    font-size: 1em;
    padding: 9px 20px;
    border-radius: 24px;
    font-weight: 700;
    margin: 0 8px 0 0;
    border: none;
    transition: background .17s, color .17s;
}
.cookie-banner .cookie-btn.settings {
    background: #65A0B7;
    color: #224067;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
    background: #FAF7F2;
    color: #224067;
    border: 1px solid #65A0B7;
}
@media (max-width: 700px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 17px 7vw 16px 7vw;
    }
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    z-index: 10001;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(34,64,103,0.40);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .28s;
}
.cookie-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.cookie-modal-dialog {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 44px rgba(34,64,103,0.13);
    padding: 40px 30px 28px 30px;
    min-width: 325px;
    max-width: 94vw;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    position: relative;
}
.cookie-modal-dialog h2 {
    font-size: 1.23rem;
    color: #224067;
    margin-bottom: 8px;
}
.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 8px 0 14px 1px;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 13px;
}
.cookie-category label {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1em;
    color: #224067;
    font-weight: 500;
}
.cookie-category input[type="checkbox"] {
    accent-color: #65A0B7;
}
.cookie-modal .cookie-btn.close {
    background: none;
    color: #224067;
    align-self: flex-end;
    font-size: 26px;
    padding: 4px 10px 4px 10px;
    border: none;
    box-shadow: none;
}
.cookie-modal .cookie-btn.close:hover, .cookie-modal .cookie-btn.close:focus {
    color: #65A0B7;
    background: none;
}
.cookie-modal-actions {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 10px;
}
.cookie-modal .cookie-btn {
    font-size: 1em;
    padding: 9px 18px;
    border-radius: 21px;
    font-weight: 700;
    border: none;
    transition: background .14s, color .14s;
}
@media (max-width:600px) {
    .cookie-modal-dialog {
        padding: 26px 6vw 23px 6vw;
        min-width: 0;
    }
}

/* --- ACCESSIBILITY + USABILITY --- */
:focus-visible {
    outline: 2px solid #65A0B7;
    outline-offset: 2px;
}

/* --- INTERACTIONS --- */
button, .cta-button, .cookie-btn {
    transition: background .22s, box-shadow .13s, color .17s, border .18s;
}

a, button, .cta-button, .cookie-btn {
    transition: color .17s, background .15s;
}

/* --- MISC UTILS --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* --- RESPONSIVE TWEAKS --- */
@media (max-width: 900px) {
    .container {
        padding: 0 5vw;
    }
}
@media (max-width:600px) {
    .container {
        padding: 0 3vw;
    }
    .section, main > section {
        padding: 21px 0;
    }
}

.text-image-section {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
}
@media (min-width: 600px) {
    .text-image-section {
        flex-direction: row;
        gap: 30px;
        align-items: center;
    }
}

/* --- END --- */
