﻿:root {
  --rescue-red: #e50914;
  --deep-red: #b30000;
  --dark-black: #050505;
  --charcoal: #111111;
  --soft-black: #1a1a1a;
  --white: #ffffff;
  --sand: #f5e8d0;
  --ocean: #00afcb;
  --soft-ocean: #e6fbff;
  --muted: #696969;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --font-heading: "Montserrat", "Poppins", system-ui, sans-serif;
  --font-body: "Inter", "Manrope", system-ui, sans-serif;
  --container: 1180px;
  --radius: 8px;
  --speed: 260ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  outline-color: var(--rescue-red);
}

::selection {
  color: var(--white);
  background: var(--rescue-red);
}

.site-shell {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 450ms ease, transform 450ms ease;
}

body.is-loaded .site-shell {
  opacity: 1;
  transform: translateY(0);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(229, 9, 20, 0.2), transparent 34%),
    var(--dark-black);
  transition: opacity 450ms ease, visibility 450ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.loader-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(229, 9, 20, 0.28));
  animation: pulseStamp 1.6s ease-in-out infinite;
}

.loader-bar {
  width: 190px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.loader-bar::before {
  content: "";
  display: block;
  width: 48%;
  height: 100%;
  border-radius: inherit;
  background: var(--rescue-red);
  animation: loadingSweep 1.1s ease-in-out infinite;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-shell .container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section-tight {
  padding: 72px 0;
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 10%, rgba(229, 9, 20, 0.24), transparent 32%),
    linear-gradient(135deg, var(--dark-black), var(--charcoal));
}

.section-sand {
  background:
    linear-gradient(115deg, rgba(245, 232, 208, 0.88), rgba(255, 255, 255, 0.98)),
    repeating-linear-gradient(135deg, rgba(179, 0, 0, 0.06) 0 1px, transparent 1px 14px);
}

.section-ocean {
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 175, 203, 0.12), transparent 30%),
    linear-gradient(180deg, var(--soft-ocean), var(--white));
}

.section-title {
  max-width: 780px;
  margin-bottom: 42px;
}

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

.section-title h2,
.section-title h1 {
  margin: 0;
  color: inherit;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-title p,
.lead {
  margin: 18px 0 0;
  color: color-mix(in srgb, currentColor 72%, transparent);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.78;
}

.text-red {
  color: var(--rescue-red);
}

.text-ocean {
  color: var(--ocean);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  transition: background var(--speed) ease, border-color var(--speed) ease, box-shadow var(--speed) ease, backdrop-filter var(--speed) ease;
}

.site-header.scrolled,
.site-header.menu-open {
  border-bottom: 1px solid rgba(229, 9, 20, 0.26);
  background: rgba(5, 5, 5, 0.86);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.88);
}

.nav-link {
  position: relative;
  padding: 30px 0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color var(--speed) ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--rescue-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--speed) ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: background var(--speed) ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--speed) ease, top var(--speed) ease;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.menu-toggle.is-open span {
  background: transparent;
}

.menu-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.btn {
  --btn-bg: var(--rescue-red);
  --btn-color: var(--white);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--btn-color);
  background: var(--btn-bg);
  box-shadow: 0 14px 30px rgba(229, 9, 20, 0.28);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--speed) ease, box-shadow var(--speed) ease, border-color var(--speed) ease, background var(--speed) ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 42px rgba(229, 9, 20, 0.38);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn-outline {
  --btn-bg: transparent;
  --btn-color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--rescue-red);
  background: rgba(229, 9, 20, 0.14);
}

.btn-dark {
  --btn-bg: var(--dark-black);
  --btn-color: var(--white);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.btn-sand {
  --btn-bg: var(--sand);
  --btn-color: var(--dark-black);
  box-shadow: none;
}

.btn-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.78rem;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--dark-black);
}

.page-hero {
  min-height: 74vh;
}

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

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  animation:
    heroImageFade 18s ease-in-out infinite,
    cinematicDrift 18s ease-in-out infinite alternate;
}

.hero-bg img:nth-child(2) {
  animation-delay: 6s, 0s;
}

.hero-bg img:nth-child(3) {
  animation-delay: 12s, 0s;
}

