/* Ram Holidays Jaisalmer — design tokens */
:root {
  --bg: #f6efe4;
  --bg-paper: #fbf7f0;
  --bg-elevated: #fffdf8;
  --bg-ink: #1a120e;
  --bg-ink-2: #261a14;
  --fg: #1a120e;
  --fg-muted: #6a5a4e;
  --fg-subtle: #8a786a;
  --fg-on-ink: #f6efe4;
  --accent: #a24c2d;
  --accent-hover: #863d24;
  --accent-fg: #fffdf8;
  --brass: #b08958;
  --brass-soft: rgba(176, 137, 88, 0.35);
  --line: rgba(26, 18, 14, 0.1);
  --line-strong: rgba(26, 18, 14, 0.18);
  --line-on-ink: rgba(246, 239, 228, 0.14);
  --ok: #2f6b4f;
  --danger: #9b2c2c;

  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.03125rem;
  --text-lg: 1.125rem;
  --text-xl: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --text-2xl: clamp(1.85rem, 1.3rem + 2vw, 2.65rem);
  --text-3xl: clamp(2.4rem, 1.6rem + 3.2vw, 4.1rem);

  --leading-tight: 1.12;
  --leading-snug: 1.28;
  --leading-body: 1.62;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 104px;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow: 0 20px 48px -28px rgba(26, 18, 14, 0.38);
  --shadow-soft: 0 10px 28px -18px rgba(26, 18, 14, 0.28);
  --container: 1160px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-fast: 220ms;
  --motion-quick: 150ms;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--fg);
  background: var(--bg);
  min-height: 100dvh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 0.45em;
}
p { text-wrap: pretty; margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 8px 16px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg-paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.logo-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.logo-text span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  border-radius: 999px;
  transition: color var(--motion-quick) var(--ease), background var(--motion-quick) var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--fg); background: color-mix(in srgb, var(--fg) 5%, transparent); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.phone-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--fg);
  position: relative;
  border-radius: 2px;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--motion-quick) var(--ease), background var(--motion-quick) var(--ease), border-color var(--motion-quick) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent;
  color: var(--fg-on-ink);
  border-color: var(--line-on-ink);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--fg-on-ink) 8%, transparent); }
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--fg);
}
.btn-outline:hover { background: var(--bg-elevated); }
.btn-light { background: var(--bg-elevated); color: var(--fg); }
.btn-wa { background: #128c4a; color: #fff; }
.btn-wa:hover { background: #0f7a3f; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: var(--fg-on-ink);
  overflow: hidden;
  background: var(--bg-ink);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,18,14,0.18) 0%, rgba(26,18,14,0.55) 52%, rgba(26,18,14,0.88) 100%);
}
.hero-body {
  position: relative;
  z-index: 1;
  padding: 0 0 var(--space-8);
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
}
.hero h1 {
  font-size: var(--text-3xl);
  max-width: 16ch;
  color: var(--fg-on-ink);
  margin-bottom: 12px;
}
.hero-lead {
  max-width: 46ch;
  color: color-mix(in srgb, var(--fg-on-ink) 82%, transparent);
  font-size: 1.05rem;
  margin-bottom: var(--space-5);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-6); }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-on-ink);
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 720px;
}
.hero-facts div {
  background: color-mix(in srgb, var(--bg-ink) 55%, transparent);
  padding: 14px 16px;
}
.hero-facts strong { display: block; font-size: 1.05rem; font-weight: 600; }
.hero-facts span { font-size: 0.78rem; color: color-mix(in srgb, var(--fg-on-ink) 70%, transparent); }

.page-hero {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: end;
  color: var(--fg-on-ink);
  background: var(--bg-ink);
  overflow: hidden;
}
.page-hero .hero-media::after {
  background: linear-gradient(180deg, rgba(26,18,14,0.2), rgba(26,18,14,0.78));
}
.page-hero .hero-body { padding-bottom: var(--space-7); }
.page-hero h1 { font-size: var(--text-2xl); max-width: 22ch; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--text-sm);
  color: color-mix(in srgb, var(--fg-on-ink) 72%, transparent);
  margin-bottom: var(--space-3);
}
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { opacity: 0.6; }

/* Sections */
.section { padding: var(--space-8) 0; }
.section-ink { background: var(--bg-ink); color: var(--fg-on-ink); }
.section-paper { background: var(--bg-paper); }
.section-head { max-width: 640px; margin-bottom: var(--space-6); }
.section-head h2 { font-size: var(--text-2xl); }
.section-head p { color: var(--fg-muted); }
.section-ink .section-head p { color: color-mix(in srgb, var(--fg-on-ink) 70%, transparent); }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-ink-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 1.55rem; margin: 0; }
.price {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.05rem;
}
.price small { color: var(--fg-muted); font-weight: 500; font-size: 0.82rem; }
.incl { list-style: none; display: grid; gap: 7px; margin: 6px 0 12px; }
.incl li {
  display: flex;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--fg-muted);
}
.incl li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--brass);
  flex: 0 0 auto;
}
.card-body .btn { margin-top: auto; }

