/* =========================================================
   Tokens — the only place colors, type sizes and spacing live
   ========================================================= */

/* Fonts (self-hosted: no dependency on Google being reachable) */
@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url("/assets/fonts/rubik-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap; src: url("/assets/fonts/rubik-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url("/assets/fonts/rubik-arabic-800.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Rubik"; font-weight: 500; font-display: swap; src: url("/assets/fonts/rubik-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Rubik"; font-weight: 700; font-display: swap; src: url("/assets/fonts/rubik-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Rubik"; font-weight: 800; font-display: swap; src: url("/assets/fonts/rubik-latin-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("/assets/fonts/plex-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("/assets/fonts/plex-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("/assets/fonts/plex-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("/assets/fonts/plex-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  /* Brand (fixed in both themes) */
  --navy: #1A1A4C;
  --fuchsia: #EC297B;
  --fuchsia-hover: #C2125E;
  --fuchsia-light: #FF5C9E;
  --purple: #652D90;
  --whatsapp: #1FAF55;
  --danger: #D93A45;
  --success: #1E9E55;

  /* Theme — light */
  --bg: #FFFFFF;
  --surface: #F5F4F9;
  --card: #FFFFFF;
  --ink: #1A1A4C;
  --muted: #5A5A7E;
  --line: #E4E2EC;
  --accent: var(--fuchsia);
  --accent-text: #C2125E;
  --accent-soft: #FDE9F1;
  --header-bg: rgba(255, 255, 255, .88);
  --strong-bg: #1A1A4C;
  --shadow: 0 1px 2px rgba(26, 26, 76, .05), 0 14px 34px -16px rgba(26, 26, 76, .22);

  /* Navy band (stations, investment) */
  --band: #1A1A4C;
  --band-ink: #F2F3F9;
  --band-muted: rgba(242, 243, 249, .68);
  --band-line: rgba(255, 255, 255, .12);
  --band-card: rgba(255, 255, 255, .05);
  --footer: #11113A;
  --contact-bg: #F3F1F8;   /* soft lavender from the navy/purple family */
  --form-bg: #1A1A4C;
  --form-line: #1A1A4C;

  /* Type */
  --font-head: "Rubik", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-body: "Plex Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --fs-sm: .875rem;
  --fs-base: clamp(1rem, .96rem + .18vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-h3: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.5vw, 2.625rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);      /* stops growing ≈1370px */
  --fs-h1-sub: clamp(1.375rem, 1.05rem + 1.3vw, 2.25rem);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4rem, 3rem + 4vw, 7rem);
  --header-h: 72px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* Theme — dark: same values twice (system preference, or the toggle) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D0D2B; --surface: #121236; --card: #17173F; --ink: #EDEDF7; --muted: #A6A6C6;
    --line: #27275C; --accent: #F0408A; --accent-text: #FF6FA8; --accent-soft: rgba(236, 41, 123, .16);
    --header-bg: rgba(13, 13, 43, .84); --strong-bg: #2A2A6E;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .7);
    --band: #15154A; --footer: #08081F;
    --contact-bg: #101032; --form-bg: #17173F; --form-line: #2A2A62;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D0D2B; --surface: #121236; --card: #17173F; --ink: #EDEDF7; --muted: #A6A6C6;
    --line: #27275C; --accent: #F0408A; --accent-text: #FF6FA8; --accent-soft: rgba(236, 41, 123, .16);
    --header-bg: rgba(13, 13, 43, .84); --strong-bg: #2A2A6E;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -18px rgba(0, 0, 0, .7);
    --band: #15154A; --footer: #08081F;
    --contact-bg: #101032; --form-bg: #17173F; --form-line: #2A2A62;
    color-scheme: dark;
}

/* =========================================================
   Base + layout grid
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  background: var(--bg);
}
html.motion-full { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;                  /* never 100vw — Windows scrollbars */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:lang(en) body, body:lang(en) { line-height: 1.65; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

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

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; inset-inline-start: 1rem; top: -4rem;
  background: var(--fuchsia); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* One container for everything → every section starts and ends on the same lines */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }
.section--band { background: var(--band); color: var(--band-ink); }

.section__head {
  max-width: 44rem;
  margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.5rem);
  text-align: center;
}
.section__head .lead { margin-inline: auto; }

.h2 {
  font-family: var(--font-head);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  text-wrap: balance;
}
:lang(en) .h2 { line-height: 1.15; letter-spacing: -.01em; }

.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 38rem; text-wrap: pretty; }
.section--band .lead { color: var(--band-muted); }

.note { margin-top: 2rem; text-align: center; color: var(--muted); font-size: var(--fs-sm); }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--xs { width: .875rem; height: .875rem; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

/* =========================================================
   Components
   ========================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: 0 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--fuchsia); color: #fff; box-shadow: 0 12px 26px -12px rgba(236, 41, 123, .65); }
.btn--primary:hover { background: var(--fuchsia-hover); }
.btn--glass {
  background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .22); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-text); }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 1.9rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 44px; height: 44px; padding: 0 .7rem; border-radius: 999px;
  border: 1px solid rgba(127, 127, 127, .35); background: transparent; color: inherit;
  font-family: var(--font-head); font-weight: 600; font-size: .9375rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(127, 127, 127, .14); }

/* Theme toggle shows the theme you would switch to */
.icon--sun { display: none; }
:root[data-theme="dark"] .icon--sun { display: block; }
:root[data-theme="dark"] .icon--moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon--sun { display: block; }
  :root:not([data-theme="light"]) .icon--moon { display: none; }
}

/* Header */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.header.is-solid, html:not(.js) .header {
  background: var(--header-bg); color: var(--ink);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__bar { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand__logo { height: 42px; width: auto; }
/* Two logo files: white wordmark over the photo / dark theme, navy wordmark on light surfaces */
.brand__logo--light { display: none; }
.header.is-solid .brand__logo--light, html:not(.js) .header .brand__logo--light { display: block; }
.header.is-solid .brand__logo--dark, html:not(.js) .header .brand__logo--dark { display: none; }
:root[data-theme="dark"] .header .brand__logo--light { display: none; }
:root[data-theme="dark"] .header .brand__logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .header .brand__logo--light { display: none; }
  :root:not([data-theme="light"]) .header .brand__logo--dark { display: block; }
}
.drawer .brand__logo { height: 40px; }
.drawer .brand__logo--light { display: block; }
.drawer .brand__logo--dark { display: none; }
:root[data-theme="dark"] .drawer .brand__logo--light { display: none; }
:root[data-theme="dark"] .drawer .brand__logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .drawer .brand__logo--light { display: none; }
  :root:not([data-theme="light"]) .drawer .brand__logo--dark { display: block; }
}

.nav { margin-inline: auto; display: none; }
.nav__list { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: block; padding: .5rem .75rem; border-radius: 999px; text-decoration: none;
  font-family: var(--font-head); font-weight: 500; font-size: .9375rem; opacity: .9;
  transition: background-color .2s, opacity .2s;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { opacity: 1; background: rgba(127, 127, 127, .16); }
.drawer__list a[aria-current="page"] { color: var(--accent-text); }

.header__actions { display: flex; align-items: center; gap: .5rem; margin-inline-start: auto; }
.header__call { display: none; }
.lang-link span { font-size: .875rem; }

@media (min-width: 640px) { .header__call { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav { display: block; }
  .header__actions { margin-inline-start: 0; }
  .menu-btn { display: none; }
}
@media (max-width: 400px) {
  .brand__logo { height: 36px; }
  .lang-link span { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(12, 12, 38, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.drawer[hidden] { display: none; }
.drawer__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(86vw, 360px);
  background: var(--bg); color: var(--ink);
  padding: calc(1rem + env(safe-area-inset-top, 0px)) 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 1.5rem; overflow-y: auto;
  box-shadow: var(--shadow);
}
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li + li { border-top: 1px solid var(--line); }
.drawer__list a {
  display: block; padding: .95rem 0; text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
}

/* Form controls on the navy band */
.field {
  position: relative; display: flex; align-items: center; min-height: 52px;
  border-radius: 999px; background: var(--band-card); border: 1px solid var(--band-line);
  color: var(--band-ink);
}
.field:focus-within { border-color: var(--fuchsia-light); box-shadow: 0 0 0 3px rgba(236, 41, 123, .25); }
.field > .icon { position: absolute; inset-inline-start: 1.1rem; color: var(--band-muted); pointer-events: none; }
.field input, .field select {
  -webkit-appearance: none; appearance: none; width: 100%; height: 52px;
  background: transparent; border: 0; outline: 0; border-radius: 999px;
}
.field input { padding-inline: 3rem 1.25rem; }
.field input::placeholder { color: var(--band-muted); }
.field input::-webkit-search-cancel-button { filter: invert(1); }
.field select { padding-inline: 1.25rem 2.75rem; cursor: pointer; }
.field select option { background: var(--band); color: var(--band-ink); }
.field--select::after {
  content: ""; position: absolute; inset-inline-end: 1.2rem; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg); opacity: .7; pointer-events: none;
}

/* Floating contact buttons */
.fab {
  position: fixed; z-index: 40; inset-inline-end: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  display: grid; gap: .75rem;
  transition: opacity .3s, transform .3s var(--ease);
}
.fab.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.fab__btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fuchsia); color: #fff; box-shadow: 0 12px 26px -10px rgba(236, 41, 123, .7);
  transition: transform .2s var(--ease);
}
.fab__btn--wa { background: var(--whatsapp); box-shadow: 0 12px 26px -10px rgba(31, 175, 85, .7); }
.fab__btn .icon { width: 1.5rem; height: 1.5rem; }
@media (hover: hover) { .fab__btn:hover { transform: scale(1.08); } }

/* =========================================================
   Sections
   ========================================================= */

/* ---------- Hero: full screen photo, content anchored to the bottom ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; min-height: 100svh;       /* svh: no jump under mobile address bars */
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--navy);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(14, 14, 44, .92) 0%, rgba(14, 14, 44, .72) 30%, rgba(14, 14, 44, .2) 62%, rgba(14, 14, 44, 0) 80%),
    linear-gradient(to bottom, rgba(14, 14, 44, .55) 0%, rgba(14, 14, 44, 0) 18%);
}
.hero__inner {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2rem);
  padding-bottom: calc(clamp(1.25rem, 3vw, 2.25rem) + env(safe-area-inset-bottom, 0px));
}
.hero__badge { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, .9); }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fuchsia); box-shadow: 0 0 0 4px rgba(236, 41, 123, .25); }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; margin-top: 1rem; }
.hero__title {
  font-family: var(--font-head); font-weight: 800; font-size: var(--fs-h1); line-height: 1.12;
  text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.hero__title > span { display: block; }
.hero__subtitle { margin-top: .6rem; font-size: clamp(1.0625rem, .95rem + .55vw, 1.4rem); font-weight: 500; line-height: 1.5; color: rgba(255, 255, 255, .88); }
:lang(en) .hero__title { letter-spacing: -.02em; line-height: 1.02; }


.bento { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(.6rem, .4rem + .6vw, 1rem); margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); }
.bento__tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  min-height: 132px; padding: clamp(1rem, .8rem + .6vw, 1.4rem); border-radius: 22px;
  color: #fff; text-decoration: none;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
}
.bento__tile--main {
  flex-direction: row; align-items: flex-end;
  background: var(--fuchsia); border-color: transparent;
  transition: background-color .25s, transform .3s var(--ease);
}
.bento__tile--main:hover { background: var(--fuchsia-hover); }
.bento__icon { width: 1.4rem; height: 1.4rem; color: var(--fuchsia-light); }
.bento__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.bento__tile--main .bento__num { font-size: clamp(2.6rem, 1.8rem + 2.2vw, 3.6rem); }
.bento__label { display: block; margin-top: .45rem; font-size: .9rem; opacity: .85; }
.bento__tile--main .bento__label { opacity: .95; font-size: .975rem; }
.bento__chip {
  flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .9rem;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .7); font-size: .85rem; font-weight: 600; white-space: nowrap;
}
[dir="rtl"] .bento__num[dir="ltr"] { text-align: right; }
[dir="rtl"] .bento__tile strong[dir="ltr"] { justify-self: start; }
@media (max-width: 720px) {
  .hero__row { flex-direction: column; align-items: stretch; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__tile--main { grid-column: 1 / -1; }
  .bento__tile { min-height: 112px; }
}

/* ---------- About ---------- */
.about__grid { display: grid; gap: clamp(3rem, 2rem + 4vw, 5.5rem); align-items: center; }
.about__media { position: relative; }
.about__frame { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.about__img { width: 100%; height: 100%; object-fit: cover; }
.motion-full .about__img { height: 116%; margin-top: -8%; }   /* room for parallax */
.about__stat {
  position: absolute; inset-block-end: -1.5rem; inset-inline-start: 1.5rem;
  display: grid; padding: 1rem 1.4rem; border-radius: var(--r-md); color: #fff;
  background: linear-gradient(135deg, var(--fuchsia), var(--purple));
  box-shadow: 0 18px 36px -16px rgba(101, 45, 144, .7);
}
.about__stat strong { justify-self: start; font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1.1; }
.about__stat span { font-size: .9rem; opacity: .9; }
.about__text .h2 { margin-bottom: .5rem; }
.about__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.5; max-width: 30ch; }
.about__title .hl { color: var(--accent-text); }
.about__lead { margin-top: 1rem; color: var(--muted); font-size: var(--fs-lead); line-height: 1.85; max-width: 40rem; text-wrap: pretty; }
.about__badges { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.about__badges li {
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px;
  font-size: .875rem; font-weight: 600; background: var(--accent-soft); color: var(--accent-text);
}
.about__badges li + li { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }

.features { list-style: none; padding: 0; margin: 2.25rem 0 0; display: grid; gap: 1.4rem; }
.feature, .invest__points li { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text);
}
.feature__title { font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; margin-bottom: .2rem; }
.feature__text { color: var(--muted); }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Stations + map ---------- */
.stations__tools { display: flex; flex-wrap: wrap; gap: .75rem; max-width: 48rem; margin: 0 auto 2rem; }
.field--search { flex: 1 1 18rem; }
.field--select { flex: 1 1 12rem; max-width: 100%; }
@media (min-width: 640px) { .field--select { flex: 0 1 15rem; } }

.stations__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.map {
  position: relative; height: clamp(380px, 62svh, 560px);
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--band-line); background: #1A1A4C;
}
.map__canvas { position: absolute; inset: 0; direction: ltr; }
.map__layers {
  position: absolute; z-index: 500; top: 12px; inset-inline-end: 12px; display: flex; padding: 4px;
  border-radius: 999px; background: rgba(26, 26, 76, .75);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.map__layers button {
  border: 0; background: transparent; color: rgba(255, 255, 255, .82); cursor: pointer;
  padding: .45rem .95rem; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .875rem;
}
.map__layers button.is-active { background: var(--fuchsia); color: #fff; }

/* Station window on the map */
.map__card {
  position: absolute; z-index: 600; inset-inline-start: 12px; bottom: 12px;
  width: min(360px, calc(100% - 24px)); padding: 1.1rem 1.2rem 1.2rem;
  border-radius: var(--r-md); background: var(--card); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
}
.map__card[hidden] { display: none; }
.motion-full .map__card { animation: card-in .45s var(--ease); }
.map__card-top { display: flex; align-items: flex-start; gap: .75rem; }
.map__card-title { font-family: var(--font-head); font-size: 1.125rem; font-weight: 800; line-height: 1.35; flex: 1; }
.map__card-close {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--surface); color: var(--ink); cursor: pointer; margin-block-start: -4px; margin-inline-end: -6px;
}
.map__card-badge {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .4rem; padding: .15rem .6rem;
  border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--accent-soft); color: var(--accent-text);
}
.map__card-meta { margin-top: .5rem; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.map__card-meta span { display: flex; gap: .35rem; align-items: center; }
.map__card-actions { display: flex; gap: .5rem; margin-top: 1rem; }
.map__card-actions .btn { flex: 1; min-height: 44px; padding-inline: 1rem; font-size: .9375rem; }
/* Success partners: a row of round logos */
.map__card-partners { margin-top: .9rem; }
.map__card-label { font-size: .8125rem; font-weight: 600; color: var(--muted); margin-bottom: .5rem; }
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.partner {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 12px -6px rgba(26, 26, 76, .35);
  text-decoration: none; transition: transform .25s var(--ease), border-color .25s;
}
.partner img { width: 72%; height: 72%; object-fit: contain; }
.partner__initials { font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--navy); }
@media (hover: hover) { .partner:hover { transform: translateY(-3px); border-color: var(--fuchsia); } }
.map__card-go { margin-top: 1rem; min-height: 46px; }

