/* ==========================================================================
   Kite Force Hurghada — Brand stylesheet
   Design tokens · layout · components · pages · responsive · RTL
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette — extracted from the Kite Force logo */
  --sea:        #0078C8;   /* primary sea blue            */
  --sea-dark:   #005f9e;   /* deeper sea blue (text-safe) */
  --sea-dark:   #005f9e;   /* pressed / focus variant     */
  --turq:       #18A8F0;   /* turquoise accent            */
  --red:        #E60000;   /* primary call-to-action      */
  --red-dark:   #b80000;   /* pressed CTA variant         */
  --green:      #007A00;   /* WhatsApp / success          */
  --green-dark: #005d00;
  --ink:        #0A1420;   /* headings / body text        */
  --deep:       #0B2E4A;   /* dark sections / footer      */
  --deep-2:     #08233b;   /* footer gradient end         */
  --white:      #ffffff;
  --mist:       #F4F9FD;   /* alternate section bg        */
  --ink-soft:   #3d5368;   /* secondary text              */
  --line:       rgba(10, 20, 32, 0.10);
  --line-light: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-sans:    "Tajawal", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Cairo", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.9rem);
  --fs-3xl: clamp(1.8rem, 1.4rem + 2vw, 2.6rem);
  --fs-hero: clamp(2.4rem, 1.7rem + 3.4vw, 4.4rem);

  --fh-tight: 1.08;
  --fh-body: 1.6;

  /* Spacing (8px grid) */
  --sp-1: 0.5rem;   /* 8   */
  --sp-2: 0.75rem;  /* 12  */
  --sp-3: 1rem;     /* 16  */
  --sp-4: 1.5rem;   /* 24  */
  --sp-5: 2rem;     /* 32  */
  --sp-6: 3rem;     /* 48  */
  --sp-7: 4.5rem;   /* 72  */
  --sp-8: 6rem;     /* 96  */

  /* Radii — only 4 / 8 / 12 */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10, 20, 32, 0.08);
  --shadow-md: 0 2px 8px rgba(10, 20, 32, 0.08), 0 8px 24px rgba(10, 20, 32, 0.06);
  --shadow-lg: 0 12px 40px rgba(10, 20, 32, 0.16);

  /* Layout */
  --container: 76rem;      /* 1216px */
  --nav-h: 4.5rem;

  --focus: 3px solid rgba(0, 120, 200, 0.5);
}

html[dir="rtl"] {
  --font-sans:    "Tajawal", ui-sans-serif, system-ui, Arial, sans-serif;
  --font-display: "Cairo", ui-sans-serif, system-ui, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--fh-body);
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: var(--fh-tight);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: var(--sea); text-decoration: none; }

a:hover { text-decoration: none; }

img, svg { display: inline-block; vertical-align: middle; }
img { max-width: 100%; height: auto; }

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

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus { outline: none; }
:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

::selection { background: var(--turq); color: var(--ink); }

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section { padding-block: var(--sp-7); }
.section--alt { background: var(--mist); }

/* Faint photo wash behind a light section — keeps text readable */
.section--photo { position: relative; }
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(244, 249, 253, 0.78), rgba(244, 249, 253, 0.86)),
    url("../images/hero.webp") center 18% / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}
.section--photo > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-dark);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--turq);
  border-radius: 2px;
}

.section-head {
  max-width: 42rem;
  margin-bottom: var(--sp-6);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow::before { display: none; }

.section-title {
  margin-top: var(--sp-2);
  font-size: var(--fs-3xl);
}

.section-title--compact { font-size: var(--fs-2xl); }

.section-sub {
  margin-top: var(--sp-3);
  font-size: var(--fs-lg);
  color: var(--ink-soft);
}

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

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--deep);
  color: var(--white);
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

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

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
              transform 0.18s ease, box-shadow 0.18s ease;
}

.btn svg { width: 1.125rem; height: 1.125rem; }

.btn--cta { background: var(--red); color: var(--white); box-shadow: 0 6px 20px rgba(230, 0, 0, 0.28); }
.btn--cta:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn--cta:active { transform: translateY(0); box-shadow: none; }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

.btn--outline { background: var(--white); color: var(--sea); border: 1px solid rgba(0, 120, 200, 0.35); }
.btn--outline:hover { background: var(--sea); color: var(--white); border-color: var(--sea); }

.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--mist); }

.btn--wa { background: var(--green); color: var(--white); }
.btn--wa:hover { background: var(--green-dark); }

