/* ==========================================================================
   דרך המלך - חוויה במדבר יהודה
   The palette is the logo's, opened out into a full scale: the deep maroon of
   the lettering, the amber of its shadow, the teal and lime of the emblem, on
   the sand tones the photographs already live in.
   ========================================================================== */

:root {
  /* Brand */
  --maroon-950: #170303;
  --maroon-900: #260505;
  --maroon-800: #3a0000;
  --maroon-700: #501208;
  --maroon-600: #6c2413;

  --amber-700: #a8630c;
  --amber-600: #cd7f16;
  --amber-500: #ed9724;
  --amber-400: #f6b459;
  --amber-100: #fdf0da;

  --teal-600: #00898c;
  --teal-500: #00a4a7;
  --teal-100: #dff4f4;

  --lime-500: #95c93d;

  /* Neutrals - warm, because every photograph on this site is */
  --sand-50: #fdfbf7;
  --sand-100: #f8f2e7;
  --sand-200: #efe4d1;
  --sand-300: #ddcbaf;

  --ink: #241611;
  --ink-muted: #6d5a50;
  --ink-faint: #9c8b80;
  --line: rgba(58, 0, 0, 0.12);
  --line-soft: rgba(58, 0, 0, 0.07);

  /* Depth */
  --shadow-sm: 0 2px 8px -2px rgba(58, 0, 0, 0.1), 0 1px 2px rgba(58, 0, 0, 0.05);
  --shadow-md: 0 18px 40px -18px rgba(58, 0, 0, 0.32);
  --shadow-lg: 0 40px 90px -34px rgba(58, 0, 0, 0.5);
  --shadow-amber: 0 16px 34px -14px rgba(237, 151, 36, 0.6);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --font-display: 'Heebo', 'Assistant', system-ui, sans-serif;
  --font-body: 'Assistant', 'Heebo', system-ui, sans-serif;

  --shell: 1220px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* A faint film grain, so the dark sections read as photographic rather than flat. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  /* The off-canvas drawer parks itself outside the viewport; `clip` keeps that out of the
     scrollable area (which in RTL would otherwise shift the whole page sideways) without the
     sticky-breaking side effect `hidden` has. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--sand-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--maroon-800);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

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

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

.skip-link {
  position: fixed;
  inset-inline-start: 50%;
  top: -100px;
  transform: translateX(50%);
  z-index: 200;
  background: var(--maroon-800);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

/* The stroked icon set. Filled paths opt out with fill/stroke of their own. */
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.5rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 1rem 1.9rem;
  font-size: 1.075rem;
}

.btn--block {
  width: 100%;
}

.btn--amber {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #2b1400;
  box-shadow: var(--shadow-amber);
}

.btn--amber:hover {
  background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
}

.btn--maroon {
  background: var(--maroon-800);
  color: var(--sand-100);
  box-shadow: var(--shadow-md);
}

.btn--maroon:hover {
  background: var(--maroon-700);
}

.btn--whatsapp {
  background: #25d366;
  color: #04310f;
  box-shadow: 0 14px 30px -14px rgba(37, 211, 102, 0.85);
}

.btn--whatsapp:hover {
  background: #34e277;
}

.btn--whatsapp .icon {
  stroke: none;
  width: 1.3em;
  height: 1.3em;
}

.btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--maroon-800);
}

.btn--ghost:hover {
  border-color: var(--maroon-800);
  background: rgba(58, 0, 0, 0.04);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(100% - 2.5rem, 1340px);
}

/* Over the hero the header is transparent with the light wordmark; the moment the page
   scrolls it becomes a solid sand bar with the dark one. */
.site-header.is-stuck {
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-soft), 0 12px 30px -22px rgba(58, 0, 0, 0.5);
  height: 70px;
}

.brand {
  display: block;
  flex: none;
  position: relative;
}

.brand__mark {
  height: 54px;
  width: auto;
  transition: height 0.35s var(--ease), opacity 0.3s;
}

.brand__mark--light {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
}

.site-header.is-stuck .brand__mark {
  height: 46px;
}

