/* ===== Kings Luxury Travel — shared design tokens & components =====
   Light, airy surfaces. Black is reserved for the thin header/footer + text,
   gold is used as the accent (buttons, highlights, selected states). */

@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/cormorant-garamond-latin-700-normal.woff2') format('woff2'); }

:root {
  --ink: #1B1712;
  --ink-2: #4A443A;
  --muted: #7A7466;
  --bg: #FBF9F4;
  --surface: #FFFFFF;
  --sand: #F4EEE1;
  --sand-2: #EDE4CF;
  --line: #E8E1D0;
  --line-2: #D9CFB6;

  --gold: #C8A45A;
  --gold-600: #B38E42;
  --gold-700: #8A6B25;   /* gold for text on light backgrounds (AA contrast) */
  --gold-100: #F6EEDB;
  --gold-50: #FBF6EA;

  --ok: #2F7D5B;
  --ok-bg: #E7F3EC;
  --warn: #9A6A0B;
  --warn-bg: #FFF4D6;
  --danger: #B4432F;
  --danger-bg: #FBE9E5;
  --sea: #DCEBE6;        /* soft cool tint used sparingly for tour art */

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(27, 23, 18, .05), 0 1px 1px rgba(27, 23, 18, .03);
  --shadow: 0 8px 24px -8px rgba(27, 23, 18, .12), 0 2px 6px rgba(27, 23, 18, .05);
  --shadow-lg: 0 24px 60px -20px rgba(27, 23, 18, .25);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .price-top b { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
a { color: var(--gold-700); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid rgba(200, 164, 90, .55); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: 14px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .05s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover:not([disabled]) { background: var(--gold-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover:not([disabled]) { background: #34302a; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover:not([disabled]) { background: var(--sand); }
.btn-danger { background: var(--surface); color: var(--danger); border-color: #E7B9B0; }
.btn-danger:hover:not([disabled]) { background: var(--danger-bg); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover:not([disabled]) { background: #1DA851; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > label, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--muted); }
.field .optional { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=time], input[type=search], input[type=url], select, textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 84px; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 164, 90, .25); }
input::placeholder, textarea::placeholder { color: #A7A08E; }
input[type=checkbox], input[type=radio] { accent-color: var(--gold-600); width: 17px; height: 17px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 2px; }

/* ---------- misc ---------- */
.badge { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--sand); color: var(--ink-2); }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-gold { background: var(--gold-100); color: var(--gold-700); }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; border: 1px solid; }
.alert .icon { vertical-align: -4px; margin-right: 4px; }
.alert-error { background: var(--danger-bg); border-color: #F0C5BD; color: #8B2F1F; }
.alert-info { background: var(--gold-50); border-color: var(--line-2); color: var(--ink-2); }
.alert-ok { background: var(--ok-bg); border-color: #BFE0CE; color: #1F5C41; }
.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
