/* =========================================
   TV Repair Dubai — Main CSS
   Mobile-first, lightweight, accessible
   ========================================= */

/* ── Variables ─────────────────────────────────────────── */
:root {
    --clr-primary:     #0055b3;
    --clr-primary-dk:  #003d82;
    --clr-accent:      #ffb800;
    --clr-wa:          #25d366;
    --clr-text:        #1a1a2e;
    --clr-text-muted:  #6b7280;
    --clr-bg:          #ffffff;
    --clr-bg-alt:      #f4f6fb;
    --clr-border:      #e0e4ef;
    --clr-success:     #16a34a;
    --clr-error:       #dc2626;
    --radius-sm:       4px;
    --radius-md:       8px;
    --radius-lg:       12px;
    --shadow-sm:       0 1px 3px rgba(0,0,0,.08);
    --shadow-md:       0 4px 16px rgba(0,0,0,.1);
    --transition:      .15s ease;
    --font-sans:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --max-width:       1200px;
}

/* ── Reset / Base ───────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--clr-text);
    background: var(--clr-bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-primary); }
a:focus-visible {
    outline: 2px solid var(--clr-primary);
    outline-offset: 2px;
    border-radius: 2px;
}
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; color: var(--clr-text); }

/* ── Layout ─────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section        { padding: 3.5rem 0; }
.section--alt   { background: var(--clr-bg-alt); }

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}
.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--clr-text);
}
.section-sub {
    font-size: 1rem;
    color: var(--clr-text-muted);
    max-width: 55ch;
}
.section-link {
    font-size: .9rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-decoration: none;
}
.section-link:hover { text-decoration: underline; }
.text-center { text-align: center; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ── Navigation ─────────────────────────────────────────── */
.site-nav { display: none; }
.site-nav.is-open { display: block; }

@media (min-width: 768px) {
    .site-nav { display: block; }
}

.site-nav__menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
}
@media (min-width: 768px) {
    .site-nav__menu {
        flex-direction: row;
        align-items: center;
        gap: .25rem;
        padding: 0;
    }
}

.site-nav__menu a {
    display: block;
    padding: .5rem 1rem;
    color: var(--clr-text);
    font-weight: 500;
    font-size: .9375rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.site-nav__menu a:hover,
.site-nav__menu .current-menu-item > a {
    color: var(--clr-primary);
    background: var(--clr-bg-alt);
}

.site-header__cta { display: flex; align-items: center; gap: .75rem; }

/* Hamburger */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: .4rem;
    cursor: pointer;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
@media (max-width: 767px) {
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--clr-border);
        box-shadow: var(--shadow-md);
        z-index: 200;
    }
    .site-header {
        position: sticky;
        top: 0;
        z-index: 200;
    }
}

/* ── Stats Bar ──────────────────────────────────────────── */
.stats-bar {
    background: var(--clr-primary);
    color: #fff;
    padding: 1.25rem 0;
}
.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 640px) {
    .stats-bar__grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item {
    text-align: center;
}
.stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--clr-accent);
    line-height: 1.1;
}
.stat-label {
    font-size: .8125rem;
    color: rgba(255,255,255,.8);
}

/* ── Services Grid ──────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.service-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.service-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .4rem;
}
.service-card__desc {
    font-size: .875rem;
    color: var(--clr-text-muted);
    margin-bottom: .75rem;
    line-height: 1.5;
}
.service-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .6rem;
}
.service-card__actions .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; }
.service-card__link {
    font-size: .875rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-decoration: none;
}
.service-card__link:hover { text-decoration: underline; }

/* ── Why Grid ───────────────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.why-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--clr-border);
}
.why-card__icon {
    font-size: 2rem;
    margin-bottom: .5rem;
    display: block;
}
.why-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .4rem;
}
.why-card__desc {
    font-size: .875rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

/* ── Brands ─────────────────────────────────────────────── */
.brands-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.brand-pill {
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-border);
    border-radius: 100px;
    padding: .35rem 1.1rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--clr-text);
}

