/* =========================================================
   أنوار الجبل – Anwar Algabal
   Shared by the Arabic (/) and English (/en/) pages.
   ========================================================= */

:root {
  --navy-900: #031c2a;
  --navy-800: #04283b;
  --navy-700: #00415b;
  --blue-600: #0068a6;
  --blue-500: #007ac0;
  --gold-500: #c9a45c;
  --gold-400: #dcbd7c;
  --gold-300: #ecd6a6;
  --sand-50: #fbf8f2;
  --sand-100: #f4eee2;
  --ink: #12222d;
  --muted: #5b6b76;
  --line: #e6e0d4;
  --white: #fff;

  --font-display: "El Messiri", "IBM Plex Sans Arabic", serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(3, 28, 42, .06);
  --shadow: 0 18px 40px -18px rgba(3, 28, 42, .28);
  --shadow-lg: 0 40px 80px -30px rgba(3, 28, 42, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

html[lang="en"] {
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.65; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.3; margin: 0; }
p { margin: 0; }

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wa-icon,
.wa-float svg { fill: currentColor; stroke: none; }

.container {
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
}

:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  box-shadow: 0 10px 24px -10px rgba(201, 164, 92, .8);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(201, 164, 92, .9); }

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled {
  background: rgba(3, 28, 42, .86);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6);
  --header-h: 66px;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand .brand-iata { height: 30px; opacity: .95; }
.brand-sep { width: 1px; height: 30px; background: rgba(255, 255, 255, .3); }

.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a:not(.btn) {
  position: relative;
  padding: .5rem .8rem;
  font-weight: 500;
  font-size: .98rem;
  opacity: .88;
  transition: opacity .2s;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  inset-inline: .8rem;
  bottom: .25rem;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.main-nav a:not(.btn):hover,
.main-nav a.is-current { opacity: 1; }
.main-nav a:not(.btn):hover::after,
.main-nav a.is-current::after { transform: scaleX(1); }
.main-nav a.lang-link {
  margin-inline-start: .4rem;
  padding: .3rem .85rem;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  font-size: .9rem;
  opacity: 1;
}
.main-nav a.lang-link::after { display: none; }
.main-nav a.lang-link:hover { background: rgba(255, 255, 255, .12); }
.nav-cta { margin-inline-start: .6rem; padding: .6rem 1.2rem; }

.header-actions { display: none; align-items: center; gap: .4rem; }
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .08);
  color: inherit;
  cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle { gap: 4px; align-content: center; }
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 9s linear;
}
.slide.is-active { opacity: 1; transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(270deg, rgba(3, 28, 42, .92) 0%, rgba(3, 28, 42, .7) 45%, rgba(3, 28, 42, .25) 100%),
    linear-gradient(0deg, rgba(3, 28, 42, .85) 0%, transparent 40%);
}
html[dir="ltr"] .hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 28, 42, .92) 0%, rgba(3, 28, 42, .7) 45%, rgba(3, 28, 42, .25) 100%),
    linear-gradient(0deg, rgba(3, 28, 42, .85) 0%, transparent 40%);
}

.hero-content { padding-block: calc(var(--header-h) + 4rem) 8rem; max-width: 1200px; }
.hero-content > * { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  font-size: .9rem;
  margin-bottom: 1.6rem;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(220, 189, 124, .25);
}

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}
html[lang="en"] .hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }
.gold-text {
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  opacity: .9;
  margin-bottom: 2.2rem;
  max-width: 560px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-caption {
  position: absolute;
  inset-inline-end: max(16px, calc((100% - 1200px) / 2));
  bottom: 6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
  text-align: end;
}
.caption-label { font-size: .8rem; letter-spacing: .05em; opacity: .7; }
.caption-city { font-family: var(--font-display); font-size: 1.5rem; transition: opacity .5s; }
.hero-dots { display: flex; gap: .45rem; margin-top: .4rem; }
.hero-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  pointer-events: auto;
  transition: background .3s, width .3s;
}
.hero-dots button.is-active { background: var(--gold-400); width: 44px; }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 2; margin-top: -3.5rem; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.trust-item {
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.trust-item + .trust-item { border-inline-start: 1px solid var(--line); }
.trust-item strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--navy-700);
}
.trust-item > span { color: var(--muted); font-size: .93rem; line-height: 1.6; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-head { max-width: 820px; margin: 0 auto 3.5rem; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--blue-500);
  margin-bottom: .8rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow-gold { color: var(--gold-400); }

h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); color: var(--navy-800); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about-media { position: relative; padding-bottom: 3rem; padding-inline-start: 3rem; }
.about-img-main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.about-img-small {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 55%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid var(--sand-50);
  box-shadow: var(--shadow);
}
.about-stamp {
  position: absolute;
  top: 1.5rem;
  inset-inline-end: -1.5rem;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--navy-800);
  color: var(--gold-300);
  font-family: var(--font-display);
  line-height: 1.3;
  box-shadow: var(--shadow);
  outline: 1.5px dashed rgba(220, 189, 124, .6);
  outline-offset: -9px;
  transform: rotate(-8deg);
}
.about-stamp span:first-child { font-size: 1.6rem; }
.about-stamp span:last-child { font-size: .95rem; }
html[lang="en"] .about-stamp span:first-child { font-size: 1.15rem; }
html[lang="en"] .about-stamp span:last-child { font-size: .82rem; }