/* Which wordmark shows: light over the hero, dark once stuck or on an inner page. */
.brand__mark--dark { opacity: 0; }
.brand__mark--light { opacity: 1; }

.site-header.is-stuck .brand__mark--dark,
body.is-inner .site-header.is-stuck .brand__mark--dark { opacity: 1; }

.site-header.is-stuck .brand__mark--light { opacity: 0; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-inline-start: auto;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
  color: #fff;
  transition: color 0.3s;
}

.site-header.is-stuck .header-phone {
  color: var(--maroon-800);
}

.header-phone__label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.header-phone__number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  direction: ltr;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-inline-start: 1rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav__list a {
  position: relative;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
  padding-block: 0.4rem;
  transition: color 0.25s;
}

.site-header.is-stuck .site-nav__list a {
  color: var(--maroon-800);
}

.site-nav__list a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--amber-500);
  transform: scaleX(0);
  transform-origin: inline-end;
  transition: transform 0.3s var(--ease);
}

.site-nav__list a:hover::after {
  transform: scaleX(1);
  transform-origin: inline-start;
}

.site-nav__cta,
.site-nav__close {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  padding: 12px 10px;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: background 0.3s;
}

.nav-toggle span:nth-child(2) {
  width: 70%;
}

.site-header.is-stuck .nav-toggle {
  background: rgba(58, 0, 0, 0.06);
  border-color: var(--line);
}

.site-header.is-stuck .nav-toggle span {
  background: var(--maroon-800);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(23, 3, 3, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-scrim.is-open {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--header-h) + 3rem) 5.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s var(--ease-out);
}

.hero__slide.is-active {
  opacity: 1;
  animation: kenburns 14s ease-out forwards;
}

@keyframes kenburns {
  from { transform: scale(1.12) translate3d(0, 0, 0); }
  to { transform: scale(1) translate3d(0, -1.5%, 0); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(58, 0, 0, 0.1), transparent 60%),
    linear-gradient(to top, rgba(23, 3, 3, 0.94) 0%, rgba(38, 5, 5, 0.72) 38%, rgba(58, 0, 0, 0.36) 70%, rgba(58, 0, 0, 0.5) 100%);
}

.hero__veil::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.14;
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  color: #fff;
  max-width: 830px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.4rem;
  padding: 0.42rem 1.05rem 0.42rem 0.8rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-500);
  box-shadow: 0 0 0 4px rgba(149, 201, 61, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(149, 201, 61, 0); }
}

.hero__title {
  color: #fff;
  font-size: clamp(2.65rem, 7.2vw, 5.4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.15rem;
}

.hero__lead {
  font-size: clamp(1.08rem, 2.1vw, 1.35rem);
  line-height: 1.6;
  max-width: 47ch;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.2rem;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__dots {
  display: flex;
  gap: 0.55rem;
  margin-top: 2.6rem;
}

.hero__dot {
  width: 34px;
  height: 4px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s, width 0.3s var(--ease);
}

.hero__dot.is-active {
  background: var(--amber-500);
  width: 52px;
}

.hero__scroll {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--r-pill);
  display: grid;
  place-items: start center;
  padding-top: 7px;
}

.hero__scroll span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: scrollcue 1.9s var(--ease) infinite;
}

@keyframes scrollcue {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* --------------------------------------------------------------------------
   Stat strip
   -------------------------------------------------------------------------- */

.stats {
  position: relative;
  z-index: 2;
  margin-top: -3.6rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stat {
  background: #fff;
  padding: 1.7rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--maroon-800), var(--amber-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.section--experiences {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.section__head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.4rem, 5vw, 3.8rem);
}

.section__head--start {
  margin-inline: 0;
  text-align: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber-500);
}

.section__title {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  text-wrap: balance;
  margin-bottom: 0.9rem;
}

.section__lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
  text-wrap: pretty;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Experience cards
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--sand-200);
}

.card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 5, 5, 0.5), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover .card__media::after {
  opacity: 1;
}

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

.card:hover .card__media img {
  transform: scale(1.07);
}

.card__body {
  padding: 1.5rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card__eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal-600);
}

.card__title {
  font-size: 1.5rem;
}

