/* PRIME Roadside Assistance — premium black & gold
   Layout system: mobile-first base → tablet → desktop → wide cinematic.
   Pair every future change with both (1) small-screen touch UX and (2) large-screen hover/spacing. */
:root {
  --black: #050505;
  --black-2: #0c0c0c;
  --gold: #f5b301;
  --gold-soft: rgba(245, 179, 1, 0.14);
  --gold-glow: rgba(245, 179, 1, 0.45);
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --glass: rgba(12, 12, 12, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --font: "Outfit", "Noto Sans Arabic", system-ui, sans-serif;
  --display: "Bebas Neue", "Noto Sans Arabic", impact, sans-serif;
  --shadow-deep: 0 24px 80px rgba(0, 0, 0, 0.55);
  --tap-min: 48px;
  --container-pad: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.is-nav-open {
  touch-action: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1120px, 100% - 2 * var(--container-pad));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 900;
  padding-block: clamp(0.75rem, 1.15vw, 1.05rem);
  padding-top: max(clamp(0.75rem, 1.15vw, 1.05rem), env(safe-area-inset-top, 0px));
  background: rgba(5, 5, 5, 0.12);
  transition: background 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), padding 0.25s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--glass-border), 0 20px 50px rgba(0, 0, 0, 0.35);
  padding-block: clamp(0.55rem, 1vw, 0.85rem);
}

.header__inner {
  width: min(1120px, 100% - 2 * max(0.75rem, var(--container-pad)));
  margin-inline: auto;
  padding-inline-start: max(0px, env(safe-area-inset-left, 0px));
  padding-inline-end: max(0px, env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.85rem, 2.2vw, 2rem);
}

.header__bar {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: clamp(0.65rem, 2vw, 1.15rem);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 6px;
  outline-offset: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.4s var(--ease-out);
}

.brand:hover {
  box-shadow: 0 0 0 1px rgba(245, 179, 1, 0.12), 0 0 28px rgba(245, 179, 1, 0.1);
}

.brand:focus-visible {
  outline: 2px solid rgba(245, 179, 1, 0.55);
}

.brand__logo {
  height: clamp(50px, 11.5vw, 65px);
  width: auto;
  max-height: 65px;
  display: block;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.42));
  transition: filter 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.brand:hover .brand__logo,
.brand:focus-visible .brand__logo {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 10px rgba(245, 179, 1, 0.4)) drop-shadow(0 0 26px rgba(245, 179, 1, 0.2));
  transform: scale(1.03);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.8vw, 2.5rem);
}

.nav__scrim {
  display: none;
}

.nav__panel {
  display: contents;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  position: relative;
  padding-block: 0.25rem;
}

.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.25s var(--ease-out), transform 0.35s var(--ease-out);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.8vw, 1.35rem);
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
}

.lang__sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.lang__btn {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s, background 0.2s, box-shadow 0.25s;
}

.lang__btn:hover {
  color: var(--white);
}

.lang__btn--active {
  color: var(--black);
  background: var(--gold);
  box-shadow: 0 0 24px var(--gold-glow);
}

#site-lang {
  flex-shrink: 0;
}

@media (min-width: 993px) {
  .header__inner {
    justify-content: space-between;
  }

  .header__bar,
  #site-lang,
  .nav,
  .burger {
    order: unset;
  }

  .nav {
    margin-inline-start: auto;
  }

  .burger {
    margin-inline-start: 0;
  }
}

@media (max-width: 992px) {
  .header__inner {
    justify-content: flex-start;
    gap: clamp(0.55rem, 2.5vw, 1rem);
  }

  .burger {
    margin-inline-start: auto;
  }

  #site-lang {
    position: relative;
    z-index: 920;
  }

  #site-lang .lang__btn {
    min-width: 44px;
    min-height: 44px;
    padding: 0.4rem 0.65rem;
  }
}

@media (max-width: 992px) and (min-width: 821px) {
  .header__bar {
    order: 1;
  }

  #site-lang {
    order: 2;
  }

  .nav {
    order: 3;
    flex: 1 1 auto;
    min-width: 0;
    margin-inline-start: 0;
  }

  .burger {
    order: 4;
  }
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 14px;
  z-index: 910;
  transition: background 0.25s var(--ease-out);
}

.burger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.burger:active {
  background: rgba(245, 179, 1, 0.12);
}

