/*
Theme Name: QuickServe
Theme URI: https://example.com/quickserve
Author: Your Company
Author URI: https://example.com
Description: A single-page (one-page anchor navigation) business theme with a fully admin-manageable section order, enable/disable controls, and a custom smooth-scroll navigation system. Built with plain PHP, HTML, CSS and JS (no page builder, no ACF).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quickserve
*/

/* ==========================================================================
   0. COLOR SYSTEM (dark theme: black base, red primary, orange→pink accent)
   ========================================================================== */
:root {
    --bg: #0a0a0a;
    --bg-alt: #111111;
    --card-bg: #161616;
    --card-border: #262626;
    --text: #ffffff;
    --text-muted: #9aa0a6;
    --text-faint: #6b7280;
    --primary: #e5231e;
    --primary-hover: #c81d17;
    --accent-start: #ff7a45;
    --accent-end: #ff4d6d;
    --success: #22c55e;
    --info: #3b82f6;
    --violet: #8b5cf6;
}

/* ==========================================================================
   1. CSS RESET / BASE
   ========================================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sticky-header scroll offset (section 7 of spec) */
section[id] {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 80px;
    }
}

.section {
    padding: 80px 0;
}

/* ==========================================================================
   1b. ANIMATION SYSTEM (page loader + scroll reveal + global easing)
   ========================================================================== */

/* Professional, consistent easing used across interactive elements */
:root {
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-standard: cubic-bezier(.4, 0, .2, 1);
}

/* Full-screen loader shown until the page is ready */
.quickserve-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background: var(--bg);
    opacity: 1;
    transition: opacity .45s var(--ease-standard), visibility .45s var(--ease-standard);
}

.quickserve-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.quickserve-loader-mark {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: .02em;
    opacity: 0;
    animation: qs-loader-fade-in .5s var(--ease-out) forwards;
}

.quickserve-loader-bar {
    width: 120px;
    height: 3px;
    border-radius: 999px;
    background: var(--card-border);
    overflow: hidden;
}

.quickserve-loader-bar span {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent-end));
    animation: qs-loader-slide 1.1s var(--ease-standard) infinite;
}

@keyframes qs-loader-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes qs-loader-slide {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(280%); }
}

/* Scroll-reveal: elements fade + rise into place once in view */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px) scale(.97);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Premium touch: cards get a touch more rise + a soft shadow bloom as they land */
.card-grid .card.reveal-on-scroll,
.gallery-grid .gallery-item.reveal-on-scroll,
.projects-grid .project-card.reveal-on-scroll {
    transform: translateY(36px) scale(.95);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}

.card-grid .card.reveal-on-scroll.is-revealed,
.gallery-grid .gallery-item.reveal-on-scroll.is-revealed,
.projects-grid .project-card.reveal-on-scroll.is-revealed {
    transform: translateY(0) scale(1);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35);
}

@media (max-width: 600px) {
    .reveal-on-scroll {
        transform: translateY(16px) scale(.98);
        transition-duration: .5s;
    }
    .card-grid .card.reveal-on-scroll,
    .gallery-grid .gallery-item.reveal-on-scroll,
    .projects-grid .project-card.reveal-on-scroll {
        transform: translateY(20px) scale(.97);
    }
}

/* Respect reduced-motion preference: no motion, content just present */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .quickserve-loader,
    .quickserve-loader-mark,
    .quickserve-loader-bar span,
    .reveal-on-scroll {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        box-shadow: none !important;
    }
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
    text-align: center;
    color: var(--text);
}

