/* ======================================
   FreshNest Home Services (Elevate design, FreshNest brand)
   ====================================== */

/* --- Variables --- */
:root {
    --color-dark: #2E2144;
    --color-body: #4A4158;
    --color-muted: #6E6480;
    --color-light: #C9B8DF;
    --color-border: #E6DEE8;
    --color-bg: #ffffff;
    --color-bg-soft: #F8F4EE;
    --color-accent: #5B2E7E;
    --color-accent-hover: #472462;
    --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition: 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-sans);
    color: var(--color-body);
    line-height: 1.7;
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Layout --- */
.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.section-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-dark);
    margin-bottom: 48px;
}

/* ======================================
   Navigation
   ====================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-muted);
    letter-spacing: 0.04em;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-dark); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-phone {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-body);
    letter-spacing: 0.02em;
}

.nav-cta {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-dark);
    padding: 10px 22px;
    border-radius: 4px;
    transition: background var(--transition);
}
.nav-cta:hover { background: #472462; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--color-dark);
    transition: all var(--transition);
}

/* ======================================
   Hero — Original Bold Style
   ====================================== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 130px 0 90px;
    background: linear-gradient(180deg, #FDFBF7 0%, #F6EFE7 55%, #EBE2F4 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(169,139,201,0.16), transparent 70%),
        radial-gradient(rgba(91,46,126,0.05) 1px, transparent 1px);
    background-size: auto, 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 25%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 80% at 50% 25%, #000 40%, transparent 100%);
}
.hero-logo {
    display: block;
    margin: 0 auto 30px;
    width: 150px;
    height: auto;
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 0 24px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: rgba(201,161,90,0.14);
    border: 1px solid rgba(201,161,90,0.45);
    border-radius: 100px;
    color: #5B2E7E;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Headline */
.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    color: #2E2144;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-accent {
    font-style: italic;
    background: linear-gradient(135deg, #5B2E7E 0%, #7C4FA8 55%, #A98BC9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subheadline */
.hero-sub {
    font-size: 1.15rem;
    font-weight: 300;
    color: #4A4158;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
    letter-spacing: 0.01em;
}

/* CTAs */
.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 0;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #5B2E7E 0%, #7C4FA8 100%);
    padding: 16px 36px;
    border-radius: 100px;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(124,79,168,0.4);
}
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(124,79,168,0.5);
}

.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: #5B2E7E;
    background: transparent;
    border: 2px solid rgba(91,46,126,0.3);
    padding: 14px 32px;
    border-radius: 100px;
    transition: all var(--transition);
}
.hero-btn-outline:hover {
    border-color: rgba(91,46,126,0.55);
    background: rgba(91,46,126,0.05);
}

/* Hero city ribbon */
.hero-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    overflow: hidden;
    padding: 20px 0;
    border-top: 1px solid rgba(91,46,126,0.1);
    background: rgba(255,255,255,0.55);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.hero-ribbon-track {
    display: flex;
    align-items: center;
    animation: hero-city-scroll 25s linear infinite;
    width: max-content;
}

.hero-ribbon-track span {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(91,46,126,0.8);
    white-space: nowrap;
    padding: 0 10px;
    letter-spacing: -0.01em;
}

.hero-ribbon-dot {
    color: rgba(91,46,126,0.3) !important;
    font-size: 0.8rem !important;
    padding: 0 6px !important;
}

@keyframes hero-city-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-ribbon:hover .hero-ribbon-track {
    animation-play-state: paused;
}

/* ======================================
   Before & After Gallery — Polished
   ====================================== */
.proof-gallery {
    padding: 120px 0;
    background: var(--color-bg-soft);
}

.proof-gallery-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.proof-header {
    text-align: center;
    margin-bottom: 56px;
}

.proof-subtitle {
    font-size: 1rem;
    color: var(--color-muted);
    margin-top: -32px;
    letter-spacing: 0.01em;
}

.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* One photo spans full width for visual variety */
.ba-photo-wide {
    grid-column: 1 / -1;
}

.ba-photo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-border);
}

.ba-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.ba-photo:hover img {
    transform: scale(1.04);
}

/* Gradient overlay on hover */
.ba-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 12px;
}

.ba-photo:hover::after {
    opacity: 1;
}

/* Label that reveals on hover */
.ba-photo-label {
    position: absolute;
    bottom: 20px;
    left: 24px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease;
    z-index: 2;
}

.ba-photo:hover .ba-photo-label {
    opacity: 1;
    transform: translateY(0);
}

/* Shadow treatment */
.ba-photo {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.4s ease;
}

.ba-photo:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

