:root {
  --color-black: #111111;
  --color-red: #DD213F;
  --color-red-dark: #b81a33;
  --color-teal: #019098;
  --color-teal-dark: #017a80;
  --color-orange: #EF9200;
  --color-orange-dark: #d47f00;
  --color-sky: #7BBAE4;
  --color-sky-dark: #5aa5d4;
  --color-white: #FFFFFF;
  --color-gray: #F5F5F5;
  --color-gray-mid: #e8e8e8;
  --color-light: #f0f7fc;
  --color-text: #3d4f5f;
  --color-text-light: #6b7c8a;
  --shadow-sm: 0 4px 20px rgba(17, 17, 17, 0.08);
  --shadow-md: 0 12px 40px rgba(17, 17, 17, 0.12);
  --shadow-color-red: 0 8px 28px rgba(221, 33, 63, 0.35);
  --shadow-color-teal: 0 8px 28px rgba(1, 144, 152, 0.35);
  --radius: 16px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Poppins', sans-serif;
  --nav-height: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  padding-top: var(--nav-height);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--color-black);
  font-weight: 700;
}

img { max-width: 100%; height: auto; }

a,
a:hover,
a:focus,
a:active,
a:visited {
  text-decoration: none;
}

a {
  color: inherit;
}

.rounded-lg { border-radius: var(--radius-lg); }

/* ── Animaciones ── */
.anim-init,
.anim-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-init.is-visible,
.anim-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.anim-init.anim-left,
.anim-scroll.anim-left {
  transform: translateX(-36px);
}

.anim-init.anim-right,
.anim-scroll.anim-right {
  transform: translateX(36px);
}

.anim-init.anim-scale {
  transform: scale(0.92);
}

/* ── Botones ── */
.btn-congreso {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-align: center;
  box-shadow: var(--shadow-color-red);
}

.btn-congreso:hover {
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(221, 33, 63, 0.45);
}

.btn-congreso-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-congreso-outline {
  display: inline-block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.75);
  padding: 0.8rem 1.65rem;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}

.btn-congreso-outline:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.btn-congreso-teal {
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
  box-shadow: var(--shadow-color-teal);
}

.btn-congreso-teal:hover {
  box-shadow: 0 12px 32px rgba(1, 144, 152, 0.45);
}

.link-teal {
  color: var(--color-teal);
  font-weight: 600;
}

.link-teal:hover {
  color: var(--color-orange);
}

/* ── Navbar sticky ── */
.navbar-congreso {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar-congreso.scrolled {
  background: #019098;
  box-shadow: 0 4px 24px rgba(1, 144, 152, 0.35);
}

.navbar-congreso.scrolled .nav-link {
  color: var(--color-white) !important;
}

.navbar-congreso.scrolled .nav-link:hover,
.navbar-congreso.scrolled .nav-link.active {
  color: var(--color-orange) !important;
}

.navbar-congreso.scrolled .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-congreso.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-congreso.scrolled .logo-nav {
  filter: brightness(0) invert(1);
}

.logo-nav {
  height: 44px;
  width: auto;
}

.navbar-congreso .nav-link {
  color: var(--color-black) !important;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.5rem 0.85rem !important;
  position: relative;
  transition: color var(--transition);
}

.navbar-congreso .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width var(--transition), left var(--transition);
}

.navbar-congreso .nav-link:hover::after,
.navbar-congreso .nav-link.active::after {
  width: 60%;
  left: 20%;
}

.navbar-congreso.scrolled .nav-link::after {
  background: var(--color-orange);
}

.navbar-congreso .nav-link:hover,
.navbar-congreso .nav-link.active {
  color: var(--color-red) !important;
}

.navbar-congreso .nav-link-back {
  font-weight: 600;
}

.navbar-congreso .nav-link-back i {
  font-size: 0.75em;
}

.navbar-congreso .navbar-toggler {
  border-color: rgba(17, 17, 17, 0.2);
}

