@charset "UTF-8";

/* MEDITERRÁNEO CONECTADO CSS Document */

/* FONTS */
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-regular.woff2") format("woff2"),
    url("../assets/fonts/manrope-regular.woff") format("woff"),
    url("../assets/fonts/manrope-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-semibold.woff2") format("woff2"),
    url("../assets/fonts/manrope-semibold.woff") format("woff"),
    url("../assets/fonts/manrope-semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope-light.woff2") format("woff2"),
    url("../assets/fonts/manrope-light.woff") format("woff"),
    url("../assets/fonts/manrope-light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Flowers Of Nineties";
  src: url("../assets/fonts/FlowersOfNineties-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Flowers Of Nineties";
  src: url("../assets/fonts/FlowersOfNineties-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MV Boli";
  src: url("../assets/fonts/MVBoli.woff") format("woff"),
    url("../assets/fonts/MVBoli.woff2") format("woff2"),
    url("../assets/fonts/MVBoli.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* FIN DE FONTS */

/* GENERAL */
:root {
  --font-base: "Manrope", "Inter", "Segoe UI", system-ui, -apple-system,
    sans-serif;
  --font-display: "Flowers Of Nineties", "Manrope", "Inter", "Segoe UI",
    system-ui, sans-serif;
  --font-mv-boli: "MV Boli", "Manrope", "Inter", "Segoe UI", system-ui,
    sans-serif;
}

html,
body {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

.font-display-14 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: #212121;
}

.font-display-18 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #212121;
}

.font-display-14-input-label input {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: #212121;
}

.font-display-14-input-label label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: #212121;
}

.font-display-24 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  color: #212121;
}

.font-display-32 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
}

.font-display-52 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 52px;
  line-height: 56px;
}

.font-manrope-14-semibold {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  vertical-align: middle;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-offset: 16%;
  text-decoration-thickness: 10%;
  text-decoration-skip-ink: auto;
}

.font-manrope-14-light {
  font-family: var(--font-base);
  font-weight: 300;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  vertical-align: middle;
}

.font-manrope-16-semibold {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  vertical-align: middle;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-offset: 16%;
  text-decoration-thickness: 10%;
  text-decoration-skip-ink: auto;
}

.font-manrope-16-light {
  font-family: var(--font-base);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  vertical-align: middle;
}

/* Bandera que hay bajo algunos contenidos */
.flag-bottom {
  display: flex;
  width: 100%;
}

/* Variantes de ancho */
.flag-bottom--full {
  width: 100%;
}

.flag-bottom--auto {
  width: auto;
  display: inline-flex;
}

.flag-bottom--image {
  width: 100%;
  max-width: 100%;
}

/* Franja de colores */
.flag-bottom .yellow,
.flag-bottom .red,
.flag-bottom .blue,
.flag-bottom .white {
  flex: 1;
  height: 5px;
  min-width: 0; /* Evita problemas de flex */
}

/* Variante de altura grande (10px) - debe ir después para sobreescribir */
.flag-bottom.flag-bottom--large .yellow,
.flag-bottom.flag-bottom--large .red,
.flag-bottom.flag-bottom--large .blue,
.flag-bottom.flag-bottom--large .white {
  height: 10px;
}

.flag-bottom .yellow,
.flag-section .yellow {
  background-color: var(--bs-yellow);
}

.flag-bottom .red,
.flag-section .red {
  background-color: var(--bs-red);
}

.flag-bottom .blue,
.flag-section .blue {
  background-color: var(--bs-blue);
}

.flag-bottom .white,
.flag-section .white {
  background-color: #ffffff;
}

/* FIN GENERAL */

/* COLORES*/

/* FIN COLORES*/

/* BUTTONS SYSTEM */
/* Botón base */
.btn {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  padding: 15px 40px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
}

/* Botón primario (amarillo) */
.btn-primary {
  background-color: var(--bs-yellow);
  color: var(--bs-dark-primary);
}

.btn-primary:hover {
  background-color: var(--bs-yellow-hover);
  color: var(--bs-dark-primary);
}

/* Variante de botón primario para bloques */
.btn-block {
  display: block;
  width: 100%;
}

.btn-outline-danger {
  background-color: transparent !important;
  color: var(--bs-red) !important;
  border: 2px solid var(--bs-red) !important;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease !important;
  opacity: 0.9 !important;
}

.btn-outline-danger:hover {
  background-color: var(--bs-red) !important;
  color: #fff !important;
  border-color: var(--bs-red) !important;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease !important;
  opacity: 1 !important;
}

/* FIN BUTTONS SYSTEM */

/* HEADER SECTION */
/* Header general */
.header {
  background: url("../img/efecto-de-superposicion-de-sombras-realistas.jpg")
    center center / cover no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0;
}

.header-nav {
  padding: 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
}

.header-logo .logo-link {
  display: block;
  line-height: 0;
}

.header-logo .logo-cv {
  width: 109px;
  height: 40px;
  object-fit: contain;
}

/* Navegación desktop - oculta en mobile */
.header-nav-desktop,
.header-cta-desktop {
  display: none;
}

.header-nav-desktop .nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-nav-desktop .nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--bs-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-nav-desktop .nav-link:hover {
  color: var(--bs-blue);
}

/* Botón hamburguesa */
.header-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.burger-line {
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.burger-line--yellow {
  background-color: var(--bs-yellow);
  top: 6px;
}

.burger-line--red {
  background-color: var(--bs-red);
  top: 50%;
  transform: translateY(-50%);
}

.burger-line--blue {
  background-color: var(--bs-blue);
  bottom: 6px;
}

/* Transformar hamburguesa en X cuando menú está abierto */
.header-burger[aria-expanded="true"] .burger-line--yellow {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  background-color: var(--bs-text);
}

.header-burger[aria-expanded="true"] .burger-line--red {
  opacity: 0;
}

.header-burger[aria-expanded="true"] .burger-line--blue {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
  background-color: var(--bs-text);
}

/* Menú mobile expandido */
.header-menu-mobile {
  position: fixed;
  top: 75px; /* Altura del header */
  left: 0;
  width: 100%;
  height: 0;
  background: url("../img/efecto-de-superposicion-de-sombras-realistas.jpg")
    center center / cover no-repeat;
  z-index: 999;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-menu-mobile[aria-hidden="false"] {
  height: calc(100vh - 75px); /* Altura completa menos el header */
  overflow-y: auto;
}

.menu-mobile-overlay {
  padding: 30px 15px 17px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Botón CTA en menú mobile */
.menu-mobile-cta {
  text-align: center;
  margin-top: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Navegación mobile */
.menu-mobile-nav {
  flex: 1;
  display: flex;
  align-items: start;
  justify-content: center;
}

.menu-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
}

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

.menu-mobile-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 66px;
  color: var(--bs-text);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.menu-mobile-link:hover {
  opacity: 0.7;
  color: var(--bs-text);
}

/* Redes sociales en menú mobile */
.menu-mobile-social {
  padding: 30px 0;
  text-align: center;
}

.menu-social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.menu-social-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
}

.menu-social-icon:hover {
  opacity: 0.7;
}

.menu-social-icon.facebook {
  background-image: url("../img/icons/facebook.svg");
}

.menu-social-icon.twitter {
  background-image: url("../img/icons/x.svg");
}

.menu-social-icon.instagram {
  background-image: url("../img/icons/instagram2.svg");
}

.menu-social-icon.youtube {
  background-image: url("../img/icons/youtube.svg");
}

.menu-social-icon.tiktok {
  background-image: url("../img/icons/tiktok.svg");
}

/* COLORES*/

/* FIN COLORES*/

/** EFECTO PERSIANA */
.persiana {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  opacity: 0;
}

/* Persiana */
.persiana .persiana-content {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 110%;
  display: flex;
  flex-direction: column;
  z-index: 9999;
  pointer-events: none;
  transform: translateY(0);
  animation: subirPersiana 2s cubic-bezier(1, 0.99, 0.41, 1.06) forwards;
}

/* Lamas */
.persiana .lama {
  flex: 1;
  margin: 2px 0;
  background: linear-gradient(
    180deg,
    #1e3c91,
    #3b82f6,
    #1e63ff
  ); /* tonos azul agua */
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* Animación subir toda la persiana */
@keyframes subirPersiana {
  0% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(0);
  }
  15% {
    transform: translateY(10%);
  } /* pequeño rebote */
  100% {
    transform: translateY(-100%);
  }
}

/* === REGISTRO - START === */
.registro-wrap {
  min-height: 99vh;
  background: url("/img/efecto-de-superposicion-de-sombras-realistas.jpg")
    center center / cover no-repeat;
  padding: 0px 0px 32px;
}

.flash-stack {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 92vw);
  z-index: 12000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.flash-stack .message {
  position: relative;
  margin: 0;
  border: none;
  border-radius: 14px;
  padding: 18px 18px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.45;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  pointer-events: auto;
  cursor: pointer;
  overflow: hidden;
}

.flash-stack .message::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 10px;
  height: 6px;
  width: calc(100% - 32px);
  border-radius: 6px;
  background: currentColor;
  opacity: 0.25;
}

.flash-stack .message.success {
  background: #d8f5d6;
  color: #1f7a2f;
}

.flash-stack .message.success::after {
  background: #49b35d;
  opacity: 0.65;
}

.flash-stack .message.error,
.flash-stack .message.danger {
  background: #ffffff;
  color: #d0302c;
}

.flash-stack .message.error::after,
.flash-stack .message.danger::after {
  background: #e14c46;
  opacity: 0.7;
}

/* Alert messages independientes (fuera de flash-stack) */
.alert.message {
  position: fixed;
  left: 50%;
  top: 8%;
  transform: translate(-50%, -50%);
  z-index: 13000;
  max-width: 520px;
  min-width: 320px;
  min-height: 70px;
  width: 90vw;
  border: none;
  border-radius: 6px;
  padding: 18px 18px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.45;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  overflow: hidden;
  background: #ffffff;
}

.alert-success {
  position: absolute;
  left: 50%;
  top: 6%;
  transform: translate(-50%, -50%);
  z-index: 13000;
  max-width: 520px;
  min-width: 320px;
  min-height: 70px;
  width: 90vw;
  border: none;
  border-radius: 6px;
  padding: 18px 18px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.45;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  overflow: hidden;
  background: #ffffff;
}

@media (min-width: 600px) {
  .alert.message {
    min-width: 95vw;
    top: 4%;  
  }
}

.flash-messages .alert.message {
  top: 12%
}

.alert.message::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 10px;
  height: 6px;
  width: calc(100% - 32px);
  border-radius: 6px;
  background: currentColor;
  opacity: 0.25;
}

.alert-success.message {
  color: #1f7a2f;
}

.alert-success.message::after {
  background: #49b35d;
  opacity: 0.65;
}

.alert.message::before {
  content: "×";
  position: absolute;
  right: 10px;
  top: 0px;
  font-size: 22px;
  line-height: 1;
  color: #222;
  pointer-events: none;
}

.paneles-popup-msg {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.alert-danger.message,
.alert-error.message,
.alert-warning.message {
  background: #ffffff;
  color: #d0302c;
}

.alert-danger.message::after,
.alert-error.message::after,
.alert-warning.message::after {
  background: #e14c46;
  opacity: 0.7;
}

.recuperar-step-success {
  text-align: center;
  padding-top: 6px;
}

.recuperar-step-success .font-display-24 {
  font-weight: 700;
}

.registro-step-success {
  text-align: center;
  padding-top: 10px;
}

.registro-step-success .font-display-32 {
  font-weight: 700;
}

/* Ajustes de mensajes flash con clases alert/message */
.alert.message {
  margin-bottom: 0;
}

.registro-card {
  max-width: 520px;
  margin: 0 auto;
  background: transparent;
  /* border-radius: 24px; */
  box-shadow: none;
  overflow: hidden;
  padding-inline: 12px;
}

.registro-header {
  text-align: center;
  background: transparent;
}

.registro-logo {
  padding-block: 40px;
}

.registro-logo figure {
  margin: 0 auto 12px;
  width: 180px;
  max-width: 70%;
}

.registro-title {
  font-family: var(--font-display);
  font-size: 30px;
  color: #1a67b0;
  margin-bottom: 6px;
  font-weight: 600;
}

.registro-subtitle {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 10px;
  padding-block: 20px;
  color: #212121;
}

.registro-note {
  font-family: var(--font-base);
  color: #212121;
  font-size: 14px;
  margin-bottom: 0;
}

.registro-body {
  background: transparent;
}

.registro-body .form-floating {
  border: 1px solid;
  border-radius: 6px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin: 18px 0 10px;
  color: #212121;
  padding-block: 15px;
}

.section-subtitle {
  font-family: var(--font-base);
  font-size: 14px;
  text-align: center;
  color: #555;
  margin-bottom: 12px;
}

.photo-upload {
  margin: 6px 0 18px;
}

.photo-upload__input {
  position: absolute;
  left: -9999px;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.photo-upload__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 2px solid #1a1a1a;
  border-radius: 12px;
  padding: 16px 18px;
  min-height: 150px;
  background: linear-gradient(180deg, #fdfdfd 0%, #f4f6f9 100%);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.photo-upload__card:hover {
  border-color: #0e63b5;
  box-shadow: 0 6px 16px rgba(14, 99, 181, 0.12);
}

.photo-upload__card.has-image {
  border-color: #0e63b5;
}

.photo-upload__text {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  color: #2a2a2a;
}

.photo-upload__status {
  display: block;
  margin-bottom: 6px;
}

.photo-upload__status.is-muted {
  color: #2a2a2a;
}

.photo-upload__status.is-success {
  color: #2eaf53;
}

.photo-upload__thumb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #eef1f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.06);
}

.photo-upload__placeholder {
  width: 74px;
  height: 74px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80' fill='none'%3E%3Crect x='8' y='14' width='64' height='48' rx='6' stroke='%23C2C7D1' stroke-width='4'/%3E%3Ccircle cx='29' cy='33' r='8' fill='%23C2C7D1'/%3E%3Cpath d='M24 57L35 44L50 57H24Z' fill='%23C2C7D1'/%3E%3Cpath d='M48 57L57 47L66 57H48Z' fill='%23C2C7D1'/%3E%3C/svg%3E")
    center/contain no-repeat;
  opacity: 0.7;
}

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

.photo-upload__change-btn {
  margin-top: 12px;
  width: 100%;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--bs-blue);
  border: 2px solid var(--bs-blue);
  background: linear-gradient(180deg, #fdfefe 0%, #eef4f9 100%);
  box-shadow: 0 6px 16px rgba(14, 99, 181, 0.08);
  transition: background 0.15s ease, color 0.15s ease;
}

.photo-upload__change-btn:hover {
  background: var(--bs-blue);
  color: #fff;
}

.pill-input {
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #444;
  margin-top: 8px;
  font-family: var(--font-base);
}

.checkbox-line input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #000;
  border-radius: 3px;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  transition: all 0.12s ease;
}

.checkbox-line input[type="checkbox"]:checked {
  background: #0e63b5;
  border-color: #0e63b5;
}

.checkbox-line input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  left: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  background: url("../img/icons/white-check.png") center/contain no-repeat;
  pointer-events: none;
}

.checkbox-line.active {
  color: #0e63b5;
  /* background: rgba(14, 99, 181, 0.06); */
  box-shadow: none;
}

.checkbox-line a {
  color: #1a67b0;
  font-weight: 600;
  text-decoration: underline;
}

.intereses-grid {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  justify-content: center;
  flex-direction: column;
}

.interes-pill {
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border: none;
  border-radius: 8px;
  color: #0e63b5;
  background: transparent;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.12s ease, background 0.12s ease;
  width: 100%;
  text-align: left;
}

.interes-pill-2 {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid #1a67b0;
  border-radius: 6px;
  color: #1a67b0;
  background: #fff;
  font-weight: 400;
  min-height: 60px;
  min-width: 88px;
  cursor: pointer;
  width: 100%;
  transition: color 0.12s ease, background 0.12s ease;
}

.interes-pill-2:hover {
  border: 1px solid #fff;
  border-radius: 6px;
  color: #fff;
  background: #1a67b0;
}

.interes-pill input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #000;
  border-radius: 3px;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  transition: all 0.12s ease;
}

.interes-pill input[type="checkbox"]:checked {
  background: #0e63b5;
  border-color: #0e63b5;
}

.interes-pill input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  left: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  background: url("../img/icons/white-check.png") center/contain no-repeat;
  pointer-events: none;
}

.interes-pill.active {
  color: #0e63b5;
  /* background: rgba(14, 99, 181, 0.06); */
  box-shadow: none;
}

.interes-pill-2 input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.interes-pill-2.active {
  background: #1a67b0;
  color: #fff;
  box-shadow: 0 8px 18px rgba(26, 103, 176, 0.25);
}

.intereses-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.intereses-accordion-item {
  border: 1px solid #000;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.intereses-accordion-toggle {
  width: 100%;
  padding: 16px 18px 16px 16px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
}

.intereses-accordion-toggle .chevron {
  width: 7px;
  height: 7px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-left: 10px;
}

.intereses-accordion-item.open .intereses-accordion-toggle .chevron {
  transform: rotate(-135deg);
}

.intereses-accordion-panel {
  padding: 0px 18px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fafc 100%);
}

.registro-wrap select.form-select {
  min-height: 56px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
/* 
.registro-wrap .form-floating > .form-control:focus,
.registro-wrap .form-floating > .form-control:not(:placeholder-shown),
.registro-wrap .form-floating > .form-select:focus,
.registro-wrap .form-floating > .form-select:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: .625rem;
} */

.registro-wrap .select2-container--default .select2-selection--single {
  height: auto !important;
}

.registro-wrap
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding-left: 12px !important;
}

.registro-wrap .form-floating {
  background: white;
  overflow: hidden;
}

.registro-wrap .form-floating label {
  font-family: var(--font-display);
  color: #212121;
}

.registro-wrap
  .form-floating
  > .select2.select2-container.select2-container--default.form-control {
  padding-left: 0px !important;
  font-size: 16px !important;
}

.registro-wrap .form-control {
  border-radius: 0px;
  border: 0px solid #e9ecef;
}

.registro-wrap .form-control-lg {
  border-radius: 0px;
  border: 0px solid #e9ecef;
}

.registro-wrap .select2-container--default .select2-selection--single {
  font-size: 16px !important;
}

.registro-wrap
  .select2-container--default:not(.select2-container--disabled)
  .select2-selection--single {
  background: white !important;
  padding-left: 0px !important;
}

.registro-wrap
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  width: 7px;
  height: 7px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  position: absolute;
  top: 22px;
  left: -5px;
}

.registro-wrap
  .select2-container--open
  .select2-selection--single
  .select2-selection__arrow
  b {
  transform: rotate(-135deg);
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-style: none;
  border-width: 0;
  border-color: transparent;
}

/* .registro-wrap .form-floating > .form-control,
.registro-wrap .form-floating > .form-select {
    height: auto;
    min-height: calc(3.5rem + 2px);
    padding: 1rem .75rem;
    line-height: 1.25;
}

.registro-wrap .form-control:disabled,
.registro-wrap .form-control:read-only {
    background-color: #e9ecef;
    opacity: 1;
} */

.privacy-text a {
  color: #1a67b0;
  font-weight: 600;
}

.primary-btn {
  font-family: var(--font-display);
  width: 100%;
  /* margin-top: 12px; */
  border-radius: 6px;
  padding: 14px;
  font-size: 17px;
  font-weight: 400;
  border: 2px solid var(--bs-blue) !important;
  color: var(--bs-blue);
  border: none;
}

.primary-btn:hover {
  background: var(--bs-blue);
  color: #fff;
}

/* Selector de tipo de visitante */
.tipo-visitante-btn.active,
.tipo-visitante-btn.active:hover,
.tipo-visitante-btn:focus {
  background: var(--bs-blue);
  color: #fff;
  border-color: var(--bs-blue);
}

.submit-btn {
  font-family: var(--font-base);
  width: 100%;
  /* margin-top: 12px; */
  border-radius: 6px;
  padding: 14px;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(
    90deg,
    var(--bs-yellow) 0%,
    var(--bs-yellow) 100%
  );
  color: #000;
  border: none;
  transition: background-color 0.6s ease, transform 0.6s ease;
}

/* Botón dark outline - diseño Figma */
.btn-dark-outline {
  font-family: "Manrope", var(--font-display), sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  padding: 15px 125px;
  border-radius: 6px;
  border: 2px solid #212121;
  background-color: transparent;
  color: #212121;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.btn-dark-outline:hover {
  background-color: var(--bs-yellow);
  border-color: var(--bs-yellow);
  color: #212121;
}

.registro-wrap .btn-check:focus + .btn[class*="primary"],
.btn[class*="primary"]:focus,
.btn-check:active + .btn[class*="primary"]:focus,
.btn-check:checked + .btn[class*="primary"]:focus,
.btn[class*="primary"].active:focus,
.btn[class*="primary"].dropdown-toggle.show:focus,
.btn[class*="primary"]:active:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0);
}

.submit-btn:hover {
  background: #0e79bf;
  color: #fff;
  border-color: #0e79bf;
}

.registro-wrap .btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  background: #0000002b;
  color: #00000071;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.back-link:hover {
  color: #0e63b5;
}

.footer-bar {
  height: 12px;
  background: linear-gradient(
    90deg,
    var(--bs-yellow) 0% 33%,
    var(--bs-red) 33% 66%,
    var(--bs-blue) 66% 100%
  );
}
/* === REGISTRO - END === */