.card__text {
  color: var(--ink-muted);
  font-size: 0.99rem;
  line-height: 1.62;
  margin: 0;
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.card__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--sand-100);
  color: var(--maroon-700);
  font-size: 0.83rem;
  font-weight: 600;
}

.card__link {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--maroon-800);
}

.card__arrow {
  transition: transform 0.35s var(--ease);
}

.card:hover .card__arrow {
  transform: translateX(-6px);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.section--about {
  position: relative;
  background: var(--sand-100);
}

.section--about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.05;
  pointer-events: none;
}

.about {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about__media {
  position: relative;
  padding-bottom: 3.5rem;
  padding-inline-start: 3rem;
}

.about__photo {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  width: 100%;
}

.about__photo--main {
  aspect-ratio: 4 / 3;
}

.about__photo--sub {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--sand-100);
}

.about__stamp {
  position: absolute;
  top: -18px;
  inset-inline-end: -14px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  padding: 14px;
}

.prose p {
  color: var(--ink-muted);
  line-height: 1.78;
}

.prose a {
  color: var(--teal-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ticks {
  display: grid;
  gap: 0.7rem;
  margin: 1.7rem 0 2rem;
}

.ticks li {
  position: relative;
  padding-inline-start: 2rem;
  color: var(--ink);
  font-weight: 500;
}

.ticks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.35em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.ticks--tight {
  margin: 1rem 0 1.4rem;
  gap: 0.5rem;
}

.ticks--tight li {
  font-size: 0.95rem;
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.section--gallery {
  background: var(--maroon-950);
  color: var(--sand-100);
  position: relative;
}

.section--gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.1;
  pointer-events: none;
}

.section--gallery .section__title,
.section--testimonials .section__title {
  color: #fff;
}

.section--gallery .section__lead {
  color: rgba(248, 242, 231, 0.72);
}

/* Masonry by columns rather than grid: the photos keep their own proportions, and however
   many the panel publishes, the wall never opens a hole in the middle. */
.gallery-grid {
  position: relative;
  columns: 4;
  column-gap: 0.85rem;
  width: min(100% - 2.5rem, 1500px);
  margin-inline: auto;
}

.gallery-grid__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 0.85rem;
  break-inside: avoid;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--maroon-900);
}

.gallery-grid__item img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease-out), opacity 0.4s;
  opacity: 0.88;
}

.gallery-grid__item:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.gallery-grid__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  transition: border-color 0.3s;
}

.gallery-grid__item:hover::after {
  border-color: var(--amber-500);
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 4vmin;
  background: rgba(15, 2, 2, 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease-out);
}

.lightbox.is-open img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.4rem;
  inset-inline-end: 1.4rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.section--testimonials {
  background: var(--maroon-800);
  color: var(--sand-100);
  overflow: hidden;
}

.section--testimonials .eyebrow {
  color: var(--amber-400);
}

/* A plain grid on a wide screen; the swipeable rail is a phone affordance, and it only turns
   into one below the breakpoint (an RTL scroll container that starts mid-list is worse than
   no rail at all). */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
  align-items: stretch;
}

.quote {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote__stars {
  color: var(--amber-400);
  letter-spacing: 0.15em;
  font-size: 1.05rem;
}

.quote__body {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.72;
  flex: 1;
}

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

.quote__by strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}

.quote__by small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.quote__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--amber-500), var(--teal-500));
  color: #2b1400;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq__list {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq__item[open] {
  border-color: rgba(237, 151, 36, 0.5);
  box-shadow: var(--shadow-md);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--maroon-800);
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__sign {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sand-100);
  transition: background 0.3s, transform 0.3s var(--ease);
}

