/* ==================== 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;
}
html {box-sizing: border-box; scroll-behavior: smooth;}
*, *:before, *:after {box-sizing: inherit;}
body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #34424A;
    background: #F4EFE8;
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a {
    text-decoration: none;
    color: #1B778C;
    transition: color 0.2s;
    cursor: pointer;
}
a:hover, a:focus { color: #8FA196; }
ul, ol {list-style: none;}
h1,h2,h3,h4,h5,h6 {font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; letter-spacing: -.02em;}
h1 {font-size: 2.8rem; line-height: 1.1; margin-bottom: 24px; color: #34424A;}
h2 {font-size: 2rem; line-height: 1.2; margin-bottom: 18px; color: #34424A;}
h3 {font-size: 1.3rem; margin-bottom: 10px; color: #1B778C;}
strong {font-weight: 700;}
p {margin-bottom: 16px;}
img {max-width: 100%; display: block; height: auto; border: 0;}


/* ==================== LAYOUT & CONTAINER ==================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 24px 0 rgba(52,66,74,0.06);
}
.hero {
    background: linear-gradient(90deg, #F4EFE8 0%, #8FA196 120%);
    padding: 0;
    min-height: 330px;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}
.hero .container {padding-top:48px;padding-bottom:48px; align-items: center;}
.hero h1 {
    color: #34424A;
    font-size: 2.4rem;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #34424A 60%, #1B778C 90%);
    background-clip: text;-webkit-background-clip: text; color: transparent;-webkit-text-fill-color: transparent;
}
.hero p {color: #34424A; font-weight: 400; margin-bottom: 28px; font-size:1.15rem;}

/* ======= FLEXBOX PATTERNS ======= */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {margin-bottom: 20px; position: relative; background: #fff; border-radius:18px; box-shadow:0 4px 16px rgba(52,66,74,0.08); transition:box-shadow .2s,transform .2s;}
.card:hover, .card:focus { box-shadow:0 10px 36px rgba(27,119,140,0.15); transform:translateY(-3px) scale(1.03);}
.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;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 28px 18px 28px;
    background: #F4EFE8;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow:0 2px 12px rgba(52,66,74,0.06);
    border:2px solid #8FA196;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}


/* ==================== NAVIGATION ==================== */
header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(52,66,74,0.04);
    padding:0;
    position: sticky; top:0; z-index: 30;
    width:100%;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}
header img {height: 40px; margin-right:24px;}
.main-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    font-family: 'Montserrat',sans-serif;
    font-weight: 600;
    font-size: 1rem;
}
.main-nav a {
    color: #34424A;
    position: relative;
    padding: 6px 0;
    transition: color .18s;
}
.main-nav a:hover, .main-nav a:focus {
    color: #1B778C;
}
.btn {
    display: inline-block;
    border-radius: 999px;
    padding: 10px 26px;
    font-family: 'Montserrat',sans-serif;
    letter-spacing: 0.02em;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform .15s;
    text-align: center;
    box-shadow:0 2px 12px rgba(52,66,74,0.10),0 0 0 #8FA196;
}
.btn-primary {
    background: #1B778C;
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
    background: #8FA196;
    color: #fff;
    box-shadow:0 4px 20px 0 rgba(27,119,140,.13);
    transform:translateY(-2px) scale(1.04);
}

