/* --- DESIGN SYSTEM --- */
:root {
    --pri: #FFF8F5;
    --sec: #FFAB91;
    --acc: #E57A5A;
    --dark: #4a3028;
    --dark-light: #6b4a42;
    --section-alt: #8b6359;
    --block-bg: #7d5549;

    --font-heading: 'Merriweather', serif;
    --font-body: 'Lora', serif;
    --header-height: 80px;
}

/* --- GLOBAL STYLES & RESETS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark);
    color: var(--pri);
    font-family: var(--font-body);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--sec);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; color: var(--pri); }

p {
    margin-bottom: 1.5rem;
    color: rgba(255, 248, 245, 0.85);
}

a {
    color: var(--sec);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--acc);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style-type: none;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-size: 1.1rem;
    color: rgba(255, 248, 245, 0.8);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--acc);
    color: var(--pri);
}

.btn-primary:hover {
    background-color: var(--sec);
    color: var(--dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--sec);
    border: 2px solid var(--sec);
}

.btn-secondary:hover {
    background-color: var(--sec);
    color: var(--dark);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}


/* --- HEADER --- */
#header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

#header.scrolled, #header.menu-open {
    background-color: var(--block-bg);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pri);
}
.logo:hover { color: var(--sec); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--pri);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--sec);
    border-bottom-color: var(--sec);
}

.nav-cta { display: block; }
#mobile-menu-toggle { display: none; }

/* --- HERO SLIDER --- */
.hero-slider {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-color: var(--dark);
    position: relative;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    color: var(--pri);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-size: 4.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--pri);
}

/* --- SECTION BACKGROUNDS (contrasting blocks) --- */
.services-section {
    background-color: var(--dark-light);
}
.why-choose-us-section {
    background-color: var(--dark);
}
.process-section {
    background-color: var(--section-alt);
}
.stats-section {
    background-color: var(--block-bg);
}
.testimonials-section {
    background-color: var(--dark);
}
.newsletter-section {
    background-color: var(--section-alt);
}
.cta-fullwidth-section {
    background-color: var(--block-bg);
}

/* --- CARDS & GRIDS --- */
.card {
    background-color: var(--block-bg);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,248,245,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

.card-img {
    border-radius: 16px;
    margin-bottom: 20px;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- SECTIONS --- */

/* Why Choose Us */
.feature-item {
    text-align: center;
}
.feature-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--sec);
    font-weight: 700;
    margin: 0;
}
.stat-label {
    color: var(--pri);
    margin: 0;
}

/* Process Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--sec);
    top: 0;
    bottom: 0;
    left: 20px;
}
.timeline-item {
    padding: 10px 40px 30px 60px;
    position: relative;
}
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--sec);
    border: 4px solid var(--dark);
    top: 15px;
    left: 12px;
    z-index: 1;
}
.timeline-content h3 { margin-bottom: 0.5rem; color: var(--pri);}

/* Testimonials */
.testimonial-featured {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--block-bg);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,248,245,0.1);
}
.testimonial-featured img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--sec);
}
.testimonial-featured blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    border: none;
    padding: 0;
}
.testimonial-featured cite {
    font-weight: 600;
    color: var(--sec);
}

