/* ===================================
   Live Oak Home Cleaning — Stylesheet
   =================================== */

/* --- CSS Variables --- */
:root {
    --sage: #7A8B6F;
    --sage-light: #8FA383;
    --sage-dark: #6B7A60;
    --forest: #3D4F35;
    --forest-light: #4A5E41;
    --off-white: #F8F6F1;
    --cream: #EDE8DF;
    --charcoal: #2C2C2C;
    --charcoal-light: #555555;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-md: rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
}

/* Ensure the HTML hidden attribute always wins over display rules */
[hidden] { display: none !important; }

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--forest);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p {
    margin-bottom: 1rem;
    color: var(--charcoal-light);
}

a {
    color: var(--sage);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

ul {
    list-style: none;
}

/* --- Utility --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--sage);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--sage-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(122, 139, 111, 0.3);
}

.btn-full {
    width: 100%;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 1px 8px var(--shadow);
    transition: box-shadow var(--transition);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo img {
    height: 52px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--charcoal);
    position: relative;
}

.nav-links a:hover {
    color: var(--sage);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sage);
    transition: width var(--transition);
}

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

.nav-cta {
    background: var(--sage);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--sage-dark);
    color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   Hero
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(61,79,53,0.85) 0%, rgba(107,122,96,0.80) 50%, rgba(122,139,111,0.75) 100%),
                url('images/clean-kitchen-modern.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 720px;
}

.hero-logo {
    width: 450px;
    height: auto;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero .btn-primary {
    background: var(--white);
    color: var(--forest);
    font-size: 1.1rem;
    padding: 16px 40px;
}

.hero .btn-primary:hover {
    background: var(--cream);
    color: var(--forest);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===========================
   Services
   =========================== */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 4rem;
}

.service-card {
    position: relative;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px 36px;
    text-align: center;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow-md);
    border-color: var(--sage);
}

.service-card.featured {
    background: var(--white);
    border: 2px solid var(--sage);
    box-shadow: 0 8px 24px var(--shadow-md);
    transform: scale(1.03);
}

.service-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.service-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sage);
    color: var(--white);
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-icon {
    color: var(--sage);
    margin-bottom: 1.25rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-frequency {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.service-tag {
    display: inline-block;
    background: var(--cream);
    color: var(--sage-dark);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* One-time services */
.services-extra {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--cream);
}

.services-extra h3 {
    margin-bottom: 2rem;
}

.services-photo-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.services-photo-strip img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow);
}

.extra-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.extra-service {
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius);
}

.extra-service h4 {
    margin-bottom: 0.5rem;
    color: var(--sage-dark);
}

.extra-service p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===========================
   Why Us
   =========================== */
.why-us {
    padding: 100px 0;
    background: var(--off-white);
}

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

.feature {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    color: var(--sage);
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
}

.feature h4 {
    margin-bottom: 0.75rem;
    color: var(--forest);
}

.feature p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===========================
   How It Works
   =========================== */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 28px;
    max-width: 320px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--sage);
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.step h3 {
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--cream);
    margin-top: 28px;
    flex-shrink: 0;
}

/* ===========================
   About
   =========================== */
.about {
    padding: 100px 0;
    background: var(--off-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-image-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px var(--shadow-md);
    object-fit: cover;
    max-height: 320px;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.05rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.value {
    background: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius);
    border-left: 4px solid var(--sage);
}

.value h4 {
    margin-bottom: 0.5rem;
    color: var(--sage-dark);
}

.value p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===========================
   Service Area
   =========================== */
.service-area {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(61,79,53,0.88) 0%, rgba(107,122,96,0.85) 100%),
                url('images/clean-kitchen-white.jpg') center/cover no-repeat;
    text-align: center;
}

