/* ==== CSS RESET & 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 {
    border: 0;
    margin: 0;
    padding: 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: #F9F6F2;
    color: #183152;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: #183152;
    text-decoration: none;
    transition: color 0.2s;
}
ul, ol {
    padding-left: 24px;
    margin-bottom: 24px;
}
table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 24px;
}
th, td {
    text-align: left;
    padding: 8px 12px;
}
th {
    background: #ece8df;
    font-weight: 700;
}

/* ==== BRAND TYPOGRAPHY ==== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #183152;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
}
h1 {font-size: 2.6rem; line-height: 1.15; margin-bottom: 20px;}
h2 {font-size: 2rem; line-height: 1.2; margin-bottom: 20px;}
h3 {font-size: 1.25rem; line-height: 1.2; margin-bottom: 12px;}
.subheadline {
    font-family: 'Roboto', Arial, sans-serif;
    color: #7a868f;
    font-size: 1.125rem;
    margin-bottom: 28px;
    font-weight: 400;
}
p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: #294263;
}
strong, b {
    font-weight: 700;
}

/* ==== GLOBAL CONTAINERS & FLEXBOX ==== */
.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==== SECTION SPACING (MANDATORY PATTERNS) ==== */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: none;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(24,49,82,0.07);
    margin-bottom: 20px;
    position: relative;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.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 {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    /* Ensures readability over light background */
    box-shadow: 0 2px 12px 0 rgba(24,49,82,0.07);
    margin-bottom: 20px;
    color: #183152;
}
.testimonial-card p {
    font-size: 1.1rem;
    color: #183152;
    font-style: italic;
    margin-bottom: 0;
}
.testimonial-card span {
    color: #7a868f;
    font-size: 1rem;
    margin-left: 12px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(24,49,82,0.07);
    padding: 28px 18px;
    min-width: 220px;
    flex: 1 1 240px;
}
.feature-item img {
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
}

/* ==== HERO SECTIONS ==== */
.hero {
    background: linear-gradient(120deg, #F9F6F2 60%, #ece8df 100%);
    border-radius: 0 0 32px 32px;
    margin-bottom: 44px;
    padding: 56px 0 40px 0;
}
.hero .content-wrapper {
    align-items: flex-start;
    max-width: 640px;
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 18px 18px;
    padding: 40px 0 28px 0;
  }
}

/* ==== NAVIGATION ==== */
header {
    background: #fff;
    box-shadow: 0 2px 24px 0 rgba(24,49,82,0.04);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 800;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}
.main-nav a {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 13px;
    border-radius: 8px;
    color: #183152;
    transition: background 0.15s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
    background: #ece8df;
    color: #E9BF61;
}
.btn-primary {
    padding: 10px 28px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 500;
    background: #E9BF61;
    color: #183152;
    border-radius: 19px;
    border: none;
    box-shadow: 0 2px 8px 0 rgba(24,49,82,0.07);
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s, color 0.2s;
    margin-left: 18px;
    display: inline-block;
    text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
    background: #183152;
    color: #fff;
    box-shadow: 0 4px 20px 0 rgba(24,49,82,0.15);
}
.btn-link {
    font-weight: 500;
    color: #183152;
    text-decoration: underline;
    font-size: 1rem;
    transition: color 0.18s;
    display: inline-block;
    margin-top: 10px;
}
.btn-link:hover, .btn-link:focus {
    color: #E9BF61;
}

/* ==== FOOTER ==== */
footer {
    background: #fff;
    border-top: 1px solid #ece8df;
    padding: 32px 0 28px 0;
    margin-top: 80px;
}
footer .container {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
}
.footer-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin: 12px 0;
}
.footer-nav a {
    font-size: 1rem;
    color: #878d92;
    font-family: 'Roboto', Arial, sans-serif;
    padding: 8px 0;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: #183152;
    border-bottom: 1px solid #E9BF61;
}
.contact-footer {
    font-size: 1rem;
    color: #7a868f;
    font-family: 'Roboto', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 6px;
}
.contact-footer img {
    width: 15px;
    margin-right: 7px;
    vertical-align: middle;
}

/* ==== FLEXBOX GRIDS FOR FEATURES/CARDS ==== */
.feature-grid,
.benefits-grid,
.investment-models,
.auction-features-grid,
.team-member-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 10px;
}
.feature-grid .feature-item,
.benefits-grid .benefit-item,
.investment-models .investment-option,
.auction-features-grid .auction-feature,
.team-member-cards .team-member {
    flex: 1 1 230px;
    min-width: 230px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px 0 rgba(24,49,82,0.05);
    padding: 22px 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow 0.19s;
}
.feature-grid .feature-item:hover,
.benefits-grid .benefit-item:hover,
.investment-models .investment-option:hover,
.auction-features-grid .auction-feature:hover,
.team-member-cards .team-member:hover {
    box-shadow: 0 6px 32px 0 rgba(24,49,82,0.12);
}

.team-member img {
    width: 38px;
    height: 38px;
}

