:root {
  --arena: #fbf4ea;
  --arena-2: #f3e8d8;
  --tinta: #241c18;
  --tinta-suave: #5c5048;
  --ocre: #e8a23b;
  --rojo: #d7472a;
  --rojo-oscuro: #b33a21;
  --verde: #3f7d5c;
  --violeta: #7b4b94;
  --violeta-oscuro: #5e3873;
  --blanco: #fff;
  --borde: rgba(36, 28, 24, 0.16);
  --sombra: 0 18px 45px rgba(36, 28, 24, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--arena);
  color: var(--tinta);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

button,
input,
select {
  font: inherit;
}

.sr-only,
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  padding: 20px 20px 145px;
  background:
    radial-gradient(circle at 85% 16%, rgba(232, 162, 59, 0.34), transparent 28%),
    linear-gradient(160deg, var(--arena) 5%, #f6dfbf 100%);
}

.topbar {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--tinta);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
}

.brand span {
  color: var(--rojo);
}

.language-picker select {
  min-width: 72px;
  border: 1px solid var(--borde);
  border-radius: 999px;
  padding: 9px 30px 9px 14px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--tinta);
  font-weight: 800;
}

.hero-copy {
  width: min(900px, 100%);
  margin: 84px auto 0;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--rojo-oscuro);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.03;
}

h1 {
  max-width: 800px;
  font-size: clamp(3rem, 10vw, 5.6rem);
  letter-spacing: -0.04em;
}

.hero h1 em {
  color: var(--rojo);
  font-weight: 600;
}

.lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--tinta-suave);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.color-band {
  position: absolute;
  inset: auto 0 0;
  height: 24px;
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1.2fr 1.2fr 0.9fr;
}

.color-band span:nth-child(1),
.footer-band span:nth-child(1) {
  background: #cf4f2e;
}

.color-band span:nth-child(2),
.footer-band span:nth-child(2) {
  background: #efa93d;
}

.color-band span:nth-child(3),
.footer-band span:nth-child(3) {
  background: #ddc88d;
}

.color-band span:nth-child(4),
.footer-band span:nth-child(4) {
  background: #80509b;
}

.color-band span:nth-child(5),
.footer-band span:nth-child(5) {
  background: var(--tinta);
}

main {
  position: relative;
  z-index: 3;
}

.partners-section {
  padding: 62px 0 54px;
  overflow: hidden;
  background: var(--tinta);
  color: var(--arena);
}

.partners-heading {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 28px;
}

.partners-heading .section-kicker {
  color: var(--ocre);
}

.partners-heading h2 {
  max-width: 720px;
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.logo-slider {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  width: max-content;
  display: flex;
  animation: logo-marquee 28s linear infinite;
}

.logo-set {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}

.logo-placeholder {
  width: 150px;
  height: 104px;
  flex: 0 0 auto;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  color: var(--blanco);
  text-align: center;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.18);
}

.logo-placeholder span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.logo-placeholder small {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.logo-placeholder-1 { background: var(--rojo); }
.logo-placeholder-2 { background: var(--ocre); color: var(--tinta); }
.logo-placeholder-3 { background: var(--verde); }
.logo-placeholder-4 { background: var(--violeta); }
.logo-placeholder-5 { background: #b95e75; }
.logo-placeholder-6 { background: #3b7180; }

.logo-slider:hover .logo-track,
.logo-slider:focus-within .logo-track {
  animation-play-state: paused;
}

@keyframes logo-marquee {
  to {
    transform: translateX(-50%);
  }
}

.form-shell {
  width: min(900px, calc(100% - 24px));
  margin: 56px auto 80px;
  padding: 28px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--sombra);
}

.form-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
}

.form-heading h2 {
  font-size: clamp(2rem, 7vw, 3.2rem);
}

.form-heading > p {
  margin: 0;
  color: var(--tinta-suave);
}

.field-grid {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--tinta);
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--borde);
  border-radius: 14px;
  padding: 13px 15px;
  background: var(--arena);
  color: var(--tinta);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:focus,
.field select:focus,
.language-picker select:focus {
  border-color: var(--violeta);
  background: var(--blanco);
  box-shadow: 0 0 0 4px rgba(123, 75, 148, 0.15);
}

.field small {
  color: var(--tinta-suave);
  font-size: 0.78rem;
  font-weight: 500;
}

.phone-grid {
  gap: 18px;
}

.phone-input {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
}

.phone-input .dial-prefix {
  min-width: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--borde);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  padding: 0 12px;
  background: var(--tinta);
  color: var(--blanco);
  font-weight: 800;
}

.phone-input input {
  border-radius: 0 14px 14px 0;
}

.phone-input:focus-within {
  border-radius: 14px;
  box-shadow: 0 0 0 4px rgba(123, 75, 148, 0.15);
}

.phone-input:focus-within input {
  box-shadow: none;
}

.choice-group {
  min-width: 0;
  margin: 14px 0 28px;
  padding: 0;
  border: 0;
}

