/* Wild Horse Security — website styles.
   Palette and type from the supplied kit (brand/design-system/2026-09-29): Negro Noche, Oro Guardia,
   Oro Brillo, Bronce, Marfil; Cinzel (display) and Source Sans 3 (text/controls).
   Tints below are opacity steps of those same colours; no other hues are introduced. */

@font-face { font-family: "Cinzel"; src: url("/assets/fonts/Cinzel-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("/assets/fonts/Cinzel-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("/assets/fonts/Cinzel-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/SourceSans3-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/SourceSans3-400-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/SourceSans3-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/SourceSans3-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --negro: #0B0B0B;
  --oro: #D4A94F;
  --oro-brillo: #F2D27A;
  --bronce: #8C6A2B;
  --marfil: #F5F1E8;
  --degradado-oro: linear-gradient(135deg, #8C6A2B 0%, #D4A94F 35%, #F6DC8C 60%, #B8893E 100%);
  --degradado-filete: linear-gradient(90deg, rgba(140,106,43,0) 0%, #8C6A2B 18%, #D4A94F 42%, #F6DC8C 58%, #B8893E 82%, rgba(184,137,62,0) 100%);

  --text: var(--marfil);
  --text-soft: rgba(245, 241, 232, 0.78);
  --text-muted: rgba(245, 241, 232, 0.62);
  --line: rgba(212, 169, 79, 0.26);
  --line-soft: rgba(245, 241, 232, 0.14);
  --surface-1: rgba(245, 241, 232, 0.028);
  --surface-2: rgba(245, 241, 232, 0.05);
  --field-bg: rgba(245, 241, 232, 0.045);
  --field-line: rgba(245, 241, 232, 0.26);

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-text: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --radius: 2px;
  --ease-out: cubic-bezier(.19, .72, .18, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--negro); color: var(--text); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--negro);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--oro); }
h1, h2, h3, p { margin: 0; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 2px solid var(--oro-brillo); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; left: 12px; top: 12px; z-index: 200;
  padding: 10px 16px; background: var(--oro); color: var(--negro); font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: none; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-text); font-weight: 600; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--oro);
}
.section-title {
  font-family: var(--font-display); font-weight: 600; color: var(--marfil);
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.75rem); line-height: 1.18; letter-spacing: .03em;
}
.tagline {
  font-family: var(--font-display); font-weight: 600; color: var(--oro);
  font-size: clamp(1rem, .82rem + .9vw, 1.45rem); letter-spacing: .08em; line-height: 1.3; white-space: nowrap;
}
.tagline--small { font-size: clamp(.82rem, .76rem + .3vw, .98rem); letter-spacing: .12em; }
.text-link { color: var(--oro); text-decoration: underline; text-decoration-color: rgba(212, 169, 79, .45); text-underline-offset: .22em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--oro-brillo); text-decoration-color: currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--font-text); font-weight: 700; font-size: .84rem; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn--primary { background: var(--oro); color: var(--negro); }
.btn--primary:hover { background: var(--oro-brillo); }
.btn--outline { background: transparent; color: var(--oro); border-color: rgba(212, 169, 79, .7); }
.btn--outline:hover { border-color: var(--oro-brillo); color: var(--oro-brillo); background: rgba(212, 169, 79, .06); }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-busy="true"] { opacity: .72; cursor: progress; }
.btn:active { transform: translateY(1px); }

