﻿@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* ═══════════════════════════════════════════════════════════
       مستجاب PREMIUM DESIGN SYSTEM v2.0
       ═══════════════════════════════════════════════════════════ */

    /* ━━━ COLOR PALETTE (OKLCH + Hex) ━━━ */
    --p-red: #DC2626;
    --p-red-hover: #B91C1C;
    --p-red-light: #FEF2F2;
    --p-red-glow: rgba(220, 38, 38, 0.35);
    --p-navy: #0F172A;
    --p-navy-light: #1E293B;
    --p-slate: #64748B;
    --p-slate-light: #CBD5E1;
    --accent-green: #059669;
    --accent-green-light: #D1FAE5;
    --white: #FFFFFF;
    --bg-soft: #F8FAFC;
    --bg-warm: #F1F5F9;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* ━━━ GRADIENTS (135° Premium Direction) ━━━ */
    --gradient-red: linear-gradient(135deg, #DC2626, #F87171);
    --gradient-red-dark: linear-gradient(135deg, #991B1B, #DC2626);
    --gradient-navy: linear-gradient(135deg, #0F172A, #1E293B);
    --gradient-premium: linear-gradient(135deg, #DC2626, #0F172A);
    --gradient-accent: linear-gradient(135deg, #059669, #10B981);
    --gradient-secondary: linear-gradient(135deg, #1E293B, #334155);

    /* ━━━ GLASSMORPHISM EFFECTS ━━━ */
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-blur: blur(20px);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    --glass-dark-bg: rgba(15, 23, 42, 0.92);
    --glass-dark-border: rgba(255, 255, 255, 0.1);

    /* ━━━ SHADOW HIERARCHY (5-TIER SYSTEM) ━━━ */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.14);
    --shadow-2xl: 0 30px 64px rgba(0, 0, 0, 0.22);
    --shadow-red: 0 4px 16px rgba(220, 38, 38, 0.25);
    --shadow-green: 0 4px 16px rgba(5, 150, 101, 0.25);
    --shadow-glow: 0 0 32px rgba(220, 38, 38, 0.2);

    /* ━━━ BORDER RADIUS SCALE ━━━ */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* ━━━ SPACING SCALE (8px Base Unit) ━━━ */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* ━━━ EASING & MOTION ━━━ */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in: cubic-bezier(0.42, 0, 1, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s var(--ease-out);
    --transition-fast: all 0.2s var(--ease-out);
    --transition-slow: all 0.5s var(--ease-out);

    /* ━━━ CONTAINER WIDTHS ━━━ */
    --max-width-sm: 640px;
    --max-width-md: 768px;
    --max-width-lg: 1024px;
    --max-width-xl: 1200px;

    /* ━━━ UNIFIED v3 TOKENS (glass redesign) ━━━ */
    --color-primary: #DC2626;
    --color-primary-hover: #B91C1C;
    --color-ink: #060A12;
    --color-navy: #0F172A;
    --color-success: #059669;
    --color-surface: #F8FAFC;
    --color-text: #1E293B;
    --color-muted: #64748B;
    --container-max: 1200px;
    --gutter: clamp(16px, 4vw, 24px);
    --section-y: clamp(48px, 8vw, 96px);
    --header-h: 76px;
    --strip-h: 38px;
    --mobile-bar-h: 76px;
    --font-display: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
    --z-strip: 1002;
    --z-header: 1000;
    --z-overlay: 1100;
    --z-drawer: 1200;
    --z-mobile-bar: 9999;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY & BASE ELEMENTS
   ═══════════════════════════════════════════════════════════ */

body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    background: var(--bg-soft);
    color: var(--text-main);
    line-height: 1.8;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ━━━ TYPOGRAPHY SCALE (1.35 Ratio) ━━━ */
h1, .h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
    color: var(--text-main);
}

h2, .h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-lg);
    color: var(--text-main);
}

h3, .h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-md);
    color: var(--text-main);
}

h4, .h4 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: var(--space-md);
    color: var(--text-main);
}

h5, h6 { font-weight: 600; margin-bottom: var(--space-sm); }

p {
    font-size: clamp(0.95rem, 2vw, 1rem);
    line-height: 1.8;
    max-width: 70ch;
    margin-bottom: var(--space-md);
}

small, .text-sm {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    line-height: 1.6;
}

strong { font-weight: 700; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
    position: relative;
}

a:hover {
    color: var(--p-red);
}

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

li {
    margin-bottom: var(--space-sm);
}

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

::selection {
    background: var(--p-red);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--p-slate);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--p-slate-light);
}

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

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: var(--white); }
.text-red { color: var(--p-red); }
.text-dark { color: var(--text-main); }
.text-muted { color: var(--text-muted); }
.bg-white { background: var(--white); }
.bg-light { background: var(--bg-warm); }
.bg-red { background: var(--p-red); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.m-1 { margin: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.pt-5 { padding-top: 3rem; }
.pb-4 { padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-100 { width: 100%; }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.border-0 { border: none; }
.fs-4 { font-size: 1.25rem; }
.text-start { text-align: right; }

#preloader {
    position: fixed; inset: 0;
    background: var(--p-navy);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s var(--ease-out);
}
.loader-content { text-align: center; color: var(--white); }
.loader-content i { font-size: 3.5rem; color: var(--p-red); animation: loaderPulse 1s infinite; }
.loader-content h3 { margin-top: 18px; font-size: 1.8rem; font-weight: 800; letter-spacing: 1px; }

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

/* ====== TOP URGENCY STRIP - PREMIUM ====== */
.top-urgency-strip {
    background: linear-gradient(90deg, #0a1628 0%, #0F172A 50%, #0a1628 100%);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out);
    will-change: transform;
}
.top-urgency-strip.strip-hidden {
    transform: translateY(-100%);
}
.top-urgency-strip::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220,38,38,0.06), transparent);
    animation: stripShine 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes stripShine {
    0% { left: -60%; }
    100% { left: 160%; }
}
.strip-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    min-height: 38px;
}
.strip-group {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}
.strip-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 20px;
    opacity: 0.92;
    border-left: 1px solid rgba(255,255,255,0.07);
    font-size: 0.77rem;
    white-space: nowrap;
    height: 38px;
}
.strip-item:first-child { border-left: none; }
.strip-item i { color: var(--p-red); font-size: 0.72rem; flex-shrink: 0; }
.strip-item .strip-dot {
    width: 6px; height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulseGlow 1.5s infinite;
    flex-shrink: 0;
}
.phone-strip {
    background: linear-gradient(135deg, rgba(220,38,38,0.18), rgba(220,38,38,0.08));
    border-left: 1px solid rgba(220,38,38,0.25) !important;
    padding: 0 24px;
}
.phone-strip a {
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    direction: ltr;
    letter-spacing: 0.5px;
}
.phone-strip a:hover { color: #fca5a5; letter-spacing: 1px; }
.phone-strip a i { color: var(--accent-green); font-size: 0.85rem; animation: ringBell 2.5s ease-in-out infinite; }
@keyframes ringBell {
    0%, 90%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-12deg); }
    20%, 40% { transform: rotate(12deg); }
}

/* Mobile: ticker scroll */
@media (max-width: 768px) {
    .strip-container { flex-direction: row; justify-content: space-between; }
    .strip-group { display: none; }
    .phone-strip {
        flex: 1;
        border-left: none !important;
        background: transparent;
        justify-content: center;
    }
    .phone-strip a { font-size: 0.82rem; justify-content: center; }
    .strip-mobile-scroll {
        display: flex;
        align-items: center;
        overflow: hidden;
        flex: 2;
        position: relative;
    }
    .strip-ticker {
        display: flex;
        gap: 40px;
        animation: tickerMove 18s linear infinite;
        white-space: nowrap;
        font-size: 0.72rem;
        opacity: 0.85;
    }
    @keyframes tickerMove {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
    .ticker-item { display: flex; align-items: center; gap: 6px; }
    .ticker-item i { color: var(--p-red); font-size: 0.65rem; }
}
@media (min-width: 769px) {
    .strip-mobile-scroll { display: none; }
}

/* ====== HEADER / NAVBAR - PREMIUM REDESIGN ====== */
#header, header#header, .site-header, .site-nav {
    position: fixed;
    top: 38px;
    width: 100%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: var(--z-header, 1000);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: top 0.4s var(--ease-out), background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
    will-change: top;
}
#header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--p-red), rgba(220,38,38,0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}
#header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 32px rgba(0,0,0,0.1), 0 1px 0 rgba(0,0,0,0.04);
}
#header.scrolled::after { opacity: 1; }

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 16px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--p-red);
    letter-spacing: -0.5px;
    flex-shrink: 0;
    transition: transform 0.2s var(--ease-spring);
}
.logo:hover { transform: scale(1.03); }
.logo span { color: var(--text-main); font-weight: 700; }
.logo i { font-size: 1.3rem; }
.logo h1 { font-size: 1.45rem; font-weight: 900; color: var(--p-red); }
.logo a { display: flex; align-items: center; gap: 10px; }
.logo svg { flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(220,38,38,0.3)); }