.accent-line {
    display: block;
    background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    transition: background .2s var(--ease-standard), transform .2s var(--ease-standard);
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-whatsapp {
    background: #25d366;
}

.btn-whatsapp:hover {
    background: #1fb855;
}

/* ==========================================================================
   2. HEADER / NAVIGATION (section 6, 8, 9 of spec)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--bg);
    border-bottom: 1px solid var(--card-border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

.site-logo {
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
    color: var(--text);
    text-decoration: none;
}

/* Uploaded logo image (Customizer > Site Identity): whatever the source
   dimensions are, it's constrained to the header height and never
   stretched or distorted. */
.site-logo-img {
    display: block;
    height: auto;
    max-height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

@media (max-width: 480px) {
    .site-logo-img {
        max-height: 40px;
        max-width: 150px;
    }
}

.main-navigation ul {
    display: flex;
    gap: 28px;
}

.main-navigation a {
    font-weight: 600;
    padding: 8px 2px;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    transition: border-color .2s var(--ease-standard), color .2s var(--ease-standard);
}

/* Active menu state (section 8) */
.main-navigation a.is-active,
.main-navigation a:hover {
    color: var(--text);
    border-bottom-color: var(--primary);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-cta .btn {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.header-cta .btn-icon {
    display: none;
    font-size: 1.05rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .main-navigation {
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        opacity: 0;
        transform: translateY(-8px);
        visibility: hidden;
        transition: opacity .25s var(--ease-standard), transform .25s var(--ease-standard), visibility .25s;
        overflow-y: auto;
        padding: 20px;
    }

    .main-navigation.is-open {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-navigation a {
        display: block;
        padding: 14px 6px;
        border-bottom: 1px solid var(--card-border);
        transition: color .15s var(--ease-standard), padding-left .15s var(--ease-standard);
    }

    .main-navigation a:active {
        padding-left: 10px;
    }

    .mobile-menu-toggle {
        display: block;
        transition: transform .2s var(--ease-standard);
    }

    .mobile-menu-toggle[aria-expanded="true"] {
        transform: rotate(90deg);
    }

    .header-cta .btn {
        padding: 10px 16px;
        font-size: .85rem;
    }
}

/* Below ~480px there isn't room for the full number next to the logo and
   menu icon — collapse to a compact icon-only call button instead of
   letting the label get clipped or (as before) disappearing with nothing
   in its place. */
@media (max-width: 480px) {
    .header-cta .btn-text {
        display: none;
    }

    .header-cta .btn-icon {
        display: inline-block;
    }

    .header-cta .btn {
        padding: 10px 14px;
    }
}

/* ==========================================================================
   3. HERO
   ========================================================================== */
.hero {
    padding: 90px 0;
    background:
        radial-gradient(ellipse at top right, rgba(229,35,30,.18), transparent 60%),
        linear-gradient(135deg, #000000 0%, #141414 100%);
    color: #fff;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin: 0 0 16px;
    color: var(--text);
}

.hero p {
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   4. TRUST STATS
   ========================================================================== */
.trust-stats {
    background: var(--bg-alt);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.trust-stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 40px 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
}

@media (max-width: 700px) {
    .trust-stats .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   5. GRID / CARD LAYOUTS (Services, How It Works, Core Values, Why Choose Us)
   ========================================================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 30px 24px;
    transition: transform .3s var(--ease-out), border-color .3s var(--ease-standard), box-shadow .3s var(--ease-out);
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 45px -28px rgba(0, 0, 0, .45);
}

.card:hover .icon {
    transform: scale(1.08);
}

.card .icon {
    transition: transform .3s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
    .card,
    .card:hover,
    .card .icon,
    .card:hover .icon {
        transition: none !important;
        transform: none !important;
    }
}

.card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    font-size: 1.6rem;
    margin-bottom: 16px;
    background: rgba(229,35,30,.15);
}

/* Cycle icon-square accent colors across repeating cards, like the reference site */
.card-grid .card:nth-child(4n+2) .icon { background: rgba(59,130,246,.15); }
.card-grid .card:nth-child(4n+3) .icon { background: rgba(34,197,94,.15); }
.card-grid .card:nth-child(4n+4) .icon { background: rgba(139,92,246,.15); }

.card h3 {
    margin: 0 0 8px;
    color: var(--text);
}

.card p {
    color: var(--text-muted);
    margin: 0 0 14px;
}

/* Service card bullet list (pill-style, matching the dotted feature list look) */
.service-bullets {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-bullets li {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 6px 14px 6px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: var(--text-muted);
    font-size: .82rem;
    line-height: 1.3;
}

.service-bullets li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

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

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

/* Services section — larger, more prominent cards + bigger bullet text
   (scoped to #quickserve-services-grid only, so other card grids are untouched) */
#quickserve-services-grid.card-grid {
    gap: 32px;
}

#quickserve-services-grid .card {
    padding: 42px 32px;
}

#quickserve-services-grid .card .icon {
    width: 68px;
    height: 68px;
    font-size: 2.1rem;
    border-radius: 14px;
    margin-bottom: 20px;
}

#quickserve-services-grid .card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

#quickserve-services-grid .card p {
    font-size: 1.05rem;
}

#quickserve-services-grid .service-bullets {
    gap: 12px;
    margin-bottom: 22px;
}

#quickserve-services-grid .service-bullets li {
    font-size: 1.02rem;
    padding: 9px 20px 9px 30px;
}

#quickserve-services-grid .service-bullets li::before {
    width: 7px;
    height: 7px;
    left: 13px;
}

