/* CSS RESET & LAYOUT NORMALIZATION */
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: #fff;
    color: #161616;
    min-height: 100vh;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}
ol, ul {
    list-style: none;
}
a {
    background: transparent;
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
img {
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    display: block;
}
button {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    cursor: pointer;
}
table { border-collapse: collapse; border-spacing: 0; }
* { box-sizing: border-box; }

/* MONOCHROME SOPHISTICATED PALETTE */
:root {
    --black: #161616;
    --white: #fff;
    --gray-100: #f7f7f7;
    --gray-200: #e8e8e8;
    --gray-300: #cccccc;
    --gray-400: #ababab;
    --gray-600: #5a5a5a;
    --gray-800: #22242A;
    --primary: #161616;
    --secondary: #f7f7f7;
    --accent: #ffffff;
    --brand-blue: #28406E;
    --brand-yellow: #FFD36E;
}

/* MODERN, SOPHISTICATED TYPOGRAPHY */
body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--primary);
}
h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 24px;
}
h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    line-height: 1.18;
}
h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

p, ul, li {
    font-size: 1rem;
    color: var(--gray-800);
}
p {
    margin-bottom: 16px;
}
strong {
    font-weight: 700;
}

/* LAYOUT CONTAINERS */
.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.text-section {
    max-width: 680px;
}

/* SECTION SPACING (MANDATORY) */
section, .section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(40,40,40,0.04), 0 1.5px 8px rgba(0,0,0,0.04);
    position: relative;
}

/* HERO SECTION SPECIALS */
.hero {
    background: var(--gray-100);
    box-shadow: none;
    margin-bottom: 48px;
    border-radius: 0 0 28px 28px;
}
.hero h1 {
    color: var(--primary);
    font-size: 2.4rem;
}
.hero p {
    color: var(--gray-800);
    font-size: 1.25rem;
    margin-bottom: 32px;
}

/* NAVIGATION HEADER */
header {
    width: 100%;
    background: var(--white);
    border-bottom: 1.5px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1002;
}
.logo img {
    height: 40px;
    width: auto;
}
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin-left: 32px;
}
.main-nav a {
    font: 500 1rem 'Montserrat', sans-serif;
    color: var(--gray-600);
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-bottom 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    outline: none;
}
.cta-btn {
    margin-left: 32px;
    background: var(--primary);
    color: var(--accent);
    font: 700 1rem 'Montserrat', sans-serif;
    border-radius: 32px;
    padding: 12px 32px;
    letter-spacing: 0.05em;
    border: none;
    box-shadow: 0 3px 16px rgba(22,22,22,0.09);
    cursor: pointer;
    transition: background 0.22s, color 0.22s, box-shadow 0.18s;
    text-align: center;
    display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
    background: var(--gray-800);
    color: var(--brand-yellow);
    box-shadow: 0 8px 24px rgba(40,40,40,0.10);
    outline: none;
}

/* MOBILE HEADER NAV */
.mobile-menu-toggle {
    display: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    font-size: 2.4rem;
    padding: 6px 16px;
    margin-left: 26px;
    border: none;
    transition: background 0.22s, color 0.14s;
    z-index: 1203;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--gray-800);
    color: var(--brand-yellow);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22,22,22,0.95);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    transform: translateX(-100vw);
    transition: transform 0.4s cubic-bezier(.7,.12,.15,1);
    pointer-events: none;
    opacity: 0;
}
.mobile-menu.active {
    transform: translateX(0);
    pointer-events: auto;
    opacity: 1;
}
.mobile-menu-close {
    background: none;
    color: var(--white);
    font-size: 2.3rem;
    padding: 24px 20px 4px 16px;
    align-self: flex-end;
    z-index: 2003;
    border-radius: 6px;
    margin-right: 8px;
    transition: color 0.18s, background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    color: var(--brand-yellow);
    background: rgba(255,255,255,0.08);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 24px 24px 32px;
}
.mobile-nav a {
    color: var(--white);
    font: 700 1.2rem 'Montserrat', sans-serif;
    padding: 10px 0;
    border-bottom: none;
    width: 100%;
    transition: color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: var(--brand-yellow);
    outline: none;
}

/* HEADER RESPONSIVE LAYOUT */
@media (max-width: 990px) {
    .main-nav,
    .cta-btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-block;
    }
}

@media (max-width: 990px) {
    header {
        padding: 14px 0;
    }
    .logo img {
        height: 32px;
    }
}