/* Leaflet theming */
.leaflet-container { font-family: var(--font-body); background: #1A1A4C; }
.leaflet-control-zoom.leaflet-bar { border: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.leaflet-control-zoom a { width: 38px !important; height: 38px !important; line-height: 38px !important; background: rgba(26, 26, 76, .82) !important; color: #fff !important; border-color: rgba(255, 255, 255, .12) !important; }
.leaflet-control-attribution { font-size: 10px; }
.map__canvas.is-dark .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.88) saturate(.7); }
.pin-wrap { background: none; border: 0; }
.pin {
  position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--fuchsia); box-shadow: 0 6px 16px rgba(26, 26, 76, .35);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.leaflet-container .leaflet-marker-pane .pin img { width: 20px; height: auto; }   /* beats Leaflet's own marker img rule */
.pin.is-hq { border-color: var(--purple); }
.pin.is-active { transform: scale(1.3); box-shadow: 0 0 0 7px rgba(236, 41, 123, .28), 0 10px 24px rgba(236, 41, 123, .5); z-index: 2; }
.motion-full .pin.is-active::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--fuchsia);
  animation: pin-pulse 1.8s ease-out infinite;
}
@keyframes pin-pulse { to { transform: scale(2.1); opacity: 0; } }

.stations__side {
  display: flex; flex-direction: column; min-height: 0; min-width: 0; padding: .75rem;
  border-radius: var(--r-lg); background: var(--band-card); border: 1px solid var(--band-line);
}
.stations__count { margin: .1rem .5rem .6rem; font-size: var(--fs-sm); color: var(--band-muted); }
.stations__list {
  list-style: none; margin: 0; padding: 0 0 .25rem; display: grid; gap: .5rem;
  grid-auto-flow: column; grid-auto-columns: minmax(230px, 78%);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: thin;
}
.stations__list li { scroll-snap-align: start; }
.stations__list li.is-hidden { display: none; }
.station {
  width: 100%; height: 100%; display: grid; align-content: start; gap: .3rem; padding: .85rem 1rem;
  text-align: start; cursor: pointer; border-radius: var(--r-md);
  border: 1px solid transparent; background: rgba(255, 255, 255, .05); color: var(--band-ink);
  transition: background-color .2s, border-color .2s;
}
.station:hover { background: rgba(255, 255, 255, .09); }
.station.is-active { border-color: var(--fuchsia); background: linear-gradient(120deg, rgba(236, 41, 123, .24), rgba(101, 45, 144, .24)); }
.station__name { display: flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; line-height: 1.4; }
.station__name .icon { color: var(--fuchsia-light); }
.station__area { display: flex; align-items: center; gap: .3rem; font-size: .875rem; color: var(--band-muted); line-height: 1.5; }
.station__svcs { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .25rem; }
.station__svc { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--fuchsia-light); }
.station__svc .icon { width: .9rem; height: .9rem; }
.station.is-active .station__svc { background: rgba(255, 255, 255, .16); }
.svc-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: -1rem auto 1.75rem; max-width: 48rem; }
.svc-filter__btn {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .875rem;
  background: var(--band-card); color: var(--band-ink); border: 1px solid var(--band-line); transition: background-color .2s, border-color .2s;
}
.svc-filter__btn .icon { width: 1rem; height: 1rem; color: var(--fuchsia-light); }
.svc-filter__btn.is-active { background: var(--fuchsia); border-color: var(--fuchsia); }
.svc-filter__btn.is-active .icon { color: #fff; }
.map__card-svcs { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .75rem; }
.map__card-svcs span {
  display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; background: var(--accent-soft); color: var(--accent-text);
}
.map__card-svcs .icon { width: .9rem; height: .9rem; }
.stations__empty { padding: 1rem; text-align: center; color: var(--band-muted); }
.stations__empty[hidden] { display: none; }

@media (min-width: 1024px) {
  .stations__layout { grid-template-columns: minmax(0, 1fr) 360px; height: 600px; }
  .map { height: 100%; }
  .stations__list { grid-auto-flow: row; grid-auto-columns: auto; overflow-x: hidden; overflow-y: auto; scroll-snap-type: none; padding: 0 .25rem 0 0; }
}

/* ---------- Services ---------- */
.services__grid { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .services__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .service__body { padding: 1.2rem 1.25rem 1.4rem; } }
.service {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.service::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--fuchsia), var(--purple));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
[dir="rtl"] .service::after { transform-origin: right; }
.service__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26, 26, 76, .7), rgba(26, 26, 76, 0) 60%); }
.service__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service__icon {
  position: absolute; z-index: 1; bottom: 1rem; inset-inline-start: 1rem; width: 48px; height: 48px;
  display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .94); color: var(--purple);
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5);
}
.service__body { padding: 1.35rem 1.5rem 1.6rem; }
.service__title { font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }
.service__text { margin-top: .5rem; color: var(--muted); }
@media (hover: hover) {
  .service:hover { transform: translateY(-6px); }
  .service:hover::after { transform: scaleX(1); }
  .service:hover .service__img { transform: scale(1.06); }
}

/* ---------- Investment ---------- */
.invest { position: relative; isolation: isolate; overflow: clip; }
.invest__bg { position: absolute; inset: 0; z-index: -1; opacity: .16; }
.invest__bgimg { width: 100%; height: 100%; object-fit: cover; }
.invest__grid { display: grid; gap: 2.5rem; align-items: center; }
.invest__panel {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg);
  background: var(--band-card); border: 1px solid var(--band-line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.invest__points { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 1.4rem; }
.invest .feature__icon { background: rgba(236, 41, 123, .18); color: var(--fuchsia-light); }
.invest .feature__text { color: var(--band-muted); }
@media (min-width: 960px) { .invest__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- Contact ---------- */
.contact { background: var(--contact-bg); }
.contact__head { margin-bottom: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem); }
.contact__head .h2 { margin-bottom: .35rem; }
.contact__grid { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; } }