@media (max-width: 900px) {
    #quickserve-services-grid .card {
        padding: 34px 26px;
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step-item {
    text-align: center;
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 30px 22px;
}

.step-item h3 {
    color: var(--text);
}

.step-item > p {
    color: var(--text-muted);
}

.step-number {
    width: 46px;
    height: 46px;
    line-height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    margin: 0 auto 14px;
}

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

/* Alternate section background */
.bg-alt {
    background: var(--bg-alt);
}

/* ==========================================================================
   6. ABOUT
   ========================================================================== */
.about-wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2,
.about-text p {
    color: var(--text);
}

.about-text p {
    color: var(--text-muted);
}

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

/* Expandable "Learn More About Us" panel: Mission/Vision + Journey */
.about-expanded {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height .5s var(--ease-standard), opacity .4s var(--ease-standard), margin-top .4s var(--ease-standard);
}

.about-expanded.is-open {
    max-height: 3000px;
    opacity: 1;
    margin-top: 56px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.mission-vision-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 28px;
}

.mission-vision-card .icon {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.mission-vision-card h3 {
    margin: 0 0 10px;
    color: var(--text);
}

.mission-vision-card p {
    color: var(--text-muted);
    margin: 0;
}

.about-expanded-title {
    text-align: center;
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 30px;
}

.journey-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.journey-item {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-left: 3px solid var(--primary);
    border-radius: 8px;
    padding: 20px 22px;
}

.journey-year {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.journey-item h4 {
    margin: 0 0 6px;
    color: var(--text);
    font-size: 1.05rem;
}

.journey-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: .9rem;
}

@media (max-width: 700px) {
    .mission-vision-grid,
    .journey-timeline {
        grid-template-columns: 1fr;
    }
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 700px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   7. PROJECTS / GALLERY
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-item {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: #1e1e1e;
    transition: transform .3s var(--ease-standard);
}

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

.gallery-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(10, 10, 10, .75);
    color: var(--text);
    font-size: .72rem;
    font-weight: 600;
}

.gallery-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    background: rgba(10, 10, 10, 0);
    opacity: 0;
    transition: opacity .2s var(--ease-standard), background .2s var(--ease-standard);
}

.gallery-item:hover .gallery-zoom {
    opacity: 1;
    background: rgba(10, 10, 10, .35);
}

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

/* Gallery lightbox overlay */
body.quickserve-lightbox-open {
    overflow: hidden;
}

.quickserve-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(5, 5, 5, .92);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease-standard), visibility .25s var(--ease-standard);
}

.quickserve-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.quickserve-lightbox-figure {
    margin: 0;
    max-width: min(90vw, 1100px);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(.92);
    transition: transform .25s var(--ease-out);
}

.quickserve-lightbox.is-open .quickserve-lightbox-figure {
    transform: scale(1);
}

.quickserve-lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.quickserve-lightbox-caption {
    margin-top: 14px;
    color: var(--text);
    font-size: .95rem;
    text-align: center;
}

.quickserve-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: background .2s var(--ease-standard);
}

.quickserve-lightbox-close:hover {
    background: rgba(255, 255, 255, .18);
}

@media (prefers-reduced-motion: reduce) {
    .quickserve-lightbox,
    .quickserve-lightbox-figure {
        transition: none;
    }
}

/* ==========================================================================
   8. SERVICE AREAS / LOCATION
   ========================================================================== */
.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.areas-list li {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text);
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
}

.location-map {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}

.location-map iframe {
    width: 100%;
    height: 380px;
    border: 0;
}

/* ==========================================================================
   9. FAQ
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0 20px;
    margin-bottom: 12px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle-icon {
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-left: 14px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    color: var(--text-muted);
}

.faq-item.is-open .faq-answer {
    max-height: 400px;
    padding-bottom: 20px;
}

/* ==========================================================================
   10. CONTACT
   ========================================================================== */

/* Quick contact method cards (Call / WhatsApp / Email / Visit) */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0 24px;
}

.contact-method-card {
    display: block;
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 26px 18px;
    transition: transform .2s var(--ease-standard), border-color .2s var(--ease-standard);
}

.contact-method-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.contact-method-card-whatsapp:hover {
    border-color: #25d366;
}

.contact-method-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.contact-method-icon-call { background: rgba(229, 35, 30, .18); }
.contact-method-icon-whatsapp { background: rgba(37, 211, 102, .18); }
.contact-method-icon-email { background: rgba(59, 130, 246, .18); }
.contact-method-icon-location { background: rgba(229, 35, 30, .18); }