/* NAV LINKS */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-main);
    position: relative;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.2px;
    transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--p-red); background: rgba(220,38,38,0.05); }
.nav-links a.active { color: var(--p-red); background: rgba(220,38,38,0.06); }
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    width: 0; height: 2px;
    background: var(--p-red);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
    transform: translateX(-50%);
}
.nav-links a:hover::after, .nav-links a.active::after { width: calc(100% - 24px); }

/* NAV BOOK BUTTON */
.btn-nav {
    background: var(--p-red);
    color: var(--white) !important;
    padding: 9px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 12px rgba(220,38,38,0.3);
    transition: all 0.25s var(--ease-out) !important;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}
.btn-nav:hover {
    background: var(--p-red-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 18px rgba(220,38,38,0.4) !important;
    color: var(--white) !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:focus-visible { outline: 3px solid rgba(220,38,38,0.4); outline-offset: 2px; }

/* HAMBURGER BUTTON */
.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-main);
    z-index: 1002;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(0,0,0,0.08);
    background: rgba(0,0,0,0.02);
    transition: all 0.2s var(--ease-out);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.menu-toggle:hover {
    background: rgba(220,38,38,0.06);
    border-color: rgba(220,38,38,0.2);
    color: var(--p-red);
}
.menu-toggle.open {
    background: rgba(220,38,38,0.08);
    border-color: rgba(220,38,38,0.25);
    color: var(--p-red);
}
/* Hamburger icon morphs to X */
.menu-toggle .bar {
    display: block;
    width: 20px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s, width 0.3s;
    position: absolute;
}
.menu-toggle .bar:nth-child(1) { top: 13px; }
.menu-toggle .bar:nth-child(2) { top: 19px; }
.menu-toggle .bar:nth-child(3) { top: 25px; width: 14px; }
.menu-toggle.open .bar:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open .bar:nth-child(3) { width: 20px; transform: rotate(-45deg) translate(4px, -4px); }

/* Fallback for fa-bars icon */
.menu-toggle i { font-size: 1.2rem; }

/* NAV OVERLAY for mobile */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.nav-overlay.active { 
    display: block; 
    opacity: 1; 
    pointer-events: auto;
}

/* MOBILE DRAWER for small screens */
.mobile-drawer {
    position: fixed;
    top: calc(var(--strip-h, 38px) + 70px);
    right: 0;
    width: 100%;
    max-width: 100%;
    height: calc(100dvh - var(--strip-h, 38px) - 70px);
    background: var(--white);
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    -webkit-overflow-scrolling: touch;
    padding: 0;
}
.mobile-drawer.open {
    transform: translateX(0);
    display: block;
}
.mobile-drawer::after {
    content: '';
    display: block;
    height: 100px;
}

/* Mobile navigation inside drawer */
.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    gap: 0;
}
.mobile-nav a {
    display: block;
    padding: 16px 20px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    position: relative;
}
.mobile-nav a:hover {
    background: rgba(220, 38, 38, 0.06);
    color: var(--p-red);
    padding-right: 24px;
}
.mobile-nav a:active {
    background: rgba(220, 38, 38, 0.1);
}
.mobile-nav .btn-nav {
    margin: 16px 12px;
    display: block;
    text-align: center;
    padding: 14px 20px;
    border-bottom: none;
}

@media (max-width: 900px) {
    .menu-toggle { display: flex; }
}

.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-weight: 600; color: var(--text-main); transition: var(--transition); }
.main-nav a:hover { color: var(--p-red); }
.header-cta { display: flex; align-items: center; gap: 15px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35), var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 16px 40px rgba(220, 38, 38, 0.45), 0 0 32px rgba(220, 38, 38, 0.2);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.4);
    outline-offset: 2px;
}

.btn-secondary {
    background: var(--white);
    color: var(--p-red);
    box-shadow: var(--shadow-md);
    border: 1.5px solid rgba(220, 38, 38, 0.1);
}

.btn-secondary:hover {
    background: var(--bg-warm);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(220, 38, 38, 0.2);
}

.btn-secondary:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.3);
    outline-offset: 2px;
}

.btn-outline {
    background: transparent;
    color: var(--p-red);
    border: 2px solid var(--p-red);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.1);
}

.btn-outline:hover {
    background: var(--gradient-red);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.3);
    border-color: transparent;
}

.btn-outline:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.3);
    outline-offset: 2px;
}

.btn-whatsapp {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(5, 150, 101, 0.35), var(--shadow-lg);
}

.btn-whatsapp:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 16px 40px rgba(5, 150, 101, 0.45), 0 0 32px rgba(5, 150, 101, 0.2);
}

.btn-whatsapp:focus-visible {
    outline: 3px solid rgba(5, 150, 101, 0.4);
    outline-offset: 2px;
}

.btn-nav {
    background: var(--gradient-red);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.35);
}

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

.btn-nav:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.3);
    outline-offset: 1px;
}

.btn-pulse { animation: pulseBtn 2.5s infinite; }

@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 var(--p-red-glow), 0 8px 24px rgba(220, 38, 38, 0.35); }
    70% { box-shadow: 0 0 0 20px rgba(220, 38, 38, 0), 0 8px 24px rgba(220, 38, 38, 0.35); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0), 0 8px 24px rgba(220, 38, 38, 0.35); }
}

.btn-link {
    color: var(--p-red);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    position: relative;
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-red);
    transition: width 0.3s var(--ease-out);
}

.btn-link:hover {
    gap: 10px;
    color: var(--p-red-hover);
}

.btn-link:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

.global-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-premium);
    color: var(--white);
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.4), var(--shadow-xl);
    animation: pulseBtn 2.5s infinite;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.global-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
}

.global-cta-btn:hover {
    background: var(--gradient-premium);
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 20px 48px rgba(220, 38, 38, 0.5), 0 0 40px rgba(220, 38, 38, 0.25);
}

.global-cta-btn:hover::before {
    opacity: 1;
}

.global-cta-btn:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.4);
    outline-offset: 2px;
}/* ====== HERO — PREMIUM REDESIGN ====== */
.hero {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding-bottom: 0;
}

/* ── RICH OVERLAY ── */
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(125deg, rgba(5,10,25,0.97) 0%, rgba(10,18,42,0.88) 45%, rgba(12,20,38,0.78) 100%),
        radial-gradient(ellipse 800px 600px at 65% 35%, rgba(220,38,38,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 500px 400px at 10% 85%, rgba(5,150,101,0.12) 0%, transparent 55%);
    z-index: 1;
}
.hero-overlay::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ── GLOWING ORBS ── */
.hero-orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbDrift ease-in-out infinite;
    opacity: 0;
}
.orb-red   { width: 500px; height: 500px; background: rgba(220,38,38,0.18); top: -10%; right: 20%; animation-duration: 18s; animation-delay: 0s; }
.orb-blue  { width: 400px; height: 400px; background: rgba(59,130,246,0.08); bottom: 10%; left: 10%; animation-duration: 22s; animation-delay: -6s; }
.orb-green { width: 350px; height: 350px; background: rgba(5,150,101,0.1); top: 40%; right: -5%; animation-duration: 16s; animation-delay: -3s; }
@keyframes orbDrift {
    0%   { opacity: 0; transform: translate(0, 0) scale(1); }
    20%  { opacity: 1; }
    50%  { transform: translate(30px, -20px) scale(1.1); }
    80%  { opacity: 0.8; }
    100% { opacity: 0; transform: translate(0, 0) scale(1); }
}