.btn--sm { min-height: 2.5rem; padding: 0.375rem 1.125rem; font-size: 0.8125rem; }
.btn--lg { min-height: 3.5rem; padding: 0.875rem 2rem; font-size: var(--fs-base); }

.cta-row {
  margin-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}
.cta-row .btn { min-width: 12rem; }

.hero__actions .btn { min-width: 12rem; }

/* --------------------------------------------------------------------------
   5. Icons
   -------------------------------------------------------------------------- */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 10, 20, 0.62), rgba(2, 10, 20, 0));
  opacity: 1;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.site-header.is-scrolled {
  background: rgba(11, 46, 74, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.site-header.is-scrolled::after { opacity: 0; }

.nav {
  position: relative;
  z-index: 2;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-inline-end: auto;
  color: var(--white);
}

.nav__logo {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--white);
}
.nav__wordmark small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--turq);
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-1);
}

.nav__link {
  position: relative;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav__link:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  inset-inline: 0.875rem;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--turq);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.nav__cta { display: none; }

/* Language switcher */
.lang {
  position: relative;
  display: inline-flex;
}

.lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background-color 0.15s ease;
}

.lang__trigger:hover { background: rgba(255, 255, 255, 0.2); }

.lang__globe { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.lang__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  inset-inline-end: 0;
  min-width: 10.5rem;
  padding: 0.375rem;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}

.lang__panel.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.lang__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0.625rem;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: start;
  transition: background-color 0.12s ease;
}

.lang__option:hover { background: var(--mist); }
.lang__option.is-active { color: var(--sea-dark); background: rgba(0, 120, 200, 0.08); }

.lang__code { font-size: var(--fs-xs); color: var(--ink-soft); font-weight: 700; }

/* Burger */
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.burger svg { width: 1.375rem; height: 1.375rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* --------------------------------------------------------------------------
   7. Mobile drawer
   -------------------------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  background: var(--deep);
  background-image:
    radial-gradient(60rem 30rem at 110% -10%, rgba(24, 168, 240, 0.16), transparent 60%),
    radial-gradient(50rem 26rem at -20% 110%, rgba(0, 120, 200, 0.2), transparent 60%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-3%);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.drawer__close svg { width: 1.375rem; height: 1.375rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.drawer__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding-inline: 1.75rem;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.25rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.15s ease;
}

.drawer__link:hover { color: var(--turq); }
.drawer__link.is-active { color: var(--turq); }

.drawer__arrow { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.drawer__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding: 1.25rem 1.75rem 2rem;
}

.drawer__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.drawer__lang.is-active { background: var(--sea); border-color: var(--sea); }
.drawer__lang:not(.is-active):hover { background: rgba(255, 255, 255, 0.1); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(3, 14, 28, 0.85) 0%,
      rgba(6, 34, 62, 0.62) 42%,
      rgba(9, 40, 68, 0.26) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  gap: var(--sp-6);
  padding-block: calc(var(--nav-h) + var(--sp-7)) var(--sp-7);
}

.hero__content { max-width: 42rem; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(24, 168, 240, 0.16);
  border: 1px solid rgba(24, 168, 240, 0.45);
  color: #bde6ff;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__badge svg { width: 0.875rem; height: 0.875rem; stroke: currentColor; fill: none; stroke-width: 2.25; stroke-linecap: round; }

.hero__title {
  margin-top: var(--sp-4);
  font-size: var(--fs-hero);
  color: var(--white);
  text-wrap: balance;
}

.hero__title em {
  font-style: normal;
  color: var(--turq);
}

.hero__sub {
  margin-top: var(--sp-4);
  max-width: 34rem;
  font-size: var(--fs-lg);
  color: rgba(244, 249, 253, 0.85);
  text-wrap: pretty;
}

.hero__actions {
  margin-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hero__meta {
  margin-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--white);
}

.hero__stat span {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 249, 253, 0.85);
  text-shadow: 0 1px 6px rgba(2, 10, 20, 0.45);
}

/* Windfinder card */
.windfinder {
  width: 100%;
  max-width: 40rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-lg);
  align-self: start;
  overflow: visible;
}

.windfinder__head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.125rem;
  background: var(--deep);
  color: var(--white);
}

.windfinder__head svg { width: 1.125rem; height: 1.125rem; stroke: var(--turq); fill: none; stroke-width: 2; stroke-linecap: round; }

.windfinder__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.windfinder__spot {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: rgba(24, 168, 240, 0.28);
  color: #bde6ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.windfinder__body {
  position: relative;
  min-height: 420px;
  display: block;
}

