/* =============================================
   CSS RESET & BASELINE 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1.4;
    min-height: 100vh;
    background: #FFF8F2;
    font-family: 'Open Sans', Arial, sans-serif;
    color: #31485F;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
ul li img{
    max-width: 50px;
}
ul, ol {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
    border: 0;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
}
[tabindex="-1"]:focus {
  outline: none;
}


/* =============================================
   BRAND COLORS & FONTS
   ============================================= */
:root {
    --color-primary: #31485F;
    --color-secondary: #F3B950;
    --color-accent: #FFF8F2;
    --color-dark: #223144;
    --color-light: #FFFDF8;
    --color-neutral: #F6ECE0;
    --color-error: #D14020;
    --color-success: #71A66F;
    --color-shadow: rgba(49, 72, 95, 0.08);
    --color-shadow-strong: rgba(49, 72, 95, 0.13);
    --color-border: #efdfc7;
    --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
    --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}


/* =============================================
   TYPOGRAPHY SCALE
   ============================================= */
h1, .h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--color-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}
h2, .h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}
h3, .h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 14px;
    line-height: 1.2;
}
h4, .h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
}
p, li, .p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 10px;
}
strong, b {
    font-weight: bold;
}

@media (max-width: 900px) {
    h1, .h1 { font-size: 2rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.1rem; }
}
@media (max-width: 600px) {
    h1, .h1 { font-size: 1.65rem; }
    h2, .h2 { font-size: 1.18rem; }
    h3, .h3 { font-size: 1rem; }
}


/* =============================================
   SPACING & CONTAINER STRUCTURE
   ============================================= */
.container {
    width: 100%;
    max-width: 1120px;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: transparent;
}
@media (max-width: 600px) {
    .section { margin-bottom: 38px; padding: 28px 8px; }
}


/* Global section styles for hero, features, about, services, testimonials, cta */
.hero, .features, .about, .services, .testimonials, .cta, .legal, .contact {
    width: 100%;
    margin-bottom: 60px;
    padding: 40px 0;
}
@media (max-width: 600px) {
    .hero, .features, .about, .services, .testimonials, .cta, .legal, .contact {
        margin-bottom: 38px;
        padding: 28px 0 18px 0;
    }
}


/* =============================================
   NAVIGATION BAR & HEADER
   ============================================= */