.faq__sign::before,
.faq__sign::after {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--maroon-800);
  transform: translate(50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

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

.faq__item[open] .faq__sign {
  background: var(--amber-500);
  transform: rotate(180deg);
}

.faq__item[open] .faq__sign::after {
  opacity: 0;
}

.faq__answer {
  padding: 0 1.35rem 1.3rem;
  color: var(--ink-muted);
  animation: fadeSlide 0.35s var(--ease-out);
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.section--contact {
  position: relative;
  background:
    linear-gradient(rgba(23, 3, 3, 0.9), rgba(38, 5, 5, 0.95)),
    var(--maroon-900);
  color: var(--sand-100);
}

.section--contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.09;
  pointer-events: none;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact .section__title {
  color: #fff;
}

.contact .section__lead {
  color: rgba(248, 242, 231, 0.75);
}

.contact .eyebrow {
  color: var(--amber-400);
}

.contact__details {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0;
}

.contact__details li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(248, 242, 231, 0.9);
}

.contact__details .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--amber-400);
}

.contact__details a:hover {
  color: var(--amber-400);
}

.lead-form {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 1rem;
}

.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.field__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
}

.field__label i {
  color: var(--amber-400);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-sm);
  padding: 0.78rem 1rem;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

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

.field select option {
  color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber-500);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 4px rgba(237, 151, 36, 0.18);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #ff8f7a;
}

.field__error {
  font-size: 0.83rem;
  color: #ffb0a0;
  min-height: 0;
}

.field__error:empty {
  display: none;
}

/* Hidden without an off-screen offset, which in RTL would push the page sideways. */
.lead-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.lead-form__note {
  font-size: 0.83rem;
  color: rgba(248, 242, 231, 0.55);
  text-align: center;
  margin: 0;
}

.lead-form__status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-align: center;
  display: none;
}

.lead-form__status.is-ok {
  display: block;
  background: rgba(149, 201, 61, 0.16);
  border: 1px solid rgba(149, 201, 61, 0.45);
  color: #cfe9a1;
}

.lead-form__status.is-error {
  display: block;
  background: rgba(255, 143, 122, 0.14);
  border: 1px solid rgba(255, 143, 122, 0.4);
  color: #ffb0a0;
}

.lead-form__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: #2b1400;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.lead-form.is-busy .lead-form__spinner {
  display: block;
}

.lead-form.is-busy button[type='submit'] {
  opacity: 0.75;
  pointer-events: none;
}

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

/* --------------------------------------------------------------------------
   Inner page
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  min-height: min(78svh, 720px);
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--header-h) + 3rem) 4.5rem;
  background-size: cover;
  background-position: center;
  color: #fff;
  isolation: isolate;
}

.page-hero--short {
  min-height: min(62svh, 560px);
}

.page-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(23, 3, 3, 0.95) 5%, rgba(38, 5, 5, 0.7) 45%, rgba(58, 0, 0, 0.45) 100%);
}

.page-hero__veil::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.13;
  mix-blend-mode: overlay;
}

.page-hero__inner {
  position: relative;
  max-width: 800px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.4rem;
}

.crumbs a:hover {
  color: var(--amber-400);
}

.crumbs [aria-current] {
  color: #fff;
}

.page-hero__title {
  color: #fff;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.page-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.facts {
  background: var(--sand-100);
  border-bottom: 1px solid var(--line-soft);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line-soft);
}

.fact {
  background: var(--sand-100);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.fact__label {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.fact__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--maroon-800);
}

.fact--cta {
  background: var(--maroon-800);
}

.fact--cta .fact__label {
  color: rgba(248, 242, 231, 0.6);
}

.fact__value--link {
  color: var(--amber-400);
  direction: ltr;
  text-align: start;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.article__body {
  font-size: 1.09rem;
}

.article__body p {
  margin-bottom: 1.3em;
}

.side-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 1.6rem;
  display: grid;
  gap: 0.7rem;
}

.side-card h3 {
  font-size: 1.2rem;
}

.section--more {
  background: var(--sand-100);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--maroon-950);
  color: rgba(248, 242, 231, 0.75);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(to left, var(--amber-500) 0 33%, var(--teal-500) 33% 66%, var(--lime-500) 66%);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
}

.site-footer__brand img {
  height: 84px;
  width: auto;
  margin-bottom: 1.1rem;
}

.site-footer__brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 38ch;
}

.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
}

.site-footer__nav li,
.site-footer__contact li {
  margin-bottom: 0.65rem;
}

.site-footer__contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-footer__contact .icon {
  color: var(--amber-500);
  width: 1.15rem;
  height: 1.15rem;
}

.site-footer a:hover {
  color: var(--amber-400);
}

.social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.3rem;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.social a:hover {
  background: var(--amber-500);
  color: #2b1400;
  transform: translateY(-3px);
}

.social svg {
  width: 18px;
  height: 18px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
  color: rgba(248, 242, 231, 0.45);
}

.site-footer__bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Floating actions
   -------------------------------------------------------------------------- */