/* GENERAL FLEX LAYOUTS (MANDATORY) */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 18px;
    margin-bottom: 18px;
    justify-content: flex-start;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--secondary);
    border-radius: 18px;
    padding: 28px 22px 24px 22px;
    gap: 15px;
    min-width: 235px;
    box-shadow: 0 2px 12px rgba(22,22,22,0.05);
    margin-bottom: 20px;
    transition: box-shadow 0.26s, transform 0.19s;
}
.feature-item:hover, .feature-item:focus-within {
    box-shadow: 0 6px 24px rgba(22,22,22,0.13);
    transform: translateY(-2px) scale(1.015);
    outline: none;
}
.feature-item img {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(40,40,40,0.05);
    padding: 32px 28px;
    margin-bottom: 20px;
    position: relative;
}
.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 {
    background: var(--gray-100);
    border-radius: 14px;
    box-shadow: 0 1.5px 8px rgba(22,22,22,0.07);
    padding: 28px 28px 22px 28px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 275px;
    transition: box-shadow 0.20s, background 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
    box-shadow: 0 6px 24px rgba(40,40,40,0.09);
    background: var(--gray-200);
}
.testimonial-card p {
    color: var(--primary);
    font-size: 1.08rem;
    margin-bottom: 0;
}
.testimonial-footer {
    color: var(--gray-400);
    font-size: 0.98rem;
    letter-spacing: 0.04em;
    margin-top: 10px;
    font-style: italic;
}
.testimonial-stars {
    color: var(--brand-yellow);
    font-size: 1.08rem;
    margin-bottom: 2px;
    letter-spacing: 0.08em;
}
.testimonials-slider, .testimonials-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}
.testimonials-video {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    margin-top: 18px;
}

/* Contact details small grid */
.contact-details {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 10px;
    margin-bottom: 18px;
}
.contact-details > div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.08rem;
    color: var(--gray-600);
}
.contact-details img {
    width: 22px;
    height: 22px;
}

/* CARDS WITH VISUAL DEPTH */
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

/* CTA Button inside content */
.content-wrapper .cta-btn { margin-top: 10px; }

/* FOOTER LAYOUT */
footer {
    background: var(--primary);
    color: var(--white);
    border-radius: 28px 28px 0 0;
    margin-top: 60px;
    overflow: hidden;
    box-shadow: 0 -2px 8px rgba(22,22,22,0.04);
}
.footer-top {
    display: flex;
    flex-direction: row;
    gap: 36px;
    align-items: center;
    justify-content: space-between;
    padding: 42px 0 12px 0;
}
.footer-top img {
    width: 62px;
    height: 62px;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
    margin-left: 20px;
    align-items: center;
}
.footer-nav a {
    color: var(--gray-200);
    font: 500 1rem 'Open Sans', sans-serif;
    padding: 4px 6px;
    letter-spacing: 0.01em;
    opacity: 0.84;
    border-radius: 6px;
    transition: color 0.12s, background 0.15s, opacity 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: var(--brand-yellow);
    opacity: 1;
    background: rgba(255,255,255,0.08);
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-start;
    margin-top: 18px;
    margin-bottom: 8px;
    padding-left: 2px;
    font-size: 1.02rem;
    color: var(--gray-300);
}
.footer-bottom div {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.84;
}
.footer-meta {
    text-align: center;
    font-size: 0.96rem;
    padding: 20px 0 13px 0;
    letter-spacing: 0.03em;
    color: var(--gray-400);
    background: none;
}

