/* --- 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, menu, nav, section {
    display: block;
}
body {
    line-height: 1.5;
    background: #F6D7B0;
    color: #6C3318;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}
img {
    max-width: 100%;
    display: block;
    border: 0;
}
a {
    color: #B04F11;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #934F2E;
    text-decoration: underline;
}
ul, ol {
    margin-left: 24px;
}
strong, b {
    font-weight: bold;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: #934F2E;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
h1 {
    font-size: 2.6rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 24px;
    text-shadow: 0 3px 0 #fffbe4, 1px 1px 8px #F6D7B0;
}
h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}
h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}
h4 {
    font-size: 1.1rem;
    font-weight: 700;
}
p, li, blockquote {
    font-size: 1rem;
    color: #6C3318;
    font-family: 'Open Sans', Arial, sans-serif;
    margin-bottom: 14px;
}
blockquote {
    padding: 16px 24px;
    background: #fffbe4;
    color: #934F2E;
    border-left: 6px solid #B04F11;
    border-radius: 18px 8px 18px 8px;
    font-style: italic;
    margin-bottom: 12px;
}
footer {
    font-size: 0.96rem;
    font-style: normal;
    color: #934F2E;
}

/* --- LAYOUT & SPACING --- */
.container {
    width: 100%;
    max-width: 1240px;
    padding: 0 20px;
    margin: 0 auto;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: #fffbe4;
    border-radius: 24px;
    box-shadow: 0 3px 16px 0 #F6D7B0;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover, .card:focus {
    transform: translateY(-7px) scale(1.03) rotate(-2deg);
    box-shadow: 0 12px 30px 0 #ddd3bc;
    z-index: 3;
}
.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: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    box-shadow: 0px 4px 18px #eec18a34;
    border-radius: 28px 14px 36px 18px;
    margin-bottom: 20px;
    min-width: 260px;
    max-width: 460px;
    transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover {
    box-shadow: 0px 8px 28px #ffe6bb90;
    transform: scale(1.025) rotate(2deg);
}
.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: #fffbe4;
    padding: 22px;
    border-radius: 20px;
    box-shadow: 0 4px 18px #F6D7B044;
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}
.feature-item:hover {
    box-shadow: 0 10px 30px #F6D7B088;
}

/* --- NAVIGATION --- */
header {
    background: #fffbe4;
    box-shadow: 0 1px 16px #bbb3aa20;
    position: relative;
    z-index: 100;
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 14px 0;
    gap: 18px;
    background: transparent;
}
.main-nav > a img {
    height: 58px;
    width: auto;
    border-radius: 16px;
}
.main-nav ul {
    display: flex;
    flex-direction: row;
    gap: 18px;
    list-style: none;
}
.main-nav ul li a {
    font-family: 'Merriweather', serif;
    font-size: 1.05rem;
    color: #934F2E;
    padding: 4px 12px;
    border-radius: 24px;
    transition: background 0.18s, color 0.18s;
    font-weight: 700;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
    background: #F6D7B0;
    color: #B04F11;
}
.cta-button {
    background: #D6723B;
    color: #fff;
    font-weight: bold;
    font-family: 'Merriweather', serif;
    font-size: 1.08rem;
    padding: 11px 31px;
    border-radius: 34px;
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 6px 18px 0 #ffdfb478;
    letter-spacing: 0.02em;
    transition: background 0.22s, transform 0.13s, box-shadow 0.14s;
    margin-left: 6px;
    margin-top: 4px;
    text-align: center;
    position: relative;
}
.cta-button:hover, .cta-button:focus {
    background: #934F2E;
    color: #fff;
    transform: scale(1.065) rotate(-2deg);
    box-shadow: 0 12px 28px 0 #eec18a98;
}

