﻿/* ═══════════════════════════════════════════════════════════
   مستجاب — Phase 3 Visible Redesign
   Header · Footer · Mobile chrome · Homepage sections
   Load LAST — overrides foundation layers
   ═══════════════════════════════════════════════════════════ */

:root {
    --p3-ink: #0a0f1a;
    --p3-charcoal: #121826;
    --p3-surface: #f7f6f3;
    --p3-border: rgba(255, 255, 255, 0.1);
    --p3-accent: #c62828;
    --p3-accent-hover: #b91c1c;
    --p3-radius-sm: 6px;
    --p3-radius-md: 12px;
    --p3-radius-lg: 20px;
    --p3-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --p3-header-h: 72px;
}

/* ─────────────────────────────────────────
   GLOBAL BUTTONS — modern, tactile
   ───────────────────────────────────────── */
.btn {
    border-radius: var(--p3-radius-sm);
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.25s var(--p3-ease), background 0.25s var(--p3-ease), border-color 0.25s var(--p3-ease), box-shadow 0.25s var(--p3-ease);
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    color: #fff !important;
}

.btn-outline:hover,
.btn-outline:active,
.btn-outline:focus {
    color: #fff !important;
}

.btn-whatsapp,
.btn-whatsapp:hover,
.btn-whatsapp:active {
    color: #fff !important;
}

.btn-primary {
    background: var(--p3-accent);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-radius: var(--p3-radius-sm);
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--p3-accent-hover);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(198, 40, 40, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    border-radius: var(--p3-radius-sm);
    border: 1.5px solid rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--p3-accent);
}

.btn-outline:hover {
    border-color: rgba(198, 40, 40, 0.35);
    background: var(--p3-accent);
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-outline:active {
    transform: scale(0.98);
}

.btn-nav,
.btn-header-cta {
    border-radius: var(--p3-radius-sm);
}

/* ─────────────────────────────────────────
   TOP URGENCY STRIP
   ───────────────────────────────────────── */
.top-urgency-strip {
    background: var(--p3-charcoal);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-urgency-strip .strip-item,
.top-urgency-strip .strip-item a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 600;
}

.top-urgency-strip .strip-dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
}

.top-urgency-strip .phone-strip a {
    background: rgba(198, 40, 40, 0.18);
    border: 1px solid rgba(198, 40, 40, 0.35);
    border-radius: var(--p3-radius-sm);
    padding: 4px 12px;
    font-weight: 700;
    color: #fff;
}

/* ─────────────────────────────────────────
   HEADER — dark glass command bar
   ───────────────────────────────────────── */
#header,
header#header,
.site-header,
.site-nav,
.page-home #header,
.page-service #header {
    top: 38px;
    background: rgba(10, 15, 26, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#header::after,
.page-home #header::after,
.page-service #header::after {
    background: linear-gradient(90deg, transparent, rgba(198, 40, 40, 0.7), rgba(255, 255, 255, 0.12), transparent);
    opacity: 0.6;
}

#header.scrolled,
.page-home #header.scrolled,
.page-service #header.scrolled {
    top: 0;
    background: rgba(10, 15, 26, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-home #header.scrolled .logo,
.page-home #header.scrolled .logo-name,
.page-service #header.scrolled .logo,
.page-service #header.scrolled .logo-name {
    color: #fff;
}

.page-home #header.scrolled .logo-muted,
.page-service #header.scrolled .logo-muted {
    color: rgba(255, 255, 255, 0.55);
}

.page-home #header.scrolled .logo-tagline,
.page-service #header.scrolled .logo-tagline {
    color: rgba(255, 255, 255, 0.45);
}

.page-home #header.scrolled .nav-links,
.page-service #header.scrolled .nav-links {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.page-home #header.scrolled .nav-links a,
.page-service #header.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.78);
}

.page-home #header.scrolled .nav-links a:hover,
.page-service #header.scrolled .nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.page-home #header.scrolled .nav-links a.active,
.page-service #header.scrolled .nav-links a.active {
    color: #fff;
    background: rgba(198, 40, 40, 0.22);
}

.page-home #header.scrolled .header-phone,
.page-service #header.scrolled .header-phone {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.page-home #header.scrolled .header-phone-label,
.page-service #header.scrolled .header-phone-label {
    color: rgba(255, 255, 255, 0.5);
}

.page-home #header.scrolled .header-phone-num,
.page-service #header.scrolled .header-phone-num {
    color: #fff;
}