.windfinder__body iframe { display: block; width: 100%; height: auto; min-height: 430px; border: 0; }
.windfinder__fallback { font-size: var(--fs-sm); color: var(--ink-soft); padding: var(--sp-3); }
.windfinder__fallback a { font-weight: 700; }

@media (max-width: 767px) {
  .windfinder__body {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .windfinder__body iframe {
    width: 640px;
    min-width: 640px;
    height: auto;
    min-height: 420px;
  }
}

.hero__scroll {
  position: absolute;
  inset-inline: 0;
  bottom: var(--sp-4);
  z-index: 3;
  text-align: center;
}

.hero__scroll a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(2, 10, 20, 0.5);
}

.hero__scroll svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; animation: nudge 2.2s ease-in-out infinite; }

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

/* --------------------------------------------------------------------------
   9. About
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}

.about__card {
  display: grid;
  gap: var(--sp-4);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.about__stat {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}

.about__stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--sea);
  font-variant-numeric: tabular-nums;
}

.about__stat-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink);
}

.about__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--sp-4);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-xl);
  color: var(--sea);
}

.about__tagline svg { width: 1.5rem; height: 1.5rem; stroke: var(--turq); fill: none; stroke-width: 2; stroke-linecap: round; }

/* About photo */
.about__side { display: grid; gap: var(--sp-4); align-content: center; }
.about__img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.about__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(3, 14, 28, 0.05) 55%, rgba(3, 14, 28, 0.5));
}
.about__tag {
  position: absolute;
  inset-inline-start: var(--sp-3);
  bottom: var(--sp-3);
  z-index: 1;
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 700;
}

/* Feature bullets */
.feat {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.feat:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.feat__icon {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(0, 120, 200, 0.1);
  color: var(--sea);
}

.feat__icon svg { width: 1.375rem; height: 1.375rem; }

.feat__body h3 { font-size: var(--fs-lg); }
.feat__body p { margin-top: 0.25rem; font-size: var(--fs-sm); }

.feat--light {
  border-color: var(--line-light);
  background:
    linear-gradient(150deg, rgba(8, 32, 54, 0.84), rgba(5, 20, 36, 0.92)),
    radial-gradient(36rem 20rem at 100% 0%, rgba(24, 168, 240, 0.22), transparent 60%),
    url("../images/flow.webp") center 45% / cover no-repeat;
}
.feat--light .feat__icon { background: rgba(24, 168, 240, 0.18); color: var(--turq); }
.feat--light h3 { color: var(--white); }
.feat--light p { color: rgba(244, 249, 253, 0.88); }

/* --------------------------------------------------------------------------
   10. Steps (how it works)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: var(--sp-4);
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--sp-4);
  padding-top: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.step__num {
  position: absolute;
  top: -0.875rem;
  inset-inline-start: var(--sp-4);
  min-width: 1.75rem;
  height: 1.75rem;
  padding-inline: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--sea);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 800;
}

.step__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(0, 120, 200, 0.1);
  color: var(--sea);
  margin-bottom: var(--sp-3);
}

.step__icon svg { width: 1.25rem; height: 1.25rem; }
.step h3 { font-size: var(--fs-lg); }
.step p { margin-top: 0.5rem; font-size: var(--fs-sm); }

/* --------------------------------------------------------------------------
   11. Service cards
   -------------------------------------------------------------------------- */
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.svc::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sea), var(--turq));
  opacity: 0;
  transition: opacity 0.18s ease;
}

.svc:focus-within,
.svc:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.svc:focus-within::before,
.svc:hover::before { opacity: 1; }

.svc__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(0, 120, 200, 0.1);
  color: var(--sea);
}

.svc__icon svg { width: 1.5rem; height: 1.5rem; }
.svc h3 { font-size: var(--fs-xl); }
.svc p { font-size: var(--fs-sm); flex: 1; }

.svc__list { display: grid; gap: 0.5rem; margin-top: auto; }
.svc__list li { display: flex; gap: 0.625rem; align-items: flex-start; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.svc__list svg { width: 1.125rem; height: 1.125rem; stroke: var(--green); fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; margin-top: 0.1rem; }

.svc__link {
  margin-top: var(--sp-3);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--sea);
}
.svc__link svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s ease; }
.svc__link:hover svg { transform: translateX(3px); }
html[dir="rtl"] .svc__link:hover svg { transform: translateX(-3px); }

/* --------------------------------------------------------------------------
   12. Dark sections (team / offers / flow banner)
   -------------------------------------------------------------------------- */