header {
    background: var(--color-accent);
    box-shadow: 0 3px 10px var(--color-shadow);
    padding: 0;
    z-index: 40;
    position: sticky;
    top: 0;
    transition: box-shadow 0.2s;
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    height: 64px;
    padding: 0 24px;
    font-family: var(--font-display);
    font-weight: 500;
    background: transparent;
}
.main-nav > a {
    padding: 10px 12px;
    border-radius: 22px;
    transition: background 0.22s, color 0.18s;
    font-size: 1rem;
    color: var(--color-primary);
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.main-nav > a:not(:first-child):hover,
.main-nav > a:not(:first-child):focus {
    background: var(--color-secondary);
    color: #fff;
}
.main-nav > a.cta-primary {
    background: var(--color-primary);
    color: #fff;
    padding: 10px 26px;
    margin-left: 8px;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 2px 12px var(--color-shadow-strong);
    transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform 0.17s;
}
.main-nav > a.cta-primary:hover, .main-nav > a.cta-primary:focus {
    background: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 4px 18px var(--color-shadow-strong);
    transform: translateY(-1px) scale(1.035);
}
.main-nav img {
    width: 46px;
    height: auto;
    margin-right: 8px;
    border-radius: 21px;
}

/* Hide main nav on mobile, show toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--color-primary);
    color: #fff;
    font-size: 2rem;
    border-radius: 12px;
    border: none;
    padding: 6px 18px;
    margin: 10px 8px 10px auto;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2.5px 10px var(--color-shadow);
    z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--color-secondary);
    color: var(--color-primary);
}

@media (max-width: 900px) {
    .main-nav {
        gap: 10px;
        padding: 0 8px;
        font-size: 0.97em;
    }
    .main-nav > a.cta-primary {
        font-size: 0.97em;
    }
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 4vw;
        top: 10px;
    }
}


/* =============================================
   MOBILE BURGER MENU
   ============================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-primary);
    color: #fff;
    z-index: 102;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(-110vw);
    transition: transform 0.35s cubic-bezier(0.44,0.14,0.33,1.02);
    box-shadow: 0 6px 38px 8px var(--color-shadow-strong);
}
.mobile-menu.active {
    transform: translateX(0);
}
.mobile-menu-close {
    margin: 20px 20px 0 16px;
    align-self: flex-end;
    background: var(--color-secondary);
    color: var(--color-primary);
    font-size: 2.2rem;
    border-radius: 14px;
    border: none;
    padding: 6px 24px 6px 14px;
    cursor: pointer;
    transition: background 0.23s, color 0.22s;
    box-shadow: 0 2.5px 10px var(--color-shadow-strong);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #fff;
    color: var(--color-secondary);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 32px;
    width: 100%;
}
.mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.35em;
    padding: 18px 24px;
    color: #fff;
    border-radius: 12px;
    margin: 0 30px 0 12px;
    background: transparent;
    transition: background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--color-secondary);
    color: var(--color-primary);
}

@media (min-width: 769px) {
    .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}


/* =============================================
   HERO SECTIONS
   ============================================= */
.hero {
    background: linear-gradient(100deg,#fffefc 30%, #FFF8F2 100%);
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    box-shadow: 0 4px 36px var(--color-shadow-strong);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 44px;
}
.hero .container { width: 100%; }
.hero .content-wrapper {
    align-items: center;
    gap: 10px;
}
.hero h1 {
    text-align: center;
    color: var(--color-primary);
}
.hero p {
    font-size: 1.15em;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 16px;
}
.hero .cta-primary, .hero .cta-secondary {
    align-self: center;
}

@media (max-width: 600px) {
    .hero { border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; }
}


/* =============================================
   FEATURE SECTIONS (INCLUDING content grids)
   ============================================= */
.features .content-wrapper {
    gap: 24px;
    align-items: flex-start;
}
.feature-grid, .category-grid, .team-grid, .latest-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.feature-item, .category-item, .team-member, .post-preview {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 15px var(--color-shadow);
    padding: 24px 18px;
    min-width: 190px;
    max-width: 290px;
    transition: transform 0.16s, box-shadow 0.15s;
    margin-bottom: 20px;
}
.feature-item img, .category-item img, .team-member img {
    border-radius: 14px;
    width: 36px;
    height: 36px;
    object-fit: contain;
    background: var(--color-accent);
    padding: 6px;
}
.feature-item:hover, .category-item:hover, .team-member:hover,.post-preview:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 32px var(--color-shadow-strong);
}
/* Responsive: stack feature grid and category grid on mobile */
@media (max-width: 768px) {
    .feature-grid, .category-grid, .team-grid, .latest-posts-grid {
        flex-direction: column;
        gap: 20px;
    }
    .feature-item, .category-item, .team-member, .post-preview {
        width: 100%; max-width: none;
    }
}


/* =============================================
   SERVICE CARDS & SERVICE GRIDS
   ============================================= */
.service-cards, .service-grid, .course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 16px;
}
.service-card, .course-item {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px var(--color-shadow);
    padding: 26px 20px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    flex: 1 1 260px;
    max-width: 320px;
    min-width: 210px;
    transition: transform 0.18s, box-shadow 0.18s;
    border: 1.5px solid var(--color-border);
}
.service-card:hover, .course-item:hover {
    transform: scale(1.025) translateY(-3px);
    box-shadow: 0 8px 30px var(--color-shadow-strong);
    border-color: var(--color-secondary);
}
.service-card h3, .course-item h3 {
    margin-bottom: 9px;
    color: var(--color-primary);
    font-weight: 700;
}
.service-card .service-price, .service-card span, .course-item span {
    margin-top: 10px;
    color: var(--color-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 800px) {
    .service-cards, .service-grid, .course-list {
        flex-direction: column;
        gap: 20px;
    }
    .service-card, .course-item {
        max-width: 100%; width: 100%;
    }
}


/* =============================================
   TESTIMONIAL CARDS & SLIDER
   ============================================= */
.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    align-items: flex-start;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 28px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 21px;
    box-shadow: 0 2px 15px var(--color-shadow);
    border: 1.5px solid var(--color-border);
    color: var(--color-primary);
    font-size: 1.03em;
}
.testimonial-card p {
    color: var(--color-dark);
    font-style: italic;
    margin-bottom: 4px;
}
.testimonial-card span {
    color: var(--color-secondary);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.99em;
}
.star-ratings {
    color: #F7C863;
    font-size: 1.2em;
    margin-top: -8px;
    letter-spacing: 1px;
}
@media (max-width: 800px) {
    .testimonial-slider {
        flex-direction: column;
        gap: 18px;
    }
    .testimonial-card {
        max-width: 100%;
        width: 100%;
    }
}