/* --- MOBILE NAV & BURGER MENU --- */
.mobile-menu-toggle {
    display: none;
    background: #D6723B;
    color: #fff;
    font-size: 1.7rem;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 18px;
    z-index: 201;
    box-shadow: 0 4px 12px #d6723b44;
    cursor: pointer;
    transition: background 0.12s, transform 0.13s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
    background: #934F2E;
    transform: scale(1.07);
}
.mobile-menu {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: #fffbe4;
    z-index: 300;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 0 40px #d6723b40;
    transform: translateX(100vw);
    transition: transform 0.36s cubic-bezier(.72,-0.09,.52,1.67), opacity 0.15s;
}
.mobile-menu.open {
    display: flex;
    transform: translateX(0);
    opacity: 1;
}
.mobile-menu-close {
    background: #D6723B;
    color: #fff;
    font-size: 2.1rem;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin: 18px 8px 10px auto;
    align-self: flex-end;
    cursor: pointer;
    transition: background 0.12s, transform 0.13s;
    box-shadow: 0 5px 18px #d6723b33;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
    background: #934F2E;
    transform: scale(1.09);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    width: 100%;
    margin-top: 40px;
}
.mobile-nav a {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    color: #D6723B;
    background: #fff;
    padding: 8px 24px;
    border-radius: 23px;
    font-weight: 800;
    transition: background 0.16s, color 0.15s, transform 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #F6D7B0;
    color: #B04F11;
    transform: scale(1.055) rotate(1deg);
}

/* Mobile NAV Hide Standard NAV */
@media (max-width: 930px) {
    .main-nav ul,
    .main-nav .cta-button {
        display: none!important;
    }
    .mobile-menu-toggle {
        display: flex;
    }
}
@media (min-width: 931px) {
    .mobile-menu, .mobile-menu-toggle {
        display: none!important;
    }
}

/* --- HERO & COMMON STYLES --- */
section {
    width: 100%;
    margin-bottom: 60px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
section .container {
    padding: 0;
}

.feature-grid, .service-grid, .service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 18px;
}
.feature, .service {
    background: #fffbe4;
    border-radius: 18px;
    box-shadow: 0 2px 14px #F6D7B066;
    padding: 22px 18px;
    width: 295px;
    min-width: 220px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    transition: box-shadow 0.22s, transform 0.23s;
    position: relative;
}
.feature:hover, .feature:focus,
.service:hover, .service:focus {
    box-shadow: 0 9px 32px #ffd78590;
    transform: scale(1.06) rotate(-1deg);
    z-index: 2;
}
.feature img {
    width: 56px;
    height: 56px;
}
.service-price {
    display: inline-block;
    background: #B04F11;
    color: #fff;
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    border-radius: 24px;
    padding: 6px 16px;
    margin-top: 7px;
    letter-spacing: 0.01em;
}

.ulist, section ul, section ol {
    margin-top: 8px;
    margin-bottom: 26px;
    color: #6C3318;
    font-size: 1.04rem;
    font-family: 'Open Sans', Arial, sans-serif;
}
section ul, section ol {
    padding-left: 22px;
}

section strong {
    color: #B04F11;
    font-weight: bold;
}

/* --- SOCIAL LINKS --- */
.social-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 16px;
}
.social-links span {
    color: #934F2E;
    font-weight: 700;
    font-size: 1.05rem;
}
.social-links a, .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fffbe4;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    box-shadow: 0 2px 8px #ffd78534;
    transition: background 0.13s, transform 0.07s;
}
.social-links a:hover, .footer-social a:hover {
    background: #F6D7B0;
    transform: scale(1.12);
}

