/* ------------------------------------------------------
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
    display: block;
}
html {
    line-height: 1.5;
    font-size: 16px;
    background: #F3F7F9;
    min-height: 100%;
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #1D2731;
    background: #F3F7F9;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ul, ol {
    padding-left: 1.5rem;
}
a {
    color: #084968;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}
a:focus,
a:hover {
    color: #FF9C20;
}
img {
    max-width: 100%;
    display: block;
    border: none;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
    padding: 0;
}
button {
    cursor: pointer;
}

/* ------------------------------------------------------
TYPOGRAPHY
------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #084968;
    margin-bottom: 12px;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
h4, h5, h6 {
    font-size: 1rem;
    color: #247ba0;
}
p, li {
    font-size: 1rem;
    color: #26323f;
    margin-bottom: 8px;
    line-height: 1.7;
}
strong, b {
    color: #084968;
    font-weight: 700;
}
em, i {
    color: #084968;
    font-style: italic;
}
.text-section {
    margin-bottom: 20px;
}
.text-section ul {
    margin: 0 0 8px 0;
    padding-left: 20px;
}
.text-section li {
    margin-bottom: 6px;
}

/* ------------------------------------------------------
LAYOUT & CONTAINERS
------------------------------------------------------ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(8,73,104,0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}
.features-grid > div {
    background: #F3F7F9;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(8,73,104,0.05);
    padding: 28px 20px 22px 20px;
    flex: 1 1 240px;
    min-width: 210px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 20px;
}
.features-grid > div:hover {
    box-shadow: 0 6px 24px rgba(8,73,104,0.10);
    transform: translateY(-4px) scale(1.025);
}
.map-snippet {
    background: #EEF3F6;
    border-left: 4px solid #084968;
    border-radius: 0 12px 12px 0;
    padding: 18px 24px;
    margin-top: 8px;
    font-size: 1rem;
    color: #27455A;
}

/* ------------------------------------------------------
HEADER & NAVIGATION
------------------------------------------------------ */
header {
    width: 100%;
    background: #fff;
    border-bottom: 1.5px solid #e3e3e3;
    box-shadow: 0 3px 8px rgba(8,73,104,0.05);
}
header .container {
    min-height: 68px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.logo img {
    height: 44px;
    width: auto;
    display: block;
}
.main-nav {
    display: flex;
    flex-direction: row;
    gap: 18px;
    align-items: center;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #084968;
    padding: 8px 10px;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
    background: #F3F7F9;
    color: #FF9C20;
}
.cta-btn {
    background: #084968;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(8,73,104,0.09);
    margin-left: 16px;
    border: none;
    outline: none;
    transition: background 0.19s, box-shadow 0.17s, transform 0.14s;
    display: inline-block;
    letter-spacing: 0.02em;
}
.cta-btn:hover, .cta-btn:focus {
    background: #FF9C20;
    color: #084968;
    box-shadow: 0 6px 24px rgba(8,73,104,0.14);
    transform: translateY(-2px) scale(1.03);
}
.link-btn {
    color: #084968;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    background: transparent;
    padding: 8px 0;
    border: none;
    border-radius: 0;
    font-weight: 600;
    transition: color 0.15s;
    cursor: pointer;
}
.link-btn:hover,
.link-btn:focus {
    color: #FF9C20;
    text-decoration: underline;
}

/* Mobile Navigation Styles */
.mobile-menu-toggle {
    display: none;
    font-size: 2.2rem;
    color: #084968;
    background: none;
    border: none;
    margin-left: 18px;
    padding: 4px 10px;
    border-radius: 6px;
    z-index: 1102;
    transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    background: #EEF3F6;
}
.mobile-menu {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: #F3F7F9;
    box-shadow: 0 6px 36px rgba(8,73,104,0.13);
    z-index: 2000;
    transform: translateX(-105%);
    transition: transform 0.36s cubic-bezier(.7,.1,.39,1.02);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 22px 0 0 0;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2rem;
    color: #084968;
    margin: 0 24px 12px 0;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.13s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
    background: #e0e8ed;
}
.mobile-nav {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 90%;
    max-width: 360px;
    padding-top: 22px;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.07rem;
    padding: 15px 0;
    color: #084968;
    background: none;
    border-radius: 6px;
    text-align: left;
    border-bottom: 1px solid #e6ebee;
    display: block;
    width: 100%;
    transition: background 0.15s, color 0.15s;
}
.mobile-nav a:last-child {
    border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #EEF3F6;
    color: #FF9C20;
}

/* Hide mobile nav elements by default on desktop */
@media (min-width: 992px) {
    .mobile-menu,
    .mobile-menu-toggle {
        display: none !important;
    }
    .main-nav {
        display: flex !important;
    }
}
@media (max-width: 991px) {
    .main-nav {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: inline-block;
    }
    .cta-btn {
        margin-left: 0;
    }
}

/* ------------------------------------------------------
CARD/CARD CONTAINER (MANDATORY FLEX SPACING)
------------------------------------------------------ */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(8,73,104,0.05);
    display: flex;
    flex-direction: column;
    min-width: 240px;
    padding: 32px 22px 24px 22px;
    transition: box-shadow 0.18s;
}
.card:hover {
    box-shadow: 0 8px 28px rgba(8,73,104,0.18);
}
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

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

