/* ==========================================================================
   YallaGooo — public website
   Soft red palette, RTL, Tajawal. No frameworks.
   ========================================================================== */

@font-face { font-family: "Tajawal"; src: url("/fonts/Tajawal-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/fonts/Tajawal-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/fonts/Tajawal-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/fonts/Tajawal-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/fonts/Tajawal-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
    --red-50: #FFF1F2;
    --red-100: #FFE1E4;
    --red-200: #FFC7CE;
    --red-300: #FB9DA9;
    --red-400: #F2697D;
    --red-500: #E34C61;
    --red-600: #CC3550;
    --red-700: #A82842;
    --red-800: #84223A;
    --red-900: #5E1A2C;

    --ink: #2E2127;
    --ink-2: #5A4A50;
    --muted: #8A767D;
    --line: #F1E3E6;
    --bg: #FFFFFF;
    --bg-soft: #FFFAFA;
    --bg-tint: #FFF4F5;
    --dark: #2A1D23;
    --dark-2: #3A2830;
    --ok: #2E9E6A;
    --whatsapp: #25D366;

    --primary: var(--red-500);
    --grad: linear-gradient(135deg, var(--red-400), var(--red-600));
    --grad-soft: linear-gradient(135deg, #FFF6F7 0%, #FFE6EA 100%);

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(94, 26, 44, .06);
    --shadow: 0 12px 34px rgba(94, 26, 44, .10);
    --shadow-lg: 0 24px 60px rgba(94, 26, 44, .16);
    --shadow-red: 0 12px 28px rgba(227, 76, 97, .32);

    --header-h: 76px;
    --container: 1200px;
    --ease: cubic-bezier(.22, .8, .24, 1);
    --font: "Tajawal", "Segoe UI", Tahoma, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-700); }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 800; color: var(--ink); }
p { margin: 0 0 1em; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--red-300); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.icon { flex-shrink: 0; vertical-align: middle; }

/* ---------- Buttons ---------- */
.btn {
    --h: 48px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--h); padding: 0 24px;
    border-radius: 999px; border: 0; cursor: pointer;
    font-weight: 700; font-size: 16px; line-height: 1;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 17px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(227, 76, 97, .42); }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--red-700); box-shadow: inset 0 0 0 2px var(--red-200); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--red-700); }
.btn-white { background: #fff; color: var(--red-600); box-shadow: 0 10px 26px rgba(0, 0, 0, .15); }
.btn-white:hover { color: var(--red-700); }
.btn-soft { background: var(--red-50); color: var(--red-600); }
.btn-soft:hover { background: var(--red-100); color: var(--red-700); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { color: #fff; }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(-3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow:hover .icon { transform: translateX(-4px); }
.link-arrow .icon { transition: transform .25s var(--ease); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1001; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 0 0 0 3px; transition: width .1s linear; margin-inline-start: 0; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 1000;
    height: var(--header-h);
    transition: background .35s, box-shadow .35s, height .35s, top .3s;
}
body.has-topbar .site-header { top: var(--topbar-h, 0px); }
.site-header.scrolled, .site-header.solid {
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 6px 24px rgba(94, 26, 44, .07);
    --header-h: 66px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand img { height: 44px; width: auto; transition: height .35s; }
.site-header.scrolled .brand img { height: 38px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
    position: relative; display: block; padding: 8px 12px; border-radius: 10px;
    color: var(--ink-2); font-weight: 700; font-size: 15.5px;
}
.main-nav ul a::after {
    content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 3px; border-radius: 3px;
    background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a.active { color: var(--red-600); }
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); }
.nav-auth { display: flex; gap: 8px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--red-50); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; inset-inline: 12px; height: 2.5px; border-radius: 2px; background: var(--red-600); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 22px; } .nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: min(100svh, 820px);
    background: var(--grad-soft);
    padding-top: var(--header-h);
}
.hero-blobs i { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; pointer-events: none; }
.hero-blobs .b1 { width: 520px; height: 520px; top: -140px; left: -160px; background: radial-gradient(circle at 30% 30%, rgba(242, 105, 125, .35), rgba(242, 105, 125, 0) 70%); animation: blob 18s ease-in-out infinite; }
.hero-blobs .b2 { width: 420px; height: 420px; bottom: -160px; right: -120px; background: radial-gradient(circle at 50% 50%, rgba(251, 157, 169, .45), rgba(251, 157, 169, 0) 70%); animation: blob 22s ease-in-out infinite reverse; }
.hero-blobs .b3 { width: 180px; height: 180px; top: 26%; right: 46%; background: radial-gradient(circle, rgba(227, 76, 97, .18), rgba(227, 76, 97, 0) 70%); animation: blob 14s ease-in-out infinite; }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(30px, -20px) scale(1.08); } 66% { transform: translate(-20px, 25px) scale(.95); } }

