/* ==========================================================================
   MIS NURUL FALAH CIATER
   Modern Islamic green — single-page stylesheet
   ========================================================================== */

:root {
  --green-950: #042b1b;
  --green-900: #063a24;
  --green-800: #07492d;
  --green-700: #005a33;
  --green-600: #006030;
  --green-500: #11804a;
  --green-400: #3a9c68;
  --ink: #16261e;
  --ink-soft: #465a4f;
  --muted: #6b7d72;
  --cream: #fbf8f0;
  --cream-dark: #f2ecdf;
  --white: #fffdf8;
  --sage: #e8f0e5;
  --sage-dark: #cfe0ca;
  --gold: #c7a355;
  --gold-light: #e3c987;
  --line: rgba(6, 58, 36, 0.13);
  --line-light: rgba(255, 253, 248, 0.18);
  --shadow-sm: 0 8px 24px rgba(4, 43, 27, 0.06);
  --shadow-md: 0 24px 60px rgba(4, 43, 27, 0.12);
  --shadow-lg: 0 40px 100px rgba(4, 43, 27, 0.2);
  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-arabic: "Amiri", "Traditional Arabic", serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1200px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button {
  cursor: pointer;
}

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

p {
  margin: 0 0 1rem;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--green-900);
}

::selection {
  background: var(--gold-light);
  color: var(--green-950);
}

:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 4px;
  border-radius: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5000;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--green-900);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

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

.section {
  position: relative;
  padding-block: clamp(4.75rem, 9vw, 7.5rem);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 {
  max-width: 15ch;
  font-size: clamp(2.3rem, 4.2vw, 3.65rem);
}

.section-head__lead {
  max-width: 46ch;
  margin: 0;
  padding-bottom: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

.section-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.section-head--center h2 {
  max-width: 17ch;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
  color: var(--green-600);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--gold-light);
}

.eyebrow__star {
  font-size: 0.9em;
  color: var(--gold);
}

.eyebrow--center {
  justify-content: center;
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.72rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--green-900);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .icon {
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--sm {
  min-height: 40px;
  padding: 0.55rem 1.1rem;
  font-size: 0.76rem;
}

.btn--lg {
  min-height: 52px;
  padding: 0.9rem 1.7rem;
  font-size: 0.86rem;
}

.btn--primary {
  background: var(--green-700);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 90, 51, 0.2);
}

.btn--primary:hover {
  background: var(--green-900);
  box-shadow: 0 14px 34px rgba(4, 43, 27, 0.25);
}

.btn--gold {
  background: var(--gold-light);
  color: var(--green-950);
  box-shadow: 0 12px 30px rgba(199, 163, 85, 0.18);
}

.btn--gold:hover {
  background: #edd79b;
}

.btn--ghost-light {
  border-color: rgba(255, 253, 248, 0.35);
  color: var(--white);
}

.btn--ghost-light:hover {
  border-color: var(--gold-light);
  background: rgba(255, 253, 248, 0.08);
  color: var(--gold-light);
}

.btn--ghost {
  border-color: rgba(255, 253, 248, 0.3);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn--outline {
  border-color: var(--green-600);
  color: var(--green-700);
}

.btn--outline:hover {
  background: var(--green-700);
  color: var(--white);
}

/* --- Top bar ------------------------------------------------------------ */
.topbar {
  position: relative;
  z-index: 101;
  background: var(--green-950);
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 36px;
  padding-block: 0.4rem;
}

.topbar__notice,
.topbar__links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

.topbar__notice {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar__links {
  gap: 0.8rem;
}

.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.topbar__links a:hover {
  color: var(--gold-light);
}

.topbar__links .icon {
  width: 0.9rem;
  height: 0.9rem;
}

.topbar__sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 253, 248, 0.25);
}

.dot-pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 0 rgba(227, 201, 135, 0.7);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 201, 135, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(227, 201, 135, 0); }
  100% { box-shadow: 0 0 0 0 rgba(227, 201, 135, 0); }
}