.section--dark {
  background: var(--deep);
  background-image:
    radial-gradient(70rem 40rem at 100% 0%, rgba(24, 168, 240, 0.12), transparent 55%),
    radial-gradient(60rem 36rem at 0% 100%, rgba(0, 120, 200, 0.14), transparent 55%);
  color: rgba(244, 249, 253, 0.82);
}

.section--dark .section-title { color: var(--white); }
.section--dark .section-sub { color: rgba(244, 249, 253, 0.72); }
.section--dark .eyebrow { color: var(--turq); }

.team__intro { max-width: 40rem; font-size: var(--fs-lg); color: rgba(244, 249, 253, 0.82); }

.team__grid {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

/* Banner with waves */
.flow {
  position: relative;
  text-align: center;
  padding-block: 0;
}

.flow__band {
  position: relative;
  padding-block: clamp(4rem, 9vw, 6.5rem);
  background: var(--deep);
  background-image:
    linear-gradient(180deg, rgba(4, 20, 36, 0.5), rgba(4, 20, 36, 0.72)),
    url("../images/flow.webp");
  background-size: auto, cover;
  background-position: center, center 50%;
  color: var(--white);
  overflow: hidden;
}

.flow__swoosh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.flow__swoosh svg { width: 100%; height: 100%; }
.swoosh-line { fill: none; }
.swoosh-a { stroke: rgba(24, 168, 240, 0.5); stroke-width: 2; stroke-dasharray: 7 11; animation: wind-flow 9s linear infinite; }
.swoosh-b { stroke: rgba(255, 255, 255, 0.17); stroke-width: 2.5; stroke-dasharray: 3 9; animation: wind-flow 6s linear infinite reverse; }
.swoosh-c { stroke: rgba(24, 168, 240, 0.28); stroke-width: 2; stroke-dasharray: 10 14; animation: wind-flow 12s linear infinite; }
@keyframes wind-flow { to { stroke-dashoffset: -240; } }

.flow__inner {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin-inline: auto;
}

.flow__title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.06;
  color: var(--white);
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(2, 12, 24, 0.45);
}

.flow__sub {
  margin: var(--sp-3) auto 0;
  color: rgba(244, 249, 253, 0.82);
  font-size: var(--fs-lg);
  max-width: 38rem;
  text-wrap: balance;
}

.flow__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  padding: 0;
  list-style: none;
}

.flow__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(189, 230, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 34, 58, 0.55);
  color: #eaf6ff;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.flow__chip svg { width: 1rem; height: 1rem; }

.flow__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: var(--sp-5);
  color: #bde6ff;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}
.flow__link:hover { color: var(--white); }
.flow__link svg { width: 1.05rem; height: 1.05rem; }

/* --------------------------------------------------------------------------
   13. Skills & training
   -------------------------------------------------------------------------- */
.skill { overflow: hidden; }

.skill__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: 0.5rem;
}

.skill__row h3 { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }

.skill__value { font-family: var(--font-sans); font-weight: 800; color: var(--sea); font-variant-numeric: tabular-nums; }

.skill__track {
  height: 8px;
  border-radius: 8px;
  background: rgba(10, 20, 32, 0.08);
  overflow: hidden;
}

.skill__fill {
  height: 100%;
  width: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--turq), var(--sea));
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

html[dir="rtl"] .skill__fill { transform: scaleX(-1); }

/* Training */
.training__grid {
  display: grid;
  gap: var(--sp-4);
}

