/* ==========================================================================
   Safa Marwah Travel — Design System
   1. Tokens
   2. Reset & base
   3. Typography & utilities
   4. Buttons, chips, badges
   5. Header & navigation
   6. Hero
   7. Sections & headings
   8. Cards (package, testimonial, feature, gallery)
   9. Schedule table
   10. Forms, modal, order flow
   11. Page-specific blocks
   12. Footer
   13. Motion & responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #12241f;
  --ink-soft: #3b4c47;
  --muted: #6d7c77;
  --emerald-900: #062a23;
  --emerald-800: #093a30;
  --emerald: #0d5344;
  --emerald-600: #12705c;
  --emerald-100: #e4efe9;
  --gold: #c19a52;
  --gold-deep: #a9813b;
  --gold-soft: #e8d8b4;
  --cream: #fbf8f1;
  --sand: #f4eee2;
  --sand-deep: #ece2cf;
  --line: #e6ddca;
  --line-soft: #efe8da;
  --white: #ffffff;
  --danger: #b3402f;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-xs: 0 1px 2px rgba(18, 36, 31, 0.05);
  --shadow-sm: 0 2px 6px rgba(18, 36, 31, 0.05), 0 12px 30px -18px rgba(18, 36, 31, 0.25);
  --shadow-md: 0 30px 60px -34px rgba(18, 36, 31, 0.42);
  --shadow-lg: 0 50px 90px -40px rgba(6, 42, 35, 0.45);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --header-h: 82px;
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
}

/* 2. Reset & base ---------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

body:not([data-page="/"]) { padding-top: var(--header-h); }

img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--gold-soft); color: var(--emerald-900); }

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

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 999;
  background: var(--emerald); color: #fff; padding: 12px 20px; border-radius: 999px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* 3. Typography & utilities ------------------------------------------------ */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.container-wide { width: min(100% - 40px, 1360px); margin-inline: auto; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.06;
  font-size: clamp(2.5rem, 5.4vw, 4.35rem);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.accent { color: var(--gold); font-style: italic; }
.lead {
  font-size: clamp(1rem, 1.15vw, 1.09rem);
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 62ch;
}
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--light { color: var(--gold-soft); }

.section { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(44px, 5vw, 64px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--emerald-900); color: #f6f2e8; }
.section--dark .lead { color: rgba(246, 242, 232, 0.78); }
.section--flush { padding-bottom: 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}
.section-head__text { max-width: 640px; display: grid; gap: 14px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.stack-sm { display: grid; gap: 10px; }
.stack { display: grid; gap: 18px; }

.pattern {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23c19a52' stroke-opacity='.16'%3E%3Cpath d='M32 2 38 26 62 32 38 38 32 62 26 38 2 32 26 26Z'/%3E%3Ccircle cx='32' cy='32' r='10'/%3E%3C/g%3E%3C/svg%3E");
}

/* 4. Buttons, chips, badges ------------------------------------------------ */
.btn {
  --btn-bg: var(--emerald);
  --btn-fg: #fff;
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(13, 83, 68, 0.7); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

.btn-primary { --btn-bg: var(--emerald); }
.btn-primary:hover { --btn-bg: var(--emerald-600); }
.btn-gold { --btn-bg: var(--gold); --btn-fg: #231a08; }
.btn-gold:hover { --btn-bg: #cfa961; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: rgba(18, 36, 31, 0.18); }
.btn-ghost:hover { --btn-bg: rgba(18, 36, 31, 0.04); --btn-border: rgba(18, 36, 31, 0.32); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--emerald-900); }
.btn-light:hover { --btn-bg: #fdfaf3; }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.4); }
.btn-outline-light:hover { --btn-bg: rgba(255, 255, 255, 0.1); }
.btn-sm { padding: 11px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--emerald);
  border-bottom: 1px solid transparent;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow:hover { gap: 14px; border-color: var(--gold); }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.link-quiet {
  font-size: 0.87rem;
  font-weight: 600;
  color: inherit;
  opacity: 0.82;
  transition: opacity 0.2s;
}
.link-quiet:hover { opacity: 1; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip.is-active { background: var(--emerald); border-color: var(--emerald); color: #fff; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #241b09;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge--dark { background: rgba(6, 42, 35, 0.85); color: #f4e7c9; backdrop-filter: blur(6px); }
.badge--soft { background: var(--emerald-100); color: var(--emerald); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill--open { background: #e6f2ec; color: #1c6b4f; }
.pill--few { background: #fbeed2; color: #8a5f10; }
.pill--full { background: #f6e2dd; color: #9a3826; }

.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; fill: var(--gold); }

/* 5. Header ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 16px 0;
  color: #fff;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    padding 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
body:not([data-page="/"]) .site-header {
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ink);
  border-bottom-color: var(--line-soft);
}
.site-header.is-scrolled {
  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ink);
  padding: 10px 0;
  box-shadow: 0 10px 30px -24px rgba(18, 36, 31, 0.5);
  border-bottom-color: var(--line-soft);
}
.site-header.nav-open {
  background: var(--cream);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.header-inner { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; color: var(--gold); flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.brand-text em {
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.86;
  padding: 6px 0;
  transition: opacity 0.2s;
}
.nav a:hover { opacity: 1; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.28s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after { width: 100%; }
.nav a.is-active { opacity: 1; font-weight: 600; }
.nav-mobile-only { display: none; }

.header-actions { display: flex; align-items: center; gap: 18px; margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  opacity: 0.85;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.6px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: min(94vh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 30, 25, 0.72) 0%, rgba(4, 30, 25, 0.18) 34%, rgba(4, 30, 25, 0.86) 100%),
    radial-gradient(120% 90% at 78% 12%, rgba(193, 154, 82, 0.22), transparent 60%);
}
.hero__inner {
  padding: clamp(120px, 16vh, 180px) 0 56px;
  display: grid;
  gap: 34px;
}
.hero__copy { max-width: 700px; display: grid; gap: 24px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.45rem, 5vw, 4.05rem);
  line-height: 1.03;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--gold-soft); }
.hero__lead {
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  color: rgba(255, 255, 255, 0.84);
  max-width: 54ch;
  line-height: 1.75;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding-top: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.76);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-soft); stroke-width: 1.7; }

.hero__bar {
  background: rgba(251, 248, 241, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 8px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  max-width: 980px;
}
.hero__field { padding: 8px 16px; border-right: 1px solid var(--line-soft); display: grid; gap: 2px; }
.hero__field:last-of-type { border-right: 0; }
.hero__field label {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.hero__field select,
.hero__field input {
  border: 0;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 2px 0;
  width: 100%;
  color: var(--ink);
  appearance: none;
}
.hero__field select:focus, .hero__field input:focus { outline: none; }
.hero__bar .btn { border-radius: var(--radius); padding-inline: 26px; }

.hero__scroll {
  position: absolute;
  right: 32px;
  bottom: 40px;
  writing-mode: vertical-rl;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: none;
}
@media (min-width: 1100px) { .hero__scroll { display: block; } }

/* 7. Section extras -------------------------------------------------------- */
.section-head__link { flex: none; }

.stat-band {
  background: var(--emerald-800);
  color: #f4efe3;
  position: relative;
  overflow: hidden;
}
.stat-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23c19a52' stroke-opacity='.14'%3E%3Cpath d='M32 2 38 26 62 32 38 38 32 62 26 38 2 32 26 26Z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.09);
  position: relative;
}
.stat {
  background: var(--emerald-800);
  padding: 40px 28px;
  display: grid;
  gap: 6px;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.stat__value small { font-size: 0.5em; color: var(--gold-soft); margin-left: 2px; }
.stat__label { font-size: 0.8rem; letter-spacing: 0.05em; color: rgba(244, 239, 227, 0.66); }

/* 8. Cards ----------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.pkg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.pkg-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pkg-card:hover .pkg-media img { transform: scale(1.06); }
.pkg-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 42, 35, 0.28) 0%, transparent 42%);
}
.pkg-badge { position: absolute; top: 16px; left: 16px; z-index: 2; }
.pkg-duration {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(6, 42, 35, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pkg-duration svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.pkg-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pkg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pkg-title { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.pkg-rating { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 700; color: var(--ink); flex: none; }
.pkg-rating svg { width: 14px; height: 14px; fill: var(--gold); }
.pkg-tagline { font-size: 0.88rem; color: var(--muted); margin-top: -6px; }
.pkg-facts { display: grid; gap: 7px; font-size: 0.84rem; color: var(--ink-soft); }
.pkg-facts li { display: flex; align-items: center; gap: 9px; }
.pkg-facts svg { width: 15px; height: 15px; fill: none; stroke: var(--gold-deep); stroke-width: 1.7; flex: none; }
.pkg-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.price { display: grid; gap: 2px; }
.price small { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.price strong { font-family: var(--font-display); font-size: 1.42rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.price span { font-size: 0.76rem; color: var(--muted); }

.t-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  color: var(--ink);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.t-card__quote {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.7;
  color: var(--gold-soft);
  height: 22px;
}
.t-card__text { font-size: 0.94rem; color: var(--ink-soft); line-height: 1.78; flex: 1; }
.t-card__foot { display: flex; align-items: center; gap: 12px; padding-top: 6px; border-top: 1px solid var(--line-soft); }
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex: none;
  letter-spacing: 0.02em;
}
.t-card__who { display: grid; line-height: 1.35; }
.t-card__who strong { font-size: 0.9rem; font-weight: 700; }
.t-card__who span { font-size: 0.78rem; color: var(--muted); }

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  gap: 12px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.feature-card:hover { border-color: var(--gold-soft); transform: translateY(-3px); }
.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--sand);
  color: var(--emerald);
  display: grid;
  place-items: center;
}
.feature-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.feature-card p { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }

/* Gallery cards */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 232px;
  grid-auto-flow: dense;
  gap: 18px;
}
.g-item {
  margin: 0;
  height: 100%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand);
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
}
.g-item:nth-child(4n + 1) { grid-row: span 2; }
.gallery-grid--row { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; }
.gallery-grid--row .g-item { grid-row: span 1; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 42, 35, 0.82) 100%);
  opacity: 0.9;
  transition: opacity 0.4s;
}
.g-item:hover img { transform: scale(1.05); }
.g-item__cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  display: grid;
  gap: 2px;
}
.g-item__cap strong { font-size: 0.92rem; font-weight: 600; }
.g-item__cap span { font-size: 0.74rem; opacity: 0.72; }
.g-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
}
.g-play span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(6, 42, 35, 0.35);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.g-item:hover .g-play span { transform: scale(1.08); background: rgba(193, 154, 82, 0.9); }
.g-play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.g-duration {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(6, 42, 35, 0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

/* 9. Schedule table -------------------------------------------------------- */
.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.schedule-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.schedule-table thead th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 18px 22px;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.schedule-table tbody td { padding: 20px 22px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.schedule-table tbody tr:last-child td { border-bottom: 0; }
.schedule-table tbody tr { transition: background 0.2s; }
.schedule-table tbody tr:hover { background: #fdfaf4; }
.date-cell { display: grid; line-height: 1.3; }
.date-cell strong { font-size: 0.95rem; font-weight: 700; }
.date-cell span { font-size: 0.76rem; color: var(--muted); }
.tbl-pkg { display: grid; gap: 3px; }
.tbl-pkg strong { font-weight: 600; font-size: 0.92rem; }
.tbl-pkg span { font-size: 0.76rem; color: var(--muted); }
.seat-cell { min-width: 120px; }
.seat-bar { height: 5px; border-radius: 999px; background: var(--sand-deep); overflow: hidden; margin-top: 7px; }
.seat-bar i { display: block; height: 100%; border-radius: 999px; background: var(--emerald-600); }
.seat-bar i.warn { background: #d8a13c; }
.seat-bar i.danger { background: #c2604c; }
.seat-note { font-size: 0.75rem; color: var(--muted); }

/* 10. Forms, modal, order flow --------------------------------------------- */
.field { display: grid; gap: 7px; }
.field > label { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }
.field .hint { font-size: 0.74rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 3px rgba(18, 112, 92, 0.12);
}
.textarea { min-height: 110px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236d7c77' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field--full { grid-column: 1 / -1; }
.form-note { font-size: 0.76rem; color: var(--muted); line-height: 1.6; }
.form-error { color: var(--danger); font-size: 0.82rem; font-weight: 500; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 30, 25, 0.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  width: min(100%, 940px);
  max-height: 90vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.99);
  transition: transform 0.35s var(--ease);
  position: relative;
}
.modal.is-open .modal__card { transform: none; }
.modal__card--sm { width: min(100%, 560px); }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(6, 42, 35, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 5;
  backdrop-filter: blur(6px);
  transition: background 0.2s;
}
.modal__close:hover { background: var(--emerald); }
.modal__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.modal__body { padding: 0; }

.detail-hero { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 30, 25, 0.15), rgba(6, 30, 25, 0.78));
}
.detail-hero__text {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 26px;
  z-index: 2;
  color: #fff;
  display: grid;
  gap: 8px;
}
.detail-hero__text h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; line-height: 1.15; }
.detail-body { padding: 28px 32px 32px; display: grid; gap: 26px; }
.detail-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.detail-list { display: grid; gap: 9px; font-size: 0.88rem; color: var(--ink-soft); }
.detail-list li { display: flex; gap: 9px; align-items: flex-start; }
.detail-list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; fill: none; stroke: var(--emerald-600); stroke-width: 2; }
.detail-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: start; }
.detail-panel h4 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.kv { display: flex; justify-content: space-between; gap: 14px; font-size: 0.86rem; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.kv:last-of-type { border-bottom: 0; padding-bottom: 0; }
.kv span { color: var(--muted); }
.kv strong { font-weight: 600; text-align: right; }

/* Order flow */
.steps { display: flex; align-items: center; gap: 10px; padding: 24px 84px 0 32px; }
.step {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.step__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  background: #fff;
}
.step.is-active { color: var(--ink); }
.step.is-active .step__num { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.step.is-done .step__num { background: var(--emerald-100); border-color: var(--emerald-100); color: var(--emerald); }
.step__line { flex: 1; height: 1px; background: var(--line); }

.order-body { padding: 22px 32px 32px; display: grid; gap: 22px; }
.order-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.order-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 12px;
  position: sticky;
  top: 16px;
}
.order-summary h4 { font-size: 0.95rem; font-weight: 700; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; color: var(--ink-soft); }
.sum-row--total {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 4px;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
}
.sum-row--total strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: stretch; }
.seg label {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: grid;
  gap: 2px;
  height: 100%;
  align-content: start;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.86rem;
}
.seg label small { font-size: 0.72rem; color: var(--muted); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + label,
.seg label.is-checked { border-color: var(--emerald); background: var(--emerald-100); }
.seg label:has(input:checked) { border-color: var(--emerald); background: var(--emerald-100); }

.success-panel { padding: 44px 36px 40px; display: grid; gap: 18px; text-align: center; justify-items: center; }
.success-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald);
  display: grid;
  place-items: center;
}
.success-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; }
.order-code {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  background: #fff;
  border: 1px dashed var(--gold);
  padding: 12px 26px;
  border-radius: var(--radius-sm);
}

/* Toast */
.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  display: grid;
  gap: 10px;
  max-width: 360px;
}
.toast {
  background: var(--emerald-900);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.87rem;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: toastIn 0.35s var(--ease);
  border-left: 3px solid var(--gold);
}
.toast--error { background: #4a1f18; border-left-color: #d98a76; }
.toast svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; margin-top: 2px; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* 11. Page-specific -------------------------------------------------------- */
.page-head {
  position: relative;
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
  background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 154, 82, 0.16), transparent 68%);
  pointer-events: none;
}
.page-head__inner { display: grid; gap: 16px; position: relative; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.78rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { opacity: 0.5; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.toolbar__group { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.result-count { font-size: 0.82rem; color: var(--muted); }

.rating-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.rating-score { display: grid; gap: 6px; text-align: center; padding-right: 32px; border-right: 1px solid var(--line); }
.rating-score strong { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; font-weight: 500; }
.rating-score small { font-size: 0.78rem; color: var(--muted); }
.rating-bars { display: grid; gap: 8px; }
.rating-bar { display: grid; grid-template-columns: 34px 1fr 68px; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--muted); }
.rating-bar > span:last-child { text-align: right; white-space: nowrap; }
.rating-bar i { display: block; height: 6px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.rating-bar i b { display: block; height: 100%; background: var(--gold); border-radius: 999px; }

.empty-state {
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
  display: grid;
  gap: 10px;
  justify-items: center;
  background: rgba(255, 255, 255, 0.5);
}

.cta-band {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(64px, 8vw, 96px) 0;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(6, 42, 35, 0.96) 8%, rgba(6, 42, 35, 0.78) 55%, rgba(6, 42, 35, 0.58));
}
.cta-band__inner { display: grid; gap: 22px; max-width: 620px; }
.cta-band .h2 { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, 0.82); }

.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] { border-color: var(--gold-soft); box-shadow: var(--shadow-xs); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--gold-deep);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding-bottom: 20px; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.75; max-width: 70ch; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-card svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-deep); stroke-width: 1.6; flex: none; margin-top: 3px; }
.contact-card strong { display: block; font-size: 0.9rem; }
.contact-card span { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  gap: 16px;
}