.service-area-content h2 {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.service-area-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.service-area .btn-primary {
    background: var(--white);
    color: var(--forest);
}

.service-area .btn-primary:hover {
    background: var(--cream);
    color: var(--forest);
}

/* ===========================
   Contact
   =========================== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: var(--off-white);
    padding: 40px;
    border-radius: var(--radius-lg);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--forest);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cream);
    border-radius: var(--radius);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--charcoal);
    background: var(--white);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sage);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237A8B6F' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    margin-top: 8px;
    font-size: 1.05rem;
    padding: 16px;
}

/* Contact info sidebar */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 20px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail svg {
    color: var(--sage);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-detail h4 {
    margin-bottom: 4px;
    color: var(--forest);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
}

.contact-detail p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Form success message */
.form-success {
    display: none;
    text-align: center;
    padding: 60px 40px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
}

.form-success.visible {
    display: block;
}

.form-success svg {
    color: var(--sage);
    margin-bottom: 1.5rem;
}

.form-success h3 {
    margin-bottom: 0.75rem;
}

.form-success p {
    font-size: 1.05rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--forest);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
    height: 80px;
    width: auto;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.footer-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-services h4 {
    color: var(--white);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-services li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero h1 { font-size: 2.75rem; }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-card.featured {
        transform: none;
    }

    .service-card.featured:hover {
        transform: translateY(-4px);
    }

    .extra-services-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        box-shadow: 0 8px 24px var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s ease;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        margin-top: 8px;
        display: block;
        text-align: center;
    }

    /* Hero */
    .hero { min-height: 90vh; }
    .hero h1 { font-size: 2.25rem; }
    .hero p { font-size: 1.05rem; }
    .hero-logo { width: 120px; }

    /* Sections */
    .services,
    .why-us,
    .how-it-works,
    .about,
    .contact {
        padding: 70px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-form {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.85rem; }
    .hero p { font-size: 0.95rem; }
    .hero-content { padding: 100px 16px 60px; }
    h2 { font-size: 1.75rem; }
    .section-header { margin-bottom: 2.5rem; }
}

/* ===================================
   Blog Styles
   =================================== */

/* Blog Listing Page */
.blog-hero {
    background: var(--forest);
    padding: 120px 24px 60px;
    text-align: center;
    color: var(--white);
}

.blog-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.blog-hero p {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 560px;
    margin: 0 auto;
}

.blog-listing {
    padding: 80px 24px;
    background: var(--off-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 2px 12px var(--shadow);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
    box-shadow: 0 6px 24px var(--shadow-md);
    transform: translateY(-3px);
}

.blog-card-meta {
    font-size: 0.85rem;
    color: var(--charcoal-light);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.5rem;
}

.blog-card .read-more {
    display: inline-block;
    color: var(--sage-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.blog-card .read-more:hover {
    color: var(--forest);
}

/* Blog Post Page */
.blog-post-hero {
    background: var(--forest);
    padding: 120px 24px 60px;
    text-align: center;
    color: var(--white);
}

.blog-post-hero .post-meta {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-post-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--white);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.3;
}

.blog-post-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

.blog-post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--charcoal);
    margin: 2rem 0 0.75rem;
}

.blog-post-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal-light);
    margin-bottom: 1.25rem;
}

.blog-post-content ul {
    margin: 0 0 1.25rem 1.5rem;
}

.blog-post-content ul li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--charcoal-light);
    margin-bottom: 0.5rem;
}

.blog-back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--sage-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.blog-back-link:hover {
    color: var(--forest);
}

.blog-cta {
    background: var(--forest);
    color: var(--white);
    padding: 60px 24px;
    text-align: center;
}

.blog-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.blog-cta p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .blog-hero h1 { font-size: 2rem; }
    .blog-post-hero h1 { font-size: 1.75rem; }
    .blog-grid { grid-template-columns: 1fr; }
}

/* ── Testimonials ── */
.testimonials {
    background: var(--cream);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-stars {
    color: #d4a843;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--charcoal-light);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    border-top: 1px solid var(--sage-light);
    padding-top: 1rem;
}

.testimonial-author strong {
    font-size: 0.95rem;
    color: var(--charcoal);
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--sage-dark);
}

/* ── Service Price Labels ── */
.service-price {
    font-size: 0.9rem;
    color: var(--sage-dark);
    margin: 0.25rem 0 0.5rem;
}

.service-price strong {
    color: var(--forest);
    font-size: 1rem;
}

/* ── Nav Phone ── */
.nav-phone {
    font-size: 0.9rem;
    color: var(--sage-dark) !important;
    font-weight: 600;
    text-decoration: none;
}

.nav-phone:hover {
    color: var(--forest) !important;
}

/* ── Footer Phone ── */
.footer-phone {
    margin-top: 0.4rem;
    font-size: 0.9rem;
}

.footer-phone a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-phone a:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .services-photo-strip {
        grid-template-columns: 1fr;
    }
    .services-photo-strip img {
        height: 200px;
    }
}

/* ── Pricing Calculator ── */
.pricing-calculator {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-step-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 1rem;
}

/* Service option buttons */
.service-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.service-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.9rem 0.75rem;
    background: var(--white);
    border: 2px solid var(--cream);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.service-option:hover {
    border-color: var(--sage);
    background: var(--off-white);
}