.burger__bar {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.burger[aria-expanded="true"] .burger__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__bar:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] .burger__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s, background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
}

.btn--lg {
  padding: 0.95rem 1.75rem;
  font-size: 0.82rem;
}

.btn--gold {
  background: linear-gradient(135deg, #ffd35c 0%, var(--gold) 45%, #c48900 100%);
  color: var(--black);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 12px 40px rgba(245, 179, 1, 0.25);
}

.btn--gold:hover {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 16px 50px rgba(245, 179, 1, 0.45);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 30px var(--gold-soft);
}

.btn__loader {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(5, 5, 5, 0.25);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn__text {
  opacity: 0.35;
}

.btn.is-loading .btn__loader {
  display: block;
  position: absolute;
}

.btn--gold.is-loading .btn__loader {
  border-color: rgba(5, 5, 5, 0.2);
  border-top-color: rgba(5, 5, 5, 0.85);
}

.btn#form-submit {
  position: relative;
}

.btn--hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22) inset, 0 8px 28px rgba(245, 179, 1, 0.35), 0 0 48px rgba(245, 179, 1, 0.5);
}

.btn--hero-primary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn--hero-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
}

.btn--hero-secondary:hover {
  border-color: rgba(245, 179, 1, 0.55);
  color: var(--gold);
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 0 36px rgba(245, 179, 1, 0.22), 0 0 0 1px rgba(245, 179, 1, 0.12) inset;
  transform: translateY(-2px);
}

.btn--hero-secondary:focus-visible {
  outline: 2px solid rgba(245, 179, 1, 0.6);
  outline-offset: 3px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ——— Hero ——— */
.hero {
  --hero-h: 100vh;
  --hero-h: 100dvh;
  position: relative;
  min-height: var(--hero-h);
  display: grid;
  align-items: center;
  justify-items: start;
  padding-block: max(clamp(6rem, 11vw, 8.25rem), calc(env(safe-area-inset-top, 0px) + 6.25rem)) clamp(3rem, 8vw, 4.5rem);
  padding-inline: max(1.5rem, env(safe-area-inset-left, 0px)) max(1.5rem, env(safe-area-inset-right, 0px));
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  background-color: var(--black);
  background-image: url("../assets/hero-truck.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.08);
  transition: transform 0.15s ease-out;
}

@media (max-width: 820px) {
  .hero__bg {
    background-position: 58% center;
  }
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero__glow--amber {
  background:
    radial-gradient(ellipse 120% 80% at 70% 85%, rgba(245, 179, 1, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 15% 20%, rgba(255, 200, 80, 0.08) 0%, transparent 45%);
  animation: heroGlowPulse 8s ease-in-out infinite alternate;
}

.hero__glow--corner {
  background: radial-gradient(circle at var(--hx, 70%) var(--hy, 40%), rgba(245, 179, 1, 0.12) 0%, transparent 42%);
  opacity: 0.85;
  mix-blend-mode: plus-lighter;
}

@keyframes heroGlowPulse {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 0.72;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
      105deg,
      rgba(3, 3, 3, 0.88) 0%,
      rgba(5, 5, 5, 0.55) 38%,
      rgba(5, 5, 5, 0.35) 62%,
      rgba(5, 5, 5, 0.72) 100%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, transparent 32%, rgba(0, 0, 0, 0.25) 55%, rgba(3, 3, 3, 0.92) 100%);
}

@media (max-width: 820px) {
  .hero__overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.78) 0%, rgba(5, 5, 5, 0.45) 38%, rgba(5, 5, 5, 0.65) 100%),
      linear-gradient(to right, rgba(3, 3, 3, 0.5) 0%, transparent 50%, rgba(3, 3, 3, 0.55) 100%);
  }
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 75% at 50% 50%, transparent 0%, rgba(5, 5, 5, 0.35) 70%, rgba(5, 5, 5, 0.85) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 5;
  width: min(640px, 100%);
  text-align: start;
}

.hero .reveal {
  transition-duration: 1s, 1.05s;
}

.hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: 0 0 40px rgba(245, 179, 1, 0.35);
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.65rem, 6.5vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 4px 48px rgba(0, 0, 0, 0.9), 0 24px 80px rgba(0, 0, 0, 0.65);
}

.hero__title-accent {
  background: linear-gradient(135deg, #fff8dc 0%, var(--gold) 42%, #c48900 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: rgba(255, 255, 255, 0.2);
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(245, 179, 1, 0.35));
}

