@import url('https://fonts.googleapis.com/css2?family=Anton&family=Open+Sans:wght@300;400;600;700&display=swap');

:root {
  --yellow: #FFDE17;
  --black: #000;
  --white: #fff;
  --gray: #6D6E71;
  --line: #e7e7e7;
  --font: 'Open Sans', Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.7;
  color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 640px; }

/* Top bar + header */
.topbar { height: 8px; background: var(--yellow); }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 22px; padding-bottom: 20px; text-align: center; }
.site-title { font-family: 'Anton', Impact, 'Arial Narrow', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; margin: 0; font-size: clamp(1.5rem, 4.2vw, 2.6rem); }
.site-title em { font-style: normal; background: var(--yellow); padding: 0 .18em; }
.site-sub { font-family: 'Anton', Impact, 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--gray); margin: 6px 0 0; font-size: clamp(.9rem, 2.2vw, 1.15rem); }

/* Hero */
.hero { background: var(--yellow); }
.hero img { width: 100%; height: auto; }

/* Headings system */
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 10px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin: 0; }
h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; }
.rule { width: 64px; height: 4px; background: var(--yellow); margin: 20px 0 0; }

/* About */
.about { padding: 88px 0; }
.about-head { max-width: 640px; margin-bottom: 56px; }
.about .lead { font-size: 1.2rem; font-weight: 300; line-height: 1.6; margin: 28px 0 0; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: none; }
.facts figure { margin: 0 0 20px; aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; background: #eee; }
.facts img { width: 100%; height: 100%; object-fit: cover; }
.facts li:nth-child(1) img { object-position: center 45%; }
.facts li:nth-child(2) img { object-position: 55% 30%; }
.facts li:nth-child(3) img { object-position: center 30%; }
.facts .n { display: block; font-weight: 600; font-size: .8rem; letter-spacing: .1em; border-top: 4px solid var(--yellow); padding-top: 14px; margin-bottom: 6px; width: 100%; }
.facts p { margin: 0; color: var(--gray); }
.facts strong { color: var(--black); font-weight: 600; }

/* Vote */
.vote { background: var(--black); color: var(--white); padding: 88px 0 96px; }
.vote .eyebrow { color: var(--yellow); }
.vote-head p { color: #cfcfcf; margin: 18px 0 0; font-weight: 300; }
form { margin-top: 44px; }
.field { margin-bottom: 22px; }
label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; margin-bottom: 8px; }
.opt { font-weight: 400; color: #9a9a9a; letter-spacing: 0; }
input, select {
  width: 100%; height: 52px; padding: 0 16px; font: inherit; font-size: 1rem; color: var(--white);
  background: #111; border: 1px solid #333; border-radius: 4px; transition: border-color .15s;
}
select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23FFDE17' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px;
}
select:invalid { color: #8a8a8a; }
option { color: #000; background: #fff; }
input::placeholder { color: #6a6a6a; }
input:hover, select:hover { border-color: #666; }
input:focus, select:focus { outline: none; border-color: var(--yellow); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.err { color: #ff4d4d; font-weight: 600; font-size: .82rem; margin: 6px 0 0; min-height: 1.2em; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.step { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #9a9a9a; margin: 0 0 22px; }
.step span { color: var(--yellow); font-weight: 700; }
.step b { font-weight: 600; color: var(--white); }
.chosen { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; margin-bottom: 28px; border: 1px solid #333; border-left: 4px solid var(--yellow); border-radius: 4px; background: #111; }
.chosen small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #9a9a9a; }
.chosen b { font-weight: 600; font-size: 1.05rem; }
.link { background: none; border: 0; color: var(--yellow); font: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; padding: 4px; }
.note { font-size: .8rem; color: #9a9a9a; margin: 14px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 32px; font: inherit; font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  color: var(--black); background: var(--yellow); border: 1px solid var(--yellow); border-radius: 4px;
  cursor: pointer; text-decoration: none; transition: background .15s, color .15s;
}
.btn:hover { background: var(--white); border-color: var(--white); }
.btn:disabled { opacity: .5; cursor: wait; }
.btn.block { width: 100%; margin-top: 8px; }
.btn.ghost { background: transparent; color: var(--white); border-color: #555; }
.btn.ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.done { text-align: left; margin-top: 44px; padding-left: 24px; border-left: 4px solid var(--yellow); }
.done h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 8px; }
.done p { margin: 0 0 20px; color: #cfcfcf; font-weight: 300; }
.hidden { display: none !important; }

footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--gray); font-size: .8rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 780px) {
  .about, .vote { padding: 56px 0 64px; }
  .facts { grid-template-columns: 1fr; gap: 40px; }
  .facts figure { aspect-ratio: 4/3; }
  .head-right { gap: 12px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .hero img { aspect-ratio: 4/3; object-fit: cover; object-position: center; }
  .site-header small { display: none; }
}

/* Bilingual: Spanish line under English */
.es { display: block; color: var(--gray); font-weight: 300; font-style: italic; }
.vote .es, .done .es { color: #9a9a9a; }
h2 .es { font-size: .62em; font-weight: 400; margin-top: 6px; letter-spacing: 0; }
h3 .es { font-size: .9rem; font-weight: 400; margin-top: 2px; }
label .es { display: inline; font-weight: 400; letter-spacing: 0; }
.btn .es { display: inline; color: inherit; font-weight: 400; font-style: normal; opacity: .75; }
.facts p + p { margin-top: 10px; }
.thanks { padding: 88px 0 104px; text-align: center; }
.thanks h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin: 0; letter-spacing: -.01em; }
.thanks .rule { margin: 22px auto 0; }
.thanks p { margin: 22px 0 0; color: var(--gray); font-weight: 300; font-size: 1.1rem; }

.foot-logo img { height: 40px; width: auto; }
footer .wrap { align-items: center; }
.vote-head .secret { margin-top: 22px; padding-left: 16px; border-left: 4px solid var(--yellow); color: var(--white); }
.vote-head .secret b { font-weight: 600; }