.whatsapp-fab {
  position: fixed;
  inset-inline-end: 1.4rem;
  bottom: 1.6rem;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #04310f;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.75);
  transition: transform 0.3s var(--ease);
}

.whatsapp-fab .icon {
  width: 30px;
  height: 30px;
  stroke: none;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
}

.whatsapp-fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.7);
  animation: ripple 2.6s var(--ease) infinite;
}

@keyframes ripple {
  to { transform: scale(1.55); opacity: 0; }
}

.mobile-bar {
  display: none;
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 85;
  background: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-soft);
  padding: 0.55rem 0.6rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.5rem;
}

.mobile-bar__item {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 0.4rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--sand-100);
  color: var(--maroon-800);
}

.mobile-bar__item--wa {
  background: #25d366;
  color: #04310f;
}

.mobile-bar__item--wa .icon {
  stroke: none;
}

.mobile-bar__item--cta {
  background: linear-gradient(135deg, var(--amber-500), var(--amber-600));
  color: #2b1400;
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .gallery-grid {
    columns: 3;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .about,
  .faq,
  .contact,
  .article {
    grid-template-columns: 1fr;
  }

  .about__media {
    padding-inline-start: 2rem;
    padding-bottom: 2.5rem;
    max-width: 560px;
  }

  .side-card {
    position: static;
  }

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

  .header-phone {
    display: none;
  }

  /* The inline menu becomes a drawer. */
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: 100;
    width: min(340px, 86vw);
    margin: 0;
    padding: 5.5rem 1.75rem 2rem;
    background: var(--maroon-900);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }

  /* `inset-inline-end` puts the drawer against the left edge in RTL, which is the side the
     hamburger sits on - so off-canvas is a negative X, not a positive one. */
  .site-nav {
    transform: translateX(-100%);
  }

  [dir='ltr'] .site-nav {
    transform: translateX(100%);
  }

  .site-nav.is-open,
  [dir='ltr'] .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .site-nav__list a,
  .site-header.is-stuck .site-nav__list a {
    display: block;
    padding: 1rem 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
  }

  .site-nav__list a::after {
    display: none;
  }

  .site-nav__cta {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.8rem;
  }

  .site-nav__close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 1.1rem;
    inset-inline-end: 1.1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
  }

  .site-nav__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
  }

  /* Below the breakpoint the quotes become a swipeable rail. */
  .quotes {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: auto;
    padding: 0.25rem 1.25rem 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  }

  .quote {
    flex: 0 0 min(400px, 82vw);
    scroll-snap-align: center;
  }

  .mobile-bar {
    display: flex;
  }

  .whatsapp-fab {
    bottom: 5.6rem;
  }

  body {
    padding-bottom: 4.6rem;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  .hero {
    min-height: min(94svh, 780px);
    padding-bottom: 4.5rem;
  }

  .hero__scroll {
    display: none;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .stats {
    margin-top: -2rem;
  }

  .stat {
    padding: 1.2rem 0.6rem;
  }

  .gallery-grid {
    columns: 2;
    column-gap: 0.6rem;
  }

  .gallery-grid__item {
    margin-bottom: 0.6rem;
  }

  .lead-form__row {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .about__media {
    padding-inline-start: 0;
  }

  .about__photo--sub {
    position: static;
    width: 100%;
    margin-top: 0.8rem;
    border: 0;
  }

  .about__stamp {
    width: 72px;
    height: 72px;
    inset-inline-end: 0;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-nav,
  .mobile-bar,
  .whatsapp-fab,
  .hero__media,
  .section--contact {
    display: none !important;
  }
}