.hero-bg img:first-child:last-child {
  opacity: 1;
  animation: cinematicDrift 18s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.58) 45%, rgba(179, 0, 0, 0.2) 100%),
    radial-gradient(circle at 68% 45%, rgba(229, 9, 20, 0.38), transparent 34%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 860px;
  width: 100%;
  padding-top: 88px;
}

.hero h1 {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.hero p {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  font-size: 0.84rem;
  font-weight: 800;
}

.trust-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--rescue-red);
  box-shadow: 0 0 0 5px rgba(229, 9, 20, 0.16);
}

.floating-stamp {
  position: absolute;
  right: 8vw;
  bottom: 14vh;
  z-index: 2;
  width: clamp(130px, 15vw, 210px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid rgba(229, 9, 20, 0.72);
  border-radius: 50%;
  color: var(--white);
  background: rgba(5, 5, 5, 0.52);
  box-shadow: 0 0 0 10px rgba(229, 9, 20, 0.08), var(--shadow);
  backdrop-filter: blur(12px);
  transform: rotate(-9deg);
  animation: floatBadge 5s ease-in-out infinite;
}

.floating-stamp::before,
.floating-stamp::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(229, 9, 20, 0.72);
  border-radius: 50%;
}

.floating-stamp::after {
  inset: 24px;
}

.floating-stamp strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.9vw, 1.8rem);
  font-weight: 900;
  line-height: 0.94;
  text-align: center;
  text-transform: uppercase;
}

.wave-lines {
  position: absolute;
  right: -6vw;
  bottom: 7vh;
  z-index: 1;
  width: min(56vw, 720px);
  height: 150px;
  opacity: 0.38;
  pointer-events: none;
}

.wave-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 22px;
  border-top: 4px solid var(--rescue-red);
  border-radius: 50%;
  animation: waveMove 3.8s ease-in-out infinite;
}

.wave-lines span:nth-child(1) {
  top: 0;
}

.wave-lines span:nth-child(2) {
  top: 42px;
  animation-delay: 0.25s;
}

.wave-lines span:nth-child(3) {
  top: 84px;
  animation-delay: 0.5s;
}

.wave-divider {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 34px;
  overflow: hidden;
  color: var(--white);
}

.wave-divider.dark {
  color: var(--dark-black);
}

.wave-divider.sand {
  color: var(--sand);
}

.wave-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40px 20px at 40px 0, transparent 38px, currentColor 39px) 0 0 / 80px 100% repeat-x;
  animation: dividerMove 8s linear infinite;
}

.pricing-grid,
.card-grid,
.lesson-grid,
.feature-grid,
.policy-grid {
  display: grid;
  gap: 22px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lesson-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.glass-card,
.price-card,
.feature-card,
.lesson-card,
.step-card,
.testimonial-card,
.info-card,
.policy-card {
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
}

.section-dark .glass-card,
.section-dark .feature-card,
.section-dark .step-card,
.section-dark .testimonial-card,
.section-dark .info-card {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.price-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  transition: transform var(--speed) ease, border-color var(--speed) ease, box-shadow var(--speed) ease;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.1), transparent 44%),
    radial-gradient(circle at 88% 10%, rgba(0, 175, 203, 0.16), transparent 24%);
  opacity: 0;
  transition: opacity var(--speed) ease;
}

.price-card > * {
  position: relative;
  z-index: 1;
}

.price-card:hover,
.price-card.featured {
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 24px 70px rgba(229, 9, 20, 0.18);
  transform: translateY(-6px);
}

.price-card:hover::before,
.price-card.featured::before {
  opacity: 1;
}

.price-card.featured {
  background: var(--dark-black);
  color: var(--white);
}

.price-card .stamp-icon,
.feature-card .stamp-icon,
.step-card .stamp-icon,
.info-card .stamp-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--rescue-red);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 5px rgba(229, 9, 20, 0.08);
}

.price-card h3,
.feature-card h3,
.lesson-card h3,
.step-card h3,
.testimonial-card h3,
.info-card h3,
.policy-card h2,
.policy-card h3 {
  margin: 18px 0 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.18;
}

.price {
  margin: 18px 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.9;
}