/* --- Header / navigation ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(251, 248, 240, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 248, 240, 0.97);
  box-shadow: 0 12px 40px rgba(4, 43, 27, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  flex: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(4, 43, 27, 0.12));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand__text small {
  margin-top: 0.36rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
  margin-left: auto;
}

.nav > a:not(.btn) {
  position: relative;
  padding: 0.4rem 0;
  color: var(--ink-soft);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  transition: color 0.2s ease;
}

.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.1rem;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav > a:not(.btn):hover,
.nav > a:not(.btn).is-active {
  color: var(--green-700);
}

.nav > a:not(.btn):hover::after,
.nav > a:not(.btn).is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__mobile-cta {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--green-900);
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s ease,
    top 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 990;
  pointer-events: none;
  display: block;
  border: 0;
  background: rgba(3, 27, 17, 0.55);
  opacity: 0;
  visibility: hidden;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

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

body.is-menu-open .site-header {
  z-index: 1100;
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.75rem, 7vw, 6.5rem) 3.5rem;
  background:
    radial-gradient(ellipse 80% 65% at 82% 8%, rgba(26, 132, 79, 0.35), transparent 62%),
    radial-gradient(ellipse 55% 45% at 3% 95%, rgba(199, 163, 85, 0.12), transparent 60%),
    linear-gradient(140deg, #052f1e 0%, #063a24 38%, #07462b 72%, #063923 100%);
  color: rgba(255, 253, 248, 0.86);
  scroll-margin-top: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: -24rem;
  right: -16rem;
  width: 56rem;
  height: 56rem;
  border: 1px solid rgba(227, 201, 135, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(227, 201, 135, 0.025),
    0 0 0 9rem rgba(227, 201, 135, 0.02);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -22rem;
  left: -12rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(255, 253, 248, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(227, 201, 135, 0.18) 1px, transparent 0),
    linear-gradient(135deg, transparent 47%, rgba(255, 253, 248, 0.035) 47% 53%, transparent 53%);
  background-size: 26px 26px, 78px 78px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
  opacity: 0.55;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-block: 1rem;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 1.6rem;
  color: var(--white);
  font-size: clamp(3.2rem, 6.4vw, 5.6rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero h1 em {
  color: var(--gold-light);
  font-weight: 400;
}

.hero__lead {
  max-width: 50ch;
  margin-bottom: 2rem;
  color: rgba(255, 253, 248, 0.74);
  font-size: clamp(0.96rem, 1.25vw, 1.08rem);
  line-height: 1.85;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.3rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 253, 248, 0.14);
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__trust .icon {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gold-light);
}

.hero__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 510px;
  min-height: 540px;
  margin-left: auto;
  padding: 0 1.6rem 2.8rem 2.2rem;
}

.hero__arch {
  position: relative;
  width: min(82%, 405px);
  aspect-ratio: 0.76;
  margin-left: auto;
  padding: 10px;
  border: 1px solid rgba(227, 201, 135, 0.55);
  border-radius: 50% 50% 26px 26px / 42% 42% 26px 26px;
  background: linear-gradient(150deg, rgba(255, 253, 248, 0.14), rgba(255, 253, 248, 0.02));
  box-shadow: 0 35px 80px rgba(2, 24, 14, 0.4);
}

.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 50% 50% 19px 19px / 42% 42% 19px 19px;
}

.hero__arch-label {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: 0.62rem 0.8rem;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 999px;
  background: rgba(4, 43, 27, 0.68);
  color: var(--white);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero__mini {
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  width: 39%;
  aspect-ratio: 1.16;
  padding: 7px;
  border: 1px solid rgba(227, 201, 135, 0.4);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 22px 50px rgba(2, 24, 14, 0.38);
  transform: rotate(-3deg);
}

.hero__mini img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  top: 4.5rem;
  right: -0.6rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 94px;
  border: 1px solid rgba(199, 163, 85, 0.7);
  border-radius: 50%;
  background: var(--cream);
  color: var(--green-900);
  box-shadow: 0 16px 38px rgba(2, 24, 14, 0.25);
  text-align: center;
}

.hero__badge-star {
  position: absolute;
  top: -0.35rem;
  color: var(--gold);
  font-size: 1rem;
}

.hero__badge strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 0.9;
}

.hero__badge > span:last-child {
  margin-top: 0.1rem;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero__arabic {
  position: absolute;
  top: 4%;
  right: -0.25rem;
  margin: 0;
  color: rgba(227, 201, 135, 0.34);
  font-family: var(--font-arabic);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1;
  writing-mode: vertical-rl;
  letter-spacing: 0.08em;
}

.stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding: 1.7rem 1.4rem;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.3rem 1rem;
  border-right: 1px solid rgba(255, 253, 248, 0.13);
  text-align: center;
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 2.9rem);
  font-weight: 500;
  line-height: 1;
}

.stat__suffix {
  color: var(--gold-light);
}

.stat > span:last-child {
  color: rgba(255, 253, 248, 0.6);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.stat--text strong {
  color: var(--gold-light);
}

/* --- About -------------------------------------------------------------- */
.about {
  background:
    radial-gradient(circle at 100% 0%, rgba(207, 224, 202, 0.4), transparent 35%),
    var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(3.5rem, 7vw, 7rem);
  align-items: center;
}

.about__media {
  position: relative;
  min-height: 570px;
  padding-bottom: 3rem;
}

.about__photo {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.about__photo:hover img {
  transform: scale(1.035);
}

.about__photo--main {
  width: 78%;
  height: 500px;
  border: 7px solid var(--white);
  border-radius: 210px 22px 22px 22px;
}

.about__photo--main img {
  border-radius: 200px 16px 16px 16px;
}

.about__photo--small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 250px;
  border: 7px solid var(--white);
  border-radius: 18px;
}

.about__photo--small img {
  border-radius: 12px;
}

.about__seal {
  position: absolute;
  top: 0;
  right: 0.5rem;
  width: 116px;
  height: 116px;
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  animation: slow-spin 40s linear infinite;
}

.about__seal svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.8;
}

.about__seal svg path {
  fill: var(--green-600);
  stroke: none;
}

.about__seal svg text {
  fill: var(--green-900);
  stroke: none;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

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

.about__copy h2 {
  max-width: 13ch;
  margin-bottom: 1.35rem;
  font-size: clamp(2.35rem, 4vw, 3.6rem);
}

.about__copy > p {
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.85;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.2rem;
  margin: 1.7rem 0 2rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.55;
}

.checklist__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green-600);
}

