:root {
  --orange: #f6a800;
  --orange-dark: #df8d00;
  --orange-soft: #fff4d9;
  --ink: #252525;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f7f8fa;
  --green: #3d6259;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
}
/* ENCABEZADO CON IMAGEN */
.hero {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffb000;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .hero-image {
        width: 100%;
        height: auto;
    }
}

/* HERO 
.hero {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245, 166, 0, .94), rgba(255, 204, 73, .76)),
    url("Back Foros JL40H Sureste.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 174, 0, .05), rgba(255, 187, 35, .18));
}

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 45px 15px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(4px);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .8px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 1px;
}

.hero h2 {
  margin: 2px 0 5px;
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.hero p {
  margin: 12px 0 0;
  font-size: clamp(1.05rem, 2.5vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 1px;
}*/

/* CONTENEDOR */
.form-container {
  max-width: 1080px;
  margin-top: -35px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

/* INTRO */
.intro-card {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 14px 35px rgba(31, 41, 55, .10);
}

.intro-icon {
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-size: 1.6rem;
}

.intro-card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 800;
}

.intro-card p {
  color: #555;
  line-height: 1.65;
}

.time-info {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--orange-dark);
  font-size: .9rem;
}

/* SECCIONES */
.form-section {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 7px 22px rgba(31, 41, 55, .05);
}

.section-header {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.section-number {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .9rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.section-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

/* FORM */
.form-label {
  font-weight: 700;
  font-size: .94rem;
  line-height: 1.45;
}

.required::after {
  content: " *";
  color: #dc3545;
}

.required-star {
  color: #dc3545;
}

.form-control,
.form-select {
  min-height: 48px;
  border-color: #dfe3e8;
  border-radius: 10px;
  padding: .65rem .85rem;
  font-size: .94rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 .2rem rgba(246,168,0,.14);
}

.question-block {
  padding: 22px 0;
  border-bottom: 1px solid #edf0f2;
}

.question-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* OPCIONES */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.option-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid #e2e5e8;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: .2s ease;
  line-height: 1.35;
  font-size: .9rem;
}

.option-card:hover {
  border-color: #f2b33b;
  background: #fffaf0;
  transform: translateY(-1px);
}

.option-card input {
  margin-top: 3px;
  accent-color: var(--orange-dark);
}

.option-card:has(input:checked) {
  border-color: #f2b33b;
  background: #fff8e8;
}

.radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-list label {
  border: 1px solid #e2e5e8;
  background: #fff;
  border-radius: 10px;
  padding: 11px 14px;
  cursor: pointer;
  font-size: .9rem;
}

.radio-list label:hover {
  border-color: #f2b33b;
  background: #fffaf0;
}

.radio-list input {
  accent-color: var(--orange-dark);
  margin-right: 6px;
}

/* CAMPO OTRO */
.other-field {
  display: none;
  margin-top: 10px;
}

.option-grid:has(#perfilOtro:checked) ~ .other-field {
  display: block;
}

.option-grid:has(#sectorOtro:checked) ~ .other-field {
  display: block;
}

/* NOTA */
.note-box {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 14px;
  background: #f8fafc;
  border-left: 3px solid var(--orange);
  border-radius: 8px;
  color: #59636e;
  font-size: .88rem;
}

/* PRIVACIDAD */
.privacy-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  margin-top: 22px;
  border: 1px solid #dfe7e4;
  background: #f7faf9;
  border-radius: 14px;
}

.privacy-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5f0ed;
  color: var(--green);
  font-size: 1.4rem;
}

.privacy-box h4 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 7px;
}

.privacy-box p {
  margin-bottom: 12px;
  color: #606a73;
  font-size: .9rem;
  line-height: 1.55;
}

.privacy-box a {
  color: var(--green);
  font-weight: 700;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  font-weight: 700;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

/* ENVIAR */
.submit-area {
  text-align: center;
  padding: 18px 0 10px;
}

.submit-area p {
  color: var(--muted);
  font-size: .82rem;
  margin-bottom: 14px;
}

.btn-submit {
  min-width: 220px;
  padding: 13px 25px;
  border: 0;
  border-radius: 11px;
  background: var(--orange-dark);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(223,141,0,.22);
}

.btn-submit:hover {
  background: #c97c00;
  transform: translateY(-1px);
}

/* FOOTER */
.footer {
  background: #252525;
  color: #d8d8d8;
  padding: 22px 0;
  text-align: center;
  font-size: .82rem;
}

/* RESPONSIVE */
@media (max-width: 767.98px) {
  .hero {
    min-height: 310px;
  }

  .hero-content {
    padding: 35px 10px;
  }

  .form-container {
    margin-top: -20px;
  }

  .intro-card,
  .form-section {
    padding: 22px;
    border-radius: 14px;
  }

  .intro-card {
    flex-direction: column;
  }

  .option-grid,
  .option-grid.compact {
    grid-template-columns: 1fr;
  }

  .section-header {
    gap: 11px;
  }

  .section-number {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .privacy-box {
    flex-direction: column;
  }
}

/* ===== ACORDEÓN FAQ (fondo con paleta de colores) ===== */
.faq-accordion .accordion-item {
  border: 1px solid #f0e2c0;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  background-color: var(--orange-soft);
}

.faq-accordion .accordion-button {
  background-color: var(--orange-soft);
  color: var(--ink);
  font-weight: 700;
  font-size: .98rem;
  padding: 16px 18px;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: #ffe8b3;
  color: var(--ink);
  box-shadow: none;
}

.faq-accordion .accordion-button:hover {
  background-color: #ffe8b3;
}

.faq-accordion .accordion-button:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 .2rem rgba(246,168,0,.15);
}

.faq-accordion .accordion-button::after {
  filter: hue-rotate(15deg) saturate(1.2);
}

.faq-accordion .accordion-body {
  background-color: #fffaf0;
  color: #444;
  line-height: 1.65;
  font-size: .94rem;
  padding: 18px 20px;
  border-top: 1px solid #f0e2c0;
}

.faq-accordion .accordion-body strong {
  color: var(--orange-dark);
}