/* ==================== MOBILE NAVIGATION ==================== */
.mobile-menu-toggle {
    display: none;
    background: #34424A;
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 100;
    box-shadow:0 2px 12px rgba(52,66,74,.12);
    transition: background .20s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
    background:#1B778C;
}
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(52,66,74,.96);
    z-index: 110;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.94,.01,.29,1.16);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 0 0 0;
}
.mobile-menu.active {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    color: #fff;
    border: none;
    font-size: 2.5rem;
    position: absolute;
    top: 20px; right: 24px;
    cursor: pointer;
    transition:color .22s;
    z-index: 115;
    padding: 4px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {color:#8FA196;}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 80px 38px 32px 38px;
}
.mobile-nav a {
    font-family: 'Montserrat',sans-serif;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {background: #1B778C; color: #F4EFE8;}

/* Hide regular nav for small screens */
@media (max-width: 920px) {
    .main-nav {display: none;}
    .btn.btn-primary {display: none;}
    .mobile-menu-toggle {display: block;}
}
@media (min-width: 921px) {
    .mobile-menu, .mobile-menu-toggle {display: none !important;}
}

/* ==================== FEATURES, CARDS, TESTIMONIALS ==================== */
.feature-grid > div,
.service-list > li > div {
    background: #8FA196;
    color: #fff;
    border-radius: 18px;
    box-shadow:0 2px 12px rgba(52,66,74,.08);
    padding: 26px 22px 20px 22px;
    min-width: 230px;
    flex: 1 1 260px;
    transition: box-shadow 0.18s, transform 0.18s;
    margin-bottom: 20px;
    display: flex; flex-direction: column; align-items: flex-start; gap:10px;
}
.feature-grid > div:hover, .feature-grid > div:focus,
.service-list > li > div:hover, .service-list > li > div:focus {
    box-shadow:0 8px 34px rgba(27,119,140,.13);
    transform:translateY(-2px) scale(1.03);
}
.feature-grid > div img, .service-list > li img {height:48px;width:48px;margin-bottom:10px;}
.feature-grid > div h3, .service-list > li h3 {color:#fff; font-size:1.23rem;}
.feature-price,
.service-list > li span {
    display: inline-block;
    font-size: 1.03rem;
    font-weight: 700;
    background: #34424A;
    color: #F4EFE8;
    padding: 2px 14px 3px 14px;
    border-radius: 100px;
    margin-top: 10px;
    letter-spacing: .01em;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}
.service-list > li {flex: 1 1 240px;}

.testimonial-card {
    background: #fff;
    border:2px solid #8FA196;
    color: #34424A;
    font-size: 1.09rem;
    min-width: 210px;
    box-shadow: 0 2px 12px rgba(52,66,74,0.06);
    margin-bottom: 20px;
    border-radius: 16px;
    gap: 16px;
}
.testimonial-card p {font-style: italic; color: #1B778C;max-width:800px;}
.testimonial-card span {font-family: 'Roboto',sans-serif; color:#34424A; opacity:.85;font-size:1rem;}
.testimonial-card div {font-size: 1.45rem; color: #FFD600; letter-spacing:1.5px;line-height:1;}

.inspirational-quote q {font-size:1.28rem;color:#1B778C;font-style:italic;}

/* ==================== FOOTER ==================== */
footer {
    background: #34424A;
    color: #F4EFE8;
    padding: 0;
    width:100%;
    margin-top:60px;
}
footer .container {
    flex-direction: column;
    align-items: stretch;
    padding-top: 36px;
    padding-bottom: 26px;
    gap: 22px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.12rem;
    font-weight: 600;
    color: #F4EFE8;
    margin-bottom: 6px;
}
.footer-brand img {height:28px; width:auto;}
.footer-nav, .footer-legal {
    display: flex; flex-wrap: wrap; gap: 18px;
    font-family: 'Montserrat',sans-serif; font-size: 1rem;
}
.footer-nav a, .footer-legal a {
    color: #F4EFE8;
    opacity: .88;
    transition: color .15s, opacity .2s;
}
.footer-nav a:hover, .footer-nav a:focus,
.footer-legal a:hover, .footer-legal a:focus {
    color: #FFD600;
    opacity: 1;
}
.legal-notice {
    opacity: .75;
    font-size: 0.95rem;
    margin-top:12px;
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: #34424A;
    color: #F4EFE8;
    box-shadow: 0 -2px 24px rgba(27,119,140,0.08);
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 22px 20px;
    gap: 22px;
    font-size: 1rem;
    animation: bannerIn .7s cubic-bezier(.72,-0.03,.35,.93);
}
@keyframes bannerIn {
    from {transform:translateY(80px); opacity:0;}
    to   {transform:none;opacity:1;}
}
.cookie-banner .cookie-banner-text {flex: 1 1 auto;}
.cookie-banner .cookie-btns {
    display: flex;
    gap: 15px;
}
.cookie-btn {
    border: none;
    border-radius: 999px;
    padding: 9px 22px;
    font-size: 1rem;
    font-family: 'Montserrat',sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background .21s, color .21s, border .17s,box-shadow .18s;
}
.cookie-btn-accept {
    background: #1B778C;
    color: #fff;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
    background: #FFD600;
    color: #34424A;
}
.cookie-btn-reject {
    background: #fff;
    color: #34424A;
    border: 2px solid #8FA196;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
    background: #F4EFE8;
    color:#1B778C;
}
.cookie-btn-settings {
    background: #8FA196;
    color: #fff;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
    background: #34424A;
    color: #FFD600;
}

/* Cookie Modal */
.cookie-modal-overlay {
    position: fixed; left:0;top:0;width:100vw;height:100vh;
    background:rgba(52,66,74,0.85);
    display: flex;align-items: center;justify-content: center;
    z-index: 1050;
    animation: modalAppear .28s cubic-bezier(.77,-0.05,.21,1.18);
}
@keyframes modalAppear{from{opacity:0;transform:scale(.93);}to{opacity:1;transform:none;}}
.cookie-modal {
    background: #fff;
    color: #34424A;
    border-radius: 18px;
    box-shadow: 0 8px 36px rgba(27,119,140,0.09);
    padding: 38px 28px 30px 28px;
    max-width: 420px;
    width: 94vw;
    position: relative;
    display: flex; flex-direction: column; gap: 26px;
}
.cookie-modal h3 {margin:0 0 10px 0;}
.cookie-modal label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    margin-bottom: 9px;
}
.cookie-modal .category-label[disabled], .cookie-modal input[disabled] {opacity: .6;cursor: not-allowed;}
.cookie-modal .toggle-switch {
    position:relative;width:44px;height:24px;
}
.cookie-modal .toggle-switch input {display: none;}
.cookie-modal .slider {
    position:absolute;top:0;left:0;right:0;bottom:0;
    background:#8FA196; border-radius:24px;transition:.2s;
}
.cookie-modal .slider:before {
    content: '';
    position: absolute;left: 3px;top: 3px;width:18px;height:18px;
    border-radius:50%;background:#fff;transition:.22s;
}
.cookie-modal input:checked + .slider { background: #1B778C;}
.cookie-modal input:checked + .slider:before { transform: translateX(20px); background: #FFD600;}
.cookie-modal-close {
    background: none;
    border: none;
    position: absolute; top: 14px; right:20px;
    font-size:1.8rem;color:#34424A; cursor:pointer;
    opacity:.72;transition:color .2s,opacity .2s;
    padding: 1px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {color:#1B778C;opacity:1;}

/* ==================== FORMS & FAQ & SPECIALS ==================== */
.contact-info {
    display:flex; flex-direction:column; gap:8px; margin-bottom:10px; font-size:1.09rem;
}
.faq-brief {
    background:#8FA196;color:#fff;
    border-radius: 14px; padding:18px 22px;
    margin-top:19px; box-shadow:0 1px 8px rgba(52,66,74,0.08);
}
.faq-brief ul {margin-top:8px;}

/* Trends, Materials, Palette (Inspiration) */
.trend-highlights, .materials-grid, .color-palette {
    background:#fff; color:#34424A;
    border-radius:14px; padding:18px 22px; margin-bottom:15px;
    box-shadow:0 1px 8px rgba(52,66,74,0.05);
}
.color-palette div[style*="background"] {
    border-radius:100px; border:2px solid #8FA196;
    box-shadow:0 1px 4px rgba(52,66,74,0.07);
    margin-right:4px !important;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1120px) {
    .container {
        max-width: 100%;
        padding: 0 14px;
    }
    .hero .container {padding-top: 38px;padding-bottom:38px;}
}
@media (max-width: 920px) {
    .feature-grid, .service-list {gap:18px;}
    .feature-grid > div, .service-list > li > div {min-width:180px; padding:18px 11px;}
}
@media (max-width: 768px) {
    h1 {font-size: 2.0rem;}
    h2 {font-size: 1.45rem;}
    .section {padding: 26px 7px;}
    .container {padding:0 7px;}
    .hero .container {padding-top: 24px; padding-bottom:24px;}
    .hero h1 {font-size: 1.45rem;}
    .feature-grid,.card-container,.service-list,.content-grid {
        flex-direction: column !important;
        gap:16px !important;
    }
    .feature-grid > div,.service-list > li > div {
        min-width:unset; width:100%;
    }
    .testimonial-card,.content-wrapper{
        gap:10px !important;
    }
    .footer-nav, .footer-legal { flex-direction: column; gap: 10px;}
}
@media (max-width: 520px) {
    .hero h1 {font-size: 1.12rem;}
    .section {padding: 14px 3px;}
}

/* Text-image-section vertical on mobile */
@media (max-width: 768px) {
    .text-image-section {flex-direction: column !important; align-items: stretch; gap: 18px;}
}

/* ==================== SCROLLBAR ====================== */
::-webkit-scrollbar {width:7px;background:#F4EFE8;}
::-webkit-scrollbar-thumb {background:#8FA196;border-radius:6px;}

/* ==================== SELECTION ===================== */
::selection { background:#1B778C;color:#fff; }

/* ==================== ANIMATIONS & MICRO-INTERACTIONS ===================== */
.btn, .cookie-btn, .footer-nav a, .footer-legal a, .main-nav a {
    transition: background .2s, color .2s, box-shadow .2s, opacity .15s,transform .12s;
}
.testimonial-card, .card, .feature-grid > div, .service-list > li > div {
    transition: box-shadow .19s, transform .17s, color .17s;
}
.card:hover, .feature-grid>div:hover, .service-list>li>div:hover{
    box-shadow:0 8px 34px #1b778c1a;
    transform:translateY(-2px) scale(1.03);
}

/* ==================== Z-INDEX & OVERLAP PROTECTION ==================== */
header {z-index:30;}
.mobile-menu {z-index:110;}
.mobile-menu-toggle {z-index: 100;}
.cookie-banner {z-index:1000;}
.cookie-modal-overlay {z-index:1050;}

/* ==================== UTILITY CLASSES ==================== */
.mt-2 {margin-top: 12px;}
.mt-4 {margin-top: 22px;}
.mb-2 {margin-bottom: 12px;}
.mb-4 {margin-bottom: 22px;}
.gap-24 {gap:24px;}

/* ==================== PRINT ==================== */
@media print {
    header, footer, .cookie-banner, .mobile-menu {display:none !important;}
    .section,.container {box-shadow:none !important; background:#fff !important;}
}