.price-card p,
.feature-card p,
.lesson-card p,
.step-card p,
.testimonial-card p,
.info-card p,
.policy-card p,
.policy-card li {
  color: color-mix(in srgb, currentColor 70%, transparent);
  line-height: 1.68;
}

.check-list,
.tip-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.check-list li,
.tip-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-list li::before,
.tip-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--rescue-red);
  box-shadow: 0 0 0 5px rgba(229, 9, 20, 0.1);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.feature-card,
.info-card,
.policy-card {
  padding: 26px;
}

.media-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.media-split.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.media-frame {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame.small {
  min-height: 360px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 650ms ease;
}

.media-frame:hover img,
.lesson-card:hover img,
.gallery-item:hover img {
  transform: scale(1.07);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.media-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  max-width: 210px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(5, 5, 5, 0.66);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.lesson-card {
  overflow: hidden;
  transition: transform var(--speed) ease, box-shadow var(--speed) ease;
}

.lesson-card:hover {
  box-shadow: 0 28px 65px rgba(17, 17, 17, 0.16);
  transform: translateY(-5px);
}

.lesson-card .image {
  position: relative;
  aspect-ratio: 1.34;
  overflow: hidden;
  background: var(--charcoal);
}

.lesson-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease;
}

.lesson-card .content {
  padding: 22px;
}

.level-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(229, 9, 20, 0.32);
  border-radius: 999px;
  color: var(--rescue-red);
  background: rgba(229, 9, 20, 0.08);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.duration {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.feature-card {
  transition: transform var(--speed) ease, border-color var(--speed) ease, background var(--speed) ease;
}

.feature-card:hover {
  border-color: rgba(229, 9, 20, 0.34);
  transform: translateY(-4px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  grid-auto-rows: 230px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.16);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease, filter var(--speed) ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(179, 0, 0, 0.8), transparent 60%);
  opacity: 0;
  transition: opacity var(--speed) ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--speed) ease, transform var(--speed) ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.testimonial-card {
  padding: 26px;
}

.quote-mark {
  color: var(--rescue-red);
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.8;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(36px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(5, 5, 5, 0.92), rgba(179, 0, 0, 0.8)),
    url("../images/dakhla-lagoon-kitesurf.jpg?v=dr-v3-20260709") center / cover;
  box-shadow: var(--shadow);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  pointer-events: none;
}

.cta-panel h2 {
  position: relative;
  max-width: 850px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.cta-panel .hero-actions {
  position: relative;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  background: var(--white);
}

.section-dark .faq-item {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  border: 0;
  color: inherit;
  background: transparent;
  font-weight: 900;
  text-align: start;
  cursor: pointer;
}

.faq-question .faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-question .faq-icon::before,
.faq-question .faq-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--rescue-red);
  transition: transform var(--speed) ease;
}

.faq-question .faq-icon::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 22px 22px;
  color: color-mix(in srgb, currentColor 70%, transparent);
  line-height: 1.7;
}

.form-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 22px 58px rgba(17, 17, 17, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

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

.form-field label {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: var(--radius);
  color: var(--charcoal);
  background: rgba(245, 232, 208, 0.22);
  transition: border-color var(--speed) ease, box-shadow var(--speed) ease, background var(--speed) ease;
}

.form-field textarea {
  min-height: 132px;
  padding-top: 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--rescue-red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.12);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--deep-red);
  background: rgba(229, 9, 20, 0.06);
}

.field-error {
  min-height: 16px;
  color: var(--deep-red);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-status {
  margin-top: 18px;
  color: var(--deep-red);
  font-weight: 800;
}

.form-status.success {
  color: #067a46;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.map-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.82), rgba(179, 0, 0, 0.62)),
    url("../images/contact-dakhla-lagoon.jpg?v=dr-v3-20260709") center / cover;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.5) contrast(1.05);
}

.emergency-note {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--rescue-red), var(--deep-red));
  box-shadow: 0 20px 45px rgba(229, 9, 20, 0.24);
}

.emergency-note strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  background: var(--dark-black);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--rescue-red) 0 42px, transparent 42px 70px);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 42px;
  padding: 72px 0 48px;
}