/* Photo panel with channels on top of it */
.reach {
  position: relative; isolation: isolate; overflow: hidden; min-height: 480px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(1rem, .8rem + .8vw, 1.5rem); border-radius: var(--r-lg); color: #fff; background: var(--navy);
}
.reach__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.reach::after {     /* same shading language as the service cards */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(26, 26, 76, .94) 0%, rgba(26, 26, 76, .7) 38%, rgba(26, 26, 76, .15) 70%, rgba(26, 26, 76, .35) 100%);
}
.reach__call {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .75rem;
  padding: .7rem 1.1rem .7rem 1.3rem; border-radius: 18px; background: var(--fuchsia); color: #fff; text-decoration: none;
  box-shadow: 0 14px 30px -14px rgba(236, 41, 123, .8); transition: background-color .2s;
}
.reach__call:hover { background: var(--fuchsia-hover); }
.reach__call small { display: block; font-size: .78rem; opacity: .85; line-height: 1.3; }
.reach__call bdi { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; line-height: 1.2; }
.reach__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.3; }
.reach__lead { margin-top: .25rem; opacity: .8; }
.reach__icons { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.reach__icons a {
  width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center;
  background: #fff; color: var(--navy); transition: transform .25s var(--ease);
}
.reach__icons a.is-wa { color: var(--whatsapp); }
.reach__icons a.is-mail { color: var(--purple); }
.reach__icons a.is-ig { color: var(--fuchsia); }
.reach__icons a.is-fb { color: #0866FF; }
.reach__icons a.is-yt { color: #FF0000; }
.reach__icons a.is-in { color: #0A66C2; }
.reach__icons a.is-tt { color: #000; }
.reach__icons a.is-snap { color: #FFFC00; }
.reach__icons a.is-snap .icon { stroke: #1A1A4C; stroke-width: 1.1; paint-order: stroke; }
.reach__icons .icon { width: 1.35rem; height: 1.35rem; }
@media (hover: hover) { .reach__icons a:hover { transform: translateY(-3px); } }
.reach__hq {
  margin-top: 1rem; display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem;
  border-radius: 18px; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .2s;
}
.reach__hq:hover { background: rgba(255, 255, 255, .18); }
.reach__hq-icon { width: 1.4rem; height: 1.4rem; color: var(--fuchsia-light); }
.reach__hq > span:not(.reach__dir) { flex: 1; min-width: 0; }
.reach__hq b { display: block; font-family: var(--font-head); font-weight: 700; }
.reach__hq small { display: block; opacity: .75; font-size: .875rem; }
.reach__dir { display: inline-flex; align-items: center; gap: .3rem; font-size: .9rem; font-weight: 600; white-space: nowrap; }

/* Navy form card */
.form {
  display: grid; gap: .85rem; align-content: start; padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  border-radius: var(--r-lg); background: var(--form-bg); color: #fff; border: 1px solid var(--form-line);
}
.form__title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; margin-bottom: .25rem; }
.topics { border: 0; margin: 0 0 .25rem; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: .5rem; }
.topics[hidden] { display: none; }
.topic { position: relative; cursor: pointer; }
.topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic span {
  display: grid; justify-items: center; gap: .3rem; padding: .7rem .25rem; border-radius: 14px; text-align: center;
  font-size: .85rem; font-weight: 600; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  transition: background-color .2s, border-color .2s;
}
.topic .icon { color: var(--fuchsia-light); width: 1.3rem; height: 1.3rem; }
.topic input:checked + span { background: var(--fuchsia); border-color: var(--fuchsia); }
.topic input:checked + span .icon { color: #fff; }
.topic input:focus-visible + span { outline: 3px solid var(--fuchsia-light); outline-offset: 2px; }
.ifield { position: relative; display: block; }
.ifield > .icon { position: absolute; inset-inline-start: 1rem; top: 15px; width: 1.15rem; height: 1.15rem; opacity: .6; pointer-events: none; }
.ifield input, .ifield textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  border-radius: 14px; border: 1px solid transparent; background: rgba(255, 255, 255, .08); color: #fff; outline: 0;
  transition: border-color .2s, background-color .2s;
}
.ifield textarea { resize: vertical; min-height: 120px; }
.ifield input::placeholder, .ifield textarea::placeholder { color: rgba(255, 255, 255, .55); }
.ifield input:focus, .ifield textarea:focus { border-color: var(--fuchsia-light); background: rgba(255, 255, 255, .11); }
.ifield.is-invalid input, .ifield.is-invalid textarea { border-color: #FF6B78; }
.ifield .input__error { display: block; margin-top: .3rem; font-style: normal; font-size: .8125rem; color: #FF9AA4; }
.ifield .input__error:empty { display: none; }
/* Room for the icon on the page's start side (physical, so LTR phone/email fields inside Arabic stay correct) */
[dir="ltr"] .ifield input, [dir="ltr"] .ifield textarea { padding-left: 2.85rem; }
[dir="rtl"] .ifield input, [dir="rtl"] .ifield textarea { padding-right: 2.85rem; }
[dir="rtl"] .ifield input[type="tel"], [dir="rtl"] .ifield input[type="email"] { direction: ltr; text-align: right; }
[dir="rtl"] .ifield input[type="tel"]::placeholder, [dir="rtl"] .ifield input[type="email"]::placeholder { direction: rtl; }
.form__row--2 { display: grid; gap: .85rem; }
@media (min-width: 560px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form .btn--primary { margin-top: .35rem; min-height: 52px; }
.form__status { font-size: .9375rem; }
.form__status:empty { display: none; }
.form__status.is-success { color: #7BE3A6; }
.form__status.is-warn { color: #FFB3D3; }
@media (max-width: 420px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* «Contact us» fields of each message type (built in the admin, tab «نموذج التواصل») */
.cfields { display: grid; gap: .85rem; }
.cfields[hidden] { display: none; }
.cfields.is-in { animation: cfields-in .35s ease both; }
@keyframes cfields-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .cfields.is-in { animation: none; } }
.ifield select {
  width: 100%; min-height: 50px; padding: .8rem 1rem; border-radius: 14px; border: 1px solid transparent; background: rgba(255, 255, 255, .08);
  color: #fff; outline: 0; cursor: pointer; appearance: none; -webkit-appearance: none; transition: border-color .2s, background-color .2s;
}
.ifield select:invalid, .ifield select.is-empty { color: rgba(255, 255, 255, .55); }
.ifield select option, .ifield select optgroup { background: var(--form-bg); color: #fff; }
.ifield select:focus { border-color: var(--fuchsia-light); background: rgba(255, 255, 255, .11); }
[dir="rtl"] .ifield select { padding-right: 2.85rem; padding-left: 2.6rem; }
[dir="ltr"] .ifield select { padding-left: 2.85rem; padding-right: 2.6rem; }
.ifield--select::after {
  content: ""; position: absolute; inset-inline-end: 1.15rem; top: 20px; width: 8px; height: 8px; pointer-events: none;
  border: solid rgba(255, 255, 255, .65); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ifield.is-invalid select { border-color: #FF6B78; }
/* Date: the field's name shows inside it like the other fields until a day is chosen (or while typing one) */
.ifield input[type="date"] { color-scheme: dark; min-height: 50px; }
.ifield input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; margin: 0; opacity: 0; cursor: pointer; }   /* the whole field opens the calendar; the field's own icon shows instead */
[dir="rtl"] .ifield input[type="date"] { text-align: right; }
.ifield--date .ifield__cap { position: absolute; top: 25px; transform: translateY(-50%); inset-inline-start: 2.85rem; inset-inline-end: 3rem; color: rgba(255, 255, 255, .55); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ifield--date.is-filled .ifield__cap, .ifield--date:focus-within .ifield__cap { display: none; }
.ifield--date:not(.is-filled):not(:focus-within) input { color: transparent; }
.cpick__search::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
/* Attachments (photos / PDF): a dashed box to tap, then the chosen files as rows with a small preview */
.cfile__drop { position: relative; display: flex; align-items: center; gap: .8rem; min-height: 64px; padding: .8rem 1rem; border: 1.5px dashed rgba(255, 255, 255, .28); border-radius: 14px; background: rgba(255, 255, 255, .04); cursor: pointer; transition: border-color .2s, background-color .2s; }
.cfile__drop:hover, .cfile.is-over .cfile__drop { border-color: var(--fuchsia-light); background: rgba(255, 255, 255, .09); }
.cfile__drop:focus-within { border-color: var(--fuchsia-light); outline: 3px solid rgba(236, 41, 123, .35); outline-offset: 2px; }
.cfile__drop > .icon { flex: none; width: 1.35rem; height: 1.35rem; color: var(--fuchsia-light); }
.cfile__txt { display: grid; gap: .15rem; min-width: 0; }
.cfile__txt b { font-weight: 600; font-size: .95rem; }
.cfile__txt small { font-size: .8rem; color: rgba(255, 255, 255, .6); }
.ifield .cfile__input { position: absolute; inset: 0; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; pointer-events: none; }
.cfile.is-full .cfile__drop { opacity: .45; cursor: default; }
.cfile.is-invalid .cfile__drop { border-color: #FF6B78; }
.cfile__list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .4rem; }
.cfile__item { display: flex; align-items: center; gap: .65rem; min-height: 52px; padding: .4rem .5rem; padding-inline-start: .45rem; border-radius: 12px; background: rgba(255, 255, 255, .08); min-width: 0; }
.cfile__thumb { flex: none; width: 40px; height: 40px; border-radius: 9px; object-fit: cover; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-size: .65rem; font-weight: 700; letter-spacing: .04em; color: #FF9AA4; }
.cfile__name { flex: 1; display: grid; min-width: 0; font-size: .875rem; }
.cfile__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfile__name small { font-size: .75rem; color: rgba(255, 255, 255, .55); }
.cfile__x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .75); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.cfile__x:hover, .cfile__x:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }
.cpills { border: 0; margin: 0; padding: 0; min-width: 0; }
.cpills legend { padding: 0; margin: 0 .25rem .45rem; font-size: .8125rem; opacity: .75; }
.cpills__opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.cpills label { position: relative; cursor: pointer; }
.cpills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cpills label span { display: inline-block; padding: .55rem 1rem; border-radius: 999px; font-size: .875rem; font-weight: 600; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); transition: background-color .2s, border-color .2s; }
.cpills input:checked + span { background: var(--fuchsia); border-color: var(--fuchsia); }
.cpills input:focus-visible + span { outline: 3px solid var(--fuchsia-light); outline-offset: 2px; }
.cpills.is-invalid label span { border-color: #FF6B78; }
/* Dropdown with search (long lists, e.g. branches): the real <select> stays in the form, hidden */
.cpick { position: relative; display: block; }
.cpick select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.cpick__btn {
  width: 100%; min-height: 50px; display: flex; align-items: center; padding: .8rem 1rem; border-radius: 14px; border: 1px solid transparent;
  background: rgba(255, 255, 255, .08); color: #fff; font: inherit; text-align: start; cursor: pointer; transition: border-color .2s, background-color .2s;
}
[dir="rtl"] .cpick__btn { padding-right: 2.85rem; padding-left: 2.6rem; }
[dir="ltr"] .cpick__btn { padding-left: 2.85rem; padding-right: 2.6rem; }
.cpick__btn.is-empty { color: rgba(255, 255, 255, .55); }
.cpick__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cpick__btn[aria-expanded="true"], .cpick__btn:focus-visible { border-color: var(--fuchsia-light); background: rgba(255, 255, 255, .11); outline: 0; }
.ifield.is-invalid .cpick__btn { border-color: #FF6B78; }
.cpick__pop {
  position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 20; display: grid; gap: .4rem; padding: .5rem; border-radius: 16px;
  background: #24245e; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6);
}
.cpick__pop[hidden] { display: none; }
.cpick__search { width: 100%; min-height: 44px; padding: .55rem .9rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; outline: 0; }
.cpick__search:focus { border-color: var(--fuchsia-light); }
.cpick__search::placeholder { color: rgba(255, 255, 255, .5); }
.cpick__list { max-height: 260px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.cpick__group { padding: .45rem .7rem .15rem; font-size: .75rem; font-weight: 700; opacity: .6; }
.cpick__opt { padding: .6rem .75rem; border-radius: 10px; cursor: pointer; font-size: .9375rem; }
.cpick__opt:hover, .cpick__opt.is-active { background: rgba(255, 255, 255, .1); }
.cpick__opt[aria-selected="true"] { background: var(--fuchsia); color: #fff; }
.cpick__empty { padding: .75rem; text-align: center; opacity: .65; font-size: .875rem; }

@media (max-width: 959px) { .reach { min-height: 440px; } }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: rgba(255, 255, 255, .72); padding-top: 4rem; }
.footer__grid { display: grid; gap: 2.25rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.25fr 1.2fr 1fr; gap: 3rem; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.3fr 1.1fr 1fr; gap: 4.5rem; } }
.footer .brand__logo { height: 52px; }
.footer__about { margin-top: 1rem; max-width: 26rem; font-size: .9375rem; line-height: 1.8; }
.footer__title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.footer__title::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--fuchsia), var(--purple)); }
.footer__social { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.footer__social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); transition: background-color .2s, border-color .2s; }
.footer__social a:hover { background: var(--fuchsia); border-color: var(--fuchsia); }
.footer__social .icon { width: 18px; height: 18px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1.5rem; font-size: .9375rem; }
.footer__links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; text-decoration: none; transition: color .2s; }
.footer__links a::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--fuchsia); opacity: .75; }
.footer__links a:hover, .footer__links a[aria-current="page"] { color: var(--fuchsia-light); }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer__contact a, .footer__line { display: flex; align-items: center; gap: .75rem; min-height: 44px; text-decoration: none; transition: color .2s; }
.footer__contact a:hover b { color: var(--fuchsia-light); }
.footer__ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(236, 41, 123, .14); color: var(--fuchsia-light); }
.footer__ic .icon { width: 18px; height: 18px; }
.footer__contact small { display: block; font-size: .75rem; line-height: 1.3; opacity: .75; }
.footer__contact b { display: block; color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.4; overflow-wrap: anywhere; transition: color .2s; }
.footer__bottom {
  margin-top: 3rem; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; color: rgba(255, 255, 255, .5);
}

/* Browsers without backdrop-filter get a denser fill so text stays readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bento__tile:not(.bento__tile--main) { background: rgba(26, 26, 76, .72); }
  .reach__hq { background: rgba(26, 26, 76, .7); }
}

/* =========================================================
   Inner pages (About, Privacy) + shared bits they introduced
   ========================================================= */

/* Arriving from another page: the curtain is already closed, the loader is skipped */
.ld-skip .loader { display: none !important; }
.cur-in .curtain { visibility: visible; animation: cur-safety 0s linear 3s forwards; }   /* fail-safe */
.cur-in .curtain img { opacity: 1; }
@keyframes cur-safety { to { visibility: hidden; } }

/* Home: "learn more" under the about section */
.about__more { margin-top: 2rem; }

/* Footer: commercial registration + privacy link */
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }
.footer__legal a { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
.footer__legal a:hover, .footer__legal a[aria-current="page"] { color: var(--fuchsia-light); }

/* ---------- Page hero (shorter version of the home hero) ---------- */
.hero--page { min-height: clamp(460px, 74svh, 760px); }
.hero--page .hero__img { object-position: 50% 55%; }
.hero--page .hero__shade {
  background:
    linear-gradient(to top, rgba(14, 14, 44, .94) 0%, rgba(14, 14, 44, .7) 38%, rgba(14, 14, 44, .3) 70%, rgba(14, 14, 44, .45) 100%);
}
.hero--page .hero__inner { padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero--plain { min-height: clamp(400px, 58svh, 580px); overflow: clip; }
.hero--plain .hero__shade {
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(101, 45, 144, .55), transparent 70%),
    radial-gradient(50% 70% at 10% 100%, rgba(236, 41, 123, .28), transparent 70%),
    var(--navy);
}
.phero__mark {
  position: absolute; z-index: -1; inset-inline-end: -4%; top: 50%;
  width: min(48vw, 560px); height: auto; opacity: .07; transform: translateY(-42%);
  pointer-events: none;
}
.crumbs { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); color: rgba(255, 255, 255, .78); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--fuchsia-light); }
.crumbs__sep { opacity: .6; }
.phero__title { margin-top: .9rem; }
.phero__title--sm { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.25; max-width: 22ch; }
:lang(en) .phero__title--sm { line-height: 1.1; }
.phero__lead { margin-top: 1rem; max-width: 40rem; font-size: var(--fs-lead); line-height: 1.8; color: rgba(255, 255, 255, .86); text-wrap: pretty; }
.phero__date {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.5rem; padding: .45rem .95rem;
  border-radius: 999px; font-size: .875rem; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
}

/* ---------- About: chairman's word (title + text, photo in an ID-card frame) ---------- */
.chair__grid { display: grid; gap: clamp(2.75rem, 2rem + 3vw, 5.5rem); align-items: center; }
.chair__title {
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.35; text-wrap: balance;
}
:lang(en) .chair__title { line-height: 1.12; letter-spacing: -.015em; }
.chair__body { margin-top: 1.5rem; color: var(--muted); font-size: var(--fs-lead); line-height: 1.9; max-width: 44rem; text-wrap: pretty; }
.chair__body p + p { margin-top: 1em; }

.chair__card { position: relative; isolation: isolate; margin: 0 auto; width: min(100%, 340px); }
.chair__id {
  position: relative; padding: 26px 12px 0; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(26, 26, 76, .05), 0 40px 80px -36px rgba(26, 26, 76, .45);
}
/* gradient frame peeking out behind the card */
.chair__card::before {
  content: ""; position: absolute; z-index: -1; border-radius: calc(var(--r-lg) + 4px);
  inset: 16px -14px -14px 14px;
  background: linear-gradient(150deg, var(--fuchsia), var(--purple) 55%, var(--navy));
}
[dir="rtl"] .chair__card::before { inset: 16px 14px -14px -14px; }
/* badge slot at the top, like a staff ID card */
.chair__id::after {
  content: ""; position: absolute; top: 10px; left: 50%; width: 52px; height: 7px; margin-left: -26px;
  border-radius: 99px; background: var(--line);
}
.chair__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.chair__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.6s var(--ease); }
.reveal-ready .chair__card:not(.is-in) .chair__img { transform: scale(1.08); }
.chair__photo--empty { display: grid; place-items: center; background: linear-gradient(160deg, var(--navy), var(--purple)); }
.chair__mark { width: 52%; height: auto; opacity: .9; }
.chair__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 6px 16px; }
.chair__logo { height: 34px; width: auto; flex: none; }
.chair__logo--dark { display: none; }
:root[data-theme="dark"] .chair__logo--light { display: none; }
:root[data-theme="dark"] .chair__logo--dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chair__logo--light { display: none; }
  :root:not([data-theme="light"]) .chair__logo--dark { display: block; }
}
.chair__name {
  flex: 1; min-width: 0; text-align: end; color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.35; text-wrap: balance;
}
.chair__stripe { width: 64px; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--fuchsia), var(--purple)); }
@media (max-width: 959px) { .chair__card { order: -1; } }
@media (min-width: 960px) {
  .chair__grid { grid-template-columns: minmax(0, 1fr) 400px; }
  .chair__card { width: 100%; }
  .chair__id { padding: 30px 14px 0; }
  .chair__card::before { inset: 22px -20px -20px 20px; }
  [dir="rtl"] .chair__card::before { inset: 22px 20px -20px -20px; }
  .chair__id::after { top: 12px; }
}