.checklist__icon .icon {
  width: 0.8rem;
  height: 0.8rem;
  stroke-width: 2.4;
}

.principal {
  position: relative;
  margin: 0;
  padding: 1.5rem 1.6rem 1.4rem 2rem;
  border-left: 2px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, var(--sage), rgba(232, 240, 229, 0.35));
}

.principal__mark {
  position: absolute;
  top: -0.4rem;
  left: 0.7rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  opacity: 0.55;
}

.principal p {
  position: relative;
  margin-bottom: 0.8rem;
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.35;
}

.principal footer {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.principal footer strong {
  color: var(--green-700);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.principal footer span {
  color: var(--muted);
  font-size: 0.68rem;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: clamp(4rem, 7vw, 6.5rem);
}

.vm-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: clamp(1.8rem, 3.5vw, 3rem);
  border-radius: var(--radius-lg);
}

.vm-card__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1.3rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.75;
}

.vm-card__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.vm-card h3 {
  margin-bottom: 0.7rem;
  font-size: 2rem;
}

.vm-card p,
.vm-card li {
  font-size: 0.9rem;
  line-height: 1.75;
}

.vm-card--vision {
  background:
    radial-gradient(circle at 90% 10%, rgba(227, 201, 135, 0.16), transparent 40%),
    var(--green-900);
  color: rgba(255, 253, 248, 0.72);
}

.vm-card--vision h3 {
  color: var(--gold-light);
}

.vm-card--vision p {
  max-width: 38ch;
  margin: 0;
}

.vm-card__arabic {
  position: absolute;
  right: 1.7rem;
  bottom: 1.2rem;
  color: rgba(227, 201, 135, 0.22);
  font-family: var(--font-arabic);
  font-size: 1.4rem;
}

.vm-card--mission {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.vm-card--mission .vm-card__icon {
  color: var(--green-600);
}

.vm-card--mission ul {
  display: grid;
  gap: 0.62rem;
}

.vm-card--mission li {
  position: relative;
  padding-left: 1.1rem;
}

.vm-card--mission li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}

.value {
  padding: 0 1.7rem;
  border-right: 1px solid var(--line);
}

.value:first-child {
  padding-left: 0;
}

.value:last-child {
  border-right: 0;
  padding-right: 0;
}

.value__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green-600);
}

.value__icon .icon {
  width: 1.15rem;
  height: 1.15rem;
}

.value h3 {
  margin-bottom: 0.4rem;
  font-size: 1.45rem;
  font-weight: 600;
}

.value p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

/* --- Program ------------------------------------------------------------ */
.program {
  background:
    linear-gradient(rgba(6, 58, 36, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 58, 36, 0.026) 1px, transparent 1px),
    var(--sage);
  background-size: 52px 52px, 52px 52px, auto;
}

.program__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.program-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border: 1px solid rgba(6, 58, 36, 0.1);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.program-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  color: var(--green-600);
}

.program-card__icon .icon {
  width: 1.35rem;
  height: 1.35rem;
}

.program-card h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.65rem, 2.3vw, 2rem);
  line-height: 1.1;
}

.program-card > p {
  max-width: 38ch;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.8;
}

.program-card__list {
  display: grid;
  gap: 0.48rem;
  margin-top: 1.3rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.program-card__list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.program-card__list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.program-card--feature {
  border-color: rgba(227, 201, 135, 0.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 201, 135, 0.16), transparent 38%),
    var(--green-900);
  color: rgba(255, 253, 248, 0.72);
  box-shadow: 0 24px 55px rgba(4, 43, 27, 0.2);
}

.program-card--feature:hover {
  box-shadow: 0 34px 75px rgba(4, 43, 27, 0.28);
}

.program-card--feature .program-card__icon {
  border-color: rgba(227, 201, 135, 0.38);
  background: rgba(255, 253, 248, 0.07);
  color: var(--gold-light);
}

.program-card--feature h3 {
  color: var(--white);
}

.program-card--feature > p {
  color: rgba(255, 253, 248, 0.65);
}

.program-card--feature .program-card__list {
  border-top-color: rgba(255, 253, 248, 0.13);
}

.program-card--feature .program-card__list li {
  color: rgba(255, 253, 248, 0.62);
}