.service-option.selected {
    border-color: var(--forest);
    background: var(--forest);
}

.svc-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--forest);
    line-height: 1.2;
}

.service-option.selected .svc-name {
    color: var(--white);
}

.svc-freq {
    font-size: 0.75rem;
    color: var(--sage-dark);
    font-weight: 400;
}

.service-option.selected .svc-freq {
    color: rgba(255,255,255,0.75);
}

/* Home size buttons */
.size-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.size-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.85rem 0.5rem;
    background: var(--white);
    border: 2px solid var(--cream);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.size-option:hover {
    border-color: var(--sage);
    background: var(--off-white);
}

.size-option.selected {
    border-color: var(--forest);
    background: var(--forest);
}

.size-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--charcoal);
}

.size-option.selected .size-num {
    color: var(--white);
}

.size-unit {
    font-size: 0.7rem;
    color: var(--sage-dark);
}

.size-option.selected .size-unit {
    color: rgba(255,255,255,0.75);
}

/* Price display */
.price-display {
    background: var(--forest);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fadeSlideIn 0.3s ease;
}

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

.price-result {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-shrink: 0;
}

.price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}

.price-suffix {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
}

.price-service-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.price-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin: 0;
}

/* Booking form step */
.booking-step {
    border-top: 2px solid var(--cream);
    padding-top: 1.75rem;
    animation: fadeSlideIn 0.3s ease;
}

@media (max-width: 900px) {
    .service-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .size-options {
        grid-template-columns: repeat(2, 1fr);
    }
    .price-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .price-amount {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .service-options {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Price display layout update ── */
.price-display {
    /* override flex to use new layout */
    flex-wrap: wrap;
}

.price-right {
    flex: 1;
    min-width: 0;
}

.price-addons-summary {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin: 0.25rem 0 0.4rem;
    font-style: italic;
}

/* ── Add-Ons section ── */
.addons-step {
    animation: fadeSlideIn 0.3s ease;
}

.optional-tag {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--sage-dark);
    background: var(--cream);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    margin-left: 0.4rem;
    vertical-align: middle;
}

.addon-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.addon-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 2px solid var(--cream);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    user-select: none;
}

.addon-item:hover {
    border-color: var(--sage);
}

.addon-item input[type="checkbox"] {
    display: none;
}

.addon-check-box {
    width: 18px;
    height: 18px;
    border: 2px solid var(--sage);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    background: var(--white);
}

.addon-item input:checked ~ .addon-check-box {
    background: var(--forest);
    border-color: var(--forest);
}

.addon-item input:checked ~ .addon-check-box::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
    display: block;
}

.addon-item input:checked ~ .addon-name {
    color: var(--forest);
    font-weight: 700;
}

.addon-item.checked {
    border-color: var(--forest);
    background: var(--off-white);
}

.addon-name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--charcoal);
}

.addon-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sage-dark);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .addon-list {
        grid-template-columns: 1fr;
    }
}

/* ── Branch Basics product callout ── */
.product-callout {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.25rem 1.75rem;
    background: var(--off-white);
    border: 1.5px solid var(--sage-light);
    border-radius: var(--radius-lg);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.product-callout svg {
    flex-shrink: 0;
    color: var(--sage-dark);
}

.product-callout p {
    font-size: 0.95rem;
    color: var(--charcoal-light);
    margin: 0;
    line-height: 1.6;
}

.product-callout strong {
    color: var(--forest);
}

.product-callout a {
    color: var(--forest);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-callout a:hover {
    color: var(--sage-dark);
}

/* ── Pill selectors (replaces old card buttons) ── */
.pill-section {
    margin-bottom: 0.75rem;
}

.pill-section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sage-dark);
    margin-bottom: 0.5rem;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill-btn {
    padding: 0.55rem 1.1rem;
    background: var(--white);
    border: 1.5px solid #d9d4c9;
    border-radius: 999px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    line-height: 1.3;
}

.pill-btn em {
    font-style: normal;
    font-weight: 400;
    color: var(--sage-dark);
    margin-left: 0.3rem;
    font-size: 0.82rem;
}

.pill-btn:hover {
    border-color: var(--sage);
    background: var(--off-white);
}

.pill-btn.selected {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--white);
}

.pill-btn.selected em {
    color: rgba(255,255,255,0.7);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--forest);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.4rem;
    flex-shrink: 0;
    vertical-align: middle;
}