.page-home #header.scrolled .header-actions .btn-nav,
.page-service #header.scrolled .header-actions .btn-nav {
    background: var(--p3-accent);
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-home #header.scrolled .menu-toggle,
.page-service #header.scrolled .menu-toggle {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.header-container {
    height: var(--p3-header-h);
}

.logo {
    color: #fff;
}

.logo-name {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-muted {
    color: rgba(255, 255, 255, 0.55);
}

.logo-tagline {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

#header.scrolled .logo-name,
#header.scrolled .logo {
    color: #fff;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.78);
    border-radius: var(--p3-radius-sm);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 8px 14px;
}

.page-home .nav-links,
.page-service .nav-links {
    gap: 2px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--p3-radius-md);
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
    color: #fff;
    background: rgba(198, 40, 40, 0.22);
    border: 1px solid rgba(198, 40, 40, 0.35);
}

.nav-links a::after {
    display: none;
}

.header-phone {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--p3-radius-sm);
    padding: 8px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.header-phone-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.header-phone-num {
    color: #fff;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.header-phone-icon {
    background: var(--p3-accent);
    border-radius: var(--p3-radius-sm);
}

.header-actions .btn-nav,
.btn-header-cta {
    background: var(--p3-accent);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.header-actions .btn-nav:hover,
.btn-header-cta:hover {
    background: var(--p3-accent-hover);
    transform: translateY(-1px);
}

.menu-toggle {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--p3-radius-sm);
}

.menu-toggle .bar {
    background: #fff;
}