@supports not (background-clip: text) {
  .hero__title-accent {
    color: var(--gold);
    -webkit-text-fill-color: unset;
    background: none;
  }
}

.hero__subtitle {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: clamp(1rem, 2.1vw, 1.12rem);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
  line-height: 1.65;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.85);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.hero__badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}

.float-badge {
  position: absolute;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border-radius: 999px;
  border: 1px solid rgba(245, 179, 1, 0.22);
  background: rgba(8, 8, 8, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5), 0 0 28px rgba(245, 179, 1, 0.12);
  animation: floaty 5s ease-in-out infinite;
}

.float-badge--1 {
  inset-inline-end: 2%;
  top: 10%;
  animation-delay: 0s;
}

.float-badge--2 {
  inset-inline-end: 6%;
  top: 38%;
  animation-delay: 1.2s;
}

.float-badge--3 {
  inset-inline-end: 10%;
  bottom: 14%;
  animation-delay: 0.6s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) translateX(calc((var(--hx, 50%) - 50%) * 0.02));
  }
  50% {
    transform: translateY(-10px) translateX(calc((var(--hx, 50%) - 50%) * 0.02));
  }
}

@keyframes floatyMobile {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero__scroll {
  position: absolute;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  opacity: 0.65;
  animation: heroScrollFade 3s ease-in-out infinite;
}

@keyframes heroScrollFade {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.85;
  }
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  box-shadow: 0 0 12px rgba(245, 179, 1, 0.45);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow--amber {
    animation: none;
    opacity: 0.55;
  }

  .hero__scroll {
    animation: none;
    opacity: 0.55;
  }

  .float-badge,
  .float-badge--1,
  .float-badge--2,
  .float-badge--3 {
    animation: none;
  }
}

/* ——— Sections ——— */
.section {
  padding-block: clamp(4rem, 10vw, 6.5rem);
  position: relative;
}

.section--services {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-2) 40%, var(--black) 100%);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section__kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.section__title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  line-height: 1.05;
}

.section__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--services {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, rgba(12, 12, 12, 0.65) 45%, rgba(5, 5, 5, 0.92) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.35s, box-shadow 0.45s;
}

.service-card:active {
  transform: scale(0.985);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 179, 1, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(245, 179, 1, 0.12);
  }

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

.service-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(245, 179, 1, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.service-card__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Why ——— */
.section--why {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.section--why::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 42% at 22% 32%, rgba(245, 179, 1, 0.07), transparent 58%),
    radial-gradient(ellipse 42% 38% at 82% 68%, rgba(245, 179, 1, 0.055), transparent 52%);
  animation: whyAmbientDrift 24s ease-in-out infinite alternate;
}

.section--why::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='wn'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23wn)'/%3E%3C/svg%3E");
  animation: whyGrainDrift 20s linear infinite;
}

@keyframes whyAmbientDrift {
  from {
    transform: translate3d(-1.2%, -0.8%, 0);
    opacity: 0.88;
  }
  to {
    transform: translate3d(1.2%, 1%, 0);
    opacity: 1;
  }
}

@keyframes whyGrainDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-24px, -18px, 0);
  }
}

.why {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.why__list {
  margin: 1.5rem 0 2rem;
  padding: 0;
}

.why__list li {
  position: relative;
  padding-inline-start: 1.5rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.why__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold-glow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.stat {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
}

.stat__num {
  display: block;
  font-family: var(--display);
  font-size: 2.25rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  line-height: 1;
}

.stat__label {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.why__frame {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep), 0 0 0 1px rgba(245, 179, 1, 0.08);
  background: var(--black);
  transform: translate3d(0, var(--why-y, 0px), 0);
  will-change: transform;
}

.why__frame::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(245, 179, 1, 0.26), transparent 72%);
  animation: whyGlowPulse 6s ease-in-out infinite;
}

.why__frame::after {
  content: "";
  position: absolute;
  top: -15%;
  bottom: -15%;
  left: -35%;
  width: 38%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(95deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  mix-blend-mode: soft-light;
  opacity: 0.45;
  animation: whyGlassSweep 10s ease-in-out infinite alternate;
}

@keyframes whyGlowPulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.97);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.03);
  }
}

