/* ===== Bride Of The Broom — MKM layout + grey & peach ===== */
:root {
    --primary: #e8927a;
    --primary-dark: #c56d51;
    --primary-light: #f0b5a3;
    --primary-lighter: #fde5dc;
    --secondary: #8b4e3c;
    --text-dark: #0a0a0a;
    --text-light: #64748b;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --font-heading: 'Source Serif 4', Georgia, serif;
    --font-hero: 'Source Serif 4', Georgia, serif;
    --font-script: 'Parisienne', cursive;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    font-size: 16px;
    letter-spacing: 0.01em;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 5rem 0; }

/* Header — MKM */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    max-width: min(440px, 72vw);
    min-width: 0;
}
/* Wrapper clips the image to a true circle (avoids square border/background on <img>) */
.logo-img-wrap {
    width: 72px;
    height: 72px;
    min-width: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    line-height: 0;
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.98);
}
.header.scrolled .logo-img-wrap {
    border-color: rgba(232, 146, 122, 0.35);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.logo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.logo-wordmark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.1rem;
    line-height: 1.15;
    min-width: 0;
}
.logo-name--script {
    font-family: var(--font-script);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}
.logo-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.header.scrolled .logo-name--script {
    color: var(--secondary);
    text-shadow: none;
}
.header.scrolled .logo-tag {
    color: var(--text-light);
    text-shadow: none;
}

.nav-list { display: flex; list-style: none; gap: 1.75rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.header.scrolled .nav-link { color: var(--text-dark); text-shadow: none; }
.nav-link:hover, .nav-link.active { color: var(--primary-light); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active { color: var(--primary); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-light);
}
.header.scrolled .nav-link.active::after { background: var(--primary); }

.mobile-menu-toggle, .mobile-menu-close {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.hamburger {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.header.scrolled .hamburger { background: var(--text-dark); box-shadow: none; }
.mobile-menu-close {
    font-size: 2rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.header.scrolled .mobile-menu-close { color: var(--text-dark); text-shadow: none; }

/* Hero — same photo + overlay treatment as Xtreme Cleaners */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('hero-interior-bright.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 88px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.52) 50%,
        rgba(0, 0, 0, 0.58) 100%
    );
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
    padding-inline: 0.25rem;
}
.hero-title {
    font-size: clamp(1.85rem, 4.5vw, 3.15rem);
    font-weight: 800;
    margin-bottom: 0.65rem;
    line-height: 1.15;
    font-family: var(--font-hero);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 1.75rem;
    opacity: 0.96;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons — MKM shape */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-submit {
    background: var(--primary);
    color: var(--white);
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}
.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Section headers — MKM */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}
.title-underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 1rem;
}
.section-subtitle { font-size: 1.125rem; color: var(--text-light); }

/* About — MKM centered copy */
.about { background: var(--gray-50); }
.about-content { max-width: 900px; margin: 0 auto; }
.about-text { text-align: center; }
.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}
.about-highlights {
    list-style: none;
    text-align: left;
    max-width: 520px;
    margin: 2rem auto 0;
    padding: 1.5rem 1.75rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
}
.about-highlights li { margin: 0.65rem 0; color: var(--text-light); }

/* Services — MKM cards */
.services { background: var(--gray-50); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(232, 146, 122, 0.28);
}
.service-card-featured {
    border: 2px solid var(--primary);
    background: linear-gradient(165deg, #f0f7ff 0%, var(--white) 100%);
    box-shadow: 0 8px 28px rgba(232, 146, 122, 0.18);
}
.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}
.service-card p { color: var(--text-light); line-height: 1.6; }

/* Portfolio — MKM-style grid */
.portfolio { background: var(--gray-50); }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.portfolio-item {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--white);
}
.portfolio-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}
.portfolio-caption {
    padding: 1rem 1.25rem 1.25rem;
    font-size: 0.98rem;
    color: var(--text-light);
    text-align: center;
    font-family: var(--font-body);
    line-height: 1.5;
}