.train {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.train:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.train--feature {
  position: relative;
  background: linear-gradient(180deg, var(--sea) 0%, var(--deep) 130%);
  color: var(--white);
  border: none;
}

.train--feature .train__tag {
  position: absolute;
  top: var(--sp-3);
  inset-inline-end: var(--sp-3);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #bde6ff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.train--feature h3 { color: var(--white); font-size: var(--fs-xl); }
.train--feature p { color: rgba(244, 249, 253, 0.8); }

.train__price { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 800; color: var(--sea); }
.train--feature .train__price { color: var(--white); }

.train__body { flex: 1; }

@media (min-width: 768px) {
  .train__body { display: grid; grid-template-columns: auto 1fr; gap: 0 1.5rem; align-items: start; }
  .train__price { grid-row: span 3; }
}

/* --------------------------------------------------------------------------
   14. Offers grid
   -------------------------------------------------------------------------- */
.offer {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.offer:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.offer__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(0, 120, 200, 0.1);
  color: var(--sea);
}
.offer__icon svg { width: 1.375rem; height: 1.375rem; }
.offer h3 { font-size: var(--fs-lg); }
.offer p { font-size: var(--fs-sm); flex: 1; }

/* --------------------------------------------------------------------------
   15. Reviews
   -------------------------------------------------------------------------- */
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.review:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.review__head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.review__g {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.review__g svg { width: 1.25rem; height: 1.25rem; }

.review__who { min-width: 0; }
.review__name { display: block; font-weight: 700; color: var(--ink); font-size: var(--fs-sm); }
.review__byline { font-size: var(--fs-xs); color: var(--ink-soft); }

.review__stars { display: inline-flex; gap: 1px; color: #f4b400; }
.review__stars svg { width: 1rem; height: 1rem; fill: currentColor; stroke: none; }

.review__text { font-size: var(--fs-sm); flex: 1; color: var(--ink-soft); }

.review__posted {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-soft);
}
.review__posted svg { width: 0.875rem; height: 0.875rem; stroke: var(--sea); fill: none; stroke-width: 2; stroke-linecap: round; }

/* --------------------------------------------------------------------------
   16. Pricing
   -------------------------------------------------------------------------- */
.price { overflow: hidden; }

.price__group + .price__group { margin-top: var(--sp-5); }

.price__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.price__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
}

.price__table caption {
  caption-side: top;
  text-align: start;
  padding: var(--sp-4);
  background: var(--deep);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-lg);
}

.price__table th {
  padding: var(--sp-2) var(--sp-4);
  text-align: start;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.price__table th:not(:first-child) { text-align: end; }

.price__table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.price__table tbody tr:last-child td { border-bottom: none; }
.price__table tbody tr:hover td { background: var(--mist); }

.price__dur { color: var(--ink); font-weight: 700; text-align: start; }

.price__cell { text-align: end; }
.price__cell strong { font-family: var(--font-display); font-size: var(--fs-base); }

.price__cell--99 { color: var(--sea); }
.price__cell--2 { color: var(--green); }
.price__cell--m { color: var(--ink-soft); }

.svc-banner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
  margin: var(--sp-4) 0;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--sea);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(0, 120, 200, 0.06), rgba(255, 255, 255, 0) 60%);
}
.svc-banner .svc__icon {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-md);
  background: var(--sea);
  color: var(--white);
  display: grid;
  place-items: center;
}
.svc-banner .svc__icon svg { width: 1.5rem; height: 1.5rem; }
.svc-banner__body { min-width: 0; }
.svc-banner__title { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 800; color: var(--ink); }
.svc-banner__body p { margin-top: 0.25rem; color: var(--ink-soft); }

.svc-subhead {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: var(--sp-4) 0 var(--sp-2);
}
.svc-subhead__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--r-sm);
  background: rgba(0, 120, 200, 0.1);
  color: var(--sea);
}
.svc-subhead__icon svg { width: 1.125rem; height: 1.125rem; }
.svc-subhead h4 { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 800; color: var(--sea-dark); }

.svc-ins {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--sp-3);
  padding: var(--sp-3);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  background: rgba(0, 120, 200, 0.04);
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}
.svc-ins .svc-subhead__icon { flex: 0 0 auto; width: 1.75rem; height: 1.75rem; }
.svc-ins .svc-subhead__icon svg { width: 1rem; height: 1rem; }
.svc-ins__label { font-weight: 700; color: var(--ink); }
.svc-ins__chip {
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--sea-dark);
}

.price__note { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--ink-soft); }

