/* ============================================
   Reliable Cleaning Seattle — v2
   No-pricing, human-first design
   Palette: Forest green + cream + terracotta
   ============================================ */

:root {
    --forest: #1a3c34;
    --forest-dark: #102521;
    --forest-light: #2f5a4f;
    --cream: #faf6ef;
    --cream-dark: #f0e9dc;
    --terracotta: #c8634a;
    --terracotta-soft: #e89b85;
    --gold: #c9a961;
    --ink: #1a1a1a;
    --ink-soft: #3d3d3d;
    --muted: #8a8a85;
    --line: #e4ddd0;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Outfit', -apple-system, sans-serif;

    --container: 1280px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 8px rgba(26, 60, 52, 0.06);
    --shadow-md: 0 10px 30px rgba(26, 60, 52, 0.08);
    --shadow-lg: 0 25px 60px rgba(26, 60, 52, 0.12);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset & base ===== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--forest);
    margin: 0 0 1rem;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }

p { color: var(--ink-soft); margin: 0 0 1rem; }

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

img { max-width: 100%; display: block; }

.container-custom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.2rem, 4vw, 3rem);
}

.italic-serif {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
}

/* ===== Eyebrow labels ===== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 1.25rem;
}

.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: currentColor;
}

.eyebrow-light { color: var(--terracotta-soft); }

/* ===== Buttons ===== */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--forest);
    color: var(--cream);
    padding: 16px 30px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: none;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--terracotta);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
    z-index: 0;
}

.btn-primary-custom span,
.btn-primary-custom svg,
.btn-primary-custom i { position: relative; z-index: 1; }

.btn-primary-custom:hover {
    color: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary-custom:hover::before { transform: translateY(0); }

.btn-block { width: 100%; justify-content: center; margin-top: 0.5rem; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--forest);
    padding: 12px 0;
    font-weight: 500;
    border-bottom: 1px solid var(--forest);
    transition: all 0.3s var(--ease);
}

.btn-ghost:hover {
    color: var(--terracotta);
    border-color: var(--terracotta);
    gap: 16px;
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cream);
    padding: 14px 24px;
    font-weight: 500;
    border: 1px solid rgba(250, 246, 239, 0.3);
    border-radius: 100px;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease);
}

.btn-ghost-light:hover {
    background: var(--cream);
    color: var(--forest);
    border-color: var(--cream);
}

/* ===== Navbar ===== */
.navbar-custom {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease);
    background: transparent;
}

.navbar-custom.on-light {
    background: rgba(250, 246, 239, 0.92);
    backdrop-filter: blur(20px);
}

.navbar-custom.scrolled {
    background: rgba(250, 246, 239, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.85rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: -0.03em;
    transition: color 0.3s var(--ease);
}

.nav-logo .accent-word { font-style: italic; color: var(--terracotta-soft); }

.navbar-custom.scrolled .nav-logo,
.navbar-custom.on-light .nav-logo { color: var(--forest); }

.navbar-custom.scrolled .nav-logo .accent-word,
.navbar-custom.on-light .nav-logo .accent-word { color: var(--terracotta); }

.nav-menu {
    display: flex;
    gap: 2.25rem;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
}

.nav-menu a {
    color: var(--cream);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s var(--ease);
}

.navbar-custom.scrolled .nav-menu a,
.navbar-custom.on-light .nav-menu a { color: var(--forest); }

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--terracotta);
    transition: width 0.3s var(--ease);
}

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

.nav-hours {
    font-size: 0.78rem;
    color: rgba(250, 246, 239, 0.75);
    letter-spacing: 0.05em;
}

.navbar-custom.scrolled .nav-hours,
.navbar-custom.on-light .nav-hours { color: var(--muted); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s var(--ease);
}

.navbar-custom.scrolled .nav-toggle span,
.navbar-custom.on-light .nav-toggle span { background: var(--forest); }

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 3rem;
        transition: right 0.4s var(--ease);
        box-shadow: var(--shadow-lg);
        z-index: 1050;
    }
    .nav-menu.open,
    .nav-menu.active { right: 0; }
    .nav-menu a { font-size: 1.4rem; font-family: var(--font-display); color: var(--forest); }
    .nav-toggle { display: flex; z-index: 1051; }
    .nav-hours { display: none; }
}