.footer-brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 340px;
  margin: 18px 0 0;
  line-height: 1.72;
}

.footer-col h3 {
  margin: 0 0 18px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  transition: color var(--speed) ease, transform var(--speed) ease;
}

.footer-links a:hover {
  color: var(--rescue-red);
  transform: translateX(3px);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
  transition: background var(--speed) ease, transform var(--speed) ease;
}

.social-row a:hover {
  background: var(--rescue-red);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  right: 20px;
  z-index: 900;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
}

.floating-whatsapp {
  bottom: 92px;
  background: #25d366;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.34);
}

.floating-whatsapp .icon {
  width: 28px;
  height: 28px;
}

.back-to-top {
  bottom: 24px;
  background: var(--rescue-red);
  box-shadow: 0 16px 34px rgba(229, 9, 20, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--speed) ease, transform var(--speed) ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.stagger > * {
  transition-delay: calc(var(--i, 0) * 70ms);
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin: 42px 0 12px;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
}

.legal-content p,
.legal-content li {
  color: #434343;
  font-size: 1rem;
  line-height: 1.78;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  padding-inline-start: 22px;
}

@keyframes pulseStamp {
  0%,
  100% {
    transform: scale(1) rotate(-2deg);
  }
  50% {
    transform: scale(1.05) rotate(2deg);
  }
}

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

@keyframes cinematicDrift {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.1) translate3d(-1.2%, 0.8%, 0);
  }
}

@keyframes heroImageFade {
  0%,
  30% {
    opacity: 1;
  }
  38%,
  92% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0) rotate(-9deg);
  }
  50% {
    transform: translateY(-14px) rotate(-6deg);
  }
}

@keyframes waveMove {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-18px);
  }
}

@keyframes dividerMove {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 80px;
  }
}

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

