:root {
  --azul-utla: #003153;
  --vino-utla: #6d222e;
  --fondo: #f7f8fb;
  --blanco: #ffffff;
  --texto: #152236;
  --texto-suave: #5f6b7a;
  --linea: rgba(0, 49, 83, 0.16);
  --sombra: 0 24px 70px rgba(0, 49, 83, 0.16);
  --radio: 24px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--texto);
  background: var(--fondo);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 78vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(109, 34, 46, 0.18), transparent 30%),
    linear-gradient(135deg, var(--azul-utla) 0%, #06213a 54%, var(--vino-utla) 100%);
  color: var(--blanco);
  position: relative;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  right: -160px;
  bottom: -180px;
}

.navbar {
  position: relative;
  z-index: 3;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-logo {
  width: 92px;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.24));
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 1rem;
  max-width: 260px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  transition: 0.2s ease;
}

.nav-links a:hover { background: rgba(255, 255, 255, 0.12); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: var(--blanco);
  font-size: 1.45rem;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
  padding: 70px 0 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--vino-utla);
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero .eyebrow { color: #ffffff; opacity: 0.9; }

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.hero-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  margin-bottom: 28px;
}

.hero-actions, .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--vino-utla); color: var(--blanco); box-shadow: 0 16px 36px rgba(109, 34, 46, 0.28); }
.btn.secondary { background: var(--blanco); color: var(--azul-utla); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14); }

.deadline-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--texto);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--sombra);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.deadline-label {
  margin-bottom: 10px;
  color: var(--vino-utla);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

#deadlineDate {
  display: block;
  color: var(--azul-utla);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}

.countdown {
  background: rgba(0, 49, 83, 0.08);
  color: var(--azul-utla);
  border: 1px solid var(--linea);
  border-radius: 18px;
  padding: 16px;
  font-weight: 900;
  margin-bottom: 18px;
}


code {
  background: rgba(109, 34, 46, 0.09);
  color: var(--vino-utla);
  border-radius: 8px;
  padding: 2px 6px;
}

.section { padding: 86px 0; }
.section.alt { background: #ffffff; }

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2, .form-copy h2 {
  color: var(--azul-utla);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.section-heading p, .form-copy p { color: var(--texto-suave); font-size: 1.05rem; }

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.guide-card, .orientation-panel, .proposal-form, .form-copy {
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  box-shadow: 0 18px 48px rgba(0, 49, 83, 0.08);
}

.guide-card {
  padding: 28px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.guide-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(109, 34, 46, 0.08);
  right: -30px;
  bottom: -30px;
}

.step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--azul-utla);
  color: var(--blanco);
  font-weight: 900;
  margin-bottom: 18px;
}

.guide-card h3 {
  color: var(--azul-utla);
  font-size: 1.28rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.guide-card p { color: var(--texto-suave); }

.example-box {
  margin-top: 18px;
  padding: 15px;
  border-left: 5px solid var(--vino-utla);
  background: rgba(109, 34, 46, 0.06);
  border-radius: 14px;
  color: var(--texto);
  font-size: 0.96rem;
}

.orientation-panel {
  margin-top: 26px;
  padding: 30px;
}

.orientation-panel h3 {
  color: var(--azul-utla);
  font-size: 1.45rem;
  margin-bottom: 16px;
}

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

.question-list p {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 49, 83, 0.06);
  color: var(--texto-suave);
}

.question-list strong { color: var(--azul-utla); }

.form-shell {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 28px;
  align-items: start;
}

.form-copy, .proposal-form { padding: 30px; }
.form-copy { position: sticky; top: 18px; }

.form-reminder {
  margin-top: 22px;
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(0, 49, 83, 0.09), rgba(109, 34, 46, 0.09));
  color: var(--azul-utla);
}

.form-block-title {
  margin: 12px 0 18px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--azul-utla);
  color: var(--blanco);
  font-weight: 900;
}

.form-row { margin-bottom: 18px; }
.form-row.two-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
label, legend {
  display: block;
  margin-bottom: 8px;
  color: var(--azul-utla);
  font-weight: 900;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--linea);
  border-radius: 15px;
  background: #fbfcfe;
  color: var(--texto);
  padding: 13px 14px;
  outline: none;
  transition: 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--vino-utla);
  box-shadow: 0 0 0 4px rgba(109, 34, 46, 0.12);
  background: var(--blanco);
}

textarea { resize: vertical; min-height: 150px; }
small, .field-help { color: var(--texto-suave); font-size: 0.9rem; margin-top: 6px; }
fieldset {
  border: 1px solid var(--linea);
  border-radius: 18px;
  padding: 18px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--linea);
  border-radius: 14px;
  background: #fbfcfe;
  color: var(--texto);
  font-weight: 700;
}

.checkbox-grid input { width: auto; accent-color: var(--vino-utla); }
.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

.ods-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  gap: 12px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--linea);
  border-radius: 18px;
  background: #fbfcfe;
  color: var(--texto);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ods-option:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 34, 46, 0.35);
  box-shadow: 0 14px 30px rgba(0, 49, 83, 0.08);
  background: var(--blanco);
}

.ods-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ods-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--azul-utla), var(--vino-utla));
  color: var(--blanco);
  font-size: 0.95rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.02em;
}

.ods-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.ods-content strong {
  display: block;
  color: var(--azul-utla);
  font-size: 0.98rem;
  line-height: 1.15;
}

.ods-content small {
  color: var(--texto-suave);
  font-size: 0.83rem;
  line-height: 1.28;
  margin: 0;
}

.ods-option:has(input:checked) {
  border-color: var(--vino-utla);
  box-shadow: 0 0 0 4px rgba(109, 34, 46, 0.12);
  background: rgba(109, 34, 46, 0.04);
}

.ods-option:has(input:checked) .ods-badge {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: -8px;
}

.option-group.invalid { border-color: var(--vino-utla); box-shadow: 0 0 0 4px rgba(109, 34, 46, 0.12); }
.form-status { margin: 14px 0 0; color: var(--azul-utla); font-weight: 800; }

.footer {
  background: var(--azul-utla);
  color: rgba(255, 255, 255, 0.86);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer p { margin: 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--azul-utla);
  color: var(--blanco);
  padding: 13px 18px;
  border-radius: 999px;
  box-shadow: var(--sombra);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 99;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero, .form-shell { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-copy { position: static; }
}

@media (max-width: 760px) {
  .container, .navbar { width: min(100% - 28px, var(--max-width)); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(0, 49, 83, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 12px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .brand-logo { width: 74px; }
  .brand-name { font-size: 0.92rem; }
  .hero { padding: 40px 0 70px; }
  .section { padding: 64px 0; }
  .guide-grid, .question-list, .form-row.two-cols, .checkbox-grid, .product-grid, .ods-visual-grid { grid-template-columns: 1fr; }
  .deadline-card, .form-copy, .proposal-form, .orientation-panel, .guide-card { padding: 22px; }
}