/* ── PARTICLES ── */
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat linear infinite;
}
.particle:nth-child(1) { width: 2px; height: 2px; left: 12%; top: 25%; background: rgba(255,255,255,0.5); animation-duration: 20s; }
.particle:nth-child(2) { width: 4px; height: 4px; left: 38%; top: 65%; background: rgba(220,38,38,0.6); animation-duration: 24s; animation-delay: -5s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 60%; top: 35%; background: rgba(255,255,255,0.3); animation-duration: 17s; animation-delay: -9s; }
.particle:nth-child(4) { width: 2px; height: 2px; left: 78%; top: 60%; background: rgba(255,255,255,0.4); animation-duration: 26s; animation-delay: -3s; }
.particle:nth-child(5) { width: 3px; height: 3px; left: 22%; top: 80%; background: rgba(5,150,101,0.6); animation-duration: 21s; animation-delay: -7s; }
.particle:nth-child(6) { width: 5px; height: 5px; left: 88%; top: 20%; background: rgba(220,38,38,0.4); animation-duration: 28s; animation-delay: -12s; }
@keyframes particleFloat {
    0%   { transform: translateY(30px) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.5; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* ── ECG HEARTBEAT LINE ── */
.hero-ecg-line {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.25;
}
.hero-ecg-line svg {
    width: 100%;
    height: 100%;
    display: block;
}
.ecg-path {
    fill: none;
    stroke: var(--p-red);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(220,38,38,0.5));
    animation: ecgDraw 3s ease-in-out infinite;
}
@keyframes ecgDraw {
    0%   { stroke-dashoffset: 1000; stroke-dasharray: 1000; opacity: 0.3; }
    30%  { opacity: 1; }
    70%  { opacity: 0.8; }
    100% { stroke-dashoffset: 0; stroke-dasharray: 1000; opacity: 0.3; }
}
.ecg-path-soft {
    fill: none;
    stroke: rgba(220,38,38,0.15);
    stroke-width: 1;
    stroke-dasharray: 4 8;
    animation: ecgPulseSoft 4s linear infinite;
}
@keyframes ecgPulseSoft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-20px); }
}
.hero-ecg-line .ecg-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220,38,38,0.4), transparent);
    animation: ecgGlowScan 3s ease-in-out infinite;
}
@keyframes ecgGlowScan {
    0%   { opacity: 0; transform: scaleX(0.3); }
    50%  { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0.3); }
}

/* ── MAIN HERO CONTENT (grows to fill) ── */
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    align-items: center;
    width: 100%;
    flex: 1;
    padding: 140px 0 60px;
}

/* ── RIGHT: Typography ── */
.hero-text { text-align: right; }

.hero-text .prestige-badge {
    display: inline-flex;
    margin-bottom: 24px;
    animation: badgeSlide 0.8s var(--ease-out) 0.2s both;
}
@keyframes badgeSlide {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Layered H1 */
.hero-text h1 {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 22px;
    animation: headlineIn 0.9s var(--ease-out) 0.35s both;
}
@keyframes headlineIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.h1-sub {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.h1-main {
    font-size: clamp(3rem, 6.5vw, 5rem);
    font-weight: 900;
    line-height: 1.0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 40%, #fda4af 70%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    filter: drop-shadow(0 4px 40px rgba(220,38,38,0.25));
    animation: textGlow 4s ease-in-out infinite;
}
@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 4px 40px rgba(220,38,38,0.25)); }
    50%      { filter: drop-shadow(0 4px 60px rgba(220,38,38,0.45)); }
}
.h1-accent {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--p-red);
    letter-spacing: 0.5px;
    padding: 4px 0 0;
    text-shadow: 0 0 30px rgba(220,38,38,0.3);
}

.hero-desc {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.9;
    margin-bottom: 28px;
    max-width: 520px;
    animation: fadeUp 0.8s var(--ease-out) 0.5s both;
}
.hero-desc strong { color: #fda4af; font-weight: 700; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── EMERGENCY PHONE BLOCK ── */
.hero-phone-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    position: relative;
    margin-bottom: 28px;
    padding: 18px 32px 14px;
    background: rgba(220,38,38,0.12);
    border: 1.5px solid rgba(220,38,38,0.4);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    box-shadow: 0 0 40px rgba(220,38,38,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
    animation: fadeUp 0.8s var(--ease-out) 0.65s both;
    overflow: hidden;
}
.hero-phone-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220,38,38,0.6), transparent);
}
.phone-pulse-dot {
    position: absolute;
    top: 12px; left: 16px;
    width: 8px; height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulseGlow 1.5s infinite;
}
.hero-phone-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hero-phone-label i { color: #4ade80; font-size: 0.8rem; }
.hero-phone-number {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    color: #fff;
    direction: ltr;
    letter-spacing: 4px;
    line-height: 1.1;
    display: block;
    text-shadow: 0 2px 20px rgba(220,38,38,0.6);
    transition: all 0.3s;
}
.hero-phone-number:hover { color: #fda4af; letter-spacing: 5px; }
.phone-available {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.phone-available::before {
    content: '';
    width: 6px; height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 6px #4ade80;
}

/* ── CTA BUTTONS ── */
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    justify-content: flex-start;
    animation: fadeUp 0.8s var(--ease-out) 0.75s both;
}
.hero-cta-main { font-size: 1rem; padding: 15px 32px; font-weight: 800; letter-spacing: 0.5px; }
.hero-cta-wa   { font-size: 1rem; padding: 15px 24px; }

/* ── SERVICE TAGS ── */
.hero-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    animation: fadeUp 0.8s var(--ease-out) 0.9s both;
}
.svc-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.8);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: default;
}
.svc-tag i { color: var(--p-red); font-size: 0.72rem; }
.svc-tag:hover { background: rgba(220,38,38,0.12); border-color: rgba(220,38,38,0.3); color: #fff; }

/* ── LEFT: GLASS CARD — DISPATCH MONITOR ── */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    animation: cardSlideIn 1s var(--ease-out) 0.4s both;
}
@keyframes cardSlideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-glass-card {
    width: 100%;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 28px;
    padding: 28px;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.12),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}
.hero-glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(220,38,38,0.8), rgba(255,255,255,0.2), transparent);
}

/* ── ECG Monitor strip inside glass card ── */
.hgc-ecg-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    overflow: hidden;
    opacity: 0.15;
    pointer-events: none;
}
.hgc-ecg-strip svg {
    width: 100%;
    height: 100%;
    display: block;
}
.hgc-ecg-path {
    fill: none;
    stroke: var(--p-red);
    stroke-width: 2;
    animation: ecgDraw 4s ease-in-out infinite;
}

/* Card Header */
.hgc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.hgc-live {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74,222,128,0.1);
    border: 1px solid rgba(74,222,128,0.2);
    padding: 5px 12px;
    border-radius: var(--radius-full);
}
.hgc-live .dot-live {
    width: 6px; height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
    animation: pulseGlow 1.5s infinite;
}
.hgc-logo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(255,255,255,0.7);
}
.hgc-logo i { color: var(--p-red); font-size: 1rem; }

/* Pulse visual - redesigned */
.hgc-pulse-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto 16px;
    width: 130px;
    height: 130px;
}
.hgc-pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(220,38,38,0.5);
    animation: hgcRing 3s ease-out infinite;
}
.hgc-pulse-ring.rr1 { width: 76px;  height: 76px;  animation-delay: 0s; }
.hgc-pulse-ring.rr2 { width: 104px; height: 104px; animation-delay: 0.9s; border-color: rgba(220,38,38,0.3); }
.hgc-pulse-ring.rr3 { width: 130px; height: 130px; animation-delay: 1.8s; border-color: rgba(220,38,38,0.15); }
@keyframes hgcRing {
    0%   { transform: scale(0.7); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}
.hgc-pulse-core {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(220,38,38,0.6), 0 8px 24px rgba(0,0,0,0.4);
}

/* ── Dispatch counter row ── */
.hgc-dispatch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.06);
}
.hgc-dispatch i { color: var(--p-red); font-size: 0.85rem; }
.hgc-dispatch strong {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 3px;
}
.hgc-dispatch-sep {
    color: rgba(255,255,255,0.15);
    font-weight: 700;
}

/* ETA */
.hgc-eta {
    text-align: center;
    margin-bottom: 16px;
}
.hgc-eta-num {
    font-size: 3.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #fff 30%, #fca5a5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(220,38,38,0.4));
}
.hgc-eta-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Divider */
.hgc-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin-bottom: 16px;
}

/* Stats */
.hgc-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 14px;
}
.hgc-stat { text-align: center; flex: 1; }
.hgc-stat-sep {
    width: 1px; height: 36px;
    background: rgba(255,255,255,0.1);
}
.hgc-stat-num {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}
.hgc-stat-lbl {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    margin-top: 4px;
}

