/* ═══════════════════════════════════════════════
   LD House Cleaning Services — Professional Preview
   Design system: Minimalism & Swiss (ui-ux-pro-max)
   Navy primary / sky-blue accent / light background
   ═══════════════════════════════════════════════ */

:root {
    --primary: #0F172A;
    --secondary: #334155;
    --accent: #0369A1;
    --accent-hover: #0284C7;
    --background: #F8FAFC;
    --foreground: #020617;
    --muted: #E8ECF1;
    --border: #E2E8F0;
    --card: #FFFFFF;
    --text-body: #475569;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.10);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font-head: 'Poppins', system-ui, sans-serif;
    --font-body: 'Open Sans', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--foreground);
    line-height: 1.2;
    font-weight: 600;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
.accent { color: var(--accent); }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ───── Preview badge ───── */
.preview-badge {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
}
.preview-badge button {
    background: none; border: none; color: #94A3B8; font-size: 16px; line-height: 1;
}
.preview-badge button:hover { color: #fff; }

/* ───── Buttons ───── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--muted); color: var(--primary); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ───── Header ───── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--foreground); }
.brand:hover { color: var(--foreground); }
.brand-mark {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand-text em { font-style: normal; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--secondary); font-weight: 500; font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--accent); }

.nav-toggle {
    display: none;
    background: none; border: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--foreground); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ───── Hero ───── */
.hero { padding: 150px 0 80px; background: var(--background); }
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(3, 105, 161, 0.08);
    border: 1px solid rgba(3, 105, 161, 0.18);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 18px; letter-spacing: -0.02em; }
.hero-sub { font-size: 17px; max-width: 52ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.hero-trust { display: flex; flex-direction: column; gap: 10px; }
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--secondary); }
.hero-trust svg { width: 18px; height: 18px; color: var(--accent); }

.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.hero-card {
    position: absolute;
    left: 20px; bottom: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: var(--shadow-md);
    font-size: 14px;
    color: var(--secondary);
}
.hero-card-rating { display: flex; gap: 3px; color: #F59E0B; margin-bottom: 4px; }
.hero-card-rating svg { width: 16px; height: 16px; }

/* ───── Stats ───── */
.stats { background: var(--primary); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: #fff; display: block; }
.stat-text { font-size: 1.8rem; }
.stat-label { color: #94A3B8; font-size: 14px; }

/* ───── Section headers ───── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; letter-spacing: -0.01em; }

/* ───── Services ───── */
.services { padding: 96px 0; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.service-card-featured { border-top: 3px solid var(--accent); }
.service-icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    background: rgba(3, 105, 161, 0.09);
    color: var(--accent);
    border-radius: 12px;
    margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { font-size: 15px; }

.service-details { margin-top: 16px; border-top: 1px dashed var(--border); }
.service-details summary {
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
    padding: 14px 0 4px;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary::after {
    content: '+';
    font-size: 16px;
    margin-left: auto;
    transition: transform var(--transition);
}
.service-details[open] summary::after { transform: rotate(45deg); }
.service-details ul { padding: 10px 0 4px; display: grid; gap: 7px; }
.service-details li {
    font-size: 14px;
    padding-left: 20px;
    position: relative;
}
.service-details li::before {
    content: '';
    position: absolute;
    left: 2px; top: 9px;
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
}

/* ───── Results (before/after) ───── */
.results { padding: 96px 0; background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.result-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.result-img { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.result-img img { aspect-ratio: 5 / 6; object-fit: cover; transition: transform 0.4s ease; }
.result-img:hover img { transform: scale(1.03); }
.result-img figcaption {
    position: absolute;
    top: 10px; left: 10px;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
}
.result-before figcaption { background: #FEE2E2; color: #B91C1C; }
.result-after figcaption { background: #DCFCE7; color: #15803D; }

/* ───── About ───── */
.about { padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 8px 0 18px; letter-spacing: -0.01em; }
.about-copy p { margin-bottom: 14px; }
.about-values { margin: 22px 0 30px; display: grid; gap: 12px; }
.about-values li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--secondary); font-size: 15px; }
.about-values svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* ───── Reviews ───── */
.reviews { padding: 96px 0; background: var(--card); border-top: 1px solid var(--border); }
.review-summary { font-weight: 600; color: var(--secondary); }
.big-star { color: #F59E0B; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.review-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-stars { color: #F59E0B; letter-spacing: 2px; font-size: 15px; }
.review-time { font-size: 12px; color: #94A3B8; }
.review-card p { font-size: 14.5px; }

/* ───── CTA band ───── */
.cta-band { background: var(--primary); padding: 80px 0; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.cta-inner p { color: #94A3B8; max-width: 56ch; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ───── Contact ───── */
.contact { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 8px 0 14px; letter-spacing: -0.01em; }
.contact-list { margin-top: 28px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
    width: 42px; height: 42px;
    flex-shrink: 0;
    display: grid; place-items: center;
    background: rgba(3, 105, 161, 0.09);
    color: var(--accent);
    border-radius: 10px;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--foreground); font-family: var(--font-head); font-size: 14px; }
.contact-list a { font-size: 15px; }
.contact-list p { font-size: 15px; }
.social-links a { font-weight: 600; }

.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--foreground); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    color: var(--foreground);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.12);
}
.form-note { margin-top: 12px; font-size: 14px; font-weight: 600; }
.form-note.success { color: #15803D; }
.form-note.error { color: #B91C1C; }

/* ───── Footer ───── */
.site-footer { background: var(--primary); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #fff; margin-bottom: 10px; }
.footer-logo em { font-style: normal; color: #38BDF8; }
.footer-brand p:last-child { color: #94A3B8; font-size: 14px; max-width: 38ch; }
.footer-heading { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.footer-links ul { display: grid; gap: 9px; }
.footer-links a { color: #94A3B8; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #64748B;
}
.footer-preview a { color: #94A3B8; text-decoration: underline; }

/* ───── Reveal animation ───── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation: none !important; transition: none !important; }
}

/* ───── Responsive ───── */
@media (max-width: 960px) {
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 72px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 20px 6%;
        gap: 16px;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links .btn { justify-content: center; }
    .hero { padding: 120px 0 60px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .result-pair { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; }
    .cta-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 1.9rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .brand-text { font-size: 15px; }
}