/* Areas */
.areas { background: var(--white); }
.areas-text {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* FAQ */
.faq { background: var(--gray-50); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-item:first-child { border-top: 1px solid var(--gray-100); }
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.15rem 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-item.active .faq-answer { max-height: 18rem; }
.faq-answer p {
    padding: 0 0 1.15rem;
    color: var(--text-light);
    font-size: 1rem;
}
.faq-answer a { color: var(--primary); font-weight: 600; text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }

/* Contact — MKM two-column */
.contact { background: var(--white); }
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.contact-icon { color: var(--primary); flex-shrink: 0; }
.contact-icon svg { display: block; }
.contact-details h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}
.contact-details p { color: var(--text-light); line-height: 1.8; }
.contact-details a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
.contact-details a:hover { text-decoration: underline; }
.contact-form-wrap {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.contact-form-wrap h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-100);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 146, 122, 0.35);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Footer — MKM */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1rem;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-light);
    font-family: var(--font-heading);
}
.footer-section h4 { font-size: 1rem; font-weight: 600; }
.footer-section p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a,
.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover,
.footer-section a:hover { color: var(--primary-light); }
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Floating WhatsApp (fixed bottom-right) */
.wa-float {
    position: fixed;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    right: max(1rem, env(safe-area-inset-right, 0px));
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    pointer-events: none;
}
.wa-float > * { pointer-events: auto; }

.wa-float__bubble {
    position: relative;
    max-width: 240px;
    padding: 0.65rem 1.85rem 0.65rem 0.75rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text-dark);
}
.wa-float__bubble::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 18px;
    width: 10px;
    height: 10px;
    background: var(--white);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transform: rotate(45deg);
}
.wa-float--no-bubble .wa-float__bubble { display: none; }

.wa-float__bubble-text { margin: 0; }

.wa-float__bubble-close {
    position: absolute;
    top: 2px;
    right: 4px;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.wa-float__bubble-close:hover { color: var(--text-dark); background: var(--gray-100); }

.wa-float__btn {
    width: 56px;
    height: 56px;
    min-height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float__btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55);
    color: #fff;
}
.wa-float__icon { display: block; }

/* Scroll reveal — MKM */
.scroll-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal.stagger-children .service-card,
.scroll-reveal.stagger-children .portfolio-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.scroll-reveal.stagger-children.visible .service-card,
.scroll-reveal.stagger-children.visible .portfolio-item {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal.stagger-children .service-card:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal.stagger-children .service-card:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal.stagger-children .service-card:nth-child(3) { transition-delay: 0.15s; }
.scroll-reveal.stagger-children .service-card:nth-child(4) { transition-delay: 0.2s; }
.scroll-reveal.stagger-children .service-card:nth-child(5) { transition-delay: 0.25s; }
.scroll-reveal.stagger-children .service-card:nth-child(6) { transition-delay: 0.3s; }
.scroll-reveal.stagger-children .portfolio-item:nth-child(1) { transition-delay: 0.05s; }
.scroll-reveal.stagger-children .portfolio-item:nth-child(2) { transition-delay: 0.12s; }
.scroll-reveal.stagger-children .portfolio-item:nth-child(3) { transition-delay: 0.18s; }

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal.visible,
    .scroll-reveal.stagger-children .service-card,
    .scroll-reveal.stagger-children .portfolio-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle,
    .mobile-menu-close { display: none !important; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        padding: 5rem 2rem 2rem;
        z-index: 999;
    }
    .nav.active { right: 0; }
    .nav.active .nav-link { color: var(--text-dark); text-shadow: none; }
    .nav.active .nav-link:hover, .nav.active .nav-link.active { color: var(--primary); }
    .nav-list { flex-direction: column; gap: 1.5rem; }
    .mobile-menu-toggle { display: flex !important; }
    .mobile-menu-close {
        display: none !important;
        position: fixed;
        top: 1.5rem;
        right: 1.5rem;
        z-index: 1001;
        color: var(--text-dark) !important;
        text-shadow: none !important;
    }
    .header.mobile-nav-open .mobile-menu-toggle { display: none !important; }
    .header.mobile-nav-open .mobile-menu-close { display: flex !important; }
    .hero {
        background-attachment: scroll;
        min-height: 90vh;
    }
    .hero-content {
        padding-inline: 0.75rem;
    }
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        line-height: 1.2;
        text-wrap: balance;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .hero-buttons { flex-direction: column; align-items: center; }
    .contact-content { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .logo { max-width: min(320px, 78vw); gap: 0.55rem; }
    .logo-img-wrap { width: 58px; height: 58px; min-width: 58px; }
    .logo-name--script {
        font-size: clamp(1.2rem, 5.2vw, 1.55rem);
        white-space: normal;
        text-wrap: balance;
        max-width: 14em;
    }
    .logo-tag { font-size: 0.6rem; letter-spacing: 0.1em; }
    .wa-float__bubble { max-width: 200px; font-size: 0.8125rem; }
    .wa-float__btn { width: 52px; height: 52px; }
    .wa-float__icon { width: 26px; height: 26px; }
}