.navbar-congreso .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(17,17,17,0.8)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (min-width: 992px) {
  .navbar-congreso > .container {
    max-width: 1360px;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar-congreso .navbar-nav {
    flex-wrap: nowrap;
    align-items: center;
  }

  .navbar-congreso .nav-link {
    font-size: 0.8rem;
    padding: 0.45rem 0.55rem !important;
    white-space: nowrap;
  }

  .navbar-congreso .logo-nav {
    height: 40px;
  }

  .navbar-congreso .btn-congreso-sm {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (min-width: 1200px) {
  .navbar-congreso > .container {
    max-width: 1440px;
  }

  .navbar-congreso .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.7rem !important;
  }
}

/* ── Hero ── */
.hero-congreso {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100dvh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-height));
  padding-top: var(--nav-height);
}

.hero-congreso::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -8%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(239, 146, 0, 0.18);
  pointer-events: none;
  z-index: 1;
}

.hero-congreso::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(123, 186, 228, 0.2);
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('img/492071568_1225081886288158_5495002784827041330_n.jpg') center/cover no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(1, 144, 152, 0.88) 0%,
    rgba(17, 17, 17, 0.72) 45%,
    rgba(221, 33, 63, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.5rem 0;
  color: var(--color-white);
}

.hero-layout {
  justify-content: flex-start;
  align-items: center;
}

.hero-copy {
  text-align: left;
}

.hero-aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-video {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.25);
  background: var(--color-black);
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  pointer-events: none;
}

.hero-info-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-info-item:first-child {
  padding-top: 0;
}

.hero-info-item i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.hero-info-item:nth-child(2) i {
  background: linear-gradient(135deg, var(--color-teal), var(--color-sky-dark));
}

.hero-info-item:nth-child(3) i {
  background: linear-gradient(135deg, var(--color-orange), var(--color-red-dark));
}

.hero-info-item strong {
  display: block;
  font-size: 1.15rem;
  color: var(--color-white);
  line-height: 1.2;
}

.hero-info-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.18);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: #ffe0e6;
}

.hero-subtitle {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  background: linear-gradient(90deg, var(--color-orange), #fff3e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-meta i {
  color: var(--color-orange);
  margin-right: 0.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-organizer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.organizer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0.35rem;
  vertical-align: middle;
}

.organizer-link:hover {
  color: var(--color-orange);
}

.organizer-logo {
  height: 22px;
  width: auto;
}

.hero-organizer .organizer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* ── Hero: monitores grandes ── */
@media (min-width: 1200px) {
  .hero-congreso > .hero-content.container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: clamp(2.5rem, 5vw, 5rem);
    padding-right: clamp(2.5rem, 5vw, 5rem);
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-bg {
    background-position: 55% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg,
      rgba(1, 144, 152, 0.9) 0%,
      rgba(17, 17, 17, 0.6) 38%,
      rgba(17, 17, 17, 0.35) 58%,
      rgba(221, 33, 63, 0.55) 100%);
  }
}

@media (min-width: 1600px) {
  .hero-congreso > .hero-content.container {
    padding-left: clamp(4rem, 8vw, 9rem);
    padding-right: clamp(3rem, 6vw, 6rem);
  }

  .hero-copy {
    max-width: 700px;
  }

  .hero-video {
    max-width: 360px;
  }

  .hero-congreso::before {
    width: 620px;
    height: 620px;
    top: -20%;
    right: 5%;
  }

  .hero-bg {
    background-position: 60% center;
  }
}

@media (min-width: 1920px) {
  .hero-title {
    font-size: 3.4rem;
  }

  .hero-subtitle {
    font-size: 2rem;
  }

  .hero-congreso > .hero-content.container {
    padding-left: clamp(5rem, 10vw, 12rem);
  }
}

/* ── Hero Desafío Franquíciate ── */
.hero-desafio {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg,
    rgba(1, 144, 152, 0.16) 0%,
    rgba(221, 33, 63, 0.07) 55%,
    var(--color-white) 88%,
    var(--color-white) 100%);
  padding: 3.5rem 0 2.5rem;
}

.hero-desafio::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 144, 152, 0.14), transparent 70%);
}

.hero-desafio::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -8%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 146, 0, 0.14), transparent 70%);
}

.hero-desafio-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-desafio-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-teal-dark);
  margin-bottom: 1rem;
}

.hero-desafio-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hero-desafio-title span {
  color: var(--color-red);
}