.about-text > p:not(.eyebrow) { color: var(--muted); margin-top: 1.1rem; }

.credentials {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem 1.4rem;
}
.credentials li {
  position: relative;
  padding-inline-start: 1.8rem;
  font-weight: 500;
  font-size: .98rem;
}
.credentials li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .45em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304283b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
html[lang="en"] .credentials li::before { top: .25em; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pillar {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 122, 192, .1);
  color: var(--blue-500);
  margin-bottom: .9rem;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.2rem; color: var(--navy-800); margin-bottom: .4rem; }
.pillar p { font-size: .9rem; color: var(--muted); line-height: 1.75; }

/* ---------- Services ---------- */
.services { background: var(--white); position: relative; }
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(0, 122, 192, .07), transparent 70%);
  pointer-events: none;
}
.services-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service {
  position: relative;
  padding: 2rem 1.8rem;
  border-radius: var(--radius);
  background: var(--sand-50);
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, border-color .35s;
}
.service::after {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 164, 92, .25), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
}
.service:hover {
  transform: translateY(-6px);
  background: var(--white);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.service:hover::after { opacity: 1; }
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  color: var(--white);
  margin-bottom: 1.3rem;
  box-shadow: 0 12px 24px -12px rgba(0, 104, 166, .7);
  transition: transform .35s var(--ease);
}
.service:hover .service-icon { transform: rotate(-6deg) scale(1.05); }
.service-icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.25rem; color: var(--navy-800); margin-bottom: .4rem; }
.service p { color: var(--muted); font-size: .96rem; line-height: 1.75; }

/* ---------- Umrah ---------- */
.umrah {
  position: relative;
  padding-block: clamp(5rem, 10vw, 8rem);
  color: var(--white);
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.umrah-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 20% 40%, rgba(201, 164, 92, .18), transparent 70%),
    radial-gradient(40% 50% at 90% 90%, rgba(0, 122, 192, .25), transparent 70%);
}
/* geometric star pattern */
.umrah-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23dcbd7c' stroke-width='1'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.umrah-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.umrah h2 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.umrah-text > p:not(.eyebrow) { color: rgba(255, 255, 255, .78); margin-top: 1.2rem; max-width: 520px; }
.umrah-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 2.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem 1.5rem;
}
.umrah-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 500;
}
.umrah-list li::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(220, 189, 124, .18);
}

.umrah-media { position: relative; padding-bottom: 2.5rem; }
.arch {
  width: min(420px, 100%);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid rgba(220, 189, 124, .5);
  padding: 10px;
  background: rgba(255, 255, 255, .03);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px 999px calc(var(--radius-lg) - 8px) calc(var(--radius-lg) - 8px);
}
.umrah-float {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 5px solid var(--navy-900);
  box-shadow: var(--shadow-lg);
}

/* ---------- Destinations ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.dest {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  isolation: isolate;
}
.dest img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}
.dest::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(3, 28, 42, .95) 0%, rgba(3, 28, 42, .55) 45%, transparent 75%);
}
.dest:hover img { transform: scale(1.08); }
.dest-body { padding: 1.6rem 1.4rem; }
.dest-country {
  display: inline-block;
  font-size: .78rem;
  padding: .2rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(4px);
  margin-bottom: .6rem;
}
.dest h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.dest p {
  font-size: .9rem;
  line-height: 1.7;
  opacity: .85;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dest-btn {
  margin-top: 1rem;
  padding: 0;
  background: none;
  border: 0;
  color: var(--gold-300);
  font: 600 .95rem var(--font-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.dest-btn::after { content: "←"; transition: transform .3s var(--ease); }
.dest-btn:hover::after { transform: translateX(-5px); }
html[dir="ltr"] .dest-btn::after { content: "→"; }
html[dir="ltr"] .dest-btn:hover::after { transform: translateX(5px); }

/* ---------- Plan ---------- */
.plan { background: linear-gradient(180deg, var(--sand-50), var(--sand-100)); }
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.2rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.steps li > span {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font: 700 1.2rem var(--font-display);
  color: var(--gold-500);
  background: var(--navy-800);
}
.steps strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-800); }
.steps p { color: var(--muted); font-size: .95rem; }
.payment {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px dashed var(--gold-500);
  font-size: .93rem;
  color: var(--navy-700);
}
.payment svg { flex-shrink: 0; color: var(--gold-500); }