/* Mobile pricing → stacked cards */
@media (max-width: 767px) {
  .price__table-wrap { border: none; background: none; box-shadow: none; }

  .price__table { min-width: 0; display: block; }
  .price__table caption { border-radius: var(--r-md); }
  .price__table thead { display: none; }
  .price__table tbody { display: grid; gap: var(--sp-3); padding-top: var(--sp-3); }
  .price__table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2);
    padding: var(--sp-3);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
  }
  .price__table td { display: block; padding: 0; border: none; background: none !important; white-space: normal; }
  .price__table tr:hover td { background: none; }

  .price__dur {
    grid-column: 1 / -1;
    font-family: var(--font-display);
    font-size: var(--fs-lg);
  }
  .price__table--n1 tbody tr { grid-template-columns: 1fr; }
  .price__table--n3 tbody tr { grid-template-columns: repeat(3, 1fr); }
  .price__cell { display: flex !important; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
  .price__cell::before {
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
}

/* --------------------------------------------------------------------------
   17. Team stats strip
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

.stat {
  padding: var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.stat__num { font-family: var(--font-display); font-size: var(--fs-2xl); font-weight: 800; color: var(--turq); }
.stat__label { font-size: var(--fs-sm); color: rgba(244, 249, 253, 0.78); margin-top: 0.125rem; }

/* --------------------------------------------------------------------------
   18. Contact / booking
   -------------------------------------------------------------------------- */
.contact__card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.contact__row { display: flex; gap: var(--sp-3); align-items: flex-start; }
.contact__icon {
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(0, 120, 200, 0.1);
  color: var(--sea);
}
.contact__icon svg {
  width: 1.375rem;
  height: 1.375rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact__row strong { display: block; color: var(--ink); font-size: var(--fs-sm); font-weight: 700; }
.contact__row a, .contact__row span { font-size: var(--fs-sm); color: var(--ink-soft); }

/* Form */
.form { display: grid; gap: var(--sp-4); }

.field { display: grid; gap: 0.5rem; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(10, 20, 32, 0.18);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: var(--fs-base);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 7rem; resize: vertical; }

.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(10, 20, 32, 0.36); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(0, 120, 200, 0.18);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233d5368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-inline-end: 2.5rem;
}
html[dir="rtl"] .field select { background-position: left 0.875rem center; }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.14); }

.field__error { font-size: var(--fs-xs); font-weight: 600; color: var(--red); min-height: 1em; }

/* Date range picker (two native calendar inputs: From – To) */
.date-group { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.date-group__input { flex: 1 1 9.5rem; }
.date-group__label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.date-group__sep { color: var(--ink-soft); font-weight: 700; }
.date-group__to { display: contents; }
.date-group[data-mode="single"] .date-group__range-label,
.date-group[data-mode="single"] .date-group__to { display: none; }
.date-group[data-mode="single"] .date-group__input { flex: 1 1 100%; }

.form__row { display: grid; gap: var(--sp-4); }

.form__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.form__actions .btn { flex: 1 1 13rem; justify-content: center; }

.form__hint { font-size: var(--fs-xs); color: var(--ink-soft); }

/* Booking tabs */
.booking__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--sp-4);
}
.booking__tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: var(--fs-base);
  font-weight: 700;
  padding: var(--sp-2) var(--sp-3);
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.booking__tab:hover { color: var(--ink); }
.booking__tab:focus-visible {
  outline: none;
  color: var(--red);
  border-color: var(--red);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.booking__tab.is-active { color: var(--red); border-color: var(--red); }

.form[hidden], [hidden] { display: none !important; }

.price__cta {
  display: flex;
  justify-content: center;
  padding-top: var(--sp-3);
}

/* Home course brief */
.pricing-brief {
  display: grid;
  gap: var(--sp-3);
  max-width: 44rem;
  margin-inline: auto;
}
.pbrief {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}
.pbrief__icon { flex: none; color: var(--green); }
.pbrief__icon svg { width: 1.125rem; height: 1.125rem; }
.pbrief__name { font-weight: 700; color: var(--ink); }
.pbrief__note { color: var(--ink-soft); font-size: var(--fs-sm); }

/* Photo gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.gallery__item {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  background: var(--deep);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery__item--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.gallery__styles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.gallery__style {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gallery__style:hover { border-color: var(--turq); color: var(--sea); }
.gallery__style[aria-pressed="true"] {
  background: var(--sea);
  border-color: var(--sea);
  color: var(--white);
}

/* Layout: Featured (hero image spans full row) */
#gallery-list[data-layout="featured"] { grid-template-columns: repeat(3, 1fr); }
#gallery-list[data-layout="featured"] .gallery__item { aspect-ratio: 4 / 3; }
#gallery-list[data-layout="featured"] .gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* Layout: Grid (clean uniform) */
#gallery-list[data-layout="grid"] { grid-template-columns: repeat(4, 1fr); }
#gallery-list[data-layout="grid"] .gallery__item { aspect-ratio: 4 / 3; }
#gallery-list[data-layout="grid"] .gallery__item--wide { grid-column: auto; aspect-ratio: 4 / 3; }

/* Layout: Mosaic (staggered masonry) */
#gallery-list[data-layout="mosaic"] { display: block; columns: 3; column-gap: var(--sp-3); }
#gallery-list[data-layout="mosaic"] .gallery__item {
  break-inside: avoid;
  margin-bottom: var(--sp-3);
  aspect-ratio: 4 / 3;
}
#gallery-list[data-layout="mosaic"] .gallery__item:nth-child(3n + 2) { aspect-ratio: 1 / 1; }
#gallery-list[data-layout="mosaic"] .gallery__item:nth-child(3n) { aspect-ratio: 3 / 4; }
#gallery-list[data-layout="mosaic"] .gallery__item--wide { aspect-ratio: 4 / 3; }