.hero-desafio-subtitle {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--color-orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero-desafio-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-desafio-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-desafio-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-desafio-badges span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid rgba(1, 144, 152, 0.25);
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

.hero-desafio-badges i {
  color: var(--color-red);
  margin-right: 0.4rem;
}

/* ── Desafío: costo de inscripción ── */
.desafio-cost-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(239, 146, 0, 0.4);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 2rem;
}

.desafio-cost-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.4rem;
  box-shadow: 0 6px 18px rgba(239, 146, 0, 0.35);
}

.desafio-cost-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-teal-dark);
}

/* ── Desafío: pasos del proceso ── */
.steps-list {
  max-width: 860px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}

.step-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--color-gray-mid);
}

.step-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-color-teal);
}

.step-content {
  flex: 1;
  background: var(--color-white);
  border: 1px solid rgba(123, 186, 228, 0.3);
  border-left: 4px solid var(--color-red);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}

.step-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.step-content p:last-child {
  margin-bottom: 0;
}

/* ── Desafío: criterios de selección ── */
.criteria-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  max-width: 820px;
  margin: 0 auto;
}

.criteria-pill {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-black);
  background: var(--color-white);
  border: 2px solid rgba(1, 144, 152, 0.3);
  border-radius: 50px;
  padding: 0.65rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition);
}

.criteria-pill:hover {
  border-color: var(--color-red);
  transform: translateY(-3px);
}

.criteria-pill i {
  color: var(--color-teal);
  margin-right: 0.45rem;
}

