/* =====================
   CSS Reset & Base
   ===================== */

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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1.5;
    background: #F8F8F7;
    color: #242424;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: 16px;
    min-height: 100vh;
}

*, *:before, *:after {
    box-sizing: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #144265;
    text-decoration: underline;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #C46B00;
}

ul, ol {
    margin-left: 1.4em;
    margin-bottom: 16px;
}

li+li {
    margin-top: 8px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 16px;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    color: #144265;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
}
h1 {
    font-size: 2.75rem;
    margin-bottom: 24px;
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
}
.subtitle {
    font-size: 1.375rem;
    color: #5B646B;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    margin-bottom: 28px;
    font-weight: 400;
}

p {
    margin-bottom: 14px;
    color: #2D2D2D;
    font-size: 1rem;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
}

strong {
    font-weight: 700;
    color: #144265;
}

blockquote {
    font-style: italic;
    padding-left: 20px;
    border-left: 3px solid #C46B00;
    color: #495057;
    margin-bottom: 20px;
}

hr {
    border: none;
    border-top: 1px solid #D2D6DA;
    margin: 30px 0;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.content-wrapper {
    width: 100%;
}

.text-section {
    max-width: 800px;
    margin: 0 auto;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 18px rgba(20,66,101,0.09);
    padding: 32px 24px;
    min-width: 280px;
    transition: box-shadow 0.2s;
}
.card:hover, .card:focus-within {
    box-shadow: 0 6px 24px rgba(20,66,101,0.12);
}

.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;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 3px 16px rgba(20,66,101,0.07);
    margin-bottom: 20px;
    min-width: 260px;
}
.testimonial-card p {
    color: #26282c;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 10px;
}
.testimonial-card .author {
    font-size: 1.05rem;
    font-style: normal;
    color: #5B646B;
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

/* =========================
   Structure: Header & Nav
   ========================= */
header {
    background: #fff6f2;
    box-shadow: 0 2px 7px rgba(20,66,101,0.03);
    position: sticky;
    top: 0;
    z-index: 900;
    width: 100%;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 12px;
}
.logo, .logo-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}
header nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
header nav a {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: 1rem;
    color: #144265;
    opacity: 0.92;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.22s, color 0.22s;
}
header nav a:hover, header nav a:focus {
    color: #C46B00;
    border-bottom: 2px solid #C46B00;
}

.cta.primary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    background: #144265;
    color: #fff;
    font-size: 1.14rem;
    font-weight: 600;
    border: none;
    text-decoration: none;
    transition: background 0.18s, box-shadow 0.18s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(20,66,101,0.08);
    margin-left: 16px;
    letter-spacing: 0.02em;
}
.cta.primary:hover, .cta.primary:focus {
    background: #C46B00;
    color: #fff;
}
.cta.secondary {
    display: inline-block;
    padding: 11px 26px;
    border-radius: 8px;
    background: #fff;
    color: #144265;
    border: 1px solid #144265;
    font-size: 1.10rem;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s, color 0.18s, border 0.18s;
    margin-top: 18px;
    margin-bottom: 8px;
}
.cta.secondary:hover, .cta.secondary:focus {
    background: #144265;
    color: #fff;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #144265;
    margin-left: 14px;
    cursor: pointer;
    z-index: 1200;
    transition: color 0.15s;
}
.mobile-menu-toggle:focus {
    outline: 2px solid #C46B00;
    outline-offset: 1px;
}


/* =========================
   Mobile Navigation + Overlay
   ========================= */
.mobile-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(20,66,101,0.98);
    transform: translateX(-102vw);
    transition: transform 0.35s cubic-bezier(0.7,0,0.2,1);
    z-index: 2400;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 50px;
}
.mobile-menu.open {
    transform: translateX(0);
    box-shadow: 4px 0 32px rgba(20,66,101,0.18);
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.1rem;
    position: absolute;
    top: 22px;
    right: 25px;
    cursor: pointer;
    z-index: 2450;
    transition: color 0.2s;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-left: 34px;
    margin-top: 37px;
}
.mobile-nav a {
    color: #fff;
    font-size: 1.23rem;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    padding: 7px 3px 8px 2px;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: color 0.15s, border 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: #E68821;
    border-bottom: 2px solid #E68821;
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
    background: #F4F6F9;
    padding: 64px 0 46px 0;
    border-bottom: 1px solid #E3E6E9;
}
.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
}
.hero .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: 700px;
}
.hero h1 {
    font-size: 2.85rem;
    font-weight: 700;
}
.hero .subtitle {
    color: #495057;
    font-size: 1.27rem;
    margin-bottom: 18px;
}

/* =========================
   FEATURES Section
   ========================= */
