/* ---------------------------------------------------
   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 {
    scroll-behavior: smooth;
}
body {
    background: #FAFAFA;
    color: #222;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    min-height: 100vh;
}
*, *::before, *::after {
    box-sizing: inherit;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
ul, ol {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    border: none;
    background: none;
    outline: none;
}
:focus {
    outline: 2px solid #204B7B;
    outline-offset: 2px;
}

/* ---------------------------------------------------
   Luxury Premium Theme Variables
--------------------------------------------------- */
:root {
    --primary: #204B7B;
    --secondary: #F1C40F;
    --secondary-dark: #c9a307;
    --accent: #FFFFFF;
    --background: #FAFAFA;
    --background-dark: #F5F5F7;
    --text-main: #21272D;
    --text-dark: #10151C;
    --text-light: #6A6A6A;
    --border: #E6E6E6;
    --shadow: 0 4px 32px rgba(32, 75, 123, 0.08);
    --card-radius: 18px;
    --btn-radius: 38px;
}

/* ---------------------------------------------------
   Fonts (Google Fonts optimized loading in /)
--------------------------------------------------- */
body {
    font-family: 'Roboto', Arial, sans-serif;
    letter-spacing: 0.01em;
    color: var(--text-main);
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: 0.005em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 18px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.3rem; line-height: 1.35; margin-bottom: 10px; }
h4 { font-size: 1.1rem; }
p, ul, ol, blockquote { margin-bottom: 18px; font-size: 1.02rem; }
.subheadline { font-size: 1.1rem; color: var(--primary); margin-bottom: 18px; letter-spacing: 0.03em; }
strong { color: var(--primary); font-weight: 700; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.1rem; }
    p, ul, ol, blockquote { font-size: 1rem; }
}

/* ---------------------------------------------------
   General Containers & Spacing Patterns
--------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 18px;
    box-sizing: border-box;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--background-dark);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
}
@media (max-width: 992px) {
    .section { padding: 30px 8px; }
    .container { padding: 0 8px; }
}

.content-wrapper {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}
.card {
    flex: 1 1 220px;
    min-width: 260px;
    background: var(--accent);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: box-shadow 0.25s;
    position: relative;
    padding: 28px 22px 22px 22px;
    border: 1px solid var(--border);
}
.card:hover {
    box-shadow: 0 8px 40px rgba(32, 75, 123, 0.18);
    border-color: var(--secondary);
    z-index: 2;
}

.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;
    margin-bottom: 28px;
}
@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 14px;
}
.feature-grid > div {
    flex: 1 1 210px;
    min-width: 235px;
    background: var(--accent);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    padding: 28px 22px 22px 22px;
    border: 1.5px solid #e7e0cc;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    position: relative;
    margin-bottom: 20px;
    transition: box-shadow 0.24s, border 0.24s;
}
.feature-grid > div:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 50px 2px rgba(241,196,15,0.10);
    z-index: 1;
}
.feature-grid img {
    width: 38px; height: 38px; object-fit: contain;
    margin-bottom: 3px;
}

.text-section {
    margin-bottom: 14px;
}
.text-section ul {
    margin-left: 18px;
    padding-left: 0;
    margin-bottom: 16px;
}
.text-section ul li {
    margin-bottom: 7px;
    color: var(--text-dark);
    list-style-type: disc;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.65;
}
.text-section p {
    margin-bottom: 9px;
}

.faq-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}
.faq-list > div {
    flex: 1 1 240px;
    min-width: 255px;
    background: #fff7da;
    border-radius: var(--card-radius);
    padding: 20px 20px 15px 20px;
    border: 1px solid #f1d176;
    margin-bottom: 20px;
    box-shadow: 0 2px 14px rgba(241,196,15,0.10);
}
.faq-list h3 { color: var(--primary); margin-bottom: 7px; font-size: 1rem; }
.faq-list p { color: #71560A; font-size: 0.99rem; }

@media (max-width: 1024px) {
    .card-container, .feature-grid, .content-grid, .faq-list {
        flex-direction: column;
        gap: 18px;
    }
    .card, .feature-grid > div, .faq-list > div {
        min-width: 0;
        width: 100%;
    }
}

/* ---------------------------------------------------
   Call To Action Buttons & Links
--------------------------------------------------- */
.cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #F5E59C, #F1C40F 60%, #D4AF37 100%);
    color: var(--primary);
    border-radius: var(--btn-radius);
    padding: 15px 42px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.13rem;
    font-weight: 700;
    box-shadow: 0 2px 18px rgba(241,196,15,0.13);
    letter-spacing: 0.02em;
    border: none;
    outline: none;
    cursor: pointer;
    margin: 10px 0 0 0;
    text-align: center;
    text-shadow: 0 1px 1.5px #fff9e0;
    transition: 
        background 0.24s, 
        color 0.19s, 
        box-shadow 0.18s, 
        transform 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
    background: linear-gradient(90deg, #F1C40F, #D4AF37 70%, #999146 100%);
    color: #fff;
    box-shadow: 0 5px 22px 0px rgba(241,196,15, 0.26);
    transform: translateY(-2px) scale(1.03);
}