/* ── Desafío: premios ── */
.prize-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  color: var(--color-white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.prize-card--first {
  border: 2px solid rgba(239, 146, 0, 0.65);
  box-shadow: 0 12px 40px rgba(239, 146, 0, 0.25);
}

.prize-card h3 {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.prize-value {
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: 1rem;
}

.prize-card ul {
  padding-left: 1.1rem;
  margin: 0;
}

.prize-card li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.6rem;
}

.prize-card li:last-child {
  margin-bottom: 0;
}

.prize-medal {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.prize-medal--silver {
  background: linear-gradient(135deg, #b8c4cc, #8d9aa5);
}

.prize-medal--bronze {
  background: linear-gradient(135deg, #cd8f52, #a86a35);
}

.prize-medal--honor {
  background: linear-gradient(135deg, var(--color-teal), var(--color-sky-dark));
}

/* ── Desafío: alcances ── */
.scope-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(123, 186, 228, 0.3);
  border-left: 5px solid var(--color-teal);
  box-shadow: var(--shadow-sm);
  padding: 2rem 2.25rem;
}

.scope-list {
  margin: 0;
  padding-left: 1.2rem;
}

.scope-list li {
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.scope-list li:last-child {
  margin-bottom: 0;
}

/* ── Desafío: etiquetas del formulario ── */
.register-form .form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.4rem;
  line-height: 1.45;
}

@media (max-width: 575.98px) {
  .desafio-cost-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .step-item {
    gap: 1rem;
  }

  .step-item:not(:last-child)::before {
    left: 22px;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

/* ── Fondo degradado tenue (mismo estilo que el hero del Desafío) ── */
.section-tint {
  background: linear-gradient(180deg,
    rgba(1, 144, 152, 0.12) 0%,
    rgba(221, 33, 63, 0.05) 55%,
    var(--color-white) 100%);
}

/* ── Secciones ── */
.section-block {
  padding: 5.5rem 0;
}

.section-gray {
  background: var(--color-light);
}

.section-dark {
  background: linear-gradient(135deg, var(--color-black) 0%, #1a3a4a 50%, var(--color-teal-dark) 100%);
}

.section-values {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
}

.section-values::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('img/492050105_1225173806278966_6914777831230657820_n.jpg') center/cover no-repeat;
  z-index: 0;
}

.section-values::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(1, 144, 152, 0.88) 0%,
    rgba(17, 17, 17, 0.78) 45%,
    rgba(221, 33, 63, 0.72) 100%);
  z-index: 1;
}

.section-values > .container {
  position: relative;
  z-index: 2;
}

.section-values .section-label {
  color: var(--color-orange);
}

.section-values .section-title {
  color: var(--color-white);
}

.section-values .section-title span {
  color: var(--color-orange);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

.section-label-light {
  color: var(--color-orange);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-title span {
  color: var(--color-red);
}

.section-dark .section-title span,
.section-honoris .section-title span,
.text-white.section-title span {
  color: var(--color-orange);
}

.section-desc {
  color: var(--color-text-light);
  max-width: 520px;
}

.about-image-wrap img {
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
  min-height: 320px;
  border: 4px solid rgba(1, 144, 152, 0.25);
  border-radius: 10px;
  animation: about-float 3.5s ease-in-out infinite;
}

@keyframes about-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.about-card {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 2.5rem;
  border-left: 5px solid #019098;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.about-card p {
  margin-bottom: 0.8rem;
}

.about-card .section-title span {
  color: var(--color-teal);
}

/* ── Organizador ── */
.organizer-card {
  background: linear-gradient(180deg, #fff5f7 0%, var(--color-white) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(221, 33, 63, 0.2);
  border-left: 5px solid var(--color-teal);
}

.organizer-card-logo {
  max-height: 56px;
  width: auto;
}

/* ── Feature cards ── */
.section-values .feature-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.section-values .feature-card h3 {
  color: var(--color-white);
}

.section-values .feature-card p {
  color: rgba(255, 255, 255, 0.88);
}

.feature-card {
  background: var(--color-white);
  border: 1px solid rgba(123, 186, 228, 0.3);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.section-values .feature-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-teal), var(--color-sky-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 18px rgba(1, 144, 152, 0.3);
}

.feature-icon i {
  color: var(--color-white);
  font-size: 1.35rem;
}

.row > .col-lg-4:nth-child(3n+1) .feature-icon {
  background: linear-gradient(135deg, var(--color-red), var(--color-orange));
  box-shadow: 0 6px 18px rgba(221, 33, 63, 0.3);
}

.row > .col-lg-4:nth-child(3n+2) .feature-icon {
  background: linear-gradient(135deg, var(--color-sky), var(--color-teal));
  box-shadow: 0 6px 18px rgba(123, 186, 228, 0.35);
}

.row > .col-lg-4:nth-child(3n) .feature-icon {
  background: linear-gradient(135deg, var(--color-orange), var(--color-red-dark));
  box-shadow: 0 6px 18px rgba(239, 146, 0, 0.35);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ── Stats ── */
.stats-section {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-black) 50%, var(--color-teal-dark) 100%);
  padding: 4rem 0;
}

.stat-block {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform var(--transition), background var(--transition);
}

.stat-block:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.row > .col-lg-3:nth-child(2) .stat-number { color: var(--color-sky); }
.row > .col-lg-3:nth-child(3) .stat-number { color: #fff3e0; }
.row > .col-lg-3:nth-child(4) .stat-number { color: var(--color-teal); }

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Speakers grid ── */
.speakers-grid-last {
  display: flex;
  justify-content: center;
}

.speakers-grid-last > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .speakers-grid-last > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .speakers-grid-last > [class*="col-"] {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* ── Speakers ── */
.speaker-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(123, 186, 228, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.speaker-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(221, 33, 63, 0.25);
}

.speaker-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--color-gray);
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gray), var(--color-gray-mid));
}

.placeholder-img i {
  font-size: 2.5rem;
  color: #bbb;
}

.speaker-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.speaker-role {
  font-size: 0.85rem;
  color: var(--color-red);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.speaker-company {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ── Ponentes / carrusel ── */
.speakers-carousel {
  position: relative;
  padding: 0 2.5rem 2.5rem;
}

.speakers-slide {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.speakers-carousel-indicators {
  bottom: 0;
  margin-bottom: 0;
}

.speakers-carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(1, 144, 152, 0.35);
  border: none;
  opacity: 1;
}

.speakers-carousel-indicators li.active {
  background-color: var(--color-teal);
}

.speakers-carousel-control {
  width: 2.5rem;
  opacity: 1;
}

.speakers-carousel-control:hover,
.speakers-carousel-control:focus {
  opacity: 1;
}

.speakers-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-teal);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.speakers-carousel-control:hover .speakers-carousel-arrow {
  background: var(--color-teal);
  color: var(--color-white);
  box-shadow: var(--shadow-color-teal);
}

@media (max-width: 575.98px) {
  .speakers-carousel {
    padding: 0 1.75rem 2.25rem;
  }

  .speakers-slide > [class*="col-"]:last-child {
    margin-left: auto;
    margin-right: auto;
  }
}

.ponente-card {
  text-align: center;
  height: 100%;
  transition: transform var(--transition);
}

.ponente-card:hover {
  transform: translateY(-6px);
}

.ponente-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: var(--color-gray);
  box-shadow: var(--shadow-sm);
  border: 3px solid rgba(1, 144, 152, 0.2);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.ponente-card:hover .ponente-photo {
  box-shadow: var(--shadow-md);
  border-color: rgba(221, 33, 63, 0.35);
}

.ponente-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ponente-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--color-black);
}

.ponente-role {
  font-size: 0.8rem;
  color: var(--color-red);
  font-weight: 600;
  margin: 0;
}

/* ── Franquiciafest ── */
.fest-layout {
  gap: 0;
}

.fest-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: minmax(140px, 1fr) minmax(140px, 1fr);
  gap: 0.85rem;
  height: 100%;
  min-height: 420px;
}

.fest-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid rgba(1, 144, 152, 0.18);
  background: var(--color-gray);
  min-height: 0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.fest-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(221, 33, 63, 0.3);
}

