/* ------- CSS RESET & BASE ------- */
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, main, menu, nav, section {
    display: block;
}

body {
    line-height: 1.5;
    background: #F5F3EA;
    color: #1a222b;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: inherit;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: #19435C;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #BA7303;
    text-decoration: underline;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: #19435C;
    font-weight: 700;
    letter-spacing: 0.01em;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
h4, h5, h6 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}
p, ul, ol, blockquote {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #313645;
    margin-bottom: 16px;
}
ul, ol {
    margin-left: 18px;
    margin-bottom: 20px;
}
strong {
    font-weight: 700;
    color: #19435C;
}

/* Containers & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 12px 0 rgba(25,67,92,0.09);
    padding: 32px 24px;
    margin-bottom: 20px;
    border: 1.5px solid #e9e4d9;
    position: relative;
    min-width: 250px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
    box-shadow: 0 4px 24px 0 rgba(25,67,92,0.18);
    transform: translateY(-2px) scale(1.015);
    border-color: #BA7303;
}
.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: 16px;
    box-shadow: 0 2px 10px 0 rgba(25,67,92,0.07);
    margin-bottom: 28px;
    border-left: 6px solid #BA7303;
    min-width: 270px;
}
.testimonial-card blockquote {
    margin-bottom: 0;
    color: #19435C;
    font-size: 1.08rem;
    font-style: italic;
}
.testimonial-card cite {
    font-style: normal;
    color: #313645;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-left: auto;
    font-weight: 500;
    font-size: 15px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 14px;
    padding: 24px 18px;
    box-shadow: 0 1px 8px 0 rgba(25,67,92,0.06);
    border: 1px solid #ece4d4;
    min-width: 200px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s, border 0.2s;
}
.feature-item img {
    width: 36px;
    height: 36px;
    filter: brightness(0) saturate(100%) invert(29%) sepia(52%) saturate(1229%) hue-rotate(172deg) brightness(97%) contrast(87%);
}
.feature-item:hover {
    box-shadow: 0 4px 18px 0 rgba(186,115,3,0.06);
    border-color: #BA7303;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(120deg, #F5F3EA 85%, #fff 100%);
    padding: 64px 0 32px 0;
}
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}
.hero h1 {
    color: #19435C;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 16px;
}
.hero .subheadline {
    font-size: 1.22rem;
    color: #BA7303;
    margin-bottom: 22px;
    font-family: 'Roboto', Arial, sans-serif;
}

/* NAVIGATION & HEADER */
header {
    background: #fff;
    border-bottom: 1.5px solid #ebe0cc;
    box-shadow: 0 2px 4px 0 rgba(25,67,92,0.05);
    position: sticky;
    top: 0;
    z-index: 30;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px 18px 20px;
}
.logo img {
    height: 45px;
    width: auto;
    display: block;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.06rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #19435C;
    padding: 3px 7px;
    border-radius: 6px;
    transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
    background: #19435C;
    color: #fff;
}
.cta-primary {
    display: inline-block;
    background: #BA7303;
    color: #fff !important;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    padding: 11px 30px;
    margin-left: 20px;
    border-radius: 999px;
    font-size: 1.12rem;
    border: none;
    box-shadow: 0 1px 6px 0 rgba(186,115,3,0.12);
    letter-spacing: 0.03em;
    transition: background 0.22s, box-shadow 0.15s, transform 0.2s;
    cursor: pointer;
    outline: none;
    border: 2px solid #BA7303;
}
.cta-primary:hover, .cta-primary:focus {
    background: #fff;
    color: #BA7303 !important;
    box-shadow: 0 4px 16px 0 rgba(186,115,3,0.13);
    border: 2px solid #BA7303;
    transform: translateY(-1px) scale(1.03);
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #19435C;
    cursor: pointer;
    margin-left: 15px;
    padding: 6px 12px;
    border-radius: 7px;
    transition: background 0.18s, color 0.18s;
    outline: none;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background: #F5F3EA;
    color: #BA7303;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(25,67,92,0.97);
    z-index: 9999;
    transform: translateX(-100vw);
    transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
    will-change: transform;
    pointer-events: none;
    opacity: 0;
}
.mobile-menu.open {
    transform: translateX(0);
    pointer-events: auto;
    opacity: 1;
}
.mobile-menu-close {
    align-self: flex-end;
    background: none;
    color: #fff;
    border: none;
    font-size: 2.25rem;
    margin: 24px 30px 8px 0;
    cursor: pointer;
    outline: none;
    padding: 7px 14px;
    border-radius: 7px;
    transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: #BA7303;
    color: #fff;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin: 30px 0 0 32px;
}
.mobile-nav a {
    color: #fff;
    font-size: 1.25rem;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500;
    padding: 12px 0;
    transition: color 0.16s;
    border-radius: 8px;
    width: 90vw;
    display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: #BA7303;
    background: rgba(186,115,3,0.08);
}