/* ===== Hero with image ===== */
.hero {
    /* min-height accounts for fixed top bar (38px) + we want content centered */
    min-height: calc(100vh - 38px);
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--forest);
    margin-top: -38px; /* offset the body padding-top so hero fills viewport */
    padding-top: calc(8rem + 38px);
}

.hero-image {
    background-image:
        linear-gradient(135deg, rgba(16,37,33,0.75) 0%, rgba(26,60,52,0.55) 60%, rgba(200,99,74,0.4) 100%),
        url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=1920&q=80'),
        url('assets/img/hero.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mobile: hero with vertical-friendly Unsplash crop + smaller image */
@media (max-width: 768px) {
    .hero-image {
        background-image:
            linear-gradient(180deg, rgba(16,37,33,0.55) 0%, rgba(16,37,33,0.85) 100%),
            url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=800&h=1200&q=75'),
            url('assets/img/hero.svg');
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(16,37,33,0.4) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 720px;
    color: var(--cream);
}

.hero-headline {
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-headline .accent {
    font-style: italic;
    font-weight: 300;
    color: var(--terracotta-soft);
}

.hero-sub {
    font-size: 1.15rem;
    max-width: 560px;
    margin-bottom: 2.5rem;
    color: rgba(250, 246, 239, 0.88);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(250, 246, 239, 0.75);
    flex-wrap: wrap;
}

.hero-meta strong { color: var(--cream); }

.hero-meta .dot { color: var(--terracotta-soft); }

.scroll-hint {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    color: rgba(250,246,239,0.6);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    z-index: 2;
    animation: scrollDown 2.5s infinite var(--ease);
}

@keyframes scrollDown {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.5; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

@media (max-width: 700px) {
    .hero { min-height: auto; padding: 7rem 0 4rem; }
    .scroll-hint { display: none; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta a { justify-content: center; }
}

/* ===== Section base ===== */
.section {
    padding: clamp(4rem, 9vw, 7rem) 0;
    position: relative;
}

.section-cream { background: var(--cream-dark); }

.section-dark {
    background: var(--forest);
    color: var(--cream);
}

.section-dark h2,
.section-dark h3 { color: var(--cream); }

.section-dark p { color: rgba(250, 246, 239, 0.78); }

.section-header {
    max-width: 720px;
    margin-bottom: 3.5rem;
}

.section-header.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header.centered .eyebrow {
    justify-content: center;
}

.section-header.centered .eyebrow::after {
    content: '';
    width: 32px;
    height: 1px;
    background: currentColor;
}

.section-header h2 .accent {
    font-style: italic;
    color: var(--terracotta);
    font-weight: 300;
}

.section-header .accent-light {
    font-style: italic;
    color: var(--terracotta-soft);
    font-weight: 300;
}

.section-lead {
    font-size: 1.1rem;
    max-width: 560px;
    margin: 1rem auto 0;
}

/* ===== Image placeholders ===== */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background:
        repeating-linear-gradient(45deg, var(--cream-dark), var(--cream-dark) 12px, var(--cream) 12px, var(--cream) 24px);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--muted);
    text-align: center;
    padding: 1rem;
}

.img-placeholder i { width: 28px; height: 28px; opacity: 0.5; }
.img-placeholder small { font-size: 0.75rem; letter-spacing: 0.05em; opacity: 0.7; }

.img-placeholder-tall { aspect-ratio: 4/5; min-height: 400px; }
.img-placeholder-square { aspect-ratio: 1; min-height: 240px; border-radius: var(--radius); }

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img {
    width: 100%;
    aspect-ratio: 4/5;
    min-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg, 18px);
    display: block;
    box-shadow: var(--shadow-lg);
}

.about-quote-card {
    position: absolute;
    bottom: -1.5rem; right: -1.5rem;
    background: var(--forest);
    color: var(--cream);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius);
    max-width: 280px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.4;
    box-shadow: var(--shadow-lg);
}

.about-text p {
    font-size: 1.08rem;
    margin-bottom: 1.25rem;
}

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

.pillar {
    padding: 1.25rem;
    background: var(--cream-dark);
    border-radius: var(--radius);
    text-align: left;
}

.pillar i {
    width: 22px; height: 22px;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.pillar strong {
    display: block;
    font-family: var(--font-display);
    color: var(--forest);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.pillar small {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.4;
    display: block;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-quote-card { right: 0; bottom: -1rem; }
    .about-pillars { grid-template-columns: 1fr; }
}

/* ===== Services V2 ===== */
.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 1.75rem;
}

.service-card-v2 {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    transition: all 0.5s var(--ease);
}

.service-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card-v2.is-featured {
    border-color: var(--forest);
    box-shadow: 0 10px 40px rgba(26,60,52,0.12);
}

.service-img {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    background: var(--cream-dark);
}

.service-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.service-card-v2:hover .service-img img { transform: scale(1.04); }

.service-img .img-placeholder {
    border-radius: 0;
    border: none;
    border-bottom: 1px dashed var(--line);
    height: 100%;
    min-height: 0;
}

.service-badge-v2 {
    position: absolute;
    top: 1rem; left: 1rem;
    background: var(--terracotta);
    color: var(--cream);
    font-size: 0.65rem;
    padding: 6px 12px;
    border-radius: 100px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
}

.service-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-icon-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.service-icon-line i {
    width: 26px; height: 26px;
    color: var(--terracotta);
}

.service-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}

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

.service-short {
    font-style: italic;
    color: var(--terracotta);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.service-long {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    flex: 1;
}

.service-details {
    margin-bottom: 1.5rem;
}

.service-details summary {
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--forest);
    padding: 0.5rem 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.service-details summary::-webkit-details-marker { display: none; }

.service-details summary::after {
    content: '+';
    margin-left: auto;
    font-size: 1.2rem;
    color: var(--terracotta);
    transition: transform 0.3s;
}

.service-details[open] summary::after { content: '−'; }

.service-details ul {
    list-style: none;
    padding: 0.75rem 0 0;
    margin: 0;
}

.service-details li {
    padding: 0.4rem 0;
    font-size: 0.88rem;
    color: var(--ink-soft);
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--cream-dark);
}

.service-details li::before {
    content: '✓';
    color: var(--terracotta);
}

.service-cta {
    margin-top: auto;
    font-size: 0.9rem;
    align-self: flex-start;
}

/* ===== Extras ===== */
.extras-wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .extras-wrap { grid-template-columns: 1fr; gap: 2rem; }
}

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

.extras-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream-dark);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-top: 1rem;
}