.ghost-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft);
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.ghost-btn:hover { color: var(--oro-brillo); border-color: var(--oro); }
.icon { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter);
  background: linear-gradient(180deg, rgba(11, 11, 11, .92) 0%, rgba(11, 11, 11, .72) 60%, rgba(11, 11, 11, 0) 100%);
  transition: opacity .6s ease;
}
.site-header__brand { display: block; width: clamp(132px, 16vw, 176px); }
.site-header__brand img { width: 100%; }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button {
  min-width: 42px; min-height: 34px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--text-muted); font-size: .78rem; font-weight: 700; letter-spacing: .14em;
}
.lang-switch button[aria-pressed="true"] { background: var(--oro); color: var(--negro); }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--oro-brillo); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 72px;
  overflow: hidden; isolation: isolate;
}
.hero__backdrop { position: absolute; inset: 0; z-index: -1; background: var(--negro); overflow: hidden; }
.hero__backdrop::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(60% 46% at 50% 36%, rgba(212, 169, 79, .13) 0%, rgba(212, 169, 79, .04) 42%, rgba(11, 11, 11, 0) 72%),
    radial-gradient(120% 60% at 50% 110%, rgba(140, 106, 43, .16) 0%, rgba(11, 11, 11, 0) 60%);
}
.hero__backdrop.has-poster::before {
  background:
    radial-gradient(60% 46% at 50% 36%, rgba(212, 169, 79, .10) 0%, rgba(11, 11, 11, 0) 70%),
    linear-gradient(180deg, rgba(11, 11, 11, .78) 0%, rgba(11, 11, 11, .55) 38%, rgba(11, 11, 11, .72) 72%, #0B0B0B 100%);
}
.hero__picture, .hero__picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__picture img { object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero__backdrop.has-poster .hero__picture img { opacity: .62; }
.hero__backdrop::after { z-index: 2;
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(212, 169, 79, 0), rgba(212, 169, 79, .7));
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 880px; }
.hero__logo { margin: 0; line-height: 0; outline: none; }
.hero__logo img { width: clamp(160px, 15vw, 224px); will-change: transform; }
.hero .tagline { margin-top: clamp(18px, 2.4vw, 26px); will-change: transform; }
.hero__rule { display: block; width: min(420px, 70vw); height: 1px; margin: clamp(20px, 2.4vw, 28px) 0 clamp(16px, 2vw, 22px); background: var(--degradado-filete); }
.hero__eyebrow { margin-bottom: 14px; }
.hero__headline {
  font-family: var(--font-display); font-weight: 600; color: var(--marfil);
  font-size: clamp(1.5rem, .9rem + 2.2vw, 2.45rem); line-height: 1.16; letter-spacing: .02em; max-width: 24ch;
}
.hero__invite { margin-top: 14px; max-width: 70ch; color: var(--text-soft); font-size: clamp(1.04rem, .98rem + .3vw, 1.2rem); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px; }
.hero .noscript-note { margin-top: 22px; }

/* The mailing-list form sits in the hero, right under the invitation line (it fades up from black after the film). */
.panel.panel--hero { width: min(880px, 100%); margin-top: clamp(20px, 2.4vw, 28px); padding: clamp(18px, 2vw, 24px) clamp(20px, 2.6vw, 32px); text-align: left; background: rgba(20, 19, 17, .82); backdrop-filter: blur(6px); }
.panel--hero .panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.panel--hero .panel__text { margin-top: 0; font-size: .95rem; }
.panel--hero .form { margin-top: 14px; gap: 14px; }
.panel--hero .form-success { margin-top: 14px; }
@media (min-width: 761px) {
  .panel--hero .form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; column-gap: 16px; align-items: end; }
  .panel--hero .form__required { grid-column: 1 / -1; grid-row: 1; }
  .panel--hero .form > .field:nth-of-type(1) { grid-column: 1; grid-row: 2; }
  .panel--hero .form > .field:nth-of-type(2) { grid-column: 2; grid-row: 2; }
  .panel--hero .form > .btn { grid-column: 3; grid-row: 2; align-self: start; margin-top: 30px; width: auto; white-space: nowrap; }
  .panel--hero .form > .field--check { grid-column: 1 / 3; grid-row: 3; }
  .panel--hero .form__legal { grid-column: 3; grid-row: 3; align-self: start; text-align: right; }
  .panel--hero .turnstile { grid-column: 1 / -1; grid-row: 4; }
  .panel--hero .form__status { grid-column: 1 / -1; grid-row: 5; }
}