/* =============================================
   PRESS MENTIONS & GUEST POSTS
   ============================================= */
.press-mentions, .featured-guest-posts, .monthly-themes {
    background: var(--color-neutral);
    border-radius: 14px;
    box-shadow: 0 1px 10px var(--color-shadow);
    padding: 17px 20px;
    font-family: var(--font-display);
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

/* =============================================
   CTA BUTTONS
   ============================================= */
.cta-primary, .cta-secondary {
    display: inline-block;
    border-radius: 999px;
    padding: 13px 34px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.13em;
    text-align: center;
    cursor: pointer;
    outline: none;
    border: none;
    transition: background 0.17s, box-shadow 0.18s, color 0.14s, transform 0.13s;
    box-shadow: 0 2px 9px var(--color-shadow);
}
.cta-primary {
    background: var(--color-primary);
    color: #fff;
}
.cta-primary:hover, .cta-primary:focus {
    background: var(--color-secondary);
    color: var(--color-primary);
    box-shadow: 0 6px 24px var(--color-shadow-strong);
    transform: translateY(-2px) scale(1.04);
}
.cta-secondary {
    background: var(--color-secondary);
    color: var(--color-primary);
}
.cta-secondary:hover, .cta-secondary:focus { background: var(--color-primary); color: #fff; }

/* Tag pills, filter options, chip styles */
.tag-list, .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 12px 0 10px 0;
}
.tag {
    background: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 16px;
    font-size: 0.97em;
    padding: 6px 15px;
    margin: 0 4px 6px 0;
    display: inline-block;
    font-family: var(--font-display);
}
.filter-options label {
    background: #fff;
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    margin-right: 3px;
    display: flex;
    align-items: center;
    font-size: 0.98em;
    transition: background 0.18s, border 0.18s;
    cursor: pointer;
}
.filter-options input[type="checkbox"] {
    margin-right: 6px;
    accent-color: var(--color-secondary);
    width: 17px; height: 17px;
}
.filter-options label:hover {
    background: var(--color-neutral);
    border-color: var(--color-secondary);
}

/* Search bar */
.search-bar {
    width: 100%;
    max-width: 370px;
    padding: 13px 19px;
    font-size: 1.07em;
    background: #fff;
    border-radius: 21px;
    border: 1.8px solid var(--color-border);
    box-shadow: 0 2px 14px var(--color-shadow);
    margin: 12px auto 0 auto;
    display: block;
    color: var(--color-primary);
    transition: border 0.15s, box-shadow 0.15s;
}
.search-bar:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 4px 18px var(--color-shadow-strong);
}


/* =============================================
   ABOUT & CONTACT SECTIONS
   ============================================= */
.about ul, .qualifications ul, .features ul, .services ul, .contact-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 12px;
    padding-left: 0;
    color: var(--color-primary);
}
.about ul li, .qualifications ul li, .features ul li, .services ul li, .contact-info ul li {
    padding-left: 0;
    position: relative;
    font-size: 1em;
    padding-left: 8px;
}
.about ul li:before, .qualifications ul li:before, .features ul li:before, .services ul li:before {
    content: "• ";
    color: var(--color-secondary);
    font-weight: bold;
    margin-right: 5px;
    position: absolute;
    left: 0;
}