/* ---------- About: vision & mission ---------- */
.vm { position: relative; isolation: isolate; overflow: clip; }
.vm__mark { position: absolute; z-index: -1; inset-inline-start: -5%; bottom: -18%; width: min(60vw, 620px); height: auto; opacity: .06; pointer-events: none; }
.vm__grid { display: grid; gap: 3rem; }
.vm__label {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; color: var(--fuchsia-light);
}
.vm__text { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.35rem, 1rem + 1.35vw, 2.1rem); line-height: 1.6; color: var(--band-ink); text-wrap: pretty; }
:lang(en) .vm__text { line-height: 1.35; letter-spacing: -.01em; }
@media (min-width: 960px) {
  .vm__grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .vm__item { padding-inline: 0 3.5rem; }
  .vm__item + .vm__item { padding-inline: 3.5rem 0; border-inline-start: 1px solid var(--band-line); }
}

/* ---------- About: goals as a road with branch pins ---------- */
.road__track { position: relative; max-width: 1040px; margin-inline: auto; }
.road__line {
  position: absolute; top: 0; bottom: 0; inset-inline-start: 21px; width: 6px; border-radius: 6px; overflow: hidden;
  background: repeating-linear-gradient(to bottom, var(--line) 0 14px, transparent 14px 26px);
}
.road__fill {
  position: absolute; inset: 0; border-radius: inherit; transform-origin: top;
  background: linear-gradient(to bottom, var(--fuchsia), var(--purple));
}
.road__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.road__stop { position: relative; padding-inline-start: 68px; }
.road__pin {
  position: absolute; z-index: 1; top: 1.25rem; inset-inline-start: 2px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2.5px solid var(--fuchsia);
  box-shadow: 0 0 0 6px var(--bg), 0 8px 20px -6px rgba(236, 41, 123, .55);
}
.road__pin img { width: 24px; height: auto; }
.road__card {
  position: relative; padding: 1.4rem 1.5rem 1.5rem; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.road__num {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: .6rem;
}
[dir="rtl"] .road__num { text-align: right; }
.road__title { font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }
.road__text { margin-top: .35rem; color: var(--muted); }
@media (min-width: 900px) {
  .road__line { inset-inline-start: calc(50% - 3px); }
  .road__list { gap: 0; }
  .road__stop { width: 50%; padding-inline: 0 64px; }
  .road__stop:nth-child(even) { margin-inline-start: 50%; padding-inline: 64px 0; }
  .road__stop + .road__stop { margin-top: -2.5rem; }
  .road__pin { inset-inline-start: auto; inset-inline-end: -22px; }
  .road__stop:nth-child(even) .road__pin { inset-inline-start: -22px; inset-inline-end: auto; }
}

/* ---------- About: values ---------- */
.values { background: var(--surface); }
.values__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.75rem; }
.value { padding-top: 1.5rem; border-top: 2px solid var(--line); transition: border-color .35s var(--ease); }
.value__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); }
.value__icon .icon { width: 1.5rem; height: 1.5rem; }
.value__title { margin-top: 1.1rem; font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }
.value__text { margin-top: .4rem; color: var(--muted); }
@media (hover: hover) { .value:hover { border-color: var(--fuchsia); } }
@media (min-width: 640px) { .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .values__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- About: closing call to action ---------- */
.cta { position: relative; isolation: isolate; overflow: clip; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -1; opacity: .2; }
.cta__img { width: 100%; height: 100%; object-fit: cover; }
.cta__inner .lead { margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* ---------- Privacy ---------- */
.policy__grid { display: grid; gap: 2rem; }
.toc { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.toc__title {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem;
  font-family: var(--font-head); font-weight: 700; cursor: pointer; list-style: none;
}
.toc__title::-webkit-details-marker { display: none; }
.toc__chev { transform: rotate(90deg); transition: transform .3s var(--ease); }
.toc[open] .toc__chev { transform: rotate(-90deg); }
.toc__list { list-style: none; margin: 0; padding: 0 .6rem .8rem; display: grid; gap: .15rem; }
.toc__list a {
  display: flex; align-items: baseline; gap: .7rem; padding: .5rem .7rem; border-radius: 12px;
  color: var(--muted); text-decoration: none; font-size: .9375rem; line-height: 1.5;
  transition: background-color .2s, color .2s;
}
.toc__list a span { min-width: 1.4em; font-family: var(--font-head); font-weight: 700; font-size: .8125rem; opacity: .7; }
.toc__list a:hover { color: var(--ink); background: rgba(127, 127, 127, .1); }
.toc__list a.is-current { color: var(--accent-text); background: var(--accent-soft); }
.toc__list a.is-current span { opacity: 1; }

.psummary { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; }
.psummary li {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1.15rem 1.25rem;
  border-radius: var(--r-md); background: var(--accent-soft);
}
.psummary .icon { color: var(--accent-text); margin-top: .2rem; }
.psummary h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.0625rem; line-height: 1.4; }
.psummary p { color: var(--muted); font-size: .9375rem; line-height: 1.6; margin-top: .15rem; }
@media (min-width: 720px) { .psummary { grid-template-columns: repeat(3, minmax(0, 1fr)); } .psummary li { flex-direction: column; } }

.clause { padding-block: 2.25rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1.25rem); }
.clause:last-child { border-bottom: 0; }
.clause__title { display: flex; align-items: center; gap: .9rem; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.4; }
.clause__num {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--strong-bg); color: #fff; font-size: 1rem; font-weight: 700;
}
.clause__body { max-width: 70ch; padding-inline-start: calc(42px + .9rem); }
.clause__body > * + * { margin-top: .9rem; }
.clause__body > :first-child { margin-top: 1rem; }
.clause__body p { line-height: 1.9; }
.clause__list, .clause__ol { list-style: none; margin-bottom: 0; padding: 0; display: grid; gap: .55rem; }
.clause__list li { position: relative; padding-inline-start: 1.4rem; line-height: 1.75; }
.clause__list li::before {
  content: ""; position: absolute; inset-inline-start: .2rem; top: .7em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--fuchsia);
}
.clause__ol { counter-reset: c; }
.clause__ol li { counter-increment: c; display: flex; gap: .75rem; line-height: 1.75; }
.clause__ol li::before {
  content: counter(c); flex: none; width: 1.75rem; height: 1.75rem; margin-top: .1rem; border-radius: 8px;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .8125rem;
  background: var(--accent-soft); color: var(--accent-text);
}
.pcontact { display: grid; gap: .6rem; margin: 1.25rem 0 0; }
.pcontact > div { padding: 1rem 1.15rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.pcontact dt { display: flex; align-items: center; gap: .45rem; font-size: .8125rem; color: var(--muted); }
.pcontact dd { margin: .3rem 0 0; font-weight: 600; line-height: 1.6; }
.pcontact a { color: var(--accent-text); text-decoration: none; }
.pcontact a:hover { text-decoration: underline; }
@media (min-width: 720px) { .pcontact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .clause__body { padding-inline-start: 0; } }

@media (min-width: 1024px) {
  .policy__grid { grid-template-columns: 290px minmax(0, 1fr); gap: 3.5rem; align-items: start; }
  .policy__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); max-height: calc(100svh - var(--header-h) - 3rem); overflow-y: auto; }
  .toc { background: transparent; border: 0; }
  .toc__title { cursor: default; padding-inline: .7rem; }
  .toc__chev { display: none; }
  .toc__list { padding-inline: 0; }
}

