﻿/* ── CSS Variables & Reset ─────────────────────────────── */
:root {
    --primary:       #005EA3;
    --primary-dark:  #004880;
    --primary-light: #E6F1FA;
    --accent:        #E8700A;
    --accent-dark:   #C55C00;
    --success:       #0D9463;
    --danger:        #D93025;
    --whatsapp:      #25D366;
    --text:          #1A2437;
    --text-light:    #556070;
    --text-muted:    #8A95A8;
    --bg:            #FFFFFF;
    --bg-alt:        #F5F7FA;
    --bg-dark:       #0D1726;
    --border:        #E0E6EF;
    --shadow-sm:  0 1px 4px rgba(0,0,0,.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.10);
    --shadow-xl:  0 20px 60px rgba(0,0,0,.12);
    --shadow-card:       0 1px 3px rgba(0,46,90,.06), 0 6px 24px rgba(0,46,90,.05);
    --shadow-card-hover: 0 4px 20px rgba(0,94,163,.18), 0 12px 40px rgba(0,94,163,.10);
    --shadow-btn:         0 4px 14px rgba(232,112,10,.4);
    --shadow-btn-primary: 0 4px 14px rgba(0,94,163,.35);
    --radius-sm:  .375rem;
    --radius-md:  .625rem;
    --radius-lg:  .875rem;
    --radius-xl:  1.25rem;
    --radius-2xl: 1.75rem;
    --font-de: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-ar: 'Almarai', 'Segoe UI', system-ui, sans-serif;
    --transition:        .22s cubic-bezier(.4,0,.2,1);
    --transition-bounce: .38s cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-de);
    color: var(--text);
    background: linear-gradient(180deg, #f7fbff 0%, #f5f9ff 28%, #ffffff 100%);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
[dir="rtl"] body { font-family: var(--font-ar); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.navbar-brand {
    display: flex; align-items: center; gap: .25rem;
    font-size: 1.5rem; font-weight: 800; letter-spacing: -.5px; color: var(--primary);
}
.site-logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: .5rem;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: .15rem;
}
.site-logo-mark { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
    color: var(--text-light); font-weight: 500; font-size: .9rem;
    transition: color var(--transition); position: relative; padding: .25rem 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
    height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform var(--transition);
}
[dir="rtl"] .nav-links a::after { transform-origin: right; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: .875rem; }
.lang-toggle {
    display: flex; align-items: center; gap: .375rem;
    padding: .375rem .875rem; border-radius: var(--radius-xl);
    border: 1.5px solid var(--border); background: transparent;
    color: var(--text-light); font-weight: 600; font-size: .82rem;
    cursor: pointer; transition: all var(--transition);
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.lang-toggle .flag { font-size: 1rem; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    margin-top: 68px;
    padding: 5rem 0 4rem;
    background: linear-gradient(165deg, #eef6ff 0%, #f8fbff 52%, #fff6ee 100%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 10% 0%, rgba(0,94,163,.08), transparent 60%),
        radial-gradient(700px 320px at 95% 8%, rgba(232,112,10,.07), transparent 62%);
    pointer-events: none; z-index: 0;
}
.hero::after {
    content: '';
    position: absolute; bottom: -80px; left: -80px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(232,112,10,.08) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none; z-index: 0;
}
.hero .container {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    background: linear-gradient(135deg, #E6F1FA, rgba(255,255,255,.9));
    border: 1px solid rgba(0,94,163,.18);
    color: var(--primary); font-size: .8rem; font-weight: 700;
    padding: .35rem .95rem; border-radius: var(--radius-xl);
    margin-bottom: 1rem; letter-spacing: .2px;
}
.hero-eyebrow i { font-size: .7rem; color: #F59E0B; }
.hero-content h1 {
    font-size: 2.6rem; font-weight: 800; line-height: 1.18;
    margin-bottom: 1.125rem; color: var(--text); letter-spacing: -.6px;
}
.hero-content h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content > p {
    font-size: 1rem; color: var(--text-light); margin-bottom: 2rem;
    line-height: 1.78; max-width: 480px;
}
.hero-buttons { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.hero-trust { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-trust-item {
    display: flex; align-items: center; gap: .4rem;
    font-size: .8rem; color: var(--text-muted); font-weight: 500;
}
.hero-trust-item i { color: var(--success); font-size: .8rem; }
.hero-visual { display: flex; align-items: flex-start; justify-content: flex-end; }
.hero-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .875rem; width: 100%; }
.hero-svc {
    display: flex; align-items: center; gap: .75rem;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-lg); padding: 1rem 1.125rem;
    cursor: pointer; transition: all var(--transition-bounce); text-decoration: none;
    backdrop-filter: blur(6px);
}
.hero-svc:hover {
    border-color: rgba(0,94,163,.2); background: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-card-hover); color: var(--primary);
}
.hero-svc-icon {
    width: 40px; height: 40px; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem; flex-shrink: 0; color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.hero-svc-icon.c-energy  { background: linear-gradient(135deg, #F59E0B, #D97706); }
.hero-svc-icon.c-gas     { background: linear-gradient(135deg, #EF4444, #DC2626); }
.hero-svc-icon.c-sim     { background: linear-gradient(135deg, #10B981, #059669); }
.hero-svc-icon.c-lang    { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.hero-svc-icon.c-ins     { background: linear-gradient(135deg, #3B82F6, var(--primary)); }
.hero-svc-icon.c-advice  { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.hero-svc-label { font-size: .875rem; font-weight: 600; color: var(--text); }
.hero-svc-arrow { margin-inline-start: auto; color: var(--text-muted); font-size: .7rem; transition: transform var(--transition); }
.hero-svc:hover .hero-svc-arrow { transform: translateX(3px); color: var(--primary); }
[dir="rtl"] .hero-svc:hover .hero-svc-arrow { transform: translateX(-3px); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: .425rem;
    padding: .78rem 1.75rem; border-radius: var(--radius-xl);
    font-weight: 600; font-size: .95rem; border: none; cursor: pointer;
    transition: all var(--transition); text-align: center; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--accent) 0%, #C75E00 100%); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: linear-gradient(135deg, #d46309 0%, #b85500 100%); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,112,10,.45); color: #fff; }
.btn-secondary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; box-shadow: var(--shadow-btn-primary); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,94,163,.45); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-light); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-whatsapp { background: linear-gradient(135deg, #25D366, #1EB958); color: #fff; }
.btn-whatsapp:hover { background: linear-gradient(135deg, #22c55e, #1a9f4c); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.4); color: #fff; }
.btn-sm { padding: .48rem 1.1rem; font-size: .82rem; }

/* ── Section Styles ──────────────────────────────────────── */
.section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.94) 100%);
}
.section-alt {
    background: linear-gradient(180deg, #f3f8ff 0%, #eef4fb 100%);
}
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header h2 {
    font-size: 2rem; font-weight: 800; color: var(--text);
    margin-bottom: .5rem; letter-spacing: -.4px; line-height: 1.2;
}
.section-header p { font-size: .975rem; color: var(--text-light); line-height: 1.7; }
.section-badge {
    display: inline-block; padding: .3rem .9rem; border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary-light), rgba(0,94,163,.07));
    color: var(--primary); font-weight: 700;
    font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
    margin-bottom: 1rem; border: 1px solid rgba(0,94,163,.15);
}

/* ── Stats Strip ─────────────────────────────────────────── */
.counters {
    background: linear-gradient(165deg, #edf6ff 0%, #f9fcff 50%, #fff7f0 100%);
    color: var(--text);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.counters::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 40%),
        radial-gradient(700px 260px at 0% 100%, rgba(0,94,163,.06), transparent 65%);
    pointer-events: none;
}
.counters-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.counter-item {
    text-align: center; padding: 1.5rem 1rem;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.counter-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0,94,163,.22);
    box-shadow: var(--shadow-card-hover);
}
.counter-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: .375rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.counter-item .label { font-size: .875rem; color: var(--text-light); font-weight: 600; }

/* ── Category Filter ─────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; margin-bottom: 2.25rem; }
.filter-btn {
    padding: .5rem 1.25rem; border-radius: var(--radius-xl);
    border: 1.5px solid var(--border); background: var(--bg); color: var(--text-light);
    font-weight: 500; cursor: pointer; transition: all var(--transition); font-size: .875rem;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.filter-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-color: var(--primary); box-shadow: 0 4px 14px rgba(0,94,163,.3); }

/* ── Offers Carousel ─────────────────────────────────────── */
.offers-carousel-wrapper { position: relative; display: flex; align-items: center; gap: .875rem; }
.offers-carousel-viewport { flex: 1; overflow: hidden; border-radius: var(--radius-lg); }
.offers-carousel-track {
    display: flex; gap: 1.25rem;
    transition: transform .45s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.offers-carousel-track .offer-card { flex: 0 0 calc(25% - .95rem); min-width: 0; }
.carousel-btn {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid var(--border); background: var(--bg);
    color: var(--text-light); font-size: .875rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition-bounce); box-shadow: var(--shadow-sm); z-index: 2;
}
.carousel-btn:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-md); transform: scale(1.05); }
.carousel-btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.carousel-dot {
    width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
    background: var(--border); cursor: pointer; transition: all var(--transition);
}
.carousel-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ── Offer Cards ─────────────────────────────────────────── */
.offer-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all var(--transition); display: flex; flex-direction: column;
    cursor: pointer; box-shadow: var(--shadow-card);
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
.offer-card::before {
    content: ''; display: block; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.offer-card-image {
    height: 175px; background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center; font-size: 2.5rem; position: relative;
}
.offer-card-image img { width: 100%; height: 100%; object-fit: contain; padding: .5rem; background: #fff; }
.offer-badge {
    position: absolute; top: .75rem; right: .75rem; padding: .22rem .65rem;
    background: linear-gradient(135deg, var(--danger), #B91C1C); color: #fff;
    border-radius: var(--radius-xl); font-size: .72rem; font-weight: 700;
    box-shadow: 0 2px 8px rgba(217,48,37,.35);
}
[dir="rtl"] .offer-badge { right: auto; left: .75rem; }
.offer-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.offer-card-body .provider { font-size: .72rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .375rem; }
.offer-card-body h3 { font-size: .975rem; font-weight: 700; margin-bottom: .375rem; }
.offer-card-body p { color: var(--text-light); font-size: .84rem; flex: 1; margin-bottom: .875rem; line-height: 1.6; }
.offer-price { display: flex; align-items: baseline; gap: .375rem; margin-bottom: .875rem; }
.offer-price .current {
    font-size: 1.6rem; font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.offer-price .original { font-size: .88rem; color: var(--text-muted); text-decoration: line-through; }
.offer-price .currency { font-size: .8rem; color: var(--text-light); font-weight: 600; }

/* ── Offer Detail Modal ──────────────────────────────────── */
.offer-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2000;
    background: rgba(10,18,30,.65); backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.offer-modal-overlay.active { display: flex; }
.offer-modal {
    background: #fff; border-radius: var(--radius-2xl); max-width: 600px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0,0,0,.25);
    animation: modalIn .3s cubic-bezier(.34,1.56,.64,1);
}
.offer-modal-img {
    width: 100%; height: 240px; background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center; position: relative;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; overflow: hidden;
}
.offer-modal-img img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; background: #fff; border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; }
.offer-modal-close {
    position: absolute; top: 1rem; right: 1rem; width: 34px; height: 34px;
    border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; border: none;
    font-size: 1.1rem; cursor: pointer; display: flex; align-items: center;
    justify-content: center; line-height: 1; transition: background var(--transition);
}
.offer-modal-close:hover { background: var(--danger); }
[dir="rtl"] .offer-modal-close { right: auto; left: 1rem; }
.offer-modal-body { padding: 2rem; }
.offer-modal-body .provider { font-size: .72rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .375rem; }
.offer-modal-body h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .75rem; }
.offer-modal-body .description { color: var(--text-light); line-height: 1.8; margin-bottom: 1.5rem; white-space: pre-line; font-size: .95rem; }
.offer-modal-body .offer-price { margin-bottom: 1.5rem; }
.offer-modal-body .offer-price .current { font-size: 2rem; }
.offer-modal-actions { display: flex; gap: .875rem; }
.offer-modal-actions .btn { flex: 1; text-align: center; justify-content: center; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ── How It Works ────────────────────────────────────────── */
.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute; top: 38px;
    left: calc(100% / 6); right: calc(100% / 6);
    border-top: 2px dashed var(--border); pointer-events: none; z-index: 0;
}
.step-card {
    text-align: center; padding: 2.25rem 1.75rem;
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card); position: relative; z-index: 1;
    transition: all var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--primary-light); }
.step-number {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 800; margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(0,94,163,.35);
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.step-card p { color: var(--text-light); font-size: .875rem; line-height: 1.7; }

/* ── Cards Grid (services) ───────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.service-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 1.75rem; transition: all var(--transition); cursor: pointer;
    box-shadow: var(--shadow-card);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--primary-light); }
.service-card .card-icon { font-size: 2.25rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .375rem; }
.service-card p { color: var(--text-light); font-size: .875rem; }

/* ── Reviews ─────────────────────────────────────────────── */
.reviews-header-row {
    display: flex; align-items: flex-start; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem; margin-bottom: 2.25rem;
}
.reviews-header-row .section-header { margin: 0; text-align: left; }
[dir="rtl"] .reviews-header-row .section-header { text-align: right; }
.reviews-header-row .reviews-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.review-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 1.75rem;
    transition: all var(--transition); box-shadow: var(--shadow-card);
    position: relative; overflow: hidden;
}
.review-card::before {
    content: '\201C';
    position: absolute; top: .5rem; right: 1rem;
    font-size: 5rem; line-height: 1;
    color: var(--primary-light); font-family: Georgia, serif;
    font-weight: 900; pointer-events: none; z-index: 0; opacity: .7;
}
[dir="rtl"] .review-card::before { right: auto; left: 1rem; content: '\201D'; }
.review-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: rgba(0,94,163,.15); }
.review-stars { color: #F59E0B; font-size: 1rem; margin-bottom: .875rem; letter-spacing: .05em; position: relative; z-index: 1; }
.review-card blockquote { font-size: .925rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; font-style: italic; position: relative; z-index: 1; }
.review-author {
    font-weight: 700; color: var(--text); font-size: .875rem;
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: .5rem;
}
.review-author::before {
    content: ''; display: inline-block; width: 20px; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px; flex-shrink: 0;
}
.reviews-footer { text-align: center; margin-top: 2.25rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── Review Submit Modal ─────────────────────────────────── */
.review-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 2000;
    background: rgba(10,18,30,.65); backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.review-modal-overlay.active { display: flex; }
.review-modal {
    background: #fff; border-radius: var(--radius-2xl); max-width: 480px; width: 100%;
    box-shadow: 0 25px 80px rgba(0,0,0,.2);
    animation: modalIn .3s cubic-bezier(.34,1.56,.64,1);
    padding: 2.25rem; position: relative;
}
.review-modal h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 1.5rem; }
.review-modal-close {
    position: absolute; top: 1.125rem; right: 1.125rem; width: 34px; height: 34px;
    border-radius: 50%; border: none; background: var(--bg-alt); cursor: pointer;
    font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); line-height: 1; color: var(--text-light);
}
[dir="rtl"] .review-modal-close { right: auto; left: 1.125rem; }
.review-modal-close:hover { background: var(--danger); color: #fff; }
.star-rating { display: flex; gap: .375rem; margin-bottom: 1.25rem; }
.star-rating input { display: none; }
.star-rating label { font-size: 1.85rem; color: #DDE3ED; cursor: pointer; transition: color var(--transition); line-height: 1; }
.star-rating label:hover, .star-rating label:hover ~ label { color: #F59E0B; }
.star-rating input:checked ~ label { color: #DDE3ED; }
.star-rating input:checked + label, .star-rating:has(input:checked) label { color: #DDE3ED; }
/* Reverse star fill trick */
.star-rating { flex-direction: row-reverse; justify-content: flex-end; }
.star-rating input:checked ~ label { color: #F59E0B; }
.star-rating label:hover ~ label { color: #F59E0B; }

/* ── Contact Section ─────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.125rem; }
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-group label { font-weight: 600; font-size: .875rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
    padding: .75rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-md);
    font-size: .95rem; font-family: inherit; color: var(--text); background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition); width: 100%;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,94,163,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { display: none; padding: .875rem; background: #d1fae5; color: #065f46; border-radius: var(--radius-md); font-weight: 600; text-align: center; font-size: .9rem; border: 1px solid #a7f3d0; }
.form-error { display: none; padding: .875rem; background: #fee2e2; color: #991b1b; border-radius: var(--radius-md); font-weight: 600; text-align: center; font-size: .9rem; border: 1px solid #fecaca; }
.contact-info-side { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item .icon-box {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-light), rgba(0,94,163,.08));
    border: 1px solid rgba(0,94,163,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-item h4 { font-size: .9rem; font-weight: 700; margin-bottom: .25rem; }
.contact-info-item p { color: var(--text-light); font-size: .875rem; line-height: 1.6; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    background: var(--bg-dark); color: #8A99B3;
    padding: 4rem 0 2rem; position: relative; overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent), var(--primary));
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand h3 { font-size: 1.45rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; line-height: 1.8; max-width: 280px; }
.footer-links h4, .footer h4 { color: #fff; font-size: .875rem; font-weight: 700; margin-bottom: 1.125rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-links a { color: #8A99B3; font-size: .875rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: .625rem; margin-top: 1rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center;
    color: #8A99B3; transition: all var(--transition); font-size: .9rem;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.75rem; text-align: center; font-size: .8rem; color: #6B7A93; }
.footer-credit {
    margin-top: .6rem;
    font-size: .82rem;
    color: #94A3BD;
}
.footer-credit a {
    color: #D6E3FF;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-credit a:hover { color: #ffffff; }

/* ── WhatsApp Float ──────────────────────────────────────── */
.whatsapp-float {
    position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 999;
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #1EB958);
    color: #fff; font-size: 1.7rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,.5); cursor: pointer;
    transition: all var(--transition-bounce); text-decoration: none;
    animation: pulse-wa 2.5s ease-in-out infinite;
}
[dir="rtl"] .whatsapp-float { right: auto; left: 1.75rem; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.55); color: #fff; animation: none; }
@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,.7), 0 0 0 7px rgba(37,211,102,.12); }
}

/* ── Legal Modal ─────────────────────────────────────────── */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,18,30,.65); z-index: 2000;
    align-items: center; justify-content: center; padding: 2rem;
    backdrop-filter: blur(8px);
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: var(--bg); border-radius: var(--radius-2xl); max-width: 780px; width: 100%;
    max-height: 80vh; overflow-y: auto; padding: 2.5rem; position: relative;
    box-shadow: 0 25px 80px rgba(0,0,0,.2);
    animation: modalIn .3s cubic-bezier(.34,1.56,.64,1);
}
.modal-close {
    position: absolute; top: 1.125rem; right: 1.125rem; width: 34px; height: 34px;
    border-radius: 50%; border: none; background: var(--bg-alt); cursor: pointer;
    font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); line-height: 1; color: var(--text-light);
}
[dir="rtl"] .modal-close { right: auto; left: 1.125rem; }
.modal-close:hover { background: var(--danger); color: #fff; }
.modal-content h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1.5rem; }
.modal-content h3 { font-size: 1rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: .75rem; }
.modal-content p { margin-bottom: .75rem; line-height: 1.8; color: var(--text-light); font-size: .9rem; }
.modal-content strong { color: var(--text); }

/* ── Loading ─────────────────────────────────────────────── */
.loader { display: flex; justify-content: center; align-items: center; padding: 3rem; }
.spinner { width: 38px; height: 38px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content > p { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { order: -1; width: 100%; }
    .hero-services-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
    .steps-grid::before { display: none; }
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
    .offers-carousel-track .offer-card { flex: 0 0 calc(50% - .625rem); }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; position: fixed; top: 68px; left: 0; right: 0;
        background: rgba(255,255,255,.98); flex-direction: column;
        padding: 1.5rem; gap: 1.25rem;
        box-shadow: var(--shadow-lg); border-top: 1px solid var(--border);
        backdrop-filter: blur(12px);
    }
    .nav-links.open { display: flex; }
    .hamburger { display: block; }
    .hero { padding: 2.75rem 0 2.25rem; }
    .hero-content h1 { font-size: 1.7rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .section { padding: 3.5rem 0; }
    .section-header h2 { font-size: 1.6rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .reviews-header-row { flex-direction: column; align-items: flex-start; }
    [dir="rtl"] .reviews-header-row { align-items: flex-end; }
    .carousel-btn { width: 38px; height: 38px; font-size: .75rem; }
}

@media (max-width: 480px) {
    .hero-services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 1.45rem; letter-spacing: -.3px; }
    .hero-eyebrow { font-size: .75rem; }
    .btn { padding: .68rem 1.4rem; font-size: .875rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .offer-modal-actions { flex-direction: column; }
    .offers-carousel-track .offer-card { flex: 0 0 100%; }
    .offers-carousel-wrapper { gap: .375rem; }
}

/* ── RTL Adjustments ─────────────────────────────────────── */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .nav-links a::after { transform-origin: right; }
[dir="rtl"] .hero .container { direction: rtl; }
[dir="rtl"] .hero-content > p { max-width: 100%; }
[dir="rtl"] .contact-info-item { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .offer-card-body .provider { text-align: right; }
[dir="rtl"] .step-card { text-align: center; }
[dir="rtl"] .footer-brand, [dir="rtl"] .footer-links { text-align: right; }
[dir="rtl"] .form-group { text-align: right; }
[dir="rtl"] .star-rating { flex-direction: row; justify-content: flex-start; }
[dir="rtl"] .star-rating input:checked ~ label { color: #DDE3ED; }
[dir="rtl"] .counter-divider { border-right: none; border-left: 1px solid rgba(255,255,255,.2); }
[dir="rtl"] .review-author::before { order: 1; }