.program-card__label {
  position: absolute;
  top: 1.55rem;
  right: 1.6rem;
  padding: 0.34rem 0.7rem;
  border: 1px solid rgba(227, 201, 135, 0.45);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.extras {
  display: grid;
  grid-template-columns: minmax(200px, 0.65fr) minmax(0, 1.35fr);
  gap: 2.5rem;
  align-items: center;
  margin-top: 1.4rem;
  padding: clamp(1.7rem, 3.4vw, 2.6rem);
  border: 1px solid rgba(6, 58, 36, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.extras__copy h3 {
  margin-bottom: 0.4rem;
  font-size: 1.8rem;
}

.extras__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.52rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.chips li:hover {
  border-color: var(--gold);
  color: var(--green-700);
  transform: translateY(-2px);
}

.chips .icon {
  width: 0.85rem;
  height: 0.85rem;
  color: var(--green-500);
}

.habits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(6, 58, 36, 0.14);
}

.habits__title {
  margin: 0;
  color: var(--green-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.habits__title span {
  margin-right: 0.4rem;
  color: var(--gold);
}

.habits__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.8rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.17rem;
  font-style: italic;
}

.habits__dot {
  color: var(--gold);
  font-style: normal;
}

/* --- Facilities --------------------------------------------------------- */
.facilities {
  background: var(--cream);
}

.facilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(205px, auto);
  gap: 1.1rem;
}

.facility {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition:
    border-color 0.3s ease,
    transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}

.facility:hover {
  border-color: rgba(199, 163, 85, 0.55);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.facility__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: auto;
  border-radius: 50%;
  background: var(--sage);
  color: var(--green-600);
}

.facility__icon .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.facility h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
  font-size: 1.55rem;
}

.facility p {
  max-width: 35ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.65;
}

.facility--photo {
  grid-column: span 2;
  grid-row: span 2;
  padding: 0;
  border: 0;
  min-height: 430px;
}

.facility--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 43, 27, 0.9) 0%, rgba(4, 43, 27, 0.12) 55%, transparent 100%);
}

.facility--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.facility--photo:hover img {
  transform: scale(1.04);
}

.facility--photo > div {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--white);
}

.facility--photo .facility__icon {
  margin-bottom: 0.9rem;
  border: 1px solid rgba(227, 201, 135, 0.45);
  background: rgba(4, 43, 27, 0.45);
  color: var(--gold-light);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.facility--photo h3 {
  margin-top: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.facility--photo p {
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.84rem;
}

/* --- Gallery ------------------------------------------------------------ */
.gallery {
  background:
    radial-gradient(circle at 0% 100%, rgba(207, 224, 202, 0.36), transparent 35%),
    var(--white);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--green-500);
  color: var(--green-700);
}

.filter-btn.is-active {
  border-color: var(--green-700);
  background: var(--green-700);
  color: var(--white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 215px;
  grid-auto-flow: dense;
  gap: 0.9rem;
}

.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--sage);
  color: var(--white);
  text-align: left;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item.is-filtered {
  display: none;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.055);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 1.1rem;
  background: linear-gradient(to top, rgba(4, 43, 27, 0.88), rgba(4, 43, 27, 0.04) 60%, transparent);
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__tag {
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(227, 201, 135, 0.42);
  border-radius: 999px;
  background: rgba(4, 43, 27, 0.34);
  color: var(--gold-light);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.gallery__caption {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(4, 43, 27, 0.35);
}

/* --- News --------------------------------------------------------------- */
.news {
  background: var(--cream);
}

.news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.news-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
  background: var(--sage);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.045);
}

.news-card__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.32rem 0.7rem;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 999px;
  background: rgba(4, 43, 27, 0.7);
  color: var(--gold-light);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.news-card__body {
  padding: 1.55rem 1.7rem 1.7rem;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card__body h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  line-height: 1.08;
}

.news-card__body h3 a {
  transition: color 0.2s ease;
}

.news-card__body h3 a:hover {
  color: var(--green-600);
}

.news-card__body p {
  max-width: 55ch;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.75;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green-600);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-card__link .icon {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.2s ease;
}

.news-card:hover .news-card__link .icon {
  transform: translateX(4px);
}

.news-card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
}

.news-card--feature .news-card__media {
  height: 100%;
  aspect-ratio: auto;
  min-height: 390px;
}

.news-card--feature .news-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.news-card--feature .news-card__body h3 {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
}

/* --- Testimonials ------------------------------------------------------- */
.testimonials {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 65% at 90% 0%, rgba(17, 128, 74, 0.38), transparent 60%),
    linear-gradient(140deg, var(--green-950), var(--green-900) 55%, #08442a);
  color: rgba(255, 253, 248, 0.8);
}

.testimonials__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(227, 201, 135, 0.15) 1px, transparent 0),
    linear-gradient(135deg, transparent 47%, rgba(255, 253, 248, 0.03) 47% 53%, transparent 53%);
  background-size: 30px 30px, 90px 90px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  opacity: 0.65;
  pointer-events: none;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.section-head--light h2 {
  color: var(--white);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  margin: 0;
  padding: 2rem;
  border: 1px solid rgba(255, 253, 248, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.055);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.quote:hover {
  border-color: rgba(227, 201, 135, 0.35);
  background: rgba(255, 253, 248, 0.08);
}

.quote__mark {
  position: absolute;
  top: 0.4rem;
  right: 1.3rem;
  color: rgba(227, 201, 135, 0.3);
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
}

.quote blockquote {
  position: relative;
  margin: 0 0 1.5rem;
  color: rgba(255, 253, 248, 0.84);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 253, 248, 0.11);
}

.quote__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid rgba(227, 201, 135, 0.4);
  border-radius: 50%;
  background: rgba(227, 201, 135, 0.1);
  color: var(--gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.quote figcaption > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.quote figcaption strong {
  color: var(--white);
  font-size: 0.74rem;
}

.quote figcaption small {
  color: rgba(255, 253, 248, 0.48);
  font-size: 0.62rem;
}

/* --- SPMB --------------------------------------------------------------- */
.spmb {
  background:
    radial-gradient(circle at 95% 10%, rgba(207, 224, 202, 0.38), transparent 34%),
    var(--cream);
}

.spmb__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.8fr);
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}