/* ---------------------------------------------------
   Navbar & Header
--------------------------------------------------- */
header {
    background: var(--accent);
    position: relative;
    box-shadow: 0 4px 18px rgba(32, 75, 123, 0.04);
    z-index: 20;
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 22px 0 22px 0;
}
nav > a img { height: 38px; }
nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}
nav ul li a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.07rem;
    color: var(--text-dark);
    padding: 5px 0 3px 0;
    position: relative;
    letter-spacing: 0.01em;
    transition: color 0.13s;
}
nav ul li a:hover, nav ul li a:focus {
    color: var(--secondary);
}
nav ul li:not(:last-child) {
    margin-right: 4px;
}
nav .cta-btn {
    margin-left: 20px;
}
@media (max-width: 1024px) {
    nav ul { gap: 21px; }
}

/* Hide navigation on mobile, show burger */
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--primary);
    display: none;
    cursor: pointer;
    position: absolute;
    right: 24px;
    top: 26px;
    z-index: 40;
    padding: 6px 18px 8px 8px;
    border-radius: 7px;
    transition: background 0.16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: #f1c40f18;
    color: var(--secondary-dark);
}
@media (max-width: 900px) {
    nav ul, nav .cta-btn {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: inline-block;
    }
}

/* ---------------------------------------------------
   Mobile Menu Overlay
--------------------------------------------------- */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(32, 75, 123, 0.97);
    color: #fff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 22px 22px 22px;
    transform: translateX(-100%);
    transition: transform 0.36s cubic-bezier(.8,.2,.2,1);
    overflow-y: auto;
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--secondary);
    position: absolute;
    right: 24px; top: 24px;
    cursor: pointer;
    transition: color 0.12s;
    z-index: 1001;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #ffe19b;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 55px;
    width: 100%;
}
.mobile-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 15px 0 11px 0;
    border-bottom: 1px solid rgba(240,240,255,0.10);
    transition: color 0.19s, background 0.17s;
    min-width: 150px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: var(--secondary);
    background: rgba(241,196,15,0.06);
}

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

/* ---------------------------------------------------
   Testimonials (Card Design)
--------------------------------------------------- */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fffefa;
    box-shadow: 0 2px 18px rgba(32, 75, 123, 0.05);
    border-radius: var(--card-radius);
    padding: 20px;
    margin-bottom: 22px;
    border: 1.2px solid #eee5c0;
    font-size: 1.08rem;
    color: var(--text-dark);
    transition: box-shadow 0.21s, border 0.17s;
}
.testimonial-card blockquote {
    font-style: italic;
    color: #273041;
    font-size: 1.09rem;
    margin: 0 0 6px 0;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
}
.testimonial-card p {
    color: var(--primary);
    font-weight: 600;
    margin: 0;
    padding-left: 10px;
    font-size: 0.98rem;
}
.testimonial-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 28px 2px rgba(241,196,15,0.13);
}

