/* =========================================================================
   Where To Next — 2027  ·  "The Band – On Tour" design system
   Tokens & components recreated from the design handoff.
   ========================================================================= */

:root {
  /* --- Color scale --- */
  --navy-900: #0E2233;
  --navy-800: #12293D;
  --navy-700: #173753;
  --navy-600: #1E4869;
  --navy-500: #2A5B82;

  --slate-600: #4C5E6C;
  --slate-500: #5E7180;
  --slate-400: #7B8B98;
  --slate-300: #A2AEB8;
  --slate-200: #C8D0D6;
  --slate-100: #E7EBEE;

  --orange-600: #C85A22;
  --orange-500: #E8763A;
  --orange-400: #F09060;
  --orange-300: #F6B48C;

  --cream-100: #FAF6E9;
  --cream-200: #EDE4C8;
  --cream-300: #DBCFA6;

  --white: #FFFFFF;
  --black: #0A0F14;
  --success: #3E8E5A;
  --danger: #C4402E;

  /* --- Semantic --- */
  --page-bg: var(--cream-100);
  --text-body: var(--navy-800);
  --text-strong: var(--navy-700);
  --text-muted: var(--slate-600);
  --text-on-dark: var(--cream-100);
  --text-on-dark-muted: var(--slate-300);
  --accent: var(--orange-500);
  --focus-ring: var(--orange-400);
  --border-strong: var(--navy-700);
  --border-subtle: var(--slate-200);

  /* --- Typography --- */
  --font-display: "Anton", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-cond: "Barlow Condensed", system-ui, sans-serif;
  --font-script: "Caveat", cursive;

  --fs-display-xl: clamp(3.5rem, 9vw, 7rem);
  --fs-display-m: clamp(2rem, 4vw, 3rem);
  --fs-body-lg: 1.125rem;

  /* --- Layout --- */
  --container: 1080px;
  --narrow: 760px;
  --gutter: clamp(1rem, 4vw, 3rem);

  /* --- Radii & borders --- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --bw: 2px;
  --bw-heavy: 3px;

  /* --- Shadows --- */
  --shadow-sticker: 4px 4px 0 var(--navy-700);
  --shadow-sticker-lift: 6px 6px 0 var(--navy-700);
  --shadow-md: 0 6px 18px rgba(14, 34, 51, .14);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 120ms;
  --dur-med: 220ms;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page-bg);
  font-family: var(--font-body);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.narrow    { max-width: var(--narrow);    margin: 0 auto; padding-inline: var(--gutter); }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: var(--bw) solid var(--navy-700);
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn--sm { height: 38px; padding: 0 18px; font-size: .9rem; }
.btn--md { height: 46px; padding: 0 22px; font-size: 1rem; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 1.05rem; }
.btn--full { width: 100%; height: 54px; }

.btn--primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: var(--shadow-sticker);
}
.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sticker-lift);
}
.btn--primary:active { transform: translate(0, 0); box-shadow: var(--shadow-sticker); }

.btn--onDark {
  background: transparent;
  color: var(--cream-100);
  border-color: var(--cream-100);
  box-shadow: none;
}
.btn--onDark:hover { transform: translateY(-1px); background: rgba(250, 246, 233, .08); }

.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: var(--shadow-sticker); }

/* =========================================================================
   Badge
   ========================================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: var(--radius-pill);
  background: var(--slate-100);
  color: var(--navy-700);
  border: var(--bw) solid var(--slate-200);
}

/* =========================================================================
   Section heading (kicker + title + script accent)
   ========================================================================= */
.heading { }
.heading--center { text-align: center; }
.heading__kicker {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--orange-600);
  margin: 0 0 6px;
}
.heading__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--fs-display-m);
  line-height: 1;
  letter-spacing: .01em;
  color: var(--navy-700);
  margin: 0;
}
.heading__script {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--orange-500);
  line-height: 1;
  margin-top: 2px;
}

/* =========================================================================
   Header (sticky)
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-700);
  border-bottom: 2px solid var(--navy-900);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { height: 72px; width: auto; display: block; border-radius: 8px; }
.brand__text {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.4rem;
  color: var(--cream-100);
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
}
.brand__year { font-family: var(--font-script); font-weight: 700; color: var(--orange-500); font-size: 1.2rem; }
.site-nav { display: flex; gap: 26px; align-items: center; }
.navlink {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--cream-100);
  opacity: .82;
  transition: opacity var(--dur-fast);
}
.navlink:hover { opacity: 1; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; background: var(--slate-500); overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 72% 38%, rgba(237, 228, 200, .20), transparent 55%);
}
.hero__inner { max-width: var(--container); margin: 0 auto; padding: 84px var(--gutter) 92px; position: relative; }
.hero__kicker {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--orange-400);
  margin-bottom: 14px;
}
.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--fs-display-xl);
  line-height: .9;
  letter-spacing: .01em;
  color: var(--cream-100);
  margin: 0;
  text-shadow: 5px 5px 0 var(--orange-500);
}
.hero__script {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--orange-400);
  margin: 6px 0 22px;
  line-height: 1;
}
.hero__body {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  line-height: 1.55;
  color: var(--cream-100);
  max-width: 52ch;
  opacity: .94;
  margin: 0 0 30px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================================
   Destinations
   ========================================================================= */