.spmb h2 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 5vw, 4.3rem);
}

.spmb__lead {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.85;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.8rem;
  margin: 2rem 0 2.2rem;
}

.steps li {
  display: flex;
  gap: 0.8rem;
}

.steps__num {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(199, 163, 85, 0.55);
  border-radius: 50%;
  color: var(--green-700);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
}

.steps strong {
  display: block;
  margin-bottom: 0.22rem;
  color: var(--green-900);
  font-size: 0.77rem;
  font-weight: 800;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.6;
}

.spmb__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.spmb__actions .btn--ghost {
  border-color: var(--line);
  color: var(--green-700);
}

.spmb__actions .btn--ghost:hover {
  border-color: var(--green-700);
  background: var(--green-700);
  color: var(--white);
}

.spmb__card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.9rem, 4vw, 2.8rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(227, 201, 135, 0.2), transparent 38%),
    var(--green-900);
  color: rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow-lg);
}

.spmb__card::before {
  content: "";
  position: absolute;
  top: -7rem;
  right: -7rem;
  width: 16rem;
  height: 16rem;
  border: 1px solid rgba(227, 201, 135, 0.18);
  border-radius: 50%;
}

.spmb__card-head {
  position: relative;
  margin-bottom: 1.4rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
}

.spmb__star {
  color: var(--gold);
  font-size: 1.2rem;
}

.spmb__card-head p {
  margin: 0.35rem 0 0.15rem;
  color: var(--gold-light);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.spmb__card-head h3 {
  color: var(--white);
  font-size: 2.2rem;
}

.spmb__docs {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.3rem;
}

.spmb__docs li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(255, 253, 248, 0.12);
  color: rgba(255, 253, 248, 0.8);
  font-size: 0.78rem;
  font-weight: 600;
}

.spmb__docs li span {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1rem;
}

.spmb__note {
  margin-bottom: 1.3rem;
  color: rgba(255, 253, 248, 0.48);
  font-size: 0.66rem;
  line-height: 1.7;
}

.spmb__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.spmb__phone .icon {
  width: 1rem;
  height: 1rem;
}

/* --- FAQ ---------------------------------------------------------------- */
.faq {
  background: var(--white);
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.faq__intro h2 {
  max-width: 10ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.faq__intro > p:not(.eyebrow) {
  max-width: 37ch;
  margin-bottom: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.8;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.35rem 0;
  border: 0;
  background: transparent;
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.52rem);
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

.faq__q:hover {
  color: var(--green-600);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--green-700);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item.is-open .faq__icon {
  border-color: var(--green-700);
  background: var(--green-700);
}

.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after {
  background: var(--white);
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a-inner {
  overflow: hidden;
}

.faq__a-inner p {
  max-width: 62ch;
  margin: 0;
  padding: 0 2.5rem 1.4rem 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.8;
}

/* --- Contact ------------------------------------------------------------ */
.contact {
  background:
    radial-gradient(circle at 0% 100%, rgba(207, 224, 202, 0.4), transparent 34%),
    var(--cream);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.contact__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  align-content: start;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.75);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s var(--ease);
}

a.info-card:hover {
  border-color: rgba(199, 163, 85, 0.55);
  background: var(--white);
  transform: translateY(-3px);
}

.info-card__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--sage);
  color: var(--green-600);
}

.info-card__icon .icon {
  width: 1rem;
  height: 1rem;
}

.info-card > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  line-height: 1.5;
}

.info-card strong {
  color: var(--green-900);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.info-card > span:last-child > span {
  color: var(--muted);
  font-size: 0.68rem;
  overflow-wrap: anywhere;
}

.contact__form-wrap {
  padding: clamp(1.5rem, 3vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.contact__form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.38rem;
}

.field label {
  color: var(--green-900);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.82rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa79f;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(17, 128, 74, 0.1);
}

.contact__submit {
  justify-self: start;
  margin-top: 0.2rem;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.63rem;
  line-height: 1.6;
}

.form-note.is-success {
  color: var(--green-600);
  font-weight: 700;
}

.map-card {
  position: relative;
  overflow: hidden;
  height: 390px;
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--sage);
  box-shadow: var(--shadow-sm);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.72) contrast(1.03);
}

.map-card__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.93);
  color: var(--green-900);
  font-size: 0.67rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.map-card__badge .icon {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--green-600);
}