@keyframes whyGlassSweep {
  from {
    transform: translate3d(-48%, 0, 0) skewX(-8deg);
    opacity: 0.12;
  }
  to {
    transform: translate3d(220%, 0, 0) skewX(-8deg);
    opacity: 0.48;
  }
}

.why__img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(320px, 52vw, 520px);
  object-fit: contain;
  object-position: center;
  filter: saturate(1.05) contrast(1.05);
  animation: whyImgFloat 16s ease-in-out infinite;
  transition: filter 0.5s var(--ease-out);
}

@keyframes whyImgFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -7px, 0);
  }
}

.why__frame:hover .why__img {
  filter: saturate(1.1) contrast(1.08) brightness(1.04);
}

.why__shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(125deg, rgba(245, 179, 1, 0.15), transparent 45%, transparent 60%, rgba(255, 255, 255, 0.06));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.section--why .why__copy.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.section--why .why__copy.reveal:not(.is-visible) .section__kicker,
.section--why .why__copy.reveal:not(.is-visible) .section__title,
.section--why .why__copy.reveal:not(.is-visible) .why__list li,
.section--why .why__copy.reveal:not(.is-visible) .stats .stat {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

@keyframes whyElIn {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.section--why .why__copy.is-visible .section__kicker {
  animation: whyElIn 0.72s var(--ease-out) 0.05s forwards;
}

.section--why .why__copy.is-visible .section__title {
  animation: whyElIn 0.88s var(--ease-out) 0.12s forwards;
}

.section--why .why__copy .section__title {
  position: relative;
}

.section--why .why__copy .section__title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 179, 1, 0.85), rgba(255, 221, 140, 0.65), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
}

.section--why .why__copy.is-visible .section__title::after {
  animation: whyTitleStreak 1.05s var(--ease-out) 0.45s forwards;
}

@keyframes whyTitleStreak {
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.section--why .why__copy.is-visible .why__list li:nth-child(1) {
  animation: whyElIn 0.68s var(--ease-out) 0.22s forwards;
}

.section--why .why__copy.is-visible .why__list li:nth-child(2) {
  animation: whyElIn 0.68s var(--ease-out) 0.3s forwards;
}

.section--why .why__copy.is-visible .why__list li:nth-child(3) {
  animation: whyElIn 0.68s var(--ease-out) 0.38s forwards;
}

.section--why .why__copy.is-visible .why__list li:nth-child(4) {
  animation: whyElIn 0.68s var(--ease-out) 0.46s forwards;
}

.section--why .why__copy.is-visible .stats .stat:nth-child(1) {
  animation: whyElIn 0.72s var(--ease-out) 0.54s forwards;
}

.section--why .why__copy.is-visible .stats .stat:nth-child(2) {
  animation: whyElIn 0.72s var(--ease-out) 0.6s forwards;
}

.section--why .why__copy.is-visible .stats .stat:nth-child(3) {
  animation: whyElIn 0.72s var(--ease-out) 0.66s forwards;
}

.section--why .why__copy.is-visible .stats .stat:nth-child(4) {
  animation: whyElIn 0.72s var(--ease-out) 0.72s forwards;
}

.section--why .stats > .stat {
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.section--why .stats > .stat::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 179, 1, 0.75), transparent);
  opacity: 0.55;
  animation: whyStatLineSweep 5.5s ease-in-out infinite;
}

.section--why .stats > .stat:nth-child(2)::after {
  animation-delay: 0.6s;
}

.section--why .stats > .stat:nth-child(3)::after {
  animation-delay: 1.2s;
}

.section--why .stats > .stat:nth-child(4)::after {
  animation-delay: 1.8s;
}

@keyframes whyStatLineSweep {
  0%,
  100% {
    left: -100%;
    opacity: 0.2;
  }
  45% {
    opacity: 0.75;
  }
  50% {
    left: 110%;
    opacity: 0.35;
  }
}

@media (hover: hover) and (pointer: fine) {
  .section--why .stats > .stat:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 179, 1, 0.38);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 36px rgba(245, 179, 1, 0.14);
  }
}

@media (max-width: 820px) {
  .why__img {
    animation-duration: 18s;
  }

  .why__frame::after {
    animation-duration: 11s;
  }

  .section--why::before,
  .section--why::after {
    animation-duration: 28s;
  }
}

/* ——— Emergency ——— */
.emergency {
  padding-block: clamp(2.5rem, 5vw, 3.25rem);
  background: linear-gradient(90deg, #e6a800 0%, var(--gold) 35%, #ffd35c 100%);
  color: var(--black);
  position: relative;
  overflow: hidden;
}

.emergency::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  opacity: 0.35;
  animation: sheen 6s linear infinite;
}