.fest-gallery-item--main {
  grid-row: 1 / 3;
}

.fest-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.fest-content > p {
  margin-bottom: 1rem;
}

.fest-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-black);
  line-height: 1.45;
}

.fest-highlight {
  background: rgba(1, 144, 152, 0.08);
  border-left: 4px solid var(--color-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.15rem;
  color: var(--color-text);
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0;
}

.fest-highlight i {
  color: var(--color-teal);
}

/* Opciones de stand (misma sección Franquiciafest) */
.fest-stands {
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(1, 144, 152, 0.15);
}

.fest-stands-bridge {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 1.75rem;
}

.fest-stand {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(123, 186, 228, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fest-stand:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.fest-stand-header {
  text-align: center;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
}

.fest-stand--teal .fest-stand-header {
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
}

.fest-stand--orange .fest-stand-header {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
}

.fest-stand--orange {
  border-color: rgba(239, 146, 0, 0.35);
}

.fest-stand-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.25rem 1.5rem;
}

.fest-stand-title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(61, 79, 95, 0.18);
}

.fest-stand-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.fest-stand--teal .fest-stand-icon {
  background: rgba(1, 144, 152, 0.1);
  color: var(--color-teal);
}

.fest-stand--orange .fest-stand-icon {
  background: rgba(239, 146, 0, 0.12);
  color: var(--color-orange);
}

.fest-stand-title h3 {
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.25;
  color: var(--color-black);
}

.fest-stand--teal .fest-stand-title h3 {
  color: var(--color-teal-dark);
}

.fest-stand--orange .fest-stand-title h3 {
  color: var(--color-orange-dark);
}

.fest-stand-pill {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-teal-dark);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.fest-stand-block {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(61, 79, 95, 0.15);
}

.fest-stand-block h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
  color: var(--color-black);
}

.fest-stand-block h4 i {
  margin-right: 0.35rem;
  width: 1.1em;
  text-align: center;
}

.fest-stand--teal .fest-stand-block h4 i {
  color: var(--color-teal);
}

.fest-stand--orange .fest-stand-block h4 i {
  color: var(--color-orange);
}

.fest-stand-block p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.45;
}

.fest-stand-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fest-stand-block li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
  color: var(--color-text);
  line-height: 1.45;
  margin-bottom: 0.35rem;
}

.fest-stand-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.fest-stand-investment {
  margin-bottom: 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
}

.fest-stand--teal .fest-stand-investment {
  background: rgba(1, 144, 152, 0.08);
}

.fest-stand--orange .fest-stand-investment {
  background: rgba(239, 146, 0, 0.1);
}

.fest-stand-investment h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  color: var(--color-text-light);
}

.fest-stand-investment h4 i {
  margin-right: 0.3rem;
}