/* Lite tier: no glass blur on the inner page bits */
.lite .phero__date { background: rgba(26, 26, 76, .7); }

/* =========================================================
   Loader (logo assembles, 0→100%, white liquid rises) + section curtain
   ========================================================= */
.loader { display: none; }
.js .loader {
  display: block; position: fixed; inset: 0; z-index: 100; overflow: hidden; background: var(--navy);
  animation: ld-safety .4s ease 9s forwards;            /* never trap the page if a script fails */
}
@keyframes ld-safety { to { opacity: 0; visibility: hidden; } }

.ld-layer { position: absolute; inset: 0; }
.ld-logo {
  position: absolute; inset: 0 0 8vh 0; margin: auto; direction: ltr;
  width: min(480px, 72vw); height: calc(min(480px, 72vw) * 428 / 1048);
}
.lp { position: absolute; top: 0; height: 100%; width: auto; }
.lp-word { left: 0; width: 51.34%; }
.lp-pink, .lp-purple, .lp-drop { left: 51.34%; width: 48.66%; }
.ld-num {
  position: absolute; inset-inline-start: 6vw; bottom: calc(6vh + env(safe-area-inset-bottom, 0px));
  font-family: var(--font-head); font-weight: 800; font-size: clamp(56px, 10vw, 150px); line-height: .8;
  color: #fff; font-variant-numeric: tabular-nums; direction: ltr;
}
.ld-num::after { content: "%"; font-size: .35em; color: var(--fuchsia); margin-left: .1em; }
.ld-light .ld-num { color: var(--navy); }
.ld-fill { position: absolute; inset: auto 0 0 0; height: 0; background: #fff; }
.ld-clip { position: absolute; inset: 0; overflow: hidden; }
.ld-inner { position: absolute; inset: auto 0 0 0; height: 100vh; height: 100svh; }
.ld-wave { position: absolute; left: 0; top: 0; width: 200%; max-width: none; height: 40px; fill: #fff; transform: translateY(-38px); animation: ld-wave 1.6s linear infinite; }
@keyframes ld-wave { to { transform: translate(-50%, -38px); } }
.ld-simple { display: none; }

/* Logo assembles in pure CSS from the first paint — no waiting for scripts */
:root { --k: 1; }
.ld-fast { --k: .5; }
.motion-full .loader .lp-pink, .motion-full .loader .lp-purple { animation: lp-slide calc(.8s * var(--k)) cubic-bezier(.16, 1, .3, 1) both; }
.motion-full .loader .lp-pink { animation-delay: calc(.15s * var(--k)); }
.motion-full .loader .lp-purple { animation-delay: calc(.3s * var(--k)); }
.motion-full .loader .lp-drop { animation: lp-drop calc(.9s * var(--k)) linear calc(.45s * var(--k)) both; transform-origin: 50% 80%; }
.motion-full .loader .lp-word { animation: lp-word calc(1s * var(--k)) cubic-bezier(.87, 0, .13, 1) calc(.6s * var(--k)) both; }
@keyframes lp-slide { from { transform: translateX(35%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lp-word { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes lp-drop {
  0% { transform: translateY(-60%) rotate(-25deg); opacity: 0; }
  45% { transform: translateY(0) rotate(0); opacity: 1; }
  62% { transform: translateY(-14%); }
  78% { transform: translateY(0); }
  89% { transform: translateY(-5%); }
  100% { transform: none; opacity: 1; }
}
/* Hand-over to the site */
.loader .ld-logo, .loader .ld-num { transition: transform .7s cubic-bezier(.7, 0, .84, 0), opacity .55s ease; }
.loader.is-done .ld-logo { transform: translateY(-14%) scale(.86); opacity: 0; }
.loader.is-done .ld-num { opacity: 0; }
.loader.is-done .ld-wave { opacity: 0; }
.loader { transition: opacity .35s ease; }
.loader.is-out { opacity: 0; }

/* Lite tier: same loader, static wave (cheaper) */
.lite .ld-wave { animation: none; }

/* Curtain between distant sections */
.curtain {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center;
  background: var(--navy); visibility: hidden; pointer-events: none;   /* GSAP moves it (yPercent) */
  will-change: transform;
}
.curtain img { width: clamp(150px, 18vw, 240px); height: auto; opacity: 0; }

/* =========================================================
   Motion — everyone gets full motion (.motion-full), including Windows machines
   with "Animation effects" off. Weak devices add .lite: same animations, minus
   the expensive parts. Content is hidden only after JS confirms it can reveal it
   (.reveal-ready), so a script failure never leaves the page blank.
   ========================================================= */

/* Hero sequence — starts when the loader hands over (.hero-go) */
.js .hero-in { opacity: 0; }
.js:not(.hero-go) .hero-in { animation: hero-fade .6s ease 7.2s forwards; }   /* fail-safe */
.hero-go .hero-in { animation: hero-fade .7s ease forwards; animation-delay: calc(var(--d, 0) * 80ms); }
.motion-full.hero-go .hero-in { animation-name: hero-rise; animation-duration: 1s; animation-timing-function: var(--ease); animation-delay: calc(var(--d, 0) * 110ms); }
.motion-full.hero-go .hero__img { animation: hero-zoom 2.6s var(--ease) both; }
.motion-full:not(.hero-go) .hero__img { transform: scale(1.12); }

@keyframes hero-fade { to { opacity: 1; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes scroll-dot { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: .2; } }
@keyframes card-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* Scroll reveals */
.reveal-ready [data-reveal] { opacity: 0; transition: opacity .55s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-ready.motion-full [data-reveal] {
  transform: translateY(28px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* Lite tier (weak devices): everything still animates, minus the expensive parts —
   no blur behind glass, no zoom on large photos, shorter slides, no looping pulses. */
.lite *, .lite *::before, .lite *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.lite .header.is-solid { background: var(--bg); }
.lite .drawer { background: rgba(12, 12, 38, .82); }
.lite .btn--glass, .lite .bento__tile:not(.bento__tile--main), .lite .reach__hq { background: rgba(26, 26, 76, .7); }
.lite .invest__panel { background: rgba(26, 26, 76, .85); }
.lite .map__layers { background: rgba(26, 26, 76, .95); }
.lite .hero__img { animation: none !important; transform: none !important; }
.lite .about__img { height: 100%; margin-top: 0; transform: none !important; }
.lite [data-hero-media], .lite [data-hero-content] { transform: none !important; }
.lite.reveal-ready [data-reveal] { transform: translateY(14px); transition-duration: .6s; }
.lite.reveal-ready [data-reveal].is-in { transform: none; }
.lite .pin.is-active::after { display: none; }
.lite .service:hover .service__img { transform: none; }

/* =========================================================
   Stage 5 — region chips, station status, fuel, facilities
   ========================================================= */
/* Region filter: chips right under the search field */
.rchips { display: flex; gap: .5rem; max-width: 48rem; margin: -1rem auto 2rem; overflow-x: auto; scrollbar-width: none; padding: .25rem .1rem; -webkit-overflow-scrolling: touch; }
.rchips::-webkit-scrollbar { display: none; }
@media (min-width: 760px) { .rchips { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.rchip {
  flex: none; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--band-line, rgba(255, 255, 255, .18));
  background: rgba(255, 255, 255, .06); color: var(--band-ink, #fff); font: 600 .875rem var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.rchip:hover { background: rgba(255, 255, 255, .12); }
.rchip.is-active { background: var(--fuchsia); border-color: var(--fuchsia); color: #fff; }
.rchip:focus-visible { outline: 3px solid var(--fuchsia-light); outline-offset: 2px; }

/* Station status badge (only when not open) */
.st-badge { display: inline-flex; align-items: center; gap: .3rem; padding: .1rem .55rem; border-radius: 999px; font: 600 .72rem/1.6 var(--font-body); white-space: nowrap; vertical-align: middle; }
.st-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-badge--contracted, .st-badge--construction, .st-badge--development { background: #FFF1DB; color: #8A5300; }
.st-badge--stopped { background: #FCE8EA; color: #A11D2A; }

/* Fuel: barrel in the fuel's colour + its label (91, 95, D ...) */
.fuel-pill { --fuel: #6B7280; display: inline-flex; align-items: center; gap: .1rem; padding: .15rem .45rem .15rem .35rem; border-radius: 8px; background: color-mix(in srgb, var(--fuel) 16%, transparent); color: var(--fuel); line-height: 1; }
.fuel-pill .icon { width: 1rem; height: 1rem; }
.fuel-pill b { font-family: var(--font-head); font-size: .78rem; }
.station__fuels { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.station .fuel-pill { background: rgba(255, 255, 255, .92); }
.station .st-badge { margin-inline-start: .15rem; }

/* Map pins of stations that are not open yet / closed */
.pin.is-muted { filter: grayscale(.85); opacity: .7; }
.pin.is-muted.is-active { filter: none; opacity: 1; }

/* Branch window: name + status, fuel, facilities, partners, directions */
.map__card-head { flex: 1; display: grid; gap: .35rem; justify-items: start; }
.map__card-scroll { max-height: min(46vh, 340px); overflow-y: auto; overscroll-behavior: contain; margin-top: .25rem; }
.map__card-block { margin-top: .85rem; }
.fuel-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.map__card .fuel-pill { padding: .25rem .55rem .25rem .45rem; }
.map__card .fuel-pill b { font-size: .85rem; }
.facs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.fac { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border-radius: 999px; background: var(--surface, #F5F4F9); color: var(--ink); font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.fac .icon { width: .95rem; height: .95rem; color: var(--accent-text, #C2125E); }
.partner img { width: 100%; height: 100%; object-fit: cover; }   /* logos are prepared as round-ready squares */

/* ---- Branch list item: the card is the <li>; the select button and the facilities row sit inside ---- */
.station-item { display: grid; border-radius: var(--r-md); border: 1px solid transparent; background: rgba(255, 255, 255, .05); transition: background-color .2s, border-color .2s; }
.station-item:hover { background: rgba(255, 255, 255, .09); }
.station-item .station { background: transparent; border: 0; }
.station-item .station:hover { background: transparent; }
.station-item.has-facs .station { padding-bottom: .45rem; }
.station-item:has(.station.is-active) { border-color: var(--fuchsia); background: linear-gradient(120deg, rgba(236, 41, 123, .24), rgba(101, 45, 144, .24)); }
.station-item .station.is-active { background: transparent; }

/* Facilities: icons only; a tap opens the icon to show its name */
.station__facs { display: flex; flex-wrap: wrap; gap: .3rem; padding: 0 1rem .85rem; }
.facb {
  display: inline-flex; align-items: center; height: 28px; padding: 0 7px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: var(--fuchsia-light); font: 600 .78rem var(--font-body); line-height: 1;
  transition: background-color .25s, color .25s;
}
.facb .icon { width: .95rem; height: .95rem; flex: none; }
.facb__label { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease), opacity .25s, margin .35s var(--ease); }
.facb[aria-expanded="true"] { background: var(--fuchsia); color: #fff; }
.facb[aria-expanded="true"] .facb__label { max-width: 11rem; opacity: 1; margin-inline-start: .35rem; }
.facb:hover { background: rgba(255, 255, 255, .16); }
.facb[aria-expanded="true"]:hover { background: var(--fuchsia); }
.facb:focus-visible { outline: 2px solid var(--fuchsia-light); outline-offset: 2px; }
.lite .facb__label { transition: none; }

/* Status is always shown: open stations in green */
.st-badge--active { background: #E5F5EC; color: #136B3A; }

/* =========================================================
   Map: stays inside its own layer, loading shimmer, failure message
   ========================================================= */
/* Leaflet uses z-index up to 1000 inside the map. "isolation" keeps all of it inside the map's frame,
   so the map can never cover the loader, the curtain or the header. */
.map { isolation: isolate; z-index: 0; }

/* Loading: animated shimmer until the first map images arrive */
.map__state { position: absolute; inset: 0; z-index: 450; display: grid; place-items: center; pointer-events: none; border-radius: inherit; overflow: hidden; }
.map__state[hidden] { display: none; }
.map__state--loading { background: #E9E7F0; }
.map__state--loading::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .65) 50%, transparent 80%);
  transform: translateX(-100%); animation: map-shimmer 1.4s ease-in-out infinite;
}
[data-theme="dark"] .map__state--loading { background: #23234F; }
[data-theme="dark"] .map__state--loading::before { background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .08) 50%, transparent 80%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .map__state--loading { background: #23234F; } :root:not([data-theme="light"]) .map__state--loading::before { background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .08) 50%, transparent 80%); } }
@keyframes map-shimmer { to { transform: translateX(100%); } }
.map__state-text { position: relative; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1rem; border-radius: 999px; background: rgba(26, 26, 76, .82); color: #fff; font-size: .875rem; font-weight: 600; }
.map__state-text .spin { width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Failure: clear message; the branch list and directions keep working */
.map__state--error { background: #ECEBF2; pointer-events: auto; }
[data-theme="dark"] .map__state--error { background: #23234F; }
.map__state-box { display: grid; justify-items: center; gap: .6rem; max-width: 22rem; padding: 1.25rem; text-align: center; color: var(--ink); }
[data-theme="dark"] .map__state-box { color: #fff; }
.map__state-box p { margin: 0; font-size: .9375rem; line-height: 1.7; }
.map__state-box .btn { min-height: 42px; }
.lite .map__state--loading::before { animation-duration: 2.2s; }

/* Branch window: facilities shown again (approved design) */
.map__card .facs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }

/* =========================================================
   "Our partners" (home) — moving strip of round logos
   ========================================================= */
.partners-sec { overflow: hidden; }
.plogos { --gap: 1.25rem; position: relative; }
.plogos__track { list-style: none; margin: 0; padding: .5rem 0 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.plogos--moving { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.plogos--moving .plogos__track { flex-wrap: nowrap; width: max-content; animation: plogos-move 45s linear infinite; }
.plogos--moving:hover .plogos__track, .plogos--moving:focus-within .plogos__track { animation-play-state: paused; }
@keyframes plogos-move { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
[dir="rtl"] .plogos--moving .plogos__track { animation-name: plogos-move-rtl; }
@keyframes plogos-move-rtl { to { transform: translateX(calc(50% + var(--gap) / 2)); } }
.plogo { flex: none; }
.plogo > a, .plogo > span { display: grid; justify-items: center; gap: .6rem; width: 132px; text-decoration: none; color: var(--ink); }
.plogo__img { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px -18px rgba(26, 26, 76, .45); transition: transform .35s var(--ease), box-shadow .35s; }
.plogo__img img { width: 100%; height: 100%; object-fit: cover; }
.plogo__name { font-size: .8125rem; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.4; }
.plogo > a:hover .plogo__img, .plogo > a:focus-visible .plogo__img { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(236, 41, 123, .55); }
.lite .plogos--moving .plogos__track { animation-duration: 70s; }

/* =========================================================
   Real estate page
   ========================================================= */
.props { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.props__grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .props__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .props__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prop { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.prop[hidden] { display: none; }
.prop:hover { transform: translateY(-4px); }
.prop__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; cursor: pointer; background: var(--surface); overflow: hidden; }
.prop__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prop:hover .prop__media img { transform: scale(1.05); }
.prop__tags { position: absolute; top: .75rem; inset-inline-start: .75rem; display: flex; gap: .35rem; }
.prop__purpose, .prop__status { padding: .25rem .65rem; border-radius: 999px; font: 700 .75rem/1.5 var(--font-body); }
.prop__purpose { background: var(--fuchsia); color: #fff; }
.prop__status { background: rgba(255, 255, 255, .92); color: #136B3A; }
.prop__status--reserved { color: #8A5300; }
.prop__status--rented, .prop__status--sold { color: #A11D2A; }
.prop__count { position: absolute; bottom: .75rem; inset-inline-end: .75rem; display: inline-flex; align-items: center; gap: .25rem; padding: .2rem .55rem; border-radius: 999px; background: rgba(14, 14, 44, .7); color: #fff; font: 600 .75rem var(--font-body); }
.prop__body { display: grid; align-content: start; gap: .6rem; padding: 1.15rem 1.25rem 1.3rem; }
.prop__title { font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }
.prop__loc { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .9rem; }
.prop__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .2rem 0 .3rem; }
.prop__facts div { padding: .6rem .75rem; border-radius: 12px; background: var(--surface); }
.prop__facts dt { font-size: .75rem; color: var(--muted); }
.prop__facts dd { margin: .15rem 0 0; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.prop__facts small { font-family: var(--font-body); font-weight: 500; color: var(--muted); }
.prop__more { justify-self: start; }
.pempty { display: grid; justify-items: center; gap: .75rem; max-width: 34rem; margin: 1rem auto 2rem; padding: 3rem 1.5rem; text-align: center; border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--line); }
.pempty__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); }
.pempty__icon .icon { width: 2rem; height: 2rem; }
.pempty h2 { font-family: var(--font-head); font-size: var(--fs-h3); }
.pempty p { color: var(--muted); line-height: 1.9; }

/* Search + filter (real estate page) */
.pfind { display: flex; gap: .75rem; max-width: 52rem; margin: 0 auto 2.25rem; }
.pfind__search { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.pfind__search > .icon { position: absolute; inset-inline-start: 1.15rem; color: var(--accent-text); pointer-events: none; }
.pfind__search input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 56px; padding-inline: 3.1rem 1.25rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: inherit;
  box-shadow: var(--shadow); outline: 0; transition: border-color .2s, box-shadow .2s;
}
.pfind__search input::placeholder { color: var(--muted); }
.pfind__search input:focus { border-color: var(--fuchsia); box-shadow: 0 0 0 4px rgba(236, 41, 123, .14), var(--shadow); }
.pfind__btn {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: .55rem; height: 56px; padding: 0 1.4rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); box-shadow: var(--shadow);
  font: 700 1rem var(--font-head); cursor: pointer; transition: border-color .2s, color .2s, transform .2s var(--ease);
}
.pfind__btn:hover { border-color: var(--accent); color: var(--accent-text); }
.pfind__btn:active { transform: scale(.98); }
.pfind__btn:focus-visible, .pfgroup summary:focus-visible, .pfilter__close:focus-visible { outline: 3px solid var(--fuchsia-light); outline-offset: 2px; }
.pfind__badge { position: absolute; top: -6px; inset-inline-end: -4px; min-width: 22px; height: 22px; padding: 0 .35rem; border-radius: 999px; display: grid; place-items: center; background: var(--fuchsia); color: #fff; font: 700 .75rem/1 var(--font-head); box-shadow: 0 0 0 3px var(--bg); }
.pfind__badge[hidden] { display: none; }
@media (max-width: 539px) {
  .pfind { gap: .5rem; margin-bottom: 1.75rem; }
  .pfind__search input, .pfind__btn { height: 52px; }
  .pfind__btn { padding: 0 1rem; }
  .pfind__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.props__grid[hidden], .pempty[hidden] { display: none; }
.pempty--filter { margin-top: 0; }

/* Filter panel: side panel on wide screens, bottom sheet on phones */
.pfilter {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--ink); overflow: hidden;
}
.pfilter::backdrop { background: rgba(10, 10, 40, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.pfilter[open]::backdrop { animation: pf-fade .3s ease; }
.pfilter.is-closing::backdrop { animation: pf-fade .22s ease reverse forwards; }
.pfilter__box {
  position: absolute; display: flex; flex-direction: column; background: var(--card);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); overflow: hidden;
}
@media (min-width: 720px) {
  .pfilter__box { top: 1rem; bottom: 1rem; inset-inline-start: 1rem; width: min(440px, calc(100% - 2rem)); border-radius: var(--r-lg); border: 1px solid var(--line); }
  .pfilter[open] .pfilter__box { animation: pf-side .4s var(--ease); }
  .pfilter.is-closing .pfilter__box { animation: pf-side .22s ease-in reverse forwards; }
}
@media (max-width: 719px) {
  .pfilter__box { inset-inline: 0; bottom: 0; max-height: min(88svh, 100%); border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .pfilter__box::before { content: ""; flex: none; align-self: center; width: 44px; height: 5px; margin-top: .6rem; border-radius: 999px; background: var(--line); }
  .pfilter[open] .pfilter__box { animation: pf-up .4s var(--ease); }
  .pfilter.is-closing .pfilter__box { animation: pf-up .22s ease-in reverse forwards; }
}
@keyframes pf-fade { from { opacity: 0; } }
@keyframes pf-side { from { opacity: 0; transform: translateX(calc(var(--pf-dir, 1) * 40px)); } }
@keyframes pf-up { from { transform: translateY(100%); } }
[dir="rtl"] .pfilter { --pf-dir: 1; }
[dir="ltr"] .pfilter { --pf-dir: -1; }
@media (prefers-reduced-motion: reduce) { .pfilter__box, .pfilter::backdrop { animation: none !important; } }
.lite .pfilter::backdrop { background: rgba(10, 10, 40, .65); }
html:has(.pfilter[open]) { overflow: hidden; }   /* the page behind stays still */

.pfilter__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 1.25rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.pfilter__title { display: flex; align-items: center; gap: .6rem; font: 700 1.25rem/1.3 var(--font-head); }
.pfilter__title .icon { color: var(--accent-text); }
.pfilter__close { flex: none; width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.pfilter__close:hover { background: var(--accent-soft); color: var(--accent-text); }
.pfilter__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 1.25rem; -webkit-overflow-scrolling: touch; }
.pfilter__foot { flex: none; display: flex; gap: .6rem; padding: 1rem 1.25rem; border-top: 1px solid var(--line); background: var(--card); }
.pfilter__apply { flex: 1 1 auto; }
.pfilter__foot .btn { min-height: 52px; }
@media (max-width: 439px) { .pfilter__foot .btn { padding: 0 1rem; font-size: .95rem; } .pfilter__apply { min-width: 0; } .pfind__search input { font-size: .95rem; } }

.pfgroup { border-bottom: 1px solid var(--line); }
.pfgroup:last-child { border-bottom: 0; }
.pfgroup summary { display: flex; align-items: center; gap: .65rem; min-height: 58px; list-style: none; cursor: pointer; font: 700 1.05rem var(--font-head); -webkit-tap-highlight-color: transparent; }
.pfgroup summary::-webkit-details-marker { display: none; }
.pfgroup__icon { flex: none; color: var(--accent-text); }
.pfgroup__n { min-width: 22px; height: 22px; padding: 0 .35rem; border-radius: 999px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font: 700 .75rem/1 var(--font-head); }
.pfgroup__n[hidden] { display: none; }
.pfgroup__chev { margin-inline-start: auto; color: var(--muted); transform: rotate(90deg); transition: transform .25s var(--ease); }
.pfgroup[open] .pfgroup__chev { transform: rotate(-90deg); }
.pfgroup__body { padding: .15rem 0 1.15rem; }
.pfgroup[open] .pfgroup__body { animation: pf-open .3s var(--ease); }
@keyframes pf-open { from { opacity: 0; transform: translateY(-6px); } }

/* Property type tiles (icon + name, check mark when chosen) */
.pftypes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.pftype { position: relative; display: block; }
.pftype input, .pfchip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pftype > span {
  position: relative; display: flex; align-items: center; gap: .6rem; min-height: 56px; padding: .55rem .85rem;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.pftype b { font-weight: 600; font-size: .95rem; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.pftype__icon { flex: none; color: var(--accent-text); width: 1.4rem; height: 1.4rem; }
.pftype__tick { position: absolute; top: -8px; inset-inline-start: -8px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--fuchsia); color: #fff; box-shadow: 0 0 0 3px var(--card); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s var(--ease); }
.pftype__tick .icon { width: 13px; height: 13px; stroke-width: 3; }
.pftype > span:hover, .pfchip > span:hover { border-color: var(--accent); }
.pftype input:checked + span { border-color: var(--fuchsia); background: var(--accent-soft); color: var(--accent-text); }
.pftype input:checked + span .pftype__tick { opacity: 1; transform: none; }
.pftype input:focus-visible + span, .pfchip input:focus-visible + span { outline: 3px solid var(--fuchsia-light); outline-offset: 2px; }

/* Chips: status, purpose, region, city */
.pfchips { display: flex; flex-wrap: wrap; gap: .5rem; }
.pfchip { position: relative; }
.pfchip[hidden] { display: none; }
.pfchip > span { display: inline-flex; align-items: center; min-height: 42px; padding: .35rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: .92rem; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.pfchip input:checked + span { border-color: var(--fuchsia); background: var(--fuchsia); color: #fff; }

/* Area: from / to */
.pfarea { display: flex; align-items: flex-end; gap: .6rem; }
.pfarea label { flex: 1 1 0; display: grid; gap: .3rem; font-size: .85rem; color: var(--muted); }
.pfarea input { -webkit-appearance: none; appearance: none; width: 100%; height: 48px; padding: 0 1rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font: 600 1rem var(--font-body); outline: 0; transition: border-color .2s, box-shadow .2s; -moz-appearance: textfield; }
.pfarea input::-webkit-outer-spin-button, .pfarea input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pfarea input:focus { border-color: var(--fuchsia); box-shadow: 0 0 0 3px rgba(236, 41, 123, .16); }
.pfarea input::placeholder { color: var(--muted); font-weight: 500; }
.pfarea__dash { padding-bottom: .8rem; color: var(--muted); }
.pftype[hidden], .pfgroup[hidden], .props__more [hidden] { display: none; }
.pfgroup__find { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin-bottom: .7rem; padding: 0 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: .92rem; outline: 0; transition: border-color .2s, box-shadow .2s; }
.pfgroup__find:focus { border-color: var(--fuchsia); box-shadow: 0 0 0 3px rgba(236, 41, 123, .16); }
.pfgroup__tools { margin-top: .65rem; }
.pfgroup__all { padding: .35rem 0; border: 0; background: none; color: var(--accent-text); font: 700 .92rem var(--font-head); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pfgroup__all:hover { text-decoration-thickness: 2px; }
.pfgroup__all:focus-visible { outline: 3px solid var(--fuchsia-light); outline-offset: 2px; border-radius: 6px; }
.pfgroup__all[hidden] { display: none; }
.pfilter__body[aria-busy="true"] { min-height: 12rem; background: radial-gradient(circle at 50% 6rem, var(--accent-soft) 0 18px, transparent 19px); }
.pfilter__error { margin: 1.25rem 0; padding: .9rem 1rem; border-radius: 14px; background: var(--surface); color: var(--muted); text-align: center; }
.pfilter__error[hidden] { display: none; }
.props__grid[aria-busy="true"] { opacity: .45; transition: opacity .2s; pointer-events: none; }
.props__more { display: flex; justify-content: center; margin-top: 2.25rem; }
.props__more .btn[aria-busy="true"] .icon { animation: pf-spin .8s linear infinite; }
@keyframes pf-spin { to { transform: rotate(360deg); } }
/* Details window */
.pdialog { width: min(980px, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--card); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.pdialog::backdrop { background: rgba(10, 10, 40, .6); backdrop-filter: blur(4px); }
.pdialog[open] { animation: card-in .35s var(--ease); }
.pdialog__box { position: relative; display: grid; max-height: calc(100svh - 2rem); overflow-y: auto; }
@media (min-width: 860px) { .pdialog__box { grid-template-columns: 1.15fr 1fr; } }
.pdialog__close { position: absolute; top: .75rem; inset-inline-end: .75rem; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #1A1A4C; cursor: pointer; }
.pdialog__gallery { background: #0E0E2C; }
.pdialog__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pdialog__thumbs { display: flex; gap: .4rem; padding: .5rem; overflow-x: auto; }
.pdialog__thumbs button { flex: none; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.pdialog__thumbs button[aria-current="true"] { border-color: var(--fuchsia); opacity: 1; }
.pdialog__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdialog__body { display: grid; align-content: start; gap: .8rem; padding: 1.5rem; }
.pdialog__title { font-family: var(--font-head); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.35; padding-inline-end: 2.5rem; }
.pdialog__type { color: var(--accent-text); font-weight: 600; }
.pdialog__desc { color: var(--muted); line-height: 1.9; white-space: pre-line; }
.pdialog__h { font-family: var(--font-head); font-size: 1rem; }
.pdialog__extra { display: grid; gap: .4rem; margin: .4rem 0 0; }
.pdialog__extra div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .75rem; border-radius: 10px; background: var(--surface); font-size: .9rem; }
.pdialog__extra dt { color: var(--muted); }
.pdialog__extra dd { margin: 0; font-weight: 600; text-align: end; }
.pdialog__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }

/* =========================================================
   Franchise page
   ========================================================= */
.fhero__cta { margin-top: 1.75rem; }
.foffer__grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .foffer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .foffer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fx { position: relative; padding: 1.75rem 1.5rem 1.6rem; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.fx::after { content: ""; position: absolute; inset-inline-end: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(236, 41, 123, .12), transparent 70%); transition: transform .5s var(--ease); }
.fx:hover { transform: translateY(-4px); border-color: rgba(236, 41, 123, .45); }
.fx:hover::after { transform: scale(1.6); }
.fx__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--fuchsia), var(--purple)); color: #fff; box-shadow: 0 12px 24px -12px rgba(236, 41, 123, .7); }
.fx__icon .icon { width: 1.6rem; height: 1.6rem; }
.fx__title { margin-top: 1.1rem; font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; }
.fx__text { margin-top: .4rem; color: var(--muted); line-height: 1.8; }
.fnums__title { text-align: center; }
.fnums__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fnums__list li { display: grid; justify-items: center; gap: .4rem; padding: 1.75rem 1rem; border-radius: var(--r-lg); background: rgba(255, 255, 255, .05); border: 1px solid var(--band-line); text-align: center; }
.fnums__list strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2.5vw, 3.8rem); line-height: 1; color: #fff; }
.fnums__list span { color: var(--band-muted); font-weight: 600; }
.fsteps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: none; }
@media (min-width: 860px) { .fsteps__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fstep { position: relative; padding: 1.5rem 1.25rem; border-radius: var(--r-lg); background: var(--surface); }
@media (min-width: 860px) { .fstep:not(:last-child)::after { content: ""; position: absolute; top: 2.6rem; inset-inline-end: -1.25rem; width: 1.25rem; height: 2px; background: repeating-linear-gradient(90deg, var(--fuchsia) 0 6px, transparent 6px 10px); } }
.fstep__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
[dir="rtl"] .fstep__num { text-align: right; }
.fstep__title { margin-top: .8rem; font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 700; }
.fstep__text { margin-top: .35rem; color: var(--muted); line-height: 1.8; }
.fcta__box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); border-radius: var(--r-lg); color: #fff; background: radial-gradient(70% 120% at 100% 0%, rgba(101, 45, 144, .9), transparent 60%), linear-gradient(120deg, #1A1A4C, #2A1A5E); }
.fcta__box .lead { color: rgba(255, 255, 255, .8); margin-top: .4rem; }

/* =========================================================
   Hero: title (large) → subtitle (medium) → tagline (small); four figures
   ========================================================= */
.hero__row { display: block; }
.hero__subtitle { font-size: clamp(1.0625rem, .95rem + .55vw, 1.4rem); }
.hero .hero__badge { margin-top: .9rem; font-size: .875rem; font-weight: 500; color: rgba(255, 255, 255, .78); }
.bento { grid-template-columns: 1.6fr 1fr 1fr 1fr; }

/* Phones: the photo stays visible — text sits at the bottom of the photo, the figures go below it on navy */
@media (max-width: 720px) {
  .hero { min-height: 0; justify-content: flex-start; }
  .hero__media, .hero__shade { bottom: auto; height: 68svh; }
  .hero__shade {
    background:
      linear-gradient(to top, var(--navy) 0%, rgba(26, 26, 76, .82) 22%, rgba(14, 14, 44, .25) 55%, rgba(14, 14, 44, 0) 75%),
      linear-gradient(to bottom, rgba(14, 14, 44, .55) 0%, rgba(14, 14, 44, 0) 22%);
  }
  .hero__inner { padding-top: max(calc(var(--header-h) + 2rem), calc(68svh - 12.5rem)); padding-bottom: 2rem; }
  .bento { grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.75rem; }
  .bento__tile--main { grid-column: 1 / -1; }
  .bento__tile { min-height: 96px; padding: .9rem 1rem; border-radius: 18px; }
  .bento__tile:not(.bento__tile--main) { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bento__num { font-size: 1.7rem; }
  .bento__tile--main .bento__num { font-size: 2.4rem; }
  .bento__label { font-size: .82rem; }
}

/* =========================================================
   Photo gallery (home) + viewer
   ========================================================= */
.gal { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); }
.gal__item:first-child { grid-column: span 2; grid-row: span 2; }
.gal__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--surface); }
.gal__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal__btn:hover img, .gal__btn:focus-visible img { transform: scale(1.06); }
.gal__cap { position: absolute; inset-inline: 0; bottom: 0; padding: 1.6rem .9rem .7rem; color: #fff; font-size: .85rem; font-weight: 600; text-align: start; background: linear-gradient(to top, rgba(14, 14, 44, .85), transparent); opacity: 0; transition: opacity .3s; }
.gal__btn:hover .gal__cap, .gal__btn:focus-visible .gal__cap { opacity: 1; }
/* Title (bold, one line) and description (two lines) on the photo, like the admin's gallery cards */
.gal__cap { display: grid; gap: .2rem; }
.gal__title { display: block; font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gal__text { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 400; font-size: .8rem; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.gal__item:first-child .gal__title { font-size: 1.15rem; }
.gal__item:first-child .gal__text { font-size: .88rem; }
@media (max-width: 720px) {
  .gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .7rem; padding-bottom: .5rem; -webkit-overflow-scrolling: touch; }
  .gal__item { flex: none; width: 78vw; height: 58vw; scroll-snap-align: center; }
  .gal__cap { opacity: 1; }
}
.lbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; display: none; }
.lbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; padding: 1rem; }
.lbox::backdrop { background: rgba(8, 8, 28, .92); }
.lbox__fig { margin: 0; display: grid; justify-items: center; gap: .7rem; min-width: 0; }
.lbox__fig img { max-width: 100%; max-height: 80svh; border-radius: 12px; object-fit: contain; }
.lbox__fig figcaption { color: #fff; font-weight: 600; text-align: center; }
.lbox__text { margin: -.3rem 0 0; max-width: 62ch; color: rgba(255, 255, 255, .78); font-size: .92rem; line-height: 1.75; text-align: center; }
.lbox__fig:has(.lbox__text:not([hidden])) img { max-height: 68svh; }   /* room for the description */
.lbox__nav, .lbox__close { width: 48px; height: 48px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lbox__nav:hover, .lbox__close:hover { background: var(--fuchsia); }
.lbox__nav--prev .icon { transform: scaleX(-1); }
[dir="rtl"] .lbox__nav--prev .icon { transform: none; }
[dir="rtl"] .lbox__nav--next .icon { transform: scaleX(-1); }
.lbox__close { position: fixed; top: max(1rem, env(safe-area-inset-top)); inset-inline-end: 1rem; z-index: 2; }
@media (max-width: 720px) { .lbox[open] { grid-template-columns: 1fr; padding: .5rem; } .lbox__nav { position: fixed; bottom: 1.25rem; } .lbox__nav--prev { inset-inline-start: 1.25rem; } .lbox__nav--next { inset-inline-end: 1.25rem; } }
@media (max-width: 720px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento__tile:not(.bento__tile--main) { min-height: 0; padding: .8rem .7rem; gap: .5rem; }
  .bento__tile:not(.bento__tile--main) .bento__num { font-size: 1.35rem; }
  .bento__tile:not(.bento__tile--main) .bento__label { font-size: .75rem; line-height: 1.35; margin-top: .3rem; }
  .bento__tile:not(.bento__tile--main) .bento__icon { width: 1.15rem; height: 1.15rem; }
}

/* =========================================================
   Header tabs: always one line; when they don't fit, they scroll sideways (edges fade)
   ========================================================= */
@media (min-width: 1100px) {
  .nav { min-width: 0; flex: 1 1 auto; display: flex; justify-content: center; }
  .nav__list { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-behavior: smooth; max-width: 100%; padding: 2px; }
  .nav__list::-webkit-scrollbar { display: none; }
  .nav__list li { flex: none; }
  .nav__list a { white-space: nowrap; }
  .nav.is-scrollable .nav__list { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
}

/* About Fastil: features show their title only */
.feature--title { align-items: center; }
.feature--title .feature__title { margin: 0; }

/* Franchise: figures with icons, request form */
.fnums__list { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.fnums__icon { width: 1.5rem; height: 1.5rem; color: var(--fuchsia-light); }
.fform__grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .fform__grid { grid-template-columns: 1fr 1.4fr; gap: 3.5rem; } .fform__intro { position: sticky; top: calc(var(--header-h) + 2rem); } }
.fform__mini { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.fform__mini li { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.fform__mini span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-text); font-family: var(--font-head); font-size: .85rem; }
.rform { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rform__grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .rform__grid { grid-template-columns: 1fr 1fr; } .rfield--wide { grid-column: 1 / -1; } }
.rfield { display: grid; gap: .35rem; }
.rfield > span { font-weight: 600; font-size: .9rem; }
.rfield b { color: var(--fuchsia); }
.rfield input, .rfield textarea { width: 100%; padding: .75rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: 1rem/1.6 var(--font-body); transition: border-color .2s, box-shadow .2s; }
.rfield input:focus, .rfield textarea:focus { outline: none; border-color: var(--fuchsia); box-shadow: 0 0 0 4px rgba(236, 41, 123, .12); }
.rfield [aria-invalid="true"] { border-color: #D93A45; }
.rfield em { min-height: 1em; font-style: normal; font-size: .8rem; color: #C2303C; }
.rfile { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border: 1.5px dashed var(--line); border-radius: 12px; cursor: pointer; color: var(--muted); transition: border-color .2s; }
.rfile:hover, .rfile:focus-within, .rfile.has-file { border-color: var(--fuchsia); color: var(--ink); }
.rfile__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.rfile__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.rfile__x { width: 32px; height: 32px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #FCE8EA; color: #C2303C; cursor: pointer; }
.rform__send { width: 100%; margin-top: 1.25rem; }
.rform__note { margin-top: .75rem; text-align: center; font-size: .82rem; }
.rform__note a { color: var(--muted); }
.rform__ok { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; padding: .9rem 1rem; border-radius: 12px; background: #E5F5EC; color: #136B3A; font-weight: 600; }
.rform__ok[hidden], .rform__err[hidden] { display: none; }
.rform__err { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; background: #FCE8EA; color: #A11D2A; font-weight: 600; }
.spin { display: inline-block; width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; animation: spin .7s linear infinite; }
.rfile__x[hidden] { display: none; }
/* Franchise form: request type */
.rkind { border: 0; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.rkind legend { grid-column: 1 / -1; padding: 0; margin-bottom: .35rem; font-weight: 600; font-size: .9rem; }
.rkind legend b { color: var(--fuchsia); }
.rkind__opt input { position: absolute; opacity: 0; pointer-events: none; }
.rkind__opt span { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 54px; padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; text-align: center; }
.rkind__opt span .icon { color: var(--accent-text); }
.rkind__opt input:checked + span { border-color: var(--fuchsia); background: var(--accent-soft); color: var(--accent-text); }
.rkind__opt input:focus-visible + span { outline: 3px solid var(--fuchsia); outline-offset: 2px; }
.rkind.is-invalid .rkind__opt span { border-color: #D93A45; }
.rkind em { grid-column: 1 / -1; }
/* Hidden radio buttons must not inherit the "full width" of text fields (it widened the page sideways) */
.rkind__opt { position: relative; }
.rkind__opt input { width: 1px; height: 1px; margin: 0; padding: 0; inset: 0; }
.rfield input.sr-only, .rfile input { width: 1px !important; height: 1px !important; padding: 0 !important; }
/* Grid items may shrink below their longest line (otherwise the form widens the page on phones) */
.fform__grid > *, .rform__grid > *, .rkind > *, .rfield { min-width: 0; }
.rfile { position: relative; max-width: 100%; overflow: hidden; }
.rfile__text { flex: 1 1 0; }

/* ---------- Success partners: window above a logo (icon · name — specialty), see assets/js/ptip.js ---------- */
.ptip {
  position: fixed; z-index: 1200; top: 0; left: 0; display: flex; align-items: center; gap: .65rem;
  max-width: calc(100vw - 16px); padding: .45rem 1rem .45rem .45rem; border-radius: 999px;
  background: #1F1A55; color: #fff; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 22px 44px -16px rgba(13, 13, 43, .6), 0 6px 14px -8px rgba(236, 41, 123, .35);
  pointer-events: none; opacity: 0; transform: translateY(8px) scale(.94); transform-origin: 50% 100%;
  transition: opacity .2s ease, transform .28s var(--ease);
}
[dir="rtl"] .ptip { padding: .45rem .45rem .45rem 1rem; }
.ptip.is-on { opacity: 1; transform: none; }
.ptip--below { transform: translateY(-8px) scale(.94); transform-origin: 50% 0; }
.ptip__icon {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(140deg, var(--fuchsia), var(--purple)); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08);
}
.ptip__icon .icon { width: 18px; height: 18px; color: #fff; }
.ptip__text { display: flex; align-items: center; gap: .55rem; min-width: 0; line-height: 1.3; white-space: nowrap; }
.ptip__name { font-family: var(--font-head); font-weight: 700; font-size: .9375rem; overflow: hidden; text-overflow: ellipsis; }
.ptip__spec { font-size: .8125rem; font-weight: 500; color: rgba(255, 255, 255, .74); padding-inline-start: .55rem; border-inline-start: 1px solid rgba(255, 255, 255, .25); }
.ptip__arrow {
  position: absolute; left: var(--arrow-x, 50%); bottom: -6px; width: 12px; height: 12px; margin-left: -6px;
  background: #1F1A55; border-right: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12);
  transform: rotate(45deg); border-radius: 0 0 3px 0;
}
.ptip--below .ptip__arrow { bottom: auto; top: -6px; transform: rotate(225deg); }
[data-ptip] { cursor: pointer; }
span[data-ptip]:focus-visible { outline: 3px solid var(--fuchsia); outline-offset: 3px; border-radius: 50%; }

/* =========================================================
   Header tabs: icon of each tab (admin › Site tabs). Colour per tab, one shade for light surfaces (--tc)
   and a lighter one over the photo and in dark mode (--tcd). Place and display are one setting for all tabs.
   The mobile menu always shows the icon beside the name (no mouse there).
   ========================================================= */
.tc--pink { --tc: #D81B6A; --tcd: #F2629F; }
.tc--purple { --tc: #652D90; --tcd: #B98AE6; }
.tc--blue { --tc: #1D5FD0; --tcd: #6EA8FE; }
.tc--teal { --tc: #0E7C86; --tcd: #2DD4BF; }
.tc--green { --tc: #1E8A4C; --tcd: #4ADE80; }
.tc--amber { --tc: #B35F00; --tcd: #FBBF24; }
.tab-ic { flex: none; width: 1.05rem; height: 1.05rem; color: var(--tc, currentColor); }
.js .header:not(.is-solid) .tab-ic, :root[data-theme="dark"] .tab-ic { color: var(--tcd, currentColor); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tab-ic { color: var(--tcd, currentColor); } }

.nav__list.has-tab-ic a { display: flex; align-items: center; gap: .4rem; }
.nav__list.tab-ic--top a { flex-direction: column; gap: .15rem; padding: .3rem .7rem; border-radius: 14px; line-height: 1.3; }
.nav__list.tab-ic--top .tab-ic { width: 1.15rem; height: 1.15rem; }
/* "On hover": hidden until the mouse is over the tab (or keyboard focus); the open page's tab keeps its icon */
.nav__list.tab-ic--hover.tab-ic--side .tab-ic { width: 0; opacity: 0; margin-inline-end: -.4rem; transition: width .3s var(--ease), opacity .25s, margin .3s var(--ease); }
.nav__list.tab-ic--hover.tab-ic--side a:is(:hover, :focus-visible, [aria-current="page"]) .tab-ic { width: 1.05rem; opacity: 1; margin-inline-end: 0; }
.nav__list.tab-ic--hover.tab-ic--top .tab-ic { opacity: 0; transform: translateY(4px) scale(.7); transition: opacity .25s, transform .3s var(--ease); }
.nav__list.tab-ic--hover.tab-ic--top a:is(:hover, :focus-visible, [aria-current="page"]) .tab-ic { opacity: 1; transform: none; }
/* Touch screens wide enough for the header tabs (tablets): no hover there, so the icons stay visible */
@media (hover: none) {
  .nav__list.tab-ic--hover.tab-ic--side .tab-ic { width: 1.05rem; opacity: 1; margin-inline-end: 0; }
  .nav__list.tab-ic--hover.tab-ic--top .tab-ic { opacity: 1; transform: none; }
}
.lite .nav__list.tab-ic--hover .tab-ic { transition: none; }

.drawer__list.has-tab-ic a { display: flex; align-items: center; gap: .75rem; }
.drawer__list.has-tab-ic .tab-ic { width: 1.3rem; height: 1.3rem; }

/* =========================================================
   Video at the top of the home / About page (admin › Page texts). The photo underneath is its cover:
   the video fades in only once it is really playing, and is never loaded on weak devices (lite),
   with "save data", or on phones unless the admin allows it (hero-video.js). No controls are shown.
   ========================================================= */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.hero--page .hero__video { object-position: 50% 55%; }
.hero__video.is-playing { opacity: 1; }
.lite .hero__video { display: none; }
/* No controls on the site: hide every built-in overlay (e.g. the play button iPhone may draw over the video) */
.hero__video::-webkit-media-controls,
.hero__video::-webkit-media-controls-panel,
.hero__video::-webkit-media-controls-overlay-play-button,
.hero__video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; opacity: 0; }

/* Privacy consent box (both forms; on/off and words in the admin «الإعدادات العامة») */
.consent { margin: .35rem 0 .9rem; }
.consent__row { position: relative; display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; font-size: .875rem; line-height: 1.7; }
.consent__row input { position: absolute; inset-inline-start: 0; top: .2rem; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.consent__box { flex: none; width: 22px; height: 22px; margin-top: .15rem; border-radius: 7px; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; transition: background-color .15s, border-color .15s; }
.consent__box::after { content: ''; width: 6px; height: 11px; margin-top: -2px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .15s; }
.consent__row input:checked + .consent__box { background: var(--fuchsia); border-color: var(--fuchsia); }
.consent__row input:checked + .consent__box::after { transform: rotate(45deg) scale(1); }
.consent__row input:focus-visible + .consent__box { outline: 3px solid var(--fuchsia-light); outline-offset: 2px; }
.consent__text a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.consent__err { display: block; margin-top: .3rem; padding-inline-start: calc(22px + .7rem); font-style: normal; font-size: .8125rem; color: #C2303C; }
.consent__err:empty { display: none; }
.consent.is-invalid .consent__box { border-color: #D93A45; }
/* home form: on the dark panel */
.cconsent .consent__row { color: rgba(255, 255, 255, .85); }
.cconsent .consent__box { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); }
.cconsent .consent__text a { color: #fff; }
.cconsent .consent__err { color: #FF9AA4; }
.cconsent.is-invalid .consent__box { border-color: #FF6B78; }
/* franchise form */
.rconsent { margin: 1rem 0 .25rem; }
.rconsent .consent__text { color: var(--ink); }
.rconsent .consent__text a { color: var(--accent-text); }