.section-destinations { max-width: var(--container); margin: 0 auto; padding: 76px var(--gutter) 44px; }
.section-destinations__head { margin-bottom: 38px; }
.dest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.dest-card {
  background: var(--white);
  border: var(--bw-heavy) solid var(--navy-700);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sticker);
  overflow: hidden;
}
.dest-card__band {
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}
.dest-card__bandname {
  font-family: var(--font-display);
  font-size: 5.5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1;
}
.dest-card__bandname--sm { font-size: 4.8rem; }
.dest-card__photo {
  position: absolute;
  left: 15px;
  bottom: 13px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.dest-card__body { padding: 24px 26px 28px; }
.dest-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.dest-card__name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--navy-700);
  margin: 0;
  line-height: 1;
}
.dest-card__tagline { font-family: var(--font-body); font-size: 1rem; color: var(--text-muted); margin: 0 0 15px; line-height: 1.5; }
.dest-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dest-card__list li { font-family: var(--font-body); font-size: .92rem; color: var(--navy-800); display: flex; gap: 9px; }
.dot { width: 6px; height: 6px; border-radius: 2px; background: var(--orange-500); flex: none; margin-top: 6px; }

/* Band fills — colored placeholders (swap background-image in HTML for real photos) */
.band--bilbao   { background-color: var(--navy-700); }
.band--madrid   { background-color: var(--orange-500); }
.band--valencia { background-color: var(--slate-500); }
.band--neapel   { background-color: var(--navy-800); }
.band--bilbao   .dest-card__bandname { color: rgba(250, 246, 233, .14); }
.band--madrid   .dest-card__bandname { color: rgba(255, 255, 255, .18); }
.band--valencia .dest-card__bandname { color: rgba(250, 246, 233, .16); }
.band--neapel   .dest-card__bandname { color: rgba(250, 246, 233, .14); }
.band--bilbao   .dest-card__photo,
.band--valencia .dest-card__photo,
.band--neapel   .dest-card__photo { color: rgba(250, 246, 233, .55); }
.band--madrid   .dest-card__photo { color: rgba(255, 255, 255, .7); }

/* =========================================================================
   Vote form
   ========================================================================= */
.section-vote { background: var(--cream-200); border-top: 2px solid var(--cream-300); }
.section-vote__inner { max-width: var(--narrow); margin: 0 auto; padding: 68px var(--gutter) 76px; }
.section-vote__head { margin-bottom: 30px; text-align: center; }

.form-card {
  background: var(--white);
  border: var(--bw-heavy) solid var(--navy-700);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sticker);
  padding: 36px 36px 40px;
}

.field { margin-bottom: 28px; }
.field:last-of-type { margin-bottom: 30px; }

.field__label {
  display: block;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.field__hint { color: var(--slate-400); }

.text-input,
textarea.text-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  background: var(--white);
  border: 2px solid var(--slate-300);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
textarea.text-input { resize: vertical; }
.text-input:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.text-input::placeholder { color: var(--slate-400); }

/* City toggle pills (multi-select) */
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pill {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 18px;
  border: 2px solid var(--navy-700);
  border-radius: var(--radius-pill);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--navy-700);
  user-select: none;
  transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill__box {
  width: 22px; height: 22px; border-radius: 50%;
  background: transparent; border: 2px solid var(--slate-300);
  flex: none; display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.pill__check {
  display: none;
  width: 6px; height: 11px;
  border: solid var(--orange-500);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
.pill:has(input:checked) {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--white);
}
.pill:has(input:checked) .pill__box { background: var(--white); border-color: var(--white); }
.pill:has(input:checked) .pill__check { display: inline-block; }
.pill:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--focus-ring); }

/* Date toggle chips (multi-select) */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 2px solid var(--slate-300);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--navy-700);
  user-select: none;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip__box {
  width: 18px; height: 18px; border-radius: 5px;
  background: transparent; border: 2px solid var(--slate-300);
  flex: none; display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.chip__check {
  display: none;
  width: 5px; height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -1px;
}
.chip:has(input:checked) { background: rgba(232, 118, 58, .1); border-color: var(--orange-500); }
.chip:has(input:checked) .chip__box { background: var(--orange-500); border-color: var(--orange-500); }
.chip:has(input:checked) .chip__check { display: inline-block; }
.chip:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--focus-ring); }

/* Validation + status messaging */
.form-error {
  display: none;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  color: var(--danger);
  margin: 0 0 18px;
}
.form-error.is-visible { display: block; }

/* Confirmation state */
.confirm {
  text-align: center;
  padding: 20px 8px 8px;
}
.confirm__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy-700);
  margin: 0 0 8px;
}
.confirm__script { font-family: var(--font-script); font-weight: 700; font-size: 1.8rem; color: var(--orange-500); margin-bottom: 14px; }
.confirm__body { font-family: var(--font-body); font-size: 1.05rem; color: var(--text-muted); max-width: 46ch; margin: 0 auto 22px; line-height: 1.55; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--navy-700); padding: 28px var(--gutter); text-align: center; }
.site-footer span {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-on-dark-muted);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 820px) {
  .site-nav { display: none; }
  .dest-grid { grid-template-columns: 1fr; }
  .pick-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px 30px; }
  .brand__logo { height: 60px; }
  .brand__text { font-size: 1.2rem; }
}
