/* ============================================================
   El Santo Hostel — Colors & Type
   Source: Glide app screenshot + brand logo (Burgos, Spain)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* -------- Brand color -------- */
  --santo-yellow:        #F5C801;   /* primary — app header & search */
  --santo-yellow-deep:   #FBB700;   /* logo amber — used on white bg */
  --santo-yellow-hover:  #E7BC00;
  --santo-yellow-press:  #D4AC00;
  --santo-yellow-soft:   #FFF3B8;   /* tinted surface */
  --santo-yellow-mist:   #FFFBEA;   /* lightest tint */

  /* -------- Neutrals (warm) -------- */
  --ink:          #1A1A1A;          /* headings */
  --ink-soft:     #2B2B2B;          /* body */
  --slate:        #6B6B6B;          /* subtitles / captions */
  --slate-light:  #9A9A9A;          /* placeholders / inactive */
  --hairline:     #ECECEC;          /* dividers */
  --surface:      #FAFAFA;          /* card list background */
  --card:         #FFFFFF;
  --shell:        #F4F4F4;          /* page shell behind cards */

  /* -------- Semantic -------- */
  --success: #2E9E5B;
  --danger:  #D7453B;               /* matches the red of the "emergencias" card */
  --info:    #2B6CB0;

  /* -------- Elevation -------- */
  --shadow-sm:  0 1px 2px rgba(20, 20, 20, 0.06);
  --shadow-md:  0 2px 8px rgba(20, 20, 20, 0.08);
  --shadow-lg:  0 10px 30px rgba(20, 20, 20, 0.12);
  --shadow-pop: 0 12px 40px rgba(245, 200, 1, 0.35);   /* yellow-tinted */

  /* -------- Radius -------- */
  --r-xs:  6px;
  --r-sm:  10px;
  --r-md:  14px;     /* list cards, search bar */
  --r-lg:  22px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* -------- Spacing -------- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 56px;

  /* -------- Type families -------- */
  /* Display = Montserrat (Google Fonts substitute for the unknown logo sans —
     geometric, condensed-ish caps with open aperture, closest match until the
     real font file is supplied). */
  --font-display: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* -------- Type scale (mobile-first) -------- */
  --fs-display: 34px;
  --fs-h1:      26px;     /* "Inicio" screen title */
  --fs-h2:      20px;     /* card list row titles */
  --fs-h3:      17px;
  --fs-body:    16px;
  --fs-sm:      14px;     /* subtitles under rows */
  --fs-xs:      12px;     /* tab bar labels, caption */
  --fs-micro:   10px;
}

/* ============================================================
   Semantic element defaults
   ============================================================ */

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--ink-soft);
  background: var(--shell);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.15; }
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.2;  }
h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.25; }

/* "Hero" display style — all caps, tight, evokes the logo wordmark */
.santo-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--ink);
}

.santo-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

p      { margin: 0 0 1em; color: var(--ink-soft); }
small  { font-size: var(--fs-xs); color: var(--slate); }
code   { font-family: var(--font-mono); font-size: 0.92em; background: var(--santo-yellow-mist); padding: 1px 6px; border-radius: var(--r-xs); }

a      { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--santo-yellow-deep); }

/* ============================================================
   Reusable primitives seen in the app
   ============================================================ */

.santo-pill-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  border: none;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.santo-pill-btn:hover  { box-shadow: var(--shadow-md); }
.santo-pill-btn:active { transform: scale(0.97); }

.santo-search {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.35);
  color: #fff;
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: var(--fs-body);
}
.santo-search::placeholder { color: rgba(255,255,255,0.75); }

.santo-card {
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 12px;
}
