/* 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; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent;}
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #F7F7F7; color: #243047; }

/* BRAND FONTS - Use @import. Local fallback for Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Playfair+Display:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    background: linear-gradient(120deg, #243047 0%, #E5C48D 100%);
    min-height: 100vh;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Playfair Display', serif;
    color: #243047;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 14px; }

p, ul, ol, dl {
    font-size: 1rem;
    color: #243047;
    margin-bottom: 16px;
}

ul, ol {
    padding-left: 28px;
    margin-bottom: 24px;
}
ul li, ol li {
    margin-bottom: 10px;
    line-height: 1.6;
}

strong { font-weight: 700; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

/* Gradient Modern Design Elements */
section {
    border-radius: 26px;
    background: linear-gradient(100deg, #F7F7F7 60%, #E5C48D 100%);
    box-shadow: 0 4px 22px 0 rgba(36,48,71,0.08);
    margin-bottom: 60px;
    padding: 40px 20px;
}
/* Visual hierarchy for main arias */
main > section:first-of-type {
    background: linear-gradient(96deg, #E5C48D 10%, #F7F7F7 80%);
    box-shadow: 0 8px 44px 0 rgba(51,44,31,0.07);
}

/* HEADER & NAVIGATION */
header {
    background: #243047;
    color: #fff;
    box-shadow: 0 1px 16px 0 rgba(30,36,50,0.05);
    padding: 0;
}
header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
}
header img {
    height: 38px;
    padding-right: 20px;
}
.main-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}
.main-nav a {
    color: #F7F7F7;
    text-decoration: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 8px 6px 8px;
    border-radius: 18px;
    transition: background .22s, color .22s;
}
.main-nav a:hover, .main-nav a:focus {
    background: #E5C48D;
    color: #243047;
}
.btn-primary {
    background: linear-gradient(90deg, #E5C48D 0%, #FFEDA2 100%);
    color: #243047;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 22px;
    padding: 12px 28px;
    font-size: 1.08rem;
    margin-left: 24px;
    box-shadow: 0 2px 18px 0 rgba(229,196,141,0.18);
    cursor: pointer;
    transition: box-shadow .18s, transform .17s, color .18s, background .22s;
    outline: none;
    text-align: center;
    text-decoration: none;
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(90deg, #FFEDA2 0%, #E5C48D 100%);
    transform: translateY(-2px) scale(1.03);
    color: #1f273c;
    box-shadow: 0 4px 30px 0 rgba(229,196,141,0.23);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #E5C48D;
    font-size: 2rem;
    margin-left: 20px;
    cursor: pointer;
    z-index: 140;
    transition: color .17s;
}
.mobile-menu-toggle:focus {
    outline: 2px solid #E5C48D;
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; 
    width: 100vw;
    height: 100vh;
    background: linear-gradient(120deg, #243047 75%, #E5C48D 100%);
    z-index: 200;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 28px 0 28px;
    transition: transform .28s cubic-bezier(.7,.03,.11,1), opacity .2s;
    transform: translateX(100%);
    opacity: 0;
}
.mobile-menu.open {
    display: flex;
    transform: translateX(0);
    opacity: 1;
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #FFD990;
    font-size: 2.2rem;
    align-self: flex-end;
    margin-bottom: 28px;
    cursor: pointer;
    transition: color .17s;
    z-index: 210;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 22px;
}
.mobile-nav a {
    color: #fff;
    font-size: 1.2rem;
    font-family: 'Montserrat', Arial, sans-serif;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 12px;
    transition: background .18s, color .17s;
    font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #E5C48D;
    color: #243047;
}

/* Hide nav on mobile, show menu toggle */
@media (max-width: 990px) {
    .main-nav {
        display: none;
    }
    .btn-primary {
        margin-left: 10px;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
@media (max-width: 690px) {
    header .container { flex-wrap: wrap; }
    .btn-primary { margin-left: 0; margin-top: 8px; }
}

/* MAIN CONTENT LAYOUTS */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px 0 rgba(36,48,71,0.09);
    margin-bottom: 20px;
    position: relative;
    padding: 32px 24px;
    min-width: 260px;
    flex: 1 1 330px;
    transition: box-shadow .17s, transform .18s;
}
.card:hover, .card:focus-within {
    box-shadow: 0 8px 36px 0 rgba(36,48,71,0.17);
    transform: translateY(-3px) scale(1.01);
}

.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,
    .content-grid {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px 24px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px 0 rgba(36,48,71,0.09);
    min-width: 220px;
    max-width: 460px;
    font-size: 1.05rem;
    color: #222;
}
.testimonial-card p {
    color: #1b2130;
    margin-bottom: 10px;
    font-style: italic;
    font-size: 1.08rem;
}
.testimonial-card cite {
    color: #243047;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    text-align: right;
    display: block;
    margin-top: 8px;
}

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

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    justify-content: flex-start;
    margin-bottom: 30px;
}
.stats-grid > div {
    background: linear-gradient(99deg, #fff 60%, #E5C48D 100%);
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(36,48,71,0.06);
    padding: 24px 24px 20px 24px;
    min-width: 150px;
    text-align: left;
}
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: #243047;
    display: block;
    font-weight: 700;
}
.stat-label {
    color: #243047;
    opacity: 0.8;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.97rem;
}

.text-section {
    margin-bottom: 24px;
}
.text-section a {
    color: #243047;
    font-weight: 600;
    transition: color .16s;
    text-decoration: underline;
}
.text-section a:hover, .text-section a:focus {
    color: #E5C48D;
    text-decoration: none;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fffbea;
    border-radius: 24px;
    padding: 7px 14px;
    font-size: 1rem;
    color: #5b4400;
    font-weight: 600;
    margin: 15px 0 18px 0;
    box-shadow: 0 2px 6px 0 rgba(229,196,141,0.08);
}
.brand-highlights {
    margin-top: 10px;
    background: #F7F7F7;
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 600;
    color: #243047;
    font-size: 1.02rem;
    display: inline-block;
}
.topic-tag {
    display: inline-block;
    background: #E5C48D;
    color: #243047;
    padding: 6px 14px;
    border-radius: 22px;
    font-size: 0.93rem;
    font-weight: 600;
    margin-top: 6px;
    margin-right: 10px;
}
.archive-links {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}
.archive-links a {
    color: #243047;
    text-decoration: underline;
    transition: color .14s;
}
.archive-links a:hover { color: #E5C48D; }

.certifications-logos {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
}
.certifications-logos img {height: 36px;}

.map-embed {
    background: #EEECF7;
    border-radius: 12px;
    padding: 20px 22px;
    margin-top: 8px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #243047;
}

/* Footer Styling */
footer {
    background: #243047;
    color: #fff;
    margin-top: 65px;
    border-top: 3px solid #E5C48D;
}
footer .container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 40px 16px 24px 16px;
    gap: 30px;
}
.footer-branding {
    flex: 1 1 320px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.footer-branding img {
    height: 36px;
    margin-bottom: 10px;
}
.footer-nav {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.footer-nav a {
    color: #E5C48D;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    padding: 3px 0;
    transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #fff; text-decoration: underline; }
.footer-social {
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.footer-social a img { height: 29px; }
.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 0 20px 0;
    width: 100%;
    background: #243047;
    color: #fff;
    border-top: 1px solid #43506A;
    opacity: 0.91;
    font-size: 0.98rem;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 300;
    background: #fffbe9;
    border-top: 2px solid #E5C48D;
    box-shadow: 0 -2px 14px 0 rgba(36,48,71,0.10);
    color: #243047;
    padding: 20px 18px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    transition: transform .37s cubic-bezier(.83,.03,.11,1), opacity .29s;
    transform: translateY(135%);
    opacity: 0;
}
.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}
.cookie-banner .cookie-banner__text {
    flex: 1 1 280px;
    font-size: 1rem;
    padding-right: 8px;
}
.cookie-banner .cookie-banner__actions {
    flex: 0 1 390px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.cookie-btn, .cookie-btn:visited {
    border: none;
    border-radius: 18px;
    padding: 9px 18px;
    margin-right: 2px;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: background .17s, box-shadow .16s;
    margin-bottom: 6px;
}
.cookie-btn--accept {
    background: #E5C48D;
    color: #243047;
    box-shadow: 0 1px 9px 0 rgba(229,196,141,0.09);
}
.cookie-btn--accept:hover, .cookie-btn--accept:focus {
    background: #243047;
    color: #E5C48D;
}
.cookie-btn--reject {
    background: #F7F7F7;
    color: #243047;
    box-shadow: 0 1px 7px 0 rgba(36,48,71,0.06);
}
.cookie-btn--reject:hover, .cookie-btn--reject:focus {
    background: #d2d3da;
    color: #243047;
}
.cookie-btn--settings {
    background: #fff;
    border: 1.5px solid #E5C48D;
    color: #E5C48D;
}
.cookie-btn--settings:hover, .cookie-btn--settings:focus {
    background: #fffbe9;
    color: #243047;
    border-color: #243047;
}
@media (max-width: 640px) {
    .cookie-banner {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }
    .cookie-banner .cookie-banner__actions {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 10px;
    }
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    z-index: 310;
    background: rgba(36,48,71,0.16);
    justify-content: center;
    align-items: center;
    transition: opacity .23s;
}
.cookie-modal.open {
    display: flex;
    opacity: 1;
}
.cookie-modal__window {
    background: #fff;
    border-radius: 16px;
    padding: 36px 26px 24px 26px;
    box-shadow: 0 8px 48px 0 rgba(36,48,71,0.13);
    min-width: 320px;
    max-width: 95vw;
}
.cookie-modal__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 18px;
    color: #243047;
}
.cookie-modal__category {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.cookie-modal__category label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: #243047;
}
.cookie-switch {
    width: 40px;
    height: 22px;
    background: #d6d0b0;
    border-radius: 14px;
    position: relative;
    cursor: pointer;
    transition: background .15s;
}
.cookie-switch input {
    opacity: 0;
    width: 0; height: 0;
    position: absolute;
}
.cookie-switch .slider {
    position: absolute;
    left: 2px; top: 2px;
    bottom: 2px; right: 2px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 4px 0 rgba(36,48,71,0.09);
    width: 20px;
    height: 18px;
    transition: left .19s;
}
.cookie-switch input:checked + .slider {
    left: 18px;
    background: #E5C48D;
}
.cookie-modal__actions {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}
.cookie-modal__close {
    background: none;
    border: none;
    color: #243047;
    font-size: 1.35rem;
    position: absolute;
    right: 18px; top: 18px;
    cursor: pointer;
}

/* GENERAL ELEMENTS */
img { max-width: 100%; vertical-align: middle; }
a { color: #243047; transition: color .16s; }
a:hover, a:focus { color: #E5C48D; }
list-style ul li img, ul li img, ol li img {
    margin-right: 13px;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    object-fit: contain;
    position: relative;
    top: 2px;
}
ul li img, ol li img {
    margin-right: 9px;
}

/* ACCORDION/LIST (FAQ) */
dl { margin-bottom: 28px; }
dt {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.06rem;
    margin-top: 18px;
    color: #243047;
}
dd {
    margin-left: 0;
    margin-bottom: 11px;
    color: #4f4f4f;
    font-size: 0.97rem;
    border-left: 3px solid #E5C48D;
    padding-left: 12px;
    background: #F7F5ED;
    border-radius: 5px;
    padding-top: 6px; padding-bottom: 6px;
}

ol {
    list-style-type: decimal;
    padding-left: 30px;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive Layout Adjustments */
@media (max-width: 1024px) {
    .container { max-width: 97vw; padding: 0 6vw; }
    footer .container { padding: 28px 10px 14px 10px; }
}
@media (max-width: 820px) {
    section { padding: 32px 6vw; }
    .section { padding: 32px 6vw; }
    .stats-grid { gap: 16px; }
    .testimonial-card { max-width: 95vw; }
    .footer-branding, .footer-nav, .footer-social { min-width: 120px; }
}
@media (max-width: 660px) {
    .container { padding: 0 5px; }
    section, .section { padding: 22px 3vw!important; margin-bottom: 30px!important; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.27rem; }
    h3 { font-size: 1.07rem; }
    .stats-grid > div { min-width: 114px; padding: 10px 12px 12px 12px; }
    .footer-branding p { font-size: 0.95rem; }
}

/* Microinteractions & Animations */
.btn-primary, .cookie-btn, .main-nav a, .mobile-nav a, .footer-nav a {
    transition: background .18s, color .14s, box-shadow .13s, transform .12s;
}
.card, .testimonial-card, .cookie-banner, section, .cookie-modal__window {
    transition: box-shadow .15s, transform .14s;
}

/* Utility Classes */
.mt-24 { margin-top: 24px!important; }
.mt-30 { margin-top: 30px!important; }
.mb-32 { margin-bottom: 32px!important; }
.mb-18 { margin-bottom: 18px!important; }
.text-center { text-align: center!important; }
.flex-row { display: flex; flex-direction: row; gap: 22px; }
.flex-col { display: flex; flex-direction: column; gap: 14px; }

/* Ensures spacing for all cards/sections */
.card, .testimonial-card, section, .section, .content-wrapper { margin-bottom: 20px; }

@media (max-width: 480px) {
    .archive-links { flex-direction: column; gap: 8px; }
    .footer-social a img { height: 22px; }
}

/* Accessibility: Focus outlines */
a:focus, button:focus, .btn-primary:focus {
  outline: 2px solid #E5C48D;
  outline-offset: 3px;
}

/* Hide visually (for accessibility) */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