/* Hero choreography around the intro (see site.js). */
.js .hero__inner > * { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .hero__backdrop { transition: opacity .9s ease; }
.hero-waiting .hero__inner > *, .hero-waiting .site-header, .hero-waiting .hero__backdrop { opacity: 0; }
.hero-waiting .hero__inner > *:not(.hero__logo):not(.tagline) { transform: translateY(14px); }
.hero-settling .hero__logo, .hero-settling .hero .tagline { opacity: 1 !important; transition: none !important; }
.hero-enter .hero__rule { transition-delay: .25s; }
.hero-enter .hero__eyebrow { transition-delay: .4s; }
.hero-enter .hero__headline { transition-delay: .55s; }
.hero-enter .hero__invite { transition-delay: .7s; }
.hero-enter .panel--hero { transition-delay: .85s; }
.hero-enter .hero__ctas { transition-delay: 1s; }
.hero-enter .site-header { transition-delay: .6s; }
/* After the film has faded to black: the landing page comes on slowly — the backdrop, the logo and the line, the
   headline, then the invitation and the sign-up form rise out of the black (v05 film; see settle() in site.js). */
.hero-finale .hero__backdrop { transition-duration: 2.6s; transition-delay: .2s; }
.hero-finale .hero__logo { transition-duration: 1.8s, 1.8s; transition-delay: .4s; }
.hero-finale .hero .tagline { transition-duration: 1.6s, 1.6s; transition-delay: 1s; }
.hero-finale .hero__rule { transition-duration: 1.2s, 1.2s; transition-delay: 1.6s; }
.hero-finale .hero__eyebrow { transition-duration: 1.2s, 1.2s; transition-delay: 1.9s; }
.hero-finale .hero__headline { transition-duration: 1.4s, 1.4s; transition-delay: 2.2s; }
.hero-finale .hero__invite { transition-duration: 1.4s, 1.4s; transition-delay: 2.9s; }
.hero-finale .panel--hero { transition-duration: 2s, 2s; transition-delay: 3.6s; }
.hero-finale .hero__ctas { transition-duration: 1.2s, 1.2s; transition-delay: 5s; }
.hero-finale .site-header { transition-delay: 3.4s; }

/* ---------- intro overlay ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--negro);
  opacity: 1; transition-property: opacity; transition-timing-function: ease; transition-duration: 400ms;
}
.intro.is-fading { opacity: 0; pointer-events: none; }
.intro__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--negro); }
.intro__controls {
  position: absolute; right: max(var(--gutter), env(safe-area-inset-right)); bottom: max(28px, env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center;
}
.intro__btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px;
  background: rgba(11, 11, 11, .55); color: var(--marfil); border: 1px solid rgba(245, 241, 232, .34); border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.intro__btn:hover { border-color: var(--oro); color: var(--oro-brillo); }
.intro__btn--skip { border-color: rgba(212, 169, 79, .8); color: var(--oro-brillo); }
.intro__btn[aria-pressed="false"] .icon__waves { opacity: .25; }
/* Autoplay refused by the browser: the poster stays and this button starts the film with sound (a user gesture). */
.intro__gate {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 24px 28px;
  background: transparent; border: 0; color: var(--oro-brillo); cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1rem, .9rem + .5vw, 1.3rem); letter-spacing: .18em; text-transform: uppercase;
}
.intro__gate-ring {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  border: 1px solid rgba(212, 169, 79, .85); background: rgba(11, 11, 11, .45); color: var(--oro-brillo);
  box-shadow: 0 0 0 0 rgba(212, 169, 79, .45); animation: intro-pulse 2.2s ease-out infinite;
}
.intro__gate-ring .icon { width: 40px; height: 40px; margin-left: 4px; }
.intro__gate:hover .intro__gate-ring { background: rgba(212, 169, 79, .16); }
.intro__hint {
  position: absolute; left: 50%; bottom: max(96px, calc(env(safe-area-inset-bottom) + 96px)); transform: translateX(-50%);
  margin: 0; padding: 10px 18px; border: 1px solid rgba(212, 169, 79, .5); border-radius: 999px;
  background: rgba(11, 11, 11, .55); color: var(--oro-brillo); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none;
  animation: intro-hint 6s ease forwards;
}
.intro__hint[hidden], .intro__gate[hidden] { display: none; }
@keyframes intro-pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 169, 79, .45); } 100% { box-shadow: 0 0 0 26px rgba(212, 169, 79, 0); } }
@keyframes intro-hint { 0% { opacity: 0; transform: translate(-50%, 8px); } 12% { opacity: 1; transform: translate(-50%, 0); } 80% { opacity: 1; } 100% { opacity: 0; } }
.intro.is-muted #intro-sound { border-color: rgba(212, 169, 79, .9); color: var(--oro-brillo); animation: intro-pulse 2.2s ease-out infinite; }
.intro__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(245, 241, 232, .08); }
.intro__progress span { display: block; height: 100%; background: var(--degradado-filete); transform-origin: 0 50%; transform: scaleX(0); }

/* Before JS takes over, a pending intro shows a black stage (prevents a flash of the page). */
.intro-pending body { overflow: hidden; }
.intro-pending .intro { display: block !important; }
.intro-pending .site-header, .intro-pending main, .intro-pending .site-footer { visibility: hidden; }
.intro-open body { overflow: hidden; }