.map-location {
    background: var(--color-neutral);
    border-radius: 14px;
    padding: 16px 20px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.contact-info li img, .contact-details span img, .map-location img {
    width: 20px;
    height: 20px;
    margin-right: 7px;
    vertical-align: middle;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.96em;
    color: var(--color-primary);
    font-family: var(--font-display);
}


/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--color-primary);
    color: #fff;
    padding: 40px 0 24px 0;
    font-size: 1em;
    margin-top: 40px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -4px 24px var(--color-shadow);
}
footer .container { max-width: 1180px; }
footer .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}
footer nav a {
    color: #fff;
    padding: 7px 12px;
    border-radius: 14px;
    transition: background 0.17s, color 0.15s;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1em;
}
footer nav a:hover, footer nav a:focus {
    background: var(--color-secondary);
    color: var(--color-primary);
}
footer .social-links {
    display: flex;
    gap: 17px;
    align-items: center;
}
footer .social-links a {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50%;
    padding: 5px;
    margin-right: 4px;
    transition: background 0.17s, box-shadow 0.19s;
    box-shadow: 0 1.7px 7px var(--color-shadow);
}
footer .social-links a:hover, .social-links a:focus {
    background: var(--color-secondary);
    box-shadow: 0 4px 18px var(--color-shadow);
}
footer .contact-details {
    color: #ffd;
    font-family: var(--font-body);
    font-size: 0.95êm;
    margin-top: 8px;
}
footer .contact-details span {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}
footer .contact-details img {
    margin-right: 6px;
    filter: brightness(1.2);
}
@media (max-width: 900px) {
    footer .content-wrapper {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    footer nav, footer .social-links, footer .contact-details {
        margin-bottom: 10px;
        flex-wrap: wrap;
    }
}


/* =============================================
   CONTENT GRIDS, FLEX PATTERNS & SPACING
   ============================================= */
.card-container, .service-cards, .service-grid, .content-grid, .team-grid, .feature-grid, .category-grid, .latest-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card { position: relative; margin-bottom: 20px; border-radius: 20px; background: #fff; box-shadow: 0 2px 16px var(--color-shadow); }
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 25px; }
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .text-image-section { flex-direction: column; align-items: stretch; gap: 22px; }
    .content-grid, .card-container, .feature-grid, .service-cards, .service-grid, .team-grid, .category-grid, .latest-posts-grid {
        flex-direction: column;
        gap: 18px;
    }
}


/* =============================================
   CATEGORIES-MENU (blog)
   ============================================= */
.categories-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
}
.categories-menu a {
    background: #fff;
    color: var(--color-primary);
    border-radius: 14px;
    padding: 8px 22px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1em;
    box-shadow: 0 1.5px 7px var(--color-shadow);
    transition: background 0.19s, color 0.18s;
}
.categories-menu a:hover, .categories-menu a:focus {
    background: var(--color-secondary);
    color: var(--color-primary);
}

/* =============================================
   LEGAL & TEXT BLOCK SECTIONS
   ============================================= */
.legal {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 14px var(--color-shadow);
    color: var(--color-primary);
    font-size: 1em;
}
.legal h1, .legal h2 { margin-bottom: 10px; }
.legal ul { margin-bottom: 14px; }

/* =============================================
   ANIMATIONS
   ============================================= */