.extras-note i { color: var(--terracotta); }

.extras-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.75rem;
}

.extra-tile {
    padding: 1.25rem 1rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
}

.extra-tile:hover {
    border-color: var(--forest);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.extra-icon {
    width: 36px; height: 36px;
    background: var(--cream-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--forest);
}

.extra-icon i { width: 18px; height: 18px; }

.extra-tile strong {
    display: block;
    font-family: var(--font-display);
    color: var(--forest);
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.extra-tile small {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.35;
    display: block;
}

/* ===== Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s var(--ease);
}

.gallery-item:hover { transform: scale(1.02); }

/* ===== Quote form ===== */
.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .quote-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.quote-intro h2 {
    margin-bottom: 1.5rem;
}

.quote-intro h2 .accent-light {
    color: var(--terracotta-soft);
    font-style: italic;
    font-weight: 300;
}

.quote-perks {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.perk {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.perk i {
    width: 22px; height: 22px;
    color: var(--terracotta-soft);
    flex-shrink: 0;
    margin-top: 4px;
}

.perk strong {
    display: block;
    color: var(--cream);
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.perk small {
    font-size: 0.88rem;
    color: rgba(250,246,239,0.7);
    display: block;
}

.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--terracotta-soft);
    font-weight: 500;
    border-bottom: 1px solid var(--terracotta-soft);
    padding-bottom: 4px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.whatsapp-cta:hover { color: var(--cream); border-color: var(--cream); }

.whatsapp-cta i { width: 18px; height: 18px; }

/* ===== Quote form card ===== */
.quote-form-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--ink);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 600px) {
    .quote-form-card { padding: 1.75rem; }
}

.form-step {
    margin-bottom: 2rem;
}

/* form-label-num styles defined in "FIXES" block below */

/* Quote form input/select/textarea styles moved to "FIXES" block below
   to avoid conflicting with dark-section variant */

.form-disclaimer {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--muted);
}

/* ===== Testimonials ===== */
.testimonial-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    height: 100%;
    border: 1px solid var(--line);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -8px; left: 22px;
    font-family: var(--font-display);
    font-size: 5.5rem;
    color: var(--terracotta);
    line-height: 1;
}

.testimonial-card .rating {
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--forest);
    margin-bottom: 1.5rem;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--terracotta), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.testimonial-meta strong {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--forest);
    font-size: 0.95rem;
}