.tour-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  align-items: center;
}
.tour-card img {
  width: 140px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.tour-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.tour-card p { color: var(--fg-muted); font-size: 0.92rem; }

.safari-card {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: var(--fg-on-ink);
  display: flex;
  align-items: flex-end;
}
.safari-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.safari-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(26,18,14,0.82));
}
.safari-card div { position: relative; z-index: 1; padding: 22px; }
.safari-card h3 { font-size: 1.6rem; }
.meta { font-size: 0.85rem; color: var(--brass); font-weight: 600; }

.act {
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.act-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  margin-bottom: 14px;
}
.act-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.act h3 { font-size: 1.28rem; }
.act p { color: var(--fg-muted); font-size: 0.94rem; }

.why {
  display: grid;
  gap: 12px;
}
.why article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line-on-ink);
  border-radius: var(--radius-lg);
}
.why strong { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.why p { color: color-mix(in srgb, var(--fg-on-ink) 72%, transparent); font-size: 0.94rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-7);
  align-items: center;
}
.split img { border-radius: var(--radius-xl); width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.split-copy h2 { font-size: var(--text-2xl); }
.split-copy p { color: var(--fg-muted); }

.prose { max-width: 72ch; }
.prose h2 { font-size: var(--text-xl); margin-top: 1.4em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.15em; margin: 0 0 1em; }
.prose li { margin: 0.3em 0; color: var(--fg-muted); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 4px 16px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--fg-muted); padding-bottom: 14px; }

.itinerary { display: grid; gap: 14px; }
.it-day {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.it-day strong {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.it-day h3 { font-size: 1.25rem; margin-bottom: 4px; }
.it-day p { color: var(--fg-muted); font-size: 0.95rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.quote {
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.quote p { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.45; margin-bottom: 16px; }
.quote cite { font-style: normal; font-size: 0.88rem; color: var(--fg-muted); display: block; }
.quote cite strong { color: var(--fg); display: block; font-size: 0.95rem; }

/* Forms */
.form {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}
.form h2 { font-size: 1.7rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--bg-paper);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-color: var(--accent);
}
.form-note { font-size: 0.8rem; color: var(--fg-muted); margin-top: 8px; }
.form-success {
  display: none;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--ok) 12%, white);
  color: var(--ok);
  border-radius: var(--radius-sm);
  margin-top: 10px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--bg-ink);
  color: var(--fg-on-ink);
  padding: var(--space-8) 0 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--line-on-ink);
}
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.site-footer p, .site-footer li { color: color-mix(in srgb, var(--fg-on-ink) 74%, transparent); font-size: 0.92rem; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--fg-on-ink); }
.foot-legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--fg-on-ink) 55%, transparent);
}
.news {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.news input {
  flex: 1;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-on-ink);
  background: transparent;
  padding: 0 14px;
  color: var(--fg-on-ink);
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px 0 12px;
  background: #128c4a;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.wa-float svg { width: 22px; height: 22px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--fg-muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-6) 0;
}
.stat-row div { background: var(--bg-elevated); padding: 18px; }
.stat-row strong { display: block; font-size: 1.4rem; font-family: var(--font-display); }
.stat-row span { font-size: 0.82rem; color: var(--fg-muted); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}
.related a strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.related a span { color: var(--fg-muted); font-size: 0.88rem; }

.table-wrap { overflow-x: auto; margin: 16px 0 24px; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }

.nav-drawer {
  display: none;
}

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3, .quotes, .related { grid-template-columns: 1fr 1fr; }
  .hero-facts, .stat-row { grid-template-columns: 1fr 1fr; }
  .split, .foot-grid { grid-template-columns: 1fr; }
  .nav, .phone-link { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-drawer {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px;
    box-shadow: var(--shadow);
  }
  .nav-drawer.is-open { display: grid; gap: 4px; }
  .nav-drawer a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    font-weight: 500;
  }
  .site-header { position: sticky; }
}

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .quotes, .related, .fields, .hero-facts, .stat-row {
    grid-template-columns: 1fr;
  }
  .tour-card, .it-day { grid-template-columns: 1fr; }
  .tour-card img { width: 100%; height: 180px; }
  .hero { min-height: 92vh; }
  .header-cta .btn { padding-inline: 12px; }
  .wa-float span { display: none; }
  .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