.contact-method-card h3 {
    margin: 0 0 4px;
    font-size: 1rem;
    color: var(--text);
}

.contact-method-card p {
    margin: 0 0 10px;
    font-size: .82rem;
    color: var(--text-muted);
}

.contact-method-value {
    font-weight: 700;
    font-size: .92rem;
    color: var(--primary);
}

/* Trust stats row */
.contact-trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 48px;
}

.contact-trust-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-trust-stat-icon {
    font-size: 1.3rem;
}

.contact-trust-stat strong {
    display: block;
    font-size: .88rem;
    color: var(--text);
}

.contact-trust-stat span {
    display: block;
    font-size: .76rem;
    color: var(--text-faint);
}

/* Form + sidebar layout */
.contact-wrap {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 30px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 34px;
}

.contact-form-wrap h3 {
    margin: 0 0 6px;
    color: var(--text);
}

.contact-form-lead {
    margin: 0 0 22px;
    color: var(--text-muted);
    font-size: .9rem;
}

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

.contact-form-field {
    margin-bottom: 16px;
}

.contact-form-field label {
    display: block;
    margin-bottom: 6px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: .95rem;
    color: var(--text);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

.contact-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    padding: 14px;
}

.contact-form-privacy {
    text-align: center;
    font-size: .76rem;
    color: var(--text-faint);
    margin: 14px 0 0;
}

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

/* Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 22px;
}

.contact-sidebar-label {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 12px;
}

.contact-sidebar-address {
    margin: 0 0 8px;
    color: var(--text);
    font-size: .92rem;
}

.contact-sidebar-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: .86rem;
    margin-bottom: 14px;
}

.contact-map-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}

.contact-map {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

.contact-map-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    color: #1a1a1a !important;
    font-size: .78rem;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.contact-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.contact-hours-row span {
    color: var(--text);
    font-size: .92rem;
}

.contact-hours-open {
    color: var(--success);
    font-size: .92rem;
}

.contact-hours-note {
    margin: 0 0 14px;
    color: var(--text-faint);
    font-size: .82rem;
}

.contact-response-pill {
    background: rgba(34, 197, 94, .1);
    border: 1px solid rgba(34, 197, 94, .3);
    color: var(--success);
    font-size: .84rem;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
}

.contact-sidebar-emergency {
    border-color: rgba(229, 35, 30, .4);
    background: rgba(229, 35, 30, .07);
}

.contact-sidebar-emergency-icon {
    font-size: 1.4rem;
}

.contact-sidebar-emergency h4 {
    margin: 10px 0 8px;
    color: var(--text);
}

.contact-sidebar-emergency p {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: .86rem;
}

.contact-sidebar-emergency a {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .contact-methods-grid,
    .contact-trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .contact-methods-grid,
    .contact-trust-stats {
        grid-template-columns: 1fr;
    }
}

/* Honeypot field: invisible to real visitors, left in the tab/DOM flow
   only enough for simple bots to auto-fill it. */
.quickserve-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none;
}

.contact-form-notice {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: .92rem;
    font-weight: 600;
}

.contact-form-success {
    background: rgba(34, 197, 94, .1);
    border: 1px solid rgba(34, 197, 94, .35);
    color: var(--success);
}

.contact-form-error {
    background: rgba(229, 35, 30, .1);
    border: 1px solid rgba(229, 35, 30, .35);
    color: var(--primary);
}

/* ==========================================================================
   11. EMERGENCY CTA
   ========================================================================== */
