/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --blue-deep:   #012482;
  --blue-soft:   #6591B8;
  --blue-dark:   #091254;
  --gold:        #FEB800;
  --cream:       #FFF9EB;
  --white:       #ffffff;
  --text-dark:   #1a1a3e;
  --text-muted:  rgba(255, 255, 255, 0.75);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Quicksand', system-ui, sans-serif;

  --max-w: 1200px;
  --sp-sm: 2.5rem;
  --sp-md: 4rem;
  --sp-lg: 6rem;

  --radius: 8px;
  --shadow: 0 4px 24px rgba(1, 36, 130, 0.1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
  background-color: var(--cream);
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* ============================================================
   Utility
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.text-gold       { color: var(--gold);       font-weight: 600; }
.text-blue       { color: var(--blue-deep);  font-weight: 600; }
.text-white      { color: var(--white); }
.text-white-soft { color: var(--text-muted); }
.dark            { color: var(--text-dark); }
.text-center     { text-align: center; }
.italic          { font-style: italic; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.section-subtitle {
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  opacity: 0.85;
  max-width: 580px;
  margin-inline: auto;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 160, 0, 0.4);
}

.btn--gold {
  background-color: var(--gold);
  color: var(--blue-deep);
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--blue-deep);
  height: 64px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.navbar__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.navbar__logo {
  height: 80px;
  width: auto;
}

.navbar__name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.12em;
}

.navbar__name-o {
  color: var(--gold);
}

/* Desktop links — hidden on mobile */
.navbar__links {
  display: none;
  gap: 2rem;
}

.navbar__links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.navbar__links a:hover {
  color: var(--gold);
}

/* Hamburger button */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 201;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Hamburger open state */
.navbar__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav dropdown */
.navbar__links.is-open {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background-color: var(--blue-dark);
  padding: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.navbar__links.is-open li a {
  display: block;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
}

.navbar__links.is-open li:last-child a {
  border-bottom: none;
}

/* ============================================================
   Hero scroll arrow (shared, used inside .mision as first section)
   ============================================================ */

.hero__scroll {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  width: 36px;
  animation: bounce 2.2s ease-in-out infinite;
  transition: color 0.2s;
  z-index: 1;
}

.hero__scroll:hover {
  color: var(--gold);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   El Tránsito
   ============================================================ */
.transito {
  background-color: var(--cream);
  padding: var(--sp-md) 0;
}

.transito__inner {
  text-align: center;
}

.transito__label {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 1.2rem;
}

.transito__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-dark);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.transito__cols {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: left;
}

.transito__col-label {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  font-style: italic;
  color: var(--blue-deep);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(1, 36, 130, 0.2);
}

.transito__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.transito__list li {
  padding-left: 1.4rem;
  font-weight: 500;
  position: relative;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.transito__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--blue-deep);
}

/* ============================================================
   About — ¿Qué es Orion?
   ============================================================ */
.about {
  background-color: var(--blue-deep);
  padding: var(--sp-md) 0;
}

.about__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about__text .section-title {
  color: var(--gold);
}

.about__lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.about__text p {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.about__image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============================================================
   Modalidades
   ============================================================ */
.modalidades-header {
  background-color: var(--blue-deep);
  padding: var(--sp-md) 0 var(--sp-sm);
}

.modality {
  padding: var(--sp-sm) 0;
}

.modality--cream { background-color: var(--cream); }
.modality--blue  { background-color: var(--blue-deep); }

.modality__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.modality__image img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modality__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-block: 1.5rem;
}

.modality__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modality__name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1;
}

