/* ==========================================================================
   070 · ALTITUDE (ذُروة الجبل) — 1:1 Swiss Vintage Ski-Poster (#F4EFE4 + #0B3D6E + #D7262E)
   Inset Swiss poster frame · 4px red top rule card · Falling snow report · #/book calculator
   ========================================================================== */

:root {
  --al-paper: #F4EFE4;
  --al-paper-2: #EAE3D3;
  --al-ink: #0A1F33;
  --al-blue: #0B3D6E;
  --al-ice: #7FB2D9;
  --al-pine: #1E3B2F;
  --al-red: #D7262E;
  --al-gold: #F4B942;
  --al-muted: #56657A;
  --al-line: rgba(10, 31, 51, 0.16);
  --al-disp: 'Cairo', 'Readex Pro', sans-serif;
  --al-sans: 'IBM Plex Sans Arabic', 'Readex Pro', system-ui, sans-serif;
  --al-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  background: var(--al-paper);
  color: var(--al-ink);
  font-family: var(--al-sans);
  letter-spacing: 0;
}

body {
  background: var(--al-paper);
  color: var(--al-ink);
  font-family: var(--al-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

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

button, input, select {
  font-family: inherit;
  letter-spacing: 0;
}

.al-btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 2px;
  border: none;
  background: var(--al-red);
  color: #FFFFFF;
  font-family: var(--al-disp);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.al-btn-red:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.al-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 2px;
  border: 1.5px solid var(--al-ink);
  background: transparent;
  color: var(--al-ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

/* ======================== STICKY SWISS HEADER ======================== */
.al-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 64px;
  background: rgba(244, 239, 228, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--al-line);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.al-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--al-disp);
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}

.al-swiss-cross {
  width: 26px;
  height: 26px;
  background: var(--al-red);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
}

.al-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--al-muted);
  white-space: nowrap;
}

.al-nav a:hover {
  color: var(--al-red);
}

/* ======================== 1. INSET SWISS POSTER HERO ======================== */
.al-poster-shell {
  padding: 14px;
}

.al-poster-plate {
  position: relative;
  min-height: calc(100dvh - 92px);
  background: var(--al-blue);
  overflow: hidden;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}

.al-poster-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.al-poster-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.al-poster-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 31, 51, 0.76) 0%, rgba(10, 31, 51, 0.25) 58%, rgba(10, 31, 51, 0.48) 100%);
  pointer-events: none;
}

.al-poster-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--al-mono);
  font-size: 11px;
  color: rgba(244, 239, 228, 0.85);
}

.al-alt-tag {
  background: var(--al-gold);
  color: var(--al-ink);
  padding: 3px 10px;
  font-weight: 700;
}

.al-hero-main {
  max-width: 640px;
  margin-block: auto;
}

.al-navy-pill {
  display: inline-block;
  padding: 5px 12px;
  background: var(--al-ink);
  color: var(--al-paper);
  font-family: var(--al-mono);
  font-size: 11.5px;
  margin-bottom: 14px;
}

.al-h1 {
  font-family: var(--al-disp);
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--al-paper);
  text-shadow: 0 8px 28px rgba(10, 31, 51, 0.45);
  margin-bottom: 22px;
}

/* Crisp #F4EFE4 Card Topped by 4px #D7262E Bar */
.al-overlap-card {
  background: var(--al-paper);
  color: var(--al-ink);
  border-top: 4px solid var(--al-red);
  padding: 24px 26px;
  box-shadow: 0 22px 54px rgba(10, 31, 51, 0.32);
}

.al-tel-4 {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--al-line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  font-family: var(--al-mono);
  font-size: 11px;
}

.al-swatches-bar {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.al-swatch {
  width: 22px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ======================== 2. CHALETS & SKI-POLE STRIPE CARD ======================== */
.al-sec {
  max-width: 1220px;
  margin: 0 auto;
  padding: 84px 28px;
  border-bottom: 1px solid var(--al-line);
}

.al-h2 {
  font-family: var(--al-disp);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
}

.al-pole-card {
  margin-top: 28px;
  background: #FFFFFF;
  border: 1px solid var(--al-line);
  border-inline-start: 10px solid var(--al-red);
  border-image: repeating-linear-gradient(180deg, var(--al-red) 0 18px, #FFFFFF 18px 36px) 10;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.al-chalets-3 {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.al-chalet-card {
  background: var(--al-paper-2);
  border-top: 3px solid var(--al-ink);
  display: flex;
  flex-direction: column;
}

.al-chalet-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.al-chalet-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* ======================== 3. FALLING SNOW REPORT (#snow — #0B3D6E) ======================== */
.al-snow-band {
  position: relative;
  background: var(--al-blue);
  color: var(--al-paper);
  padding: 88px 28px;
  overflow: hidden;
}

#al-snow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.al-snow-inner {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
}

.al-snow-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.al-snow-stat {
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border-top: 2px solid var(--al-gold);
}

/* ======================== 4. FAQ & #/BOOK SUB-ROUTE ======================== */
.al-faq-item {
  border-bottom: 1px solid var(--al-line);
  padding: 16px 0;
}

.al-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--al-ink);
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  text-align: start;
}

.al-faq-a {
  display: none;
  padding-top: 8px;
  font-size: 14px;
  color: var(--al-muted);
}

.al-faq-item.is-open .al-faq-a {
  display: block;
}

.al-subview {
  display: none;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 28px 92px;
}

body.is-sub .al-home-flow {
  display: none;
}

body.is-sub .al-subview {
  display: block;
}

.al-book-split {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.al-white-box {
  background: #FFFFFF;
  border-top: 4px solid var(--al-blue);
  padding: 28px;
}

/* ======================== FOOTER ======================== */
.al-footer {
  background: var(--al-blue);
  color: var(--al-paper);
  padding: 64px 28px 38px;
}

.al-footer-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.al-watermark {
  text-align: center;
  font-family: var(--al-disp);
  font-size: clamp(3.4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(244, 239, 228, 0.32);
  transform: skewX(-6deg);
  margin-bottom: 36px;
}

.al-showcase-bar {
  padding-top: 20px;
  border-top: 1px solid rgba(244, 239, 228, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(244, 239, 228, 0.78);
}

@media (max-width: 720px) {
  .al-nav {
    display: none;
  }
  .al-tel-4,
  .al-chalets-3,
  .al-snow-grid,
  .al-book-split {
    grid-template-columns: 1fr;
  }
}