.amenities-group {
  min-width: 0;
  margin: 10px 0 30px;
  padding: 0;
  border: 0;
}

.amenities-group legend {
  font-weight: 800;
}

.amenities-group > p {
  margin: 5px 0 14px;
  color: var(--tinta-suave);
  font-size: 0.82rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.amenity-chip {
  position: relative;
  cursor: pointer;
}

.amenity-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amenity-chip span {
  min-height: 50px;
  display: flex;
  align-items: center;
  border: 1px solid var(--borde);
  border-radius: 14px;
  padding: 10px 12px;
  background: var(--arena);
  font-size: 0.82rem;
  font-weight: 700;
  transition: 160ms ease;
}

.amenity-chip input:checked + span {
  border-color: var(--verde);
  background: rgba(63, 125, 92, 0.13);
  color: #28583e;
  box-shadow: inset 3px 0 var(--verde);
}

.amenity-chip input:focus-visible + span {
  outline: 3px solid rgba(63, 125, 92, 0.25);
  outline-offset: 2px;
}

.choice-group legend {
  margin-bottom: 12px;
  font-weight: 800;
}

.choice-stack,
.choice-grid {
  display: grid;
  gap: 10px;
}

.choice-card {
  position: relative;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
}

.choice-card span {
  min-height: 56px;
  display: flex;
  align-items: center;
  border: 1px solid var(--borde);
  border-radius: 16px;
  padding: 13px 15px;
  background: var(--arena);
  font-weight: 600;
  transition: 160ms ease;
}

.choice-card input:checked + span {
  border-color: var(--violeta);
  background: rgba(123, 75, 148, 0.11);
  box-shadow: inset 4px 0 var(--violeta);
}

.choice-card input:focus-visible + span {
  outline: 3px solid rgba(123, 75, 148, 0.28);
  outline-offset: 2px;
}

.trust-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 30px 0 20px;
  border-radius: 18px;
  padding: 18px;
  background: var(--verde);
  color: var(--blanco);
}

.trust-banner > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blanco);
  color: var(--verde);
  font-weight: 900;
}

.trust-banner p {
  margin: 0;
  font-size: 0.91rem;
  font-weight: 600;
}

.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--violeta);
}

.submit-button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: var(--tinta);
  color: var(--blanco);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(36, 28, 24, 0.2);
  transition: transform 160ms ease, background 160ms ease;
}

.submit-button:hover {
  background: var(--rojo-oscuro);
  transform: translateY(-2px);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.privacy-note {
  margin: 12px 0 0;
  color: var(--tinta-suave);
  font-size: 0.78rem;
  text-align: center;
}

.error-box {
  margin-bottom: 24px;
  border: 1px solid rgba(179, 58, 33, 0.3);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(215, 71, 42, 0.1);
  color: #7f2918;
}

.error-box ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.success-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 10% 90%, rgba(123, 75, 148, 0.25), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(232, 162, 59, 0.4), transparent 35%),
    var(--arena);
}

.success-card {
  width: min(580px, 100%);
  border-radius: 28px;
  padding: clamp(28px, 7vw, 56px);
  background: var(--blanco);
  box-shadow: var(--sombra);
  text-align: center;
}

.success-card h1 {
  font-size: clamp(2.6rem, 9vw, 4.5rem);
}

.success-card > p:not(.eyebrow) {
  color: var(--tinta-suave);
}

.success-mark {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--blanco);
  font-size: 2rem;
  font-weight: 900;
}

.share-status {
  min-height: 1.5em;
  margin: 10px 0 4px;
  color: var(--verde) !important;
  font-size: 0.84rem;
  font-weight: 700;
}

.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--violeta-oscuro);
  font-weight: 800;
  text-underline-offset: 4px;
}

.site-footer {
  background: var(--tinta);
  color: var(--arena);
}

.footer-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  gap: 40px;
  padding: 54px 0;
}

.footer-brand {
  color: var(--arena);
  font-size: 1.65rem;
}

.footer-inner p {
  max-width: 570px;
  color: rgba(251, 244, 234, 0.72);
}

.friends-link {
  color: var(--ocre);
  font-weight: 800;
  text-underline-offset: 4px;
}

.social-block > p {
  margin-top: 0;
  font-weight: 700;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 244, 234, 0.28);
  border-radius: 50%;
  color: var(--arena);
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
  transition: 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--ocre);
  background: var(--ocre);
  color: var(--tinta);
  transform: translateY(-2px);
}

.footer-band {
  height: 18px;
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1.2fr 1.2fr 0.9fr;
}

@media (min-width: 700px) {
  .hero {
    padding-inline: 36px;
  }

  .form-shell {
    padding: 46px;
  }

  .form-heading {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .two-columns,
  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-grid {
    grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.1fr);
  }

  .logo-placeholder {
    width: 190px;
    height: 120px;
  }

  .amenities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1.5fr 0.5fr;
    align-items: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .logo-track {
    animation: none;
  }
}