.timeline { display: grid; gap: 0; }
.timeline__item { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding-bottom: 22px; position: relative; }
.timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 26px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  z-index: 1;
}
.timeline__item.is-done .timeline__dot { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.timeline__body strong { display: block; font-size: 0.9rem; }
.timeline__body span { font-size: 0.8rem; color: var(--muted); }

.track-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.track-form .field { flex: 1; }
.track-result { margin-top: 28px; }
.track-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 20px;
}
.track-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.track-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(4, 20, 16, 0.94); display: grid; place-items: center; padding: 40px 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img, .lightbox video { max-width: min(100%, 1100px); max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 22px; right: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.lightbox__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.lightbox__caption { color: rgba(255,255,255,.75); font-size: .85rem; margin-top: 16px; text-align: center; }

/* 12. Footer --------------------------------------------------------------- */
.site-footer { background: var(--emerald-900); color: rgba(246, 242, 232, 0.72); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 44px;
  padding-bottom: 52px;
}
.brand-light { color: #fff; margin-bottom: 18px; }
.brand-light .brand-mark { color: var(--gold-soft); }
.footer-brand p { font-size: 0.86rem; line-height: 1.75; max-width: 34ch; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-badges span {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 5px 11px;
  color: rgba(246, 242, 232, 0.62);
}
.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.87rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-contact-list li { display: flex; gap: 11px; font-size: 0.85rem; line-height: 1.6; align-items: flex-start; }
.footer-contact-list svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-soft); stroke-width: 1.6; flex: none; margin-top: 4px; }
.newsletter { display: flex; gap: 8px; margin-top: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding-bottom: 8px; }
.newsletter input { flex: 1; background: transparent; border: 0; color: #fff; font-size: 0.86rem; padding: 6px 0; }
.newsletter input::placeholder { color: rgba(246, 242, 232, 0.4); }
.newsletter input:focus { outline: none; }
.newsletter button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.24); background: transparent; color: #fff; display: grid; place-items: center; transition: background 0.2s; }
.newsletter button:hover { background: var(--gold); border-color: var(--gold); color: #231a08; }
.newsletter svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: rgba(246, 242, 232, 0.48);
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 30px -12px rgba(37, 211, 102, 0.7);
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* 13. Motion & responsive -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .link-quiet { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; }
  .footer-brand { grid-column: 1 / -1; }
  .detail-cols, .order-cols { grid-template-columns: 1fr; }
  .order-summary { position: static; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--cream);
    color: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; }
  .nav a::after { display: none; }
  .nav-mobile-only { display: block; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }

  .hero { min-height: auto; }
  .hero__inner { padding-top: 140px; }
  .hero__bar { grid-template-columns: 1fr 1fr; }
  .hero__bar .btn { grid-column: 1 / -1; }
  .hero__field { border-right: 0; border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; }
  .hero__field:nth-child(3) { border-bottom: 0; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-band__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-grid--row { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .rating-summary { grid-template-columns: 1fr; gap: 24px; }
  .rating-score { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .table-wrap { overflow-x: auto; }
  .schedule-table { min-width: 780px; }
}

@media (max-width: 640px) {
  body:not([data-page="/"]) { padding-top: 74px; }
  :root { --header-h: 74px; }
  .hero__bar { grid-template-columns: 1fr; }
  .hero__field { border-bottom: 1px solid var(--line-soft); padding-bottom: 10px; }
  .hero__field:nth-child(3) { border-bottom: 1px solid var(--line-soft); }
  .hero__field:last-of-type { border-bottom: 0; }
  .container, .container-wide { width: min(100% - 32px, var(--container)); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-body, .order-body { padding-inline: 20px; }
  .steps { padding-inline: 20px; }
  .modal { padding: 12px; }
  .modal__card { max-height: 94vh; }
  .track-form { flex-direction: column; align-items: stretch; }
  .track-grid { grid-template-columns: 1fr; }
  .stat { padding: 26px 20px; }
  .hero__trust { gap: 8px 18px; font-size: 0.76rem; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .toast-stack { left: 14px; right: 14px; bottom: 76px; max-width: none; }
}