/* ---------------------------------------------------
   Footer Styling
--------------------------------------------------- */
footer {
    background: var(--primary);
    color: #fff;
    padding: 44px 0 0 0;
}
footer .content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 42px;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1090px;
    padding-bottom: 28px;
    border-bottom: 1.5px solid rgba(241,196,15,0.19);
}
.footer-brand img { height: 48px; }
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 12px;
}
.footer-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.03rem;
    font-weight: 600;
    transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: var(--secondary);
}
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer-legal a {
    color: #edc14b;
    font-size: 0.98rem;
    text-decoration: underline;
    transition: color 0.18s;
}
.footer-legal a:hover, .footer-legal a:focus {
    color: var(--accent);
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.97rem;
}
.footer-contact img {
    display: inline-block;
    vertical-align: sub;
    width: 17px; margin-right: 7px;
}
.footer-social {
    margin-top: 8px;
    display: flex;
    gap: 13px;
    align-items: center;
}
.footer-social a img { height: 27px; transition: filter 0.18s; }
.footer-social a:hover img { filter: brightness(1.2) drop-shadow(0 0 8px #F1C40F88); }

@media (max-width: 850px) {
    footer .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
}

/* ---------------------------------------------------
   Cookie Consent Banner
--------------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    background: #fffdfa;
    color: var(--text-main);
    box-shadow: 0 -2px 36px 0px rgba(32, 75, 123, 0.15);
    padding: 20px 22px 18px 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    z-index: 1500;
    border-top: 2px solid var(--secondary);
    opacity: 1;
    transition: opacity 0.26s;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; }
.cookie-banner__text { flex: 1 1 270px; font-size: 1rem; line-height: 1.58; }
.cookie-banner__actions {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.cookie-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    border-radius: 13px;
    border: none;
    padding: 10px 22px;
    margin-top: 3px;
    font-weight: 600;
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 1px 7px #f1c40f18;
    cursor: pointer;
    transition: background 0.17s, color 0.14s, box-shadow 0.18s;
}
.cookie-btn.settings {
    background: none;
    color: var(--primary);
    border: 1.3px solid var(--primary);
}
.cookie-btn.reject {
    background: #e0e4ef;
    color: var(--primary);
}
.cookie-btn:hover, .cookie-btn:focus {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px #e1b40228;
}
.cookie-btn.settings:hover {
    background: #fafbff;
    color: var(--secondary);
}
.cookie-btn.reject:hover {
    background: #f9ebd0;
    color: var(--secondary);
}

@media (max-width: 650px) {
    .cookie-banner { flex-direction: column; align-items: flex-start; gap: 13px; }
    .cookie-banner__actions { width: 100%; gap: 7px; }
}

/* Cookie Preferences Modal */
.cookie-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(32, 75, 123, 0.73);
    z-index: 2120;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.23s;
}
.cookie-modal.open { opacity: 1; pointer-events: auto; }
.cookie-modal__dialog {
    background: #fffdfa;
    min-width: 328px;
    padding: 36px 26px 28px 26px;
    border-radius: 17px;
    box-shadow: 0 6px 40px 0px rgba(32, 75, 123, 0.12);
    position: relative;
    min-height: 170px;
    max-width: 96vw;
}
.cookie-modal--close {
    position: absolute;
    top: 17px; right: 17px;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 2.1rem;
    cursor: pointer;
    transition: color 0.12s;
}
.cookie-modal--close:hover, .cookie-modal--close:focus {
    color: var(--secondary);
}
.cookie-modal__h2 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 11px;
    font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal__list {
    margin-bottom: 25px;
}
.cookie-modal__list label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.01rem;
    padding: 8px 0;
}
.cookie-modal__list input[type=checkbox] {
    accent-color: var(--secondary);
    width: 19px; height: 19px;
}
.cookie-modal__btns {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 12px;
}