.testimonial-meta small {
    color: var(--muted);
    font-size: 0.8rem;
}

/* ===== Service areas ===== */
.areas-wrap {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .areas-wrap { grid-template-columns: 1fr; gap: 2rem; }
}

.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.area-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 0.92rem;
    color: var(--forest);
    transition: all 0.3s;
}

.area-pill:hover {
    background: var(--forest);
    color: var(--cream);
    border-color: var(--forest);
}

.area-pill i { color: var(--terracotta); }
.area-pill:hover i { color: var(--terracotta-soft); }

/* ===== Final CTA ===== */
.final-cta-section {
    background:
        radial-gradient(ellipse at top right, rgba(200,99,74,0.25), transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(201,169,97,0.15), transparent 60%),
        var(--forest-dark);
}

.final-cta {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.final-cta .eyebrow { justify-content: center; }
.final-cta .eyebrow::after {
    content: '';
    width: 32px;
    height: 1px;
    background: currentColor;
}

.final-cta h2 {
    color: var(--cream);
    margin-bottom: 1rem;
}

.final-cta h2 .accent-light {
    color: var(--terracotta-soft);
    font-style: italic;
    font-weight: 300;
}

.final-cta p {
    color: rgba(250,246,239,0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.final-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem; right: 1.5rem;
    width: 58px; height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s var(--ease);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i { width: 28px; height: 28px; }

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ===== Footer ===== */
.footer {
    background: var(--forest-dark);
    color: var(--cream);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(250, 246, 239, 0.1);
}

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

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.footer-brand .accent-word {
    font-style: italic;
    color: var(--terracotta-soft);
}

.footer p { color: rgba(250, 246, 239, 0.65); font-size: 0.95rem; }

.footer h4 {
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li { padding: 0.35rem 0; }

.footer ul a {
    color: rgba(250, 246, 239, 0.7);
    font-size: 0.92rem;
    transition: color 0.3s;
}

.footer ul a:hover { color: var(--terracotta-soft); }

.footer-hours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(250,246,239,0.06);
    padding: 8px 14px;
    border-radius: 100px;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--terracotta-soft);
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(250, 246, 239, 0.5);
}

/* ===== Reveal on scroll ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 6rem; right: 1.5rem;
    background: var(--forest);
    color: var(--cream);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s var(--ease);
    font-size: 0.95rem;
    max-width: 360px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Form (modal/legacy) ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

/* ============================================
   FIXES — top bar + quote form polish
   ============================================ */

/* Top bar (was missing styles) */
/* ============================================
   TOP BAR + NAVBAR — Fixed properly stacked
   The top bar is FIXED at top:0
   The navbar is FIXED below it, calculated dynamically
   ============================================ */

.top-bar {
    background: #102521;
    color: rgba(250, 246, 239, 0.9);
    padding: 9px 0;
    font-size: 0.82rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    border-bottom: 1px solid rgba(250, 246, 239, 0.08);
    height: 38px;
    display: flex;
    align-items: center;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    width: 100%;
}
.top-bar-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
}
.top-bar-info span,
.top-bar-info a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(250, 246, 239, 0.9);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}
.top-bar-info a:hover {
    color: var(--terracotta-soft, #e89b85);
}
.top-bar-info svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* When top bar is present, the navbar must start BELOW it */
body.has-top-bar .navbar-custom {
    top: 38px;
}

/* Push the page content down so it's not hidden under the fixed top bar + navbar */
body.has-top-bar {
    padding-top: 38px; /* just for top bar; navbar overlays the hero */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.7rem;
        padding: 6px 0;
        height: 32px;
    }
    .top-bar-inner {
        justify-content: center;
        gap: 0.75rem;
    }
    .top-bar-info {
        gap: 0.85rem;
    }
    body.has-top-bar .navbar-custom { top: 32px; }
    body.has-top-bar { padding-top: 32px; }
}
@media (max-width: 600px) {
    /* Hide secondary info on tiny screens to keep one line */
    .top-bar-info span:nth-of-type(2),
    .top-bar-info span:nth-of-type(3) { display: none; }
    .top-bar-info:last-child a:nth-of-type(2) { display: none; }
}
@media (max-width: 380px) {
    .top-bar-info a:not(:first-child) { display: none; }
}