/* Coverage */
.hgc-coverage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,0.06);
}
.hgc-coverage i { color: var(--p-red); font-size: 0.8rem; }

/* Floating mini badges */
.hero-badge-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hbf-1 { top: -16px; right: 20px; animation: cardFloat 4s ease-in-out infinite; }
.hbf-2 { bottom: -14px; left: 16px; animation: cardFloat 4.8s ease-in-out infinite; animation-delay: -1.5s; }
.hero-badge-float i { color: #4ade80; font-size: 0.85rem; }
@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* ── BOTTOM STATS BAR ── */
.hero-stats-bar {
    position: relative;
    z-index: 3;
    background: rgba(5, 10, 25, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0;
    box-shadow: 0 -4px 30px rgba(220,38,38,0.08);
}
.hero-stats-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220,38,38,0.5), transparent);
}
.hero-stats-bar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}
.hsb-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px 0;
    gap: 0;
}
.hsb-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    justify-content: center;
    padding: 0 16px;
    position: relative;
    transition: all 0.3s var(--ease-out);
}
.hsb-item:hover {
    background: rgba(255,255,255,0.03);
}
.hsb-item:hover > i {
    transform: scale(1.1);
}
.hsb-item > i {
    font-size: 1.6rem;
    color: var(--p-red);
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(220,38,38,0.4));
    transition: transform 0.3s var(--ease-spring);
}
.hsb-item div { display: flex; flex-direction: column; gap: 2px; }
.hsb-item strong {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    transition: color 0.3s;
}
.hsb-item:hover strong {
    color: #fca5a5;
}
.hsb-item span {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
}
.hsb-sep {
    width: 1px; height: 44px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    animation: scrollHintFade 3s ease-in-out infinite;
}
@keyframes scrollHintFade {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50%       { opacity: 0.7; transform: translateX(-50%) translateY(6px); }
}
.scroll-mouse {
    width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-dot {
    width: 4px; height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr 360px; gap: 40px; }
}
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr 320px; gap: 32px; }
    .hgc-eta-num { font-size: 2.8rem; }
    .hero-glass-card { padding: 22px; }
    .hsb-item > i { font-size: 1.3rem; }
    .hsb-item strong { font-size: 0.9rem; }
    .hsb-item span { font-size: 0.65rem; }
}
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 120px 0 40px;
        text-align: center;
    }
    .hero-text { text-align: center; }
    .hero-text h1 { align-items: center; }
    .h1-main { font-size: clamp(2.4rem, 8vw, 3.2rem); letter-spacing: -1px; }
    .hero-desc { margin: 0 auto 24px; max-width: 100%; }
    .hero-phone-wrap { margin: 0 auto 24px; }
    .hero-buttons { justify-content: center; }
    .hero-service-tags { justify-content: center; }

    /* Glass card becomes compact on mobile */
    .hero-visual {
        min-height: unset;
    }
    .hgc-pulse-wrap { width: 100px; height: 100px; }
    .hgc-pulse-ring.rr1 { width: 60px; height: 60px; }
    .hgc-pulse-ring.rr2 { width: 82px; height: 82px; }
    .hgc-pulse-ring.rr3 { width: 100px; height: 100px; }
    .hgc-pulse-core { width: 52px; height: 52px; font-size: 1.4rem; }
    .hgc-eta-num { font-size: 2.5rem; }
    .hero-badge-float { display: none; }
    .hero-ecg-line { display: none; }
    .hgc-ecg-strip { height: 32px; opacity: 0.1; }
    .hgc-dispatch { font-size: 0.7rem; padding: 6px 12px; }
    .hgc-dispatch strong { font-size: 0.9rem; }

    /* Stats bar stacks to 2x2 */
    .hsb-inner { flex-wrap: wrap; padding: 16px; gap: 16px; justify-content: flex-start; }
    .hsb-item { flex: 1 1 45%; justify-content: flex-start; padding: 0; }
    .hsb-sep { display: none; }
}
@media (max-width: 480px) {
    .h1-sub { font-size: 0.8rem; letter-spacing: 1.5px; }
    .h1-main { font-size: clamp(2rem, 10vw, 2.6rem); }
    .h1-accent { font-size: 0.95rem; }
    .hero-phone-number { font-size: clamp(1.7rem, 7vw, 2.2rem); letter-spacing: 2px; }
    .hero-cta-main, .hero-cta-wa { font-size: 0.9rem; padding: 13px 18px; }
    .hero-glass-card { padding: 18px; border-radius: 20px; }
    .hgc-stat-num { font-size: 1rem; }
    .hsb-item { flex: 1 1 100%; }
    .hgc-dispatch { font-size: 0.68rem; }
    .hgc-dispatch strong { font-size: 0.85rem; }
    .hgc-ecg-strip { height: 28px; }
}



.dot-live {
    width: 10px; height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-green);
    animation: pulseGlow 1.5s infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 6px var(--accent-green); }
    50% { box-shadow: 0 0 20px var(--accent-green), 0 0 40px rgba(5,150,101,0.3); }
}

.hero-image { flex: 1; position: relative; }
.hero-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.section { padding: 90px 0; }
.section-padding { padding: 90px 0; }

.section-title {
    text-align: center;
    margin-bottom: 55px;
}
.section-title h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}
.section-title p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.8;
}

.divider {
    width: 64px;
    height: 4px;
    background: linear-gradient(90deg, var(--p-red), rgba(220,38,38,0.3));
    margin: 16px auto;
    border-radius: 4px;
}

.grid {
    display: grid;
    gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow), var(--shadow-sm);
    transition: all 0.35s var(--ease-out);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 48px rgba(31, 38, 135, 0.2), 0 0 40px rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.hover-up:hover {
    transform: translateY(-12px) scale(1.02);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-red);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 16px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.card:hover .card-icon {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.card-icon.bg-red {
    background: var(--gradient-red);
    color: var(--white);
}

.card-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(220, 38, 38, 0.1));
    pointer-events: none;
}

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

.card-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.3;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-ctas {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.card-ctas .btn {
    font-size: 0.82rem;
    padding: 8px 18px;
}

.card-body {
    padding: 22px;
}

.card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-body h3 a {
    color: var(--text-main);
    transition: color 0.3s var(--ease-out);
}

.card-body h3 a:hover {
    color: var(--p-red);
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.7;
}

.read-more {
    color: var(--p-red);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    position: relative;
    transition: gap 0.3s var(--ease-out);
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-red);
    transition: width 0.3s var(--ease-out);
}

.read-more:hover {
    gap: 10px;
    color: var(--p-red-hover);
}

.read-more:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

.service-card {
    text-align: center;
    padding: 0;
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 4px;
    background: var(--gradient-red);
    border-radius: 4px 4px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out);
}

.service-card:hover::after {
    transform: scaleX(1);
}
.service-card .card-icon { margin: 22px auto 16px; }
.service-icon { font-size: 2.5rem; color: var(--p-red); margin-bottom: 20px; transition: var(--transition); }
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: var(--text-main); }

.feature-list-card { list-style: none; padding: 0; margin: 12px 0; }
.feature-list-card li {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 0; font-size: 0.88rem; color: var(--text-muted);
}
.feature-list-card li i { color: var(--p-red); font-size: 0.8rem; }

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s var(--ease-out);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--p-red), rgba(220,38,38,0.3));
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, var(--p-red-light), #FEE2E2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    color: var(--p-red);
    transition: var(--transition);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }

/* ── TRUST — LUXURY EDITORIAL ── */
.trust-section {
    padding: 90px 0 70px;
    background: var(--white) !important;
    overflow: hidden;
}

/* ── Header ── */
.trust-crest {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}
.trust-crest-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,158,11,0.4), transparent);
}
.trust-crest-gem {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    box-shadow: 0 0 20px rgba(245,158,11,0.2);
}
.trust-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;
}
.trust-title {
    font-size: clamp(1.5rem, 3.6vw, 2.1rem);
    font-weight: 900;
    color: var(--p-red);
    line-height: 1.3;
    margin-bottom: 12px;
}
.trust-lead {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}
.trust-lead strong {
    color: var(--p-red);
    font-weight: 800;
}