.hero-track { position: relative; min-height: calc(min(100svh, 820px) - var(--header-h)); }
.slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
.slide-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding-block: 40px 110px; }
.slide-text > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.slide.is-active .slide-text > * { opacity: 1; transform: none; }
.slide.is-active .slide-text > :nth-child(1) { transition-delay: .15s; }
.slide.is-active .slide-text > :nth-child(2) { transition-delay: .28s; }
.slide.is-active .slide-text > :nth-child(3) { transition-delay: .42s; }
.slide.is-active .slide-text > :nth-child(4) { transition-delay: .56s; }
.slide-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
    background: #fff; color: var(--red-600); font-weight: 800; font-size: 14px;
    box-shadow: var(--shadow-sm);
}
.slide-title { font-size: clamp(34px, 5.2vw, 62px); font-weight: 900; line-height: 1.18; margin-bottom: 18px; letter-spacing: -.5px; }
.slide-title { background: linear-gradient(120deg, var(--ink) 30%, var(--red-600) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide-sub { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); max-width: 540px; margin-bottom: 30px; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.slide-art { position: relative; display: flex; justify-content: center; }
.slide-art img {
    width: min(100%, 560px);
    transform: translateY(40px) scale(.94); opacity: 0;
    transition: transform 1.1s var(--ease) .2s, opacity 1s var(--ease) .2s;
    filter: drop-shadow(0 30px 40px rgba(94, 26, 44, .15));
}
.slide.is-active .slide-art img { transform: none; opacity: 1; animation: float 6s ease-in-out 1.3s infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* full-width photo slides */
.slide-cover .slide-inner { grid-template-columns: 1fr; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 8s linear; }
.slide-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(42, 29, 35, .82) 0%, rgba(132, 34, 58, .55) 50%, rgba(42, 29, 35, .15) 100%); }
.slide-cover.is-active .slide-bg { transform: scale(1); }
.slide-cover .slide-title { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.slide-cover .slide-sub { color: rgba(255, 255, 255, .88); }
.slide-cover .slide-text { position: relative; max-width: 640px; }

.hero-controls { position: absolute; bottom: 34px; inset-inline: 0; z-index: 3; display: flex; align-items: center; gap: 14px; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots .dot { width: 46px; height: 6px; border-radius: 6px; border: 0; padding: 0; background: rgba(168, 40, 66, .18); cursor: pointer; overflow: hidden; position: relative; }
.hero-dots .dot span { position: absolute; inset: 0; width: 0; background: var(--grad); border-radius: 6px; }
.hero-dots .dot.is-active span { animation: dot-fill var(--interval, 6000ms) linear forwards; }
.hero.paused .hero-dots .dot.is-active span { animation-play-state: paused; }
@keyframes dot-fill { to { width: 100%; } }
.hero-arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #fff; color: var(--red-600); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .2s, box-shadow .2s; }
.hero-arrow:hover { transform: scale(1.08); box-shadow: var(--shadow); }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 28px; height: 44px; border-radius: 16px; border: 2px solid var(--red-300); z-index: 3; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--red-500); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Inner page hero ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: calc(var(--header-h) + 70px) 0 80px;
    background: var(--grad);
    color: #fff; text-align: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--page-hero-img, none); background-size: cover; background-position: center; opacity: .18; z-index: -1; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); font-weight: 900; margin-bottom: 8px; }
.page-hero p { color: rgba(255, 255, 255, .9); font-size: 19px; max-width: 680px; margin: 0 auto; }
.breadcrumb { font-size: 14px; margin-bottom: 14px; color: rgba(255, 255, 255, .85); display: flex; justify-content: center; gap: 8px; }
.breadcrumb a { color: #fff; font-weight: 700; }
.page-hero-shapes i { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); z-index: -1; }
.page-hero-shapes i:nth-child(1) { width: 320px; height: 320px; top: -120px; right: -80px; animation: blob 16s infinite; }
.page-hero-shapes i:nth-child(2) { width: 200px; height: 200px; bottom: -90px; left: 8%; animation: blob 20s infinite reverse; }
.page-hero-shapes i:nth-child(3) { width: 90px; height: 90px; top: 40%; left: 30%; background: rgba(255, 255, 255, .07); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section.tint { background: var(--bg-tint); }
.section.dark { background: radial-gradient(1200px 500px at 85% 0%, #5E1A2C 0%, var(--dark) 60%); color: #F6EDEF; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; }
.section-head p { color: var(--muted); font-size: 18.5px; margin: 0; }
.eyebrow {
    display: inline-block; margin-bottom: 12px; padding: 5px 16px; border-radius: 999px;
    background: var(--red-50); color: var(--red-600); font-weight: 800; font-size: 14px;
    box-shadow: inset 0 0 0 1px var(--red-100);
}
.eyebrow.light { background: rgba(255, 255, 255, .1); color: #FFD4DA; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.empty-note { text-align: center; color: var(--muted); }
.empty-page { text-align: center; padding: 40px 0; }
.lead { font-size: 19px; color: var(--ink-2); }
.section.dark .lead { color: #EBDDE1; }

/* features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    position: relative; padding: 32px 28px; border-radius: var(--radius-lg);
    background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
    overflow: hidden;
}
.feature-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--red-100); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card h3 { font-size: 21px; margin-top: 18px; }
.feature-card p { color: var(--muted); margin: 0; }
.feature-icon {
    display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px;
    background: var(--red-50); color: var(--red-500);
    transition: background .4s, color .4s, transform .4s var(--ease);
}
.feature-card:hover .feature-icon { background: var(--grad); color: #fff; transform: rotate(-8deg) scale(1.05); }

/* stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-size: clamp(32px, 4vw, 46px); font-weight: 900; line-height: 1.1; margin: 10px 0 4px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.stat > span:last-child { color: var(--muted); font-weight: 600; }
.stat-icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--red-50); color: var(--red-500); }

/* steps */
.steps-row { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps-line { position: absolute; top: 40px; inset-inline: 12%; width: 76%; height: 40px; overflow: visible; z-index: 0; }
.steps-line path { fill: none; stroke: var(--red-300); stroke-width: 3; stroke-dasharray: 10 10; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.2s var(--ease); }
.steps-row.drawn .steps-line path { stroke-dashoffset: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.step-num {
    position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 22px;
    border-radius: 50%; background: #fff; color: var(--red-500); box-shadow: var(--shadow);
    border: 6px solid var(--red-50);
}
.step-num b { position: absolute; top: -6px; right: -6px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 15px; box-shadow: var(--shadow-red); }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); }

/* offers */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.offer-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.offer-img { aspect-ratio: 16/9; overflow: hidden; background: var(--red-50); }
.offer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.offer-card:hover .offer-img img { transform: scale(1.06); }
.offer-body { padding: 22px 24px 26px; }
.offer-body h3 { font-size: 20px; }
.offer-body p { color: var(--muted); }
.offer-date { display: inline-flex; gap: 6px; align-items: center; color: var(--red-600); font-size: 14px; font-weight: 700; margin-bottom: 8px; }

/* split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split-text h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; }
.split-art img { border-radius: var(--radius-lg); width: 100%; }
.rich { color: var(--ink-2); font-size: 17.5px; }
.rich img { border-radius: var(--radius); margin: 1em 0; }
.rich ul { padding-inline-start: 1.2em; }
.section.dark .rich { color: #EBDDE1; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check-list .icon { color: #fff; background: var(--grad); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.float { animation: float 6s ease-in-out infinite; }

/* app download */
.app-download .split-art img { max-width: 440px; margin-inline: auto; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .35)); }

/* store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.store-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 14px;
    background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 800; font-size: 16px; line-height: 1.15;
    transition: transform .25s var(--ease), box-shadow .25s;
}
.store-badge small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.store-badges.big .store-badge { padding: 12px 22px; font-size: 17px; }
.store-badge span { direction: ltr; text-align: right; }

/* CTA */
.cta-card {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    padding: 56px 60px; border-radius: 36px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 6px; }
.cta-card p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 18px; }
.cta-shapes i { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); z-index: -1; }
.cta-shapes i:first-child { width: 260px; height: 260px; top: -110px; left: -60px; animation: blob 14s infinite; }
.cta-shapes i:last-child { width: 160px; height: 160px; bottom: -80px; left: 30%; animation: blob 18s infinite reverse; }

/* coverage */
.coverage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.coverage-card { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.coverage-card h3 { font-size: 19px; margin: 0; }
.coverage-card p { margin: 0; color: var(--muted); }
.pulse-pin { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--red-50); color: var(--red-500); flex-shrink: 0; }
.pulse-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red-300); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery-grid img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption { position: absolute; inset: auto 0 0 0; padding: 10px 14px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); font-weight: 700; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 26px; }
.team-card { text-align: center; padding: 30px 22px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-photo { width: 132px; height: 132px; margin: 0 auto 18px; border-radius: 50%; padding: 5px; background: var(--grad); }
.team-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; background: var(--red-50); }
.team-card h3 { font-size: 20px; margin-bottom: 2px; }
.team-pos { color: var(--red-600); font-weight: 700; font-size: 15px; }
.team-card p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }

/* brochures */
.brochure-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.brochure-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.brochure-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.brochure-cover { aspect-ratio: 3/4; background: var(--grad-soft); display: grid; place-items: center; overflow: hidden; }
.brochure-cover img { width: 100%; height: 100%; object-fit: cover; }
.brochure-placeholder { display: grid; place-items: center; gap: 6px; color: var(--red-400); font-weight: 900; font-size: 22px; }
.brochure-body { padding: 20px 22px 24px; }
.brochure-body h3 { font-size: 19px; }
.brochure-body p { color: var(--muted); font-size: 15px; }
.brochure-actions { display: flex; gap: 10px; }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; }
.contact-card { display: block; text-align: center; padding: 28px 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
a.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.contact-card > span { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: var(--grad); color: #fff; margin-bottom: 14px; box-shadow: var(--shadow-red); }
.contact-card h3 { font-size: 18px; margin-bottom: 4px; }
.contact-card p { margin: 0; color: var(--muted); word-break: break-word; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.map-frame iframe { display: block; width: 100%; height: 400px; border: 0; }

.contact-form { background: #fff; padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field > span { font-weight: 700; font-size: 15px; color: var(--ink-2); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 16px; color: var(--ink);
    padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-soft);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-300); background: #fff; box-shadow: 0 0 0 4px rgba(227, 76, 97, .12); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 18px; font-weight: 700; }
.alert.ok { background: #E8F7EF; color: #1F7A50; }
.alert.err { background: var(--red-50); color: var(--red-700); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--dark); color: #D9C8CD; padding: 90px 0 0; margin-top: 60px; }
.footer-wave { position: absolute; top: -59px; inset-inline: 0; height: 60px; color: var(--dark); line-height: 0; }
.footer-wave svg { width: 100%; height: 100%; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #BBA8AE; max-width: 380px; }
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a, .footer-contact a { color: #D9C8CD; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { color: var(--red-400); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: #fff; transition: background .25s, transform .25s; }
.socials a:hover { background: var(--grad); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: #A8959B; flex-wrap: wrap; }
.to-top-link { color: #D9C8CD; display: inline-flex; gap: 6px; align-items: center; }
.site-footer .store-badge { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.site-footer .store-badge small { color: #BBA8AE; }
.site-footer .store-badge:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- Floating buttons ---------- */
.fab-whatsapp { position: fixed; left: 22px; bottom: 22px; z-index: 900; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--whatsapp); color: #fff; box-shadow: 0 12px 28px rgba(37, 211, 102, .4); transition: transform .3s var(--ease); }
.fab-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: pulse 2.4s ease-out infinite; }
.fab-whatsapp:hover { transform: scale(1.08); color: #fff; }
.fab-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 50px; height: 50px; border-radius: 16px; border: 0; display: grid; place-items: center; background: #fff; color: var(--red-600); box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.fab-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Ads ---------- */
.ad-topbar { position: fixed; inset: 0 0 auto 0; z-index: 1002; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; padding: 8px 54px; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; text-align: center; transform: translateY(-100%); transition: transform .5s var(--ease); }
.ad-topbar.show { transform: none; }
.ad-topbar a.ad-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ad-topbar .ad-close { position: absolute; left: 12px; top: 50%; translate: 0 -50%; }

.ad-overlay { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; background: rgba(42, 29, 35, .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.ad-overlay.show { opacity: 1; }
.ad-modal { position: relative; width: min(520px, 100%); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); transform: translateY(30px) scale(.95); transition: transform .45s var(--ease); }
.ad-overlay.show .ad-modal { transform: none; }
.ad-modal .ad-img { width: 100%; max-height: 300px; object-fit: cover; background: var(--red-50); }
.ad-modal .ad-body { padding: 24px 28px 28px; text-align: center; }
.ad-modal h3 { font-size: 24px; }
.ad-modal p { color: var(--muted); }
.ad-close { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); }
.ad-modal .ad-close, .ad-corner .ad-close { position: absolute; top: 12px; left: 12px; z-index: 2; }
.ad-timer { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(42, 29, 35, .7); color: #fff; font-size: 13px; font-weight: 700; }
.ad-skip { border: 0; cursor: pointer; padding: 7px 14px; border-radius: 999px; background: rgba(42, 29, 35, .75); color: #fff; font-weight: 700; font-size: 13px; }
.ad-skip[hidden], .ad-close[hidden] { display: none; }
.ad-progress { position: absolute; inset: auto 0 0 0; height: 4px; background: var(--red-100); }
.ad-progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: right; }
.ad-corner { position: fixed; right: 22px; bottom: 86px; z-index: 950; width: min(320px, calc(100% - 44px)); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); transform: translateY(30px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.ad-corner.show { transform: none; opacity: 1; }
.ad-corner img { width: 100%; max-height: 170px; object-fit: cover; }
.ad-corner .ad-body { padding: 16px 18px 18px; }
.ad-corner h3 { font-size: 17px; margin-bottom: 4px; }
.ad-corner p { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.ad-inline { display: flex; align-items: center; gap: 20px; margin: 30px auto 0; padding: 18px 22px; border-radius: 22px; background: #fff; border: 1px solid var(--red-100); box-shadow: var(--shadow-sm); position: relative; animation: slide-in .6s var(--ease); }
.ad-inline img { width: 120px; height: 80px; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.ad-inline h3 { font-size: 18px; margin: 0 0 2px; }
.ad-inline p { margin: 0; color: var(--muted); font-size: 15px; }
.ad-inline .ad-cta { margin-inline-start: auto; }
.ad-inline .ad-close { position: absolute; top: -10px; left: -10px; }
@keyframes slide-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Rating page ---------- */
.rate-wrap { min-height: 100svh; display: grid; place-items: center; padding: 30px 16px; background: var(--grad-soft); }
.rate-card { width: min(520px, 100%); background: #fff; border-radius: 30px; box-shadow: var(--shadow-lg); padding: 36px 30px; text-align: center; }
.rate-card img.logo { height: 46px; width: auto; margin: 0 auto 22px; }
.rate-card h1 { font-size: 26px; }
.rate-card p { color: var(--muted); }
.stars { display: flex; justify-content: center; gap: 8px; direction: ltr; margin: 20px 0; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { cursor: pointer; color: var(--red-100); transition: transform .2s, color .2s; }
.stars label svg { width: 46px; height: 46px; fill: currentColor; stroke: none; }
.stars label:hover, .stars label:hover ~ label { color: var(--red-100); }
.stars:hover label { color: var(--red-400); }
.stars label:hover ~ label { color: var(--red-100); }
.stars input:checked + label, .stars label.on { color: var(--red-500); transform: scale(1.08); }
.word-scale { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.word-scale input { position: absolute; opacity: 0; }
.word-scale label { padding: 14px; border-radius: 16px; border: 2px solid var(--line); font-weight: 800; cursor: pointer; transition: all .2s; }
.word-scale input:checked + label { border-color: var(--red-500); background: var(--red-50); color: var(--red-600); }
.rate-card textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg-soft); margin-bottom: 16px; }
.rate-done { font-size: 64px; line-height: 1; margin-bottom: 10px; }

/* ---------- Customer location link (/l/{token}) ---------- */
.loc-card { padding: 28px 20px; }
.loc-card h1 { font-size: 24px; }
.loc-gps, .loc-send { width: 100%; margin-top: 8px; }
.loc-send:disabled { opacity: .5; cursor: not-allowed; }
.loc-or { color: var(--muted); font-size: 14px; margin: 14px 0 8px; }
.loc-map { height: 320px; border-radius: 20px; overflow: hidden; border: 1.5px solid var(--line); margin-bottom: 12px; z-index: 0; }
.loc-status { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #e9f8ef; color: #17784a; font-weight: 700; font-size: 14px; }
.loc-status.err { background: var(--red-50); color: var(--red-600); }
.loc-note { padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.loc-note.ok { background: #e9f8ef; color: #17784a; }
.loc-addr { font-size: 13px; margin-top: 10px; }
.loc-again { display: inline-block; font-weight: 800; color: var(--red-600); }

/* ---------- Error page ---------- */
.error-wrap { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 20px 40px; }
.error-wrap .code { font-size: clamp(90px, 16vw, 160px); font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .main-nav ul a { padding: 8px 8px; font-size: 15px; }
}
@media (max-width: 920px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 14px;
        padding: 18px 20px 26px; background: #fff; box-shadow: 0 20px 40px rgba(94, 26, 44, .12);
        transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .3s;
        max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    }
    .nav-open .main-nav { transform: none; opacity: 1; pointer-events: auto; }
    .main-nav ul { flex-direction: column; }
    .main-nav ul a { padding: 12px 14px; font-size: 17px; }
    .main-nav ul a::after { display: none; }
    .main-nav ul a.active { background: var(--red-50); }
    .nav-auth { flex-direction: column; }
    .nav-auth .btn { width: 100%; --h: 46px; }
    .nav-open .site-header { background: #fff; }
    .slide-inner { grid-template-columns: 1fr; text-align: center; gap: 10px; padding-block: 24px 120px; }
    .slide-text { order: 2; }
    .slide-sub { margin-inline: auto; }
    .slide-actions { justify-content: center; }
    .slide-art img { width: min(78%, 380px); }
    .slide-cover .slide-text { text-align: center; margin-inline: auto; }
    .hero-controls { justify-content: center; }
    .scroll-cue { display: none; }
    .split, .split.reverse { grid-template-columns: 1fr; gap: 34px; }
    .split.reverse .split-text { order: 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-row { grid-template-columns: 1fr; gap: 40px; }
    .steps-line { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .cta-card { padding: 40px 30px; text-align: center; justify-content: center; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .section { padding: 70px 0; }
    .section-head { margin-bottom: 38px; }
    .features-grid, .contact-cards, .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 24px 18px; }
    .brand img { height: 38px; }
    .hero-arrow { display: none; }
    .ad-inline { flex-wrap: wrap; }
    .ad-inline .ad-cta { margin-inline-start: 0; }
    .fab-whatsapp { width: 54px; height: 54px; left: 16px; bottom: 16px; }
    .fab-top { right: 16px; bottom: 16px; }
    .offers-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* «?» next to «تسجيل الدخول»: opens the user guide (asks for a guide code when not signed in) */
.nav-help { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line, #EFE3E6); color: var(--red-600, #CC3550); background: #fff; transition: background .2s, border-color .2s; }
.nav-help:hover { background: var(--red-50, #FFF1F2); border-color: var(--red-300, #FB9DA9); }
@media (max-width: 760px) { .nav-help { width: 100%; border-radius: 14px; height: 46px; } }