.plan-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold-500);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.plan-form label {
  display: grid;
  gap: .35rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy-700);
}
.plan-form input,
.plan-form select,
.plan-form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--sand-50);
  font: 400 1rem var(--font-body);
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.plan-form textarea { resize: vertical; min-height: 90px; }
.plan-form input:focus,
.plan-form select:focus,
.plan-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0, 122, 192, .12);
}
.plan-form .is-invalid { border-color: #d0574b; box-shadow: 0 0 0 4px rgba(208, 87, 75, .12); }
.plan-form.is-flash { animation: flash 1s var(--ease); }
@keyframes flash {
  0% { box-shadow: 0 0 0 0 rgba(201, 164, 92, .8), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 18px rgba(201, 164, 92, 0), var(--shadow-lg); }
}
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- Partners ---------- */
.partners { padding-block: 3.5rem; background: var(--white); border-block: 1px solid var(--line); }
.partners-title { text-align: center; font-size: 1.3rem; color: var(--muted); font-weight: 600; margin-bottom: 2rem; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
html[dir="ltr"] .marquee-track { animation-name: marquee-ltr; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .3s, opacity .3s;
}
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(50%); } }
@keyframes marquee-ltr { to { transform: translateX(-50%); } }

/* ---------- Branches ---------- */
.branches-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.25rem;
}
.branch {
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .3rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.branch:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.branch-main {
  grid-row: span 2;
  color: var(--white);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(201, 164, 92, .25), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  border: 0;
  padding: 2rem 1.8rem;
}
.branch-tag {
  align-self: flex-start;
  font-size: .78rem;
  font-weight: 600;
  padding: .15rem .7rem;
  border-radius: 999px;
  color: var(--blue-500);
  background: rgba(0, 122, 192, .1);
}
.branch-main .branch-tag { color: var(--navy-900); background: var(--gold-400); }
.branch h3 { font-size: 1.45rem; color: var(--navy-800); margin-top: .4rem; }
.branch-main h3 { color: var(--white); font-size: 2rem; }
.branch-addr { opacity: .8; }
.branch-phones { display: grid; gap: .2rem; margin-top: .4rem; }
.branch-phones a {
  font-weight: 600;
  color: var(--navy-700);
  text-align: end;
  justify-self: start;
  transition: color .2s;
}
.branch-phones a:hover { color: var(--blue-500); }
.branch-main .branch-phones a { color: var(--gold-300); font-size: 1.1rem; }
.branch-main .branch-phones a:hover { color: var(--white); }
.branch-map {
  margin-top: auto;
  padding-top: 1.5rem;
  font-weight: 600;
  color: var(--white);
  opacity: .9;
}
.branch-map:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Footer ---------- */
.site-footer {
  color: rgba(255, 255, 255, .78);
  background: var(--navy-900);
  padding-top: 4.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .95rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: background .25s, color .25s, border-color .25s;
}
.socials a:hover { background: var(--gold-400); color: var(--navy-900); border-color: var(--gold-400); }
.socials svg { width: 18px; height: 18px; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.footer-col h3 { color: var(--white); font-size: 1.15rem; margin-bottom: .5rem; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.4rem;
  padding-inline-end: 80px; /* keep clear of the floating WhatsApp button */
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom a:hover { color: var(--gold-300); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  z-index: 40;
  bottom: 22px;
  inset-inline-end: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .25s var(--ease);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes pulse {
  from { transform: scale(1); opacity: .8; }
  to { transform: scale(1.6); opacity: 0; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 16px 1.5rem;
    background: rgba(3, 28, 42, .97);
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav a:not(.btn) { padding: .85rem .4rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.05rem; }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav a.lang-link { margin: 1rem 0 0; text-align: center; }
  .nav-cta { margin: 1rem 0 0; }
  .header-actions { display: flex; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .dest { min-height: 400px; }
  .branches-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-main { grid-row: auto; grid-column: span 2; }
  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .about-grid,
  .umrah-grid,
  .plan-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-inline-start: 0; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  :root { --header-h: 68px; }
  .brand img { height: 36px; }
  .brand .brand-iata { height: 24px; }
  .hero-content { padding-bottom: 9rem; }
  .hero-buttons .btn { flex: 1 1 auto; }
  .hero-caption { bottom: 4.5rem; inset-inline-end: auto; inset-inline-start: 16px; }
  .caption-label,
  .caption-city { display: none; }
  .hero-badge { font-size: .8rem; }
  .trust { margin-top: -2.5rem; }
  .trust-item { padding: 1.2rem 1rem; }
  .trust-item strong { font-size: 1.4rem; }
  .trust-item > span { font-size: .82rem; }
  .credentials,
  .umrah-list,
  .form-row { grid-template-columns: 1fr; }
  .services-grid,
  .dest-grid,
  .branches-grid { grid-template-columns: 1fr; }
  .branch-main { grid-column: auto; }
  .dest { min-height: 360px; }
  .about-media { padding-inline-start: 1.5rem; padding-bottom: 2rem; }
  .about-stamp { width: 96px; height: 96px; inset-inline-end: -.5rem; }
  .about-stamp span:first-child { font-size: 1.25rem; }
  .about-stamp span:last-child { font-size: .78rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .wa-float { width: 52px; height: 52px; bottom: 16px; inset-inline-end: 16px; }
}

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