/* Deals on Wheels — design tokens + base */
:root {
  /* Cinematic dark + editorial */
  --noir: #0B0D10;
  --ink: #15181C;
  --ink-2: #1B1F24;
  --line: #2A2E34;
  --line-soft: rgba(196,162,74,0.18);

  --paper: #F7F4EE;
  --paper-2: #EDE7DC;
  --mist: #E5DECF;

  --text: #F4EFE3;
  --text-mute: #A39C8C;
  --text-dim: #6B6557;
  --text-ink: #15181C;
  --text-ink-mute: #5B5848;

  /* Accents */
  --gold: #C4A24A;
  --gold-deep: #8E732F;
  --gold-soft: #D9BC73;
  --maroon: #7A1F1F;
  --signal: #FF4605;

  --focus: #D9BC73;

  /* Type */
  --display: "Cormorant Infant", "Cormorant Garamond", "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --arabic: "Noto Naskh Arabic", "Times New Roman", serif;

  /* Geometry */
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 2px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--noir); color: var(--text); }
body {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { display: block; max-width: 100%; }
input, textarea, select { font: inherit; color: inherit; }

/* Typographic primitives */
.h-display { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; line-height: 1; }
.h-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.h-eyebrow-mute { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute); }
.h-mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; }
.h-mono-sm { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-wide { max-width: 1640px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }
.hairline-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-deep), transparent); border: 0; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--noir); background: var(--gold);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: var(--noir); }
.btn--ghost-light { background: transparent; color: var(--text-ink); border-color: var(--text-ink); }
.btn--ghost-light:hover { background: var(--text-ink); color: var(--paper); }
.btn--sm { padding: 10px 16px; font-size: 10.5px; }
.btn--lg { padding: 18px 28px; font-size: 12px; }
.btn--block { width: 100%; justify-content: center; }
.btn--whatsapp { background: #1F8A5B; border-color: #1F8A5B; color: white; }
.btn--whatsapp:hover { background: #25a06b; border-color: #25a06b; }

.link-gold { color: var(--gold); border-bottom: 1px solid var(--gold-deep); padding-bottom: 1px; }
.link-gold:hover { color: var(--gold-soft); }

/* Section breathing */
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 80px) 0; }

/* Card */
.card { background: var(--ink); border: 1px solid var(--line); }

/* Input */
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.field input, .field select, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  color: var(--text);
  outline: none;
  font-size: 15px;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.field--light input, .field--light select, .field--light textarea { color: var(--text-ink); border-bottom-color: rgba(0,0,0,0.15); }
.field--light label { color: var(--text-ink-mute); }
.field--light input:focus, .field--light select:focus { border-bottom-color: var(--gold-deep); }

/* Chip */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(196,162,74,0.08);
  border: 1px solid var(--line-soft);
  color: var(--gold);
}
.chip--paper { background: rgba(11,13,16,0.04); border-color: rgba(11,13,16,0.1); color: var(--text-ink); }
.chip--maroon { background: rgba(122,31,31,0.12); border-color: rgba(122,31,31,0.3); color: #C77373; }
.chip--solid { background: var(--gold); color: var(--noir); border-color: var(--gold); }

/* Image placeholder for missing photos */
.ph {
  background:
    repeating-linear-gradient(45deg, rgba(196,162,74,0.06), rgba(196,162,74,0.06) 12px, transparent 12px, transparent 24px),
    #1A1D22;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}

/* Utilities */
.grid { display: grid; }
.flex { display: flex; }
.center { display: flex; align-items: center; justify-content: center; }
.tabular { font-variant-numeric: tabular-nums; }
.upper { text-transform: uppercase; letter-spacing: 0.15em; }
.muted { color: var(--text-mute); }
.muted-ink { color: var(--text-ink-mute); }
.gold { color: var(--gold); }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }

/* Page transitions */
.page-enter { animation: fadeUp .4s ease both; }

/* Reset for buttons-as-links */
.unstyled-button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font: inherit; text-align: inherit; }

/* Scrollbar polish */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb { background: var(--line); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* Selection */
::selection { background: var(--gold); color: var(--noir); }