/* ── Full-width fresco gallery ── */
.trust-fresco {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 50px;
    padding: 0 clamp(12px, 2vw, 24px);
}
.trust-fresco-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 260px;
    gap: clamp(8px, 1.2vw, 16px);
    max-width: 1400px;
    margin: 0 auto;
}
.trust-fresco-fig {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
    cursor: pointer;
    animation: frescoUp 0.5s ease both;
    animation-delay: calc(var(--i, 0) * 0.06s);
}
@keyframes frescoUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.trust-fresco-fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.trust-fresco-fig:hover img {
    transform: scale(1.06);
}
.trust-fresco-fig figcaption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 30px 14px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Reliquary — stats with icon badges ── */
.trust-reliquary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
    padding: 0 20px;
}
.trust-relic {
    flex: 1;
    text-align: center;
    padding: 0 16px;
    position: relative;
}
.trust-relic + .trust-relic::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 32px;
    background: rgba(0,0,0,0.06);
}
.trust-relic-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #fff;
}
.trust-relic-icon--1 { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.trust-relic-icon--2 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.trust-relic-icon--3 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.trust-relic-icon--4 { background: linear-gradient(135deg, #059669, #047857); }
.trust-relic-n {
    display: inline;
    font-size: 1.8rem;
    font-weight: 900;
    color: #0F172A;
    line-height: 1.1;
    letter-spacing: -1px;
}
.trust-relic-s {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--p-red);
}
.trust-relic-l {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── Casket — 3 feature gems ── */
.trust-casket {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.trust-gem {
    text-align: center;
    padding: 38px 24px 32px;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
    animation: frescoUp 0.5s ease both;
    animation-delay: calc(var(--i, 0) * 0.08s + 0.12s);
    position: relative;
}
.trust-gem::after {
    content: '';
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, transparent, var(--p-red), transparent);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.trust-gem:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.05);
    border-color: rgba(220,38,38,0.06);
}
.trust-gem:hover::after {
    transform: scaleX(1);
}
.trust-gem-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-radius 0.3s ease;
}
.trust-gem:hover .trust-gem-icon {
    transform: scale(1.1) rotate(-5deg);
    border-radius: 14px;
}
.trust-gem-icon--a {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 24px rgba(245,158,11,0.2);
}
.trust-gem-icon--r {
    background: linear-gradient(135deg, var(--p-red), #b91c1c);
    box-shadow: 0 8px 24px rgba(220,38,38,0.2);
}
.trust-gem-icon--b {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 8px 24px rgba(59,130,246,0.2);
}
.trust-gem:hover .trust-gem-icon--a { box-shadow: 0 12px 32px rgba(245,158,11,0.3); }
.trust-gem:hover .trust-gem-icon--r { box-shadow: 0 12px 32px rgba(220,38,38,0.3); }
.trust-gem:hover .trust-gem-icon--b { box-shadow: 0 12px 32px rgba(59,130,246,0.3); }
.trust-gem-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.trust-gem:hover .trust-gem-title {
    color: var(--p-red);
}
.trust-gem-text {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .trust-fresco-inner { grid-template-columns: repeat(2, 1fr); }
    .trust-fresco-fig img { min-height: 180px; }
    .trust-casket { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .trust-casket { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .trust-fresco-inner { grid-template-columns: 1fr; gap: 10px; }
    .trust-reliquary { flex-wrap: wrap; gap: 18px; }
    .trust-relic { flex: 1 1 45%; padding: 0 8px; }
    .trust-relic + .trust-relic::before { display: none; }
    .trust-section { padding: 60px 0 48px; }
}

/* ── SEO PREMIUM — dark luxury ── */
.seo-premium {
    padding: 100px 0 80px;
    position: relative;
    background: linear-gradient(160deg, #0B1120 0%, #162032 50%, #0F172A 100%);
    overflow: hidden;
}
.seo-premium-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 500px at 20% 0%, rgba(220,38,38,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 600px 400px at 80% 100%, rgba(245,158,11,0.05) 0%, transparent 55%);
    pointer-events: none;
}
.seo-premium::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,158,11,0.3), transparent);
}

/* ── Header ── */
.seo-premium-hd {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 44px;
    position: relative;
    z-index: 1;
}
.seo-premium-crown {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 0 30px rgba(245,158,11,0.2);
    animation: crownPulse 3s ease-in-out infinite;
}
@keyframes crownPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(245,158,11,0.2); }
    50% { box-shadow: 0 0 40px rgba(245,158,11,0.35); }
}
.seo-premium-title {
    font-size: clamp(1.4rem, 3.4vw, 2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ── Banner ── */
.seo-premium-banner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}
.seo-premium-banner:hover {
    border-color: rgba(245,158,11,0.2);
    background: rgba(255,255,255,0.06);
}
.seo-premium-banner-ic {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(245,158,11,0.05));
    border: 1px solid rgba(245,158,11,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #f59e0b;
    flex-shrink: 0;
}
.seo-premium-banner p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 2;
    margin: 0;
}
.seo-premium-banner p strong {
    color: #fff;
    font-weight: 800;
}

/* ── Tags ── */
.seo-premium-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}
.seo-premium-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.35s ease;
}
.seo-premium-tags span:hover {
    color: #fff;
    background: rgba(220,38,38,0.15);
    border-color: rgba(220,38,38,0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220,38,38,0.1);
}

/* ── Cards ── */
.seo-premium-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 44px;
    position: relative;
    z-index: 1;
}
.seo-premium-card {
    text-align: center;
    padding: 0 0 28px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: cardUp 0.5s ease both;
    animation-delay: calc(var(--a, 0) * 0.08s);
}
@keyframes cardUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.seo-premium-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}
.seo-premium-card-bar {
    height: 3px;
    margin-bottom: 28px;
}
.seo-premium-card-ic {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.seo-premium-card:hover .seo-premium-card-ic {
    transform: scale(1.12) rotate(-4deg);
}
.seo-premium-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    padding: 0 16px;
}
.seo-premium-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin: 0;
    padding: 0 16px;
}

/* ── Outro ── */
.seo-premium-outro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 1;
}
.seo-premium-outro p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.9;
    margin: 0;
}
.seo-premium-outro p strong {
    color: #f59e0b;
    font-weight: 800;
}

@media (max-width: 900px) {
    .seo-premium-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .seo-premium { padding: 70px 0 60px; }
    .seo-premium-banner { flex-direction: column; padding: 24px; }
}
@media (max-width: 480px) {
    .seo-premium-grid { grid-template-columns: 1fr; gap: 14px; }
    .seo-premium { padding: 50px 0 40px; }
    .seo-premium-tags span { font-size: 0.72rem; padding: 6px 14px; }
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.photo-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.photo-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.photo-card:hover img { transform: scale(1.06); }
.photo-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15,23,42,0.85);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.photo-badge i { color: var(--accent-green); }

.details-page-header {
    padding: 160px 0 70px;
    background: linear-gradient(160deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.75) 100%), url('hero-premium.jpg') center/cover;
    color: var(--white);
    text-align: center;
    position: relative;
}
.details-page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--bg-soft));
}
.details-page-header h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.details-page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 650px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.details-container {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 44px;
    align-items: start;
}
.main-content { min-width: 0; }
.content-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}
.content-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 28px 0 12px;
}
.content-body p { color: var(--text-muted); line-height: 1.9; margin-bottom: 16px; }

.service-explanation {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}
.calc-form {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.calc-form h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.compare-list {
    list-style: none;
    padding: 0;
}
.compare-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-main);
}
.compare-list li i { color: var(--p-red); flex-shrink: 0; }

.compare-card {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.cta-banner {
    background: linear-gradient(135deg, var(--p-navy), var(--p-navy-light));
    color: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 36px 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') repeat;
    background-size: 80px 80px;
    opacity: 0.5;
}
.cta-banner h3, .cta-banner h4 { color: var(--white); margin-bottom: 12px; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 22px; position: relative; z-index: 1; }

.stats-bar, .stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    text-align: center;
}
.stat-item { padding: 16px; }
.stat-item h4, .stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--p-red);
    margin-bottom: 4px;
    line-height: 1.1;
    letter-spacing: -1px;
    direction: ltr;
    unicode-bidi: bidi-override;
    display: block;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.trust-section { background: var(--p-navy); color: var(--white); padding: 70px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.trust-item h3 { font-size: 2.8rem; font-weight: 800; color: var(--p-red); margin-bottom: 5px; }
.trust-item p { font-size: 1.05rem; font-weight: 600; }

.faq-grid { max-width: 820px; margin: 0 auto; }
.faq-item, .faq-list .faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item h3, .faq-question {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    line-height: 1.4;
}
.faq-item h3::after, .faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--text-light);
    transition: transform 0.3s;
}
.faq-item h3.active::after, .faq-question.active::after { transform: rotate(180deg); }
.faq-item p, .faq-answer {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin 0.3s ease;
    margin-bottom: 0;
}
.faq-item p.open, .faq-answer.open {
    max-height: 300px;
    margin-bottom: 8px;
}