.fest-stand--teal .fest-stand-investment h4 i {
  color: var(--color-teal);
}

.fest-stand--orange .fest-stand-investment h4 i {
  color: var(--color-orange);
}

.fest-stand-investment strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--color-black);
}

.fest-stand--orange .fest-stand-investment strong {
  color: var(--color-orange-dark);
}

.fest-stand-investment strong span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.fest-stand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  align-self: center;
  margin-top: auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
}

.fest-stand--teal .fest-stand-badge {
  background: var(--color-teal-dark);
}

.fest-stand--orange .fest-stand-badge {
  background: var(--color-orange);
}

.fest-stand-perks {
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

.fest-stand-perk {
  text-align: center;
  padding: 0.5rem 0.35rem;
}

.fest-stand-perk i {
  display: block;
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
  color: var(--color-teal);
}

.fest-stand-perks > [class*='col-']:nth-child(even) .fest-stand-perk i {
  color: var(--color-orange);
}

.fest-stand-perk span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.fest-stands-cta {
  margin-top: 3rem;
}

.fest-cta-text {
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 1.15rem !important;
}

@media (max-width: 991.98px) {
  .fest-gallery {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .fest-gallery-item--main {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .fest-gallery-item:not(.fest-gallery-item--main) {
    aspect-ratio: 4 / 3;
  }

  .fest-stands {
    margin-top: 2rem;
    padding-top: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .fest-gallery {
    gap: 0.65rem;
  }

  .fest-stand-body {
    padding: 1.2rem 1.1rem 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .fest-gallery {
    grid-template-columns: 1fr;
  }

  .fest-gallery-item--main,
  .fest-gallery-item:not(.fest-gallery-item--main) {
    grid-column: auto;
    aspect-ratio: 16 / 10;
  }

  .fest-lead {
    font-size: 1.05rem;
  }
}
/* ── Doctorado Honoris Causa ── */
.section-honoris {
  background: linear-gradient(135deg, #1a1218 0%, #2a1520 40%, #3d1a28 70%, var(--color-red-dark) 100%);
  color: var(--color-white);
}

.honoris-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.honoris-text {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.25rem;
}

.honoris-meta {
  list-style: none;
  padding: 0;
  margin: 0;
}

.honoris-meta li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.55rem;
}

.honoris-meta i {
  color: var(--color-orange);
  width: 1.1rem;
  text-align: center;
}

.honoris-cta {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.honoris-cta-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.65rem;
}

.honoris-cta-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  margin-bottom: 1.35rem;
}

.honoris-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.honoris-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(239, 146, 0, 0.35);
  background: rgba(0, 0, 0, 0.25);
  aspect-ratio: 16 / 10;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.honoris-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  border-color: rgba(239, 146, 0, 0.6);
}

.honoris-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.honoris-form-page {
  padding-top: 4rem;
  min-height: calc(100vh - var(--nav-height) - 80px);
}

.honoris-form-page .section-title span {
  color: var(--color-orange);
}

.register-form textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

@media (max-width: 991.98px) {
  .honoris-cta {
    text-align: center;
  }

  .honoris-gallery {
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .honoris-gallery {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* ── Páginas de formulario (estilo tipo diplomado) ── */
body.page-form {
  padding-top: 0;
  background: var(--color-teal);
}

.form-page {
  min-height: 100vh;
  background: var(--color-teal);
  padding: 2.5rem 0 3.5rem;
}

.form-page-header {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1rem;
  border-top: 10px solid var(--color-red);
  box-shadow: var(--shadow-sm);
}

.form-page-header a {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.form-page-header img {
  max-height: 72px;
  width: auto;
}

.form-page-header h1 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  color: var(--color-black);
}

.form-page-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0.85rem;
}

.form-required-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
}

.form-required-note .required,
.form-card .required {
  color: var(--color-red);
  font-weight: 700;
}

.form-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.form-card label {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-black);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.form-card .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-gray-mid);
  border-radius: 0;
  padding: 0.55rem 0;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--color-text);
  box-shadow: none;
  height: auto;
}

.form-card .form-control:focus {
  background: transparent;
  border-bottom-color: var(--color-teal);
  box-shadow: none;
  outline: none;
}

.form-card textarea.form-control {
  resize: vertical;
  min-height: 96px;
}

.form-card select.form-control {
  cursor: pointer;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
}

.btn-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-red);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-form-submit:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-form-clear {
  background: transparent;
  border: none;
  color: var(--color-white);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0.25rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.95;
}