/* Layout: Film strip (horizontal swipe) */
#gallery-list[data-layout="strip"] {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-1);
}
#gallery-list[data-layout="strip"] .gallery__item {
  flex: 0 0 auto;
  width: clamp(240px, 30vw, 360px);
  aspect-ratio: 4 / 3;
  scroll-snap-align: start;
}
#gallery-list[data-layout="strip"] .gallery__item--wide { aspect-ratio: 4 / 3; }

/* Layout: Compact (tight squares) */
#gallery-list[data-layout="compact"] { grid-template-columns: repeat(6, 1fr); gap: var(--sp-2); }
#gallery-list[data-layout="compact"] .gallery__item { aspect-ratio: 1 / 1; }
#gallery-list[data-layout="compact"] .gallery__item--wide { grid-column: auto; aspect-ratio: 1 / 1; }

@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  #gallery-list[data-layout="grid"],
  #gallery-list[data-layout="featured"] { grid-template-columns: repeat(2, 1fr); }
  #gallery-list[data-layout="compact"] { grid-template-columns: repeat(3, 1fr); }
  #gallery-list[data-layout="mosaic"] { columns: 2; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
  #gallery-list[data-layout="grid"],
  #gallery-list[data-layout="featured"] { grid-template-columns: 1fr; }
  #gallery-list[data-layout="featured"] .gallery__item--wide { grid-column: span 1; }
  #gallery-list[data-layout="grid"] .gallery__item--wide { grid-column: span 1; }
  #gallery-list[data-layout="compact"] { grid-template-columns: repeat(2, 1fr); }
  #gallery-list[data-layout="mosaic"] { columns: 1; }
}

/* --------------------------------------------------------------------------
   19. Section hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: calc(var(--nav-h) + var(--sp-7)) var(--sp-6);
  background: var(--deep);
  background-image:
    radial-gradient(70rem 40rem at 90% 0%, rgba(24, 168, 240, 0.16), transparent 55%),
    linear-gradient(120deg, rgba(3, 14, 28, 0.78), rgba(9, 40, 68, 0.55)),
    var(--page-photo, url("../images/hero.webp"));
  background-size: auto, auto, cover;
  background-position: 0 0, 0 0, center 30%;
  color: var(--white);
  overflow: hidden;
}

.page-hero--services { --page-photo: url("../images/services.webp"); }
.page-hero--courses { --page-photo: url("../images/courses.webp"); }
.page-hero--booking { --page-photo: url("../images/booking.webp"); }

.page-hero h1 { color: var(--white); font-size: var(--fs-3xl); margin-top: var(--sp-2); }
.page-hero p { margin-top: var(--sp-3); max-width: 40rem; color: rgba(244, 249, 253, 0.8); font-size: var(--fs-lg); }
.page-hero .eyebrow { color: var(--turq); }
.page-hero .eyebrow::before { background: var(--turq); }

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--sp-4);
  font-size: var(--fs-xs);
  color: rgba(244, 249, 253, 0.72);
}
.breadcrumbs a { color: rgba(244, 249, 253, 0.88); font-weight: 600; }
.breadcrumbs a:hover { color: var(--turq); }
.breadcrumbs svg { width: 0.875rem; height: 0.875rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--deep);
  background-image:
    radial-gradient(60rem 30rem at 100% 100%, rgba(24, 168, 240, 0.1), transparent 55%);
  color: rgba(244, 249, 253, 0.75);
  padding-top: var(--sp-7);
}

.footer__grid {
  display: grid;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
}

.footer__brand p { margin-top: var(--sp-3); font-size: var(--fs-sm); max-width: 22rem; }

.footer__logo { height: 52px; width: auto; object-fit: contain; }

.footer h4 {
  color: var(--white);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.footer__links { display: grid; gap: 0.625rem; }
.footer__links a { color: rgba(244, 249, 253, 0.75); font-size: var(--fs-sm); transition: color 0.15s ease; }
.footer__links a:hover { color: var(--turq); }

.footer__contact { display: grid; gap: 0.875rem; }
.footer__contact li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-sm); }
.footer__contact svg { width: 1.125rem; height: 1.125rem; stroke: var(--turq); fill: none; stroke-width: 2; stroke-linecap: round; margin-top: 0.15rem; }
.footer__contact a { color: rgba(244, 249, 253, 0.85); }
.footer__contact a:hover { color: var(--turq); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
  color: rgba(244, 249, 253, 0.7);
}

.footer__credit { display: flex; flex-wrap: wrap; gap: 0.375rem; align-items: center; }
.footer__credit a { color: rgba(244, 249, 253, 0.7); text-decoration: underline; text-underline-offset: 2px; }
.footer__credit a:hover { color: var(--turq); }

/* --------------------------------------------------------------------------
   21. Floating WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 122, 0, 0.35);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.wa-float:hover { background: var(--green-dark); transform: translateY(-2px); }

.wa-float svg { width: 1.75rem; height: 1.75rem; fill: currentColor; }

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.5;
  z-index: -1;
  animation: pulse-ring 2.4s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.01s !important; }
}

/* --------------------------------------------------------------------------
   22. Reveal animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   23. Grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* --------------------------------------------------------------------------
   24. Media queries
   -------------------------------------------------------------------------- */