/* --- Footer ------------------------------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(ellipse 65% 60% at 90% 0%, rgba(17, 128, 74, 0.24), transparent 62%),
    var(--green-950);
  color: rgba(255, 253, 248, 0.62);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 0.9fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}

.brand--footer .brand__text strong {
  color: var(--white);
}

.brand--footer .brand__text small {
  color: rgba(255, 253, 248, 0.45);
}

.brand--footer img {
  width: 56px;
  height: 56px;
}

.footer__brand > p {
  max-width: 34ch;
  margin: 1.2rem 0 1.4rem;
  font-size: 0.8rem;
  line-height: 1.8;
}

.footer__social {
  display: flex;
  gap: 0.55rem;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 50%;
  color: rgba(255, 253, 248, 0.7);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.footer__social a:hover {
  border-color: var(--gold);
  background: rgba(227, 201, 135, 0.1);
  color: var(--gold-light);
}

.footer__social .icon {
  width: 1rem;
  height: 1rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer__col h3 {
  margin-bottom: 0.55rem;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__col a,
.footer__col p {
  margin: 0;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.73rem;
  line-height: 1.7;
}

.footer__col a {
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--gold-light);
}

.footer__col--contact p {
  margin-bottom: 0.2rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0 2.5rem;
  border-top: 1px solid rgba(255, 253, 248, 0.1);
}

.footer__bottom p {
  margin: 0;
  color: rgba(255, 253, 248, 0.4);
  font-size: 0.61rem;
  letter-spacing: 0.03em;
}

.footer__wordmark {
  margin-bottom: -0.24em;
  color: rgba(255, 253, 248, 0.035);
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 17vw, 15rem);
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

/* --- Floating WhatsApp -------------------------------------------------- */
.wa-float {
  position: fixed;
  right: max(1.2rem, env(safe-area-inset-right));
  bottom: max(1.2rem, env(safe-area-inset-bottom));
  z-index: 900;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(227, 201, 135, 0.5);
  border-radius: 50%;
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 12px 34px rgba(4, 43, 27, 0.3);
  transition:
    transform 0.25s var(--ease),
    background-color 0.25s ease;
}

.wa-float:hover {
  background: var(--green-900);
  transform: translateY(-3px) scale(1.03);
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(17, 128, 74, 0.2);
  border-radius: 50%;
  animation: wa-ring 2.8s ease-out infinite;
}

.wa-float .icon {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes wa-ring {
  0% { transform: scale(0.94); opacity: 0.75; }
  75%, 100% { transform: scale(1.25); opacity: 0; }
}

/* --- Dialogs ------------------------------------------------------------ */
dialog {
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(3, 24, 15, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

dialog[open] {
  animation: dialog-in 0.32s var(--ease);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.lightbox {
  position: relative;
  width: min(1040px, calc(100vw - 36px));
  overflow: visible;
  border-radius: 20px;
  background: rgba(3, 24, 15, 0.97);
  color: var(--white);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
}

.lightbox__figure {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
}

.lightbox__figure img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #041f13;
}

.lightbox__figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.3rem;
  color: rgba(255, 253, 248, 0.8);
  font-size: 0.8rem;
}

.lightbox__count {
  color: rgba(255, 253, 248, 0.42);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.lightbox__close,
.news-modal__close {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 50%;
  background: rgba(4, 43, 27, 0.72);
  color: var(--white);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.lightbox__close {
  top: -1rem;
  right: -0.6rem;
}

.lightbox__close:hover,
.news-modal__close:hover {
  background: var(--green-600);
  transform: rotate(5deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 50%;
  background: rgba(4, 43, 27, 0.7);
  color: var(--white);
  transform: translateY(-50%);
  transition: background-color 0.2s ease;
}

.lightbox__nav:hover {
  background: var(--green-600);
}

.lightbox__nav--prev { left: 0.8rem; }
.lightbox__nav--next { right: 0.8rem; }

.lightbox__close .icon,
.lightbox__nav .icon,
.news-modal__close .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.news-modal {
  position: relative;
  display: none;
  grid-template-columns: 0.88fr 1.12fr;
  width: min(960px, calc(100vw - 36px));
  max-height: 90vh;
  overflow: hidden;
  border-radius: 22px;
  background: var(--cream);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.38);
}

.news-modal[open] {
  display: grid;
}

.news-modal__media {
  min-height: 100%;
  background: var(--sage);
}

.news-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-modal__close {
  top: 0.9rem;
  right: 0.9rem;
}

.news-modal__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding: clamp(2rem, 4vw, 3rem);
}

.news-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  color: var(--green-600);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-modal__content h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
}

.news-modal__body {
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.8;
}

.news-modal__body p:last-child {
  margin-bottom: 0;
}

.news-modal__content .btn {
  align-self: flex-start;
}

/* --- Reveal animation --------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s ease var(--reveal-delay, 0s),
    transform 0.75s var(--ease) var(--reveal-delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --- Edit mode ---------------------------------------------------------- */
body.is-editing {
  padding-bottom: 80px;
}

body.is-editing [data-edit] {
  border-radius: 3px;
  outline: 1.5px dashed rgba(199, 163, 85, 0.75);
  outline-offset: 5px;
  cursor: text;
  transition:
    background-color 0.2s ease,
    outline-color 0.2s ease;
}

body.is-editing [data-edit]:hover {
  background: rgba(227, 201, 135, 0.18);
}

body.is-editing [data-edit]:focus {
  outline: 2px solid var(--gold);
  background: rgba(227, 201, 135, 0.16);
}

body.is-editing .wa-float {
  bottom: 5.6rem;
}

.edit-toolbar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin-inline: auto;
  padding: 0.55rem;
  border: 1px solid rgba(6, 58, 36, 0.16);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 20px 60px rgba(4, 43, 27, 0.22);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-family: var(--font-body);
}

.edit-toolbar__status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.7rem 0 0.5rem;
  color: var(--green-700);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.edit-toolbar__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(17, 128, 74, 0.14);
}

.edit-toolbar__status[data-state="saved"]::before {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 163, 85, 0.18);
}