@media (max-width: 600px) {
    .ba-grid { grid-template-columns: 1fr; }
    .ba-photo-wide { grid-column: auto; }
    .proof-gallery { padding: 80px 0; }
    .ba-photo-label { opacity: 1; transform: translateY(0); }
    .ba-photo::after { opacity: 1; }
}

.proof-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.82rem;
    color: var(--color-muted);
    letter-spacing: 0.02em;
}

/* ======================================
   Positioning Statement
   ====================================== */
.statement {
    padding: 120px 0;
}

.statement-text {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-dark);
    text-align: center;
    letter-spacing: -0.01em;
}

/* ======================================
   Services
   ====================================== */
.services {
    padding: 100px 0 120px;
    background: var(--color-bg-soft);
}

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px 80px;
    margin-bottom: 64px;
}

.service-item h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-item p {
    font-size: 0.95rem;
    color: var(--color-body);
    line-height: 1.75;
}

.services-contact {
    font-size: 0.95rem;
    color: var(--color-muted);
    text-align: center;
}

.services-contact a {
    color: var(--color-accent);
    font-weight: 500;
    transition: color var(--transition);
}
.services-contact a:hover {
    color: var(--color-accent-hover);
}

/* ======================================
   Reviews — Marquee
   ====================================== */
.reviews {
    padding: 100px 0 80px;
    overflow: hidden;
}

.reviews-rating {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-muted);
    letter-spacing: 0.06em;
    margin-bottom: 48px;
    transition: color var(--transition);
}
.reviews-rating:hover { color: var(--color-accent); }

.marquee-wrap {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 24px;
    animation: marquee-scroll 40s linear infinite;
    width: max-content;
}

.marquee-card {
    flex-shrink: 0;
    width: 380px;
    padding: 36px 32px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.marquee-card p {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.75;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.marquee-card cite {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-wrap:hover .marquee-track {
    animation-play-state: paused;
}

/* ======================================
   Service Areas — Scrolling Ribbon
   ====================================== */
.areas {
    padding: 100px 0 80px;
    background: var(--color-bg-soft);
    overflow: hidden;
}

.areas-text {
    font-size: 1rem;
    color: var(--color-body);
    line-height: 1.8;
    margin-bottom: 48px;
    text-align: center;
}

.city-ribbon {
    width: 100%;
    overflow: hidden;
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.city-ribbon-track {
    display: flex;
    align-items: center;
    gap: 0;
    animation: city-scroll 25s linear infinite;
    width: max-content;
}

.city-ribbon-track span {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 400;
    color: var(--color-dark);
    white-space: nowrap;
    padding: 0 12px;
    letter-spacing: -0.01em;
}

.city-dot {
    color: var(--color-light) !important;
    font-size: 1rem !important;
    padding: 0 8px !important;
}

@keyframes city-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.city-ribbon:hover .city-ribbon-track {
    animation-play-state: paused;
}

/* ======================================
   Service Checklists (expandable)
   ====================================== */
.service-details {
    margin-top: 16px;
    border-top: 1px solid var(--color-border);
    padding-top: 4px;
}

.service-details summary {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    cursor: pointer;
    padding: 12px 0;
    transition: color var(--transition);
    list-style: none;
}
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary::after {
    content: ' +';
    font-weight: 400;
}
.service-details[open] summary::after {
    content: ' −';
}
.service-details summary:hover { color: var(--color-accent-hover); }

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 40px;
    padding: 16px 0 8px;
}

.checklist-col h4 {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-dark);
    margin-bottom: 10px;
    margin-top: 16px;
}
.checklist-col h4:first-child { margin-top: 0; }

.checklist-col ul {
    list-style: none;
    padding: 0;
}

.checklist-col li {
    font-size: 0.82rem;
    color: var(--color-body);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.checklist-col li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 0.7rem;
    font-weight: 700;
}

@media (max-width: 480px) {
    .checklist-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ======================================
   FAQ
   ====================================== */
.faq {
    padding: 100px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
    cursor: pointer;
    padding: 20px 0;
    transition: color var(--transition);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-muted);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform var(--transition);
}
.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover { color: var(--color-accent); }

.faq-item p {
    font-size: 0.92rem;
    color: var(--color-body);
    line-height: 1.75;
    padding: 0 0 20px;
    max-width: 640px;
}

/* ======================================
   Contact Guarantee
   ====================================== */
.contact-guarantee {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.03em;
    padding: 12px 16px;
    background: rgba(91, 46, 126, 0.06);
    border: 1px solid rgba(91, 46, 126, 0.12);
    border-radius: 6px;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* ======================================
   Contact
   ====================================== */
.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-sub {
    font-size: 1rem;
    color: var(--color-body);
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-muted);
}

.contact-detail a,
.contact-detail span {
    font-size: 0.95rem;
    color: var(--color-dark);
    font-weight: 500;
}

.contact-detail a:hover {
    color: var(--color-accent);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--color-bg-soft);
    padding: 40px;
    border-radius: 8px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
}

.form-field input,
.form-field select {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background: #fff;
    color: var(--color-dark);
    transition: border-color var(--transition);
    outline: none;
    width: 100%;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--color-dark);
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-btn {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-dark);
    border: none;
    padding: 16px 32px;
    border-radius: 4px;
    cursor: pointer;
    transition: background var(--transition);
    margin-top: 8px;
}
.form-btn:hover { background: #472462; }

.form-note {
    font-size: 0.78rem;
    color: var(--color-muted);
    text-align: center;
}

/* ======================================
   Footer
   ====================================== */
.footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.5);
    padding: 80px 0 32px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-col a,