/* --- FOOTER --- */
footer {
    background: #fffbe4;
    border-top: 2px solid #F6D7B0;
    padding: 34px 0 16px 0;
    width: 100%;
    flex-shrink: 0;
    box-shadow: 0 -3px 20px #F6D7B026;
    font-size: 1rem;
    color: #934F2E;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
    margin-bottom: 16px;
}
.footer-nav a {
    color: #B04F11;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 12px;
    padding: 4px 15px;
    background: transparent;
    transition: background 0.17s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
    background: #F6D7B0;
    color: #934F2E;
}
.footer-contact {
    text-align: center;
    margin-bottom: 10px;
    color: #6C3318;
}
.footer-contact p {
    margin-bottom: 4px;
    font-size: 0.99rem;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 12px;
}
footer p {
    text-align: center;
    color: #B04F11;
    font-size: 0.988rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .container {
        max-width: 96vw;
        padding: 0 10px;
    }
    .feature-grid, .service-grid, .service-list {
        gap: 16px;
    }
    .feature, .service {
        width: 98vw;
        min-width: 180px;
    }
    .testimonials-slider {
        gap: 12px;
    }
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    section {
        padding: 28px 6px;
    }
    .content-wrapper {
        align-items: flex-start;
    }
    .text-image-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .card, .testimonial-card, .feature, .service {
        min-width: 98vw;
        width: 98vw;
        max-width: 98vw;
        padding: 18px 8px;
    }
    .feature-grid, .service-grid, .card-container, .service-list, .testimonials-slider {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
}
@media (max-width: 500px) {
    h1 {
        font-size: 1.35rem;
        text-shadow: none;
    }
    h2 {
        font-size: 1.18rem;
    }
    .main-nav > a img {
        height: 36px;
    }
}

/* --- ANIMATIONS & MICRO-INTERACTIONS --- */
@keyframes playful-pop {
    0% { transform: scale(1) rotate(0deg); }
    60% { transform: scale(1.1) rotate(-2deg); }
    80% { transform: scale(0.96) rotate(2deg); }
    100% { transform: scale(1) rotate(-2deg); }
}
.cta-button:active {
    animation: playful-pop 0.23s cubic-bezier(.6,-0.4,.7,1.5);
}
.card, .service, .feature {
    transition: box-shadow 0.2s, transform 0.22s;
}
.card:active, .service:active, .feature:active {
    animation: playful-pop 0.29s cubic-bezier(.7,0,.7,1.7);
}

/* Fun font for headings & buttons */
h1, h2, h3, .cta-button, .main-nav ul li a, .mobile-nav a {
    font-family: 'Merriweather', serif;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: #fffbe4;
    color: #934F2E;
    box-shadow: 0 -2px 25px #ffd78540;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 18px 18px 18px;
    z-index: 4000;
    font-size: 0.97rem;
    border-radius: 24px 24px 0 0;
    animation: cookie-slideup 0.44s cubic-bezier(.6,-0.48,.7,1.3);
}
@keyframes cookie-slideup {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
    display: flex;
    gap: 19px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 9px 22px;
    border-radius: 20px;
    border: none;
    font-family: 'Merriweather', serif;
    font-size: 1.08rem;
    margin: 0 3px;
    background: #D6723B;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.17s, color 0.14s, transform 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
    background: #934F2E;
    color: #fffbe4;
    transform: scale(1.05);
}
.cookie-btn.secondary {
    background: #fffbe4;
    color: #B04F11;
    border: 2px solid #B04F11;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
    background: #F6D7B0;
    color: #934F2E;
}

/* Cookie Modal */
.cookie-modal-overlay {
    position: fixed;
    z-index: 4500;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: #00000060;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: cookie-fadein 0.25s;
}
@keyframes cookie-fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.cookie-modal {
    background: #fffbe4;
    padding: 28px 24px;
    border-radius: 30px;
    box-shadow: 0 10px 48px #ffd785bb;
    min-width: 310px;
    max-width: 96vw;
    color: #934F2E;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}
.cookie-modal h3 { margin-top: 0; margin-bottom: 7px; }
.cookie-modal-category {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 10px;
}
.cookie-toggle {
    width: 36px; height: 20px; border-radius: 12px;
    background: #F6D7B0; border: 2px solid #B04F11;
    position: relative;
    transition: background 0.18s;
    margin-right: 7px;
    cursor: pointer;
    display: inline-flex; align-items: center;
}
.cookie-toggle[aria-checked='true'] {
    background: #D6723B;
}
.cookie-toggle-knob {
    width: 16px; height: 16px; border-radius: 50%;
    background: #fff;
    position: absolute;
    left: 2px;
    transition: left 0.18s;
    border: 1.5px solid #B04F11;
}
.cookie-toggle[aria-checked='true'] .cookie-toggle-knob {
    left: 18px;
}
.cookie-modal .cookie-btn {
    margin-top: 14px;
}
.cookie-modal-close {
    position: absolute;
    top: 15px; right: 15px;
    background: #D6723B;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    font-size: 1.24rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.cookie-modal-close:hover {
    background: #934F2E;
}

/* --- UTILITIES & ACCESSIBILITY --- */
.sr-only {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    top: auto;
    overflow: hidden;
}

/* --- SCROLLBAR STYLES --- */
::-webkit-scrollbar {
    width: 12px;
    background: #fffbe4;
}
::-webkit-scrollbar-thumb {
    background: #F6D7B0;
    border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D6723B;
}

/* --- PRINT OVERRIDE --- */
@media print {
    header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
        display: none !important;
    }
    body {
        background: #fff;
    }
}

/* --- End of CSS --- */