/* ── Blog Grid ──────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.blog-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card__img-wrap { display: block; overflow: hidden; }
.blog-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .3s ease;
}
.blog-card:hover .blog-card__img { transform: scale(1.03); }
.blog-card__body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.blog-card__date { font-size: .8125rem; color: var(--clr-text-muted); margin-bottom: .4rem; }
.blog-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.blog-card__title a { color: var(--clr-text); text-decoration: none; }
.blog-card__title a:hover { color: var(--clr-primary); }
.blog-card__excerpt { font-size: .875rem; color: var(--clr-text-muted); }

/* ── CTA Section ────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #0a1628 0%, #0055b3 100%);
    color: #fff;
    padding: 3rem 0;
}
.cta-section__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}
@media (min-width: 768px) {
    .cta-section__inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
.cta-section__title { font-size: clamp(1.25rem, 3vw, 1.625rem); color: #fff; }
.cta-section__text p { color: rgba(255,255,255,.8); margin-top: .4rem; }
.cta-section__actions { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }
.cta-section__actions .btn { flex: 1 1 0; min-width: 180px; }

/* ── Quote Form ─────────────────────────────────────────── */
.quote-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
}
.quote-form-header { margin-bottom: 1.25rem; }
.quote-form__title { font-size: 1.25rem; font-weight: 700; margin-bottom: .25rem; }
.quote-form__sub { font-size: .875rem; color: var(--clr-text-muted); }

.form-row { display: grid; gap: 1rem; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .form-row--2 { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .85rem; }
.form-label { font-size: .875rem; font-weight: 600; color: var(--clr-text); }
.form-required { color: var(--clr-error); margin-left: .15rem; }

.form-input {
    width: 100%;
    padding: .65rem .875rem;
    font-size: .9375rem;
    font-family: var(--font-sans);
    color: var(--clr-text);
    background: #fff;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}
.form-input:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(0,85,179,.12);
}
.form-input.is-error { border-color: var(--clr-error); }
.form-textarea { resize: vertical; min-height: 90px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .875rem center; padding-right: 2.5rem; }

.form-field-error { font-size: .8125rem; color: var(--clr-error); min-height: 1rem; }
.form-hint { font-size: .8125rem; color: var(--clr-text-muted); }
.form-privacy { font-size: .8rem; color: var(--clr-text-muted); margin-top: .75rem; display: flex; align-items: center; gap: .3rem; }

/* Form feedback */
.form-success, .form-error {
    border-radius: var(--radius-md);
    padding: .875rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .9rem;
}
.form-success { background: #f0fdf4; border: 1px solid #86efac; color: var(--clr-success); }
.form-error   { background: #fef2f2; border: 1px solid #fca5a5; color: var(--clr-error); }

/* Spinner */
.btn__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn__spinner { animation-duration: 2s; } }

/* Honeypot */
.form-group--hp { display: none !important; }

/* ── Service Page ───────────────────────────────────────── */
.service-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0055b3 100%);
    color: #fff;
    padding: 3rem 0;
}
.service-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) { .service-hero__inner { grid-template-columns: 1fr 1fr; } }
.breadcrumb { font-size: .8125rem; color: rgba(255,255,255,.6); margin-bottom: .75rem; }
.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.service-hero__title { font-size: clamp(1.5rem, 4vw, 2.25rem); color: #fff; margin-bottom: .75rem; }
.service-hero__desc  { color: rgba(255,255,255,.85); margin-bottom: 1.25rem; max-width: 50ch; }
.service-hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.service-hero__ctas  { display: flex; gap: .75rem; flex-wrap: wrap; }
.service-hero__ctas .btn { flex: 1 1 0; min-width: 180px; }
.service-hero__img img { border-radius: var(--radius-lg); }

.badge--trust {
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: .8125rem;
    font-weight: 600;
    padding: .3rem .75rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,.25);
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 900px) {
    .service-layout { grid-template-columns: 1fr 360px; align-items: start; }
}
.entry-content { font-size: 1rem; line-height: 1.75; }
.entry-content h2 { font-size: 1.375rem; margin: 1.75rem 0 .75rem; }
.entry-content h3 { font-size: 1.125rem; margin: 1.25rem 0 .5rem; }
.entry-content p  { margin-bottom: 1rem; }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.entry-content li { margin-bottom: .35rem; list-style: disc; }