@keyframes sheen {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.emergency__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.emergency__title {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.emergency__sub {
  margin: 0;
  font-weight: 500;
  max-width: 28rem;
  opacity: 0.85;
}

.emergency__phones {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  flex-shrink: 0;
}

/* Full-width rows inside the column (avoids inline flow side-by-side) */
.emergency__phones > .emergency__phone {
  width: 100%;
  box-sizing: border-box;
}

.emergency__phone {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: 0.06em;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(5, 5, 5, 0.35);
  transition: transform 0.25s var(--ease-out), background 0.25s;
}

.emergency__phone:hover {
  transform: scale(1.03);
  background: rgba(5, 5, 5, 0.08);
}

/* ——— Areas — Jordan map ——— */
.section--areas {
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(245, 179, 1, 0.1), transparent 52%),
    linear-gradient(180deg, var(--black-2) 0%, var(--black) 45%, #030303 100%);
}

.areas__map {
  position: relative;
  min-height: clamp(300px, 46vw, 420px);
  max-width: 1000px;
  margin-inline: auto;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(245, 179, 1, 0.12);
  background: linear-gradient(165deg, rgba(18, 18, 18, 0.75) 0%, rgba(5, 5, 5, 0.94) 45%, rgba(8, 7, 4, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 0 rgba(245, 179, 1, 0.06) inset, 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 80px rgba(245, 179, 1, 0.06);
  overflow: hidden;
  isolation: isolate;
  padding: 0.5rem 0.75rem 0.7rem;
}

.areas__map--image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.areas__map.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.95s var(--ease-out), transform 1s var(--ease-out);
}

.areas__map.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.areas__noise {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.areas__ambient {
  position: absolute;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 22% 38%, rgba(245, 179, 1, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 78% 62%, rgba(245, 179, 1, 0.1), transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(245, 179, 1, 0.06), transparent 45%);
  animation: areasAmbientDrift 14s ease-in-out infinite alternate;
}

@keyframes areasAmbientDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
    opacity: 0.85;
  }
  to {
    transform: translate3d(2%, 1.5%, 0) scale(1.04);
    opacity: 1;
  }
}

.areas__glass {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.areas__map-frame {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-block: 0.15rem;
  transform-origin: 50% 50%;
}

.areas__map.reveal.is-visible .areas__map-frame {
  animation: areasMapFrameFloat 11s ease-in-out infinite;
}

.areas__map.reveal:not(.is-visible) .areas__map-frame {
  animation: none;
}

@keyframes areasMapFrameFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.areas__map-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(500px, 58vh);
  object-fit: contain;
  object-position: center;
  margin-inline: auto;
  border-radius: calc(var(--radius) - 4px);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  filter:
    drop-shadow(0 0 22px rgba(245, 179, 1, 0.2))
    drop-shadow(0 0 48px rgba(245, 179, 1, 0.08))
    drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
  transition: filter 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.areas__map-img.areas__map-img--ar {
  display: none;
}

[dir="rtl"] .areas__map-img.areas__map-img--en {
  display: none;
}

[dir="rtl"] .areas__map-img.areas__map-img--ar {
  display: block;
}

.areas__map--image:hover .areas__map-img,
.areas__map--image:focus-within .areas__map-img {
  filter:
    drop-shadow(0 0 34px rgba(245, 179, 1, 0.38))
    drop-shadow(0 0 72px rgba(245, 179, 1, 0.12))
    drop-shadow(0 14px 44px rgba(0, 0, 0, 0.5));
}

@media (prefers-reduced-motion: reduce) {
  .areas__ambient,
  .areas__map.reveal.is-visible .areas__map-frame {
    animation: none !important;
  }

  .btn.btn--gold.is-wa-pulse {
    animation: none;
  }

  .assist-form.is-wa-sent {
    transition: none;
  }
}

/* ——— Form ——— */
.section--form {
  background: var(--black);
}

.assist-form {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--glass-border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(8, 8, 8, 0.92) 40%, var(--black) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-deep);
}

.assist-form.is-wa-sent {
  transition: box-shadow 0.45s ease, border-color 0.45s ease;
  border-color: rgba(245, 179, 1, 0.45);
  box-shadow:
    0 0 0 1px rgba(245, 179, 1, 0.35),
    0 0 64px rgba(245, 179, 1, 0.14),
    var(--shadow-deep);
}

.btn.btn--gold.is-wa-pulse {
  animation: waBtnPulse 0.85s ease forwards;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 0 56px rgba(245, 179, 1, 0.55),
    0 10px 36px rgba(245, 179, 1, 0.28);
}

@keyframes waBtnPulse {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  40% {
    transform: scale(1.025);
    filter: brightness(1.12);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

.form__grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.65);
  color: var(--white);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field__input:focus {
  border-color: rgba(245, 179, 1, 0.55);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.field__input--area {
  resize: vertical;
  min-height: 120px;
}

.field__input.is-invalid {
  border-color: #ff5c5c;
}

.form__footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.form__error {
  margin-top: 1rem;
  color: #ff8a8a;
  font-size: 0.9rem;
  text-align: center;
}

.form__success {
  margin-top: 1.25rem;
  text-align: center;
  color: #7dffb2;
  font-weight: 500;
}

.form__mailto {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form__mailto.form__wa-fallback {
  margin-top: 1rem;
  padding: 0.7rem 1.25rem;
  min-height: 48px;
  line-height: 1.3;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 179, 1, 0.4);
  text-decoration: none;
  max-width: min(100%, 320px);
  margin-inline: auto;
  background: rgba(245, 179, 1, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.form__mailto.form__wa-fallback:hover {
  background: rgba(245, 179, 1, 0.14);
  box-shadow: 0 0 28px rgba(245, 179, 1, 0.2);
}

/* ——— Testimonials ——— */
.section--testimonials {
  background: linear-gradient(180deg, var(--black-2), var(--black));
  border-top: 1px solid var(--glass-border);
}

.section--testimonials .section__kicker:empty {
  display: none;
}

.grid--testimonials {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, box-shadow 0.45s var(--ease-out);
}

.testimonial:active {
  transform: scale(0.99);
}

@media (hover: hover) and (pointer: fine) {
  .testimonial:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 179, 1, 0.25);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45), 0 0 36px rgba(245, 179, 1, 0.1);
  }

  .testimonial:hover .testimonial__quote-icon {
    border-color: rgba(245, 179, 1, 0.48);
    box-shadow: 0 0 28px rgba(245, 179, 1, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .testimonial:hover .testimonial__quote-svg {
    filter: drop-shadow(0 0 10px rgba(245, 179, 1, 0.55)) drop-shadow(0 0 22px rgba(245, 179, 1, 0.22));
  }
}

.testimonial__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial__quote-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(245, 179, 1, 0.28);
  background: linear-gradient(155deg, rgba(245, 179, 1, 0.1) 0%, rgba(12, 12, 12, 0.92) 45%, rgba(5, 5, 5, 0.98) 100%);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(245, 179, 1, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.35s var(--ease-out), box-shadow 0.45s var(--ease-out);
  animation: testimonialQuoteGlow 5s ease-in-out infinite;
}

@keyframes testimonialQuoteGlow {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(245, 179, 1, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
  50% {
    box-shadow: 0 0 26px rgba(245, 179, 1, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
}

.testimonial__quote-svg {
  display: block;
  width: 34px;
  height: auto;
  max-height: 28px;
  filter: drop-shadow(0 0 6px rgba(245, 179, 1, 0.35));
  transition: filter 0.35s var(--ease-out);
}

.testimonial__meta {
  min-width: 0;
  flex: 1;
}

.testimonial__name {
  margin: 0 0 0.15rem;
  font-weight: 600;
}

.stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.testimonial__quote {
  margin: 0;
  color: var(--muted);
  font-style: italic;
  line-height: 1.65;
}

/* ——— Footer ——— */
.footer {
  padding-block: clamp(3rem, 6vw, 4rem) 0;
  background: #020202;
  border-top: 1px solid var(--glass-border);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 2.5rem;
}

.footer__logo {
  height: clamp(48px, 5vw, 58px);
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.footer__tag {
  color: var(--muted);
  max-width: 320px;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer__social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.social:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px var(--gold-soft);
}

.footer__title {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--gold);
}

.footer__list li {
  margin-bottom: 0.55rem;
}

.footer__list a,
.footer__list span {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer__list a:hover {
  color: var(--white);
}

.footer__bar {
  border-top: 1px solid var(--glass-border);
  padding-block: 1.25rem;
}

.footer__copy {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.footer__copy #year {
  margin-inline: 0.35rem;
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--2 {
  transition-delay: 0.08s;
}

.reveal--3 {
  transition-delay: 0.16s;
}

.reveal--4 {
  transition-delay: 0.24s;
}

/* ——— RTL & Arabic ——— */
[dir="rtl"] body {
  font-family: "Noto Sans Arabic", "Outfit", system-ui, sans-serif;
}

[dir="rtl"] .hero__title-accent {
  background: linear-gradient(135deg, #fff8dc 0%, var(--gold) 42%, #c48900 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

[dir="rtl"] .hero {
  justify-items: end;
}

[dir="rtl"] .hero__content {
  text-align: end;
}

[dir="rtl"] .hero__ctas {
  justify-content: flex-end;
}

[dir="rtl"] .hero__title,
[dir="rtl"] .section__title,
[dir="rtl"] .emergency__title,
[dir="rtl"] .emergency__phone,
[dir="rtl"] .stat__num {
  font-family: "Noto Sans Arabic", var(--display), system-ui, sans-serif;
  letter-spacing: 0;
}

[dir="rtl"] .hero__eyebrow,
[dir="rtl"] .section__kicker,
[dir="rtl"] .float-badge,
[dir="rtl"] .field__label {
  letter-spacing: 0.05em;
}

[dir="rtl"] .why__list li {
  padding-inline-start: 1.75rem;
}

[dir="rtl"] .section--why .why__copy .section__title::after {
  transform-origin: right center;
}

/* ——— Desktop: wide cinematic (821px+) ——— */
@media (min-width: 821px) {
  :root {
    --container-pad: 1.5rem;
  }

  .container {
    width: min(1180px, 100% - 2 * var(--container-pad));
  }

  .header__inner {
    width: min(1180px, 100% - 2 * max(0.75rem, var(--container-pad)));
    gap: clamp(1.25rem, 2.8vw, 2.75rem);
  }

  .site-header {
    padding-block: clamp(1rem, 1.45vw, 1.35rem);
    padding-top: max(clamp(1rem, 1.45vw, 1.35rem), env(safe-area-inset-top, 0px));
  }

  .site-header.is-scrolled {
    padding-block: clamp(0.7rem, 1.15vw, 1rem);
  }

  .brand__logo {
    height: clamp(70px, 6.5vw, 90px);
    max-height: 90px;
  }

  .nav {
    gap: clamp(1.2rem, 3.2vw, 2.85rem);
  }

  .hero {
    padding-inline: max(1.5rem, calc((100vw - min(1180px, 100vw - 3rem)) / 2));
  }

  .hero__content {
    width: min(680px, 100%);
  }

  .hero__title {
    font-size: clamp(3rem, 5.5vw, 5.75rem);
  }

  .section {
    padding-block: clamp(5rem, 11vw, 7.5rem);
  }

  .section__head {
    max-width: 720px;
  }

  .grid--services {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .grid--services > .service-card:nth-child(-n + 4) {
    grid-column: span 3;
  }

  .grid--services > .service-card:nth-child(n + 5) {
    grid-column: span 4;
  }

  .why {
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .emergency__inner {
    gap: 2rem;
  }

  .emergency__phones {
    margin-inline-start: auto;
  }

  .areas__map {
    max-width: 1100px;
    min-height: clamp(360px, 40vw, 480px);
    padding: 0.7rem 1.15rem 1rem;
  }

  .areas__map-img {
    max-height: min(580px, 64vh);
  }
}

@media (min-width: 1200px) {
  .container {
    width: min(1240px, 100% - 2 * var(--container-pad));
  }

  .header__inner {
    width: min(1240px, 100% - 2 * max(0.75rem, var(--container-pad)));
  }

  .hero {
    padding-inline: max(1.5rem, calc((100vw - min(1240px, 100vw - 3rem)) / 2));
  }

  .hero__title {
    font-size: clamp(3.25rem, 5vw, 6rem);
  }

  .grid--services {
    gap: 1.75rem;
  }
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .why {
    grid-template-columns: 1fr;
  }

  .why__visual {
    order: -1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .grid--services {
    grid-template-columns: 1fr;
  }

  .site-header.is-scrolled {
    padding-block: clamp(0.5rem, 0.9vw, 0.75rem);
  }

  .header__bar {
    position: relative;
    z-index: 920;
  }

  .burger {
    display: flex;
    position: relative;
    z-index: 920;
    min-width: 56px;
    min-height: 56px;
  }

  .nav__scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 0;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: rgba(2, 2, 2, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
  }

  .nav.is-open .nav__scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    width: min(420px, 100% - 2rem);
    margin-inline: auto;
    padding: 2rem 1.5rem;
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid rgba(245, 179, 1, 0.18);
    background: linear-gradient(165deg, rgba(22, 22, 22, 0.92) 0%, rgba(5, 5, 5, 0.97) 100%);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 60px rgba(245, 179, 1, 0.08);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.45s var(--ease-spring), opacity 0.35s var(--ease-out);
  }

  .nav.is-open .nav__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .nav {
    position: fixed;
    inset: 0;
    top: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px))
      max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-out);
    z-index: 905;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    text-align: center;
  }

  .nav__list li {
    opacity: 0;
    transform: translateY(10px);
  }

  .nav.is-open .nav__list li {
    animation: navItemIn 0.5s var(--ease-out) forwards;
  }

  .nav.is-open .nav__list li:nth-child(1) {
    animation-delay: 0.06s;
  }

  .nav.is-open .nav__list li:nth-child(2) {
    animation-delay: 0.11s;
  }

  .nav.is-open .nav__list li:nth-child(3) {
    animation-delay: 0.16s;
  }

  .nav.is-open .nav__list li:nth-child(4) {
    animation-delay: 0.21s;
  }

  .nav.is-open .nav__list li:nth-child(5) {
    animation-delay: 0.26s;
  }

  .nav:not(.is-open) .nav__list li {
    opacity: 0;
    transform: translateY(10px);
    animation: none;
  }

  .nav__link {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.85rem 1rem;
    min-height: var(--tap-min);
    line-height: 1.2;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
  }

  .nav__link:active {
    background: rgba(245, 179, 1, 0.1);
  }

  .nav__actions {
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid var(--glass-border);
  }

  .nav__actions .btn--sm {
    width: 100%;
    min-height: 52px;
    font-size: 0.85rem;
    padding: 0.85rem 1.25rem;
  }

  .hero {
    justify-items: center;
    min-height: 100svh;
    padding-block: max(clamp(6.5rem, 18vw, 7.5rem), calc(env(safe-area-inset-top, 0px) + 5.75rem)) clamp(4rem, 12vw, 5.5rem);
  }

  .hero__content {
    text-align: center;
    width: 100%;
    max-width: 520px;
  }

  .hero__title {
    font-size: clamp(2.35rem, 8.5vw, 3.4rem);
    margin-bottom: 1rem;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__ctas {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  [dir="rtl"] .hero {
    justify-items: center;
  }

  [dir="rtl"] .hero__content {
    text-align: center;
  }

  [dir="rtl"] .hero__ctas {
    justify-content: center;
  }

  .hero__badges {
    position: relative;
    inset: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin-top: clamp(1.75rem, 5vw, 2.35rem);
    width: 100%;
    min-height: 0;
  }

  .float-badge {
    position: relative;
    inset: auto !important;
    top: auto !important;
    bottom: auto !important;
    font-size: 0.68rem;
    padding: 0.62rem 1rem;
    animation: floatyMobile 4.5s ease-in-out infinite;
  }

  .float-badge--2 {
    animation-delay: 0.45s;
  }

  .float-badge--3 {
    animation-delay: 0.9s;
  }

  .hero__ctas .btn--lg {
    width: 100%;
    max-width: 420px;
    min-height: 54px;
    font-size: 0.88rem;
  }

  .field__input,
  .field__input::placeholder {
    font-size: 1rem;
  }

  .emergency__phones {
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .emergency__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    text-align: center;
  }

  .assist-form .btn--lg {
    width: 100%;
    max-width: 420px;
    min-height: 54px;
  }
}

@keyframes navItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .hero__ctas .btn {
    width: 100%;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .emergency__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .emergency__phones {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .areas__map {
    min-height: clamp(260px, 58vw, 360px);
    max-width: 100%;
    padding: 0.4rem 0.45rem 0.55rem;
  }

  .areas__map-img {
    max-height: min(360px, 46vh);
  }
}

@media (max-width: 420px) {
  .stats {
    grid-template-columns: 1fr;
  }
}