.edit-toolbar__status[data-state="error"]::before {
  background: #b4442e;
  box-shadow: 0 0 0 3px rgba(180, 68, 46, 0.16);
}

.edit-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 38px;
  padding: 0.48rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--cream);
  color: var(--green-900);
  font-size: 0.67rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.edit-toolbar button:hover {
  border-color: var(--green-500);
  background: var(--white);
}

.edit-toolbar button[data-edit-action="download"] {
  border-color: var(--green-700);
  background: var(--green-700);
  color: var(--white);
}

.edit-toolbar button[data-edit-action="download"]:hover {
  background: var(--green-900);
}

.edit-toolbar button[data-edit-action="reset"] {
  color: #8b3d2c;
}

.edit-toolbar button[data-edit-action="done"] {
  border-color: rgba(199, 163, 85, 0.55);
  background: var(--gold-light);
  color: var(--green-950);
}

.edit-toolbar button .icon {
  width: 0.85rem;
  height: 0.85rem;
}

.edit-toast {
  position: fixed;
  right: 1rem;
  bottom: 5.4rem;
  z-index: 2100;
  max-width: min(360px, calc(100vw - 2rem));
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: var(--green-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
  font-size: 0.72rem;
  line-height: 1.5;
  transform: translateY(10px);
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s var(--ease);
  pointer-events: none;
}

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

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
  .brand__text strong {
    font-size: 1.35rem;
  }

  .nav {
    gap: 0.85rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 6vw, 4.7rem);
  }

  .hero__visual {
    min-height: 490px;
    padding-left: 1.6rem;
  }

  .about__media {
    min-height: 510px;
  }

  .about__photo--main {
    height: 440px;
  }

  .about__photo--small {
    height: 220px;
  }

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

  .footer__grid {
    grid-template-columns: 1.6fr 0.8fr 0.9fr 1.2fr;
    gap: 2rem;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

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

  .nav-toggle {
    display: block;
  }

  .header__cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(86vw, 370px);
    height: 100dvh;
    margin: 0;
    padding: 7.2rem 1.8rem 2rem;
    overflow-y: auto;
    border-left: 1px solid var(--line);
    background: var(--cream);
    box-shadow: -24px 0 80px rgba(4, 43, 27, 0.18);
    transform: translateX(105%);
    transition: transform 0.42s var(--ease);
  }

  .nav.is-open {
    display: flex;
    transform: none;
    animation: nav-drawer-in 0.42s var(--ease);
  }

  @keyframes nav-drawer-in {
    from { transform: translateX(105%); }
  }

  .nav > a:not(.btn) {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--green-900);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
  }

  .nav > a:not(.btn)::after {
    display: none;
  }

  .nav__mobile-cta {
    display: inline-flex;
    margin-top: 1.4rem;
  }

  .header__inner {
    gap: 1rem;
  }

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

  .brand__text strong {
    font-size: 1.28rem;
  }

  .brand__text small {
    font-size: 0.52rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

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

  .hero__copy {
    max-width: 680px;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .hero__visual {
    width: min(100%, 540px);
    min-height: 520px;
    margin: 0 auto;
    padding: 0 1.5rem 2.5rem 2rem;
  }

  .hero__arch {
    width: min(78%, 390px);
  }

  .hero__arabic {
    right: 0.4rem;
  }

  .stats {
    margin-top: 2.5rem;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .section-head h2 {
    max-width: 20ch;
  }

  .section-head__lead {
    max-width: 58ch;
  }

  .section-head--center {
    justify-items: center;
  }

  .section-head--center h2 {
    max-width: 18ch;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about__media {
    width: min(100%, 620px);
    min-height: 540px;
    margin-inline: auto;
  }

  .about__photo--main {
    height: 480px;
  }

  .about__copy {
    max-width: 680px;
  }

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

  .vm-card {
    min-height: 0;
  }

  .values {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 0;
  }

  .value:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .value:nth-child(3) {
    padding-left: 0;
  }

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

  .program-card {
    max-width: none;
  }

  .extras {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

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

  .facility--photo {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery__grid {
    grid-auto-rows: 195px;
  }

  .news-card--feature {
    grid-template-columns: 1fr;
  }

  .news-card--feature .news-card__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .quotes {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .quote {
    min-height: 0;
  }

  .spmb__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .spmb__card {
    max-width: 560px;
  }

  .faq__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .faq__intro {
    position: static;
  }

  .faq__intro h2 {
    max-width: 18ch;
  }

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

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

  .footer__grid {
    grid-template-columns: 1.6fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 36px);
  }

  .topbar__rev {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__links {
    display: none;
  }

  .topbar__notice {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }

  .hero {
    padding-top: 2.8rem;
    padding-bottom: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 12vw, 4.1rem);
  }

  .hero__lead {
    font-size: 0.93rem;
  }

  .hero__actions {
    gap: 0.6rem;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__trust {
    gap: 0.55rem 1rem;
    font-size: 0.63rem;
  }

  .hero__visual {
    min-height: 440px;
    padding: 0 0.8rem 2rem 1.1rem;
  }

  .hero__arch {
    width: min(83%, 340px);
  }

  .hero__mini {
    width: 42%;
  }

  .hero__badge {
    top: 3.2rem;
    right: 0;
    width: 80px;
    height: 80px;
  }

  .hero__badge strong {
    font-size: 1.8rem;
  }

  .hero__arabic {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 1.1rem;
  }

  .stat {
    padding: 1rem 0.7rem;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 253, 248, 0.13);
  }

  .stat strong {
    font-size: 2.3rem;
  }

  .stat > span:last-child {
    font-size: 0.57rem;
  }

  .about__media {
    min-height: 430px;
    padding-bottom: 2.3rem;
  }

  .about__photo--main {
    width: 82%;
    height: 380px;
  }

  .about__photo--small {
    width: 53%;
    height: 175px;
  }

  .about__seal {
    width: 88px;
    height: 88px;
  }

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

  .values {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }

  .value {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 1rem;
    padding: 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value:last-child {
    border-bottom: 0;
  }

  .value__icon {
    grid-row: span 2;
    margin-bottom: 0;
  }

  .value h3 {
    margin-bottom: 0.1rem;
  }

  .value p {
    grid-column: 2;
  }

  .habits {
    margin-top: 2rem;
  }

  .habits__title {
    letter-spacing: 0.5em;
  }

  .habits__list {
    width: 100%;
    gap: 0.4rem 0.8rem;
    font-size: 1.05rem;
  }

  .facilities__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .facility {
    min-height: 185px;
    padding: 1.5rem;
  }

  .facility--photo {
    grid-column: auto;
    min-height: 350px;
  }

  .facility--photo > div {
    padding: 1.5rem;
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 165px;
    gap: 0.7rem;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__caption {
    font-size: 1rem;
  }

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

  .news-card__body {
    padding: 1.3rem 1.3rem 1.45rem;
  }

  .news-card--feature .news-card__body {
    padding: 1.6rem 1.3rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .spmb__actions .btn {
    flex: 1 1 auto;
  }

  .spmb__card {
    border-radius: 22px;
  }

  .faq__q {
    padding: 1.15rem 0;
  }

  .faq__a-inner p {
    padding-right: 0;
  }

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

  .contact__form-wrap {
    padding: 1.3rem;
    border-radius: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact__submit {
    justify-self: stretch;
  }

  .map-card {
    height: 300px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem 1.5rem;
  }

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

  .footer__col--contact {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding-bottom: 2rem;
  }

  .footer__wordmark {
    font-size: 22vw;
  }

  .edit-toolbar {
    gap: 0.35rem;
    padding: 0.45rem;
    border-radius: 14px;
  }

  .edit-toolbar__status {
    display: none;
  }

  .edit-toolbar button {
    padding: 0.45rem 0.6rem;
    font-size: 0.61rem;
  }

  .edit-toolbar button .icon {
    width: 0.78rem;
    height: 0.78rem;
  }

  .news-modal {
    grid-template-columns: 1fr;
    max-height: 92vh;
    overflow-y: auto;
  }

  .news-modal__media {
    height: 220px;
    min-height: 0;
  }

  .news-modal__content {
    overflow: visible;
    padding: 1.6rem 1.3rem 1.8rem;
  }

  .news-modal__close {
    top: 0.7rem;
    right: 0.7rem;
  }

  .lightbox__nav {
    top: auto;
    bottom: 0.9rem;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .lightbox__nav--prev { left: 1rem; }
  .lightbox__nav--next { right: 1rem; }

  .lightbox__figure figcaption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.9rem 1rem 3.7rem;
  }

  .lightbox__close {
    top: 0.5rem;
    right: 0.5rem;
  }
}

@media (max-width: 460px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand__text small {
    display: none;
  }

  .brand__text strong {
    font-size: 1.2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    flex: none;
  }

  .hero__visual {
    min-height: 390px;
  }

  .hero__arch {
    width: 86%;
  }

  .hero__badge {
    width: 72px;
    height: 72px;
  }

  .hero__badge strong {
    font-size: 1.55rem;
  }

  .hero__mini {
    width: 43%;
  }

  .about__media {
    min-height: 370px;
  }

  .about__photo--main {
    height: 330px;
  }

  .about__photo--small {
    height: 145px;
  }

  .about__seal {
    width: 76px;
    height: 76px;
  }

  .gallery__grid {
    grid-auto-rows: 145px;
  }

  .gallery__overlay {
    padding: 0.8rem;
  }

  .gallery__caption {
    font-size: 0.9rem;
  }

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

  .footer__brand,
  .footer__col--contact {
    grid-column: auto;
  }

  .edit-toolbar {
    right: 0.4rem;
    left: 0.4rem;
    max-width: calc(100% - 0.8rem);
  }

  .edit-toolbar button {
    flex: 1;
    justify-content: center;
    padding-inline: 0.35rem;
  }

  .edit-toolbar button .icon {
    display: none;
  }
}

/* --- Preferences / print ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .wa-float,
  .edit-toolbar,
  .edit-toast,
  .nav-backdrop,
  .map-card,
  .footer__social {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .hero,
  .testimonials,
  .footer,
  .spmb__card {
    background: #fff !important;
    color: #111 !important;
  }

  .hero h1,
  .section-head--light h2,
  .vm-card--vision h3,
  .program-card--feature h3,
  .footer__col h3 {
    color: #111 !important;
  }

  .section {
    padding-block: 1.5rem;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