.sidebar-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    /* NO sticky — stacks naturally below each other */
    position: static;
}
.sidebar-card h3 { font-size: 1.125rem; margin-bottom: .75rem; }
.sidebar-card--cta p { font-size: .875rem; color: var(--clr-text-muted); margin-bottom: 1rem; line-height: 1.5; }
.sidebar-cta-btns { display: flex; flex-direction: column; gap: .75rem; }

/* ── Footer ─────────────────────────────────────────────── */
.footer-top {
    background: #0a1628;
    color: #fff;
    padding: 3rem 0;
}
.footer-top__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 640px) { .footer-top__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-top__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-col__title {
    font-size: .9375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: .75rem;
}
.footer-tagline {
    font-size: .9rem;
    color: rgba(255,255,255,.65);
    margin-bottom: .75rem;
    max-width: 32ch;
}
.footer-licence {
    font-size: .8125rem;
    color: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: 1rem;
}
.footer-social {
    display: flex;
    gap: .75rem;
    margin-top: .75rem;
}
.footer-social { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .4rem 1rem;
    background: rgba(255,255,255,.1);
    border-radius: 100px;
    color: #fff;
    font-size: .8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition);
}
.social-link:hover { background: rgba(255,255,255,.25); }
.social-link--wa {
    width: 36px;
    height: 36px;
    padding: 0;
    background: #25d366;
}
.social-link--wa:hover { background: #1da851; }

.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: .9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }

.footer-address { font-style: normal; display: flex; flex-direction: column; gap: .65rem; }
.footer-address p {
    display: flex;
    align-items: flex-start;
    gap: .4rem;
    font-size: .9rem;
    color: rgba(255,255,255,.65);
}
.footer-address a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-address a:hover { color: #fff; }

.footer-bottom {
    background: #060d1a;
    padding: 1rem 0;
    color: rgba(255,255,255,.45);
    font-size: .8125rem;
}
.footer-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem;
}
.footer-copy a { color: rgba(255,255,255,.6); text-decoration: none; }

/* ── WhatsApp Float Button ──────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    z-index: 500;
    transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,211,102,.55);
}

/* ── Post Grid (blog) ───────────────────────────────────── */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

/* ── Pagination ─────────────────────────────────────────── */
.nav-links { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; flex-wrap: wrap; }
.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    color: var(--clr-text);
    text-decoration: none;
    transition: all var(--transition);
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
}

/* ── Print ──────────────────────────────────────────────── */
@media print {
    .top-bar, .site-header, .wa-float, .footer-top, .footer-bottom { display: none; }
    body { color: #000; background: #fff; }
    a { color: #000; }
}

/* ── Reduced Motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =============================================
   PAGE HERO — Universal hero (all pages)
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0055b3 100%);
    color: #fff;
    padding: 2.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}
/* subtle radial glow top-right */
.page-hero::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,184,0,.08) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.page-hero__inner--with-form {
    grid-template-columns: 1fr;
}
@media (min-width: 860px) {
    .page-hero__inner--with-form {
        grid-template-columns: 1fr 400px;
    }
}

/* Breadcrumb */
.page-hero__breadcrumb {
    font-size: .8125rem;
    color: rgba(255,255,255,.55);
    margin-bottom: .75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    align-items: center;
}
.page-hero__breadcrumb a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
}
.page-hero__breadcrumb a:hover { color: #fff; }
.page-hero__breadcrumb span[aria-current] { color: rgba(255,255,255,.85); }

/* Title */
.page-hero__title {
    font-size: clamp(1.625rem, 4.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: .9rem;
}
.hero__title--accent {
    color: var(--clr-accent);
}

/* Desc */
.page-hero__desc {
    font-size: 1rem;
    color: rgba(255,255,255,.8);
    max-width: 52ch;
    line-height: 1.65;
    margin-bottom: 1.1rem;
}

/* Badges */
.page-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.4rem;
}
.hero-badge {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: .8125rem;
    font-weight: 600;
    padding: .3rem .85rem;
    border-radius: 100px;
    white-space: nowrap;
}

/* CTAs */
.page-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}
.page-hero__ctas .btn { flex: 1 1 0; min-width: 180px; }

/* Form side (homepage) */
.page-hero__form .quote-form-wrap {
    border-radius: var(--radius-lg);
}

