:root {
  --bg: #000000;
  --card: #121212;
  --card-2: #171717;
  --border: #2a2a2a;
  --text: #ffffff;
  --muted: #b5b5b5;
  --accent: #ff6a00;
  --accent-strong: #ff7a1a;
  --accent-soft: rgba(255, 106, 0, 0.14);
  --success: #1f7a38;
  --success-bg: #12351d;
  --error: #b33939;
  --error-bg: #3a1414;
  --max: 760px;
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.grid-3 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 14px 44px;
}

.hero {
  padding-top: 36px;
}

.card {
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card + .card,
.section + .section {
  margin-top: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 106, 0, 0.25);
  color: #ffd7bd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 8vw, 54px);
  line-height: 1.05;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.15;
}

h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 4.6vw, 24px);
  line-height: 1.2;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
}

.lead {
  font-size: clamp(18px, 4.6vw, 22px);
  color: #f1f1f1;
}

.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 16px;
}

.role-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #121212, #111111);
}

.role-card p {
  margin-bottom: 18px;
}

.role-card .button,
.role-card .button-secondary {
  margin-top: auto;
}

.kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #d8d8d8;
  font-weight: 700;
  margin-bottom: 6px;
}

.button,
.button-secondary {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button {
  background: var(--accent);
  color: #fff;
}

.button:hover {
  background: var(--accent-strong);
}

.button-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.info-item p:last-child,
.role-card p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
  margin-top: 18px;
}

.legal-links a {
  color: #e5e7eb;
  text-decoration: underline;
  font-weight: 500;
}

.legal-links a:hover {
  color: #ffffff;
}

.footer {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  margin-bottom: 10px;
}

.list-clean {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

label {
  display: block;
  margin: 14px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid #333;
  background: #090909;
  color: #fff;
  font-size: 16px;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 130px;
}

input::placeholder,
textarea::placeholder {
  color: #818181;
}

.form-card {
  margin-top: 18px;
}

.notice {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.checks {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  width: 100%; /* Asegura que ocupe todo el ancho del card */
}

label.check-row {
  display: flex;
  align-items: flex-start; /* Mantiene el checkbox arriba si el texto tiene varias líneas */
  gap: 12px;
  margin: 0;
  font-size: 14px; /* Un poco más pequeño para mobile ayuda mucho */
  line-height: 1.5;
  font-weight: 500;
  color: #e5e7eb;
  cursor: pointer;
}

label.check-row span {
  display: block;
  color: #e5e7eb;
}

label.check-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 2px 0 0 0;
  flex: 0 0 20px; /* IMPORTANTE: evita que el checkbox se encoja por el empuje del texto */
  accent-color: var(--accent);
  cursor: pointer;
}

label.check-row a,
label.check-row a:link,
label.check-row a:visited,
label.check-row a:hover,
label.check-row a:active,
label.check-row a:focus {
  color: #7cc4ff;
  text-decoration: underline;
  font-weight: 600;
}

.message {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.message.success {
  background: var(--success-bg);
  border: 1px solid var(--success);
}

.message.error {
  background: var(--error-bg);
  border: 1px solid var(--error);
}

.hero-compact h1 {
  font-size: clamp(32px, 7vw, 46px);
}

.small {
  font-size: 14px;
}

.legal-footer {
  margin-top: 40px;
  padding: 24px 16px 40px;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.legal-footer__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.legal-footer__inner p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.legal-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
}

.legal-footer__links a {
  font-size: 14px;
  color: #111827;
  text-decoration: none;
  font-weight: 600;
}

.legal-footer__links a:hover {
  text-decoration: underline;
}

.legal-consent {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

@media (min-width: 760px) {
  .page {
    padding: 28px 18px 56px;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.check-copy {
  flex: 1; /* Toma el resto del espacio disponible */
  display: block;
  color: #e5e7eb;
  word-wrap: break-word; /* Rompe palabras si es necesario */
  overflow-wrap: break-word;
}

.check-copy a {
  display: inline; 
  color: #7cc4ff !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

.check-copy a,
.check-copy a:link,
.check-copy a:visited,
.check-copy a:hover,
.check-copy a:active,
.check-copy a:focus {
  color: #7cc4ff !important;
  -webkit-text-fill-color: #7cc4ff !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}