/* Newsletter */
.newsletter-card {
    background: linear-gradient(135deg, var(--acc) 0%, #c9684a 100%);
    color: var(--pri);
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(229,122,90,0.35);
    border: 1px solid rgba(255,248,245,0.2);
}
.newsletter-card h3 { color: var(--pri); }
.newsletter-card p { color: rgba(255, 248, 245, 0.9); }
.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.newsletter-form input {
    padding: 12px;
    border-radius: 8px;
    border: none;
    min-width: 300px;
}
.newsletter-form .btn-primary { background: var(--dark); }
.newsletter-form .btn-primary:hover { background: #000; }

/* CTA Fullwidth */
.cta-fullwidth-section {
    text-align: center;
    padding: 60px 0;
}
.cta-fullwidth-section h2 { margin-bottom: 0.5rem; }
.cta-fullwidth-section p { max-width: 600px; margin: 0 auto 30px auto; }

/* --- ABOUT PAGE --- */
.page-header {
    background-color: var(--dark-light);
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 248, 245, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.page-header h1 {
    margin: 0;
    color: var(--pri);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.grid-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-image img {
    border-radius: 24px;
}

.quote-centered-section { background: var(--block-bg); text-align: center; }
.quote-centered-section blockquote {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto 1rem auto;
    border: none;
    padding: 0;
    color: var(--pri);
}
.quote-centered-section cite { color: var(--sec); font-weight: bold; }

.team-card { text-align: center; }
.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--sec);
}
.team-card h3 { color: var(--pri); }
.team-card p { margin: 0; color: var(--sec); }

.cta-split-section { background-color: var(--section-alt); }
.cta-split-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 30px;
}
.cta-split-action { text-align: right; }

/* --- CONTACT PAGE --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--block-bg);
    padding: 50px;
    border-radius: 24px;
    margin-bottom: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,248,245,0.08);
}
.contact-info h3 { color: var(--pri); }
.contact-info ul { margin-bottom: 2rem; }
.contact-info li { margin-bottom: 0.5rem; }

.contact-form .form-group { margin-bottom: 1.5rem; }
.contact-form label { display: block; margin-bottom: 5px; font-weight: 600; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--dark);
    background-color: var(--pri);
    color: var(--dark);
}
.map-container h3 { text-align: center; }


/* --- FAQ PAGE --- */
.faq-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.faq-tab-link {
    padding: 10px 20px;
    border: 2px solid var(--sec);
    background: transparent;
    color: var(--sec);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.faq-tab-link:hover, .faq-tab-link.active {
    background: var(--sec);
    color: var(--dark);
}

.faq-tab-content { display: none; }
.faq-tab-content.active { display: block; }

.faq-item {
    border-bottom: 1px solid var(--section-alt);
    margin-bottom: 15px;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 0;
    font-size: 1.2rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--pri);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-icon {
    font-size: 1.5rem;
    color: var(--sec);
    transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer p { padding: 0 0 15px 0; margin-bottom: 0; }

/* --- LEGAL PAGES --- */
.legal-content h2 { margin-top: 2rem; }
.legal-content ul { list-style-type: disc; padding-left: 20px; }
.legal-content li { margin-bottom: 0.5rem; }

/* --- FOOTER --- */
.footer {
    background-color: var(--dark);
    color: var(--pri);
    padding: 0;
    border-top: 3px solid var(--acc);
}
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px 30px;
    padding: 50px 0 30px;
    align-items: start;
}
.footer-brand {
    max-width: 280px;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--pri);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}
.footer-logo:hover {
    color: var(--sec);
}
.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 248, 245, 0.8);
    margin: 0;
    line-height: 1.6;
}
.footer-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sec);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    margin-top: 0;
}
.footer-col ul {
    margin: 0;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255, 248, 245, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: var(--sec);
}
.footer-cta .btn {
    margin-top: 8px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 248, 245, 0.12);
    padding: 20px 0;
    text-align: center;
}
.footer .copyright {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 248, 245, 0.65);
}

/* --- COOKIE BANNER --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--block-bg);
    color: var(--pri);
    padding: 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
}
#cookie-banner p { margin: 0; }
#cookie-banner div { display: flex; gap: 10px; }

/* --- SUCCESS MODAL (Contact) --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.modal-open {
    opacity: 1;
    visibility: visible;
}
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}
.modal-box {
    position: relative;
    background: var(--block-bg);
    color: var(--pri);
    padding: 40px;
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 248, 245, 0.12);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal.modal-open .modal-box {
    transform: scale(1);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 248, 245, 0.1);
    color: var(--pri);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
}
.modal-close:hover {
    background: rgba(255, 248, 245, 0.2);
    color: var(--sec);
}
.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--acc);
    color: var(--pri);
    font-size: 2rem;
    font-weight: 700;
    line-height: 64px;
    border-radius: 50%;
}
.modal-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--pri);
    margin-bottom: 12px;
}
.modal-text {
    color: rgba(255, 248, 245, 0.9);
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.modal-box .btn {
    min-width: 120px;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 3rem; }

    .grid-3, .grid-4 { grid-template-columns: 1fr; }

    .nav-links {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--block-bg);
        flex-direction: column;
        text-align: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }
    .nav-links.active { max-height: 300px; }
    .nav-links a { padding: 15px; border-bottom: 1px solid var(--section-alt); }
    .nav-cta { display: none; }
    #mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--pri);
        font-size: 2rem;
        cursor: pointer;
    }

    .stats-row { flex-direction: column; gap: 30px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input { min-width: auto; }

    .grid-about, .cta-split-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0 24px;
    }
    .footer-brand {
        max-width: none;
    }
    .footer-cta .btn {
        display: inline-block;
    }
    .cta-split-action { text-align: center; }
    .contact-wrapper { padding: 30px; }

    #cookie-banner { flex-direction: column; gap: 15px; text-align: center; }
}