/* ------------------------------------------------------
TESTIMONIALS
------------------------------------------------------ */
.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 10px;
    justify-content: flex-start;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px;
    background: #F3F7F9;
    color: #153040;
    border-radius: 12px;
    min-width: 220px;
    max-width: 380px;
    box-shadow: 0 2px 10px rgba(8,73,104,0.05);
    font-size: 1.07rem;
    margin-bottom: 20px;
    border: 1.5px solid #e2e7ea;
    transition: box-shadow 0.15s, border 0.13s, background 0.16s;
}
.testimonial-card p {
    margin-bottom: 4px;
    color: #153040;
    font-size: 1.09rem;
    line-height: 1.65;
}
.testimonial-card b {
    color: #084968;
    font-weight: 600;
    font-size: 1rem;
}
.testimonial-card:hover {
    background: #fff;
    border: 1.5px solid #FF9C20;
    box-shadow: 0 6px 24px rgba(8,73,104,0.09);
}

/* ------------------------------------------------------
FOOTER
------------------------------------------------------ */
footer {
    width: 100%;
    background: #fff;
    border-top: 1.5px solid #e3e3e3;
    box-shadow: 0 -3px 8px rgba(8,73,104,0.04);
}
footer .container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding: 38px 20px;
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-nav a {
    color: #1D2731;
    font-size: 1rem;
    padding: 2px 0;
    transition: color 0.14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
    color: #084968;
    text-decoration: underline;
}
footer .logo img {
    height: 44px;
    filter: grayscale(0.1) brightness(0.98);
}
footer .text-section {
    color: #1D2731;
    font-size: 0.97rem;
    line-height: 1.5;
}

/* ------------------------------------------------------
RESPONSIVE DESIGN
------------------------------------------------------ */
@media (max-width: 1200px) {
    .container {
        max-width: 98vw;
    }
}
@media (max-width: 991px) {
    .features-grid {
        gap: 18px;
    }
    .content-wrapper {
        gap: 22px;
    }
    footer .container {
        flex-direction: column;
        gap: 26px;
        align-items: flex-start;
    }
}
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    header .container {
        padding: 6px 10px;
        gap: 8px;
    }
    .logo img {
        height: 36px;
    }
    .section {
        margin-bottom: 32px;
        padding: 26px 8px;
        border-radius: 10px;
    }
    .features-grid {
        flex-direction: column;
        gap: 16px;
    }
    .content-grid {
        flex-direction: column;
        gap: 14px;
    }
    .card-container {
        gap: 14px;
    }
    .testimonial-slider {
        gap: 14px;
    }
    .testimonial-card {
        min-width: 0;
        max-width: unset;
        width: 100%;
        padding: 16px 10px;
    }
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .card {
        padding: 18px 8px;
        border-radius: 10px;
    }
    footer .container {
        padding: 20px 8px;
        gap: 13px;
    }
}
@media (max-width: 600px) {
    h1 {
        font-size: 1.75rem;
        margin-bottom: 18px;
    }
    h2 {
        font-size: 1.2rem;
        margin-bottom: 14px;
    }
}