/* Hide main nav & show burger on mobile */
@media (max-width: 900px) {
    .main-nav {
        display: none;
    }
    .cta-primary {
        margin-left: 0;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
@media (min-width: 900px) {
    .mobile-menu {
        display: none !important;
    }
}

/* --------- UX Details --------- */
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }
hr {
    border: none;
    height: 1px;
    background: #ebe0cc;
    margin: 40px 0;
}

/* --------- SERVICES & PRICING --------- */
.features-grid, .services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 7px;
}
.services-grid .service-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 1px 8px 0 rgba(25,67,92,0.08);
    padding: 28px 20px;
    margin-bottom: 24px;
    flex: 1 1 270px;
    min-width: 270px;
    border: 1px solid #ece4d4;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.18s, border 0.18s;
    position: relative;
}
.services-grid .service-item:hover {
    box-shadow: 0 4px 16px 0 rgba(186,115,3,0.14);
    border-color: #BA7303;
    z-index: 2;
}

.pricing-table {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 1px 8px 0 rgba(25,67,92,0.07);
    background: #fff;
    overflow: hidden;
    border: 1.5px solid #ece4d4;
    margin-bottom: 30px;
}
.pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 20px 16px;
    border-bottom: 1px solid #ece4d4;
    gap: 12px;
}
.pricing-row:last-child {
    border-bottom: none;
}
.pricing-row div {
    min-width: 120px;
    flex: 1 1 0;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
}
.pricing-row div:nth-child(1) {
    font-weight: 700;
    color: #19435C;
}
.pricing-row div:last-child {
    text-align: right;
    color: #BA7303;
    font-weight: 600;
}

.text-section {
    margin-bottom: 20px;
}
.text-section ul {
    margin-left: 16px;
    margin-bottom: 6px;
}
.text-section li {
    margin-bottom: 10px;
    font-size: 1.04rem;
}
.note, .privacy-note {
    background: #ece4d4;
    color: #19435C;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
    font-size: .97rem;
}
.privacy-note a {
    color: #BA7303;
    text-decoration: underline;
}

.contact-info-block {
    padding: 22px 15px 10px 15px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ece4d4;
    margin-bottom: 18px;
}
.contact-info-block h2 {
    color: #BA7303;
    font-size: 1.1rem;
    margin-bottom: 2px;
}
.contact-info-block p {
    margin-bottom: 10px;
}

/* ------- FOOTER ------- */
footer {
    background: #19435C;
    color: #fff;
    padding: 50px 0 16px 0;
    margin-top: 80px;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 10px;
}
.footer-nav a {
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    opacity: 0.85;
    transition: color 0.15s, opacity 0.15s;
    padding: 4px 8px;
    border-radius: 6px;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: #FFD77B;
    background: rgba(186,115,3,0.1);
    opacity: 1;
}
.footer-meta {
    margin-top: 10px;
    font-size: 0.98rem;
    opacity: 0.8;
    color: #F5F3EA;
}