/* ---------------------------------------------------
   Confirmation Message (Thank you page)
--------------------------------------------------- */
.confirmation-message {
    background: #f8fcf3;
    border: 1.6px solid #c4e43b;
    box-shadow: 0 4px 16px #c4e43b18;
    border-radius: 14px;
    padding: 27px 22px 22px 22px;
    color: #36570a;
    margin-bottom: 20px;
    font-size: 1.13rem;
    text-align: left;
}
.confirmation-message h2 {
    color: #729c23;
}

/* ---------------------------------------------------
   Misc Utility Styles
--------------------------------------------------- */
strong, b {
    font-weight: bold;
}
blockquote {
    border-left: 3.5px solid var(--secondary);
    padding-left: 18px;
    margin: 0 0 14px 0;
    font-size: 1.08rem;
    color: var(--text-main);
    background: none;
}
hr {
    border: none;
    border-top: 1.5px solid var(--border);
    margin: 34px 0 22px 0;
}

/* Feature Item for checklists etc. */
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

/* Section Headings with Gold Accent */
.section h2 {
    display: flex;
    align-items: center;
    gap: 17px;
    position: relative;
}
.section h2::before {
    content: '';
    display: block;
    width: 34px; height: 4px;
    background: var(--secondary);
    border-radius: 3px;
}
@media (max-width: 768px) {
    .section h2 { gap: 7px; font-size: 1.19rem; }
    .section h2::before { width: 20px; height: 3px; }
}

/* Inputs (for contact forms, even if not present in HTML) */
input[type="text"], input[type="email"], textarea, select {
    padding: 11px 15px;
    border-radius: 11px;
    border: 1.2px solid #e8c676;
    background: #fffdfa;
    font-size: 1rem;
    margin-bottom: 10px;
    transition: border-color 0.18s, box-shadow 0.18s;
    width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus, select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px #f0d77a55;
}
.button, button {
    background: var(--primary);
    color: #fff;
    border-radius: var(--btn-radius);
    padding: 14px 36px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.10rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.22s, color 0.15s, box-shadow 0.14s;
    margin-top: 13px;
}
.button:hover, button:hover, .button:focus, button:focus {
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 1px 16px 0 var(--secondary-dark);
}

/* Responsive Spacing */
@media (max-width: 768px) {
    .section { padding: 14px 2vw; margin-bottom: 38px; }
    .feature-grid { gap: 13px; }
    .content-wrapper { gap: 16px; padding: 0; }
    .testimonial-card { padding: 12px; }
    .card-container { gap: 13px; }
}

/* Accessibility: Hide visually but expose to screen readers */
.sr-only {
    position: absolute;
    width: 0; height: 0;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Micro-interactions */
.card, .feature-grid > div, .testimonial-card, .faq-list > div {
    will-change: box-shadow, transform;
    transition: box-shadow 0.19s ease, transform 0.16s ease;
}
.card:active, .feature-grid > div:active, .testimonial-card:active, .faq-list > div:active {
    transform: scale(0.98);
}

/* Prevent Overlap & Z-Indexing */
.card, .feature-grid > div, .testimonial-card, .faq-list > div {
    z-index: 1;
}

/* Minimal loader spinner for buttons (if needed) */
.button.loading:after, .cta-btn.loading:after {
    content: '';
    display: inline-block;
    margin-left: 12px;
    width: 1em; height: 1em;
    border: 2px solid var(--secondary);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin .9s linear infinite;
    vertical-align: middle;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive utility for content alignment */
.align-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* ---------------------------------------------------
   Print Styles (optional)
--------------------------------------------------- */
@media print {
    nav, .mobile-menu, .mobile-menu-toggle, .cta-btn, .cookie-banner, .cookie-modal, footer { display: none !important; }
    .section, .card, .feature-grid > div, .card-container, .container { box-shadow: none !important; border-radius: 0 !important; }
}