/* ==== ACCORDION FAQ (SIMPLIFIED, just show, not JS) ==== */
.accordion-faq h3 {
    cursor: pointer;
    margin-bottom: 6px;
    padding: 6px 0;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    color: #183152;
    font-weight: 600;
}
.accordion-faq p {
    padding-bottom: 13px;
    color: #294263;
    border-bottom: 1px solid #ece8df;
    margin-bottom: 12px;
}

/* ==== NEWS LIST ==== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 30px;
}
.news-list article {
    padding: 20px 20px 14px 22px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px 0 rgba(24,49,82,0.06);
    transition: box-shadow 0.12s;
}
.news-list article:hover {
    box-shadow: 0 4px 24px 0 rgba(24,49,82,0.13);
}
.news-list h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #183152;
    margin-bottom: 8px;
}
.categories-filter {
    margin-bottom: 12px;
    color: #8590a7;
    font-size: 0.98rem;
    display: flex;
    gap: 8px;
    align-items: center;
}
.categories-filter a {
    color: #E9BF61;
    font-weight: 500;
    margin: 0 4px;
    transition: color 0.14s;
}
.categories-filter a:hover, .categories-filter a:focus {color: #183152;}

/* ==== TABLE STYLES ==== */
table {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px 0 rgba(24,49,82,0.06);
    margin-bottom: 20px;
}
th, td {
    border-bottom: 1px solid #ece8df;
}
tr:last-child td { border-bottom: none; }

/* ==== TRUST FACTORS ==== */
.trust-factors ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #183152;
    font-weight: 500;
    margin-bottom: 8px;
}
.trust-factors li {
    background: #ece8df;
    border-radius: 8px;
    padding: 7px 16px;
    font-size: 1rem;
}

/* ==== COOKIE BANNER AND MODAL ==== */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 20px 0 rgba(24,49,82,0.09);
    border-top: 1px solid #ece8df;
    z-index: 1300;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 20px 16px;
    animation: cookie-slide-up 0.6s cubic-bezier(.6,-0.01,0,1.22);
}
@keyframes cookie-slide-up {
    from {transform: translateY(48px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
    margin: 0;
    color: #183152;
    font-size: 1rem;
}
.cookie-banner .cookie-buttons {
    display: flex;
    gap: 14px;
}
.cookie-btn {
    font-family: 'Roboto', Arial, sans-serif;
    border: none;
    outline: none;
    border-radius: 12px;
    padding: 8px 22px;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    cursor: pointer;
    transition: background 0.14s, color 0.16s, box-shadow 0.13s;
}
.cookie-accept {
    background: #E9BF61;
    color: #183152;
}
.cookie-accept:hover, .cookie-accept:focus {
    background: #183152;
    color: #fff;
}
.cookie-reject {
    background: #f5f5f5;
    color: #294263;
}
.cookie-reject:hover, .cookie-reject:focus {
    background: #ece8df;
    color: #183152;
}
.cookie-settings {
    background: #fff;
    color: #294263;
    border: 1px solid #ece8df;
}
.cookie-settings:hover, .cookie-settings:focus {
    background: #ece8df;
    color: #183152;
}
/* Cookie modal popup */
.cookie-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(24,49,82,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1400;
    transition: opacity 0.24s;
    opacity: 1;
    pointer-events: auto;
}
.cookie-modal.hidden {
    opacity: 0; pointer-events: none;
}
.cookie-modal .cookie-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 36px 26px 28px 26px;
    min-width: 300px;
    max-width: 94vw;
    box-shadow: 0 6px 32px 0 rgba(24,49,82,0.16);
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: modal-fade-in 0.30s;
}
@keyframes modal-fade-in {
 from { opacity: 0; transform: scale(0.95);} to { opacity: 1; transform: scale(1);} 
}
.cookie-modal-title {
    font-family: 'Playfair Display', serif;
    color: #183152;
    font-size: 1.3rem;
    margin-bottom: 2px;
    font-weight: 700;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.cookie-category .toggle {
    appearance: none;
    width: 36px;
    height: 18px;
    background: #ece8df;
    border-radius: 24px;
    position: relative;
    outline: none;
    margin-right: 7px;
    transition: background 0.18s;
    cursor: pointer;
}
.cookie-category .toggle:checked {
    background: #E9BF61;
}
.cookie-category .toggle:disabled {
    background: #ece8df;
    opacity: 0.7;
    cursor: not-allowed;
}
.cookie-category label {
    color: #294263;
    font-size: 1rem;
}
.cookie-modal-actions {
    display: flex;
    gap: 14px;
    margin-top: 14px;
    justify-content: flex-end;
}
/* Modal toggle bullet */
.cookie-category .toggle:before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    left: 2px; top: 2px;
    transition: left 0.18s;
}
.cookie-category .toggle:checked:before {
    left: 20px;
}
/* ==== MOBILE BURGER MENU ==== */
.mobile-menu-toggle {
    background: none;
    font-size: 2rem;
    color: #183152;
    border: none;
    cursor: pointer;
    padding: 7px 10px;
    border-radius: 8px;
    display: none;
    z-index: 999;
    transition: background 0.13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #ece8df;
}
.mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: 100vw;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    box-shadow: -6px 0 24px 0 rgba(24,49,82,0.16);
    transform: translateX(100%);
    transition: transform 0.33s cubic-bezier(.7,0,.1,1.08);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 32px 22px 22px 32px;
    pointer-events: none;
}
.mobile-menu.show {
    transform: translateX(0);
    pointer-events: auto;
}
.mobile-menu-close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 2rem;
    border: none;
    background: none;
    color: #183152;
    cursor: pointer;
    z-index: 1202;
    border-radius: 8px;
    padding: 6px 10px;
    transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #ece8df;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 38px;
}
.mobile-nav a {
    font-size: 1.13rem;
    color: #183152;
    font-family: 'Roboto', Arial, sans-serif;
    padding: 7px 4px;
    border-radius: 6px;
    transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: #E9BF61;
    background: #ece8df;
}