/* ===== Quote form (the part that looked broken) ===== */
.form-step {
    margin-bottom: 1.75rem;
}
.form-step:last-of-type {
    margin-bottom: 1rem;
}
.form-label-num {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--forest);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}
.form-label-num span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--terracotta);
    color: var(--cream);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Frequency pills - light theme */
.freq-pills-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
@media (min-width: 600px) {
    .freq-pills-v2 { grid-template-columns: repeat(4, 1fr); }
}
.freq-pills-v2 label {
    cursor: pointer;
    position: relative;
}
.freq-pills-v2 input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.freq-pills-v2 span {
    display: block;
    padding: 11px 12px;
    text-align: center;
    border: 1.5px solid var(--line, #e4ddd0);
    border-radius: 100px;
    background: #faf6ef;
    color: var(--forest);
    font-size: 0.92rem;
    transition: all 0.2s ease;
}
.freq-pills-v2 label:hover span {
    border-color: var(--terracotta);
    background: rgba(200, 99, 74, 0.05);
}
.freq-pills-v2 input:checked + span {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--cream);
    font-weight: 500;
}

/* Extras checkboxes - light theme */
.extras-checks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}
.extra-check {
    cursor: pointer;
    position: relative;
    display: block;
}
.extra-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.extra-check span {
    display: block;
    padding: 10px 14px;
    border: 1.5px solid var(--line, #e4ddd0);
    border-radius: 12px;
    background: #faf6ef;
    color: var(--forest);
    font-size: 0.88rem;
    transition: all 0.2s ease;
    position: relative;
    padding-left: 38px;
}
.extra-check span::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid var(--line, #c9b690);
    background: #fff;
    transition: all 0.2s;
}
.extra-check:hover span {
    border-color: var(--terracotta);
}
.extra-check input:checked + span {
    background: rgba(200, 99, 74, 0.08);
    border-color: var(--terracotta);
    color: var(--forest);
}
.extra-check input:checked + span::before {
    background: var(--terracotta);
    border-color: var(--terracotta);
}
.extra-check input:checked + span::after {
    content: '✓';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-52%);
    color: var(--cream);
    font-size: 0.78rem;
    font-weight: bold;
}

/* "Your details" inputs - LIGHT theme */
.quote-form-card input[type="text"],
.quote-form-card input[type="tel"],
.quote-form-card input[type="email"],
.quote-form-card select,
.quote-form-card textarea {
    width: 100%;
    padding: 13px 16px;
    background: #faf6ef;
    border: 1.5px solid var(--line, #e4ddd0);
    border-radius: 12px;
    color: var(--ink, #1a1a1a);
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    line-height: 1.4;
}
.form-row > input,
.form-row > select,
.form-row > textarea {
    margin-bottom: 0;
}
.quote-form-card input::placeholder,
.quote-form-card textarea::placeholder {
    color: rgba(26, 26, 26, 0.4);
}
.quote-form-card select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a3c34' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.6'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 42px;
    cursor: pointer;
}
.quote-form-card select option {
    background: #faf6ef;
    color: var(--ink);
}
.quote-form-card input:focus,
.quote-form-card select:focus,
.quote-form-card textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 99, 74, 0.15);
}
.quote-form-card textarea {
    resize: vertical;
    min-height: 80px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}
@media (max-width: 540px) {
    .form-row { grid-template-columns: 1fr; }
}

/* Contact preference - light theme */
.form-contact-pref {
    margin-top: 14px;
    padding: 14px 16px;
    background: rgba(26, 60, 52, 0.04);
    border: 1px dashed rgba(26, 60, 52, 0.2);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 18px;
    grid-template-columns: none !important;
}
.contact-pref-label {
    font-size: 0.85rem;
    color: var(--forest);
    font-weight: 500;
    width: 100%;
    margin-bottom: -4px;
}
.form-contact-pref label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    color: var(--ink);
    cursor: pointer;
    user-select: none;
}
.form-contact-pref input[type="radio"] {
    accent-color: var(--terracotta);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Submit button full width */
.btn-block {
    display: flex !important;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    padding: 16px 24px !important;
    font-size: 1rem !important;
}

.form-disclaimer {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: var(--muted, #5a5a55);
    font-size: 0.78rem;
    line-height: 1.4;
}

/* Quote intro perks (left side) - this stays for dark side */
.quote-perks .perk i,
.quote-perks .perk svg {
    color: var(--terracotta-soft);
}
.quote-perks .perk strong {
    color: var(--cream);
}
.quote-perks .perk small {
    color: rgba(250, 246, 239, 0.7);
}


/* Gallery images (real images, not placeholders) */
.gallery-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.5s ease;
    display: block;
}
.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}
.gallery-item {
    overflow: hidden;
    border-radius: 14px;
}