@media (min-width: 560px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .about__grid { grid-template-columns: 5fr 7fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5) var(--sp-4); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .training__grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .form__row--2 .field--full { grid-column: 1 / -1; }
  .hero__inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .team__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
}

@media (min-width: 1366px) {
  .section { padding-block: var(--sp-8); }
  .hero__inner { column-gap: var(--sp-7); }
}

/* --------------------------------------------------------------------------
   25. Additions — lang caret, reviews CTA, training list, booking page
   -------------------------------------------------------------------------- */
.lang__caret {
  width: 0.875rem;
  height: 0.875rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform 0.18s ease;
}

.lang__trigger[aria-expanded="true"] .lang__caret { transform: rotate(180deg); }

.lang__current { min-width: 1.75rem; text-align: center; }

.reviews__cta-wrap { margin-top: var(--sp-5); display: flex; justify-content: center; }

.train__list { display: grid; gap: 0.5rem; margin-top: auto; }
.train__list li { display: flex; gap: 0.625rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink); font-weight: 600; }
.train__list svg { width: 1.125rem; height: 1.125rem; stroke: var(--green); fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; margin-top: 0.1rem; }
.train--feature .train__list li { color: rgba(244, 249, 253, 0.85); }
.train__cta { margin-top: auto; }

.booking__grid { display: grid; gap: var(--sp-5); align-items: start; }

.booking__steps { display: grid; gap: var(--sp-3); margin-top: var(--sp-4); counter-reset: bstep; }
.bstep { display: flex; gap: var(--sp-3); align-items: center; font-size: var(--fs-sm); color: var(--ink-soft); }
.bstep__num {
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 120, 200, 0.1);
  color: var(--sea);
  font-weight: 800;
  font-size: var(--fs-xs);
}

.contact__rows { display: grid; gap: var(--sp-4); margin-top: var(--sp-4); }

.radios { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: stretch; }
.radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid rgba(10, 20, 32, 0.18);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.radio:hover { border-color: rgba(10, 20, 32, 0.36); }
.radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio__mark {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(10, 20, 32, 0.35);
  position: relative;
  transition: border-color 0.15s ease;
}
.radio__mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--sea);
  transform: scale(0);
  transition: transform 0.15s ease;
}
.radio input:checked + .radio__mark { border-color: var(--sea); }
.radio input:checked + .radio__mark::after { transform: scale(1); }
.radio input:focus-visible + .radio__mark { outline: var(--focus); outline-offset: 2px; }
.radio__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.radio.is-checked { border-color: var(--sea); background: rgba(0, 120, 200, 0.05); }

@media (min-width: 768px) {
  .booking__grid { grid-template-columns: 1.25fr 1fr; }
}

/* --------------------------------------------------------------------------
   26. Accessibility / rtl fixes
   -------------------------------------------------------------------------- */
.field fieldset { border: 0; padding: 0; margin: 0; }
.field legend {
  padding: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}

/* Arabic has no letter-spacing — strip tracking that would break connected script */
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .page-hero .eyebrow,
html[dir="rtl"] .price__table th,
html[dir="rtl"] .hero__stat span,
html[dir="rtl"] .hero__badge,
html[dir="rtl"] .hero__scroll a,
html[dir="rtl"] .train__tag,
html[dir="rtl"] .footer h4,
html[dir="rtl"] .windfinder__spot,
html[dir="rtl"] .lang__trigger,
html[dir="rtl"] .drawer__lang { letter-spacing: 0; }

html[dir="rtl"] .drawer__arrow,
html[dir="rtl"] .breadcrumbs svg { transform: scaleX(-1); }