/* ==== RESPONSIVE LAYOUTS & FLEX ==== */
@media (max-width: 1060px) {
    .container {
        max-width: 96vw;
    }
    .feature-grid, .benefits-grid, .investment-models, .auction-features-grid, .team-member-cards {
        gap: 14px;
    }
}
@media (max-width: 900px) {
    .container {
        max-width: 98vw;
        padding-left: 4vw;
        padding-right: 4vw;
    }
    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
}
@media (max-width: 768px) {
    header .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
        z-index: 1203;
    }
    .feature-grid, .benefits-grid, .investment-models, .auction-features-grid, .team-member-cards {
        flex-direction: column;
        gap: 23px;
    }
    .team-member-cards {
        gap: 18px;
    }
    .card-container, .content-grid, .trust-factors ul {
        flex-direction: column;
        gap: 21px;
    }
    .footer-nav {
        flex-direction: column;
    }
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .text-image-section {
        flex-direction: column;
        gap: 20px;
    }
    .content-wrapper {
        gap: 14px;
    }
}
@media (max-width: 580px) {
    h1 {font-size: 1.57rem;}
    h2 {font-size: 1.17rem;}
    h3 {font-size: 1.05rem;}
    .hero {padding: 25px 0 18px 0; border-radius: 0 0 8px 8px;}
    .section {
        margin-bottom: 34px;
        padding: 22px 6px;
    }
    .card, .feature-item, .benefit-item, .investment-option, .auction-feature {
        padding: 14px 7px;
    }
    .cookie-banner {
        flex-direction: column;
        gap: 12px;
        padding: 13px 6px 14px 6px;
    }
    .cookie-modal .cookie-modal-box {
        min-width: 92vw;
        padding: 18px 6vw;
    }
}

/* ==== MICRO-INTERACTIONS ==== */
a:focus {
    outline: 2px dashed #E9BF61;
}
button:focus,
.btn-primary:focus,
.cookie-btn:focus,
.mobile-menu-toggle:focus,
.mobile-menu-close:focus {
    outline: 2px dashed #E9BF61;
    outline-offset: 1px;
}

/* ==== MISCELLANEOUS ==== */
::-webkit-input-placeholder { color: #a6aebc; opacity:1; }
::-moz-placeholder { color: #a6aebc; opacity:1; }
:-ms-input-placeholder { color: #a6aebc; opacity:1; }
::placeholder { color: #a6aebc; opacity:1; }

hr {
    border: none;
    border-top: 1px solid #ece8df;
    margin: 18px 0;
}

/* ==== FORMS (if any future) ==== */
input, select, textarea {
    font-family: 'Roboto', Arial, sans-serif;
    border-radius: 9px;
    border: 1px solid #ece8df;
    padding: 9px 12px;
    font-size: 1rem;
    background: #faf9f7;
    transition: border 0.17s;
    margin-bottom: 13px;
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    border: 1.5px solid #E9BF61;
    outline: none;
    background: #fff;
}

/* ==== Scandinavian Clean: whitespace & card details ==== */
.section:not(.hero) {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 32px 0 rgba(24,49,82,0.06);
    margin-bottom: 38px;
}
@media (max-width: 768px) {
    .section:not(.hero) {
        border-radius: 10px;
        margin-bottom: 17px;
        padding: 14px 1px;
    }
}

/* ==== List style refinements ==== */
ul li, ol li {
    margin-bottom: 8px;
    color: #294263;
    line-height: 1.6;
}

/* ==== Accessibility contrast fixes for testimonial/review texts ==== */
.testimonial-card, .testimonial-card p, .testimonial-card span {
    color: #183152;
    background: #fff;
}

/* ==== Hide main .main-nav in mobile ==== */
@media (max-width: 950px) {
    .main-nav {
        display: none !important;
    }
}

/* ==== Utility classes ==== */
.mb20 {margin-bottom: 20px!important;}
.mb32 {margin-bottom: 32px!important;}
.align-center {text-align: center!important;}
.gap-12 {gap: 12px!important;}

/* ==== END CSS ==== */
