@font-face {
  font-family: "Neue Haas";
  src: url("assets/fonts/NeueHaasDisplayLight.ttf") format("truetype");
  font-weight: 300;
}
@font-face {
  font-family: "Neue Haas";
  src: url("assets/fonts/NeueHaasDisplayRoman.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "Neue Haas";
  src: url("assets/fonts/NeueHaasDisplayMedium.ttf") format("truetype");
  font-weight: 500;
}
@font-face {
  font-family: "Neue Haas";
  src: url("assets/fonts/NeueHaasDisplayBold.ttf") format("truetype");
  font-weight: 700;
}

:root {
  color-scheme: dark;
  --ink: #101010;
  --paper: #ffffff;
  --muted: #6b6b6b;
  --line: #d8d8d8;
  --accent: #0b3dff;
  --error: #c0392b;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: "Neue Haas", "Helvetica Neue", Arial, sans-serif;
}

img { max-width: 100%; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 24px;
  max-width: 720px;
}

.hero-logo {
  width: 180px;
  margin-bottom: 32px;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.35));
}

.hero-title {
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  line-height: 1;
}

.hero-subtitle {
  font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  margin: 0;
  opacity: 0.92;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll-cue span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  opacity: 0.8;
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: .8; }
  50% { transform: translateY(8px) rotate(45deg); opacity: .3; }
}

/* ---------- Form section ---------- */

.form-section {
  background: var(--paper);
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.form-card {
  width: 100%;
  max-width: 520px;
}

.form-title {
  font-weight: 500;
  font-size: 2rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.form-hint {
  font-weight: 300;
  color: var(--muted);
  margin: 0 0 36px;
  line-height: 1.5;
}

.field-row {
  display: flex;
  gap: 20px;
}

.field-row .field { flex: 1; }

.field {
  margin-bottom: 28px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.field .optional { font-style: italic; }

.field input,
.field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 8px 2px;
  font: inherit;
  color: var(--ink);
  border-radius: 0;
  appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 6px) 14px, calc(100% - 1px) 14px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-bottom: 1.5px solid var(--ink);
}

.zona-block {
  border: 1px solid var(--line);
  padding: 20px;
  margin-bottom: 24px;
}

.zona-block h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-error {
  color: var(--error);
  font-size: 0.9rem;
  margin: -8px 0 20px;
}

.step-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover { opacity: 0.85; }
.btn-primary:disabled { opacity: 0.5; cursor: default; }

.btn-secondary {
  background: transparent;
  border: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 8px 0;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.step-success {
  text-align: center;
}

.success-gif {
  width: 140px;
  margin: 0 auto 24px;
  display: block;
}

.site-footer {
  background: var(--paper);
  text-align: center;
  padding: 0 0 40px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .field-row { flex-direction: column; gap: 0; }
}