/* =============================================
   SERVICES ARCHIVE — /services/
   ============================================= */
.services-archive-section { padding-top: 2.5rem; }

.services-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .services-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .services-archive-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-archive-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition);
}
.service-archive-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Image area */
.service-archive-card__img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--clr-bg-alt);
}
.service-archive-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.service-archive-card:hover .service-archive-card__img img {
    transform: scale(1.05);
}
.service-archive-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f0fb 0%, #d0e2ff 100%);
    color: var(--clr-primary);
}
.service-archive-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,30,80,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.service-archive-card:hover .service-archive-card__overlay,
.service-archive-card:focus-within .service-archive-card__overlay {
    opacity: 1;
}

/* Card body */
.service-archive-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .5rem;
}
.service-archive-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
}
.service-archive-card__title a {
    color: var(--clr-text);
    text-decoration: none;
}
.service-archive-card__title a:hover { color: var(--clr-primary); }

.service-archive-card__desc {
    font-size: .875rem;
    color: var(--clr-text-muted);
    line-height: 1.55;
    flex: 1;
}

.service-archive-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.svc-badge {
    font-size: .75rem;
    font-weight: 600;
    color: var(--clr-primary);
    background: #e8f0fb;
    padding: .2rem .6rem;
    border-radius: 100px;
}

.service-archive-card__footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .65rem;
    padding-top: .75rem;
    border-top: 1px solid var(--clr-border);
    margin-top: auto;
}
.service-archive-card__actions {
    display: flex;
    gap: .5rem;
}
.service-archive-card__actions .btn { flex: 1 1 0; min-width: 0; }
.service-archive-card__price {
    font-size: .875rem;
    font-weight: 700;
    color: var(--clr-primary);
}

/* No services placeholder */
.no-services {
    text-align: center;
    padding: 4rem 0;
    color: var(--clr-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* =============================================
   SINGLE SERVICE SIDEBAR EXTRAS
   ============================================= */
.trust-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .5rem;
}
.trust-list__item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    padding: .4rem 0;
    border-bottom: 1px solid var(--clr-border);
}
.trust-list__item:last-child { border-bottom: none; }

.sidebar-services {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: .5rem;
}
.sidebar-services li {
    border-bottom: 1px solid var(--clr-border);
}
.sidebar-services li:last-child { border-bottom: none; }
.sidebar-services a {
    display: block;
    padding: .55rem .5rem;
    font-size: .9rem;
    color: var(--clr-text);
    text-decoration: none;
    transition: color var(--transition), padding-left var(--transition);
}
.sidebar-services a:hover { color: var(--clr-primary); padding-left: .75rem; }
.sidebar-services li.active a {
    color: var(--clr-primary);
    font-weight: 600;
}

/* Post styles reused in single.php */
.post-thumb { margin-bottom: 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.post-thumb img { width:100%; max-height:400px; object-fit:cover; }
.post-footer { margin-top:2rem; padding-top:1.5rem; border-top:1px solid var(--clr-border); display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:1rem; }
.post-cta { background:var(--clr-bg-alt); border-radius:var(--radius-lg); padding:2rem; margin-top:3rem; }
.post-cta h2 { font-size:1.25rem; }
.post-cta p  { color:var(--clr-text-muted); margin-top:.35rem; }

/* =============================================
   SERVICE PAGE — Fixed sidebar layout
   Form → Why Choose Us → All Services (stacked)
   NO sticky positioning that causes overlap
   ============================================= */

.service-page-section {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
}

/* Two-column layout: content | sidebar */
.service-layout {
    display: grid;
    grid-template-columns: 1fr;        /* mobile: single column */
    gap: 2.5rem;
    align-items: start;
}
@media (min-width: 900px) {
    .service-layout {
        grid-template-columns: 1fr 360px; /* desktop: content + fixed-width sidebar */
        align-items: start;
    }
}

/* ── LEFT: Main Content ─────────────────────────── */
.service-layout__content {
    min-width: 0; /* prevent grid blowout */
}

/* ── RIGHT: Sidebar wrapper ─────────────────────── */
.service-layout__sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;       /* space between form, why-us, and services list */
    /* NO position:sticky — items stack naturally, no overlap ever */
    min-width: 0;
}