/* ---------- vision / themes ---------- */
.vision { padding: clamp(84px, 11vw, 150px) 0 clamp(70px, 9vw, 120px); border-top: 1px solid var(--line-soft); }
.vision__head { max-width: 760px; }
.vision__head .eyebrow { margin-bottom: 16px; }
.vision__text { margin-top: 22px; color: var(--text-soft); font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); line-height: 1.65; }
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 76px); }
.theme { position: relative; padding: 34px 0 0; }
.theme::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, #8C6A2B, #D4A94F 40%, rgba(212, 169, 79, 0)); }
.theme__icon { width: 44px; height: 44px; color: var(--oro); }
.theme__title { margin-top: 22px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.12rem, 1rem + .4vw, 1.34rem); line-height: 1.3; letter-spacing: .04em; color: var(--marfil); }
.theme__text { margin-top: 12px; color: var(--text-soft); }

/* ---------- signup ---------- */
.signup { position: relative; padding: clamp(80px, 10vw, 140px) 0 clamp(90px, 11vw, 150px); background: linear-gradient(180deg, rgba(245, 241, 232, 0) 0%, rgba(245, 241, 232, .022) 100%); }
.signup::before { content: ""; position: absolute; top: 0; left: 50%; width: min(760px, 86vw); height: 1px; transform: translateX(-50%); background: var(--degradado-filete); }
.signup__head { max-width: 800px; margin: 0 auto; text-align: center; }
.signup__head .tagline { margin-bottom: 20px; }
.signup__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(18px, 2.6vw, 32px); margin-top: clamp(44px, 5vw, 64px); align-items: start; }
.signup__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-left: auto; margin-right: auto; }
.noscript-note { margin: 28px auto 0; max-width: 640px; padding: 16px 20px; border: 1px solid var(--line); text-align: center; }

.panel { position: relative; padding: clamp(26px, 3.4vw, 44px); background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius); outline: none; }
.panel::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--degradado-oro); }
.panel__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); letter-spacing: .04em; color: var(--marfil); }
.panel__text { margin-top: 10px; color: var(--text-soft); }

/* ---------- forms ---------- */
.form { margin-top: 26px; display: grid; gap: 20px; }
.form__required { font-size: .88rem; color: var(--text-muted); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field legend { font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--marfil); padding: 0; }
.req { color: var(--oro); font-weight: 700; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--field-bg); border: 1px solid var(--field-line); border-radius: var(--radius); color: var(--marfil);
  font-size: 1rem; line-height: 1.4; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 136px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(245, 241, 232, .42); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--oro); box-shadow: 0 0 0 1px var(--oro); background: rgba(245, 241, 232, .06); }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--marfil); box-shadow: 0 0 0 100px #1b1a17 inset; caret-color: var(--marfil); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.5px solid var(--oro); border-bottom: 1.5px solid var(--oro); transform: rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.select option { background: var(--negro); color: var(--marfil); }
.field__hint { font-size: .86rem; color: var(--text-muted); }
.field__hint--count { text-align: right; font-variant-numeric: tabular-nums; }
.field__error { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; font-weight: 600; color: var(--oro-brillo); }
.field__error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid currentColor; border-radius: 50%; font-size: .72rem; line-height: 1; }
.has-error input[type="text"], .has-error input[type="email"], .has-error input[type="tel"], .has-error select, .has-error textarea { border-color: var(--oro-brillo); border-width: 2px; padding: 11px 13px; }

.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 14px; }
.field--check .field__error { grid-column: 1 / -1; }
.field--check > label { font-weight: 400; font-size: .95rem; line-height: 1.5; color: var(--text-soft); letter-spacing: 0; cursor: pointer; }
input[type="checkbox"], input[type="radio"] {
  -webkit-appearance: none; appearance: none; flex: none; margin: 2px 0 0; width: 22px; height: 22px; cursor: pointer;
  background: var(--field-bg); border: 1.5px solid rgba(245, 241, 232, .5); display: inline-grid; place-content: center;
  transition: border-color .2s ease, background-color .2s ease;
}
input[type="checkbox"] { border-radius: 2px; }
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]::before { content: ""; width: 11px; height: 6px; margin-top: -3px; border-left: 2px solid var(--negro); border-bottom: 2px solid var(--negro); transform: rotate(-45deg) scale(0); transition: transform .15s ease; }
input[type="radio"]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--negro); transform: scale(0); transition: transform .15s ease; }
input[type="checkbox"]:checked, input[type="radio"]:checked { background: var(--oro); border-color: var(--oro); }
input[type="checkbox"]:checked::before, input[type="radio"]:checked::before { transform: rotate(-45deg) scale(1); }
input[type="radio"]:checked::before { transform: scale(1); }
.has-error input[type="checkbox"], .has-error input[type="radio"] { border-color: var(--oro-brillo); border-width: 2px; }
.optional-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); vertical-align: 2px; }