/* ── Deep Clean first-visit notice ── */
.first-clean-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem;
    background: #f0f4ee;
    border: 1.5px solid var(--sage-light);
    border-radius: var(--radius-lg);
    animation: fadeSlideIn 0.3s ease;
}

.fcn-icon {
    flex-shrink: 0;
    color: var(--forest);
    margin-top: 0.1rem;
}

.fcn-body {
    flex: 1;
}

.fcn-heading {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 0.2rem;
}

.fcn-text {
    font-size: 0.85rem;
    color: var(--charcoal-light);
    line-height: 1.55;
    margin: 0;
}

.fcn-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--forest);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fcn-toggle input[type="checkbox"] {
    display: none;
}

.fcn-check-box {
    width: 22px;
    height: 22px;
    border: 2px solid var(--sage);
    border-radius: 5px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s ease;
}

.fcn-toggle input:checked ~ .fcn-check-box {
    background: var(--forest);
    border-color: var(--forest);
}

.fcn-toggle input:checked ~ .fcn-check-box::after {
    content: '';
    width: 5px;
    height: 10px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
    display: block;
}

@media (max-width: 600px) {
    .first-clean-notice {
        flex-wrap: wrap;
    }
    .fcn-toggle {
        flex-direction: row;
        width: 100%;
    }
}

/* ── Booking Form Enhancements ── */
.form-row-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row-3 {
        grid-template-columns: 1fr;
    }
}

.form-section-label {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--cream);
}

.form-section-note {
    font-size: 0.85rem;
    color: var(--charcoal-light);
    line-height: 1.55;
    margin-bottom: 1rem;
}


/* ===================================
   Service Pages (Deep Clean, Move)
   =================================== */

/* ── Service Page Hero ─────────────────────────────────── */
.service-page-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(61,79,53,0.88) 0%, rgba(107,122,96,0.82) 50%, rgba(122,139,111,0.78) 100%),
                url('images/clean-kitchen-modern.jpg') center/cover no-repeat;
    overflow: hidden;
    text-align: center;
    padding: 120px 24px 80px;
}

.service-page-hero.hero-move {
    background: linear-gradient(135deg, rgba(61,79,53,0.88) 0%, rgba(107,122,96,0.82) 50%, rgba(122,139,111,0.78) 100%),
                url('images/clean-kitchen-bright.jpg') center/cover no-repeat;
}

.service-page-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.service-page-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.service-hero-logo {
    width: 220px;
    height: auto;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .service-hero-logo { width: 160px; }
}

@media (max-width: 480px) {
    .service-hero-logo { width: 130px; }
}

.service-page-hero .hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.service-page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-page-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.service-page-hero .btn-primary {
    background: var(--white);
    color: var(--forest);
    font-size: 1.05rem;
    padding: 16px 40px;
}

.service-page-hero .btn-primary:hover {
    background: var(--cream);
    color: var(--forest);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .service-page-hero { min-height: 380px; padding: 110px 24px 60px; }
    .service-page-hero h1 { font-size: 2.25rem; }
    .service-page-hero p { font-size: 1.05rem; }
}

@media (max-width: 480px) {
    .service-page-hero h1 { font-size: 1.85rem; }
    .service-page-hero p { font-size: 0.95rem; }
}

/* ── Service Detail Sections ───────────────────────────── */
.service-detail {
    padding: 80px 0;
    background-color: var(--off-white);
}

.service-detail-alt {
    background-color: var(--white);
}

/* ── Checklist Grid ────────────────────────────────────── */
.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
}

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