.cta-primary, .cta-secondary, .main-nav > a, .mobile-nav a, .service-card, .feature-item, .testimonial-card, .post-preview, .card {
    transition: box-shadow 0.19s, background 0.16s, color 0.15s, transform 0.14s;
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    background: var(--color-secondary);
    color: var(--color-primary);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    z-index: 400;
    box-shadow: 0 -5px 16px var(--color-shadow-strong);
    padding: 18px 34px 17px 20px;
    font-family: var(--font-display);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    animation: bannerSlideIn 0.65s cubic-bezier(0.55,0.06,0.37,1.07);
}
@keyframes bannerSlideIn {
    0% { transform: translateY(120%); opacity: 0; }
    70% { opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
    margin: 0 13px 0 0;
    font-size: 1em;
    flex: 1 1 220px;
}
.cookie-banner .cookie-btns {
    display: flex;
    gap: 13px;
    flex: 0 0 auto;
}
.cookie-banner button {
    padding: 8px 28px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1em;
    margin-left: 1.5px;
    box-shadow: 0 2px 7px var(--color-shadow);
    transition: background 0.14s, color 0.13s, box-shadow 0.13s;
}
.cookie-banner .accept {
    background: var(--color-primary);
    color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
    background: #fff;
    color: var(--color-primary);
    box-shadow: 0 4px 16px var(--color-shadow-strong);
}
.cookie-banner .reject {
    background: #fff;
    color: var(--color-secondary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
    background: var(--color-primary);
    color: #fff;
}
.cookie-banner .settings {
    background: var(--color-secondary);
    color: var(--color-primary);
    border: 1.4px solid var(--color-primary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
    background: #fff;
    color: var(--color-secondary);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 7px 17px 7px;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        gap: 14px;
    }
    .cookie-banner .cookie-btns {
        width: 100%;
        justify-content: flex-end;
        gap: 9px;
    }
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    z-index: 500;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(49,72,95,0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.29s cubic-bezier(0.44,0.14,0.33,1.02);
}
@keyframes modalFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
.cookie-modal-content {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 36px var(--color-shadow-strong);
    padding: 40px 32px 25px 32px;
    max-width: 410px;
    width: 96vw;
    position: relative;
    color: var(--color-primary);
    font-family: var(--font-display);
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: modalContentPop 0.25s cubic-bezier(0.47,1.64,0.41,0.72);
}
@keyframes modalContentPop {
    0% { transform: scale(0.92); opacity: 0; }
    70% { opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
    font-size: 1.4em;
    margin-bottom: 8px;
}
.cookie-modal-content label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-neutral);
    border-radius: 14px;
    padding: 8px 15px;
    font-size: 1em;
    margin-bottom: 4px;
}
.cookie-modal-content input[type="checkbox"] {
    accent-color: var(--color-secondary);
    width: 19px;
    height: 19px;
}
.cookie-modal-content .modal-btns {
    display: flex;
    justify-content: flex-end;
    gap: 17px;
    margin-top: 18px;
}
.cookie-modal-content .close-modal {
    background: #fff;
    border: 1.4px solid var(--color-secondary);
    color: var(--color-secondary);
    border-radius: 999px;
    padding: 7px 28px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
    margin-right: 0;
}
.cookie-modal-content .close-modal:hover, .cookie-modal-content .close-modal:focus {
    background: var(--color-secondary);
    color: #fff;
}
.cookie-modal-content .save-modal {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 7px 28px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
}
.cookie-modal-content .save-modal:hover, .cookie-modal-content .save-modal:focus {
    background: var(--color-secondary);
    color: var(--color-primary);
}
@media (max-width: 500px){
    .cookie-modal-content {
        padding: 22px 5vw 10px 5vw;
        min-width: 0;
    }
}


/* =============================================
   MICRO-INTERACTIONS
   ============================================= */
a, .cta-primary, .cta-secondary, button, input[type="submit"] {
    transition: color 0.19s, background 0.18s, box-shadow 0.17s, transform 0.13s;
    outline: none;
}
a:focus, .cta-primary:focus, .cta-secondary:focus, button:focus, input[type="submit"]:focus {
    box-shadow: 0 0 0 3px var(--color-secondary);
    background: var(--color-neutral);
}
@media (hover: hover) {
    a:hover, .cta-primary:hover, .cta-secondary:hover, button:hover, input[type="submit"]:hover {
        filter: brightness(1.04);
    }
}


/* =============================================
   ACCESSIBILITY
   ============================================= */
:focus-visible {
    outline: 2px dashed var(--color-secondary);
    outline-offset: 2px;
}

/* Hide visually but keep accessible */
.sr-only {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

/* =============================================
   PRINT OPTIMIZATION
   ============================================= */
@media print {
  header, nav, .main-nav, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff !important; color: #222; }
  .container, .content-wrapper, .card, .service-card, .feature-item, .testimonial-card, .legal, .about, .content-grid, .section { box-shadow: none !important; background: #fff !important; border-radius: 0 !important; }
}