/* ============================================================
   Free Tours — Design tokens (README §10)
   All values are final / hi-fi. City accent arrives per subsite
   as --city-accent / --city-soft / --city-ink (printed on <html>).
   ============================================================ */

/* ---------- Self-hosted fonts (font-display: swap) ---------- */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/newsreader-latin-opsz-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/newsreader-latin-ext-opsz-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/newsreader-latin-opsz-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/newsreader-latin-ext-opsz-italic.woff2') format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-opsz-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin-ext-opsz-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Fonts */
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Color — surfaces & ink */
  --bg: #FFFFFF;              /* page background */
  --section-cream: #FAF8F4;  /* map strip */
  --surface-alt: #F1EDE5;    /* experiences strip, neutral chips, nav hover, segmented */
  --surface: #FFFFFF;        /* cards */
  --hover-warm: #F6F3EE;     /* row hover */
  --hover-warm-2: #F6F2EA;   /* active row of "Antes de caminar" */

  --text-primary: #171714;   /* ink */
  --text-body: #3E3D38;      /* long paragraphs */
  --text-secondary: #69675F; /* secondary & meta */
  --text-disabled: #9A978E;
  --text-disabled-2: #B8B3A8;
  --text-inverse: #F3F0EA;
  --text-inverse-muted: #C9C4B9;
  --text-inverse-muted-2: #D8D3C9;
  --text-inverse-muted-3: #9C988E;

  /* Borders & dashes */
  --border: #E7E3DB;         /* default borders & separators */
  --border-card: #DDD8CE;    /* white cards over white */
  --border-hover: #CFC8BB;
  --dashed-marker: #BDB7AB;  /* section marker line */
  --dashed-inner: #D9D3C7;   /* perforated internal separators */

  /* Dark section */
  --dark: #191A17;           /* "Cómo funciona" + footer */
  --dark-line: #3A3B35;
  --dark-line-2: #34352F;
  --dark-line-3: #55564F;
  --dark-chip: #2A2B26;      /* step circles 2–3 */
  --dark-current: #24261F;   /* current-city chip in footer */

  /* Brand (CTA — always forest green, never city accent) */
  --brand: #24382F;
  --brand-hover: #192820;
  --brand-loading: #3C5147;

  /* Status */
  --success: #237A57;        /* stars, checks, "Plazas libres" */
  --warning-text: #7A4A00;   /* last places */
  --warning-bg: #FCF3E3;
  --warning-border: #E9C88F;
  --error: #B3261E;

  /* Placeholder hatch */
  --hatch-a: #EFEAE1;
  --hatch-b: #F5F1EA;

  /* Schematic map */
  --map-bg: #F1EDE5;
  --map-grid: #E6E0D4;
  --map-river: #C9DADC;
  --map-river-text: #5E8A90;

  --quote-accent-dark: #E6B5A7; /* italic of dark-section quote */

  /* Radii */
  --r-6: 6px;    /* chips, calendar days */
  --r-8: 8px;    /* controls */
  --r-10: 10px;  /* buttons, thumbnails */
  --r-12: 12px;  /* menus, small images */
  --r-14: 14px;  /* board, experience cards */
  --r-16: 16px;  /* cards, boxes */
  --r-20: 20px;  /* large images, map, mobile sheet */

  /* Shadows */
  --sh-sm: 0 1px 0 rgba(25,26,23,.03);
  --sh-md: 0 10px 24px -14px rgba(25,26,23,.28);
  --sh-menu: 0 18px 40px -20px rgba(25,26,23,.3);
  --sh-mega: 0 24px 40px -30px rgba(25,26,23,.35);
  --sh-toast: 0 12px 30px -12px rgba(0,0,0,.4);

  /* Layout */
  --maxw: 1280px;
  --maxw-narrow: 1080px;
  --pad: 40px;        /* desktop page margin */
  --sec-y: 120px;     /* vertical gap between sections (desktop) */

  /* City accent — default = Granada. Overridden per subsite on <html>. */
  --city-accent: #B54A32;
  --city-soft: #F5E6E0;
  --city-ink: #B54A32;
}

/* Tablet page margin */
@media (max-width: 1080px) {
  :root { --pad: 32px; }
}
/* Mobile page margin + section gap */
@media (max-width: 720px) {
  :root { --pad: 20px; --sec-y: 72px; }
}