.keyword-highlight, .seo-chip {
    display: inline-block;
    background: linear-gradient(135deg, var(--p-red-light), #FEE2E2);
    color: var(--p-red);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    margin: 3px;
}

.seo-section {
    padding: 70px 0;
}
.seo-section h2 { font-size: 1.6rem; font-weight: 800; color: var(--text-main); margin-bottom: 16px; }
.seo-section p { color: var(--text-muted); line-height: 1.9; font-size: 1rem; margin-bottom: 14px; }

.reviews-slider-container {
    overflow: hidden;
    border-radius: var(--radius-lg);
}
.reviews-track {
    display: flex;
    transition: transform 0.6s var(--ease-out);
}
.review-card {
    min-width: calc(100% / 3);
    padding: 0 10px;
    box-sizing: border-box;
}
.review-inner {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}
.review-inner:hover { box-shadow: var(--shadow-md); }
.stars { color: #F59E0B; margin-bottom: 16px; }
.rev-star { font-size: 1.1rem; margin-left: 3px; }
.review-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}
.review-author {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.modal {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal.show { display: flex; }
.modal-content {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 92%;
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.3s var(--ease-out);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.close-modal {
    position: absolute;
    top: 16px; left: 16px;
    background: none; border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}
.close-modal:hover { color: var(--text-main); }
.success-icon { font-size: 4rem; color: var(--accent-green); margin-bottom: 20px; }

.star-rating { display: flex; gap: 5px; direction: ltr; }
.star-rating i {
    font-size: 1.6rem;
    color: #D1D5DB;
    cursor: pointer;
    transition: color 0.2s;
}
.star-rating i.selected { color: #F59E0B; }
.star-rating i:hover { color: #F59E0B; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-main);
}
.required { color: var(--p-red); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}
.form-control:focus {
    outline: none;
    border-color: var(--p-red);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}
.has-error .form-control { border-color: var(--p-red); }

.footer, .site-footer {
    background: var(--p-navy);
    color: var(--white);
    padding: 70px 0 24px;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220,38,38,0.3), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 44px;
    margin-bottom: 36px;
}
.footer-col h4, .footer-contact h4, .footer-links h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--p-red);
    letter-spacing: 0.5px;
}
.footer-logo {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--p-red);
    display: block;
    margin-bottom: 14px;
}
.footer-logo span { color: var(--white); }
.footer-p, .footer-desc { color: var(--p-slate); font-size: 0.88rem; line-height: 1.8; }
.footer-about p { color: var(--p-slate); margin-top: 12px; }

.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
    color: var(--p-slate);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.footer-links li a:hover { color: var(--white); padding-right: 6px; }

.footer-contact ul { list-style: none; padding: 0; }
.footer-contact li, .footer-contact p {
    color: var(--p-slate);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}

.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
    border: 1px solid rgba(255,255,255,0.06);
}
.social-links a:hover { background: var(--p-red); border-color: var(--p-red); transform: translateY(-2px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 22px;
    text-align: center;
    color: var(--p-slate);
    font-size: 0.82rem;
}

.fixed-ctas {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 998;
}
.cta-fab {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}
.fab-wa { background: var(--accent-green); animation: pulseGreen 2.5s infinite 1s; }
.fab-call { background: var(--p-red); animation: pulseBtn 2.5s infinite; }
.cta-fab:hover { transform: scale(1.12); }

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(5, 150, 101, 0.5); }
    70% { box-shadow: 0 0 0 18px rgba(5, 150, 101, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 150, 101, 0); }
}

.sticky-whatsapp, .sticky-call {
    position: fixed; bottom: 24px;
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    transition: all 0.3s var(--ease-out);
}
.sticky-whatsapp { right: 24px; background: var(--accent-green); animation: pulseGreen 2.5s infinite 1s; }
.sticky-call { left: 24px; background: var(--p-red); animation: pulseBtn 2.5s infinite; }
.sticky-whatsapp:hover, .sticky-call:hover { transform: scale(1.12); }

.desktop-floating {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 998;
}
.floating-wa, .floating-call {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s var(--ease-out);
}
.floating-wa { background: var(--accent-green); animation: pulseGreen 2.5s infinite 1s; }
.floating-call { background: var(--p-red); animation: pulseBtn 2.5s infinite; }
.floating-wa:hover, .floating-call:hover { transform: scale(1.12); }

.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    grid-template-columns: 1fr 1fr;
}
.bar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}
.bar-call { background: var(--p-red); }
.bar-wa { background: var(--accent-green); }

.mobile-cta-footer {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
    grid-template-columns: 1fr 1fr;
}
.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}
.cta-call { background: var(--p-red); }
.cta-whatsapp { background: var(--accent-green); }

/* ── COMMITMENT / TRUST SECTION ── */
.commitment-section {
    padding: 80px 0;
    position: relative;
    background: var(--white);
    overflow: hidden;
}
.commitment-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 30%, rgba(220,38,38,0.03) 0%, transparent 60%),
        radial-gradient(ellipse 500px 400px at 80% 70%, rgba(15,23,42,0.03) 0%, transparent 60%);
    pointer-events: none;
}
.commitment-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ── Seal badge ── */
.commit-seal {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--p-red), #b91c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 8px 32px rgba(220,38,38,0.3);
    position: relative;
    animation: commitSealPulse 3s ease-in-out infinite;
}
.commit-seal::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(220,38,38,0.15);
    animation: commitSealRing 3s ease-in-out infinite;
}
@keyframes commitSealPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(220,38,38,0.3); }
    50%      { transform: scale(1.05); box-shadow: 0 8px 40px rgba(220,38,38,0.4); }
}
@keyframes commitSealRing {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50%      { transform: scale(1.15); opacity: 0; }
}

/* ── Heading ── */
.commit-heading {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 14px;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}
.commit-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--p-red), rgba(220,38,38,0.3));
    border-radius: 3px;
    margin: 14px auto 0;
}

/* ── Description ── */
.commit-desc {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1rem;
    max-width: 680px;
    margin: 0 auto 48px;
}
.commit-desc strong {
    color: var(--text-main);
    font-weight: 700;
}

/* ── Cards grid ── */
.commit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.commit-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    padding: 32px 20px 24px;
    text-align: center;
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}
.commit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--p-red), transparent);
    opacity: 0;
    transition: opacity 0.35s var(--ease-out);
}
.commit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(220,38,38,0.08);
}
.commit-card:hover::before {
    opacity: 1;
}

.commit-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--p-red-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--p-red);
    transition: all 0.35s var(--ease-spring);
    position: relative;
}
.commit-card:hover .commit-icon-wrap {
    background: var(--p-red);
    color: var(--white);
    transform: scale(1.08) rotate(-4deg);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(220,38,38,0.25);
}

.commit-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    transition: color 0.3s;
}
.commit-card:hover .commit-card-title {
    color: var(--p-red);
}

.commit-card-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .commit-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .commitment-section { padding: 60px 0; }
}
@media (max-width: 480px) {
    .commit-grid { grid-template-columns: 1fr; gap: 14px; }
    .commitment-section { padding: 48px 0; }
    .commit-card { padding: 24px 16px 20px; }
    .commit-seal { width: 60px; height: 60px; font-size: 1.4rem; }
}

.content-section { padding: 70px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.content-section h2 { font-size: 1.8rem; color: var(--p-red); margin-bottom: 22px; font-weight: 800; }
.content-section h3 { font-size: 1.3rem; color: var(--text-main); margin-bottom: 16px; font-weight: 700; margin-top: 32px; }
.content-section p { font-size: 1rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 16px; }
.content-section ul { list-style-type: disc; margin-right: 40px; margin-bottom: 22px; }
.content-section li { font-size: 1rem; color: var(--text-muted); margin-bottom: 8px; }

.seo-hero { padding: 140px 0 70px; background: linear-gradient(160deg, var(--bg-warm) 0%, var(--white) 100%); text-align: center; position: relative; }
.seo-hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--p-red); margin-bottom: 20px; line-height: 1.3; letter-spacing: -0.5px; }
.seo-hero p { font-size: 1.15rem; color: var(--text-main); max-width: 800px; margin: 0 auto 30px; line-height: 1.9; }