.footer-col span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 10px;
    transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

/* ======================================
   Animations & Interactions
   ====================================== */

/* Base scroll reveal */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Nav scroll state */
.nav-scrolled {
    background: rgba(255,255,255,0.96) !important;
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

/* Section title — letter-by-letter reveal */
.title-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.title-animate .title-char {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery photo — scale reveal */
.ba-photo {
    transform: scale(0.94);
    opacity: 0;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease, box-shadow 0.4s ease;
}

.ba-photo-revealed {
    transform: scale(1) !important;
    opacity: 1 !important;
}

/* FAQ smooth height animation */
.faq-item p {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.faq-item[open] p {
    max-height: 200px;
    opacity: 1;
}

/* Magnetic button transition reset */
.hero-btn-primary,
.hero-btn-outline,
.nav-cta {
    transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Mobile hamburger animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Service details expand animation */
.service-details[open] {
    animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0.5; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form field focus glow */
.form-field input:focus,
.form-field select:focus {
    border-color: var(--color-dark);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

/* Form button press effect */
.form-btn:active {
    transform: scale(0.97);
}

/* Review card hover lift */
.marquee-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.marquee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* City pill hover in service areas */
.city-ribbon-track span {
    transition: color 0.3s ease;
}
.city-ribbon:hover .city-ribbon-track span:not(.city-dot) {
    color: var(--color-dark);
}

/* Smooth page load */
body {
    animation: pageLoad 0.6s ease;
}

@keyframes pageLoad {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contact detail hover */
.contact-detail a {
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.contact-detail a:hover {
    transform: translateX(2px);
}

/* Footer link hover */
.footer-col a {
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.footer-col a:hover {
    transform: translateX(3px);
    color: #fff;
}

/* ======================================
   21st.dev-Inspired Effects
   ====================================== */

/* --- Border Beam on Contact Form --- */
.contact-form {
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9px;
    background: conic-gradient(from var(--beam-angle, 0deg), transparent 0%, transparent 70%, rgba(91,46,126,0.5) 80%, rgba(169,139,201,0.8) 85%, rgba(91,46,126,0.5) 90%, transparent 100%);
    z-index: -1;
    animation: borderBeam 4s linear infinite;
}

@property --beam-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes borderBeam {
    to { --beam-angle: 360deg; }
}

/* Fallback for browsers without @property */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
    .contact-form::before { display: none; }
}

/* --- Dot Grid Background for Services --- */
.services {
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--color-light) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

/* --- Glassmorphism Review Cards --- */
.marquee-card {
    background: rgba(248,244,238,0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(230,222,232,0.5) !important;
}

.marquee-card:hover {
    background: rgba(255,255,255,0.9) !important;
    border-color: rgba(201,184,223,0.6) !important;
}

/* --- Glow effect on hero CTA --- */
.hero-btn-primary {
    position: relative;
}

.hero-btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(169,139,201,0.45), rgba(91,46,126,0.4));
    filter: blur(16px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.hero-btn-primary:hover::after {
    opacity: 1;
}

/* --- Animated underline on nav links --- */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-dark);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Shine sweep on gallery photos --- */
.ba-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-15deg);
    transition: left 0.6s ease;
    z-index: 1;
    pointer-events: none;
}

.ba-photo:hover::before {
    left: 125%;
}

/* --- Pulse on hero badge --- */
.hero-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(91,46,126,0.12); }
    50% { box-shadow: 0 0 0 8px rgba(91,46,126,0); }
}

/* ======================================
   Responsive
   ====================================== */
@media (max-width: 768px) {
    .nav-links, .nav-right { display: none; }
    .nav-toggle { display: flex; }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        padding: 32px 24px;
        gap: 24px;
        z-index: 999;
    }
    .nav-links.active a {
        font-size: 1.1rem;
        color: var(--color-dark);
    }

    .hero { min-height: auto; padding: 140px 0 80px; }
    .hero-headline { font-size: 2.2rem; }
    .hero-sub { font-size: 0.95rem; }
    .hero-sub br { display: none; }

    .hero-ctas {
        flex-direction: column;
    }
    .hero-ctas a { width: 100%; text-align: center; }

    .hero-ribbon-track span {
        font-size: 0.9rem;
    }

    .proof-gallery-inner {
        padding: 0 16px;
    }

    .services-list {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-row { grid-template-columns: 1fr; }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .statement { padding: 80px 0; }
    .services, .reviews, .areas, .contact { padding: 80px 0; }
    .proof { padding: 80px 0 60px; }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 2.2rem; }
    .statement-text { font-size: 1.15rem; }
    .contact-form { padding: 24px; }
}

/* --- FreshNest brand additions --- */
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; width: auto; }
.footer-logo-img { height: 30px; width: auto; display: inline-block; vertical-align: middle; margin-right: 8px; filter: brightness(0) invert(1) opacity(0.9); }

/* --- mobile hero video fix: no parallax drift, video pinned and covering --- */
@media (max-width: 768px) {
    .hero-inner {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* --- mobile: content is never hidden behind reveal animations --- */
@media (max-width: 768px) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .ba-photo { opacity: 1; transform: scale(1); }
    .section-title span {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Welcome gift section --- */
.gift { padding: 100px 0; background: var(--color-bg-soft); }
.gift-lead { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.7; color: var(--color-dark); max-width: 640px; }
.gift-options { margin: 28px 0 20px; display: flex; flex-wrap: wrap; gap: 12px; }
.gift-options li { background: #fff; border: 1px solid var(--color-border); border-radius: 100px; padding: 10px 22px; font-size: 0.9rem; font-weight: 500; color: var(--color-dark); }
.gift-fineprint { font-size: 0.78rem; color: var(--color-muted); max-width: 560px; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 16px; font-size: 0.8rem; color: var(--color-muted); line-height: 1.5; cursor: pointer; }
.form-consent input { margin-top: 3px; accent-color: var(--color-accent); }
/* form select/option contrast (critique: unselected options too pale) */
.contact-form select, .contact-form input { color: var(--color-dark); }
.contact-form select:invalid { color: var(--color-muted); }
@media (max-width: 768px) { .gift { padding: 72px 0; } }

.areas-note { font-size: 0.85rem; color: var(--color-muted); margin-top: 10px; }

/* --- Founder section: the homepage's dark moment --- */
.founder { padding: 110px 0; background: linear-gradient(135deg, #2E2144 0%, #472462 55%, #5B2E7E 100%); position: relative; overflow: hidden; }
.founder::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(235,226,244,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(235,226,244,0.06) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 80% 100%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 80% 100%, #000 20%, transparent 75%); }
.founder .container-narrow { position: relative; }
.founder-grid { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: center; }
.founder-photo img { width: 100%; height: auto; border-radius: 18px; border: 1px solid rgba(201,161,90,0.35); box-shadow: 0 24px 64px rgba(0,0,0,0.35); }
.founder .section-title { color: #fff; }
.founder .section-title::after { background: var(--color-gold, #C9A15A); }
.founder-text p.founder-lead { font-family: var(--font-serif); font-size: 1.5rem; color: #F6EFE7; margin-bottom: 16px; font-style: italic; }
.founder-text p { margin-bottom: 14px; max-width: 560px; color: rgba(246,239,231,0.82); }
.founder-text p.founder-sign { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #C9A15A; margin-top: 22px; }
@media (max-width: 768px) {
    .founder { padding: 72px 0; }
    .founder-grid { grid-template-columns: 1fr; gap: 32px; }
    .founder-photo { max-width: 280px; margin: 0 auto; }
}

.hero-gift-line { color: #9C742B; font-size: 0.95em; font-weight: 500; }
.gift-select-note { font-weight: 600; color: var(--color-dark); margin: 24px 0 4px; }
.qgift { margin-top: 8px; font-size: 0.9rem; color: var(--color-accent); font-weight: 500; }

/* --- 2026-08-11 launch-feedback components --- */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.hero-badges .hero-badge { margin-bottom: 0; }
.hero-badge--247 { background: rgba(91,46,126,0.08); border-color: rgba(91,46,126,0.25); color: #472462; font-weight: 600; }
.calltext-row { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }
.ct-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: #5B2E7E; border: 1.5px solid rgba(91,46,126,0.3); border-radius: 100px; padding: 11px 22px; transition: all var(--transition); }
.ct-btn:hover { background: rgba(91,46,126,0.06); border-color: rgba(91,46,126,0.55); }
.trust-points { margin-top: 22px; font-size: 0.78rem; color: #655B77; letter-spacing: 0.02em; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.9; }
.tp-dot { padding: 0 7px; color: #C9A15A; }
.price-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 10px; }
.price-tile { background: #fff; border: 1px solid var(--color-border); border-left: 3px solid #5B2E7E; border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.pt-name { font-weight: 600; color: var(--color-dark); font-size: 0.95rem; }
.pt-price { font-family: var(--font-serif); font-size: 1.25rem; color: #5B2E7E; }
.price-note { font-size: 0.8rem; color: var(--color-muted); margin-bottom: 36px; }
.sticky-price { display: none; }
@media (max-width: 768px) {
    .price-tiles { grid-template-columns: 1fr; }
    .sticky-price { display: flex; align-items: center; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90; background: linear-gradient(135deg, #5B2E7E 0%, #7C4FA8 100%); color: #fff; font-weight: 600; font-size: 1rem; padding: 16px; border-radius: 100px; box-shadow: 0 8px 28px rgba(46,33,68,0.35); }
    body { padding-bottom: 84px; }
    body.no-sticky { padding-bottom: 0; }
}

.promo-msg { font-size: 0.8rem; color: var(--color-muted); margin-top: 6px; }
.promo-msg--ok { color: #5B2E7E; font-weight: 600; }
.qcard input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 48px; }

/* --- comparison chart + add-ons --- */
.compare { padding: 90px 0; background: var(--color-bg-soft); }
.compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--color-border); border-radius: 14px; background: #fff; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--color-border); }
.compare-table td:first-child, .compare-table th:first-child { text-align: left; }
.compare-table thead th { font-family: var(--font-serif); font-size: 1rem; color: var(--color-dark); background: #F6EFE7; }
.ct-price { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 600; color: #5B2E7E; letter-spacing: 0.04em; text-transform: uppercase; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:not(:first-child) { color: #5B2E7E; font-weight: 600; }
.addons-title { font-family: var(--font-serif); font-size: 1.2rem; color: var(--color-dark); margin: 36px 0 14px; }
.addons-row { display: flex; flex-wrap: wrap; gap: 10px; }
.addons-row span { background: #fff; border: 1px solid var(--color-border); border-radius: 100px; padding: 9px 18px; font-size: 0.85rem; color: var(--color-dark); }

/* --- real before/after pairs --- */
.ba-pairs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ba-pair { margin: 0; }
.ba-pair-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-items: stretch; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 40px rgba(46,33,68,0.14); }
.ba-half { position: relative; overflow: hidden; }
.ba-half img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; display: block; }
.ba-tag { position: absolute; bottom: 10px; left: 10px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; backdrop-filter: blur(6px); }
.ba-tag-before { background: rgba(46,33,68,0.72); color: #fff; }
.ba-tag-after { background: rgba(201,161,90,0.92); color: #2E2144; }
.ba-pair figcaption { margin-top: 14px; text-align: center; font-family: var(--font-serif); font-size: 1.05rem; color: var(--color-dark); }
@media (max-width: 900px) { .ba-pairs { grid-template-columns: 1fr; gap: 32px; max-width: 460px; margin: 0 auto; } }

/* --- Jobber embed inside the contact section --- */
.contact-jobber { background: #fff; border: 1px solid var(--color-border); border-radius: 18px; padding: 22px; box-shadow: 0 8px 32px rgba(46,33,68,0.07); }
@media (max-width: 768px) { .contact-jobber { padding: 12px; } }

/* --- Jobber embed: force usable height ---
   Jobber's snippet does not reliably auto-size its iframe on our pages,
   which collapsed it to ~40px and made the quote form invisible.
   A generous min-height guarantees the form is usable; if Jobber's own
   resize messaging starts working it can still grow beyond this. */
.book-card iframe,
.contact-jobber iframe {
    width: 100%;
    min-height: 1180px;
    border: 0;
    display: block;
}
@media (max-width: 900px) {
    .book-card iframe,
    .contact-jobber iframe { min-height: 1450px; }
}
@media (max-width: 480px) {
    .book-card iframe,
    .contact-jobber iframe { min-height: 1620px; }
}
