.inunde-pref-page {
  --green: #4cc88a;
  --navy: #1a1a2e;
  --white: #ffffff;
  --soft: #e8f9f0;
  --line: #dfe8e3;
  --muted: #5f6472;
  --orange: #ff6b35;
  --blue: #3b82f6;
  --amber: #f59e0b;
  --violet: #8b5cf6;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  color: var(--navy);
  background: #f5f7f4;
  font-family: "DM Sans", "Plus Jakarta Sans", Arial, sans-serif;
}

.inunde-pref-page * {
  box-sizing: border-box;
}

.inunde-pref-brand {
  position: relative;
  min-height: 100vh;
  padding: 34px 42px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(26, 26, 46, 0.92), rgba(26, 26, 46, 0.66)),
    var(--inunde-app-image) center / cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.inunde-pref-brand-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.inunde-pref-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: var(--white);
  padding: 10px;
}

.inunde-pref-site-link {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  text-decoration: none;
}

.inunde-pref-hero-copy {
  max-width: 640px;
  padding: 72px 0;
}

.inunde-pref-eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inunde-pref-hero-copy h1 {
  margin: 0;
  max-width: 720px;
  color: var(--white);
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.inunde-pref-hero-copy p:not(.inunde-pref-eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.55;
}

.inunde-pref-qr-card {
  width: min(100%, 340px);
  padding: 16px;
  background: var(--white);
  color: var(--navy);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  text-decoration: none;
}

.inunde-pref-qr-card img {
  width: 96px;
  height: 96px;
}

.inunde-pref-qr-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.inunde-pref-qr-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.inunde-pref-form-panel {
  min-height: 100vh;
  padding: 42px;
  background: var(--white);
  display: flex;
  align-items: center;
}

.inunde-pref-form-shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.inunde-pref-form-shell h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.inunde-pref-intro {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.inunde-pref-form {
  display: grid;
  gap: 18px;
}

.inunde-pref-field {
  display: grid;
  gap: 8px;
}

.inunde-pref-form label,
.inunde-pref-label {
  font-size: 13px;
  font-weight: 800;
}

.inunde-pref-form input[type="email"],
.inunde-pref-form input[type="text"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0 15px;
  color: var(--navy);
  background: #fbfdfb;
  font: inherit;
  outline: none;
}

.inunde-pref-form input[type="email"]:focus,
.inunde-pref-form input[type="text"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76, 200, 138, 0.22);
}

.inunde-pref-choices {
  display: grid;
  gap: 10px;
}

.inunde-pref-choice {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 60px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fbfdfb;
  cursor: pointer;
}

.inunde-pref-choice input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.inunde-pref-choice strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 15px;
}

.inunde-pref-choice span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.inunde-pref-choice:hover {
  border-color: var(--green);
}

.inunde-pref-service-icomida {
  border-left: 5px solid var(--orange);
}

.inunde-pref-service-ientrega {
  border-left: 5px solid var(--blue);
}

.inunde-pref-service-ieventos {
  border-left: 5px solid var(--amber);
}

.inunde-pref-service-ilugares {
  border-left: 5px solid var(--violet);
}

.inunde-pref-consent {
  margin-top: 2px;
  padding: 16px;
  border: 1px solid var(--navy);
  background: var(--soft);
}

.inunde-pref-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.inunde-pref-actions button {
  min-height: 52px;
  border: 0;
  border-radius: 0;
  padding: 0 24px;
  background: var(--green);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.inunde-pref-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.inunde-pref-download {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
}

.inunde-pref-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.inunde-pref-status[data-kind="success"] {
  color: #18794e;
}

.inunde-pref-status[data-kind="error"] {
  color: #b42318;
}

.inunde-pref-fineprint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.inunde-pref-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 920px) {
  .inunde-pref-page {
    grid-template-columns: 1fr;
  }

  .inunde-pref-brand,
  .inunde-pref-form-panel {
    min-height: auto;
  }

  .inunde-pref-brand {
    padding: 24px;
  }

  .inunde-pref-hero-copy {
    padding: 56px 0;
  }

  .inunde-pref-form-panel {
    padding: 30px 22px 42px;
  }
}

@media (max-width: 520px) {
  .inunde-pref-brand-top {
    align-items: flex-start;
  }

  .inunde-pref-logo {
    width: 62px;
    height: 62px;
  }

  .inunde-pref-qr-card {
    grid-template-columns: 86px 1fr;
  }

  .inunde-pref-qr-card img {
    width: 86px;
    height: 86px;
  }

  .inunde-pref-form-shell h2 {
    font-size: 25px;
  }
}