/* BLOG PAGE UNIQUE */
.features-grid ul {
    padding-left: 8px;
    list-style: disc inside;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    background: var(--primary);
    color: var(--white);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 22px 20px 22px 26px;
    gap: 30px;
    z-index: 2100;
    box-shadow: 0 -4px 24px rgba(22,22,22,0.12);
    font-size: 1rem;
    animation: cookieBannerIn .5s 1 cubic-bezier(.73,.01,.19,.99);
}
@keyframes cookieBannerIn {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
    display: flex;
    gap: 16px;
}
.cookie-banner button {
    font: 700 1rem 'Montserrat',sans-serif;
    background: var(--white);
    color: var(--primary);
    border-radius: 24px;
    padding: 8px 22px;
    border: none;
    margin-left: 0;
    transition: background 0.18s, color 0.13s;
}
.cookie-banner .cookie-settings {
    background: var(--gray-200);
    color: var(--primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
    background: var(--brand-yellow);
    color: var(--primary);
    outline: none;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
    position: fixed;
    z-index: 2101;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(22,22,22,0.73);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.27s;
}
.cookie-modal-overlay.active {
    pointer-events: auto;
    opacity: 1;
}
.cookie-modal {
    background: var(--white);
    color: var(--primary);
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -6px 32px rgba(22,22,22,0.14);
    min-width: 320px;
    max-width: 440px;
    width: 95%;
    padding: 28px 28px 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    animation: cookieModalIn .6s 1 cubic-bezier(.32,.73,.18,1.03);
}
@keyframes cookieModalIn {
    0% { transform: translateY(120%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h3 {
    font-size: 1.28rem;
    margin-bottom: 6px;
}
.cookie-categories {
    width: 100%;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.cookie-category input[type="checkbox"] {
    accent-color: var(--brand-yellow);
    width: 18px; height: 18px;
    margin-top: 2px;
}
.cookie-category label {
    font-size: 1.04rem;
}

.cookie-modal .modal-actions {
    display: flex;
    gap: 14px;
    margin-top: 10px;
    width: 100%;
}
.cookie-modal button {
    font: 700 1rem 'Montserrat',sans-serif;
    background: var(--black);
    color: var(--white);
    border-radius: 20px;
    padding: 7px 18px;
    border: none;
    transition: background 0.19s, color 0.13s;
}
.cookie-modal button:focus,
.cookie-modal button:hover {
    background: var(--brand-yellow);
    color: var(--primary);
    outline: none;
}

/* MICROINTERACTIONS */
.cta-btn, .feature-item, .testimonial-card, .cookie-banner button, .cookie-modal button {
    transition: transform .12s, box-shadow .18s, background .19s, color .11s;
}
.cta-btn:active {
    transform: scale(0.98);
}
.feature-item:active, .testimonial-card:active {
    transform: scale(0.98);
}

/* GLOBAL RESPONSIVENESS */
@media (max-width: 768px) {
    h1 {
        font-size: 1.70rem;
        margin-bottom: 18px;
    }
    h2 {
        font-size: 1.26rem;
        margin-bottom: 14px;
    }
    section, .section {
        padding: 24px 10px;
        margin-bottom: 40px;
        border-radius: 12px;
    }
    .footer-top {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        padding: 28px 0 8px 0;
    }
    .footer-nav {
        flex-direction: column;
        gap: 12px;
        margin-left: 0;
        align-items: flex-start;
    }
    .footer-bottom {
        gap: 13px;
        font-size: 0.97rem;
        flex-direction: column;
        padding-bottom: 10px;
    }
    .hero {
        border-radius: 0 0 16px 16px;
    }
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .features-grid, .testimonials-slider, .testimonials-list {
        flex-direction: column;
        gap: 18px;
    }
    .content-grid {
        flex-direction: column;
        gap: 14px;
    }
    .contact-details {
        flex-direction: column;
        gap: 9px;
    }
    .text-image-section {
        flex-direction: column;
        gap: 16px;
    }
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 17px 10px;
    }
}

/* UTILITIES */
.mt-12 { margin-top: 12px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-14 { margin-bottom: 14px !important; }
.mb-20 { margin-bottom: 20px !important; }
.gap-8 { gap: 8px; }

/******************* FORMATTING HTML ELEMENTS *******************/
ul {
    margin-bottom: 12px;
    margin-left: 22px;
    color: var(--gray-800);
    line-height: 1.6;
    font-size: 1rem;
}
li {
    margin-bottom: 6px;
}

/* Inputs if any would be implemented (not shown in HTML) */
input, textarea, select {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    padding: 9px 13px;
    border: 1.5px solid var(--gray-300);
    border-radius: 7px;
    background: var(--white);
    color: var(--primary);
    margin-bottom: 12px;
    transition: border 0.19s, box-shadow 0.19s;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(40,40,40,0.07);
}

/* ACCESSIBLE FOCUS STATES */
a:focus, button:focus, .cta-btn:focus, input:focus, textarea:focus {
    outline: 2px solid var(--brand-yellow);
    outline-offset: 2px;
}

/*********************** CUSTOM SCROLLBAR **********************/
::-webkit-scrollbar {
  width: 10px;
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/*********************** PRINT OPTIMIZATION **********************/
@media print {
    header, nav, .mobile-menu, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
    body { background: #fff; color: #000; }
    section, .section { box-shadow: none; background: none; }
}

/* END CSS */