.modality__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge {
  background-color: var(--gold);
  color: var(--white);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge--outline {
  background-color: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.badge--outline-blue {
  background-color: transparent;
  border: 1.5px solid var(--blue-deep);
  color: var(--blue-deep);
}

.modality__content > p {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

.modality--blue .modality__content > p {
  color: var(--text-muted);
}

/* ============================================================
   Beneficios — Tab System (radio button CSS)
   ============================================================ */
.beneficios {
  margin-top: 2rem;
}

.beneficios__heading {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.beneficios__radio {
  display: none;
}

.beneficios__bar {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  gap: 4px;
  background-color: var(--blue-deep);
  border-radius: 14px;
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: 1.25rem;
}

.beneficios--on-blue .beneficios__bar {
  background-color: rgba(0, 0, 0, 0.35);
}

.beneficios__bar::-webkit-scrollbar {
  display: none;
}

.beneficios__bar > label {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

.beneficios__tab-icon {
  font-size: 1.5rem;
  line-height: 1;
  display: block;
}

.beneficios__bar > label:hover {
  color: rgba(255, 255, 255, 0.85);
  background-color: rgba(255, 255, 255, 0.08);
}

/* Active tab label */
#agora-b1:checked ~ .beneficios__bar > label[for="agora-b1"],
#agora-b2:checked ~ .beneficios__bar > label[for="agora-b2"],
#agora-b3:checked ~ .beneficios__bar > label[for="agora-b3"],
#agora-b4:checked ~ .beneficios__bar > label[for="agora-b4"],
#kairos-b1:checked ~ .beneficios__bar > label[for="kairos-b1"],
#kairos-b2:checked ~ .beneficios__bar > label[for="kairos-b2"],
#kairos-b3:checked ~ .beneficios__bar > label[for="kairos-b3"],
#kairos-b4:checked ~ .beneficios__bar > label[for="kairos-b4"],
#kairos-b5:checked ~ .beneficios__bar > label[for="kairos-b5"] {
  background-color: var(--cream);
  color: var(--blue-deep);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}

/* Panels */
.beneficios__panel {
  display: none;
}

#agora-b1:checked ~ .beneficios__panels > .beneficios__panel:nth-child(1),
#agora-b2:checked ~ .beneficios__panels > .beneficios__panel:nth-child(2),
#agora-b3:checked ~ .beneficios__panels > .beneficios__panel:nth-child(3),
#agora-b4:checked ~ .beneficios__panels > .beneficios__panel:nth-child(4),
#kairos-b1:checked ~ .beneficios__panels > .beneficios__panel:nth-child(1),
#kairos-b2:checked ~ .beneficios__panels > .beneficios__panel:nth-child(2),
#kairos-b3:checked ~ .beneficios__panels > .beneficios__panel:nth-child(3),
#kairos-b4:checked ~ .beneficios__panels > .beneficios__panel:nth-child(4),
#kairos-b5:checked ~ .beneficios__panels > .beneficios__panel:nth-child(5) {
  display: block;
}

.beneficios__subtitle {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.modality--cream .beneficios__subtitle,
.modality--cream .beneficios__heading {
  color: var(--blue-deep);
}

.beneficios__list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.beneficios__list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
}

.beneficios--on-blue .beneficios__list li {
  color: var(--text-muted);
}

.beneficios__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1.6;
}

.beneficios__resultado {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-dark);
  padding-top: 0.65rem;
  border-top: 1px solid rgba(1, 36, 130, 0.12);
}

.beneficios--on-blue .beneficios__resultado {
  color: var(--text-muted);
  border-top-color: rgba(255, 255, 255, 0.12);
}

/* ============================================================
   Kairós — lista lograrás
   ============================================================ */
.kairos__logras {
  margin-top: 2rem;
}

.kairos__list {
  list-style: none;
  counter-reset: kairos-counter;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kairos__list li {
  counter-increment: kairos-counter;
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.6;
}

.kairos__list li::before {
  content: counter(kairos-counter);
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

/* ============================================================
   Misión
   ============================================================ */
.mision {
  position: relative;
  background-color: var(--cream);
  padding: var(--sp-lg) 0 5rem;
}

.mision__inner {
  text-align: center;
}

.mision__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--text-dark);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.mision__highlight {
  display: inline;
  background-color: var(--gold);
  color: var(--white);
  padding: 0.05em 0.25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.mision__desc {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.6;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 1rem;
}


/* ============================================================
   Cuestionario / Contact Form
   ============================================================ */
.cuestionario {
  background-color: var(--cream);
  padding: var(--sp-lg) 0;
}

.cuestionario .section-title {
  margin-top: 1.5rem;
  color: var(--blue-deep);
}

.cuestionario__subtitle {
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: var(--sp-md);
  opacity: 0.7;
}

.contact-form {
  max-width: 960px;
  margin: 0 auto;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form__label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.contact-form__input,
.contact-form__textarea {
  background-color: var(--white);
  border: 1px solid rgba(1, 36, 130, 0.2);
  border-radius: 6px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: rgba(1, 36, 130, 0.3);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 3px rgba(1, 36, 130, 0.08);
  outline: none;
}

.contact-form__textarea-wrap {
  position: relative;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 130px;
  padding-bottom: 1.8rem;
}

.contact-form__char-count {
  position: absolute;
  bottom: 0.5rem;
  right: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(1, 36, 130, 0.35);
  pointer-events: none;
  transition: color 0.2s;
}

.contact-form__char-count--ok {
  color: var(--blue-deep);
}


.contact-form__field--submit {
  align-items: stretch;
}

.contact-form__btn {
  width: 100%;
}

@media (min-width: 768px) {
  .contact-form__field--submit {
    align-items: flex-start;
  }

  .contact-form__btn {
    width: auto;
    min-width: 200px;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background-color: var(--blue-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer__contact-item:hover {
  color: var(--gold);
}

.footer__contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer__logo {
  height: 110px;
  width: auto;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
}

.footer__newsletter {
  margin-bottom: 2rem;
}

.footer__newsletter-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.newsletter-form__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 380px;
  margin-inline: auto;
}

.newsletter-form__input {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.6rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.newsletter-form__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-form__input:focus {
  border-color: var(--gold);
}

.newsletter-form__btn {
  background: var(--gold);
  border: none;
  border-radius: 4px;
  color: var(--blue-deep);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.25rem;
  text-transform: uppercase;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.newsletter-form__btn:hover {
  opacity: 0.85;
}

.newsletter-form__confirm {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Responsive — Tablet (≥ 768px)
   ============================================================ */
@media (min-width: 768px) {

  /* Navbar */
  .navbar__hamburger { display: none; }
  .navbar__links     { display: flex; }

  /* El Tránsito */
  .transito__cols {
    flex-direction: row;
    gap: 4rem;
  }
  .transito__col { flex: 1 1 0; }

  /* About */
  .about__inner {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
  .about__text  { flex: 1 1 0; }
  .about__image { flex: 1 1 0; }


  /* Contact Form — 2 columns on desktop */
  .contact-form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form__field--full {
    grid-column: 1 / -1;
  }

  /* Footer contacts */
  .footer__contacts {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }

  /* Footer newsletter — row layout on tablet+ */
  .newsletter-form__row {
    flex-direction: row;
  }

  .newsletter-form__input {
    width: auto;
    flex: 1 1 0;
  }
}

/* ============================================================
   Responsive — Desktop (≥ 1024px)
   ============================================================ */
@media (min-width: 1024px) {

  .about__inner    { gap: 6rem; }


  .modality { padding: var(--sp-lg) 0; }

  .section-subtitle { max-width: none; }
}