/* --------- COOKIES --------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #fff;
    border-top: 2.5px solid #BA7303;
    box-shadow: 0 -2px 16px 0 rgba(25,67,92,0.09);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2100;
    padding: 20px 20px 18px 20px;
    transition: transform 0.4s cubic-bezier(.86,-0.46,0.34,1.23), opacity 0.4s;
    gap: 16px;
    opacity: 1;
    font-size: 1.07rem;
}
.cookie-banner.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}
.cookie-banner .cookie-banner-buttons {
    display: flex;
    gap: 14px;
}
.cookie-btn {
    background: #BA7303;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 100px;
    padding: 9px 26px;
    font-size: 1.04rem;
    margin-right: 2px;
    transition: background 0.18s, color 0.18s, transform 0.13s;
    box-shadow: 0 2px 8px 0 rgba(186,115,3,0.09);
    cursor: pointer;
    outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
    background: #fff;
    color: #BA7303;
    border: 2px solid #BA7303;
    transform: translateY(-2px) scale(1.04);
}
.cookie-btn.secondary {
    background: #19435C;
    color: #fff;
    border: 2px solid #19435C;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
    background: #fff;
    color: #19435C;
}

.cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(25,67,92,0.71);
    z-index: 2101;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.32s;
}
.cookie-modal-overlay.hide {
    opacity: 0;
    pointer-events: none;
}
.cookie-modal {
    background: #fff;
    color: #19435C;
    border-radius: 16px;
    box-shadow: 0 4px 44px 0 rgba(25,67,92,0.22);
    padding: 38px 30px 24px 30px;
    max-width: 95vw;
    width: 420px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: cookieModalSlide 0.38s cubic-bezier(.68,-0.55,.27,1.55) both;
}
@keyframes cookieModalSlide {
    0% { opacity:0; transform: translateY(60px) scale(0.92); }
    100% { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
    color: #BA7303;
    font-size: 1.22rem;
    margin-bottom: 5px;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    margin-bottom: 14px;
}
.cookie-category label {
    font-weight: 500;
    color: #19435C;
}
.cookie-category input[type=checkbox] {
    accent-color: #BA7303;
    width: 20px;
    height: 20px;
    margin-right: 3px;
}
.cookie-category .always-on {
    color: #BA7303;
    font-size: 0.97rem;
    margin-left: 6px;
    font-weight: 400;
}
.cookie-modal .cookie-btn-row {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
}
.cookie-modal .close-cookie-modal {
    position: absolute;
    top: 12px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.45rem;
    color: #19435C;
    cursor: pointer;
    border-radius: 6px;
    padding: 5px 10px;
    transition: background 0.13s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
    background: #ece4d4;
}

/* ---------------------- RESPONSIVE DESIGN ---------------------- */
@media (max-width: 1200px) {
    .container {
        max-width: 97vw;
    }
}
@media (max-width: 992px) {
    .features-grid, .services-grid {
        gap: 18px;
    }
    .card-container {
        gap: 18px;
    }
    .pricing-row {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
    .pricing-row div:last-child {
        text-align: left;
    }
}
@media (max-width: 768px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    .section {
        margin-bottom: 40px;
        padding: 20px 4px;
    }
    .card, .feature-item, .testimonial-card, .services-grid .service-item, .contact-info-block {
        padding: 15px 10px;
    }
    .features-grid, .services-grid {
        flex-direction: column;
        gap: 14px;
    }
    .card-container {
        flex-direction: column;
        gap: 12px;
    }
    .content-grid {
        flex-direction: column;
        gap: 9px;
    }
    .hero .container {
        gap: 18px;
        padding: 14px 0;
    }
    .hero {
        padding: 32px 0 18px 0;
    }
    .text-image-section {
        flex-direction: column;
        gap: 18px;
    }
    .testimonial-card {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        padding: 12px 12px;
        font-size: 1rem;
    }
    h1 {
        font-size: 2rem;
        margin-bottom: 14px;
    }
    h2 {
        font-size: 1.31rem;
        margin-bottom: 8px;
    }
    .footer-nav {
        gap: 12px;
        font-size: 0.93rem;
    }
    .footer-meta {
        font-size: 0.9rem;
    }
    .mobile-menu-close {
        margin: 18px 9px 5px 0;
        font-size: 2rem;
    }
    .mobile-nav {
        margin: 18px 0 0 13px;
        gap: 10px;
    }
    .mobile-nav a {
        font-size: 1.12rem;
    }
}
@media (max-width: 530px) {
    .logo img {
        height: 34px;
    }
    .hero h1 {
        font-size: 1.18rem;
    }
    .cookie-modal {
        padding: 16px 7vw 12px 7vw;
        width: 96vw;
    }
}

/* ---------------------- LUXURY ACCENTS ---------------------- */
.card, .feature-item, .testimonial-card, .service-item, .contact-info-block {
    border: 1.5px solid #f2e3c6;
}

h2, .footer-nav a:hover, .footer-nav a:focus {
    color: #BA7303;
}
.feature-item img {
    filter: brightness(0) saturate(100%) invert(50%) sepia(72%) saturate(1000%) hue-rotate(9deg) brightness(95%) contrast(98%);
}
.cta-primary, .cookie-btn {
    box-shadow: 0 1.5px 8px 0 #fffde3, 0 2.5px 14px 0 rgba(186,115,3,0.08);
}

hr {
    background: #e0c18b;
}

/* Gold border for accent elements */
.card, .feature-item, .testimonial-card, .services-grid .service-item {
    border-left: 4px solid #BA7303;
}

.cookie-modal {
    border: 2px solid #BA7303;
}

/* Micro-interactions: Hover subtle scale */
.card:hover, .feature-item:hover, .service-item:hover {
    transform: scale(1.025);
    box-shadow: 0 4px 22px 0 rgba(186,115,3,0.12);
}

/* Ensure all flex containers use appropriate overflow handling */
.card-container, .features-grid, .services-grid, .content-grid, .footer-nav {
    overflow-x: auto;
}

/* Hide scrollbars for flex containers, but keep scrolling */
.card-container, .features-grid, .services-grid, .footer-nav {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.card-container::-webkit-scrollbar, .features-grid::-webkit-scrollbar, .services-grid::-webkit-scrollbar, .footer-nav::-webkit-scrollbar {
    display: none;
}