/* ------------------------------------------------------
BUTTONS & INTERACTIVES
------------------------------------------------------ */
button:focus,
a:focus {
    outline: 2px solid #084968;
    outline-offset: 2px;
    z-index: 2;
}
::-webkit-input-placeholder { color:#738291; opacity: 1; }
::-moz-placeholder { color:#738291; opacity: 1; }
:-ms-input-placeholder { color:#738291; opacity: 1; }
::placeholder { color:#738291; opacity: 1; }

/* ------------------------------------------------------
COOKIE CONSENT BANNER (& MODAL)
------------------------------------------------------ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 -2px 24px rgba(8,73,104,0.08);
    border-top: 2px solid #084968;
    z-index: 4000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 16px 22px;
    min-height: 60px;
    font-size: 1rem;
    transition: transform 0.35s;
}
.cookie-banner.hide {
    transform: translateY(120%);
    pointer-events: none;
}
.cookie-banner__text {
    color: #1D2731;
    max-width: 640px;
    flex: 1;
}
.cookie-banner__actions {
    display: flex;
    flex-direction: row;
    gap: 14px;
}
.cookie-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    transition: background 0.18s, color 0.17s;
    cursor: pointer;
}
.cookie-btn.accept {
    background: #084968;
    color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
    background: #FF9C20;
    color: #084968;
}
.cookie-btn.reject {
    background: #EEF3F6;
    color: #084968;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
    background: #FF9C20;
    color: #fff;
}
.cookie-btn.settings {
    background: transparent;
    color: #084968;
    border: 1.5px solid #084968;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
    background: #EEF3F6;
    color: #FF9C20;
    border-color: #FF9C20;
}

/* Cookie Modal Popup */
.cookie-modal {
    position: fixed;
    z-index: 4500;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(33,49,71,0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s;
}
.cookie-modal.open {
    opacity: 1;
    pointer-events: all;
}
.cookie-modal__box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 36px rgba(8,73,104,0.13);
    width: 96vw;
    max-width: 400px;
    padding: 34px 24px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #153040;
}
.cookie-modal__title {
    font-size: 1.45rem;
    color: #084968;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
}
.cookie-modal__close {
    align-self: flex-end;
    font-size: 1.2rem;
    color: #084968;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: -6px;
    margin-top: -12px;
    margin-right: -4px;
    border-radius: 4px;
    transition: background 0.13s;
}
.cookie-modal__close:focus,
.cookie-modal__close:hover {
    background: #e0e8ed;
}
.cookie-modal__category {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}
.cookie-modal__category span {
    flex: 1;
    font-size: 1rem;
}
.cookie-modal-toggle {
    display: inline-block;
    width: 42px;
    height: 24px;
    background: #eaeaea;
    border-radius: 15px;
    position: relative;
    transition: background 0.16s;
}
.cookie-modal-toggle input {
    opacity: 0;
    width: 0; height: 0;
    position: absolute;
}
.cookie-modal-toggle-slider {
    position: absolute;
    left: 2px; top: 2px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #dddddd;
    transition: left 0.18s, background 0.16s;
}
.cookie-modal-toggle input:checked + .cookie-modal-toggle-slider {
    background: #084968;
    left: 20px;
}
.cookie-category-essential {
    font-weight: 700;
    color: #084968;
}

@media (max-width: 700px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        font-size: 0.98rem;
        padding: 16px 8px;
    }
    .cookie-btn {
        padding: 10px 12px;
        font-size: 0.97rem;
        min-width: 100px;
    }
    .cookie-banner__actions {
        flex-direction: column;
        gap: 6px;
    }
}

/* ------------------------------------------------------
MICROINTERACTIONS & TRANSITIONS
------------------------------------------------------ */
.cta-btn, .link-btn, .main-nav a, .footer-nav a, .card, .features-grid > div, .mobile-menu-toggle, .mobile-menu-close,
.testimonial-card, .cookie-btn, .cookie-modal__close {
    transition: all 0.18s cubic-bezier(.7, .24, .37, 1.02);
}

/* ------------------------------------------------------
ACCESSIBILITY
------------------------------------------------------ */
:focus:not(:focus-visible) {
    outline: none;
}

/* ------------------------------------------------------
MISC & UTILITIES
------------------------------------------------------ */
.section:last-child {
    margin-bottom: 0;
}
.card:last-child,
.features-grid > div:last-child {
    margin-bottom: 0;
}

/* Utility classes */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.fw-bold { font-weight: bold !important; }

/* Ensure no unintentional overlap */
.card, .features-grid > div, .testimonial-card, .cookie-banner, .cookie-modal__box {
    box-sizing: border-box;
}