.blog-card { border-radius: var(--radius-lg); overflow: hidden; }
.blog-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}
.blog-card:hover img { transform: scale(1.03); }

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible, .fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* ━━━ PREMIUM ENTRANCE ANIMATIONS ━━━ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--p-red-glow);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(220, 38, 38, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(5, 150, 101, 0.5);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(5, 150, 101, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(5, 150, 101, 0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(220, 38, 38, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.stagger-fade > .fade-in:nth-child(1) { transition-delay: 0ms; }
.stagger-fade > .fade-in:nth-child(2) { transition-delay: 100ms; }
.stagger-fade > .fade-in:nth-child(3) { transition-delay: 200ms; }
.stagger-fade > .fade-in:nth-child(4) { transition-delay: 300ms; }
.stagger-fade > .fade-in:nth-child(5) { transition-delay: 400ms; }
.stagger-fade > .fade-in:nth-child(6) { transition-delay: 500ms; }
.stagger-fade > .fade-in:nth-child(7) { transition-delay: 600ms; }
.stagger-fade > .fade-in:nth-child(8) { transition-delay: 700ms; }

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .details-container { grid-template-columns: 1fr; }
    .sidebar-sticky { position: static; }

    .menu-toggle { display: flex; }

    /* MOBILE DRAWER */
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: min(320px, 88vw);
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        gap: 0;
        box-shadow: -8px 0 60px rgba(0,0,0,0.18);
        z-index: 1001;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(100%);
        transition: transform 0.35s var(--ease-out);
        display: flex;
        border-right: none;
        border-left: 4px solid var(--p-red);
    }
    .nav-links.active { transform: translateX(0); }

    /* Drawer header */
    .nav-links::before {
        content: 'مستجاب';
        display: block;
        padding: 28px 24px 20px;
        font-size: 1.3rem;
        font-weight: 900;
        color: var(--p-red);
        border-bottom: 1px solid rgba(0,0,0,0.07);
        background: linear-gradient(135deg, #fff8f8, #fff);
        flex-shrink: 0;
        letter-spacing: -0.3px;
    }
    .nav-links a {
        font-size: 0.97rem;
        font-weight: 600;
        padding: 14px 24px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        border-radius: 0;
        color: var(--text-main);
        transition: background 0.2s, color 0.2s, padding-right 0.2s;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .nav-links a::before {
        content: '';
        width: 6px; height: 6px;
        border-radius: 50%;
        background: var(--p-red);
        opacity: 0;
        transition: opacity 0.2s;
        flex-shrink: 0;
    }
    .nav-links a:hover, .nav-links a.active {
        background: rgba(220,38,38,0.05);
        color: var(--p-red);
        padding-right: 28px;
    }
    .nav-links a:hover::before, .nav-links a.active::before { opacity: 1; }
    .nav-links a::after { display: none; }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links .btn-nav {
        margin: 20px 24px;
        text-align: center;
        border-radius: var(--radius-full);
        padding: 14px 24px;
        justify-content: center;
        background: var(--p-red);
        box-shadow: 0 4px 16px rgba(220,38,38,0.3);
    }
    .nav-links .btn-nav:hover { padding-right: 24px; }
    .nav-links .btn-nav::before { display: none; }

    .main-nav { display: none; }

    .hero-container { flex-direction: column; text-align: center; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }

    .section { padding: 60px 0; }
    .details-page-header { padding: 130px 0 50px; }
    .details-page-header::after { height: 40px; }

    .review-card { min-width: 100%; padding: 0; }
    .review-card:not(:last-child) { margin-bottom: 16px; }

    .mobile-action-bar, .mobile-cta-footer { display: grid; }
    .fixed-ctas, .desktop-floating { display: none; }
    .sticky-whatsapp, .sticky-call { display: none; }

    .footer { padding-bottom: 100px; }
    .site-footer { padding-bottom: 100px; }

    .trust-badges { gap: 6px; }
    .trust-badges span { font-size: 0.72rem; padding: 6px 12px; }

    .hero { padding: 110px 0 50px; min-height: 90dvh; }

    .container { padding: 0 16px; }

    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .global-cta-btn { padding: 14px 28px; font-size: 1rem; }

    .card-icon { width: 48px; height: 48px; font-size: 1.1rem; }
    .feature-icon { width: 56px; height: 56px; font-size: 1.3rem; }

    .section-title { margin-bottom: 36px; }
    .section-title h2 { font-size: clamp(1.4rem, 4vw, 1.8rem); }

    .footer-grid { gap: 30px; }
}

@media (max-width: 480px) {
    .photo-grid { grid-template-columns: 1fr; }
    .stats-bar, .stats-row { grid-template-columns: repeat(2, 1fr); }
    .grid { gap: 20px; }

    .trust-badges span { font-size: 0.68rem; padding: 5px 10px; }
    .hero-content h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .hero-content p { font-size: 0.95rem; }

    .details-page-header h1 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
}

@media (max-width: 360px) {
    .logo { font-size: 1.1rem; }
    .logo svg { width: 32px; height: 32px; }
    .header-container { height: 60px; }
}

/* ====== SERVICE DETAIL PAGES ====== */
.service-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--p-navy) 0%, #1a2744 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.service-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(220,38,38,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(5,150,101,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.sh-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(220,38,38,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220,38,38,0.3);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--p-red);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.sh-badge i { font-size: 1rem; }
.service-header h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}
.sh-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--p-slate-light);
    max-width: 750px;
    margin: 0 auto 32px;
}
.sh-desc strong { color: #fff; }
.sh-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.sh-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.sh-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--p-slate-light);
    background: rgba(255,255,255,0.06);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.08);
}
.sh-badges span i { color: var(--accent-green); font-size: 0.75rem; }

/* Image frame glow */
.img-frame-glow {
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(220,38,38,0.15), 0 0 0 1px rgba(220,38,38,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.img-frame-glow:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(220,38,38,0.2), 0 0 0 1px rgba(220,38,38,0.15);
}
.img-frame-glow img {
    display: block;
    max-width: 100%;
    border-radius: 20px;
}

/* Step cards */
.step-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--p-red);
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.step-num {
    width: 40px;
    height: 40px;
    background: var(--p-red);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(220,38,38,0.3);
}
.step-icon i {
    font-size: 2rem;
    color: var(--p-red);
    margin-bottom: 16px;
}
.step-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-main);
}
.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Trust cards (in navy section) */
.trust-card {
    padding: 28px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}
.trust-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}
.trust-card i {
    font-size: 2rem;
    color: var(--p-red);
    margin-bottom: 16px;
    display: block;
}
.trust-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.trust-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--p-slate);
}

/* CTA Banner */
.cta-banner {
    padding: 60px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-banner h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: #fff;
}
.cta-banner p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-banner .sh-cta { margin-bottom: 0; }

/* bg-navy section variant */
.bg-navy { background: var(--p-navy); color: #fff; }
.bg-navy .section-title h2 { color: #fff; }
.bg-navy .section-title p { color: var(--p-slate); }

/* Price cards */
.price-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured {
    border: 2px solid var(--p-red);
    transform: scale(1.04);
    z-index: 2;
    box-shadow: 0 12px 40px rgba(220,38,38,0.15);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.price-badge {
    display: inline-block;
    background: var(--bg-warm);
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    align-self: center;
}
.price-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--p-red);
    margin-bottom: 20px;
    line-height: 1;
}
.price-amount .currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    vertical-align: super;
    margin-left: 4px;
}
.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: right;
    flex-grow: 1;
}
.price-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 8px;
}
.price-features li:last-child { border-bottom: none; }
.price-features li i { font-size: 0.8rem; }

/* Testimonial cards */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testi-stars {
    margin-bottom: 16px;
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.testi-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-style: italic;
}
.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}
.testi-author i { font-size: 1.5rem; color: var(--p-slate); }

/* Related service cards */
.related-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
    text-decoration: none;
    color: var(--text-main);
}
.related-card:hover {
    transform: translateX(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--p-red);
}
.related-icon i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-warm);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    color: var(--p-red);
}
.related-card h4 { font-size: 0.95rem; font-weight: 700; flex-grow: 1; margin: 0; }
.related-arrow i { color: var(--p-slate); font-size: 0.9rem; transition: transform 0.3s ease; }
.related-card:hover .related-arrow i { transform: translateX(-4px); color: var(--p-red); }