/* ── Sidebar Card (shared base) ─────────────────── */
.sidebar-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    /* no position, no top offset — stacks in normal flow */
}

.sidebar-card__heading {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--clr-primary);
    display: inline-block;
}

/* ── 1. Quote form card ─────────────────────────── */
.sidebar-card--form {
    /* override quote-form-wrap defaults so it sits flush in the card */
    padding: 0;
    border: none;
    background: transparent;
}
.sidebar-card--form .quote-form-wrap {
    padding: 1.5rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

/* ── 2. Why Choose Us card ──────────────────────── */
.sidebar-trust .trust-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1rem;
}
.sidebar-trust .trust-list__item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .9rem;
    color: var(--clr-text);
    padding: .55rem 0;
    border-bottom: 1px solid var(--clr-border);
    line-height: 1.3;
}
.sidebar-trust .trust-list__item:last-child {
    border-bottom: none;
}
.sidebar-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
}

/* ── 3. All Services list card ──────────────────── */
.sidebar-services-list .sidebar-services {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1rem;
}
.sidebar-services-list .sidebar-services li {
    border-bottom: 1px solid var(--clr-border);
}
.sidebar-services-list .sidebar-services li:last-child {
    border-bottom: none;
}
.sidebar-services-list .sidebar-services a {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .4rem;
    font-size: .9rem;
    color: var(--clr-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color var(--transition), padding-left var(--transition), background var(--transition);
}
.sidebar-services-list .sidebar-services a:hover {
    color: var(--clr-primary);
    background: var(--clr-bg-alt);
    padding-left: .75rem;
}
.sidebar-services-list .sidebar-services li.is-current a {
    color: var(--clr-primary);
    font-weight: 600;
    background: #e8f0fb;
    padding-left: .75rem;
}
.sidebar-services-list .sidebar-services svg {
    flex-shrink: 0;
    opacity: .5;
}
.sidebar-services-list .sidebar-services li.is-current svg {
    opacity: 1;
    color: var(--clr-primary);
}
.sidebar-all-link {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-decoration: none;
    text-align: center;
    padding: .5rem;
    border: 1px solid var(--clr-primary);
    border-radius: var(--radius-md);
    transition: background var(--transition), color var(--transition);
}
.sidebar-all-link:hover {
    background: var(--clr-primary);
    color: #fff;
}

/* ── Remove any old sticky sidebar styles ───────── */
/* (overrides the old rule that had position:sticky) */
.service-layout__sidebar .sidebar-card[style*="position"] {
    position: static !important;
    top: auto !important;
}

/* =============================================
   FORM ALERTS — class-toggled, smooth height
   Never cause layout shift or overlap
   ============================================= */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    border-radius: var(--radius-md);
    padding: 0 .875rem;          /* horizontal padding always present */
    max-height: 0;               /* collapsed by default              */
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .25s ease, padding .3s ease, margin .3s ease;
    margin-bottom: 0;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.45;
    border: 1.5px solid transparent;
}
.form-alert.is-visible {
    max-height: 120px;           /* tall enough for any message       */
    opacity: 1;
    padding: .75rem .875rem;
    margin-bottom: 1rem;
}
.form-alert--success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #15803d;
}
.form-alert--error {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
}
.form-alert__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-top: .1rem;
}
.form-alert__msg { margin: 0; }

/* Field-level errors — same smooth approach */
.form-field-error {
    display: block;
    font-size: .8rem;
    color: var(--clr-error);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .2s ease, opacity .2s ease;
}
.form-field-error.is-visible {
    max-height: 40px;
    opacity: 1;
}

/* Spinner animation */
.btn__spinner {
    animation: tvrd-spin .7s linear infinite;
    vertical-align: middle;
}
@keyframes tvrd-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .btn__spinner { animation-duration: 2s; }
    .form-alert, .form-field-error { transition: none; }
}

/* =============================================
   SIDEBAR — guaranteed no overlap, ever
   Overrides ALL previous sidebar rules
   ============================================= */

/* The sidebar wrapper: flex column, gap between cards */
.service-layout__sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    position: static !important;   /* never sticky, never fixed */
    top: auto !important;
    align-items: stretch;
}