.emergency-cta {
    background:
        radial-gradient(ellipse at center, rgba(229,35,30,.25), transparent 70%),
        var(--bg-alt);
    color: #fff;
    text-align: center;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.emergency-cta h2 {
    margin: 0 0 10px;
    color: var(--text);
}

.emergency-cta > .container > p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
    background: #000000;
    color: var(--text-muted);
    padding: 60px 0 24px;
    border-top: 1px solid var(--card-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-grid h4 {
    color: #fff;
    margin-bottom: 14px;
}

.footer-bottom {
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
    text-align: center;
    font-size: .9rem;
}

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

/* ==========================================================================
   ADDITIONS — parity with reference layout (hero badges/stats, step bullets,
   services stats bar, project cards, about highlights, why-choose-us feature
   list, area badges, location split, FAQ tags, emergency CTA actions, footer)
   ========================================================================== */

/* Hero badges + inline stats */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.hero-badges li {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
}
.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.hero-stat-label {
    font-size: .82rem;
    color: var(--text-muted);
}
@media (max-width: 900px) {
    .hero-badges,
    .hero-stats {
        justify-content: center;
    }
}

/* How It Works — step bullet lists */
.step-bullets {
    margin-top: 14px;
    text-align: left;
}
.step-bullets li {
    position: relative;
    padding-left: 20px;
    font-size: .88rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.step-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Services stats bar + card actions */
.services-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: .9rem;
}
.card-actions {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    font-weight: 600;
}
.card-actions a {
    color: var(--primary);
}
.card-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff !important;
    font-size: .85rem;
    font-weight: 700;
    transition: background .15s var(--ease-standard), transform .15s var(--ease-standard);
}
.card-call-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}
.section-cta-row {
    text-align: center;
    margin-top: 36px;
}

/* About highlights */
.about-highlights {
    margin: 18px 0 24px;
}
.about-highlights li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: var(--text-muted);
}
.about-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* Why Choose Us — stats grid, feature list, badges */
.why-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 44px;
}
.why-stats-grid .stat-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 24px 16px;
}
.why-feature-list {
    display: grid;
    gap: 22px;
}
.why-feature-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 22px 26px;
}
.why-feature-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--primary);
    margin-bottom: 8px;
}
.why-feature-item h3 {
    margin: 0 0 8px;
    color: var(--text);
}
.why-feature-item p {
    color: var(--text-muted);
}
.why-feature-highlight {
    display: inline-block;
    margin-top: 10px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--success);
}
.why-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 32px 0 0;
}
.why-badges li {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: .82rem;
    font-weight: 700;
}
@media (max-width: 700px) {
    .why-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Areas We Serve — badge grid */
.area-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.area-badge {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 18px;
    text-align: center;
}
.area-badge h4 {
    margin: 0 0 6px;
    font-size: .92rem;
    color: var(--text);
}
.area-badge p {
    margin: 0;
    font-size: .8rem;
    color: var(--text-muted);
}
@media (max-width: 700px) {
    .area-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Location — info + map split */
.location-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}
.location-info h2,
.location-info h4 {
    color: var(--text);
}
.location-info h4 {
    margin: 20px 0 6px;
}
.location-info p,
.location-info a {
    color: var(--text-muted);
}
@media (max-width: 900px) {
    .location-wrap {
        grid-template-columns: 1fr;
    }
}

/* FAQ tag */
.faq-tag {
    display: inline-block;
    margin-left: 10px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    vertical-align: middle;
}

/* Emergency CTA actions */
.emergency-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Footer — wide grid + social */
.footer-grid-wide {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}
.footer-social a {
    font-size: .8rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: .85;
}
.footer-social a:hover {
    opacity: 1;
    color: var(--text);
}
.footer-grid ul li {
    margin-bottom: 8px;
    color: var(--text-muted);
}
.footer-grid ul li a {
    color: var(--text-muted);
    transition: color .15s var(--ease-standard);
}
.footer-grid ul li a:hover {
    color: var(--text);
}
@media (max-width: 900px) {
    .footer-grid-wide {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Live/status dot badge (24/7 Active-style) */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    margin-right: 6px;
}

/* Footer — brand column pills (24/7 Active / Certified) */
.footer-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 14px 0;
    padding: 0;
    list-style: none;
}
.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
}
.footer-pill-active {
    color: var(--success);
    border-color: rgba(34, 197, 94, .35);
    background: rgba(34, 197, 94, .08);
}
.footer-pill-active::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

/* Footer — brand column contact list */
.footer-contact-list {
    list-style: none;
    margin: 0 0 4px;
    padding: 0;
}
.footer-contact-list li {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: .9rem;
}
.footer-contact-list a {
    color: var(--text-muted);
}
.footer-contact-list a:hover {
    color: var(--text);
}

/* Footer — operating hours table */
.footer-hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}
.footer-hours-table td {
    padding: 4px 0;
    color: var(--text-muted);
}
.footer-hours-table td:first-child {
    color: var(--text);
}
.footer-hours-table td:last-child {
    text-align: right;
    color: var(--success);
}

/* Footer — bottom bar with trust badges */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer-bottom-row {
    text-align: center;
}
.footer-bottom-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: .8rem;
    color: var(--text-faint);
}
.footer-bottom-badges li {
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-bottom-badges li::before {
    content: "✓";
    color: var(--success);
}