.field--choices legend { margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 12px;
  border: 1px solid var(--field-line); border-radius: var(--radius); background: var(--field-bg); cursor: pointer; font-size: .96rem;
  transition: border-color .2s ease;
}
.choice input { margin: 0; }
.choice:hover { border-color: rgba(245, 241, 232, .45); }
.choice:has(input:checked) { border-color: var(--oro); }
.choice:has(input:focus-visible) { outline: 2px solid var(--oro-brillo); outline-offset: 2px; }

.form__legal { font-size: .9rem; color: var(--text-muted); line-height: 1.55; }
.turnstile:empty { display: none; }
.turnstile { min-height: 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__status { padding: 14px 16px; border: 1px solid; border-radius: var(--radius); font-size: .95rem; line-height: 1.5; }
.form__status--error { border-color: var(--oro-brillo); color: var(--oro-brillo); background: rgba(242, 210, 122, .06); font-weight: 600; }
.form__status--success, .form__status--info { border-color: var(--oro); color: var(--marfil); background: rgba(212, 169, 79, .08); }

.form-success { margin-top: 26px; display: grid; justify-items: start; gap: 18px; padding: 28px; border: 1px solid var(--oro); background: rgba(212, 169, 79, .06); outline: none; }
.form-success__icon { width: 44px; height: 44px; color: var(--oro); }
.form-success__text { font-size: 1.08rem; color: var(--marfil); }

/* ---------- footer ---------- */
.site-footer { position: relative; padding: 56px 0 44px; border-top: 1px solid var(--line-soft); }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--degradado-filete); opacity: .8; }
.site-footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 32px; align-items: start; }
.site-footer__brand img { width: 190px; }
.site-footer__brand .tagline { margin-top: 14px; }
.site-footer__heading { font-family: var(--font-text); font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--oro); margin-bottom: 12px; }
.site-footer__contact li + li { margin-top: 6px; }
.site-footer__contact .text-link { color: var(--marfil); text-decoration-color: rgba(212, 169, 79, .5); }
.site-footer__legal { justify-self: end; text-align: right; font-size: .88rem; color: var(--text-muted); display: grid; gap: 10px; }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].in-view, .js [data-reveal]:focus-within, .js [data-reveal]:target { opacity: 1; transform: none; }
.js .themes .theme:nth-child(2) { transition-delay: .12s; }
.js .themes .theme:nth-child(3) { transition-delay: .24s; }

/* ---------- utility pages (privacy, unsubscribe, 404) ---------- */
.utility { max-width: 760px; margin: 0 auto; padding: 48px var(--gutter) 96px; }
.utility__brand { display: inline-block; width: 190px; margin-bottom: 48px; }
.utility__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); line-height: 1.2; margin-bottom: 20px; }
.utility p { color: var(--text-soft); margin-bottom: 16px; }
.utility__en { font-size: .95rem; color: var(--text-muted) !important; }
.utility form { margin-top: 24px; }
.legal-doc h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: .03em; color: var(--marfil); margin: 36px 0 12px; }
.legal-doc p, .legal-doc li { color: var(--text-soft); }
.legal-doc ul { padding-left: 1.2em; margin: 0 0 16px; }
.legal-doc li + li { margin-top: 6px; }
.legal-doc .legal-meta { font-size: .9rem; color: var(--text-muted); }
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 40px; }
.legal-top .utility__brand { margin-bottom: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .signup__grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .site-footer__legal { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .themes { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .hero__ctas .btn { width: 100%; }
  .ghost-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ghost-btn { width: 40px; padding: 0; justify-content: center; }
  .intro__controls { left: var(--gutter); right: var(--gutter); justify-content: space-between; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .site-footer__legal { justify-self: start; text-align: left; }
  .tagline { white-space: normal; }
}
@media (max-width: 380px) {
  .intro__btn { padding: 0 14px; letter-spacing: .1em; }
  .intro__hint { font-size: .74rem; letter-spacing: .1em; }
  .lang-switch button { min-width: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .btn, .panel, .field input, .field select, .field textarea, .choice { border: 1px solid CanvasText; }
  .hero__rule, .panel::before, .signup::before, .theme::before { background: CanvasText; }
}

@media print {
  .intro, .site-header, .hero__backdrop, .turnstile { display: none !important; }
  body, html { background: #fff; color: #000; }
}