.btn-form-clear:hover {
  color: var(--color-white);
  opacity: 1;
}

.form-back-link {
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.95;
  transition: opacity var(--transition);
}

.form-back-link:hover {
  color: var(--color-white);
  opacity: 1;
}

.form-back-link--muted {
  font-weight: 500;
  font-size: 0.88rem;
  opacity: 0.8;
}

.radio-group .custom-control {
  margin-bottom: 0.55rem;
}

.radio-group .custom-control-label {
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.92rem;
}

.radio-group .otros-input {
  margin-top: 0.5rem;
  margin-left: 1.5rem;
  max-width: calc(100% - 1.5rem);
}

@media (max-width: 575.98px) {
  .form-page {
    padding: 1.5rem 0 2.5rem;
  }

  .form-page-header,
  .form-card {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .form-page-header h1 {
    font-size: 1.15rem;
  }

  .form-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Timeline agenda ── */
.timeline {
  max-width: 760px;
  margin: 0 auto;
}

.timeline-day {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-red);
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin: 2rem 0 1rem;
  border-bottom: none;
}

.timeline-day:first-child {
  margin-top: 0;
}

.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 5.75rem;
  top: 2.75rem;
  bottom: 0;
  width: 2px;
  background: var(--color-gray-mid);
}

.timeline-time {
  flex-shrink: 0;
  width: 6.5rem;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--color-red);
  padding-top: 0.25rem;
}

.timeline-content {
  flex: 1;
  background: var(--color-white);
  border: 1px solid rgba(123, 186, 228, 0.3);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition), border-left-color var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
  border-left-color: var(--color-red);
}

.timeline-content h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ── Agenda visual ── */
.agenda-visual {
  position: sticky;
  top: 6rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid rgba(1, 144, 152, 0.2);
}

.agenda-visual img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.agenda-visual-caption {
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 1rem 1.25rem;
}

/* ── Patrocinadores ── */
.sponsors-layout {
  max-width: 900px;
  margin: 0 auto;
}

.sponsor-card {
  text-align: center;
  height: 100%;
}

.sponsor-logo-slot {
  background: var(--color-white);
  border: 2px dashed rgba(1, 144, 152, 0.35);
  border-radius: var(--radius);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.sponsor-card:hover .sponsor-logo-slot {
  border-color: var(--color-red);
  border-style: solid;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.sponsor-img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.sponsor-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-black);
  margin: 0;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--color-gray-mid);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-black);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-red);
}

.faq-question:not(.collapsed) {
  color: var(--color-teal);
}

.faq-question i {
  font-size: 0.75rem;
  color: var(--color-text-light);
  transition: transform var(--transition);
}

.faq-question:not(.collapsed) i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* ── Registro ── */
.register-visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-right: 1.75rem;
  height: 100%;
  justify-content: center;
}

.register-collage {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1rem;
  align-items: stretch;
}

.register-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.15);
  min-height: 0;
}

.register-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.register-photo--portrait img {
  min-height: 280px;
  object-position: center top;
}

.register-photo--landscape img {
  min-height: 280px;
  object-position: center center;
}

.register-visual-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin: 0;
  text-align: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.register-visual--mobile {
  padding-right: 0;
}

.register-visual--mobile .register-collage {
  grid-template-columns: 1fr 1.4fr;
}

.register-visual--mobile .register-photo--portrait img,
.register-visual--mobile .register-photo--landscape img {
  min-height: 200px;
}

.register-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.register-form .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--color-white);
  padding: 0.8rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
}

.register-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.register-form select.form-control {
  height: auto;
  cursor: pointer;
}

/* El valor sin seleccionar imita el color del placeholder */
.register-form select.form-control:invalid {
  color: rgba(255, 255, 255, 0.45);
}

.register-form select.form-control option {
  color: var(--color-black);
  background: var(--color-white);
}