/* Every sidebar card: normal block, no sticky */
.service-layout__sidebar .sidebar-card,
.service-layout__sidebar > * {
    position: static !important;
    top: auto !important;
    width: 100%;
}

/* Quote form card inside sidebar */
.sidebar-card--form {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}
.sidebar-card--form .quote-form-wrap {
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
}

/* Why Choose Us card */
.sidebar-trust {
    border-top: 3px solid var(--clr-primary);
}
.sidebar-trust .trust-list {
    margin: 0 0 1rem 0;
    padding: 0;
}
.sidebar-trust .trust-list__item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .5rem 0;
    font-size: .9rem;
    border-bottom: 1px solid var(--clr-border);
    line-height: 1.3;
    list-style: none;
}
.sidebar-trust .trust-list__item:last-child { border-bottom: none; }

/* All Services list card */
.sidebar-services-list {
    border-top: 3px solid var(--clr-primary);
}
.sidebar-services-list .sidebar-services {
    margin: 0 0 .75rem 0;
    padding: 0;
}
.sidebar-services-list .sidebar-services li {
    list-style: none;
    border-bottom: 1px solid var(--clr-border);
}
.sidebar-services-list .sidebar-services li:last-child { border-bottom: none; }
.sidebar-services-list .sidebar-services a {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .35rem;
    font-size: .875rem;
    color: var(--clr-text);
    text-decoration: none;
    transition: color .15s, background .15s, padding-left .15s;
    border-radius: 4px;
}
.sidebar-services-list .sidebar-services a:hover {
    color: var(--clr-primary);
    background: var(--clr-bg-alt);
    padding-left: .6rem;
}
.sidebar-services-list .sidebar-services li.is-current a {
    color: var(--clr-primary);
    font-weight: 600;
    background: #e8f0fb;
}
.sidebar-all-link {
    display: block;
    text-align: center;
    font-size: .875rem;
    font-weight: 600;
    color: var(--clr-primary);
    text-decoration: none;
    padding: .5rem;
    border: 1.5px solid var(--clr-primary);
    border-radius: var(--radius-md);
    transition: background .15s, color .15s;
}
.sidebar-all-link:hover { background: var(--clr-primary); color: #fff; }



/* ── Brands / Areas index pages ──────────────────────────────
 * No photography — an eye-catching layout built entirely from
 * type, colour, pills and icon glyphs, matching the rest of the
 * design system (.container / .section / .btn / var(--clr-*)). */

/* Stat strip — quick trust numbers under the hero */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--clr-border);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 2rem;
}
@media (min-width: 640px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip__item {
    background: #fff;
    padding: 1.25rem 1rem;
    text-align: center;
}
.stat-strip__num {
    display: block;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1.15;
}
.stat-strip__label {
    font-size: .8125rem;
    color: var(--clr-text-muted);
    font-weight: 500;
}

/* Sticky quick nav — jump to a category/zone */
.quick-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
}
.quick-nav__list {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: .85rem 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.quick-nav__list a {
    flex: 0 0 auto;
    display: inline-block;
    padding: .45rem 1rem;
    border-radius: 100px;
    background: var(--clr-bg-alt);
    color: var(--clr-text);
    font-size: .8125rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--clr-border);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    scroll-margin-top: 5rem;
}
.quick-nav__list a:hover,
.quick-nav__list a:focus-visible { background: var(--clr-primary); border-color: var(--clr-primary); color: #fff; }

/* Live filter box */
.filter-box {
    position: relative;
    max-width: 420px;
    margin: 0 auto 2.5rem;
}
.filter-box input {
    width: 100%;
    padding: .85rem 1rem;
    font-size: .9375rem;
    font-family: inherit;
    border: 1.5px solid var(--clr-border);
    border-radius: 100px;
    background: #fff;
    color: var(--clr-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.filter-box input:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 4px rgba(0,85,179,.12);
}
.filter-count { color: var(--clr-text-muted); font-weight: 600; }

/* Pill group sections (brand category / Dubai zone) */
.pill-section { scroll-margin-top: 5rem; margin-bottom: 3rem; }
.pill-section:last-of-type { margin-bottom: 0; }
.pill-section__head {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}
.pill-section__title { font-size: 1.125rem; font-weight: 700; color: var(--clr-text); }
.pill-section__meta { font-size: .8125rem; color: var(--clr-text-muted); }
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill {
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-border);
    border-radius: 100px;
    padding: .45rem 1.15rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--clr-text);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.pill--link { text-decoration: none; cursor: pointer; }
.pill--link:hover,
.pill--link:focus-visible { background: var(--clr-primary); border-color: var(--clr-primary); color: #fff; transform: translateY(-1px); }
.pill__eta { display: block; font-size: .6875rem; font-weight: 500; color: var(--clr-text-muted); margin-top: .1rem; }
.pill--link:hover .pill__eta, .pill--link:focus-visible .pill__eta { color: rgba(255,255,255,.85); }

.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--clr-text-muted);
    font-size: .9375rem;
}