/* Service card image (real, not placeholder) */
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-img {
    overflow: hidden;
}

/* =====================================================
   MOBILE-FIRST FIXES — comprehensive responsive pass
   These styles cascade ABOVE earlier media queries to
   ensure the mobile experience is excellent.
   ===================================================== */

/* === TABLETS & SMALL DESKTOPS (max 992px) === */
@media (max-width: 992px) {
    .container-custom { padding: 0 24px; }

    /* Hero text smaller on tablets */
    .hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

    /* Stack about section vertically */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }
    .about-img { max-height: 480px; }

    /* Quote section becomes single column */
    .quote-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
}

/* === MOBILE DEVICES (max 768px) === */
@media (max-width: 768px) {
    /* Container with less padding */
    .container-custom { padding: 0 18px; }

    /* === TOP BAR: keep only essentials === */
    .top-bar { font-size: 0.7rem; padding: 7px 0; height: 34px; }
    .top-bar-inner { gap: 0.6rem; justify-content: center; }
    .top-bar-info {
        gap: 12px;
        flex-wrap: nowrap;
        font-size: 0.7rem;
    }
    /* Hide secondary info on mobile */
    .top-bar-info span:nth-of-type(2) { display: none; }

    /* Push body content below fixed top bar */
    body.has-top-bar { padding-top: 34px; }
    body.has-top-bar .navbar-custom { top: 34px; }

    /* === NAVBAR: cleaner mobile === */
    .navbar-custom { padding: 0.75rem 0; }
    .nav-logo { font-size: 1.35rem !important; letter-spacing: -0.02em !important; }
    .nav-toggle { display: flex !important; }
    /* nav-menu mobile styles handled in main @media (max-width: 900px) above */

    /* === HERO: better mobile sizing === */
    .hero {
        min-height: 80vh;
        padding: 6rem 0 3rem;
        padding-top: calc(6rem + 34px);
    }
    .hero h1 {
        font-size: clamp(1.9rem, 7vw, 2.6rem) !important;
        line-height: 1.15 !important;
    }
    .hero-sub {
        font-size: 0.95rem !important;
        line-height: 1.5;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px !important;
    }
    .hero-cta a {
        justify-content: center;
        width: 100%;
        padding: 14px 20px !important;
        font-size: 0.92rem !important;
    }

    /* === SECTIONS: less padding === */
    .section {
        padding: clamp(3rem, 8vw, 4.5rem) 0 !important;
    }
    .section-header h2,
    h2 {
        font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
        line-height: 1.2;
    }
    .section-lead {
        font-size: 0.95rem !important;
    }

    /* === ABOUT image full width === */
    .about-img {
        max-height: 400px;
        aspect-ratio: 4/3;
        min-height: auto;
    }
    .about-quote-card {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        margin-top: 1rem;
        max-width: 100% !important;
        font-size: 0.95rem !important;
    }
    .about-pillars {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    /* === SERVICES: single column === */
    .services-grid-v2 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .service-card-v2 .service-img {
        aspect-ratio: 16/10 !important;
        max-height: 220px;
    }
    .service-card-v2 .service-body {
        padding: 1.25rem !important;
    }
    .service-card-v2 h3 {
        font-size: 1.3rem !important;
    }

    /* === EXTRAS: 2 columns === */
    .extras-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }
    .extra-card {
        padding: 1rem 0.75rem !important;
    }
    .extra-card h4 {
        font-size: 0.85rem !important;
    }

    /* === GALLERY: 2 columns === */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .gallery-img {
        aspect-ratio: 1;
    }

    /* === QUOTE FORM === */
    .quote-form-card {
        padding: 1.5rem !important;
        border-radius: 14px !important;
    }
    /* Inputs at 16px to prevent iOS zoom */
    .quote-form-card input[type="text"],
    .quote-form-card input[type="tel"],
    .quote-form-card input[type="email"],
    .quote-form-card select,
    .quote-form-card textarea {
        font-size: 16px !important;
        padding: 14px 14px !important;
    }
    .form-row {
        grid-template-columns: 1fr !important;
    }
    .freq-pills-v2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .extras-checks {
        grid-template-columns: 1fr !important;
    }
    .form-contact-pref {
        gap: 10px !important;
    }
    .form-contact-pref label {
        font-size: 0.9rem !important;
    }
    .form-label-num {
        font-size: 1rem !important;
    }

    /* === TESTIMONIALS === */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .testimonial-card {
        padding: 1.5rem !important;
    }

    /* === SERVICE AREAS pills === */
    .areas-list {
        gap: 6px !important;
    }
    .areas-list span {
        padding: 6px 12px !important;
        font-size: 0.82rem !important;
    }

    /* === FINAL CTA === */
    .final-cta-section h2 {
        font-size: 1.8rem !important;
    }
    .final-cta-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .final-cta-buttons a {
        width: 100% !important;
        justify-content: center !important;
    }

    /* === FOOTER === */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem 1.5rem !important;
    }
    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
    .footer h4 {
        font-size: 0.85rem !important;
    }
    .footer ul li,
    .footer ul li a {
        font-size: 0.85rem !important;
    }
}