/* Blog cards */
.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
    padding: 24px;
    text-decoration: none;
    display: block;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card h4 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; color: var(--text-main); line-height: 1.4; }
.blog-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.blog-card span { font-size: 0.85rem; color: var(--p-red); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.blog-card span i { font-size: 0.75rem; transition: transform 0.3s ease; }
.blog-card:hover span i { transform: translateX(-4px); }

/* Neighborhoods Grid */
.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    padding: 20px 0;
}

.neighborhood-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.neighborhood-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--p-red);
    flex-shrink: 0;
    margin-right: 2px;
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.45);
}

.neighborhood-tag:hover {
    border-color: rgba(220, 38, 38, 0.45);
    background: rgba(254, 242, 242, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.12);
}

.neighborhood-tag:active {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .neighborhoods-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .neighborhoods-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }

    .neighborhood-tag {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .neighborhoods-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }

    .neighborhood-tag {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .neighborhood-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 768px) {
    .service-header { padding: 100px 0 40px; }
    .sh-cta { flex-direction: column; align-items: center; }
    .sh-badges { gap: 10px; }
    .sh-badges span { font-size: 0.78rem; padding: 5px 12px; }
    .step-card { padding: 24px 16px; }
}

@media print {
    #header, .fixed-ctas, .mobile-action-bar, .mobile-cta-footer,
    .top-urgency-strip, .desktop-floating, .sticky-whatsapp, .sticky-call,
    #preloader { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ═══════════════════════════════════════════════════════════════════
   AREA V2 BLOCK  —  per-area content module (elgneral)
   Injected by _seo-tools/generate-v2.ps1 into service-area + area pages.
   Lives in style.css ON PURPOSE: it is the only design stylesheet loaded
   by BOTH page families (service-area pages do not load glass-global.css,
   phase3-redesign.css, components.css, layouts.css or pages-legacy.css).
   Namespaced .av2-* so it cannot collide with the legacy cascade.
   ═══════════════════════════════════════════════════════════════════ */

.av2 { --av2-gap: 26px; }
.av2-head { text-align: right; margin-bottom: 30px; }
.av2-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.4; margin-bottom: 10px; }
.av2-head h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.5; margin-bottom: 8px; }
.av2-lead { font-size: 1.06rem; line-height: 1.95; color: var(--text-muted); max-width: 78ch; }

/* ── stat band ─────────────────────────────────────────────── */
.av2-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 4px;
    background: var(--gradient-navy);
    border-radius: var(--radius-xl);
    padding: 8px;
    margin-bottom: 34px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.av2-stats::before {
    content: '';
    position: absolute;
    /* RTL page: the accent sits on the start (right) edge, matching .av2-cta's
       border-right. Was `inset: 0 auto 0 0` (left edge), which pointed the two
       accent bars at opposite ends of the same block. */
    inset: 0 0 0 auto;
    width: 4px;
    background: var(--gradient-red);
}
.av2-stat { padding: 20px 14px; text-align: center; border-radius: var(--radius-md); transition: background 0.3s ease; }
.av2-stat:hover { background: rgba(255,255,255,0.05); }
.av2-stat-num {
    display: block;
    font-size: clamp(1.15rem, 2.6vw, 1.55rem);
    font-weight: 900;
    color: #F87171;
    line-height: 1.25;
    margin-bottom: 6px;
}
.av2-stat-lbl { display: block; font-size: 0.8rem; font-weight: 600; color: var(--p-slate-light); line-height: 1.5; }

/* ── split panels (p1 / p2) ────────────────────────────────── */
.av2-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--av2-gap); margin-bottom: 34px; }
.av2-panel {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    text-align: right;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.av2-panel::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--gradient-red); opacity: 0; transition: opacity 0.35s ease; }
.av2-panel:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.av2-panel:hover::before { opacity: 1; }
.av2-panel-ic {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: var(--p-red-light);
    color: var(--p-red);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    margin-bottom: 16px;
}
.av2-panel h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 12px; color: var(--text-main); }
.av2-panel p { font-size: 1rem; line-height: 1.95; color: var(--text-muted); margin: 0; }
.av2-addr {
    display: flex; align-items: center; gap: 9px;
    margin-top: 18px; padding-top: 16px;
    border-top: 1px dashed rgba(0,0,0,0.09);
    font-size: 0.9rem; font-weight: 600; color: var(--text-main);
}
.av2-addr i { color: var(--p-red); }

/* ── per-area feature rows ─────────────────────────────────── */
/* Explicit 2 columns, NOT auto-fit: areas carry 4 features, and at container
   width auto-fit packed 3 per row and stranded the 4th alone on its own line. */
.av2-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 34px; }
.av2-feat {
    display: flex; align-items: flex-start; gap: 14px;
    background: var(--bg-soft);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    text-align: right;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.av2-feat:hover { background: var(--white); border-color: rgba(220,38,38,0.22); }
.av2-feat-ic {
    flex-shrink: 0;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gradient-red);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    box-shadow: var(--shadow-red);
}
.av2-feat p { margin: 0; font-size: 0.95rem; line-height: 1.75; color: var(--text-main); font-weight: 500; }

/* ── sub-district chips ────────────────────────────────────── */
.av2-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.av2-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px;
    border: 1px solid rgba(220,38,38,0.22);
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--text-main);
    font-size: 0.9rem; font-weight: 600;
    box-shadow: var(--shadow-xs);
    transition: all 0.25s ease;
}
.av2-chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--p-red); box-shadow: 0 0 8px var(--p-red-glow); flex-shrink: 0; }
.av2-chip:hover { border-color: rgba(220,38,38,0.5); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ── nearby-area cards ─────────────────────────────────────── */
.av2-near-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.av2-near {
    display: block;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    text-align: right;
    text-decoration: none;
    color: var(--text-main);
    box-shadow: var(--shadow-xs);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.av2-near:hover { transform: translateY(-4px); border-color: rgba(220,38,38,0.28); box-shadow: var(--shadow-md); }
.av2-near-ic {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-warm);
    color: var(--p-red);
    border-radius: var(--radius-md);
    font-size: 1rem;
    margin-bottom: 13px;
    transition: background 0.3s ease, color 0.3s ease;
}
.av2-near:hover .av2-near-ic { background: var(--gradient-red); color: #fff; }
.av2-near h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text-main); }
.av2-near p { font-size: 0.85rem; line-height: 1.65; color: var(--text-muted); margin: 0; }
.av2-near-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.82rem; font-weight: 700; color: var(--p-red); }
.av2-near:hover .av2-near-go i { transform: translateX(-4px); }
.av2-near-go i { transition: transform 0.3s ease; }

/* ── inline CTA ────────────────────────────────────────────── */
.av2-cta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
    margin-top: 34px; padding: 24px 26px;
    background: var(--bg-soft);
    border: 1px solid rgba(0,0,0,0.05);
    border-right: 4px solid var(--p-red);
    border-radius: var(--radius-lg);
}
.av2-cta-txt { flex: 1 1 260px; text-align: right; }
.av2-cta-txt strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--text-main); margin-bottom: 4px; }
.av2-cta-txt span { font-size: 0.88rem; color: var(--text-muted); }

@media (max-width: 768px) {
    .av2-stats { grid-template-columns: repeat(2, 1fr); }
    .av2-feats { grid-template-columns: 1fr; }
    .av2-panel { padding: 24px 20px; }
    .av2-cta { padding: 20px; }
    .av2-cta .btn { width: 100%; justify-content: center; }
}
/* 340px, not 420px: at 390px (the common phone width) a single column made the
   stat band ~550px tall for four short numbers. Keep 2x2 down to tiny screens. */
@media (max-width: 340px) {
    .av2-stats { grid-template-columns: 1fr; }
}

/* ── responsive hygiene: marquee ticker is clipped ─────────────────
   .strip-ticker is an infinite marquee (white-space:nowrap + animation)
   with no container clipping it. Defensive only: this did NOT fix the
   residual 320px overflow (measured scrollWidth 336 vs viewport 320) --
   the strip is display:none at that breakpoint, so it was never the
   cause. Kept because an unclipped marquee container is a latent
   overflow source. Verified clean at 360/390/414/768/1440px. */
.top-urgency-strip { overflow: hidden; }
.top-urgency-strip .strip-container { overflow: hidden; max-width: 100%; }