@media (max-width: 1100px) {
  .nav-links {
    gap: 18px;
  }

  .nav-link {
    font-size: 0.76rem;
  }

  .card-grid,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .navbar {
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 0;
    max-height: calc(100vh - 92px);
    overflow: auto;
    padding: 12px;
    border: 1px solid rgba(229, 9, 20, 0.28);
    border-radius: var(--radius);
    background: rgba(5, 5, 5, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity var(--speed) ease, transform var(--speed) ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius);
  }

  .nav-link::after {
    bottom: 9px;
    left: 16px;
    right: auto;
    width: 42px;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-top: 88px;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.78) 0%, rgba(5, 5, 5, 0.48) 38%, rgba(5, 5, 5, 0.86) 100%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0.24) 58%, rgba(179, 0, 0, 0.2));
  }

  .floating-stamp {
    right: 22px;
    bottom: 8vh;
    opacity: 0.86;
  }

  .pricing-grid,
  .lesson-grid,
  .feature-grid,
  .policy-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-split,
  .media-split.reverse {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item:first-child,
  .gallery-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 680px) {
  .container,
  .site-shell .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .section-tight {
    padding: 56px 0;
  }

  .navbar {
    min-height: 68px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    font-size: 0.76rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
  }

  .nav-links {
    top: 68px;
  }

  .hero {
    min-height: 100svh;
    align-items: end;
    padding: 86px 0 64px;
  }

  .hero-bg img {
    object-position: 61% center;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.76) 0%, rgba(5, 5, 5, 0.38) 34%, rgba(5, 5, 5, 0.92) 100%),
      radial-gradient(circle at 72% 26%, rgba(255, 255, 255, 0.2), transparent 24%),
      linear-gradient(90deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.22) 62%, rgba(179, 0, 0, 0.18));
  }

  .hero-content {
    padding-top: 0;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.28rem, 10vw, 3.2rem);
    line-height: 0.98;
  }

  .page-hero {
    min-height: 68vh;
  }

  .hero p {
    max-width: 33ch;
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .hero .btn {
    width: 100%;
    min-height: 50px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }

  .trust-item {
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
    padding: 0 11px;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(5, 5, 5, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    line-height: 1.1;
  }

  .trust-item::before {
    width: 7px;
    height: 7px;
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.16);
  }

  .floating-stamp {
    display: none;
  }

  .wave-lines {
    display: none;
  }

  .wave-divider {
    height: 22px;
  }

  .pricing-grid,
  .card-grid,
  .lesson-grid,
  .feature-grid,
  .steps-row,
  .policy-grid,
  .testimonial-grid,
  .contact-cards,
  .form-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .media-frame,
  .media-frame.small {
    min-height: 300px;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .floating-whatsapp,
  .back-to-top {
    right: 14px;
    width: 52px;
    height: 52px;
  }

  .floating-whatsapp {
    bottom: 18px;
  }

  .back-to-top {
    bottom: 82px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    max-width: 10ch;
    font-size: clamp(1.95rem, 9vw, 2.18rem);
    overflow-wrap: break-word;
  }

  .hero p {
    font-size: 0.94rem;
  }

  .trust-item {
    padding-inline: 10px;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   Language switcher
   ========================================================================== */

.lang-switch {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--speed) ease, border-color var(--speed) ease;
}

.lang-toggle .icon {
  width: 18px;
  height: 18px;
}

.lang-toggle:hover {
  border-color: rgba(229, 9, 20, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.lang-current {
  min-width: 1.6em;
  text-align: center;
  text-transform: uppercase;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 160px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid rgba(229, 9, 20, 0.24);
  border-radius: var(--radius);
  background: rgba(5, 5, 5, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--speed) ease, transform var(--speed) ease;
}

.lang-switch.is-open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-menu li {
  display: block;
}

.lang-menu button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: calc(var(--radius) - 3px);
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
  transition: background var(--speed) ease, color var(--speed) ease;
}

.lang-menu button:hover {
  color: var(--white);
  background: rgba(229, 9, 20, 0.16);
}

.lang-menu button.is-active {
  color: var(--white);
  background: rgba(229, 9, 20, 0.28);
}

@media (max-width: 680px) {
  .lang-toggle {
    height: 42px;
    padding: 0 10px;
  }
}

/* ==========================================================================
   RTL (Arabic) layout adjustments
   ========================================================================== */

html[lang="ar"] body {
  font-family: "Cairo", var(--font-body);
}

html[lang="ar"] .section-title h1,
html[lang="ar"] .section-title h2,
html[lang="ar"] .hero h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .brand span,
html[lang="ar"] .nav-link,
html[lang="ar"] .btn,
html[lang="ar"] .floating-stamp strong {
  font-family: "Cairo", var(--font-heading);
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .floating-stamp {
  right: auto;
  left: 8vw;
}

html[dir="rtl"] .wave-lines {
  right: auto;
  left: -6vw;
}

html[dir="rtl"] .media-badge {
  right: auto;
  left: 18px;
}

html[dir="rtl"] .gallery-caption {
  right: 18px;
  left: 18px;
}

html[dir="rtl"] .floating-whatsapp,
html[dir="rtl"] .back-to-top {
  right: auto;
  left: 20px;
}

html[dir="rtl"] .nav-link::after {
  right: 0;
  left: 0;
  transform-origin: left;
}

html[dir="rtl"] .nav-link:hover::after,
html[dir="rtl"] .nav-link.is-active::after {
  transform-origin: right;
}

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

@media (max-width: 920px) {
  html[dir="rtl"] .nav-link::after {
    right: auto;
    left: 16px;
  }
}

@media (max-width: 680px) {
  html[dir="rtl"] .floating-whatsapp,
  html[dir="rtl"] .back-to-top {
    right: auto;
    left: 14px;
  }
}

/* ==========================================================================
   French label safeguards (longer average string length)
   ========================================================================== */

html[lang="fr"] .nav-link {
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}

@media (max-width: 1100px) {
  html[lang="fr"] .nav-links {
    gap: 12px;
  }

  html[lang="fr"] .nav-link {
    font-size: 0.68rem;
  }
}

html[lang="fr"] .btn {
  padding-inline: 18px;
  letter-spacing: -0.01em;
}

html[lang="fr"] .btn:not(.btn-small) {
  font-size: 0.82rem;
}

html[lang="fr"] .lang-toggle {
  font-size: 0.72rem;
  padding-inline: 10px;
}

html[lang="fr"] .trust-item {
  font-size: 0.78rem;
}