/* FAQ accordion — native <details>, zero JS required */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    margin-bottom: .75rem;
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.25rem;
    font-weight: 700;
    font-size: .9375rem;
    color: var(--clr-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    flex: 0 0 auto;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--clr-primary);
    transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { border-bottom: 1px solid var(--clr-border); }
.faq-item__a {
    padding: 1rem 1.25rem 1.25rem;
    font-size: .875rem;
    line-height: 1.65;
    color: var(--clr-text-muted);
}

/* ── About / Contact / Privacy pages ─────────────────────────── */

/* Story / prose block */
.prose-block { max-width: 760px; }
.prose-block p { margin-bottom: 1.1rem; line-height: 1.75; color: var(--clr-text); }
.prose-block p:last-child { margin-bottom: 0; }
.prose-block h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2.25rem;
    margin-bottom: .9rem;
    scroll-margin-top: 5rem;
}
.prose-block h2:first-child { margin-top: 0; }
.prose-block ul { margin: 0 0 1.1rem 1.25rem; }
.prose-block li { margin-bottom: .5rem; line-height: 1.65; color: var(--clr-text); }

/* Process steps (How It Works) */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    counter-reset: step;
}
@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.process-step { position: relative; text-align: center; }
.process-step__num {
    width: 44px;
    height: 44px;
    margin: 0 auto .9rem;
    border-radius: 50%;
    background: var(--clr-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
}
@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 22px;
        left: calc(50% + 32px);
        width: calc(100% - 44px);
        height: 2px;
        background: var(--clr-border);
    }
}
.process-step__title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.process-step__desc { font-size: .875rem; color: var(--clr-text-muted); line-height: 1.55; }

/* Contact method cards */
.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) { .contact-methods { grid-template-columns: repeat(3, 1fr); } }
.contact-method-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
}
.contact-method-card__label { font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; color: var(--clr-text-muted); font-weight: 700; margin-bottom: .5rem; }
.contact-method-card__value { font-size: 1.0625rem; font-weight: 700; margin-bottom: 1rem; word-break: break-word; }

/* Business hours table */
.hours-table { width: 100%; border-collapse: collapse; max-width: 420px; }
.hours-table tr { border-bottom: 1px solid var(--clr-border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: .65rem 0; font-size: .9375rem; }
.hours-table td:first-child { font-weight: 600; color: var(--clr-text); }
.hours-table td:last-child { text-align: right; color: var(--clr-text-muted); }
.hours-table tr.is-today td { color: var(--clr-primary); font-weight: 700; }

/* Open / closed status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .9rem;
    border-radius: 100px;
    font-size: .8125rem;
    font-weight: 700;
}
.status-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-badge--open { background: #e6f7ec; color: #16a34a; }
.status-badge--closed { background: #fdecec; color: #dc2626; }

/* Trust pill row (reuses .pill from brands/areas pages) */
.trust-pill-row { display: flex; flex-wrap: wrap; gap: .6rem; }

/* Contact page layout */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }

/* Print button (privacy policy) */
.print-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: transparent;
    border: 1.5px solid var(--clr-border);
    border-radius: 100px;
    padding: .5rem 1.1rem;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--clr-text);
    cursor: pointer;
    font-family: inherit;
}
.print-btn:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
@media print {
    .site-header, .footer-top, .footer-bottom, .wa-float, .quick-nav, .print-btn, .page-hero__ctas { display: none !important; }
}