/* === SMALL PHONES (max 480px) === */
@media (max-width: 480px) {
    .container-custom { padding: 0 14px; }

    /* Top bar: just hours OR phone, not both */
    .top-bar-info:last-child a:nth-of-type(2) { display: none; }

    /* Smaller hero text */
    .hero h1 {
        font-size: clamp(1.7rem, 7vw, 2.2rem) !important;
    }
    .hero .eyebrow {
        font-size: 0.7rem !important;
    }
    .hero-sub {
        font-size: 0.9rem !important;
    }

    /* Extras single column */
    .extras-grid {
        grid-template-columns: 1fr !important;
    }

    /* Frequency pills 1 column */
    .freq-pills-v2 {
        grid-template-columns: 1fr !important;
    }

    /* Footer single column */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Service card body padding tighter */
    .service-card-v2 .service-body {
        padding: 1rem !important;
    }
    .service-card-v2 h3 {
        font-size: 1.15rem !important;
    }
    .service-card-v2 .service-desc {
        font-size: 0.88rem !important;
    }

    /* Quote form padding even tighter */
    .quote-form-card {
        padding: 1.25rem !important;
    }

    /* Section title */
    h2 {
        font-size: 1.5rem !important;
    }
}

/* === TINY PHONES (max 360px) === */
@media (max-width: 360px) {
    .top-bar-info { font-size: 0.65rem !important; }
    .top-bar-info span:first-child { font-size: 0.62rem; }

    .nav-logo { font-size: 1.2rem !important; }

    .hero h1 { font-size: 1.6rem !important; }
}

/* === IMAGE OPTIMIZATION FOR MOBILE === */
@media (max-width: 768px) {
    /* Make background images use mobile-optimized sizes */
    .hero-image {
        background-attachment: scroll !important; /* fixed kills mobile perf */
    }
    /* All images get loading hint */
    img { content-visibility: auto; }
}

/* =====================================================
   CRITICAL MOBILE FIXES — round 2
   Specific fixes for: horizontal scroll, image cropping,
   text overflow, hero rendering on mobile
   ===================================================== */

/* === LEVEL 1: Block ALL horizontal scroll (safety net) === */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* === LEVEL 2: Make sure no element exceeds viewport === */
img, video, svg, iframe, canvas {
    max-width: 100%;
    height: auto;
}