.features {
    background: #FFF;
    border-radius: 18px;
    box-shadow: 0 3px 11px rgba(20,66,101,0.07);
    margin-bottom: 60px;
    padding: 40px 0 36px 0;
}
.features .container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.features .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 8px;
}
.features ul,
.features ol {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    color: #2D2D2D;
    font-size: 1.02rem;
    margin-bottom: 0;
}
.features li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.01rem;
    margin-bottom: 0;
    min-height: 40px;
}
.features img {
    width: 32px;
    height: 32px;
    display: inline-block;
}

/* ==========================
   SERVICES Section
   ========================== */
.services-preview .container {
    display: flex;
    flex-direction: column;
}
.services-preview .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.services-preview ul {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: 1.05rem;
}
.services-list .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.service-block {
    background: #fff;
    border-radius: 13px;
    padding: 28px 22px 22px 22px;
    box-shadow: 0 2px 12px rgba(20,66,101,0.09);
    margin-bottom: 20px;
    min-width: 240px;
    transition: box-shadow 0.14s;
}
.service-block:hover, .service-block:focus-within {
    box-shadow: 0 8px 22px rgba(20,66,101,0.12);
}
.service-block h3 {
    color: #C46B00;
    font-size: 1.14rem;
    margin-bottom: 12px;
}
.service-block p {
    margin-bottom: 6px;
}
.service-block div {
    color: #144265;
    font-weight: 600;
    margin-top: 4px;
    font-size: 1.02rem;
}

/* ===================
   CTA Sections
   =================== */
.cta {
    padding: 44px 0 32px 0;
    background: #F7F8FB;
    border-radius: 15px;
}
.cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cta .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* ===================
   TESTIMONIALS
   =================== */
.testimonials .container {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.testimonials .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}

/* ========================
   FAQ Section
   ======================== */
.faq-section .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.faq-item {
    background: #fffefb;
    border-left: 4px solid #C46B00;
    padding: 18px 20px;
    border-radius: 9px;
    margin-bottom: 10px;
}
.faq-item h3 {
    color: #144265;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

/* ========================
   FOOTER
   ======================== */
footer {
    background: #144265;
    color: #fff;
    padding: 38px 0 28px 0;
    border-top: 2px solid #B9C3D3;
}
footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    justify-content: space-between;
}
footer nav {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-left: 10px;
}
footer nav a {
    color: #fff;
    text-decoration: underline;
    font-size: 0.99rem;
    opacity: 0.87;
    transition: opacity 0.17s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
    opacity: 1;
    color: #E68821;
}
.contact-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.98rem;
    color: #E4EAF2;
}
.logo-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}
footer a {
    color: #fff;
    text-decoration: underline;
}
footer a:hover, footer a:focus {
    color: #E68821;
}

/* ========================
   Cookie Consent Banner
   ======================== */
.cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    color: #144265;
    border-top: 1.5px solid #C46B00;
    box-shadow: 0 -2px 24px rgba(20,66,101,0.08);
    z-index: 9999;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: 1.03rem;
    gap: 18px;
    animation: bannerPopIn 0.55s cubic-bezier(.44,.3,0,.96);
}
@keyframes bannerPopIn {
    0% { transform: translateY(100%); opacity: 0; }
    99% { opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-buttons {
    display: flex;
    gap: 10px;
}
.cookie-consent-banner button {
    cursor: pointer;
    padding: 7px 18px;
    font-size: 1rem;
    border-radius: 7px;
    border: none;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    margin: 0 1px;
    transition: background 0.19s, color 0.15s, box-shadow 0.12s;
}
.cookie-consent-banner .accept {
    background: #144265;
    color: #fff;
    font-weight: 600;
}
.cookie-consent-banner .accept:hover, .cookie-consent-banner .accept:focus {
    background: #C46B00;
    color: #fff;
}
.cookie-consent-banner .reject {
    background: #ede8e0;
    color: #6a6a64;
    border: 1px solid #B4B4B4;
}
.cookie-consent-banner .reject:hover, .cookie-consent-banner .reject:focus {
    background: #fff0e3;
    color: #C46B00;
}
.cookie-consent-banner .settings {
    background: #FFF;
    color: #C46B00;
    border: 1px solid #C46B00;
}
.cookie-consent-banner .settings:hover, .cookie-consent-banner .settings:focus {
    background: #C46B00;
    color: #fff;
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
    display: none;
    position: fixed;
    z-index: 11000;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(36,54,79,0.34);
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.cookie-modal-overlay.open {
    display: flex;
    animation: modalPopIn 0.5s cubic-bezier(.42,0,.8,1);
}
@keyframes modalPopIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.cookie-modal {
    background: #fff;
    border-radius: 19px;
    box-shadow: 0 6px 48px rgba(20,66,101,0.14);
    padding: 44px 26px 32px 26px;
    min-width: 330px;
    max-width: 98vw;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    color: #144265;
    position: relative;
}
.cookie-modal h3 {
    font-size: 1.45rem;
    color: #144265;
    margin-bottom: 20px;
    font-weight: 700;
}
.cookie-modal label, .cookie-modal p {
    font-size: 1.04rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.cookie-modal .category {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.cookie-modal .toggles {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cookie-modal .buttons {
    display: flex;
    gap: 14px;
    margin-top: 24px;
}
.cookie-modal .close {
    position: absolute;
    right: 22px;
    top: 20px;
    background: none;
    border: none;
    color: #144265;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.17s;
}
.cookie-modal .close:focus {
    color: #C46B00;
}
.cookie-modal input[type=checkbox] {
    accent-color: #144265;
    width: 19px;
    height: 19px;
}


/* =============================
   CONTACT + DETAILS Sections
   ============================= */
.contact-details, .contact-brief {
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 2px 11px rgba(20,66,101,0.07);
    margin-bottom: 60px;
    padding: 36px 0 36px 0;
}
.contact-details .container, .contact-brief .container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-details .content-wrapper, .contact-brief .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-details ul, .contact-brief ul {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: 1.01rem;
}

/* =============================
   POLICY PAGES & SIMPLE SECTIONS
   ============================= */
.privacy-policy, .gdpr-policy, .cookie-policy, .terms-of-use {
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 1px 12px rgba(20,66,101,0.05);
    padding: 40px 10px 32px 10px;
    margin-bottom: 60px;
}
.privacy-policy h1,
.gdpr-policy h1, .cookie-policy h1, .terms-of-use h1 {
    color: #144265;
    font-size: 2.1rem;
}
.privacy-policy .text-section,
.gdpr-policy .text-section, .cookie-policy .text-section, .terms-of-use .text-section {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
}


/* ===================
   Animations
   =================== */
@media (prefers-reduced-motion: no-preference) {
    .cta.primary, .cta.secondary, .service-block, .card, .testimonial-card {
        transition: box-shadow 0.2s, background 0.16s, color 0.16s;
    }
    .cta.primary:hover, .cta.primary:focus, .cta.secondary:hover, .cta.secondary:focus {
        transition: background 0.18s, color 0.18s, box-shadow 0.13s;
    }
}

/* ====================
   RESPONSIVE
   ==================== */
@media (max-width: 1100px) {
    .container {
        max-width: 980px;
    }
    .hero h1 {
        font-size: 2.35rem;
    }
}
@media (max-width: 900px) {
    .container {
        max-width: 760px;
    }
    .testimonials .content-wrapper {
        flex-direction: column;
        gap: 18px;
    }
    footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        margin-bottom: 17px;
    }
    h2 {
        font-size: 1.375rem;
        margin-bottom: 13px;
    }
    .container {
        max-width: 98vw;
        padding: 0 10px;
    }
    header .container {
        padding: 0 10px;
        gap: 6px;
    }
    header nav {
        display: none;
    }
    .cta.primary {
        margin-left: 0;
        font-size: 1rem;
        padding: 9px 20px;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero {
        padding: 42px 0 28px 0;
    }
    .hero .content-wrapper {
        max-width: 98vw;
        padding-right: 0;
    }
    .testimonials .content-wrapper {
        gap: 13px;
    }
    .card-container, .content-grid {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }
    .section {
        padding: 24px 8px 34px 8px;
        margin-bottom: 38px;
    }
    .features {
        padding: 18px 0 19px 0;
        border-radius: 12px;
    }
    .services-preview .content-wrapper {
        padding: 0 2px;
    }
    .testimonial-card, .card, .service-block {
        min-width: 0;
    }
    .text-image-section {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .mobile-menu {
        padding-top: 32px;
    }
}
@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.34rem;
    }
    .container, .content-wrapper, .section, .features, .cta, .contact-details, .contact-brief {
        padding-left: 4px;
        padding-right: 4px;
    }
    .footer .container {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .cookie-modal {
        padding: 22px 3px 17px 7px;
        min-width: 0;
    }
    .cookie-consent-banner {
        flex-direction: column;
        gap: 13px;
        padding: 14px 8px;
        font-size: 0.97rem;
    }
}

/* ================
   FORM ELEMENTS
   ================ */
input, textarea, select {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #BFC6CC;
    background: #fff;
    transition: border 0.16s;
    margin-bottom: 13px;
    outline: none;
    min-width: 0;
    color: #2D2D2D;
}
input:focus, textarea:focus, select:focus {
    border-color: #144265;
}
button {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    cursor: pointer;
}

/* Accessibility focus style */
a:focus, button:focus {
    outline: 2px solid #C46B00;
    outline-offset: 1px;
    z-index: 2;
    position: relative;
}

/* ==============
   SPACING UTILS
   ============== */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }

/* Final check: No grid, column, or clamp used */