.register-form .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(1, 144, 152, 0.25);
  color: var(--color-white);
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Footer ── */
.footer-congreso {
  background: linear-gradient(135deg, var(--color-black) 0%, #1e3d5c 55%, var(--color-teal-dark) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 0;
}

.footer-logo {
  height: 90px;
  width: auto;
  display: block;
}

.footer-brand-box {
  display: inline-block;
  /* background: var(--color-white); */
  padding: 0.65rem 1rem;
  border-radius: 10px;
}

.footer-heading {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-text {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.footer-text a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
}

.footer-text a:hover {
  color: var(--color-orange);
}

.footer-text a.link-teal {
  color: var(--color-sky);
}

.footer-text a.link-teal:hover {
  color: var(--color-orange);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--color-white);
  margin-right: 0.4rem;
  transition: background var(--transition), transform var(--transition);
}

.footer-social a:hover {
  background: var(--color-orange);
  color: var(--color-white);
  transform: scale(1.1);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 160px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(30%);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 3000;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--color-teal), var(--color-teal-dark));
  color: var(--color-white);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-color-teal);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  box-shadow: var(--shadow-color-red);
  transform: translateY(-3px);
}

/* ── WhatsApp flotante ── */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 3000;
  background: #25D366;
  color: var(--color-white);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  font-size: 2rem;
  animation: wa-bounce 1.8s infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  color: var(--color-white);
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  60% { transform: translateY(0); }
}

/* ── Media query 1: Tablet ── */
@media (max-width: 991.98px) {
  .navbar-congreso > .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .navbar-congreso .navbar-collapse {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 0.75rem;
    box-shadow: var(--shadow-sm);
  }

  .navbar-congreso.scrolled .navbar-collapse {
    background: rgba(17, 17, 17, 0.95);
  }

  .navbar-congreso.scrolled .navbar-collapse .nav-link {
    color: var(--color-white) !important;
  }

  .navbar-congreso .btn-congreso-sm {
    display: block !important;
    text-align: center;
    margin-top: 0.75rem;
  }

  .section-block {
    padding: 4rem 0;
  }

  .hero-content {
    padding: 3rem 0 4rem;
  }

  .hero-congreso > .hero-content.container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-aside {
    justify-content: center;
    margin-top: 2rem;
  }

  .hero-video {
    max-width: 280px;
  }

  .timeline-item:not(:last-child)::before {
    left: 5rem;
  }

  .timeline-time {
    width: 5.5rem;
    font-size: 0.78rem;
  }

  .anim-scroll.anim-right,
  .anim-init.anim-right {
    transform: translateY(24px);
  }
}

/* ── Media query 2: Móvil ── */
@media (max-width: 575.98px) {
  :root {
    --nav-height: 64px;
  }

  .navbar-congreso > .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .logo-nav {
    height: 34px;
  }

  .hero-content {
    padding: 2.5rem 0 3rem;
    text-align: center;
  }

  .hero-congreso > .hero-content.container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .hero-copy {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-organizer {
    text-align: center;
  }

  .hero-aside {
    justify-content: center;
    margin-top: 2rem;
  }

  .hero-video {
    max-width: 260px;
  }

  .organizer-link {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .section-block {
    padding: 3rem 0;
  }

  .section-title {
    text-align: center;
  }

  .organizer-card {
    text-align: center;
    border-left: none;
    border-top: 5px solid var(--color-teal);
  }

  .about-card {
    padding: 1.5rem;
    border-left: none;
    border-top: 5px solid #019098;
    text-align: center;
  }

  .timeline-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .timeline-item:not(:last-child)::before {
    display: none;
  }

  .register-card {
    padding: 1.5rem;
  }

  .footer-congreso .col-12 {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    display: flex;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
    right: 16px;
    bottom: 16px;
  }

  .back-to-top {
    right: 16px;
    bottom: 78px;
  }
}




.footer-bottom {
  display: flex;
  justify-content: space-between;
}


.desarrollo-disenio {
  display: flex;
}

@media (max-width: 650px) {
  .footer-bottom {
    flex-direction: column;
  }


  .desarrollo-disenio {
    flex-direction: column;
  }
}