.checklist-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.checklist-section {
    background: var(--white);
    border: 1px solid var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.service-detail-alt .checklist-section {
    background: var(--off-white);
}

.checklist-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checklist-section h3 svg {
    stroke: var(--sage);
    flex-shrink: 0;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checklist li {
    padding-left: 1.5em;
    position: relative;
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.5;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sage);
    font-weight: 700;
    font-size: 0.9em;
}

.checklist-note {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checklist-note svg {
    stroke: var(--sage-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.checklist-note p {
    font-size: 0.9rem;
    color: var(--charcoal-light);
    line-height: 1.55;
    margin: 0;
}

/* ── Pricing Section ───────────────────────────────────── */
.pricing-section {
    padding: 80px 0;
    background-color: var(--forest);
}

.pricing-section .section-header h2,
.pricing-section .section-header p {
    color: var(--white);
}

.pricing-section .section-header p {
    opacity: 0.8;
}

.pricing-table {
    max-width: 560px;
    margin: 40px auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.pricing-header-row {
    background: rgba(255, 255, 255, 0.12) !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6) !important;
}

.pricing-amount {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.pricing-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ── Move Cards (Move-In/Out page) ────────────────────── */
.move-cards {
    margin-top: 48px;
}

/* ── Realtor Callout ───────────────────────────────────── */
.realtor-callout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    background: var(--white);
    border: 1px solid var(--cream);
    border-radius: var(--radius-lg);
    padding: 48px;
}

@media (max-width: 768px) {
    .realtor-callout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }
}

.realtor-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 1rem;
}

.realtor-text p {
    color: var(--charcoal-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.realtor-text a:not(.btn) {
    color: var(--sage-dark);
    text-decoration: underline;
}

.realtor-text .btn-secondary {
    margin-top: 12px;
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid var(--forest);
    color: var(--forest);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.realtor-text .btn-secondary:hover {
    background: var(--forest);
    color: var(--white);
}

.realtor-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* =============================================
   ADD-ONS DISPLAY — Service Page
   ============================================= */

.addons-display {
    margin-top: 56px;
    padding: 40px;
    background: var(--off-white);
    border-radius: 12px;
    border: 1px solid rgba(107,122,96,0.2);
}

.addons-display h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--forest);
    margin-bottom: 8px;
}

.addons-display-intro {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.addon-list-display {
    grid-template-columns: repeat(3, 1fr);
}

.addons-display-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

@media (max-width: 900px) {
    .addon-list-display {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .addons-display {
        padding: 24px 20px;
    }
    .addon-list-display {
        grid-template-columns: 1fr;
    }
}

/* Airbnb page hero variant */
.service-page-hero.hero-airbnb {
    background: linear-gradient(135deg, rgba(61,79,53,0.88) 0%, rgba(107,122,96,0.82) 50%, rgba(122,139,111,0.78) 100%),
                url('images/clean-kitchen-modern.jpg') center/cover no-repeat;
}

/* Service detail alt (light bg) */
.service-detail-alt {
    background: var(--off-white);
}

/* Realtors page hero variant */
.service-page-hero.hero-realtors {
    background: linear-gradient(135deg, rgba(61,79,53,0.88) 0%, rgba(107,122,96,0.82) 50%, rgba(122,139,111,0.78) 100%),
                url('images/clean-kitchen-modern.jpg') center/cover no-repeat;
}

/* Realtor trust points grid */
.realtor-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 48px;
    margin: 48px auto 48px;
    max-width: 760px;
}

.trust-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

.trust-point svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--forest);
}

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

/* =============================================
   NAV DROPDOWN — Services mega-item
   ============================================= */

.nav-has-dropdown {
    position: relative;
    align-self: stretch;   /* fill the full navbar height */
    display: flex;
    align-items: center;   /* keep "Services" text vertically centered */
}

/* Kill the underline ::after on the Services trigger — caret uses ::before instead */
.nav-has-dropdown > a::after {
    display: none !important;
}

/* Caret sits absolutely beside the text — no layout impact, no vibration */
.nav-has-dropdown > a {
    padding-right: 14px;
    position: relative;
}

.nav-has-dropdown > a::before {
    content: '▾';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65em;
    line-height: 1;
    transition: transform var(--transition);
}

.nav-has-dropdown:hover > a::before,
.nav-has-dropdown.dropdown-open > a::before {
    transform: translateY(-50%) rotate(180deg);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: -16px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 200px;
    z-index: 200;
    flex-direction: column;
    gap: 0;
    list-style: none;
}

/* Invisible bridge fills the gap so hover doesn't break mid-transit */
.nav-has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -12px;
    right: -12px;
    height: 14px;
    display: none;
}

.nav-has-dropdown:hover::after {
    display: block;
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown.dropdown-open .nav-dropdown {
    display: flex;
}

.nav-dropdown li {
    list-style: none;
}

.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    color: var(--charcoal);
    border-radius: 0;
}

.nav-dropdown a::after {
    display: none !important;
}

.nav-dropdown a:hover {
    background: var(--off-white);
    color: var(--forest);
}

/* Mobile: dropdown becomes stacked list inside open mobile menu */
@media (max-width: 900px) {
    .nav-has-dropdown:hover .nav-dropdown {
        display: none; /* disable hover on mobile */
    }

    .nav-has-dropdown.dropdown-open .nav-dropdown {
        display: flex;
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 16px;
        min-width: auto;
        border-top: none;
        border-left: 2px solid var(--sage);
        margin: 4px 0 8px;
    }

    .nav-dropdown a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}
