:root {
  --red: #e3141b;
  --red-dark: #b50d13;
  --wa: #25d366;
  --wa-dark: #1da851;
  --black: #0b0b0c;
  --ink: #141416;
  --panel: #1b1b1e;
  --line: #2a2a2e;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --radius: 14px;
  --display: "Barlow Condensed", "Cairo", system-ui, sans-serif;
  --body: "Inter", "Cairo", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body { --display: "Cairo", system-ui, sans-serif; --body: "Cairo", system-ui, sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1.2em; height: 1.2em; fill: currentColor; flex-shrink: 0; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red); outline-offset: 3px;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); }
.btn--wa { background: var(--wa); color: #06270f; }
.btn--wa:hover { background: var(--wa-dark); box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .6); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; }
.btn--lg { padding: .95em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 12, .85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.header__logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: #fff; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  background: none; border: 1px solid var(--line); color: var(--text);
  font-family: "Cairo", var(--body); font-weight: 600; font-size: .9rem;
  padding: .4em .9em; border-radius: 999px; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--muted); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(227, 20, 27, .28), transparent 70%),
    var(--black);
  text-align: center;
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: min(620px, 92%); height: auto; filter: drop-shadow(0 12px 40px rgba(227, 20, 27, .35)); animation: rise .9s ease-out both; }
.hero__tag {
  display: inline-flex; align-items: center; gap: .4em;
  margin: 28px 0 8px; font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase;
}
.hero__tag svg { color: var(--red); }
html[lang="ar"] .hero__tag { font-style: normal; letter-spacing: 0; }
.hero__title {
  font-family: var(--display); font-weight: 800; line-height: 1.02;
  font-size: clamp(2.3rem, 6vw, 4.2rem); margin: 6px 0 16px; max-width: 20ch;
  text-transform: uppercase;
}
html[lang="ar"] .hero__title { text-transform: none; line-height: 1.3; }
.hero__sub { color: var(--muted); font-size: 1.1rem; max-width: 58ch; margin: 0 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__badges {
  list-style: none; padding: 0; margin: 48px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(720px, 100%);
}
.hero__badges li {
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 12px; display: flex; flex-direction: column; gap: 2px;
}
.hero__badges strong { font-family: var(--display); font-size: 1.6rem; color: var(--red); line-height: 1.1; }
.hero__badges span { color: var(--muted); font-size: .88rem; }

@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding: 96px 0; }
.section--dark { background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  color: var(--red); font-weight: 600; font-size: .85rem; letter-spacing: .14em;
  text-transform: uppercase; margin: 0 0 8px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; }
.section__title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; margin: 0 0 16px;
}
html[lang="ar"] .section__title { text-transform: none; line-height: 1.3; }
.section__lead { color: var(--muted); max-width: 60ch; margin: 0 0 32px; font-size: 1.05rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--red); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(227, 20, 27, .12); color: var(--red); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Booking */
.book { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.book__intro p { color: var(--muted); font-size: 1.05rem; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 14px; font-weight: 500; }
.steps li::before {
  content: counter(step); flex: 0 0 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.1rem;
}
.form {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; display: grid; gap: 16px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.field label { font-size: .88rem; font-weight: 600; color: #d4d4d8; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--black); border: 1px solid var(--line); border-radius: 10px;
  padding: .75em .9em; transition: border-color .2s;
  color-scheme: dark;
}
.field input::placeholder, .field textarea::placeholder { color: #6b6b73; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #3f3f46; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: none; }
.field .invalid { border-color: var(--red); }
.field textarea { resize: vertical; }
.form__error { margin: 0; color: #ff6b6f; font-size: .9rem; }

/* Why us */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.why__item { padding: 32px 24px 0 0; }
html[dir="rtl"] .why__item { padding: 32px 0 0 24px; }
.why__num { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 2.4rem; color: var(--red); line-height: 1; }
.why__item h3 { margin: 14px 0 6px; font-size: 1.1rem; }
.why__item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Coverage */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); font-weight: 500; font-size: .95rem;
  transition: border-color .2s, color .2s;
}
.chips li:hover { border-color: var(--red); color: #fff; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.manager { margin: 0; color: var(--muted); }
.manager strong { color: #fff; font-size: 1.1rem; margin-inline-start: .3em; }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact__item {
  display: flex; align-items: center; gap: 14px; padding: 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s; min-width: 0;
}
.contact__item:hover { border-color: var(--red); transform: translateY(-2px); }
.contact__item small { display: block; color: var(--muted); font-size: .8rem; }
.contact__item b { display: block; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact__item > span:last-child { min-width: 0; }
.contact__icon {
  flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(227, 20, 27, .14); color: var(--red);
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__icon--wa { background: rgba(37, 211, 102, .14); color: var(--wa); }
.contact__icon--ig { background: linear-gradient(45deg, rgba(253,186,77,.2), rgba(214,41,118,.25), rgba(79,91,213,.25)); color: #f472b6; }
.contact__icon--fb { background: rgba(24, 119, 242, .16); color: #4c9bff; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 110px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__logo { height: 34px; width: auto; }
.footer p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .2s;
}
html[dir="rtl"] .wa-float { right: auto; left: 22px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ping 2.2s ease-out infinite;
}
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .cards, .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why__item { padding-bottom: 12px; }
  .book, .contact { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 20px 16px;
    background: var(--black); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: block; }
  .header__actions .btn--sm span { display: none; }
  .header__actions .btn--sm { padding: .6em; }
  .header__logo img { height: 32px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .hero__badges { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .contact__list { grid-template-columns: 1fr; }
  .form { padding: 20px; }
}

@media (max-width: 520px) {
  .cards, .why { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