/* === LEVEL 3: Force-fix known offenders === */
@media (max-width: 768px) {
    /* The about quote card was positioned with negative right - kill it */
    .about-quote-card {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        margin: 1rem 0 0 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Hero negative margin caused overflow */
    .hero {
        margin-top: 0 !important;
        padding-top: calc(5rem + 34px) !important;
    }

    /* Container should never exceed screen */
    .container-custom,
    .container,
    .row {
        max-width: 100%;
        overflow: hidden;
    }

    /* Tables and code blocks */
    table, pre {
        max-width: 100%;
        overflow-x: auto;
    }

    /* Long URLs and emails should break */
    a, p, h1, h2, h3, h4, span, li {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* Hyphenate long titles */
    h1, h2 {
        hyphens: auto;
        -webkit-hyphens: auto;
    }
}

/* === LEVEL 4: HERO mobile-specific render === */
@media (max-width: 768px) {
    .hero {
        min-height: 600px !important;
        max-height: 100vh;
        padding: calc(34px + 4rem) 18px 3rem !important;
    }

    .hero-image {
        background-size: cover !important;
        background-position: center 30% !important; /* slight upward focus */
        background-attachment: scroll !important;
        background-color: var(--forest);
    }

    .hero .container-custom {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .hero h1 {
        font-size: 1.85rem !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
    }

    .hero .eyebrow {
        font-size: 0.65rem !important;
        margin-bottom: 12px !important;
    }

    .hero-sub {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
        margin-bottom: 1.25rem !important;
    }

    /* Hero CTAs vertical with proper spacing */
    .hero-cta {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
        width: 100%;
    }
    .hero-cta a {
        width: 100% !important;
        max-width: 100% !important;
        padding: 13px 18px !important;
        font-size: 0.9rem !important;
        text-align: center;
        justify-content: center !important;
    }
}

/* === IMAGES: never crop/squish === */
@media (max-width: 768px) {
    /* Hero image of services */
    .service-card-v2 .service-img,
    .service-img {
        aspect-ratio: 16/10 !important;
        max-height: 240px;
        overflow: hidden;
    }
    .service-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* About image - taller in mobile because no text beside it */
    .about-img {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 4/3 !important;
        max-height: 320px !important;
        min-height: 220px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 16px !important;
    }

    /* Gallery images */
    .gallery-img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 1 !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    /* Gallery grid - 2 columns is comfortable on phones */
    .gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        padding: 0;
    }
    .gallery-item {
        aspect-ratio: 1;
        overflow: hidden;
        border-radius: 10px;
    }
}

/* === EXTRA SMALL PHONES: gallery 1 column === */
@media (max-width: 380px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .gallery-item {
        aspect-ratio: 16/10 !important;
    }
}

/* === FORM CARD: no overflow on small screens === */
@media (max-width: 768px) {
    .quote-form-card {
        margin: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Quote section: full-bleed but contained */
    #quote .container-custom {
        padding: 0 14px !important;
    }
}

/* === FOOTER on mobile === */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1.5rem !important;
    }
    .footer-grid {
        gap: 1.75rem 1rem !important;
    }
    .footer-brand {
        font-size: 1.2rem !important;
    }
}

/* === SECTION HEADERS: prevent text overflow === */
@media (max-width: 768px) {
    .section-header {
        padding: 0 8px;
    }
    .section-header h2 {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        line-height: 1.2;
        max-width: 100%;
    }
    .section-header p,
    .section-lead {
        font-size: 0.92rem !important;
        line-height: 1.5;
    }
    .eyebrow {
        font-size: 0.65rem !important;
    }
}

/* === FINAL FALLBACK: hide anything that ABSOLUTELY refuses to fit === */
@media (max-width: 480px) {
    /* Failsafe: any element that overflows visually gets clipped */
    section, header, footer, main, article {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* =====================================================
   FINAL FIX: Hide top bar on mobile (move info to footer)
   The cluttered top bar on mobile was overlapping the hero
   ===================================================== */
@media (max-width: 768px) {
    /* Hide top bar entirely on mobile */
    .top-bar {
        display: none !important;
    }
    /* Body no longer needs padding-top for top bar */
    body.has-top-bar {
        padding-top: 0 !important;
    }
    /* Navbar starts at the very top */
    body.has-top-bar .navbar-custom {
        top: 0 !important;
    }
    /* Hero adjusts because no top bar to offset */
    .hero {
        padding-top: 5rem !important;
        margin-top: 0 !important;
    }
}

/* Mobile-only footer info block (replaces what was in top bar) */
.mobile-only-footer-info {
    display: none;
}
@media (max-width: 768px) {
    .mobile-only-footer-info {
        display: block;
        background: #102521;
        color: rgba(250, 246, 239, 0.9);
        padding: 16px 18px;
        text-align: center;
        font-size: 0.85rem;
        line-height: 1.7;
    }
    .mobile-only-footer-info .info-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 4px 0;
    }
    .mobile-only-footer-info svg {
        width: 14px;
        height: 14px;
        opacity: 0.7;
    }
    .mobile-only-footer-info a {
        color: #faf6ef;
        text-decoration: none;
    }
}

/* === Hamburger to X animation when menu is open === */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
.nav-toggle span {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Backdrop overlay when menu is open on mobile */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}
@media (max-width: 900px) {
    .nav-backdrop.show {
        display: block;
        opacity: 1;
    }
}