.nav-overlay {
    background: rgba(6, 10, 18, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ─────────────────────────────────────────
   MOBILE DRAWER — full glass panel
   ───────────────────────────────────────── */
@media (max-width: 992px) {
    .nav-links {
        width: min(340px, 92vw);
        background: rgba(10, 15, 26, 0.97);
        backdrop-filter: blur(28px) saturate(160%);
        -webkit-backdrop-filter: blur(28px) saturate(160%);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -24px 0 80px rgba(0, 0, 0, 0.45), inset 1px 0 0 rgba(255, 255, 255, 0.06);
    }

    .nav-links::before {
        content: 'مستجاب';
        color: #fff;
        background: transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 32px 28px 24px;
        font-size: 1.35rem;
        letter-spacing: -0.04em;
    }

    .nav-links a {
        color: rgba(255, 255, 255, 0.82);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 16px 28px;
        font-size: 1rem;
    }

    .nav-links a::before {
        background: var(--p3-accent);
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(198, 40, 40, 0.12);
        color: #fff;
        padding-right: 32px;
    }

    .nav-links .btn-nav,
    .nav-links .nav-book-mobile {
        margin: 20px 24px;
        border-radius: var(--p3-radius-sm);
        background: var(--p3-accent);
        color: #fff;
        text-align: center;
        justify-content: center;
        border: none;
    }

    .header-phone {
        display: none;
    }

    .header-actions .btn-header-cta {
        display: none;
    }
}

/* ─────────────────────────────────────────
   FOOTER — editorial bento layout
   ───────────────────────────────────────── */
.site-footer,
.footer {
    background: linear-gradient(180deg, #0a0f1a 0%, #121826 100%);
    padding: clamp(56px, 8vw, 88px) 0 clamp(32px, 5vw, 48px);
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(198, 40, 40, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 40% 30% at 10% 100%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-inner,
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
}

.footer-brand {
    padding-left: 0;
}

.footer-slogan {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 28ch;
    margin: 16px 0 20px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-contact i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(198, 40, 40, 0.2);
    border: 1px solid rgba(198, 40, 40, 0.35);
    border-radius: var(--p3-radius-sm);
    color: #fca5a5;
    font-size: 0.9rem;
}

.footer-contact a {
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s var(--p3-ease), transform 0.2s var(--p3-ease);
}

.footer-col ul a:hover {
    color: #fff;
    transform: translateX(-4px);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.footer-social .social {
    width: 40px;
    height: 40px;
    border-radius: var(--p3-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.2s var(--p3-ease), border-color 0.2s var(--p3-ease), transform 0.2s var(--p3-ease);
}

.footer-social .social:hover {
    background: rgba(198, 40, 40, 0.2);
    border-color: rgba(198, 40, 40, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.footer-newsletter input[type="email"] {
    border-radius: var(--p3-radius-sm);
}

.footer-newsletter .btn-primary {
    border-radius: var(--p3-radius-sm);
}

.footer-small {
    margin-top: 16px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 992px) {
    .footer-inner,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer-inner,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ─────────────────────────────────────────
   MOBILE STICKY BAR — floating glass dock
   ───────────────────────────────────────── */
@media (max-width: 767px) {
    .mobile-action-bar,
    .mobile-cta-footer {
        left: 12px !important;
        right: 12px !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        width: auto !important;
        border-radius: var(--p3-radius-lg) !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        background: rgba(10, 15, 26, 0.92) !important;
        backdrop-filter: blur(24px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
        padding: 8px !important;
        gap: 8px !important;
    }

    .mobile-action-bar > a,
    .mobile-cta-footer > a {
        border-radius: var(--p3-radius-md) !important;
        min-height: 50px !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }

    .mobile-action-bar > a.bar-call,
    .mobile-action-bar > a[href^="tel"],
    .mobile-cta-footer > a.cta-call {
        background: var(--p3-accent) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    }

    .mobile-action-bar > a.bar-wa,
    .mobile-action-bar > a[href*="wa.me"],
    .mobile-cta-footer > a.cta-whatsapp {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        color: #fff !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    }

    .mobile-action-bar > a.bar-wa i,
    .mobile-cta-footer > a[href*="wa.me"] i {
        color: #25d366;
    }

    .site-footer,
    .footer {
        padding-bottom: calc(100px + env(safe-area-inset-bottom)) !important;
    }
}

/* ═══════════════════════════════════════════
   HOMEPAGE — dramatic section redesign
   ═══════════════════════════════════════════ */

/* Hero — dark asymmetric split */
.page-home .hero {
    min-height: 100dvh;
    background: var(--p3-ink);
}

.page-home .hero-bg {
    background:
        linear-gradient(125deg, rgba(10, 15, 26, 0.95) 0%, rgba(10, 15, 26, 0.7) 45%, rgba(10, 15, 26, 0.4) 100%),
        url('hero-premium.jpg') center / cover no-repeat;
    transform: none;
}

.page-home .hero-overlay {
    background:
        linear-gradient(105deg, rgba(10, 15, 26, 0.92) 0%, rgba(10, 15, 26, 0.75) 42%, transparent 68%),
        radial-gradient(ellipse 500px 400px at 75% 30%, rgba(198, 40, 40, 0.12) 0%, transparent 60%);
}

.page-home .hero::before {
    background: conic-gradient(
        from 200deg at 70% 40%,
        transparent 0deg,
        rgba(198, 40, 40, 0.06) 20deg,
        transparent 40deg
    );
}

.page-home .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: clamp(32px, 5vw, 56px);
    padding-bottom: 64px;
}

.page-home .hero-text .prestige-badge {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--p3-radius-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-home .h1-main {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    filter: none;
    animation: none;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.page-home .title-accent {
    -webkit-text-fill-color: #fca5a5;
    color: #fca5a5;
    background: none;
}

.page-home .hero-text p,
.page-home .hero-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 48ch;
}

.page-home .hero-trust-badges span {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--p3-radius-sm);
    color: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-home .hero-image-wrapper {
    border-radius: var(--p3-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.page-home .hero-cta-group .btn-primary {
    padding: 16px 28px;
    font-size: 1rem;
}

.page-home .hero-cta-group .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.page-home .hero-cta-group .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* Trust badges row */
.page-home .trust-badges-row {
    background: var(--p3-surface);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 28px 0;
}

.page-home .trust-badges-row .trust-badge-item {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--p3-radius-md);
    padding: 16px 20px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s var(--p3-ease), box-shadow 0.3s var(--p3-ease);
}

.page-home .trust-badges-row .trust-badge-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Services grid — editorial bento cards */
.page-home #services-grid {
    background: var(--p3-surface);
    padding: clamp(64px, 10vw, 112px) 0;
}

.page-home #services-grid .section-title {
    text-align: right;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.page-home #services-grid .section-title h2 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.page-home .bento-grid .service-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--p3-radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    position: relative;
    padding: 0;
}

.page-home .bento-grid .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(198, 40, 40, 0.2);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.page-home .bento-grid .service-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
}

.page-home .bento-grid .service-card .card-icon {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    margin: 0 !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(10, 15, 26, 0.85) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--p3-radius-sm) !important;
    color: #fff !important;
    font-size: 1rem !important;
    z-index: 3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page-home .bento-grid .service-card .card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
    text-align: right;
}

.page-home .bento-grid .service-card .card-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--p3-charcoal);
}

.page-home .bento-grid .service-card .card-content p {
    color: rgba(15, 23, 42, 0.62);
    font-size: 0.9rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.page-home .bento-grid .service-card .card-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.page-home .bento-grid .service-card .card-ctas .btn {
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.82rem;
    min-height: 44px;
}

.page-home .bento-featured {
    grid-column: span 7;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.page-home .bento-featured .card-image {
    min-height: 100%;
    height: auto;
}

.page-home .bento-card-label {
    border-radius: var(--p3-radius-sm);
    top: 16px;
    left: auto;
    right: 16px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Commitment section */
.page-home .commitment-section {
    background: #fff;
    padding: clamp(64px, 10vw, 100px) 0;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.page-home .commit-heading {
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Trust section */
.page-home .trust-section {
    background: var(--p3-charcoal);
    padding: clamp(64px, 10vw, 100px) 0;
}

.page-home .trust-title {
    color: #000;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: none;
}

.page-home .trust-lead {
    color: #333;
    font-weight: 500;
}

.page-home .trust-fresco-fig {
    border-radius: var(--p3-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.page-home .trust-gem {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--p3-radius-md);
    padding: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Emergency band */
.page-home .emergency-band {
    background: var(--p3-accent);
    padding: clamp(56px, 8vw, 88px) 0;
}

.page-home .emergency-band h2 {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.page-home .emergency-band p {
    color: rgba(255, 255, 255, 0.85);
}

.page-home .emergency-phone-btn {
    border-radius: var(--p3-radius-sm);
    background: #fff;
    color: var(--p3-accent);
    font-weight: 800;
}

.page-home .emergency-band .btn-whatsapp {
    border-radius: var(--p3-radius-sm);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.page-home .emergency-pills span {
    border-radius: var(--p3-radius-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Process — 2-col zigzag, not 3 equal cards */
.page-home .section-process {
    background: var(--p3-surface);
    padding: clamp(64px, 10vw, 100px) 0;
}

.page-home .section-process .section-title {
    text-align: right;
}

.page-home .section-process .grid.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    position: relative;
}

.page-home .section-process .grid.grid-3::before {
    display: none;
}

.page-home .section-process .grid.grid-3 .card {
    text-align: right;
    border-radius: var(--p3-radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    padding: 32px 28px !important;
}

.page-home .section-process .grid.grid-3 .card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 520px;
    margin-inline-start: auto;
}

.page-home .section-process .card > div[style*="border-radius: 50%"] {
    width: 48px !important;
    height: 48px !important;
    border-radius: var(--p3-radius-sm) !important;
    margin: 0 0 16px 0 !important;
    font-size: 1.2rem !important;
    background: var(--p3-accent) !important;
}

.page-home .section-process .card h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

/* Testimonials */
.page-home #testimonials {
    background: #fff;
    padding: clamp(64px, 10vw, 100px) 0;
}

.page-home .review-inner {
    border-radius: var(--p3-radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--p3-surface);
}

/* Locations grid */
.page-home #locations-grid {
    background: var(--p3-surface);
}

.page-home .coverage-chip,
.page-home .neighborhood-tag {
    border-radius: var(--p3-radius-sm);
}

/* FAQ */
.page-home .faq-section .faq-item {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0;
}

.page-home .faq-section .faq-question {
    font-weight: 700;
}

/* Section titles global on home */
.page-home .section-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--p3-accent);
}

.page-home .section-title h2 {
    letter-spacing: -0.03em;
    font-weight: 800;
    text-wrap: balance;
}

/* Stagger reveal enhancement */
.page-home .fade-in.visible,
.page-home .reveal.active {
    transition-duration: 0.65s;
    transition-timing-function: var(--p3-ease);
}

@media (max-width: 1023px) {
    .page-home .hero-inner {
        grid-template-columns: 1fr;
    }

    .page-home .bento-featured {
        grid-column: span 12;
        grid-template-columns: 1fr;
    }

    .page-home .bento-wide,
    .page-home .bento-half {
        grid-column: span 12;
    }

    .page-home .section-process .grid.grid-3 {
        grid-template-columns: 1fr;
    }

    .page-home .section-process .grid.grid-3 .card:nth-child(3) {
        max-width: none;
    }
}

@media (max-width: 576px) {
    .page-home .bento-grid .service-card .card-ctas {
        grid-template-columns: 1fr;
    }

    /* Re-show hero image on small screens (mobile.css hides it) */
    .page-home .hero-image-wrapper {
        display: block !important;
        min-height: 240px;
        max-height: 300px;
    }
}