/* EMPRESAS SEARCH SECTION */
.empresas-filtros {
  display: flex;
  flex-direction: column;
}

/* Anula el margin-bottom del core (.input) dentro del buscador de empresas */
.empresas-search-wrapper .input {
  margin-bottom: 0;
}

/* Input de búsqueda de empresas */
.empresa-search-input {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 24px;
  height: 55px;
  padding: 0 45px 0 20px;
  border: 1px solid rgb(233, 233, 233);
  border-radius: 6px;
  background-color: rgb(233, 233, 233);
  color: #212121;
}

/* Mantener estilos en focus */
.empresa-search-input:focus {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 24px;
  height: 55px;
  padding: 0 45px 0 20px;
  border: 1px solid rgb(233, 233, 233);
  border-radius: 6px;
  background-color: rgb(233, 233, 233);
  color: #212121;
  outline: none;
  box-shadow: none;
}
.empresa-buttons a {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}
/* Placeholder con el mismo color que el texto */
.empresa-search-input::placeholder {
  color: #212121;
  opacity: 1;
}

/* Icono de búsqueda */
.empresas-search-wrapper .search-wrapper .search-icon {
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.select-wrapper {
  position: relative;
}

.select-with-icon {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 45px !important;
  background-image: none !important;
}

.select-icon {
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* ESTILOS GENERALES PARA TODOS LOS SELECT */
select.form-control,
.form-select {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #212121;
  background-color: white;
  border: 1px solid #212121;
  border-radius: 6px;
  padding: 15px 20px;
  height: 55px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Estado focus del select */
select.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: #212121;
  box-shadow: none;
}

/* SELECT PERSONALIZADO - Custom Select */
/* Ocultar el select original pero mantenerlo funcional */
.select-wrapper.custom-select-active select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Botón del select personalizado */
.custom-select-trigger {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #212121;
  background-color: transparent;
  border: 1px solid #212121;
  border-radius: 6px;
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 55px;
  transition: all 0.3s ease;
  user-select: none;
}

.custom-select-trigger:hover {
  border-color: #212121;
}

/* Texto del placeholder - mismo color que cuando hay selección */
.custom-select-trigger.placeholder {
  font-style: normal;
  color: #212121;
}

/* Dropdown de opciones */
.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid #212121;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* Dropdown abierto */
.select-wrapper.custom-select-active.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Lista de opciones */
.custom-select-options {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

/* Cada opción */
.custom-select-option {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: #212121;
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
}

/* Opción con hover */
.custom-select-option:hover {
  background: rgba(14, 121, 191, 0.15);
}

/* Opción seleccionada */
.custom-select-option.selected {
  background: rgba(14, 121, 191, 0.15);
  font-weight: 600;
}


/* Scroll personalizado para el dropdown */
.custom-select-dropdown::-webkit-scrollbar {
  width: 8px;
}

.custom-select-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.custom-select-dropdown::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* ACTUALIDAD SECTION */
.actualidad-section h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: var(--bs-text);
}

.date span {
  color: var(--Color-textos, #212121);
  font-family: var(--font-base);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.section-header {
  margin-bottom: 30px;
  display: flex;
  /* align-items: center; */
  align-items: flex-start;
  justify-content: space-between;
}

.section-header > h2 {
  margin-bottom: 0 !important;
}

.actualidad-section a {
  color: var(--bs-blue);
  text-align: center;
  font-family: var(--font-base);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 171.429% */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: 10%; /* 1.4px */
  text-underline-offset: 16%; /* 2.24px */
  text-underline-position: from-font;
}

/* EVENTOS SECTION */
.eventos-section {
}

.font-display-48 {
  font-family: var(--font-display);
}

.bg-image-eventos {
  background-image: url("../img/background-agenda.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.link-primary {
  color: var(--bs-blue);
  text-align: center;
  font-family: var(--font-base);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: 10%;
  text-underline-offset: 16%;
  text-underline-position: from-font;
}

.eventos-section .page-item a {
  text-decoration-line: none;
}

/* Eventos Filter Cell - Estilos para células (compacto) */
.eventos-filter-cell .form-select {
  font-family: var(--font-base);
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1 !important;
  color: #212121 !important;
  background-color: white !important;
  background-image: none;
  border: 1px solid #212121 !important;
  border-radius: 6px;
  padding: 5px 30px 5px 10px !important;
  height: 26px !important;
  min-height: 26px !important;
  width: auto !important;
  min-width: 158px !important;
  max-width: 158px !important;
  display: inline-flex !important;
  align-items: center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  opacity: 1 !important;
}

/* Eventos Filter - Estilos para index y agenda (grande) */
.eventos-filter .form-control.select-with-icon {
  font-family: var(--font-display);
  font-size: 14px !important;
  font-weight: 400;
  line-height: 24px !important;
  color: #212121 !important;
  background-color: white !important;
  background-image: none;
  border: 1px solid #212121 !important;
  border-radius: 6px;
  padding: 0 45px 0 20px !important;
  height: 55px !important;
  min-height: 55px !important;
  width: 100% !important;
  min-width: 200px !important;
  max-width: 360px !important;
  display: block !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  opacity: 1 !important;
}

/* Forzar color negro en todas las opciones del select - células (compacto) */
.eventos-filter-cell .form-select option {
  color: #212121 !important;
  font-family: var(--font-base);
  font-size: 14px !important;
  font-weight: 600;
}

/* Forzar color negro en todas las opciones del select - index/agenda (grande) */
.eventos-filter .form-select option,
.eventos-filter .form-control.select-with-icon option {
  color: #212121 !important;
  font-family: var(--font-display);
  font-size: 14px !important;
  font-weight: 400;
}

/* Asegurar que el select no tenga estilo de placeholder - células */
.eventos-filter-cell .form-select:invalid,
.eventos-filter-cell .form-select option[value=""] {
  color: #212121 !important;
}

.eventos-filter-cell .form-select:focus {
  border-color: var(--bs-blue);
  box-shadow: 0 0 0 0.2rem rgba(14, 121, 191, 0.25);
}

/* Asegurar que el select no tenga estilo de placeholder - index/agenda */
.eventos-filter .form-select:invalid,
.eventos-filter .form-select option[value=""],
.eventos-filter .form-control.select-with-icon:invalid,
.eventos-filter .form-control.select-with-icon option[value=""] {
  color: #212121 !important;
}

.eventos-filter .form-select:focus,
.eventos-filter .form-control.select-with-icon:focus {
  border-color: var(--bs-blue);
  box-shadow: 0 0 0 0.2rem rgba(14, 121, 191, 0.25);
}

/* Forzar estilos en TODOS los estados del select - células */
.eventos-filter-cell .form-select,
.eventos-filter-cell .form-select:disabled,
.eventos-filter-cell .form-select[disabled] {
  color: #212121 !important;
  border-color: #212121 !important;
  opacity: 1 !important;
}

/* Forzar estilos en TODOS los estados del select - index/agenda */
.eventos-filter .form-select,
.eventos-filter .form-select:disabled,
.eventos-filter .form-select[disabled],
.eventos-filter .form-control.select-with-icon,
.eventos-filter .form-control.select-with-icon:disabled,
.eventos-filter .form-control.select-with-icon[disabled],
.eventos-filter .custom-select-trigger,
.eventos-filter .custom-select-trigger.placeholder,
.eventos-filter .select-wrapper .custom-select-trigger {
  color: #212121 !important;
  border-color: #212121 !important;
  opacity: 1 !important;
}

/* Icono para células (compacto) */
.eventos-filter-cell .select-wrapper .select-icon {
  display: flex !important;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Icono para index y agenda (grande) */
.eventos-filter .select-icon {
  display: flex !important;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Select wrapper para células - sin restricciones de ancho */
.eventos-filter-cell .select-wrapper {
  display: inline-block;
  width: auto;
}

/* Select wrapper para index/agenda - más ancho para el select grande */
.eventos-filter .select-wrapper {
  display: inline-block;
  min-width: 200px;
  max-width: 360px;
  width: 100%;
}

/* Estilos del selector personalizado para células (compacto) */
.eventos-filter-cell .custom-select-trigger {
  font-family: var(--font-base);
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1 !important;
  padding: 6px 30px 6px 20px !important;
  height: 26px !important;
  min-height: 30px !important;
  min-width: 158px !important;
  max-width: 158px !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center;
  position: relative;
  color: #212121 !important;
  border: 1px solid #212121 !important;
  border-radius: 6px;
}

.eventos-filter-cell .custom-select-trigger.placeholder {
  color: #212121 !important;
  border-color: #212121 !important;
  font-style: normal !important;
}

.eventos-filter-cell .custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  background-image: url("/img/icons/arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.eventos-filter-cell .select-wrapper.open .custom-select-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.eventos-filter-cell .custom-select-dropdown {
  max-width: 158px;
  min-width: 158px;
  width: auto;
  max-height: 260px;
  font-size: 14px;
  padding: 0;
  border: 1px solid #212121;
  border-radius: 6px;
}

.eventos-filter-cell .custom-select-options {
  padding: 4px 0 !important;
  margin: 0;
}

.eventos-filter-cell .custom-select-option {
  padding: 8px 12px !important;
  font-family: var(--font-base);
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.5 !important;
  color: #212121;
}

.eventos-filter-cell .custom-select-option:first-child {
  display: none !important;
}
@media (min-width: 768px) {
  .eventos-filter {
    width: 75% !important;
  }
}
/* Evento Page */
.evento-hero {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  margin-top: 20px;
}

.evento-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Hero Desktop - Imagen a la derecha */
.evento-hero-desktop {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.evento-hero-desktop img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.evento-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.evento-meta .evento-date {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #212121;
}

.evento-time {
  font-weight: 400;
  color: var(--bs-blue);
  margin-left: 8px;
}

.evento-meta .evento-location {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #212121;
}

.evento-intro {
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #212121;
}

.evento-body {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #212121;
}

.flag-section {
  height: 10px;
}

/* SLIDER CARDS */

/* Contenedor para slider que llega al borde derecho */
.slider-edge-right {
  padding-left: calc((100% - 1140px) / 2 + 12px); /* Container lg + padding */
  overflow: hidden;
}

/* En pantallas menores, usar el padding del container */
@media (max-width: 1199.98px) {
  .slider-edge-right {
    padding-left: calc((100% - 960px) / 2 + 12px);
  }
}

@media (max-width: 991.98px) {
  .slider-edge-right {
    padding-left: calc((100% - 720px) / 2 + 12px);
  }
}

@media (max-width: 767.98px) {
  .slider-edge-right {
    padding-left: calc((100% - 540px) / 2 + 12px);
  }
}

@media (max-width: 575.98px) {
  .slider-edge-right {
    padding-left: 16px; /* Padding fijo en móviles pequeños */
  }
}

.slider-cards {
  position: relative;
  margin: 0;
}

/* Padding vertical para evitar que las cards se corten */
.eventos-slider {
  /* padding: 20px 0; */
}

.slider-card-item {
  margin-right: 25px;
  padding-block: 10px;
}

.slider-cards .slick-list {
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
}

.slider-cards.slick-initialized .slick-list {
  touch-action: pan-x;
  min-height: 225 px;
}

.slider-cards .slick-list.dragging {
  cursor: grabbing;
  touch-action: none;
  overflow: hidden;
}

.slider-cards .slick-track {
  display: flex;
  align-items: stretch;
  margin-left: 0;
  margin-right: 0;
}

.slider-cards .slick-slide {
  height: auto;
  display: flex;
}

.slider-cards .slick-slide > div {
  width: 100%;
}

/* Mobile Only Slider - Desktop Grid */
.slider-cards--mobile-only {
  padding: 0;
}

.slider-cards--mobile-only .slider-card-item {
  padding: 0 15px 0 0;
}

/* Noticia Card Component */
.noticia-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.noticia-card .news-card-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  text-decoration: none;
}

.noticia-card .mb-3 .w-100 {
  width: 100% !important;
  max-width: 100%;
  height: 190px;
  border-radius: 6px 6px 0 0;
}

.noticia-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noticia-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: var(--bs-text);
  transition: color 0.3s ease;
  text-align: left;
}

.noticia-card:hover h3 {
  color: var(--bs-primary);
}

.noticia-card p {
  font-family: var(--font-base);
  font-size: 14px;
  line-height: 1.5;
  color: var(--bs-text);
  margin-bottom: 0;
  text-align: left;

  /* Limitar a 5 líneas sin cortar palabras */
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Evento Card Component */
.evento-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  box-shadow: 4px 4px 6px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: left;
  min-height: 473px;
}

.evento-card-button-max-width {
  max-width: 400px !important;
}

.evento-card-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  text-decoration: none;
}

.evento-card-image {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
}

.evento-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evento-card-image .flag-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.evento-card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.evento-card-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 34px;
  color: #212121;
  margin-bottom: 15px;
  text-align: left;
  min-height: 68px;
}

.evento-card-info {
  margin-bottom: 20px;
  flex-grow: 1;
}

.evento-card-datetime {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #212121;
  margin-bottom: 5px;
}

.evento-card-time {
  color: var(--bs-blue);
}

.evento-card-location {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #212121;
  margin-bottom: 0;
}

.evento-card-button {
  padding: 15px 20px;
  width: 100%;
  background: radial-gradient(50.18% 70.71% at 50% 50%, #fff 0%, #e5e5e5 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 600;
  color: #212121;
  cursor: pointer;
  position: relative;
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.evento-card-button:hover {
  transform: translateY(-1px);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
}

/* Botón de añadir a mi agenda - Estilos originales */
.btn-add-agenda {
  padding: 15px 20px;
  width: 100%;
  background: radial-gradient(50.18% 70.71% at 50% 50%, #fff 0%, #e5e5e5 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 600;
  color: #212121;
  cursor: pointer;
  position: relative;
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-add-agenda:hover {
  transform: translateY(-1px);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
}

/* Botón de eliminar de la agenda - Diseño Figma */
.btn-remove-agenda {
  padding: 15px 20px;
  width: 100%;
  background: #fff !important;
  border: 1px solid #ea503e !important;
  border-radius: 6px !important;
  color: #ea503e !important;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-remove-agenda:hover {
  background: var(--bs-red) !important;
  color: #fff !important;
  border-color: var(--bs-red) !important;
  transform: translateY(-1px);
  box-shadow: 0px 6px 8px rgba(234, 80, 62, 0.2) !important;
  opacity: 1 !important;
  transition: all 0.3s ease !important;
}

/* PONENTE CARD COMPONENT */
/* Ponente Card - Layout Vertical */
.ponente-card {
  position: relative;
  background-color: #f5f5f5;
  background-image: url("../img/efecto-persiana-3.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 6px;
  box-shadow: 4px 4px 6px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  min-height: 200px;
}

.ponente-card-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  text-decoration: none;
}

/* Body principal - Layout vertical */
.ponente-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Sección Superior - Avatar + Info Personal */
.ponente-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 16px 16px;
}

.ponente-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.ponente-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
}

.ponente-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ponente-logo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.ponente-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ponente-info {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.ponente-nombre {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #212121;
  margin-bottom: 2px;
}

.ponente-empresa,
.ponente-cargo,
.ponente-empresa-cargo p {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #666;
  margin-bottom: 0;
}

/* Flag de colores en medio */
.ponente-card-flag {
  width: 100%;
}

.ponente-card-flag .flag-bottom {
  height: 5px;
}

/* Sección Inferior - Evento Info + Botón */
.ponente-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.ponente-evento-info {
  flex: 1;
  min-width: 0;
}

.ponente-fecha {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #212121;
  margin-bottom: 0;
}

.ponente-horario {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--bs-blue);
  margin-bottom: 0;
}

.ponente-hora {
  color: var(--bs-blue);
}

.ponente-hora-separador {
  color: var(--bs-blue);
}

.ponente-hora-fin {
  color: var(--bs-blue);
}

.ponente-ubicacion {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #212121;
  margin-bottom: 0;
}

.ponente-card-button {
  padding: 15px 40px;
  background: var(--bs-yellow);
  border: none;
  border-radius: 6px;
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 700;
  color: #212121;
  cursor: pointer;
  position: relative;
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.ponente-card-button:hover {
  transform: translateY(-1px);
  box-shadow: 0px 4px 12px rgba(249, 177, 8, 0.3);
}

/* PONENTES SECTION */
.ponentes-section {
  padding: 40px 0;
}

.ponentes-section .section-header {
  margin-bottom: 30px;
}

/* Slider específico para ponentes */
.ponentes-slider {
  padding: 0;
}

.ponentes-slider .slider-card-item {
  padding: -10px 15px 0 0;
}

/* Grid de ponentes */
.ponentes-grid {
  width: 100%;
}

/* FOOTER SECTION */
/* Footer general */
.footer {
  background-color: var(--bs-blue);
  width: 100%;
  position: relative;
}

/* Franja decorativa superior (oculta en mobile) */
.footer-stripe {
  display: none;
  width: 100%;
  height: 10px;
}

.stripe-yellow {
  background-color: var(--bs-yellow);
  flex: 1;
}

.stripe-red {
  background-color: var(--bs-red);
  flex: 1;
}

.stripe-blue {
  background-color: #253e80;
  flex: 1;
}

/* Container principal mobile - 0 en line por container de bootstrap */
.footer-container {
  padding-block: 40px;
}

/* Columna izquierda (principal en mobile) */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Logo CV */
.footer-logo-cv {
  margin-bottom: 30px;
}

.footer-logo-cv .logo-cv {
  width: 173.71px;
  height: 63.78px;
  max-width: 100%;
  height: auto;
}

/* Navegación */
.footer-nav--mobile {
  display: block;
  margin-bottom: 30px;
}

.footer-nav--desktop {
  display: none;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu li:last-child {
  margin-bottom: 0;
}

.footer-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 54px;
  color: var(--bs-text-white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
  color: var(--bs-text-white);
}

/* Botón CTA */
.footer-cta {
  margin-bottom: 40px;
  width: 100%;
  max-width: 360px;
}

/* Logo GV */
.footer-logo-gv--mobile {
  display: block;
  margin-bottom: 30px;
}

.footer-logo-gv--desktop {
  display: none;
}

.footer-logo-gv .logo-gv {
  width: 222px;
  height: 92px;
  max-width: 100%;
  height: auto;
}

/* Enlaces legales */
.footer-legal--mobile {
  display: block;
  margin-bottom: 25px;
}

.footer-legal--desktop {
  display: none;
}

.footer-legal-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-menu li {
  margin-bottom: 14px;
}

.footer-legal-menu li:last-child {
  margin-bottom: 0;
}

.footer-legal-link {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  line-height: 28px;
  color: var(--bs-text-white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: opacity 0.3s ease;
}

.footer-legal-link:hover {
  opacity: 0.8;
  color: var(--bs-text-white);
}

/* Copyright */
.footer-copyright--mobile {
  display: block;
  margin-bottom: 30px;
}

.footer-copyright--desktop {
  display: none;
}

.footer-copyright p {
  font-family: var(--font-base);
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  color: var(--bs-text-white);
  margin: 0;
}

/* Redes sociales */
.footer-social {
  margin-bottom: 20px;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.social-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 0.8;
}

.social-icon.facebook {
  background-image: url("../img/icons/facebook-white.svg");
}

.social-icon.twitter {
  background-image: url("../img/icons/x-white.svg");
}

.social-icon.instagram {
  background-image: url("../img/icons/instagram-white2.svg");
}

.social-icon.youtube {
  background-image: url("../img/icons/youtube-white.svg");
}

.social-icon.tiktok {
  background-image: url("../img/icons/tiktok-white.svg");
}

/* Columnas centro y derecha ocultas en mobile */
.footer-center,
.footer-right {
  display: none;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 425px;
  overflow: hidden;
}

.hero-section-empresas {
  position: relative;
  width: 100%;
  height: 415px;
  overflow: hidden;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 425px;
  z-index: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg img{
  height: 100%;
}

/* Video de fondo para hero de la home */
video.hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
}

/* Ocultar controles del video del hero */
video.hero-bg::-webkit-media-controls,
video.hero-bg::-webkit-media-controls-panel,
video.hero-bg::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #253e80;
  opacity: 0.34;
  z-index: 1;
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 80%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 60px 0;
}

.hero-content-empresa {
  position: relative;
  z-index: 3;
}

.hero-text {
  color: var(--bs-text-white);
}

.hero-title {
  color: var(--bs-text-white);
  margin-bottom: 20px;
  line-height: 70px;
  font-size: 48px !important;
}

.hero-subtitle {
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 22px;
  line-height: 24px;
  color: var(--bs-text-white);
  margin-bottom: 30px;
  max-width: 351px;
}

.hero-subtitle.text-center {
  margin: 0 auto;
  margin-bottom: 20px;
}

/* Hero Card Mobile - wrapper */
.hero-card-mobile {
  background-color: #ffffff;
  padding: 30px 0 40px;
}

/* Hero Card - Base */
.hero-card {
  max-width: 390px;
  display: flex;
  flex-direction: column;
}

/* Hero Card Desktop - fondo azul, dentro del hero */
.hero-card--desktop {
  background-color: #ffffff;
  color: var(--bs-text);
  margin-left: auto;
  padding: 35px 24px 30px;
}

/* Hero Card Mobile - fondo transparente (el wrapper tiene el blanco) */
.hero-card--mobile {
  background-color: transparent;
  color: #212121;
  margin: 0 auto;
}

.hero-card-title {
  margin-bottom: 16px;
  line-height: 24px;
}

/* Título en desktop: amarillo */
.hero-card--desktop .hero-card-title {
  color: var(--bs-blue);
}

/* Título en mobile: negro */
.hero-card--mobile .hero-card-title {
  color: #212121;
}

.hero-card-text {
  font-family: var(--bs-dark-primary);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 24px;
}

/* Texto en mobile: negro */
.hero-card--mobile .hero-card-text {
  color: #212121;
}

.hero-card-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80%;
  position: relative;
  margin: 0 auto 30px;
}

.hero-card-avatars > div {
  display: flex;
  position: relative;
}

.hero-avatar {
  width: 61px;
  height: 61px;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  position: relative;
  display: block;
}

.hero-avatar:last-of-type {
  margin-left: -15px;
}

.hero-match-text {
  font-family: var(--font-mv-boli);
  font-size: 24px;
  line-height: 24px;
  transform: rotate(-10deg);
  white-space: nowrap;
  flex: 1;
  color: var(--bs-blue);
  letter-spacing: -2.64px;
}

/* Match text en mobile: azul */
.hero-card--mobile .hero-match-text {
  color: var(--bs-blue);
}

/* Botón con borde blanco (para desktop) */
.btn-blue {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  padding: 15px 40px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  background: transparent;
  border: 2px solid var(--bs-blue);
  color: #ffffff;
  cursor: pointer;
  display: block;
  transition: all 0.3s ease;
  white-space: nowrap;
  width: fit-content;
  margin: 0 auto;
  background-color: var(--bs-blue);
}

.btn-blue:hover {
  background-color: var(--bs-blue-hover);
  border-color: var(--bs-blue-hover);
  color: #ffffff;
}

/* Botón azul (para mobile) */
.btn-primary-blue {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  padding: 15px 40px;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  background-color: var(--bs-blue);
  border: none;
  color: var(--bs-text-white);
  cursor: pointer;
  display: block;
  transition: all 0.3s ease;
  white-space: nowrap;
  width: 100%;
}

.btn-primary-blue:hover {
  background-color: #0c6aa8;
  color: var(--bs-text-white);
}

/* ============================================
   HERO ANIMATIONS - Animaciones sutiles
   ============================================ */

/* Keyframes para animaciones de entrada */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSlideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroWiggle {
  0%,
  100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(-5deg);
  }
}

/* Animaciones de entrada del hero */
.hero-title {
  animation: heroFadeInUp 0.8s ease-out forwards;
}

.hero-subtitle {
  animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-text .btn {
  animation: heroFadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

/* Animación hero card desktop */
.hero-card--desktop {
  animation: heroSlideInRight 0.8s ease-out 0.5s forwards;
  opacity: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animación hero card mobile */
.hero-card--mobile {
  animation: heroFadeInUp 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

/* Microinteracciones hover - Botones del hero */
.hero-text .btn-primary {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-text .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 177, 8, 0.4);
}

/* Hover en hero card desktop */
.hero-card--desktop:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Microinteracciones avatares */
.hero-avatar {
  transition: transform 0.3s ease;
}

.hero-avatar:hover {
  transform: scale(1.1);
}

/* Animación continua del texto "It's a match" */
.hero-match-text {
  animation: heroWiggle 3s ease-in-out infinite;
}

/* Hover en botones de la card */
.btn-blue {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 121, 191, 0.3);
}

.btn-primary-blue {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 121, 191, 0.3);
}

/* Accesibilidad - Respetar preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-subtitle,
  .hero-text .btn,
  .hero-card--desktop,
  .hero-card--mobile,
  .hero-avatar,
  .hero-match-text,
  .btn-blue,
  .btn-primary-blue {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-match-text {
    transform: rotate(-10deg) !important;
  }
}

/* Dispositivos táctiles - Sin efectos hover */
@media (hover: none) {
  .hero-card--desktop:hover,
  .hero-card--mobile:hover,
  .hero-avatar:hover,
  .hero-text .btn-primary:hover,
  .btn-blue:hover,
  .btn-primary-blue:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ============================================
   FIN HERO ANIMATIONS
   ============================================ */

/* ============================================
   SCROLL ANIMATIONS - Pasaporte y Mapa
   ============================================ */

/* Keyframes para animaciones de scroll */
@keyframes floatWindow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes swayPalm {
  0%,
  100% {
    transform: translateX(-62%) rotate(4deg);
  }
  50% {
    transform: translateX(-62%) rotate(6deg);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Ventana fija (sin animación flotante por preferencia del usuario) */
/* .ventana-container,
.ventana-container-desktop {
  animation: floatWindow 4s ease-in-out infinite;
} */

/* Animación de balanceo de la palmera */
.palmera-decoration {
  animation: swayPalm 6s ease-in-out infinite;
}

/* Estados iniciales para animaciones al scroll */
.ventana-pasaporte-wrapper,
.ventana-pasaporte-section-desktop .row {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ventana-pasaporte-wrapper.visible,
.ventana-pasaporte-section-desktop .row.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animación del contenido textual con delay */
.ventana-content,
.ventana-content-desktop {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.ventana-pasaporte-wrapper.visible .ventana-content,
.ventana-pasaporte-section-desktop .row.visible .ventana-content-desktop {
  opacity: 1;
  transform: translateX(0);
}

/* Animaciones del Mapa */
.map-text-content {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.map-text-content.visible {
  opacity: 1;
  transform: translateX(0);
}

.map-image-wrapper {
  opacity: 0;
}

.map-image-wrapper.visible {
  animation: fadeInScale 0.8s ease-out 0.2s forwards;
}

.map-section img {
  opacity: 0;
}

.map-section.visible img {
  animation: fadeInScale 0.8s ease-out forwards;
}

/* Hover sutil en el mapa */
.map-image-wrapper img {
  transition: transform 0.4s ease;
}

.map-image-wrapper:hover img {
  transform: scale(1.02);
}

/* ===== ANIMACIONES SECCIONES: Eventos, Empresas, Noticias ===== */
/* IMPORTANTE: Solo aplican cuando .scroll-animate está presente (añadida por JS) */

/* Estado inicial - secciones ocultas (solo con .scroll-animate) */
.eventos-section.scroll-animate,
.empresas-section.scroll-animate,
.actualidad-section.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Estado visible */
.eventos-section.scroll-animate.visible,
.empresas-section.scroll-animate.visible,
.actualidad-section.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards con stagger (cascada) - solo cuando el padre tiene .scroll-animate */
.eventos-section.scroll-animate .eventos-grid .col-12,
.eventos-section.scroll-animate .eventos-grid .col-lg-4,
.empresas-section.scroll-animate .empresas-list > *,
.actualidad-section.scroll-animate .noticias-grid .col-12,
.actualidad-section.scroll-animate .noticias-grid .col-lg-4 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.eventos-section.scroll-animate.visible .eventos-grid .col-12,
.eventos-section.scroll-animate.visible .eventos-grid .col-lg-4,
.empresas-section.scroll-animate.visible .empresas-list > *,
.actualidad-section.scroll-animate.visible .noticias-grid .col-12,
.actualidad-section.scroll-animate.visible .noticias-grid .col-lg-4 {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays - efecto cascada sutil */
.eventos-section.scroll-animate.visible .eventos-grid .row > *:nth-child(1),
.actualidad-section.scroll-animate.visible .noticias-grid .row > *:nth-child(1),
.empresas-section.scroll-animate.visible .empresas-list > *:nth-child(1) {
  transition-delay: 0.1s;
}

.eventos-section.scroll-animate.visible .eventos-grid .row > *:nth-child(2),
.actualidad-section.scroll-animate.visible .noticias-grid .row > *:nth-child(2),
.empresas-section.scroll-animate.visible .empresas-list > *:nth-child(2) {
  transition-delay: 0.2s;
}

.eventos-section.scroll-animate.visible .eventos-grid .row > *:nth-child(3),
.actualidad-section.scroll-animate.visible .noticias-grid .row > *:nth-child(3),
.empresas-section.scroll-animate.visible .empresas-list > *:nth-child(3) {
  transition-delay: 0.3s;
}

.empresas-section.scroll-animate.visible .empresas-list > *:nth-child(4) {
  transition-delay: 0.4s;
}

/* Accesibilidad - Respetar preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .palmera-decoration,
  .ventana-pasaporte-wrapper,
  .ventana-pasaporte-section-desktop .row,
  .ventana-content,
  .ventana-content-desktop,
  .map-text-content,
  .map-image-wrapper,
  .map-section img,
  .eventos-section.scroll-animate,
  .empresas-section.scroll-animate,
  .actualidad-section.scroll-animate,
  .eventos-section.scroll-animate .eventos-grid .col-12,
  .eventos-section.scroll-animate .eventos-grid .col-lg-4,
  .empresas-section.scroll-animate .empresas-list > *,
  .actualidad-section.scroll-animate .noticias-grid .col-12,
  .actualidad-section.scroll-animate .noticias-grid .col-lg-4 {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .palmera-decoration {
    transform: translateX(-62%) rotate(4deg) !important;
  }
}

/* ============================================
   ÁREA PRIVADA - ANIMACIONES SECCIONES
   ============================================ */

/* Mapa de Ventanas */
.mapa-ventanas-section.scroll-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.mapa-ventanas-section.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger para elementos internos del mapa */
.mapa-ventanas-section.scroll-animate .mapa-ventanas-header {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.mapa-ventanas-section.scroll-animate.visible .mapa-ventanas-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.mapa-ventanas-section.scroll-animate .ventanas-subsection {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.mapa-ventanas-section.scroll-animate.visible .ventanas-subsection {
  opacity: 1;
  transform: translateY(0);
}

.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(1) {
  transition-delay: 0.25s;
}

.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(2) {
  transition-delay: 0.4s;
}

.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(3) {
  transition-delay: 0.55s;
}

/* Animación escalonada para botones de ventana individuales */
.mapa-ventanas-section.scroll-animate .ventana-btn {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out,
    background-color 0.3s ease, box-shadow 0.3s ease;
}

.mapa-ventanas-section.scroll-animate.visible .ventana-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
  display: flex;
  flex-direction: column;
}

/* Stagger para cada botón - Destinos (primera subsección) */
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(1)
  .ventana-btn:nth-child(1) {
  transition-delay: 0.35s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(1)
  .ventana-btn:nth-child(2) {
  transition-delay: 0.4s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(1)
  .ventana-btn:nth-child(3) {
  transition-delay: 0.45s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(1)
  .ventana-btn:nth-child(4) {
  transition-delay: 0.5s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(1)
  .ventana-btn:nth-child(5) {
  transition-delay: 0.55s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(1)
  .ventana-btn:nth-child(6) {
  transition-delay: 0.6s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(1)
  .ventana-btn:nth-child(n + 7) {
  transition-delay: 0.65s;
}

/* Stagger para cada botón - Zonas (segunda subsección) */
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(2)
  .ventana-btn:nth-child(1) {
  transition-delay: 0.5s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(2)
  .ventana-btn:nth-child(2) {
  transition-delay: 0.55s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(2)
  .ventana-btn:nth-child(3) {
  transition-delay: 0.6s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(2)
  .ventana-btn:nth-child(4) {
  transition-delay: 0.65s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(2)
  .ventana-btn:nth-child(5) {
  transition-delay: 0.7s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(2)
  .ventana-btn:nth-child(n + 6) {
  transition-delay: 0.75s;
}

/* Animación escalonada para medallas */
.mapa-ventanas-section.scroll-animate .medalla-btn {
  opacity: 0;
  transform: translateY(15px) scale(0.85);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out,
    background 0.3s ease, box-shadow 0.3s ease;
}

.mapa-ventanas-section.scroll-animate.visible .medalla-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(3)
  .medalla-btn:nth-child(1) {
  transition-delay: 0.65s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(3)
  .medalla-btn:nth-child(2) {
  transition-delay: 0.7s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(3)
  .medalla-btn:nth-child(3) {
  transition-delay: 0.75s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(3)
  .medalla-btn:nth-child(4) {
  transition-delay: 0.8s;
}
.mapa-ventanas-section.scroll-animate.visible
  .ventanas-subsection:nth-of-type(3)
  .medalla-btn:nth-child(n + 5) {
  transition-delay: 0.85s;
}

/* Quiz Section */
.quiz-section.scroll-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.quiz-section.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reuniones */
.reuniones-section.scroll-animate {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reuniones-section.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger para header de reuniones */
.reuniones-section.scroll-animate .section-header {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reuniones-section.scroll-animate.visible .section-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* Stagger para cards de reuniones */
.reuniones-section.scroll-animate .reuniones-grid .col-lg-4,
.reuniones-section.scroll-animate .row.g-4 > div {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reuniones-section.scroll-animate.visible .reuniones-grid .col-lg-4,
.reuniones-section.scroll-animate.visible .row.g-4 > div {
  opacity: 1;
  transform: translateY(0);
}

.reuniones-section.scroll-animate.visible
  .reuniones-grid
  .col-lg-4:nth-child(1),
.reuniones-section.scroll-animate.visible .row.g-4 > div:nth-child(1) {
  transition-delay: 0.2s;
}
.reuniones-section.scroll-animate.visible
  .reuniones-grid
  .col-lg-4:nth-child(2),
.reuniones-section.scroll-animate.visible .row.g-4 > div:nth-child(2) {
  transition-delay: 0.35s;
}
.reuniones-section.scroll-animate.visible
  .reuniones-grid
  .col-lg-4:nth-child(3),
.reuniones-section.scroll-animate.visible .row.g-4 > div:nth-child(3) {
  transition-delay: 0.5s;
}

/* Accesibilidad - reduced motion para área privada */
@media (prefers-reduced-motion: reduce) {
  .mapa-ventanas-section.scroll-animate,
  .mapa-ventanas-section.scroll-animate .mapa-ventanas-header,
  .mapa-ventanas-section.scroll-animate .ventanas-subsection,
  .mapa-ventanas-section.scroll-animate .ventana-btn,
  .mapa-ventanas-section.scroll-animate .medalla-btn,
  .quiz-section.scroll-animate,
  .reuniones-section.scroll-animate,
  .reuniones-section.scroll-animate .section-header,
  .reuniones-section.scroll-animate .reuniones-grid .col-lg-4,
  .reuniones-section.scroll-animate .row.g-4 > div {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================
   FIN SCROLL ANIMATIONS
   ============================================ */

/* VENTANA PASAPORTE SECTION */
.ventana-pasaporte-section {
  background-color: #ffffff;
  padding: 40px 0;
  position: relative;
  overflow-x: clip; /* Evita scroll horizontal por la palmera decorativa */
  overflow-y: visible; /* Permite que elementos sobresalgan verticalmente */
  z-index: 1;
}

/* Palmera decorativa que sobresale - MUY DETRÁS de todo */
.palmera-decoration {
  position: absolute;
  top: -134px;
  left: 50%;
  transform: translateX(-62%) rotate(4deg);
  z-index: -1;
  width: 155vw;
  max-width: 800px;
  height: auto;
  pointer-events: none;
}

.palmera-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
}

.ventana-pasaporte-wrapper {
  position: relative;
  max-width: 390px;
  margin: 0 auto;
  z-index: 10;
}

.ventana-pasaporte-section .container {
  position: relative;
  z-index: 10;
}

.ventana-pasaporte-section .row {
  position: relative;
  z-index: 10;
}

/* Contenedor de ventana con video */
.ventana-container {
  position: relative;
  width: 80%;
  aspect-ratio: 266 / 345;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
}

/* Video de fondo */
.ventana-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 95%;
  object-fit: cover;
  object-position: left center;
  z-index: 1;
  margin-left: 40px;
  margin-top: 10px;
  pointer-events: none;
  user-select: none;
}

/* Video de fondo */
.ventana-video,
.ventana-video-desktop {
  /* ...tus estilos existentes... */

  /* Ocultar controles en Safari/iPhone */
  pointer-events: none;
}

/* Forzar que no aparezcan controles en Webkit (Safari/iPhone) */
.ventana-video::-webkit-media-controls,
.ventana-video-desktop::-webkit-media-controls {
  display: none !important;
}

.ventana-video::-webkit-media-controls-enclosure,
.ventana-video-desktop::-webkit-media-controls-enclosure {
  display: none !important;
}

.ventana-video::-webkit-media-controls-panel,
.ventana-video-desktop::-webkit-media-controls-panel {
  display: none !important;
}

.ventana-video::-webkit-media-controls-start-playback-button,
.ventana-video-desktop::-webkit-media-controls-start-playback-button {
  display: none !important;
}

/* Frame de ventana PNG overlay */
.ventana-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ventana-frame-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Contenido textual */
.ventana-content {
  text-align: center;
  padding: 0 15px;
}

.ventana-title {
  color: #212121;
  margin-bottom: 12px;
}

.ventana-subtitle {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--bs-blue);
  margin-bottom: 20px;
}

.ventana-cta-title {
  color: #212121;
  margin-bottom: 30px;
  line-height: 36px;
}

/* MAP SECTION */
.map-wrapper {
  width: 100%;
}

.map-container {
  background-image: url("../img/efecto-de-superposicion-de-sombras-realistas.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  position: relative;
  z-index: 1;
  margin-top: -50px;
  padding-top: 50px;
}

/* Mobile Version */
.map-section {
  padding: 25px 15px 20px 15px;
  width: 100%;
}

.map-section h3 {
  margin-bottom: 1rem;
}

.map-section img {
  width: 100%;
  height: auto;
}

/* Desktop Version */
.map-section-desktop {
  padding: 90px 0;
}

.map-text-content {
  padding-right: 40px;
}

.map-title {
  font-size: 24px;
  line-height: 28px;
  color: #212121;
  margin-bottom: 20px;
}

.map-description {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--bs-blue);
  margin-bottom: 0;
}

.map-image-wrapper {
  position: relative;
}

.map-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* VER NOTICIA STYLES */

/* Sección principal */
.noticia-ver-section {
  background-color: #ffffff;
  padding: 0 0 40px;
}

.noticia-ver-wrapper {
}

/* Título principal */
.noticia-ver-header {
  padding-block: 15px;
}

.noticia-ver-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 36px;
  color: #212121;
  margin: 0;
}

/* Imagen principal */
.noticia-ver-image-wrapper {
  margin-bottom: 20px;
}

.noticia-ver-image {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Contenido */
.noticia-ver-content {
}

/* Fecha */
.noticia-ver-date {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.noticia-ver-date-text {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  color: #212121;
  margin: 0;
}

/* Subtítulo */
.noticia-ver-subtitle-wrapper {
  margin-bottom: 20px;
}

.noticia-ver-subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #212121;
  margin: 0;
}

/* Cuerpo de la noticia */
.noticia-ver-body {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #212121;
  margin-bottom: 30px;
}

.noticia-ver-body p {
  margin-bottom: 1em;
}

/* Imágenes dentro del contenido de la noticia */
.noticia-ver-body img,
.noticia-ver-body p img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 6px; /* opcional, para darle un poco de estilo */
}

/* Si la imagen está dentro de un enlace */
.noticia-ver-body a img {
  max-width: 100%;
  height: auto;
}

.noticia-ver-body a {
  color: var(--bs-blue);
  text-decoration: underline;
}

.noticia-ver-body a:hover {
  opacity: 0.8;
}

.noticia-ver-body h2 {
font-size: 1.5rem;
}

/* Botón compartir */
.noticia-ver-share {
  display: flex;
  justify-content: center;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 30px;
  background-color: var(--bs-yellow);
  border: none;
  border-radius: 6px;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: #212121;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-share:hover {
  background-color: #e0a007;
}

.btn-share svg {
  flex-shrink: 0;
}

.compartir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding:15px 10px !important;
}
.compartir svg *,
.compartir-icon * {
    fill: url(#pattern0_32_2212);
}



/* Sección de últimas noticias */
.ultimas-noticias-section {
  background-color: #ffffff;
  padding: 40px 0;
}

.ultimas-noticias-section .section-header {
  margin-bottom: 30px;
  text-align: center;
}

.ultimas-noticias-section .font-display-24 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  color: #212121;
}

/* Link ver todas */
.link-ver-todas {
  color: var(--bs-blue);
  text-align: center;
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: 10%;
  text-underline-offset: 16%;
  transition: opacity 0.3s ease;
}

.link-ver-todas:hover {
  opacity: 0.8;
  color: var(--bs-blue);
}

/* PAGINATOR COMPONENT */
.paginator-block {
  margin: 2rem 0;
}

.paginator-nav .pagination {
  gap: 6px;
}

.paginator-nav .page-link {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  color: #212121;
  background-color: transparent;
  border: 1px solid #212121;
  border-radius: 6px;
  padding: 15px;
  min-width: 44px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.paginator-nav .page-link:hover {
  background-color: var(--bs-yellow);
  border-color: var(--bs-yellow);
  color: #212121;
}

.paginator-nav .page-item.active .page-link {
  background-color: var(--bs-yellow);
  border-color: var(--bs-yellow);
  color: #212121;
}

.paginator-nav .page-item.disabled .page-link {
  border-color: #d9d9d9;
  color: #d9d9d9;
}

.paginator-nav .page-arrow {
  font-size: 24px;
  font-weight: 700;
  padding: 10px 15px;
}

.paginator-counter {
  font-family: var(--font-base);
  font-size: 14px;
  color: #212121;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .paginator-nav .pagination {
    gap: 4px;
  }

  .paginator-nav .page-link {
    padding: 12px;
    min-width: 40px;
    min-height: 46px;
    font-size: 14px;
  }

  .paginator-nav .page-arrow {
    font-size: 20px;
    padding: 8px 12px;
  }
}

/* EMPRESA CARD COMPONENT */
.empresa-card {
  border-bottom: 1px solid #e0e0e0;
}

.empresa-logo-circle {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--bs-blue);
  flex-shrink: 0;
}

.empresa-logo-circle img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.empresa-logo-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empresa-logo-placeholder span {
  font-size: 12px;
  color: #999;
}

.empresa-info h3 {
  font-size: 20px;
  font-family: var(--font-display);
  font-weight: bold;
  margin: 0 0 5px 0;
  color: #212121;
}

.empresa-info p {
  font-size: 16px;
  margin: 0;
  color: #212121;
}

.empresa-ver-btn {
  background-color: var(--bs-yellow);
  border: none;
  border-radius: 6px;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 16px;
  color: #212121;
  text-decoration: none;
}

.empresa-ver-btn:hover {
  background-color: var(--bs-yellow-hover);
  color: #212121;
}

/* EMPRESA DETALLE COMPONENT */
.empresa-detalle {
  padding: 2rem 0;
}

.empresa-logo-box {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  background: white;
  text-align: center;
  display: flex;
  align-items: center;
}

.empresa-logo-box img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.empresa-logo-placeholder {
  width: 100%;
  height: 200px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.empresa-sector {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  color: #212121;
  margin-bottom: 0;
}

.empresa-description {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #212121;
}

.empresa-buttons {
  display: flex;
  flex-direction: column;
  max-width: 400px;
}

/* Botones en empresa-buttons toman ancho completo del contenedor */
.empresa-buttons .btn-dark-outline,
.empresa-buttons .btn-blue {
  display: block;
  width: 100%;
  padding: 15px 40px;
}

.empresa-contact-info {
  font-family: var(--font-base);
  font-size: 14px;
  line-height: 24px;
  color: #212121;
}

.empresa-contact-info strong {
  font-weight: 600;
  color: #212121;
}

/* === MIS CONTACTOS - START === */
.contactos-section {
  padding: 20px 0;
}

.contactos-header {
  gap: 15px;
}

.contactos-header h2 {
  margin: 0;
}

.contacto-section h1{
color: var(--Color-textos, #212121);
font-family: "Flowers Of Nineties";
font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: 24px; /* 100% */
}


.contacto input:not([type="checkbox"]), .contacto .paises {
	border: 1px solid #212121;
	color: #212121;
	width: 100%;
	border-radius: 6px;
	padding: 1rem;
	position: relative;
  font-family: "Flowers Of Nineties";
  font-size: 14px;
}


.contacto .line_input {
	position:relative;
	margin-bottom: 40px;
}
.form-switch {
	padding-left: 0 !important;
}

.contacto .btn-blue {
  margin:0px;
}

.line_input:not(.form-check)::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: rgba(33,35,34, .45);
}


.contacto textarea {
	border: 1px solid #212121;
	color: #212121;
	width: 100%;
  font-size: 14px;
	margin-bottom: 10px;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	-o-border-radius: 6px;
	padding-left: 1rem;
	padding-top: 10px;
	height: 200px;
  font-family: "Flowers Of Nineties";
}

/* checkbox radio */

[type="checkbox"]+label,
[type="radio"]+label {
	padding-left: 1.5rem;
}
[type="checkbox"]+label:last-of-type,
[type="radio"]+label:last-of-type {
	margin-bottom: 0;
}
[type="checkbox"]:disabled+label:before,
[type="checkbox"]:disabled+label:after,
[type="radio"]:disabled+label:before,
[type="radio"]:disabled+label:after {
	opacity: .2;
}
[type="checkbox"]:disabled+label,
[type="radio"]:disabled+label {
	opacity: .5;
}
[type="checkbox"]+label:before,
[type="checkbox"]+label:after,
[type="radio"]+label:before,
[type="radio"]+label:after {
	content: '';
	position: absolute;
	top: 0rem;
	left: 0;
	width: 1.3rem;
	height: 1.3rem;
	transition: all .28s ease;
	border: 1px solid var(--bs-primary);
	border-radius: 0px !important;
}
[type="radio"]+label:before,
[type="radio"]+label:after {
	border-radius: 50%;
}
[type="checkbox"]:not(:checked)+label:after,
[type="radio"]:not(:checked)+label:after {
	-ms-transform: scale(0);
	transform: scale(0);
}

[type="checkbox"]:checked + label::after,
[type="radio"]:checked + label::after {
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16.001' height='12.104' viewBox='0 0 16.001 12.104'%3E%3Cg transform='translate(-7.293 -10.293)'%3E%3Cpath d='M13.594,22.4l9.7-9.7-2.4-2.4-7.3,7.3-3.9-3.9-2.4,2.4Z' fill='%230e79bf'/%3E%3C/g%3E%3C/svg%3E");


  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
}

[type="checkbox"]+label:before,
[type="checkbox"]+label:after {
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
}



/* Botón Escanear QR */
.qr-scan-btn {
  background: linear-gradient(90deg, #2795dd 0%, #03619e 100%);
  border: 1px solid white;
  border-radius: 15px;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 114px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.qr-scan-btn:hover {
  opacity: 0.9;
}

.qr-scan-btn .qr-scan-icon {
  margin-bottom: 5px;
}

.qr-scan-btn .qr-scan-icon img {
  filter: brightness(0) invert(1);
}

.qr-scan-btn span {
  font-family: var(--font-display);
  font-size: 14px;
  color: white;
  text-align: center;
}
.modal-qr-card {
    max-width: 420px;
}

.qr-reader-container {
    margin-top: 1.5rem;
    width: 100%;
}

#qr-reader video {
    width: 100% !important;
    height: auto !important;
    border-radius: 16px;
}


/* Tabs de contactos */
.contactos-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e0e0e0;
}

.contactos-tab {
  flex: 1;
  padding: 12px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: #757575;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.contactos-tab:hover {
  color: #212121;
}

.contactos-tab.active {
  color: var(--color-blue, #1976d2);
  border-bottom-color: var(--color-blue, #1976d2);
}

/* Filtros de contactos */
.contactos-filtros {
  margin-bottom: 20px;
}

.contacto-search-input {
  background-color: rgba(33, 33, 33, 0.1);
  border: none;
  border-radius: 6px;
  height: 55px;
  padding: 15px 50px 15px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  color: #212121;
}

.contacto-search-input::placeholder {
  color: #212121;
  opacity: 1;
}

.contacto-search-input:focus {
  background-color: rgba(33, 33, 33, 0.15);
  box-shadow: none;
  border: none;
}

/* Icono de búsqueda dentro del input */
.search-wrapper {
  position: relative;
}

/* Anular el margin-bottom que viene del core de CakePHP */
.search-wrapper > .input {
  margin-bottom: 0;
}

.search-wrapper .search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-wrapper .search-icon img {
  width: 35px;
  height: 35px;
}

/* Lista de contactos */
.contactos-list {
  border-top: 1px solid #e0e0e0;
}

/* CONTACTO CARD COMPONENT */
.contacto-card {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}

/* Avatar del contacto */
.contacto-avatar {
  position: relative;
  flex-shrink: 0;
}

.contacto-avatar-circle {
  width: 41px;
  height: 41px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9b108 0%, #ea503e 50%, #0e79bf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contacto-avatar-connected {
  background: linear-gradient(135deg, #0e79bf 0%, #2795dd 100%);
}

.contacto-iniciales {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  color: white;
  text-transform: uppercase;
}

.contacto-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Avatar mini superpuesto (foto del usuario actual) */
.contacto-avatar-mini {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e79bf 0%, #2795dd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid white;
}

.contacto-foto-mini {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.contacto-iniciales-mini {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 8px;
  color: white;
  text-transform: uppercase;
}

/* Indicador de estado (círculo pequeño) */
.contacto-status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 2px solid white;
}

.contacto-status-indicator.connected {
  background: linear-gradient(135deg, #f9b108 0%, #ea503e 50%, #0e79bf 100%);
}

/* Info del contacto */
.contacto-info {
  flex-grow: 1;
  min-width: 0;
}

.contacto-info h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 2px 0;
  color: #212121;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 15ch;
}

.contacto-info p {
  font-family: var(--font-base);
  font-size: 14px;
  margin: 0;
  color: #212121;
}

.contacto-empresa-link {
  color: #0e79bf;
  text-decoration: none;
}

.contacto-empresa-link:hover {
  text-decoration: underline;
  color: #0e79bf;
}

/* Acciones del contacto (columna de botones) */
.contacto-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  flex-shrink: 0;
  margin-left: 10px;
  min-width: 150px;
}

/* Botón Solicitar/Proponer reunión (azul sólido) */
.contacto-btn-reunion {
  background-color: var(--bs-blue);
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  font-family: var(--font-base);
  font-weight: bold;
  font-size: 14px;
  color: white;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.contacto-btn-reunion:hover {
  background-color: #0a5a8f;
  color: white;
}

/* Botón Ver (amarillo) */
.contacto-btn-ver {
  background-color: var(--bs-yellow);
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  font-family: var(--font-base);
  font-weight: bold;
  font-size: 14px;
  color: #212121;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.contacto-btn-ver:hover {
  background-color: var(--bs-yellow-hover);
  color: #212121;
}

/* Botón Contactar (outline azul) */
.contacto-btn-contactar {
  background-color: transparent;
  border: 1px solid var(--bs-blue);
  border-radius: 6px;
  padding: 10px 15px;
  font-family: var(--font-base);
  font-weight: bold;
  font-size: 14px;
  color: var(--bs-blue);
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
}

.contacto-btn-contactar:hover {
  background-color: var(--bs-blue);
  color: white;
}

/* Botón Aceptar contacto (outline azul) */
.contacto-btn-aceptar {
  background-color: #0e78bf50;
  /* border: 1px solid #0e78bf50; */
  border-radius: 6px;
  padding: 10px 15px;
  font-family: var(--font-base);
  font-weight: bold;
  font-size: 14px;
  color: var(--bs-blue);
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
}

.contacto-btn-aceptar:hover {
  background-color: var(--bs-blue);
  color: white;
}

/* Botón Rechazar contacto (outline rojo) */
.contacto-btn-rechazar {
  background-color: transparent;
  border: 2px solid var(--bs-red);
  border-radius: 6px;
  padding: 10px 15px;
  font-family: var(--font-base);
  font-weight: bold;
  font-size: 14px;
  color: var(--bs-red);
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
}

.contacto-btn-rechazar:hover {
  background-color: var(--bs-red);
  color: white;
}

/* Texto de estado */
.contacto-status-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
}

.contacto-status-rejected {
  color: #ea503e;
}

/* === RESPONSIVE DESKTOP === */
@media (min-width: 768px) {
  /* Filtros en fila para desktop */
  .contactos-filtros {
    display: flex;
    gap: 10px;
    align-items: flex-end;
  }

  .contactos-filtros .search-wrapper,
  .contactos-filtros .select-wrapper {
    flex: 1;
    margin-bottom: 0 !important;
  }

  .contactos-filtros > div:last-child {
    flex: 0 0 auto;
    margin-bottom: 0 !important;
  }

  .contactos-filtros .btn {
    white-space: nowrap;
    min-width: 120px;
  }

  /* Aumentar tamaños de avatar y textos en desktop */
  .contacto-avatar-circle {
    width: 60px;
    height: 60px;
  }

  .contacto-iniciales {
    font-size: 20px;
  }

  .contacto-avatar-mini {
    width: 28px;
    height: 28px;
    bottom: -3px;
    right: -3px;
    border: 3px solid white;
  }

  .contacto-iniciales-mini {
    font-size: 10px;
  }

  .contacto-status-indicator {
    width: 28px;
    height: 28px;
    bottom: -3px;
    right: -3px;
    border: 3px solid white;
  }

  .contacto-info h3 {
    font-size: 20px;
    max-width: 100%;
  }

  .contacto-info p {
    font-size: 16px;
  }

  /* Acciones con más espacio en desktop */
  .contacto-actions {
    gap: 10px;
    min-width: 180px;
    margin-left: 20px;
  }

  .contacto-btn-reunion,
  .contacto-btn-ver,
  .contacto-btn-contactar,
  .contacto-btn-aceptar,
  .contacto-btn-rechazar {
    font-size: 15px;
    padding: 12px 20px;
  }

  .contacto-status-text {
    font-size: 15px;
  }

  /* Card con más padding en desktop */
  .contacto-card {
    padding: 20px 0;
  }

  /* === REUNIONES RESPONSIVE === */
  .reunion-avatar-circle {
    width: 100px;
    height: 100px;
  }

  .reunion-iniciales {
    font-size: 32px;
  }

  .reunion-avatar-outer {
    width: 80px;
    height: 80px;
  }

  .reunion-avatar-inner {
    width: 45px;
    height: 45px;
  }

  .reunion-info h3 {
    font-size: 24px;
  }

  .reunion-card-content {
    padding: 20px;
    grid-template-columns: 80px 1fr auto;
    gap: 10px 15px;
  }

  .reunion-avatar-wrapper {
    grid-row: 1 / 3;
  }

  .reunion-btn-aceptar,
  .reunion-btn-ver,
  .reunion-btn-cancelada,
  .reunion-btn-pendiente {
    min-width: 120px;
    padding: 15px 35px;
  }
}
/* === MIS CONTACTOS - END === */

/* ================================================
   REUNIONES - Sección de reuniones (Visitante)
   ================================================ */

/* === CREAR REUNIÓN === */
.reunion-crear-section {
  padding: 20px 0;
}

.reunion-contacto-header {
  padding-bottom: 20px;
}

.reunion-avatar {
  position: relative;
  flex-shrink: 0;
}

.reunion-avatar-circle {
  width: 89px;
  height: 89px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reunion-iniciales {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 28px;
  color: #666;
}

.reunion-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Avatar mini superpuesto (foto del usuario actual) */
.reunion-avatar-mini {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e79bf 0%, #2795dd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid white;
}

.reunion-foto-mini {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.reunion-iniciales-mini {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 10px;
  color: white;
  text-transform: uppercase;
}

.reunion-contacto-info h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: bold;
  color: #212121;
  margin-bottom: 4px;
}

.reunion-contacto-info p {
  font-family: var(--font-base);
  font-size: 16px;
  color: #212121;
  line-height: 1.5;
}

/* Inputs del formulario de reunión */
.reunion-input {
  background-color: white;
  border: 1px solid #212121;
  border-radius: 6px;
  height: 55px;
  padding: 15px 40px 15px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  color: #212121;
}

.reunion-input::placeholder {
  color: #212121;
  opacity: 1;
}

.reunion-input:focus {
  border-color: #212121;
  box-shadow: none;
  background-color: white;
}

.reunion-textarea {
  background-color: white;
  border: 1px solid #212121;
  border-radius: 6px;
  min-height: 116px;
  padding: 15px 20px;
  font-family: var(--font-display);
  font-size: 14px;
  color: #212121;
  resize: vertical;
}

.reunion-textarea::placeholder {
  color: #212121;
  opacity: 1;
}

.reunion-textarea:focus {
  border-color: #212121;
  box-shadow: none;
  background-color: white;
}

.reunion-select-wrapper {
  position: relative;
}

.reunion-select-icon {
  right: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

/* === LISTADO DE REUNIONES === */
.reuniones-section {
  padding: 20px 0 !important;
}

.reuniones-section h2 {
  margin-bottom: 20px;
}

/* Barra de colores superior */
.reunion-color-bar {
  position: relative;
  display: flex;
  height: 5px;
  z-index: 1;
}

.reunion-color-bar .color-yellow {
  flex: 1;
  background-color: #f9b108;
}

.reunion-color-bar .color-red {
  flex: 1;
  background-color: #ea503e;
}

.reunion-color-bar .color-blue {
  flex: 1;
  background-color: #0e79bf;
}

.reunion-card-content {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 8px 12px;
  padding: 15px;
  z-index: 1;
}

/* Avatar con doble círculo */
.reunion-avatar-wrapper {
  position: relative;
  grid-row: 1 / 3;
  grid-column: 1;
  flex-shrink: 0;
}

.reunion-avatar-outer {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reunion-avatar-inner {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9b108 0%, #ea503e 50%, #0e79bf 100%);
  border: 2px solid white;
}

/* Info de la reunión */
.reunion-info {
  grid-column: 2;
  grid-row: 1 / 4;
  min-width: 0;
}

.reunion-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: bold;
  color: #212121;
  margin-bottom: 0;
  line-height: 1.2;
}

.reunion-empresa,
.reunion-cargo {
  font-family: var(--font-base);
  font-size: 16px;
  color: #212121;
  line-height: 1.5;
  margin-bottom: 0;
}

.reunion-fecha {
  font-family: var(--font-base);
  font-size: 16px;
  color: #212121;
  margin-top: 8px;
  line-height: 1.5;
}

.reunion-hora {
  color: #0e79bf;
}

.reunion-lugar {
  font-family: var(--font-base);
  font-size: 16px;
  color: #212121;
  line-height: 1.5;
}

/* Acciones/Estado */
.reunion-action {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
}

.reunion-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

.reunion-btn-aceptar {
  background-color: transparent;
  border: 2px solid #0e79bf;
  color: #0e79bf;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 6px;
  min-width: 90px;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.reunion-btn-aceptar:hover {
  background-color: #0e79bf;
  color: white;
  border-color: #0e79bf;
}

.reunion-btn-ver {
  background-color: var(--bs-yellow);
  border: none;
  color: #212121;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 6px;
  min-width: 90px;
  text-align: center;
}

.reunion-btn-ver:hover {
  background-color: var(--bs-yellow-hover);
  color: #212121;
}

.reunion-btn-cancelada {
  background-color: var(--bs-red);
  border: none;
  color: white;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 6px;
  min-width: 90px;
  text-align: center;
  cursor: default;
}

.reunion-btn-pendiente {
  background-color: var(--bs-blue);
  border: none;
  color: white !important;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 6px;
  min-width: 90px;
  text-align: center;
  cursor: default;
  pointer-events: none;
}

.reunion-btn-pendiente:hover {
  background-color: var(--bs-blue);
  color: white !important;
}

.reunion-btn-rechazar {
  background-color: transparent;
  border: 2px solid var(--bs-red);
  color: var(--bs-red);
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 6px;
  min-width: 90px;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
}

.reunion-btn-rechazar:hover {
  background-color: var(--bs-red);
  color: white;
  border-color: var(--bs-red);
}

.reunion-estado-text {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 700;
}

.reunion-estado-finalizada {
  color: var(--bs-red);
}

/* === LISTA VERTICAL DE REUNIONES (Móvil) === */
.reuniones-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reuniones-list-vertical .ponente-card {
  width: 100%;
}

/* === VER REUNIÓN === */
.reunion-ver-section {
  padding: 20px 0;
}

.reunion-ver-header {
  padding-bottom: 10px;
}

.reunion-color-bar-full {
  display: flex;
  height: 5px;
  margin-top: 15px;
}

.reunion-color-bar-full .color-yellow {
  flex: 1;
  background-color: #f9b108;
}

.reunion-color-bar-full .color-red {
  flex: 1;
  background-color: #ea503e;
}

.reunion-color-bar-full .color-blue {
  flex: 1;
  background-color: #0e79bf;
}

.reunion-detalles {
  margin-top: 20px;
}

.reunion-fecha-detalle {
  font-family: var(--font-base);
  font-size: 16px;
  color: #212121;
}

.reunion-hora-detalle {
  color: var(--bs-blue);
  margin-left: 5px;
}

.reunion-lugar-detalle {
  font-family: var(--font-base);
  font-size: 16px;
  color: #212121;
}

.reunion-notas {
  margin-top: 20px;
}

.reunion-notas p {
  font-family: var(--font-base);
  font-size: 16px;
  color: #212121;
  line-height: 1.5;
}

.reunion-acciones {
  width: 100%;
  margin-top: 30px;
}

.reunion-estado-badge .badge {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 700;
}

/* Font display 20 */
.font-display-20 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}

/* === VER REUNIÓN - DESKTOP LAYOUT === */

/* Contenedor personalizado */
.reunion-ver-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header row: Volver + Estado alineados */
.reunion-ver-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.reunion-ver-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Sidebar card (contacto) */
.reunion-ver-sidebar {
  width: 100%;
}

.reunion-ver-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.reunion-avatar-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.reunion-avatar-wrapper-lg {
  position: relative;
  width: 80px;
  height: 80px;
}

.reunion-avatar-outer-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reunion-avatar-inner-lg {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  overflow: hidden;
}

.reunion-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.reunion-iniciales-lg {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #666;
}

.reunion-contacto-info .reunion-empresa-text,
.reunion-contacto-info .reunion-cargo-text {
  font-family: var(--font-base);
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* Content area */
.reunion-ver-content {
  width: 100%;
}

.reunion-estado-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 600;
}

.reunion-estado-pendiente {
  background-color: rgba(14, 121, 191, 0.15);
  color: var(--bs-blue);
}

.reunion-estado-aceptada {
  background-color: rgba(40, 167, 69, 0.15);
  color: #28a745;
}

.reunion-estado-rechazada {
  background-color: rgba(234, 80, 62, 0.15);
  color: var(--bs-red);
}

.reunion-estado-cancelada {
  background-color: rgba(234, 80, 62, 0.15);
  color: var(--bs-red);
}

.reunion-estado-finalizada {
  background-color: rgba(108, 117, 125, 0.15);
  color: #6c757d;
}

/* Detalles card */
.reunion-detalles-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.reunion-detalles-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 20px;
}

.reunion-detalle-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.reunion-detalle-item:last-child {
  border-bottom: none;
}

.reunion-detalle-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(14, 121, 191, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-blue);
}

.reunion-detalle-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reunion-detalle-label {
  font-family: var(--font-base);
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reunion-detalle-value {
  font-family: var(--font-base);
  font-size: 16px;
  color: #212121;
}

.reunion-hora-highlight {
  color: var(--bs-blue);
  font-weight: 600;
  margin-left: 8px;
}

/* Notas card */
.reunion-notas-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.reunion-notas-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 12px;
}

.reunion-notas-content {
  font-family: var(--font-base);
  font-size: 16px;
  color: #212121;
  line-height: 1.6;
  margin: 0;
}

/* Acciones card */
.reunion-acciones-card {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}

.reunion-estado-mensaje {
  text-align: center;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  width: 100%;
}

.reunion-estado-mensaje p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.reunion-btn-volver {
  color: var(--bs-blue);
  text-decoration: none;
  font-size: 14px;
  font-family: var(--font-base);
  font-weight: 500;
}

.reunion-btn-volver:hover {
  text-decoration: underline;
  color: var(--bs-blue);
}

/* === DESKTOP RESPONSIVE (min-width: 992px) === */
@media (min-width: 992px) {
  .reunion-ver-layout {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }

  .reunion-ver-sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
  }

  .reunion-ver-card {
    padding: 32px;
  }

  .reunion-avatar-wrapper-lg {
    width: 100px;
    height: 100px;
  }

  .reunion-avatar-outer-lg {
    width: 100px;
    height: 100px;
  }

  .reunion-avatar-inner-lg {
    width: 50px;
    height: 50px;
  }

  .reunion-iniciales-lg {
    font-size: 36px;
  }

  .reunion-ver-content {
    flex: 1;
  }

  .reunion-detalles-card,
  .reunion-notas-card {
    padding: 32px;
  }
}

/* === TABLET RESPONSIVE (min-width: 768px) === */
@media (min-width: 768px) and (max-width: 991px) {
  .reunion-ver-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
  }

  .reunion-avatar-container {
    margin-bottom: 0;
  }

  .reunion-contacto-info {
    text-align: left !important;
    flex: 1;
  }

  .reunion-color-bar-full {
    display: none;
  }
}

/* === FIN REUNIONES === */

@media (min-width: 768px) {
  .empresa-logo-box {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* === EMAIL - START === */

.bar-email {
  font-size: 1;
  margin: 0px 0px;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--bs-yellow) 0% 33%,
    var(--bs-red) 33% 66%,
    var(--bs-blue) 66% 100%
  );
}

/* === EMAIL - END === */

/* === ÁREA PRIVADA - START === */
/* Hero Section */
.area-privada-hero {
  position: relative;
  min-height: 619px;
  padding: 20px 16px 60px;
  background-color: #253e80;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

/* Video de fondo para hero del área privada */
.hero-background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Ocultar controles del video */
.hero-background-video::-webkit-media-controls,
.hero-background-video::-webkit-media-controls-panel,
.hero-background-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.area-privada-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #253e80;
  opacity: 0.34;
  z-index: 1;
}

/* Gradiente lateral - igual que en home */
.area-privada-hero .hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 80%
  );
  z-index: 2;
}

.area-privada-content {
  position: relative;
  z-index: 3;
}

/* User Header (dos columnas) */
.user-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-block: 30px;
}

/* User Greeting Section */
.user-greeting {
  flex: 1;
}

.greeting-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  color: white;
  margin-bottom: 8px;
  font-style: italic;
}

/* Flag lines debajo del título */
.greeting-flag-lines {
  width: inherit;
  max-width: 150px;
  margin-bottom: 16px;
}

.welcome-text {
  margin-bottom: 12px;
}

.welcome-text p {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: white;
  margin-bottom: 0;
  max-width: 199px;
}

.link-puntos {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: white;
  text-decoration: underline;
  text-decoration-thickness: 10%;
  text-underline-offset: 16%;
  display: inline-block;
}

.link-puntos:hover {
  color: white;
  opacity: 0.8;
}

/* Badge de Puntos */
.puntos-badge {
  flex-shrink: 0;
  width: 117px;
  height: 117px;
  position: relative;
  aspect-ratio: 1/1;
  align-self: center;
}

.puntos-circle-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 117px;
  height: 117px;
  transform: rotate(-90deg);
}

.puntos-progress-bg {
  opacity: 0.35;
}

.puntos-progress-fill {
  /* opacity: 1; */
  transition: stroke-dashoffset 0.5s ease;
  /* stroke-linecap: round; */
}

.puntos-progress-fill.halo-pulse {
  filter: drop-shadow(rgba(249, 177, 8, 0.925) 0px 0px 2px);
  animation: haloPulse 2.6s ease-in-out infinite;
}

@keyframes haloPulse {
  0% {
    filter: drop-shadow(rgba(249, 177, 8, 0.0) 0 0 0);
  }
  40% {
    filter: drop-shadow(rgba(249, 177, 8, 0.925) 0 0 3px);
  }
  60% {
    filter: drop-shadow(rgba(249, 177, 8, 0.925) 0 0 3px);
  }
  100% {
    filter: drop-shadow(rgba(249, 177, 8, 0.0) 0 0 0);
  }
}

.puntos-particles circle {
  transform-box: fill-box;
  transform-origin: center;
  pointer-events: none;
}

.puntos-content {
  position: absolute;
  top: 7px;
  left: -3px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.puntos-numero {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 24px;
  color: white;
  font-style: italic;
}

.puntos-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: white;
  font-style: italic;
  text-align: center;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 1rem;
}

/* Card Ventana */
.card-ventana {
  background: linear-gradient(90deg, #2795dd 0%, #03619e 99.89%);
  border: 1px solid white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  opacity: 0.9;
  min-height: 141px;
}

.card-ventana .card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: white;
  margin-bottom: 12px;
}

.card-ventana .card-title .italic {
  font-style: italic;
}

.card-ventana .card-description {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: white;
  margin-bottom: 16px;
  max-width: 329px;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  padding-block: 10px;
}

.progress-fill {
  position: absolute;
  height: 100%;
  width: 0%;
  background: #58da78;
  transition: width 0.3s ease;
}

.progress-text {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 10px;
  line-height: 10px;
  color: white;
}

/* Card Mapa */
.card-mapa {
  background: linear-gradient(90deg, #2795dd 0%, #03619e 99.89%);
  border: 1px solid white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 141px;
}

.card-mapa .card-content {
  flex: 1;
}

.card-mapa .card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: white;
  margin-bottom: 12px;
}

.card-mapa .card-title .italic {
  font-style: italic;
}

.card-mapa .card-description {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: white;
  margin-bottom: 0;
  max-width: 199px;
}

.card-map-image {
}

.card-map-image img {
  height: 111px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.action-btn {
  flex: 1;
  /* max-width: 150px; */
  background: linear-gradient(90deg, #2795dd 0%, #03619e 99.89%);
  border: 1px solid white;
  border-radius: 15px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.9;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  min-height: 81px;
}

.action-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.action-btn .btn-icon {
  width: 41px;
  height: 41px;
  object-fit: contain;
}

.action-btn span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: white;
  text-align: center;
}

/* Modal Puntos */
.modal-puntos {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-puntos-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #212121;
  opacity: 0.75;
  z-index: 1;
}

.modal-puntos-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 370px;
  height: auto;
  max-height: calc(100vh - 32px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-puntos-card {
  position: relative;
  width: 100%;
  min-height: 620px;
  background: radial-gradient(110% 90% at 50% 20%, #0e8bdc 0%, #0a5f9c 55%, #053d65 100%);
  opacity: 0.98;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  padding: 50px 22px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}
.modal-puntos-card .modal-puntos-title {
  font-family: "Flowers Of Nineties", "Manrope", serif;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  color: #ffffff;
  margin: 0 0 10px;
}
.modal-puntos-card .modal-puntos-description {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #eaf5ff;
  text-align: left;
  margin-bottom: 14px;
}
.modal-puntos-list {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  margin: 0 0 16px 10px;
  padding-left: 14px;
}
.modal-puntos-list li {
  margin-bottom: 10px;
}
.modal-puntos-list em {
  font-style: italic;
  color: #ffe8a3;
}
.modal-medallas {
  width: 100%;
}
.modal-medallas img {
  max-width: 200px;
  height: auto;
}

.modal-medallas-steps {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}
.modal-medalla-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 0px 10px 0px;
}
.modal-medalla-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.modal-medalla-item p {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
}
.modal-medalla-item span {
  font-style: italic;
}

.modal-puntos-close {
  position: absolute;
  top: 17px;
  right: 17px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  color: white;
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}

.modal-puntos-close:hover {
  opacity: 0.8;
}

.modal-puntos-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  color: white;
  text-align: center;
  font-style: italic;
  margin: 0;
  padding-top: 8px;
}

.modal-puntos-description {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: white;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 24px;
}

/* Modal Ayuda */
#modal-ayuda .modal-puntos-card {
  max-width: 420px;
  min-height: 0;
  padding: 44px 26px 32px;
  background: radial-gradient(110% 90% at 50% 18%, #0e8bdc 0%, #0a5f9c 55%, #053d65 100%);
}

#modal-ayuda .modal-puntos-title {
  font-size: 26px;
  line-height: 28px;
  margin-bottom: 10px;
}

#modal-ayuda .modal-puntos-description {
  text-align: left;
  margin-bottom: 10px;
}

.modal-ayuda-hero {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-ayuda-personas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-ayuda-mapa {
  width: 100%;
  display: flex;
  justify-content: center;
}

.modal-ayuda-mapa-img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Modal QR - Pasos */
.modal-qr-pasos {
  text-align: left;
  margin-top: 1.5rem;
}

.modal-qr-pasos p {
  color: white;
  font-family: var(--font-base);
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 0.5rem;
}

.modal-qr-pasos p:last-child {
  margin-bottom: 0;
}

.modal-qr-pasos strong {
  color: white;
}

/* Modal QR - Botón Cámara */
.modal-qr-btn-camara {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 200px;
  margin: 2rem auto 0;
  padding: 12px 20px;
  background: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.modal-qr-btn-camara:hover {
  opacity: 0.9;
}

.modal-qr-btn-camara .btn-camara-icon {
  width: 24px;
  height: 24px;
}

.modal-qr-btn-camara span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: #03619e;
}

/* Modal Mapa Interactivo */
.modal-mapa-content {
  max-width: 90%;
  max-height: calc(100vh - 32px);
}

.modal-mapa-card {
  background: radial-gradient(130% 110% at 50% 20%, #0e8bdc 0%, #0a5f9c 55%, #053d65 100%);
  border-radius: 28px;
  padding: 50px 18px 32px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #ffffff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

.modal-mapa-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 22px;
  overflow: hidden;
}

.modal-mapa-image {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.modal-mapa-card h2 {
  font-family: "Flowers Of Nineties", "Manrope", serif;
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin: 0 0 10px;
}
.modal-mapa-card p {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  margin: 0 0 12px;
  color: #eaf5ff;
}

/* ============================================
   ÁREA PRIVADA HERO ANIMATIONS
   ============================================ */

/* Título de saludo */
.area-privada-hero .greeting-title {
  animation: heroFadeInUp 0.8s ease-out forwards;
}

/* Flag lines */
.area-privada-hero .greeting-flag-lines {
  animation: heroFadeInUp 0.8s ease-out 0.1s forwards;
  opacity: 0;
}

/* Texto de bienvenida */
.area-privada-hero .welcome-text {
  animation: heroFadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

/* Link ¿Cómo conseguir puntos? */
.area-privada-hero .link-puntos {
  animation: heroFadeInUp 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

/* Badge de puntos - entra desde la derecha */
.area-privada-hero .puntos-badge {
  animation: heroSlideInRight 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

/* Cards grid - stagger effect */
.area-privada-hero .card-ventana {
  animation: heroFadeInUp 0.8s ease-out 0.5s forwards;
  opacity: 0;
}

.area-privada-hero .card-mapa {
  animation: heroFadeInUp 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

/* Botones de acción - stagger */
.area-privada-hero .action-btn:nth-child(1) {
  animation: heroFadeInUp 0.6s ease-out 0.7s forwards;
  opacity: 0;
}

.area-privada-hero .action-btn:nth-child(2) {
  animation: heroFadeInUp 0.6s ease-out 0.8s forwards;
  opacity: 0;
}

.area-privada-hero .action-btn:nth-child(3) {
  animation: heroFadeInUp 0.6s ease-out 0.9s forwards;
  opacity: 0;
}

/* Hover en cards */
.area-privada-hero .card-ventana,
.area-privada-hero .card-mapa {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-privada-hero .card-ventana:hover,
.area-privada-hero .card-mapa:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Hover en botones de acción */
.area-privada-hero .action-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-privada-hero .action-btn:hover {
  transform: translateY(-2px);
}

/* Accesibilidad - reduced motion */
@media (prefers-reduced-motion: reduce) {
  .area-privada-hero .greeting-title,
  .area-privada-hero .greeting-flag-lines,
  .area-privada-hero .welcome-text,
  .area-privada-hero .link-puntos,
  .area-privada-hero .puntos-badge,
  .area-privada-hero .card-ventana,
  .area-privada-hero .card-mapa,
  .area-privada-hero .action-btn {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* === ÁREA PRIVADA - END === */

/* === MAPA DE VENTANAS - START === */
.mapa-ventanas-section {
  padding: 60px 0;
  background-image: url("/img/efecto-de-superposicion-de-sombras-realistas.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mapa-ventanas-content {
  max-width: 100%;
}

/* Header */
.mapa-ventanas-header {
  margin-bottom: 30px;
}

.mapa-ventanas-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  color: #212121;
  margin-bottom: 16px;
}

.ventanas-subsection-title {
  color: var(--bs-dark-primary);
  font-family: var(--font-display);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 150% */
}

.ventanas-points {
  font-style: italic;
  font-weight: 400;
}

.mapa-ventanas-description {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #212121;
  margin-bottom: 0;
}

/* Grid de Ventanas */
.ventanas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.ventana-btn {
  background-color: #212121;
  border: none;
  border-radius: 15px;
  min-height: 81px;
  padding: 16px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ventana-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ventana-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.ventana-btn:hover::before {
  opacity: 1;
}

.ventana-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ventana-btn-title {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: white;
  text-align: center;
}

.ventana-btn-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

/* Estados de las ventanas */
.ventana-btn[data-status="abiertos"] {
  background: linear-gradient(135deg, var(--bs-yellow) 0%, #e5a007 100%);
  color: #212121;
  box-shadow: 0 4px 15px rgba(249, 177, 8, 0.3);
}

.ventana-btn[data-status="abiertos"]:hover {
  box-shadow: 0 8px 30px rgba(249, 177, 8, 0.5);
}

.ventana-btn[data-status="abiertos"] .ventana-btn-title {
  color: #212121;
}

.ventana-btn[data-status="desbloqueados"] .ventana-btn-title {
  animation: parpadeo-ventana 2.5s linear infinite;
}

.ventana-btn[data-status="desbloqueados"] {
  background: #0256a3;
  box-shadow: 0 8px 30px rgba(39, 149, 221, 0.5);
}

.ventana-btn[data-status="desbloqueados"]:hover {
  box-shadow: 0 8px 30px rgba(39, 149, 221, 0.5);
}

.ventana-btn[data-status="bloqueados"] {
  background-color: #212121;
  opacity: 0.7;
  cursor: not-allowed;
}

.ventana-btn[data-status="bloqueados"]:hover {
  transform: none;
  box-shadow: none;
}

@keyframes parpadeo-ventana {
  0% {
    scale: 1;
    /* background: #0256a3;
    box-shadow: 0 8px 30px rgba(39, 149, 221, 0.5); */
  }
  50% {
    scale: 0.8;
    /* background: #e5a007;
    box-shadow: 0 4px 15px rgba(249, 177, 8, 0.3); */
    /* color: #212121; */
  }
  100% {
    scale: 1;
    /* background: #0256a3;
    box-shadow: 0 8px 30px rgba(39, 149, 221, 0.5); */
  }
}

.ventana-btn[data-status="bloqueados"]::before {
  display: none;
}

.ventana-btn.estado-pendiente {
  background: linear-gradient(135deg, #ffe5b5 0%, #ffd699 100%);
  color: #cc7000;
  animation: pulse-pending 1.5s ease-in-out infinite;
}

@keyframes pulse-pending {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(255, 165, 0, 0.6);
  }
}

/* Leyenda */
.ventanas-leyenda {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: start;
  margin-bottom: 30px;
}

.leyenda-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.leyenda-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.leyenda-circle.abiertos {
  background-color: var(--bs-yellow);
}

.leyenda-circle.desbloqueados {
  background-color: var(--bs-blue);
}

.leyenda-circle.bloqueados {
  background-color: var(--bs-dark-primary);
}

.leyenda-text {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: #212121;
}

/* Grid de Medallas */
.medallas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.medalla-btn {
  background-color: #d9d9d9;
  border: none;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 800;
  min-height: 81px;
  padding: 16px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.medalla-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.medalla-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.medalla-text {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
  color: #b8b8b8;
  text-align: center;
}

.medalla-btn[data-status="desbloqueados"] {
  background-color: #f5f5f5;
}

.medalla-btn[data-status="bloqueados"] {
  background-color: #d9d9d9;
}

.medallas-link {
  text-align: left;
  margin-top: 15px;
}

.link-medallas {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: #212121;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.link-medallas:hover {
  color: #000;
  text-decoration: underline;
}

/* === MAPA DE VENTANAS - END === */

/* === quiz SECTION - START === */
.quiz-section {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.quiz-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/img/area-privada/quiz-background.jpg");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.quiz-content {
  position: relative;
  z-index: 1;
}

.quiz-card {
  background: linear-gradient(90deg, #2795dd 0%, #03619e 99.89%);
  border: 2px solid white;
  border-radius: 15px;
  padding: 30px 20px;
  opacity: 0.9;
  position: relative;
  max-width: 100%;
}

.quiz-card-main {
  position: static;
}

/* Título */
.quiz-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: white;
  margin-bottom: 12px;
}

/* Líneas decorativas */
.quiz-flag-lines {
  width: 100%;
  max-width: 177px;
  margin-bottom: 20px;
}

.quiz-flag-lines .yellow,
.quiz-flag-lines .red,
.quiz-flag-lines .white,
.quiz-flag-lines .blue {
  height: 5px;
}

/* Badge de puntos */
.quiz-badge {
  position: absolute;
  top: 20px;
  right: 14px;
  width: 91px;
  height: 91px;
}

.quiz-badge-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.quiz-badge-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.quiz-badge-label {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  line-height: 24px;
  color: white;
  font-style: italic;
}

.quiz-badge-points {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  line-height: 13px;
  color: white;
  font-style: italic;
}

.quiz-badge-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 12px;
  line-height: 25px;
  color: white;
  font-style: italic;
}

/* Descripción */
.quiz-description {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: white;
  margin-bottom: 20px;
  width: 100%;
}

/* Botón */
.quiz-btn {
  width: 100%;
  padding: 15px 20px;
  background-color: var(--bs-yellow);
  color: #212121;
  border: none;
  border-radius: 6px;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-bottom: 20px;
}

.quiz-btn:disabled,
.quiz-btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.quiz-btn:hover {
  background-color: #e0a007;
  transform: translateY(-2px);
}

.quiz-retries {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-direction: column;
}

.resumen-icon {
  text-align: end;
}

.resumen-check {
  width: 30px;
  height: auto;
}

.header-puntuacion .resumen-title {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.1rem;
}

.quiz-attempts {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  color: #ffffff;
  margin-top: -8px;
}


.quiz-attempts-number {
  font-weight: 300;
  font-size: 20px;
  line-height: 20px;
  margin-right: 2px;
}

.quiz-attempts-text {
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  color: #ffffff;
}

/* Bottom Flag de la card */
.quiz-bottom-flag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0 0 13px 13px;
}

/* === quiz SECTION - END === */

/** QUIZ */
.main_container_quiz,
.quiz_portada,
.quiz_portada .offcanvas,
.gradient_background {
  background: var(--bs-white) url(../img/background-agenda.jpg) no-repeat center
    center / cover;
}

.main_container_quiz {
  position: relative;
  width: 100dvw;
  height: 100dvh;
}

.main_container_quiz,
.load_game .wrapp {
  border-bottom: 10px solid var(--bs-red);
}

.main_container_quiz:before,
.main_container_quiz:after,
.load_game .wrapp:before,
.load_game .wrapp:after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 33.33%;
  height: 10px;
  z-index: 1;
}

.main_container_quiz:before,
.load_game .wrapp:before {
  left: 0;
  background-color: var(--bs-yellow);
}

.main_container_quiz:after,
.load_game .wrapp:after {
  right: 0;
  background-color: var(--bs-blue);
}

.contador_global {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bs-primary);
}

.contador_global svg * {
  stroke: var(--bs-yellow) !important;
}

.compartir-all {
  position: absolute;
  margin-top: 10px;
  /* top: 24%;
  right: 19%; */
  right: 4px;
  /* margin-right: 5px; */
  transition: 1s;
  background-color: var(--bs-white) !important;
  padding: .5rem;
  border-radius: 10px;
  /* left: 0px; */
  border: 2px solid #0e79bf;
}

/* MEDIA QUERIES **/
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .compartir-all {
    position: absolute;
    margin-top: 10px;
    /* top: 24%;
    right: 19%; */
    right: auto;
    /* margin-right: 5px; */
    transition: 1s;
    background-color: var(--bs-white) !important;
    padding: .5rem;
    border-radius: 10px;
    /* left: 0px; */
    border: 2px solid #0e79bf;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* Quiz Section - Tablet: solo ajustes de tamaño, mantenemos layout mobile */
  .quiz-section {
    padding: 80px 0;
  }

  .compartir-all {
    position: absolute;
    margin-top: 10px;
    /* top: 24%;
    right: 19%; */
    right: auto;
    /* margin-right: 5px; */
    transition: 1s;
    background-color: var(--bs-white) !important;
    padding: .5rem;
    border-radius: 10px;
    /* left: 0px; */
    border: 2px solid #0e79bf;
  }

  .quiz-attempts {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    color: #ffffff;
  }

  .quiz-attempts-number {
    font-weight: 300;
    font-size: 24px;
    line-height: 18px;
    margin-right: 2px;
  }

  .quiz-attempts-text {
    font-weight: 300;
    font-size: 24px;
    line-height: 18px;
    color: #ffffff;
  }

  .quiz-card {
    max-width: 800px;
    padding: 50px 60px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    margin: 0 auto;
  }

  .quiz-title {
    font-size: 28px;
    line-height: 32px;
  }

  .quiz-badge {
    position: relative;
    width: 180px;
    height: 180px;
    top: -40px;
    right: 15px;
    flex-shrink: 0;
    align-self: flex-start;
  }

  .quiz-badge-points {
    font-size: 45px;
    line-height: 45px;
    font-weight: 700;
  }

  /* Registro */
  .registro-card {
    max-width: 640px;
  }
  .registro-body {
    padding: 16px 38px 32px;
  }

  /* Slider Cards */
  .slider-cards:not(.slider-cards--mobile-only) {
    padding: 0 40px;
  }

  .slider-cards--mobile-only .slider-card-item {
    padding: 0 15px 0 0;
  }

  /* Área Privada - Tablet */
  .area-privada-hero {
    min-height: auto;
    padding: 40px 16px 60px;
  }

  .greeting-title {
    font-size: 32px;
    line-height: 36px;
  }

  .welcome-text p {
    font-size: 16px;
    line-height: 24px;
    max-width: 300px;
  }

  .link-puntos {
    font-size: 16px;
  }

  .puntos-badge {
    width: 140px;
    height: 140px;
  }

  .puntos-circle-progress {
    width: 140px;
    height: 140px;
  }

  .puntos-numero {
    font-size: 42px;
  }

  .puntos-label {
    font-size: 16px;
  }

  .cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .card-ventana,
  .card-mapa {
    min-height: 160px;
  }

  .card-ventana .card-title,
  .card-mapa .card-title {
    font-size: 22px;
    line-height: 26px;
  }

  .card-ventana .card-description,
  .card-mapa .card-description {
    font-size: 15px;
    line-height: 22px;
  }

  .action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }

  .action-btn {
    min-height: 100px;
    flex: 0 1 200px;
    max-width: 200px;
  }

  /* Mapa de Ventanas - Tablet */
  .mapa-ventanas-section {
    padding: 80px 0;
  }

  .mapa-ventanas-title {
    font-size: 28px;
    line-height: 32px;
  }

  .mapa-ventanas-description {
    font-size: 16px;
    line-height: 24px;
  }

  .ventanas-grid {
    gap: 20px;
  }

  .ventana-btn {
    min-height: 100px;
  }

  .ventana-btn-title {
    font-size: 18px;
    line-height: 22px;
  }

  .quiz-retries {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 160%;
    justify-content: space-between;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Quiz Section - Desktop */
  .quiz-section {
    padding: 100px 0;
  }

  .quiz-retries {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 140%;
    justify-content: space-between;
    flex-direction: row;
  }

  .quiz-card {
    max-width: 800px;
    padding: 50px 60px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    margin: 0 auto;
  }

  .quiz-card-main {
    display: flex;
    flex-direction: column;
    position: static;
    padding-right: 0;
  }

  .quiz-title {
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 16px;
  }

  .quiz-flag-lines {
    max-width: 220px;
    margin-bottom: 24px;
  }

  .quiz-description {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 30px;
    max-width: 450px;
  }

  .quiz-btn {
    max-width: 340px;
    padding: 18px 32px;
    font-size: 18px;
    margin-bottom: 0;
  }

  .quiz-badge {
    position: relative;
    /* top: auto;
    right: auto; */
    width: 160px;
    height: 160px;
    top: -40px;
    right: -10px;
    flex-shrink: 0;
    align-self: flex-start;
  }

  .quiz-badge-circle {
    padding: 8px;
  }

  /* .quiz-badge-circle circle {
    opacity: 1 !important;
    stroke-width: 8 !important;
  } */

  .quiz-badge-label {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 0;
  }

  .quiz-badge-points {
    font-size: 40px;
    line-height: 30px;
    font-weight: 700;
  }

  .quiz-badge-text {
    font-size: 20px;
    line-height: 25px;
    margin-top: 0;
  }

  /* HERO SECTION DESKTOP */
  .hero-section {
    min-height: 582px;
  }

  .hero-image {
    height: 100%;
  }

  .hero-content {
    padding: 80px 0 0;
  }

  .hero-content .row {
    min-height: 502px;
    position: relative;
  }

  .hero-title {
    margin-bottom: 24px;
    font-size: 52px !important;
    line-height: 56px;
  }

  .hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    line-height: 28px;
    font-weight: 400;
    font-style: normal;
    max-width:365px;
  }

  .btn-hero {
    width: auto;
    max-width: none;
  }

  .hero-content .col-lg-6:has(.hero-card--desktop) {
    position: static;
  }

  .hero-card--desktop {
    position: absolute;
    bottom: -66px;
    right: 15px;
    width: calc(50% - 30px);
    max-width: 390px;
    margin-bottom: 0;
    /* Ajuste para animación con position absolute */
    animation: heroSlideInRight 0.8s ease-out 0.5s forwards;
    opacity: 0;
    transition: bottom 0.3s ease, box-shadow 0.3s ease;
  }

  .hero-card--desktop:hover {
    bottom: -69px; /* 4px arriba */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: none; /* Evitar conflicto con transform del hover general */
  }

  /* Desktop: Show as grid when slider is unslicked */
  .slider-cards--mobile-only {
    display: grid;
    gap: 30px;
  }

  .slider-cards--mobile-only.slider-cards--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .slider-cards--mobile-only.slider-cards--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .slider-cards--mobile-only.slider-cards--cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .slider-cards--mobile-only .slider-card-item {
    padding: 0;
  }

  /* Imagen más ancha en desktop */
  .noticia-card .mb-3 .w-100 {
    width: 100% !important;
    max-width: 100%;
    border-radius: 6px 6px 0 0;
  }

  /* Evento cards más anchas en desktop */

  .evento-card {
  }

  .evento-card-image {
    height: 190px !important;
  }

  /* Eventos section: distribute cards with space-between */
  .eventos-section .slider-cards--mobile-only {
    display: flex;
    justify-content: space-between;
    gap: 0;
  }

  .eventos-section .slider-cards--mobile-only .slider-card-item {
    flex: 0 1 auto;
    max-width: 360px;
  }

  .slider-cards:not(.slider-cards--mobile-only) {
    padding: 0 50px;
  }

  /* FOOTER SECTION */
  /* Franja decorativa visible en desktop */
  .footer-stripe {
    display: flex;
  }

  /* Container en 3 columnas */
  .footer-container {
    padding: 50px 15px 30px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 40px;
    align-items: start;
  }

  /* Columna izquierda */
  .footer-left {
    align-items: flex-start;
    text-align: left;
    gap: 30px;
  }

  .footer-left .footer-logo-cv .logo-cv {
    width: 173.71px;
    height: 63.78px;
  }

  /* Navegación mobile oculta, desktop visible */
  .footer-nav--mobile {
    display: none;
  }

  /* Botón en desktop con ancho suficiente para el padding completo */
  .footer-cta {
    max-width: 100%;
    width: auto;
  }

  /* Logo GV mobile oculto, desktop visible */
  .footer-logo-gv--mobile {
    display: none;
  }

  /* Enlaces legales mobile ocultos */
  .footer-legal--mobile {
    display: none;
  }

  /* Copyright mobile oculto */
  .footer-copyright--mobile {
    display: none;
  }

  /* Redes sociales alineadas a la izquierda */
  .footer-social {
    margin-bottom: 0;
  }

  .social-icons {
    justify-content: flex-start;
    gap: 15px;
  }

  .social-icon {
    width: 25px;
    height: 25px;
  }

  /* Columna central visible */
  .footer-center {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .footer-nav--desktop {
    display: block;
  }

  .footer-center .footer-menu li {
    margin-bottom: 5px;
  }

  .footer-center .footer-link {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 54px;
  }

  /* Columna derecha visible */
  .footer-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: flex-end;
    justify-self: end;
  }

  .footer-logo-gv--desktop {
    display: block;
  }

  .footer-right .footer-logo-gv .logo-gv {
    width: 181px;
    height: 76px;
  }

  .footer-legal--desktop {
    display: block;
    width: 100%;
  }

  .footer-right .footer-legal-menu {
    text-align: left;
    width: 100%;
  }

  .footer-right .footer-legal-menu li {
    margin-bottom: 5px;
  }

  /* Copyright desktop visible y centrado */
  .footer-copyright--desktop {
    display: block;
    text-align: center;
    padding: 20px 0 30px;
  }

  .footer-copyright--desktop p {
    font-family: var(--font-base);
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
    color: var(--bs-text-white);
    margin: 0;
  }

  /* MAP SECTION DESKTOP */
  .map-wrapper {
    clear: both;
    margin-top: 0;
    position: relative;
    background-color: #ffffff;
  }

  .map-container {
    padding: 0;
    clear: both;
    position: relative;
    z-index: 1;
  }

  .map-section-desktop {
    padding-top: 355px;
    position: relative;
    z-index: auto;
  }

  .map-text-content {
    padding-right: 60px;
  }

  .map-title {
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 25px;
  }

  .map-description {
    font-size: 16px;
    line-height: 24px;
    max-width: 350px;
  }

  .map-image-wrapper img {
    max-width: 100%;
  }

  /* VENTANA PASAPORTE SECTION DESKTOP */
  .ventana-pasaporte-section-desktop {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  .palmera-decoration-desktop {
    position: absolute;
    z-index: 0;
    /* Ajusta estas posiciones según el diseño de Figma */
    left: 0;
    top: -6%;
    transform: translateY(0) rotate(4deg);
    overflow: hidden;
  }

  .palmera-img-desktop {
    width: 100%; /* Ajusta el tamaño según necesites */
    height: 100%;
  }

  .container-desktop {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: -250px;
    padding: 70px 80px;
  }

  /* Formas decorativas */
  .ventana-decorative-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  /* Círculos */
  .shape-circle {
    position: absolute;
    border-radius: 50%;
  }

  .shape-circle.shape-red-top {
    width: 180px;
    height: 180px;
    background-color: var(--bs-red);
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
  }

  .shape-circle.shape-yellow-left {
    width: 150px;
    height: 150px;
    background-color: var(--bs-yellow);
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
  }

  /* Triángulos */
  .shape-triangle {
    position: absolute;
    width: 0;
    height: 0;
  }

  .shape-triangle.shape-red-left {
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 180px solid var(--bs-red);
    top: 10%;
    left: 8%;
    transform: rotate(-30deg);
  }

  .shape-triangle.shape-blue-top {
    border-left: 180px solid transparent;
    border-right: 180px solid transparent;
    border-bottom: 200px solid var(--bs-blue);
    top: 15%;
    right: 8%;
    transform: rotate(25deg);
  }

  .shape-triangle.shape-blue-bottom {
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 250px solid var(--bs-blue);
    bottom: -50px;
    right: 15%;
    transform: rotate(15deg);
  }

  .shape-triangle.shape-yellow-right {
    border-left: 140px solid transparent;
    border-right: 140px solid transparent;
    border-bottom: 180px solid var(--bs-yellow);
    bottom: 20%;
    right: 5%;
    transform: rotate(-20deg);
  }

  /* Rectángulos */
  .shape-rectangle {
    position: absolute;
  }

  .shape-rectangle.shape-red-bottom {
    width: 120px;
    height: 100px;
    background-color: var(--bs-red);
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%) rotate(10deg);
  }

  /* Ventana container */
  .ventana-container-desktop {
    position: relative;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 266 / 345;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 auto;
    z-index: 10;
  }

  /* Video de fondo */
  .ventana-video-desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 95%;
    object-fit: cover;
    object-position: left center;
    z-index: 1;
    margin-left: 40px;
    margin-top: 10px;
    pointer-events: none;
    user-select: none;
  }

  /* Frame de ventana PNG overlay */
  .ventana-frame-desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .ventana-frame-img-desktop {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  /* Contenido textual */
  .ventana-content-desktop {
    text-align: center;
    padding: 0;
    position: relative;
    z-index: 10;
  }

  .ventana-title-desktop {
    font-size: 24px;
    line-height: 24px;
    color: #212121;
    margin-bottom: 16px;
  }

  .ventana-subtitle-desktop {
    font-family: var(--font-base);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--bs-blue);
    margin: 0 auto;
    max-width: 322px;
  }

  .ventana-cta-title-desktop {
    font-size: 32px;
    line-height: 36px;
    color: #212121;
    margin-bottom: 40px;
    margin-top:20px;
  }

  .ventana-content-desktop .btn {
    width: auto;
    max-width: none;
  }

  /* Paginator adjustments for desktop */
  .paginator-nav .pagination {
    justify-content: flex-end !important;
  }

  /* VER NOTICIA */
  /* Sección principal */
  .noticia-ver-section {
    padding: 40px 0 60px;
  }

  .noticia-ver-wrapper {
    margin: 0 auto;
  }

  /* Título principal */
  .noticia-ver-header {
    padding: 0 0 30px;
  }

  .noticia-ver-title {
    font-size: 48px;
    line-height: 56px;
  }

  /* Imagen principal */
  .noticia-ver-image-wrapper {
    padding: 0;
    margin-bottom: 30px;
  }

  /* Contenido */
  .noticia-ver-content {
    padding: 0;
  }

  /* Fecha */
  .noticia-ver-date {
    margin-bottom: 20px;
  }

  .noticia-ver-date-text {
    font-size: 14px;
  }

  /* Subtítulo */
  .noticia-ver-subtitle-wrapper {
    margin-bottom: 30px;
  }

  .noticia-ver-subtitle {
    font-size: 24px;
    line-height: 28px;
  }

  /* Cuerpo de la noticia */
  .noticia-ver-body {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 40px;
  }

  /* Botón compartir */
  .noticia-ver-share {
    justify-content: flex-start;
  }

  .btn-share {
    padding: 8px 40px;
    font-size: 16px;
  }

  /* Sección de últimas noticias */
  .ultimas-noticias-section {
    padding: 60px 0;
  }

  .ultimas-noticias-section .section-header {
    text-align: left;
  }

  .ultimas-noticias-section .font-display-24 {
    font-size: 32px;
    line-height: 36px;
  }

  .link-ver-todas {
    font-size: 16px;
  }

  .evento-card-button {
    display: inline-block;
    width: auto;
    max-width: 230px;
    margin-top: auto;
  }

  /* Ponente Card Desktop */
  .ponente-card {
    min-height: 220px;
  }

  .ponente-card-top {
    padding: 24px 20px 20px;
    gap: 16px;
  }

  .ponente-card-bottom {
    padding: 20px;
  }

  .ponente-avatar {
    width: 80px;
    height: 80px;
  }

  .ponente-logo {
    width: 42px;
    height: 42px;
  }

  .ponente-nombre {
    font-size: 24px;
    line-height: 28px;
  }

  .ponente-empresa,
  .ponente-cargo {
    font-size: 18px;
  }

  .ponente-fecha,
  .ponente-ubicacion {
    font-size: 18px;
  }

  .ponente-card-button {
    padding: 16px 45px;
    font-size: 18px;
  }

  /* Evento Page Desktop Layout */
  .evento-content {
    padding-top: 3rem;
  }

  .evento-hero-desktop {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    height: 370px;
  }

  .evento-hero-desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
  }

  /* Alinear botón a la derecha en desktop */
  #evento-page .col-lg-7 .d-flex.flex-column {
    height: 100%;
  }

  /* EMPRESAS SEARCH SECTION */
  .empresas-filtros {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
  }

  /* Los campos de búsqueda y selects se reparten el espacio equitativamente */
  .empresas-filtros > .search-wrapper,
  .empresas-filtros > .select-wrapper {
    flex: 1;
    margin-bottom: 0 !important;
  }

  /* El botón mantiene su ancho fijo */
  .empresas-filtros > .mb-4 {
    flex: 0 0 auto;
    margin-bottom: 0 !important;
  }

  /* Área Privada - Desktop */
  .area-privada-hero {
    min-height: auto;
    padding: 60px 16px 80px;
  }

  .user-header {
    margin-bottom: 50px;
  }

  .greeting-title {
    font-size: 48px;
    line-height: 52px;
    margin-bottom: 12px;
  }

  .greeting-flag-lines {
    max-width: 250px;
    margin-bottom: 24px;
  }

  .welcome-text p {
    font-size: 18px;
    line-height: 28px;
    max-width: 500px;
  }

  .link-puntos {
    font-size: 18px;
  }

  .puntos-badge {
    width: 180px;
    height: 180px;
  }

  .puntos-circle-progress {
    width: 180px;
    height: 180px;
  }

  .puntos-numero {
    font-size: 52px;
    line-height: 52px;
  }

  .puntos-label {
    font-size: 18px;
  }

  .cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
  }

  .card-ventana,
  .card-mapa {
    padding: 34px;
  }

  .card-ventana .card-title,
  .card-mapa .card-title {
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 16px;
  }

  .card-ventana .card-description,
  .card-mapa .card-description {
    font-size: 16px;
    line-height: 24px;
    max-width: 100%;
  }

  .card-map-image {
    width: 70px;
    height: 90px;
  }

  .progress-bar {
    height: 12px;
  }

  .progress-text {
    font-size: 12px;
    line-height: 12px;
    right: 6px;
  }

  .action-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .action-btn {
    min-height: 120px;
    padding: 20px 12px;
    flex: 0 1 220px;
    max-width: 220px;
  }

  .action-btn .btn-icon {
    width: 50px;
    height: 50px;
  }

  .action-btn span {
    font-size: 16px;
  }

  /* Mapa de Ventanas - Desktop */
  .mapa-ventanas-section {
    padding: 100px 0;
  }

  .mapa-ventanas-header {
    margin-bottom: 40px;
  }

  .mapa-ventanas-title {
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 20px;
  }

  .mapa-ventanas-description {
    font-size: 18px;
    line-height: 28px;
  }

  .ventanas-grid {
    gap: 24px;
    margin-bottom: 40px;
  }

  .ventana-btn {
    min-height: 120px;
    padding: 20px 12px;
  }

  .ventana-btn-title {
    font-size: 20px;
    line-height: 24px;
  }

  .ventanas-leyenda {
    gap: 30px;
    justify-content: end;
  }

  .leyenda-circle {
    width: 16px;
    height: 16px;
  }

  .leyenda-text {
    font-size: 16px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Quiz Section - Large Desktop */

  .quiz-title {
    font-size: 40px;
    line-height: 46px;
  }

  .quiz-description {
    font-size: 17px;
    line-height: 24px;
    max-width: 500px;
  }

  .quiz-badge {
    width: 180px;
    height: 180px;
  }

  .quiz-badge-circle {
    padding: 10px;
  }

  /* .quiz-badge-circle circle {
    opacity: 0.7 !important;
    stroke-width: 4 !important;
  } */

  .quiz-badge-label {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 0;
  }

  .quiz-badge-points {
    font-size: 45px;
    line-height: 45px;
    font-weight: 700;
  }

  .quiz-badge-text {
    font-size: 20px;
    line-height: 22px;
    margin-top: 0;
  }

  .quiz-retries {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 145%;
    justify-content: space-between;
    flex-direction: row;
  }
}

/* Extra extra large devices (large desktops, 1400px and up) */
/* Los estilos de header se manejan en breakpoints diferenciados al final del archivo */

/* === PERFIL VIEW - MI PERFIL === */
/* Contenedor principal del perfil */
.perfil-wrap {
  min-height: 50vh;
  padding: 40px 12px 32px;
}

.perfil-card {
  max-width: 520px;
  margin: 0 auto;
  background: transparent;
  padding: 0;
}

/* Seccion de usuario */
.perfil-user-section {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
  align-items: flex-start;
}

/* Avatar */
.perfil-avatar-container {
  flex-shrink: 0;
}

.perfil-avatar {
  width: 89px;
  height: 89px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bs-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.perfil-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-blue);
  color: white;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
}

/* Informacion del usuario */
.perfil-info-container {
  flex: 1;
  min-width: 0;
}

.perfil-nombre {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #212121;
  margin-bottom: 12px;
}

.perfil-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.perfil-detail-item {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #212121;
  margin: 0;
  word-break: break-word;
}

/* Botones de accion */
.perfil-action-buttons {
  margin-top: 30px;
}

.btn-perfil-edit {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  width: 100%;
  padding: 15px 40px;
  border-radius: 6px;
  background: var(--bs-blue);
  color: white;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}

.btn-perfil-edit:hover {
  background: #0a5a8f;
  color: white;
}

/* Separador de franja */
.perfil-separator {
  margin: 0;
  padding: 0;
}

.perfil-separator .perfil-flag {
  margin: 0;
}

/* Footer del perfil */
.perfil-footer {
  background: var(--bs-blue);
  padding: 40px 0 50px;
  color: white;
}

.perfil-footer .container {
  max-width: 520px;
  text-align: center;
}

/* Logo CV en footer */
.perfil-footer-logo-cv {
  margin-bottom: 30px;
}

.perfil-logo-cv {
  height: 64px;
  width: auto;
}

/* Boton Cerrar Sesion */
.perfil-footer-cta {
  margin-bottom: 40px;
}

.btn-perfil-logout {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  width: 100%;
  max-width: 360px;
  padding: 15px 40px;
  border-radius: 6px;
  background: var(--bs-yellow);
  color: #212121;
  text-align: center;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  transition: background-color 0.3s ease;
}

.btn-perfil-logout:hover {
  background: #e0a007;
  color: #212121;
}

/* Logo GV en footer */
.perfil-footer-logo-gv {
  margin-bottom: 30px;
}

.perfil-logo-gv {
  height: 92px;
  width: auto;
}

/* Enlaces legales */
.perfil-footer-legal {
  margin-bottom: 25px;
}

.perfil-legal-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.perfil-legal-link {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: white;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-offset: 16%;
  text-decoration-thickness: 10%;
  text-underline-position: from-font;
  transition: opacity 0.3s ease;
}

.perfil-legal-link:hover {
  color: white;
  opacity: 0.8;
}

/* Copyright */
.perfil-footer-copyright {
  margin-bottom: 30px;
}

.perfil-footer-copyright p {
  font-family: var(--font-base);
  font-weight: 300;
  font-size: 14px;
  line-height: 18px;
  color: white;
  margin: 0;
}

/* Redes sociales en footer del perfil */
.perfil-footer-social {
  margin-top: 30px;
}

.perfil-social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.perfil-social-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: opacity 0.3s ease;
  filter: brightness(0) invert(1);
}

.perfil-social-icon:hover {
  opacity: 0.7;
}

.perfil-social-icon.facebook {
  background-image: url("../img/icons/facebook.svg");
}

.perfil-social-icon.twitter {
  background-image: url("../img/icons/x.svg");
}

.perfil-social-icon.instagram {
  background-image: url("../img/icons/instagram.svg");
}

.perfil-social-icon.youtube {
  background-image: url("../img/icons/youtube.svg");
}

.perfil-social-icon.tiktok {
  background-image: url("../img/icons/tiktok.svg");
}

/* === RESPONSIVE - PERFIL VIEW === */
/* Tablet (768px and up) */
@media (min-width: 768px) {
  .perfil-wrap {
    padding: 60px 24px 48px;
  }

  .perfil-card {
    max-width: 680px;
  }

  .perfil-user-section {
    gap: 30px;
    margin-bottom: 40px;
  }

  .perfil-avatar {
    width: 120px;
    height: 120px;
  }

  .perfil-nombre {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 16px;
  }

  .perfil-detail-item {
    font-size: 18px;
    line-height: 28px;
  }

  .perfil-footer {
    padding: 60px 0 60px;
  }

  .perfil-footer .container {
    max-width: 680px;
  }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
  .perfil-wrap {
    padding: 80px 24px 60px;
    min-height: 60vh;
  }

  .perfil-card {
    max-width: 900px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  }

  .perfil-user-section {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    align-items: start;
  }

  .perfil-avatar-container {
    text-align: center;
  }

  .perfil-avatar {
    width: 150px;
    height: 150px;
  }

  .perfil-nombre {
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 20px;
  }

  .perfil-details {
    gap: 8px;
  }

  .perfil-action-buttons {
    margin-top: 40px;
    text-align: left;
  }

  .btn-perfil-edit {
    max-width: 400px;
    margin: 0 auto;
    display: inline-block;
    width: auto;
    min-width: 300px;
  }

  /* Footer en desktop */
  .perfil-footer {
    padding: 80px 0 60px;
  }

  .perfil-footer .container {
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: left;
  }

  .perfil-footer-logo-cv {
    grid-column: 1 / 2;
    margin-bottom: 40px;
  }

  .perfil-footer-cta {
    grid-column: 1 / 2;
    margin-bottom: 40px;
  }

  .btn-perfil-logout {
    margin: 0;
  }

  .perfil-footer-logo-gv {
    grid-column: 1 / 2;
    margin-bottom: 40px;
  }

  .perfil-footer-legal {
    grid-column: 2 / 3;
    grid-row: 1 / 4;
    display: flex;
    align-items: start;
    justify-content: end;
    margin-bottom: 0;
  }

  .perfil-legal-menu {
    text-align: right;
  }

  .perfil-footer-copyright {
    grid-column: 1 / 3;
    text-align: center;
    margin-bottom: 30px;
  }

  .perfil-footer-social {
    grid-column: 1 / 3;
    margin-top: 0;
  }

  /* VER NOTICIA */
  .noticia-ver-wrapper {
    padding-inline: 200px;
  }

  /* AREA PRIVADA */
  .medallas-link {
    text-align: center;
  }

  .reunion-acciones {
    width: 25%;
  }
}

/* Large desktop (1200px and up) */
@media (min-width: 1200px) {
  .perfil-card {
    max-width: 1000px;
    padding: 50px 60px;
  }

  .perfil-user-section {
    grid-template-columns: 180px 1fr;
    gap: 50px;
  }

  .perfil-avatar {
    width: 180px;
    height: 180px;
  }

  .perfil-nombre {
    font-size: 36px;
    line-height: 40px;
  }

  .perfil-footer .container {
    max-width: 1000px;
  }
}
/* === FIN PERFIL VIEW === */

/* === PERFIL EDIT - EDITAR MI PERFIL === */
/* Contenedor principal del formulario de edicion */
.perfil-edit-wrap {
  min-height: 50vh;
  background: url("/img/efecto-de-superposicion-de-sombras-realistas.jpg")
    center center / cover no-repeat;
  padding: 40px 12px 32px;
}

.perfil-edit-form {
  max-width: 520px;
  margin: 0 auto;
}

.perfil-edit-card {
  background: transparent;
  padding: 0;
}

/* Seccion de foto de perfil (preview en la parte superior) */
.perfil-edit-photo-section {
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.perfil-edit-avatar-container {
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.perfil-edit-avatar-container:hover {
  transform: scale(1.05);
}

.perfil-edit-avatar {
  width: 89px;
  height: 89px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bs-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 89px;
  height: 89px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.perfil-edit-avatar-container:hover .avatar-overlay {
  opacity: 1;
}

.avatar-overlay span {
  color: white;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 0 8px;
}

.perfil-edit-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-blue);
  color: white;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
}

.perfil-edit-info-container {
  flex: 1;
  min-width: 0;
}

.perfil-edit-nombre {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #212121;
  margin-bottom: 12px;
}

.perfil-edit-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.perfil-edit-detail-item {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #212121;
  margin: 0;
  word-break: break-word;
}

/* Campos del formulario */
.perfil-edit-fields {
  margin-top: 20px;
}

/* Reutilizamos los estilos del registro para los form-floating */
.perfil-edit-wrap .form-floating {
  background: white;
  overflow: hidden;
  border: 1px solid #212121;
  border-radius: 6px;
}

.perfil-edit-wrap .form-floating label {
  font-family: var(--font-display);
  color: #212121;
}

.perfil-edit-wrap .form-control {
  border-radius: 0px;
  border: 0px solid #e9ecef;
}

.perfil-edit-wrap .form-select {
  min-height: 56px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 0px;
  border: 0px solid #e9ecef;
}

/* Floating label activo - igual que los otros inputs */
.perfil-edit-wrap .form-floating.has-value > label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Estilos Select2 para perfil-edit */
.perfil-edit-wrap .select2-container--default .select2-selection--single {
  height: auto !important;
  min-height: 56px !important;
  font-size: 16px !important;
  border: none !important;
  background: white !important;
  padding-left: 0px !important;
}

.perfil-edit-wrap .form-floating .select2-container {
  width: 100% !important;
}

.perfil-edit-wrap .form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 0.75rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

.perfil-edit-wrap .form-floating > .select2-container ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.perfil-edit-wrap
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding-left: 12px !important;
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
  line-height: 1.5 !important;
}

.perfil-edit-wrap
  .form-floating
  > .select2.select2-container.select2-container--default.form-control {
  padding-left: 0px !important;
  font-size: 16px !important;
}

.perfil-edit-wrap
  .select2-container--default:not(.select2-container--disabled)
  .select2-selection--single {
  background: white !important;
  padding-left: 0px !important;
}

.perfil-edit-wrap
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  width: 7px;
  height: 7px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  position: absolute;
  top: 22px;
  left: -5px;
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: #000;
}

.perfil-edit-wrap
  .select2-container--open
  .select2-selection--single
  .select2-selection__arrow
  b {
  transform: rotate(-135deg);
}

/* Estilos para el dropdown de Select2 */
.select2-container--default .select2-results__option {
  background-color: white !important;
  color: #212121 !important;
  padding: 12px 16px;
  font-family: var(--font-base);
  font-size: 16px;
}

.select2-container--default .select2-results__option--highlighted {
  background-color: #f0f0f0 !important;
  color: #212121 !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #0e79bf !important;
  color: white !important;
}

.select2-dropdown {
  background-color: white !important;
  border: 1px solid #212121 !important;
  border-radius: 6px !important;
}

.select2-results__options {
  background-color: white !important;
}

/* Grid de intereses para edicion */
.intereses-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 30px;
}

/* Boton de accion */
.perfil-edit-actions {
  margin-top: 30px;
}

/* === ESTILOS PARA SELECTS DEL PERFIL === */
/* Select con estilos de empresas_search */
.perfil-edit-wrap .select-wrapper {
  position: relative;
}

.perfil-edit-wrap .perfil-select {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 24px;
  height: 55px;
  padding: 0 45px 0 20px;
  border: 1px solid rgb(233, 233, 233);
  border-radius: 6px;
  background-color: rgb(233, 233, 233);
  color: #212121;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none !important;
}

.perfil-edit-wrap .perfil-select:focus {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 24px;
  height: 55px;
  padding: 0 45px 0 20px;
  border: 1px solid rgb(233, 233, 233);
  border-radius: 6px;
  background-color: rgb(233, 233, 233);
  color: #212121;
  outline: none;
  box-shadow: none;
}

/* Placeholder con el mismo color que el texto */
.perfil-edit-wrap .perfil-select option[value=""] {
  color: #212121;
  opacity: 1;
}

/* Todas las opciones con color negro */
.perfil-edit-wrap .perfil-select option {
  color: #212121;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
}

/* Icono de la flecha */
.perfil-edit-wrap .select-wrapper .select-icon {
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Select múltiple - ajustar altura automática */
.perfil-edit-wrap .perfil-select[multiple] {
  height: auto;
  min-height: 55px;
  padding: 12px 45px 12px 20px;
}

/* === RESPONSIVE - PERFIL EDIT === */
/* Tablet (768px and up) */
@media (min-width: 768px) {
  .perfil-edit-wrap {
    padding: 60px 24px 48px;
  }

  .perfil-edit-form {
    max-width: 680px;
  }

  .perfil-edit-photo-section {
    gap: 30px;
    margin-bottom: 30px;
  }

  .perfil-edit-avatar {
    width: 120px;
    height: 120px;
  }

  .avatar-overlay {
    width: 120px;
    height: 120px;
  }

  .perfil-edit-nombre {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 16px;
  }

  .perfil-edit-detail-item {
    font-size: 18px;
    line-height: 28px;
  }

  .intereses-edit-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
  .perfil-edit-wrap {
    padding: 80px 24px 60px;
    min-height: 60vh;
  }

  .perfil-edit-form {
    max-width: 900px;
  }

  .perfil-edit-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  }

  .perfil-edit-photo-section {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    align-items: start;
  }

  .perfil-edit-avatar-container {
    text-align: center;
  }

  .perfil-edit-avatar {
    width: 150px;
    height: 150px;
  }

  .avatar-overlay {
    width: 150px;
    height: 150px;
  }

  .avatar-overlay span {
    font-size: 14px;
  }

  .perfil-edit-nombre {
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 20px;
  }

  .perfil-edit-details {
    gap: 8px;
  }

  .perfil-edit-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
  }

  .perfil-edit-fields .mb-3 {
    margin-bottom: 0 !important;
  }

  .intereses-edit-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .perfil-edit-actions {
    text-align: center;
  }

  .perfil-edit-actions .submit-btn {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Large desktop (1200px and up) */
@media (min-width: 1200px) {
  .perfil-edit-form {
    max-width: 1000px;
  }

  .perfil-edit-card {
    padding: 50px 60px;
  }

  .perfil-edit-photo-section {
    grid-template-columns: 180px 1fr;
    gap: 50px;
  }

  .perfil-edit-avatar {
    width: 180px;
    height: 180px;
  }

  .avatar-overlay {
    width: 180px;
    height: 180px;
  }

  .avatar-overlay span {
    font-size: 16px;
  }

  .perfil-edit-nombre {
    font-size: 36px;
    line-height: 40px;
  }
}
/* === FIN PERFIL EDIT === */

/* === BADGES SUTILES DE ESTADO DE REUNIÓN === */
.reunion-estado-badge-subtle {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid;
  text-align: center;
}

/* Estado: Pendiente */
.reunion-estado-badge-subtle.pendiente {
  background-color: #eef3f9; /* Azul muy claro */
  border-color: #5f98cc; /* Azul claro */
  color: #0e79bf; /* Azul principal */
}

/* Estado: Aceptada/Confirmada */
.reunion-estado-badge-subtle.aceptada {
  background-color: #f0fdf4; /* Verde muy claro */
  border-color: #86efac; /* Verde claro */
  color: #22c55e; /* Verde */
}

/* Estado: Rechazada */
.reunion-estado-badge-subtle.rechazada {
  background-color: #fef2f2; /* Rojo muy claro */
  border-color: #fca5a5; /* Rojo claro */
  color: #ea503e; /* Rojo principal del proyecto */
}

/* Estado: Cancelada */
.reunion-estado-badge-subtle.cancelada {
  background-color: #f5f5f5; /* Gris claro */
  border-color: #d4d4d4; /* Gris medio */
  color: #666666; /* Gris oscuro */
}
/* === FIN BADGES SUTILES === */

/* ========================================
   PERFIL DE OTROS USUARIOS (Vista externa)
   Based on Figma design: Mobile-first approach
   ======================================== */

/* Contenedor principal del perfil de otro usuario */
.usuarios.ver .perfil-other-wrap,
.perfil-other-wrap {
  min-height: 50vh !important;
  padding: 40px 0 !important;
  background: white !important;
  margin: 0 !important;
}

/* Seccion de usuario */
.usuarios.ver .perfil-other-user-section,
.perfil-other-user-section {
  display: flex !important;
  gap: 18px !important;
  margin-bottom: 30px !important;
  align-items: flex-start !important;
}

/* Avatar */
.usuarios.ver .perfil-other-avatar-container,
.perfil-other-avatar-container {
  flex-shrink: 0 !important;
}

.usuarios.ver .perfil-other-avatar,
.perfil-other-avatar {
  width: 89px !important;
  height: 89px !important;
  min-height: 89px;
  min-width: 89px;
  max-width: 89px;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid var(--bs-blue) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.usuarios.ver .perfil-other-avatar-placeholder,
.perfil-other-avatar-placeholder {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--bs-blue) !important;
  color: white !important;
  font-family: var(--font-display) !important;
  font-size: 32px !important;
  font-weight: 700 !important;
}

/* Informacion del usuario */
.usuarios.ver .perfil-other-info-container,
.perfil-other-info-container {
  flex: 1 !important;
  min-width: 0 !important;
}

.usuarios.ver .perfil-other-nombre,
.perfil-other-nombre {
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 24px !important;
  color: #212121 !important;
  margin-bottom: 12px !important;
  margin-top: 0 !important;
}

.usuarios.ver .perfil-other-details,
.perfil-other-details {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.usuarios.ver .perfil-other-detail-item,
.perfil-other-detail-item {
  font-family: var(--font-base) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  color: #212121 !important;
  margin: 0 !important;
  word-break: break-word !important;
}

/* Boton Proponer reunion */
.usuarios.ver .perfil-other-action-buttons,
.perfil-other-action-buttons {
  margin-top: 30px !important;
  margin-bottom: 40px !important;
}

.perfil-other-action-buttons {
  display: flex !important;
  gap: 15px !important;
  flex-direction: column !important;
}

.usuarios.ver .btn-perfil-other-reunion,
.btn-perfil-other-reunion {
  font-family: var(--font-base) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 20px !important;
  width: 100% !important;
  max-width: 400px !important;
  padding: 15px 40px !important;
  border-radius: 6px !important;
  background: var(--bs-blue) !important;
  color: white !important;
  text-align: center !important;
  text-decoration: none !important;
  display: block !important;
  margin: 0 auto !important;
  transition: background-color 0.3s ease !important;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15) !important;
}

.usuarios.ver .btn-perfil-other-reunion:hover,
.btn-perfil-other-reunion:hover {
  background: #0a5a8f !important;
  color: white !important;
}

/* Separador de franja */
.usuarios.ver .perfil-other-separator,
.perfil-other-separator {
  margin: 0 !important;
  padding: 0 !important;
}

/* Footer del perfil de otro usuario */
.usuarios.ver .perfil-other-footer,
.perfil-other-footer {
  background: var(--bs-blue) !important;
  padding: 40px 0 50px !important;
  color: white !important;
}

.usuarios.ver .perfil-other-footer .container,
.perfil-other-footer .container {
  max-width: 360px !important;
  padding: 0 15px !important;
  text-align: center !important;
}

/* Logo CV en footer */
.usuarios.ver .perfil-other-footer-logo-cv,
.perfil-other-footer-logo-cv {
  margin-bottom: 30px !important;
}

.usuarios.ver .perfil-other-logo-cv,
.perfil-other-logo-cv {
  height: 64px !important;
  width: auto !important;
}

/* Boton Cerrar Sesion */
.usuarios.ver .perfil-other-footer-cta,
.perfil-other-footer-cta {
  margin-bottom: 40px !important;
}

.usuarios.ver .btn-perfil-other-logout,
.btn-perfil-other-logout {
  font-family: var(--font-base) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  line-height: 20px !important;
  width: 100% !important;
  max-width: 360px !important;
  padding: 15px 40px !important;
  border-radius: 6px !important;
  background: var(--bs-yellow) !important;
  color: #212121 !important;
  text-align: center !important;
  text-decoration: none !important;
  display: block !important;
  margin: 0 auto !important;
  transition: background-color 0.3s ease !important;
}

.usuarios.ver .btn-perfil-other-logout:hover,
.btn-perfil-other-logout:hover {
  background: #e0a007 !important;
  color: #212121 !important;
}

/* Logo GV en footer */
.usuarios.ver .perfil-other-footer-logo-gv,
.perfil-other-footer-logo-gv {
  margin-bottom: 30px !important;
}

.usuarios.ver .perfil-other-logo-gv,
.perfil-other-logo-gv {
  max-width: 222px !important;
  height: auto !important;
}

/* Enlaces legales */
.usuarios.ver .perfil-other-footer-legal,
.perfil-other-footer-legal {
  margin-bottom: 25px !important;
}

.usuarios.ver .perfil-other-legal-menu,
.perfil-other-legal-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.usuarios.ver .perfil-other-legal-link,
.perfil-other-legal-link {
  font-family: var(--font-base) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 28px !important;
  color: white !important;
  text-decoration: underline !important;
  text-decoration-style: solid !important;
  text-decoration-offset: 16% !important;
  text-decoration-thickness: 10% !important;
  text-underline-position: from-font !important;
  transition: opacity 0.3s ease !important;
}

.usuarios.ver .perfil-other-legal-link:hover,
.perfil-other-legal-link:hover {
  opacity: 0.8 !important;
  color: white !important;
}

/* Copyright */
.usuarios.ver .perfil-other-footer-copyright,
.perfil-other-footer-copyright {
  margin-bottom: 30px !important;
}

.usuarios.ver .perfil-other-footer-copyright p,
.perfil-other-footer-copyright p {
  font-family: var(--font-base) !important;
  font-weight: 300 !important;
  font-size: 14px !important;
  line-height: 18px !important;
  color: white !important;
  margin: 0 !important;
}

/* Redes sociales en footer */
.usuarios.ver .perfil-other-footer-social,
.perfil-other-footer-social {
  margin-top: 30px !important;
}

.usuarios.ver .perfil-other-social-icons,
.perfil-other-social-icons {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  gap: 20px !important;
  justify-content: center !important;
  align-items: center !important;
}

.usuarios.ver .perfil-other-social-icon,
.perfil-other-social-icon {
  width: 32px !important;
  height: 32px !important;
  display: block !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  transition: opacity 0.3s ease !important;
}

.usuarios.ver .perfil-other-social-icon:hover,
.perfil-other-social-icon:hover {
  opacity: 0.8 !important;
}

.perfil-other-social-icon.facebook {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 10H21V6H18C15.2386 6 13 8.23858 13 11V13H10V17H13V26H17V17H20L21 13H17V11C17 10.4477 17.4477 10 18 10Z' fill='white'/%3E%3C/svg%3E");
}

.perfil-other-social-icon.twitter {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22.46 9.39C23.24 8.9 23.85 8.15 24.15 7.27C23.42 7.69 22.62 7.99 21.77 8.16C21.14 7.41 20.22 6.96 19.2 6.96C17.24 6.96 15.65 8.55 15.65 10.51C15.65 10.78 15.68 11.05 15.74 11.31C12.78 11.15 10.13 9.73 8.36 7.58C8.06 8.07 7.88 8.64 7.88 9.26C7.88 10.42 8.47 11.45 9.36 12.05C8.82 12.03 8.31 11.88 7.87 11.63C7.87 11.64 7.87 11.66 7.87 11.67C7.87 13.39 9.08 14.83 10.68 15.15C10.39 15.22 10.09 15.26 9.78 15.26C9.56 15.26 9.35 15.24 9.14 15.2C9.57 16.61 10.86 17.64 12.39 17.67C11.19 18.63 9.68 19.2 8.04 19.2C7.76 19.2 7.49 19.18 7.22 19.15C8.77 20.17 10.61 20.76 12.58 20.76C19.19 20.76 22.79 15.32 22.79 10.91C22.79 10.76 22.79 10.61 22.78 10.46C23.53 9.95 24.16 9.31 24.66 8.58C23.97 8.88 23.23 9.08 22.46 9.18V9.39Z' fill='white'/%3E%3C/svg%3E");
}

.perfil-other-social-icon.instagram {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 11.3C13.46 11.3 11.3 13.46 11.3 16C11.3 18.54 13.46 20.7 16 20.7C18.54 20.7 20.7 18.54 20.7 16C20.7 13.46 18.54 11.3 16 11.3ZM25 16C25 14.34 25.01 12.7 24.92 11.04C24.83 9.13 24.4 7.45 23.01 6.06C21.61 4.66 19.94 4.24 18.03 4.15C16.36 4.06 14.72 4.07 13.06 4.07C11.39 4.07 9.75 4.06 8.09 4.15C6.18 4.24 4.5 4.67 3.11 6.06C1.71 7.46 1.29 9.13 1.2 11.04C1.11 12.71 1.12 14.35 1.12 16C1.12 17.65 1.11 19.3 1.2 20.96C1.29 22.87 1.72 24.55 3.11 25.94C4.51 27.34 6.18 27.76 8.09 27.85C9.76 27.94 11.4 27.93 13.06 27.93C14.73 27.93 16.37 27.94 18.03 27.85C19.94 27.76 21.62 27.33 23.01 25.94C24.41 24.54 24.83 22.87 24.92 20.96C25.02 19.3 25 17.66 25 16ZM16 22.53C12.45 22.53 9.57 19.65 9.57 16C9.57 12.35 12.45 9.47 16 9.47C19.55 9.47 22.43 12.35 22.43 16C22.43 19.65 19.55 22.53 16 22.53ZM22.68 10.99C21.87 10.99 21.21 10.33 21.21 9.52C21.21 8.71 21.87 8.05 22.68 8.05C23.49 8.05 24.15 8.71 24.15 9.52C24.15 9.72 24.11 9.92 24.03 10.1C23.95 10.28 23.84 10.45 23.7 10.59C23.56 10.73 23.39 10.84 23.21 10.92C23.03 11 22.83 11.04 22.63 11.04L22.68 10.99Z' fill='white'/%3E%3C/svg%3E");
}

.perfil-other-social-icon.youtube {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25.6 9.6C25.33 8.6 24.53 7.8 23.53 7.53C21.73 7 16 7 16 7C16 7 10.27 7 8.47 7.53C7.47 7.8 6.67 8.6 6.4 9.6C5.87 11.4 5.87 15.13 5.87 15.13C5.87 15.13 5.87 18.87 6.4 20.67C6.67 21.67 7.47 22.47 8.47 22.73C10.27 23.27 16 23.27 16 23.27C16 23.27 21.73 23.27 23.53 22.73C24.53 22.47 25.33 21.67 25.6 20.67C26.13 18.87 26.13 15.13 26.13 15.13C26.13 15.13 26.13 11.4 25.6 9.6ZM13.87 18.4V11.87L19.2 15.13L13.87 18.4Z' fill='white'/%3E%3C/svg%3E");
}

.perfil-other-social-icon.tiktok {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.33 8.93C20.35 7.87 19.8 6.47 19.8 5H16.53V18.87C16.53 20.27 15.4 21.4 14 21.4C12.6 21.4 11.47 20.27 11.47 18.87C11.47 17.47 12.6 16.33 14 16.33C14.33 16.33 14.67 16.4 14.93 16.47V13.13C14.6 13.07 14.27 13.07 13.93 13.07C10.67 13.07 8 15.73 8 19C8 22.27 10.67 24.93 13.93 24.93C17.2 24.93 19.87 22.27 19.87 19V11.8C21.13 12.73 22.67 13.27 24.33 13.27V10C24.33 10 22.47 10.13 21.33 8.93Z' fill='white'/%3E%3C/svg%3E");
}

/* ========================================
   DISPONIBILIDADES VISITANTE
   Mobile-first approach
   ======================================== */

/* Contenedor principal */
.disponibilidades-visitante {
  min-height: 60vh;
  padding: 30px 15px;
  background: white;
}

.disponibilidades-visitante .container {
  max-width: 100%;
  padding: 0;
}

/* Header */
.disponibilidades-header {
  text-align: center;
  margin-bottom: 24px;
}

.disponibilidades-header h1 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  color: #212121;
  margin: 0 0 8px 0;
}

.disponibilidades-subtitle {
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #666666;
  margin: 0;
}

/* Boton crear */
.disponibilidades-crear-wrapper {
  margin-bottom: 24px;
  text-align: center;
}

.btn-disponibilidad-crear {
  display: inline-block;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: white;
  background: var(--bs-blue);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.btn-disponibilidad-crear:hover {
  background: var(--bs-blue-hover);
  color: white;
  text-decoration: none;
}

/* Lista de disponibilidades */
.disponibilidades-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

/* Card de disponibilidad */
.disponibilidad-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bs-extralight-primary);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(14, 121, 191, 0.1);
}

.disponibilidad-fecha-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bs-blue);
  color: white;
  border-radius: 8px;
  padding: 8px 16px;
  min-width: 60px;
  align-self: flex-start;
}

.disponibilidad-fecha-dia {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
}

.disponibilidad-fecha-mes {
  font-family: var(--font-base);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.disponibilidad-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.disponibilidad-horario {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--bs-blue);
}

.disponibilidad-fecha-completa {
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 400;
  color: #666666;
}

/* Acciones */
.disponibilidad-acciones {
  display: flex;
  gap: 8px;
}

.btn-disponibilidad-editar,
.btn-disponibilidad-eliminar {
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  flex: 1;
  text-align: center;
}

.btn-disponibilidad-editar {
  background: var(--bs-blue);
  color: white;
}

.btn-disponibilidad-editar:hover {
  background: var(--bs-blue-hover);
  color: white;
  text-decoration: none;
}

.btn-disponibilidad-eliminar {
  background: transparent;
  color: var(--bs-red);
  border: 1px solid var(--bs-red);
}

.btn-disponibilidad-eliminar:hover {
  background: var(--bs-red);
  color: white;
  text-decoration: none;
}

/* Estado vacio */
.disponibilidades-empty {
  text-align: center;
  padding: 40px 20px;
  background: var(--bs-extralight-primary);
  border-radius: 12px;
  margin-bottom: 24px;
}

.disponibilidades-empty p {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 600;
  color: #212121;
  margin: 0 0 8px 0;
}

.disponibilidades-empty-hint {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #666666 !important;
}

/* Boton volver */
.disponibilidades-volver {
  text-align: center;
  margin-top: 24px;
}

.btn-disponibilidad-volver {
  display: inline-block;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: var(--bs-blue);
  background: transparent;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--bs-blue);
  transition: all 0.2s ease;
}

.btn-disponibilidad-volver:hover {
  background: var(--bs-blue);
  color: white;
  text-decoration: none;
}

/* ========================================
   FORMULARIOS DE DISPONIBILIDADES
   ======================================== */

.disponibilidades-form-card {
  background: var(--bs-extralight-primary);
  border-radius: 12px;
  padding: 24px 16px;
  border: 1px solid rgba(14, 121, 191, 0.1);
}

.disponibilidades-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.disponibilidades-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.disponibilidades-form .form-group label {
  font-family: var(--font-base);
  font-size: 14px;
  font-weight: 600;
  color: #212121;
}

.disponibilidades-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.disponibilidades-form .form-group-half {
  flex: 1;
}

.form-control-disponibilidad,
.disponibilidades-form input[type="date"],
.disponibilidades-form input[type="time"] {
  font-family: var(--font-base);
  font-size: 16px;
  font-weight: 400;
  color: #212121;
  background: white;
  border: 1px solid #cccccc;
  border-radius: 8px;
  padding: 12px 16px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0 !important;
}

.form-control-disponibilidad:focus,
.disponibilidades-form input[type="date"]:focus,
.disponibilidades-form input[type="time"]:focus {
  border-color: var(--bs-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 121, 191, 0.1);
}

/* Estilos específicos para selects con dropdown personalizado */
.disponibilidades-form .select-wrapper .select-with-icon {
  padding: 12px 16px !important;
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

/* Ocultar icono de flecha para selects de disponibilidad cuando está activo el custom select */
.disponibilidades-form .select-wrapper.custom-select-active .select-icon {
  display: none !important;
}

/* Anular margin-bottom de la clase .input que Bootstrap añade automáticamente */
.disponibilidades-form .select-wrapper .input {
  margin-bottom: 0;
}

/* Acciones del formulario */
.disponibilidades-form .form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.btn-disponibilidad-cancelar {
  display: inline-block;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--bs-blue);
  background: transparent;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--bs-blue);
  transition: all 0.2s ease;
  text-align: center;
  order: 2;
}

.btn-disponibilidad-cancelar:hover {
  background: var(--bs-extralight-primary);
  color: var(--bs-blue);
  text-decoration: none;
}

.btn-disponibilidad-guardar {
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: white;
  background: var(--bs-blue);
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  order: 1;
}

.btn-disponibilidad-guardar:hover {
  background: var(--bs-blue-hover);
}

.ms-160-width {
  max-width: 160px;
}

/* ============================================
   RESPONSIVE: TABLET (768px and up)
   ============================================ */
@media (min-width: 768px) {
  .perfil-other-wrap {
    padding: 60px 24px 0;
  }

  .perfil-other-card {
    max-width: 600px;
    padding: 0 30px;
  }

  .perfil-other-user-section {
    gap: 24px;
    margin-bottom: 40px;
  }

  .perfil-other-avatar {
    width: 120px;
    height: 120px;
    min-height: 120px;
    min-width: 120px;
    max-width: 120px;
    border-width: 4px !important;
  }

  .perfil-other-nombre {
    font-size: 28px;
    line-height: 32px;
  }

  .perfil-other-detail-item {
    font-size: 18px;
    line-height: 28px;
  }

  .perfil-other-action-buttons {
    margin-top: 40px;
    margin-bottom: 60px;
  }

  .perfil-other-footer .container {
    max-width: 600px;
    padding: 0 30px;
  }

  .perfil-other-logo-cv {
    height: 80px;
  }

  .perfil-other-logo-gv {
    max-width: 280px;
  }

  .perfil-other-legal-link {
    font-size: 16px;
  }

  .perfil-other-footer-copyright p {
    font-size: 16px;
    line-height: 22px;
  }

  /* Disponibilidades - Tablet */
  .disponibilidades-visitante {
    padding: 40px 24px;
  }

  .disponibilidades-visitante .container {
    max-width: 600px;
    margin: 0 auto;
  }

  .disponibilidades-header h1 {
    font-size: 28px;
    line-height: 32px;
  }

  .btn-disponibilidad-crear {
    width: auto;
    min-width: 250px;
  }

  .disponibilidad-card {
    flex-direction: row;
    align-items: center;
    padding: 20px 24px;
  }

  .disponibilidad-fecha-wrapper {
    align-self: center;
  }

  .disponibilidad-acciones {
    flex: 0;
  }

  .btn-disponibilidad-editar,
  .btn-disponibilidad-eliminar {
    flex: none;
    padding: 8px 20px;
  }

  /* Formularios - Tablet */
  .disponibilidades-form-card {
    padding: 32px 24px;
  }

  .disponibilidades-form .form-row {
    flex-direction: row;
    gap: 16px;
  }

  .disponibilidades-form .form-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .btn-disponibilidad-cancelar {
    order: 1;
    flex: none;
  }

  .btn-disponibilidad-guardar {
    order: 2;
    flex: none;
  }

    .ms-160-width {
    max-width: 1600px;
  }
}

/* ============================================
   RESPONSIVE: DESKTOP (1024px and up)
   ============================================ */
@media (min-width: 1024px) {
  .perfil-other-wrap {
    padding: 100px 40px 0 !important;
    display: flex !important;
    justify-content: center !important;
  }

  .perfil-other-card {
    max-width: 900px !important;
    padding: 0 60px !important;
    margin: 0 auto !important;
  }

  .perfil-other-user-section {
    gap: 40px !important;
    margin-bottom: 60px !important;
    align-items: center !important;
  }

  .perfil-other-avatar {
    width: 160px !important;
    height: 160px !important;
    min-height: 160px;
    min-width: 160px;
    max-width: 160px;
    border-width: 4px !important;
  }

  .perfil-other-avatar-placeholder {
    font-size: 48px !important;
  }

  .perfil-other-nombre {
    font-size: 36px !important;
    line-height: 42px !important;
    margin-bottom: 18px !important;
  }

  .perfil-other-detail-item {
    font-size: 18px !important;
    line-height: 28px !important;
  }

  .perfil-other-details {
    gap: 4px !important;
  }

  .perfil-other-action-buttons {
    margin-top: 50px !important;
    margin-bottom: 80px !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 30px !important;
  }

  .btn-perfil-other-reunion {
    width: auto !important;
    min-width: 400px !important;
    padding: 16px 48px !important;
    font-size: 18px !important;
    line-height: 24px !important;
  }

  .perfil-other-footer {
    padding: 60px 0 70px !important;
  }

  .perfil-other-footer .container {
    max-width: 900px !important;
    padding: 0 60px !important;
  }

  .perfil-other-logo-cv {
    height: 96px !important;
  }

  .perfil-other-logo-gv {
    max-width: 320px !important;
  }

  /* Disponibilidades - Desktop */
  .disponibilidades-visitante {
    padding: 60px 40px;
  }

  .disponibilidades-visitante .container {
    max-width: 800px;
  }

  .disponibilidades-header {
    margin-bottom: 32px;
  }

  .disponibilidades-header h1 {
    font-size: 32px;
    line-height: 38px;
  }

  .disponibilidades-subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .disponibilidades-crear-wrapper {
    margin-bottom: 32px;
  }

  .btn-disponibilidad-crear {
    min-width: 300px;
    font-size: 18px;
    padding: 14px 32px;
  }

  .disponibilidades-lista {
    gap: 16px;
  }

  .disponibilidad-card {
    padding: 24px 32px;
    gap: 24px;
  }

  .disponibilidad-fecha-wrapper {
    padding: 12px 20px;
  }

  .disponibilidad-fecha-dia {
    font-size: 28px;
    line-height: 32px;
  }

  .disponibilidad-horario {
    font-size: 20px;
  }

  .disponibilidad-fecha-completa {
    font-size: 15px;
  }

  /* Formularios - Desktop */
  .disponibilidades-form-card {
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
  }

  .disponibilidades-form {
    gap: 20px;
  }

  .disponibilidades-form .form-group label {
    font-size: 15px;
  }

  .form-control-disponibilidad,
  .disponibilidades-form input[type="date"],
  .disponibilidades-form input[type="time"] {
    padding: 14px 18px;
  }
}

/* === FIN PERFIL DE OTROS USUARIOS === */

/* === HEADER BREAKPOINTS DIFERENCIADOS === */
/* Header público (sin login): menú desktop desde 1200px */
@media (min-width: 1200px) {
  .header--public .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .header--public .header-nav-desktop {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
    flex: 1;
  }

  .header--public .header-nav-desktop .nav-menu {
    justify-content: center;
  }

  .header--public .header-cta-desktop {
    display: block;
    flex-shrink: 0;
  }
}

/* Header privado (con login): menú desktop desde 1400px */
@media (min-width: 1400px) {
  .header--private .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .header--private .header-nav-desktop {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
    flex: 1;
  }

  .header--private .header-nav-desktop .nav-menu {
    justify-content: center;
  }

  .header--private .header-cta-desktop {
    display: block;
    flex-shrink: 0;
  }
}

/* Streaming page */
.streaming-page {
  --streaming-ink: #1b2733;
  --streaming-ocean: #0c4b7d;
  --streaming-deep: #0a3556;
  --streaming-sand: #fdf6ea;
  --streaming-mist: #f1f7fb;
  --streaming-shadow: 0 18px 40px rgba(9, 33, 54, 0.18);
}

.streaming-hero {
  position: relative;
  padding: 48px 0 40px;
  background: linear-gradient(135deg, var(--streaming-sand) 0%, var(--streaming-mist) 55%, #ffffff 100%);
  overflow: hidden;
}

.streaming-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/efecto-de-superposicion-mapa.jpg") center/cover no-repeat;
  opacity: 0.6;
}

/* .streaming-hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -140px;
  top: -200px;
  background: radial-gradient(circle at 30% 30%, rgba(15, 111, 169, 0.35) 0%, rgba(15, 111, 169, 0) 65%);
} */

.streaming-hero .container {
  position: relative;
  z-index: 1;
}

.streaming-hero-head {
  /* max-width: 680px; */
  margin-bottom: 28px;
}

.streaming-hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.streaming-hero-title h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  color: var(--streaming-ink);
}

.streaming-hero-subtitle {
  margin: 8px 0 0;
  color: #4a5662;
  font-size: 16px;
}

.streaming-live-badge {
  display: inline-block;
  height: 30px !important;
  width: auto !important;
  flex-shrink: 0;
}

.streaming-live-badge-inside {
  display: inline-block;
  height: 20px !important;
  width: auto !important;
  flex-shrink: 0;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  pointer-events: none;
}

.streaming-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.streaming-live-card {
  position: relative;
  border: none;
  background: #000;
  padding: 0;
  text-align: left;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--streaming-shadow);
  width: 100%;
}

.streaming-live-media {
  position: relative;
  width: 100%;
  height: 240px;
  display: block;
  transition: transform 0.4s ease;
  z-index: 1;
  background: #000;
}

.streaming-live-media iframe,
.streaming-live-media video,
.streaming-preview-video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.streaming-live-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 33, 0.15) 0%, rgba(6, 20, 33, 0.7) 100%);
  z-index: 2;
  pointer-events: none;
}

.streaming-live-card:hover .streaming-live-media {
  transform: scale(1.03);
}

.streaming-live-card:focus-visible {
  outline: 3px solid var(--bs-yellow);
  outline-offset: 4px;
}

.streaming-live-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #c03626;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.streaming-live-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.streaming-live-overlay {
  display: flex;
  flex-direction: column;
}

.streaming-live-name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  color: var(--bs-primary);
}

.streaming-live-cta {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.streaming-flag {
  margin: 24px auto;
}

.streaming-previous {
  padding: 28px 0 56px;
  background: #fff;
}

.streaming-event-slider {
  margin-top: 24px;
}

.streaming-event-slider .slick-list {
  margin: 0 -12px;
}

.streaming-event-slider .slick-slide {
  padding: 0 12px;
  height: auto;
}

.streaming-event-slider .slick-track {
  display: flex;
}

.streaming-event-card {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  /* box-shadow: var(--streaming-shadow); */
  display: flex;
  flex-direction: column;
}

.streaming-event-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.streaming-event-content {
  padding: 18px;
  background: var(--bs-primary);
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.streaming-event-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
}

.streaming-event-meta {
  margin: 0;
  display: flex;
  gap: 12px;
  font-size: 14px;
  opacity: 0.9;
}

.streaming-event-time {
  font-weight: 600;
}

.streaming-event-location {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

.streaming-event-button {
  margin-top: auto;
  width: 100%;
}

.streaming-empty {
  margin-top: 16px;
  color: #5f6b76;
}

.streaming-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 18, 30, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.streaming-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.streaming-modal-card {
  width: min(980px, 100%);
  background: #081a2c;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 26px 60px rgba(2, 11, 20, 0.35);
  color: #fff;
}

.streaming-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.streaming-modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
}

.streaming-modal-close {
  background: #fff;
  color: #0b2d48;
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.streaming-modal-close:focus-visible {
  outline: 3px solid var(--bs-yellow);
  outline-offset: 4px;
}

.streaming-modal-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.streaming-modal-frame iframe,
.streaming-modal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

body.streaming-modal-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .streaming-hero {
    padding: 40px 0 32px;
  }

  .streaming-hero-title h1 {
    font-size: 28px;
  }

  .streaming-live-grid {
    grid-template-columns: 1fr;
  }

  .streaming-live-card img {
    height: 210px;
  }

}
