:root {
  --tph-negro: #000000;
  --tph-blanco: white;
  --tph-azul-fuerte:#00419b;  
  --tph-azul-claro:#d7ecf5;
  --tph-gris:#f4f4ec;
  --tph-grid-ayuda:#9b9b9b;
  --tph-color-footer:#104798;

  --tph-cuenta-atras: var(--tph-blanco);
  --tph-verde: var(--tph-cuenta-atras);
  --tph-rojo:#e10613;

  --tph-font-PeakRounded-Bold:'PeakRounded-Bold';
  --tph-font-PeakRounded-Regular:'PeakRounded-Regular';


  --tph-form-label: #000000;
  --tph-form-placeholder: #868686;
  --tph-form-input: #000;
  --tph-form-bg: #000000;
}

.alert-error {
  border: #f70000 solid 1px !important;
  margin-bottom: 0.5rem;
}

.pie-imagen {
  position: absolute;
  font-size: 0.8rem;
  color: rgb(99, 99, 99);
  right: 10px;
  top: 0;
}

.cursor-blocked {
  cursor: not-allowed;
}

.cursor-pointer {
  cursor: pointer;
}

.btn-primary {
  background-color: #1b2122;
  color: #fff;
  border: solid 1px #1b2122;
  border-radius: 5rem !important;
}

.btn-primary:hover {
  background-color: #1b2122;
  color: rgb(255, 255, 255);
  border: solid 1px #ffffff;
}

.btn-primary:focus {
  background-color: #1b2122;
  color: rgb(0, 0, 0);
}

.btn-promo {
  background-color: rgb(0, 0, 0);
  color: #fff;
}

.btn-promo:hover {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

.btn-promo:focus {
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

.btn-round-negativo {
  border-radius: 1.3rem !important;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}

.btn-formulario {
    background-color: var(--tph-azul-fuerte);
    color: var(--tph-blanco);
    font-family: var(--tph-font-PeakRounded-Bold);
    border-radius: 5rem !important;
    padding: 0rem 12rem;
    font-size: 2.5rem;
    font-weight: bold;
}

.btn-formulario:hover {
  background-color:var(--tph-azul-fuerte);
  color: var(--tph-blanco);
  border: solid 1px #ffffff;
}

.btn-formulario:focus {
  background-color: #1b2122;
  color: rgb(0, 0, 0);
}*/
.cursor-pointer {
  cursor: pointer;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body{
  background-color: var(--tph-blanco);
}

/********************************************************************* scrollbar css *********************************************************/
/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(209, 232, 228, 1);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #e3d7c6;
}

/********************************************************************* fuentes *********************************************************/

@font-face {
  font-family: 'PeakRounded-Bold';
  src: url('../../../fonts/PeakRounded-Bold.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PeakRounded-Regular';
  src: url('../../../fonts/PeakRounded-Regular.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/********************************************************************************** MENU  *******************************************************************************/

#mainMenu {
  background-color: var(--tph-azul-fuerte);
}

#mainMenu .navbar-nav .nav-link {
  font-family: var(--tph-font-PeakRounded-Bold);
   color: var(--tph-blanco);
   text-transform: uppercase;
}

.active {
  text-decoration: underline;
}

.user-icon-img{
  width: 74%;
  margin-left: 8%;
}

/* Botón toggler blanco */
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/********************************************************************************** header  *******************************************************************************/
.fondoHeader{
  background:var(--tph-azul-claro);
}

.imgCabecera{
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  margin-bottom:-5.6%;
}

.imgLogoMam{
  max-width: 12%;
}

.h1Header{
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 6rem; 
  color: var(--tph-azul-fuerte); 
  line-height: 1;
}

.btnParticipar {
  color: var(--tph-blanco);
  background-color: var(--tph-azul-fuerte);
  border-radius: 5rem;
  border: none;
  font-size: 1.5rem;
  padding: 1vh 4vh;
  font-weight: bold;
  font-family: var(--tph-font-PeakRounded-Bold);
}
.imgLogoPolaroid{
  max-width: 20%;
  margin-top:1%;
  margin-bottom:1%;
}

.imgCabeceraMovil{
  margin-top: 8%;
}
.btnParticiparMovil{
position: absolute; bottom: -1%; left: 0; right: 0;
}
/********************************************************************************** Aniversario  *******************************************************************************/
.txt50Aniversario{
  font-family: var(--tph-font-PeakRounded-Bold);
  color:var(--tph-azul-fuerte);
  font-size: 4rem;
  margin-bottom: 5%;
}

.imgLogo50Aniversario{
  width: 8%;
  margin-bottom: 3%;
}

.imgFormaAniversario{
  max-width: 12%; 
  z-index: 1;
  margin-top: 1%;
}

.txtAniversario{
  color:var(--tph-azul-fuerte);
  font-family: var(--tph-font-PeakRounded-Regular);
  font-size: 1.3rem;
}

.txtAniversarioBold{
  color:var(--tph-azul-fuerte);
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 1.3rem;
  margin-bottom:6%;
}

.imgFormasEnmedioCentro{
  width: 10%;
}
.imgFormasEnmedioDerecha{
  width: 16%; 
  margin-bottom: 1%;
}
/********************************************************************************** mecánica  *******************************************************************************/

#mecanica{
  background: var(--tph-azul-claro);
}

.txtComoParticipar {
  font-size: 4rem;
  color:var(--tph-azul-fuerte);
  font-family: var(--tph-font-PeakRounded-Bold);
}

.txtSigueLosPasos {
  font-size: 1.2rem;
  font-family: var(--tph-font-PeakRounded-Bold);
  color:var(--tph-azul-fuerte);
}

.imgPaso{
  width: 78%;
}

.h3TituloPasos {
  font-size: 2.5rem;
  color:var(--tph-azul-fuerte);
  margin-top: 8%;
  font-family:var(--tph-font-PeakRounded-Bold);
}

.divPasos{
  margin-top:10%;
}

.pPasos {
  font-size: 1rem;
  color:var(--tph-azul-fuerte);
  font-family:var(--tph-font-PeakRounded-Bold);
  margin-top: 5%;
}
.txtBB{
  font-family: var(--tph-font-PeakRounded-Bold);
}

.txtBB .color-azul,
.txtBB .color-azul:link,
.txtBB .color-azul:visited,
.txtBB .color-azul:hover,
.txtBB .color-azul:active {
  font-family: var(--tph-font-PeakRounded-Bold);
  color: var(--tph-azul-fuerte);
}

.txtExclusivo{
  background-color: #003DA5; 
  border-radius: 40px; 
  padding: 12px 24px; 
  display: inline-block; 
  color: white;
  font-family: var(--tph-font-PeakRounded-Bold);
}

.imgforma{
    margin-top: 3%;
    margin-bottom: -4%;
    width: 15%;
}
/********************************************************************************** regalo  *******************************************************************************/

#regalo {
  background-color: var(--tph-azul);
  padding: auto;
  font-family: var(--tph-font-stempel);
}

.m-vbg {
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
  border-radius: 1rem;
}
.flickity-page-dots{
  display: none;
}


/********************************************************************************** countdown  *******************************************************************************/

/* Panel cuenta atrás (antes de FECHA_INICIO) */
.countdown-panel {
  background-color: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(35, 38, 39, 0.08);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
}

@media (min-width: 768px) {
  .countdown-panel {
    padding: 2.25rem;
  }
}

.countdown-title {
  font-size: 2rem;
}

.countdown-subtitle,
.countdown-help {
  color: rgba(35, 38, 39, 0.85);
  font-size: 1.05rem;
  line-height: 1.35;
}

#countdown {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}


#countdown .wrapper {
  text-align: center;
}

#countdown .time {
    color: var(--tph-azul);
    font-family: var(--tph-font-stempel);
  font-size: 3.5rem;
  padding: 0.25rem;
}

#countdown .label {
  font-family: var(--tph-font-stempel);
  font-size: 1rem;
  display: block;
  color: var(--tph-azul);
  /* text-shadow     : 2px 2px #FF0620; */
}

#countdown svg {
  font: bold 5rem;
  width: 100%;
  height: 120px;
}

#countdown text {
  fill: none;
  stroke: var(--tph-azul);
  stroke-width: 6px;
  stroke-linejoin: round;
  /* text-shadow     : 2px 2px #FF0620; */
  animation: 2s pulsate infinite;
}

@keyframes pulsate {
  50% {
    text-shadow: 4px 4px var(--tph-azul);
  }
}

/* Badge icono usuario en menú */
.menu-user-badge {
  width: 20px;
  height: 20px;
}
.br-telefono {
    display: none;
}
/********************************************************************************** participa  *******************************************************************************/
#participa{
  background-color: var(--tph-gris);
}

form#formReg_l label {
  display: block;
  color:var(--tph-azul-fuerte);
  font-family: var(--tph-font-PeakRounded-Bold);
}

form#formReg_l .form-control {
  border-radius: 5rem;
  font-size: 1rem;
  color: #000000;
}

form#formReg_l .form-select {
  border-radius: 5rem;
  font-size: 1rem;
  color: #868686;
}

form#formReg_l .form-select:not([value=""]):valid,
form#formReg_l .form-select option:not(:first-child) {
  color: #000000;
}

form#formReg_l label.custom-control-label {
  display: block !important;
  color: var(--tph-negro) !important;
  font-size: 1rem;
}

form#formReg_l .form-control::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #868686;
  opacity: 1;
  /* Firefox */
}

form#formReg_l .form-control:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #868686;
}

form#formReg_l .form-control::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #868686;
}

form#formReg_l .form-select::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #868686;
  opacity: 1;
  /* Firefox */
}

form#formReg_l .form-select:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #868686;
}

form#formReg_l .form-select::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #868686;
}

form#formReg_l a {
  color:var(--tph-amarillo);
}

form option {
  color: #000000;
  background-color: #ffffff;
  font-size: 1rem;
}

form option:hover {
  background-color: #f0f0f0;
}

form .input-group-text {
  background: #fff;
  border: none;
  border-radius: 10rem !important;
}

form .form-check-input:checked,
form#formReg_l .form-check-input:checked {
  background-color: var(--tph-azul-fuerte) !important;
  border-color: var(--tph-amarillo) !important;
}

.divisorAzul{
  border: none;
  border-top: 2px solid var(--tph-azul-fuerte);
  opacity: 1;
  margin: 2rem 0;
}
body{
  background-color: var(--tph-gris);
}
/********************************************************************************** contacto  *******************************************************************************/
#contacto{
  background-color: var(--tph-gris);
}

.tel_promo a, .email_contacto a {
  text-decoration: none;
  color:var(--tph-azul-fuerte);
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size:1.2rem;
}

.subtituloContacto , .pAyuda{
    font-size:1.2rem;
    color:var(--tph-grid-ayuda);
    font-family: var(--tph-font-PeakRounded-Bold);
}

.subtituloContacto{
  line-height:0.6;
}

.pAyuda{
  line-height:1;
}

/********************************************************************************** footer  *******************************************************************************/

footer {
  background-color: var(--tph-color-footer);
}

footer ul {
  list-style: none;
}

footer a {
  color: rgb(255, 255, 255);
  font-size: 0.8rem;
}

footer a:hover {
  text-decoration: underline;
  color: rgb(255, 255, 255)
}

footer .small {
  color: rgb(255, 255, 255);
  font-size: 0.7rem;
}

footer img .small {
  max-width: 1.5rem;
}

.logoBonduellPie {
  max-width: 8rem;
}

.pull-right {
  float: right;
}

.xs-d-flex {
  flex-direction: column;
}

/********************************************************************************** Modal Área Personal  *******************************************************************************/

.modal-area-personal {
  background: linear-gradient(135deg, var(--tph-azul-fuerte) 0%, #0051bd 50%, var(--tph-azul-claro) 100%);
  border: none;
  border-radius: 1.5rem;
  color: var(--tph-blanco);
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 65, 155, 0.4);
  position: relative;
}

/* Decorative animated gradient overlay */
.modal-area-personal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.modal-area-personal .modal-header {
  padding: 1rem 1.5rem 0;
  position: relative;
  z-index: 2;
}

.btn-close-custom {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.8;
  transition: all 0.3s ease;
  background-size: 1.2rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-close-custom:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
 background: var(--tph-negro) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 1rem;
}

.modal-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-title-custom {
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 1.75rem;
  color: var(--tph-blanco);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.modal-subtitle {
  font-family: var(--tph-font-PeakRounded-Regular);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  font-weight: normal;
  position: relative;
  z-index: 2;
}

.modal-body {
  position: relative;
  z-index: 2;
}

.form-group-custom {
  margin-bottom: 1.25rem;
}

.form-label-custom {
  display: block;
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 0.9rem;
  color: var(--tph-blanco);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.form-label-custom i {
  opacity: 0.9;
  font-size: 0.95rem;
}

.form-control-custom {
  background-color: var(--tph-blanco) !important;
  color: var(--tph-negro) !important;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 5rem !important;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-family: var(--tph-font-PeakRounded-Regular);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-control-custom:focus {
  border-color: var(--tph-blanco);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3), 0 4px 20px rgba(0, 0, 0, 0.15);
  outline: none;
  background-color: var(--tph-blanco) !important;
  transform: translateY(-2px);
}

.form-control-custom::placeholder {
  color: var(--tph-form-placeholder);
  opacity: 0.7;
  font-style: italic;
}

.password-wrapper {
  position: relative;
}

.password-wrapper .form-control-custom {
  padding-right: 3.5rem;
}

.password-toggle {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--tph-form-placeholder);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  z-index: 5;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.password-toggle:hover {
  color: var(--tph-azul-fuerte);
  background-color: rgba(0, 65, 155, 0.1);
}

.recuperar-pass-link {
  font-family: var(--tph-font-PeakRounded-Bold);
  color: var(--tph-blanco) !important;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}

.recuperar-pass-link i {
  transition: transform 0.3s ease;
}

.recuperar-pass-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.recuperar-pass-link:hover i {
  transform: scale(1.2);
}

.btn-acceso-custom {
  font-family: var(--tph-font-PeakRounded-Bold) !important;
  background: var(--tph-blanco) !important;
  color: var(--tph-azul-fuerte) !important;
  border: 3px solid var(--tph-blanco) !important;
  border-radius: 5rem !important;
  padding: 0.85rem 2rem !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-acceso-custom::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(220, 235, 244, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-acceso-custom:hover::before {
  width: 300px;
  height: 300px;
}

.btn-acceso-custom:hover {
  background-color: #f0f8ff !important;
  color: var(--tph-azul-fuerte) !important;
  border-color: var(--tph-blanco) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-acceso-custom:focus {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5), 0 6px 20px rgba(0, 0, 0, 0.2) !important;
  color: var(--tph-azul-fuerte) !important;
  background: var(--tph-blanco) !important;
}

.btn-acceso-custom:active {
  transform: translateY(-1px);
}

.btn-acceso-custom:disabled {
  opacity: 0.6;
  transform: none;
  cursor: not-allowed;
}

.btn-acceso-custom .btn-text {
  display: inline;
  position: relative;
  z-index: 1;
}

.btn-acceso-custom i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.btn-acceso-custom:hover i {
  transform: translateX(5px);
}

.btn-cancelar-custom {
  font-family: var(--tph-font-PeakRounded-Bold) !important;
  background-color: transparent !important;
  color: var(--tph-blanco) !important;
  border: 2px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 5rem !important;
  padding: 0.7rem 1.75rem !important;
  font-size: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.btn-cancelar-custom:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--tph-blanco) !important;
  border-color: var(--tph-blanco) !important;
  transform: translateY(-2px);
}

.alert-custom {
  background-color: rgba(225, 6, 19, 0.2);
  border: 2px solid var(--tph-rojo);
  color: #fff;
  border-radius: 1rem;
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 0.9rem;
  padding: 0.85rem 1.25rem;
  box-shadow: 0 4px 15px rgba(225, 6, 19, 0.3);
}

/* Decorative gradient line at top of modal */
.modal-area-personal::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(to right, var(--tph-blanco), rgba(255, 255, 255, 0.5), var(--tph-blanco));
  border-radius: 1.5rem 1.5rem 0 0;
  position: relative;
  z-index: 2;
}

/* Modal backdrop */
.modal-backdrop.show {
  opacity: 0.75;
  backdrop-filter: blur(3px);
}

/* Loading spinner animation */
@keyframes spinner-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Modal fade-in animation */
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  transform: scale(0.9) translateY(-50px);
  opacity: 0;
}

.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Entrada suave de los elementos del formulario */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-area-personal .form-group-custom {
  animation: slideInUp 0.4s ease-out backwards;
}

.modal-area-personal .form-group-custom:nth-child(1) {
  animation-delay: 0.1s;
}

.modal-area-personal .form-group-custom:nth-child(2) {
  animation-delay: 0.2s;
}

/* Efecto de shimmer en el fondo del modal */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Hover effect para inputs */
.form-control-custom:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Animación del icono del modal */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.modal-icon-wrapper {
  animation: float 3s ease-in-out infinite;
}

/* Focus visible para accesibilidad */
.form-control-custom:focus-visible,
.btn-acceso-custom:focus-visible,
.btn-cancelar-custom:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 575.98px) {
  .modal-area-personal {
    border-radius: 1.25rem;
    margin: 0.75rem;
  }

  .modal-title-custom {
    font-size: 1.4rem;
  }

  .modal-subtitle {
    font-size: 0.9rem;
  }

  .modal-icon-wrapper {
    width: 70px;
    height: 70px;
  }

  .modal-area-personal .modal-body {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .modal-area-personal .modal-footer {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .form-control-custom {
    font-size: 0.95rem;
    padding: 0.7rem 1.25rem;
  }

  .btn-acceso-custom {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }

  .btn-cancelar-custom {
    padding: 0.65rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .modal-dialog {
    max-width: 500px;
  }

  .modal-title-custom {
    font-size: 1.6rem;
  }
}

/********************************************************************************** Area personal  *******************************************************************************/
.card-width {
  min-width: 10rem;
}

.flex-adapt {
  flex-direction: column !important;
}

/********************************************************************************** textos  *******************************************************************************/

/********************************************************************************** media query  *******************************************************************************/
@media (min-width: 365px) and (max-width: 760.99px) {
    .imgforma {
        margin-top: 3%;
        margin-bottom: -15%;
        width: 21%;
    }
}

@media (max-width: 767.98px) {
  .h1Header {
    font-size: 4rem;
  }
  .imgLogoMam {
    max-width: 25%;
    margin-top: -8%;
  }
  .btn-formulario {
    padding: 0rem 3rem;
    font-size: 2rem;
    margin-left: 0;
    white-space: nowrap;
  }
  .imgLogoPolaroid {
    max-width: 43%;
  }
  .subtituloContacto {
    line-height: 0.8;
}
.pAyuda {
    font-size: 1rem;}
    
  #inicio.fondoHeader {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 100vh !important;
    margin-bottom: 80px !important;
  }
  #inicio.fondoHeader .col-lg-6.p-0 {
    display: none !important;
  }
  #inicio.fondoHeader .btnParticiparDesktop {
    display: none !important;
  }
  #inicio.fondoHeader .btnParticiparMovil {
    display: block !important;
  }
  .txt50Aniversario {
    margin-top: -15%;
  }
.imgLogo50Aniversario {
    width: 20%;
    margin-bottom: 8%;
}
  .txtAniversarioBold ,.txtAniversario{
    font-size: 1rem;
  }
  .imgFormasEnmedioCentro {
    width: 20%;
}
.txtComoParticipar {
    font-size: 3.5rem;
  }
  .txtSigueLosPasos {
    font-size: 1.1rem;
  }
  .imgPaso {
    width: 70%;
}

}

/* Media query para desktop - ocultar botón móvil */
@media (min-width: 768px) {
  #inicio.fondoHeader .btnParticiparMovil {
    display: none !important;
  }
  #inicio.fondoHeader .btnParticiparDesktop {
    display: block !important;
  }
}

@media(min-width: 768px) and (max-width: 991.98px) {
  .imgCabecera {
    margin-bottom: -5%;
  }
  .h1Header {
    font-size: 5rem;
  }
.imgFormaAniversario {
    max-width: 18%;
  }
  .imgFormasEnmedioDerecha {
    width: 19%;
    }
.imgforma {
    margin-top: 3%;
    margin-bottom: -8%;
    width: 23%;
}
.imgFormasEnmedioCentro {
    width: 16%;
}
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .br-telefono {
        display: block;
    }
}
@media (min-width: 992px) and (max-width: 1023.98px) {
  .imgCabecera {
    margin-bottom: -9.8%;
}
  .h1Header {
    font-size: 5rem;
}
.txtAniversario {
    font-size: 1rem;
}
  .imgforma {
    width: 15%;
  }
  .imgFormasEnmedioCentro {
    width: 15%;
  }
  .subtituloContacto {
    line-height: 1;
}
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .imgCabecera {
    margin-bottom: -8.2%;
  }
  .h1Header {
    font-size: 5rem;
  }
  .txtAniversario {
    font-size: 1rem;
}
  .imgforma {
    width: 15%;
  }
  .imgFormasEnmedioCentro {
    width: 15%;
  }
  .subtituloContacto {
    line-height: 1;
}
}

@media (min-width: 1200px) and (max-width: 1299px) {
  .imgCabecera {
    margin-bottom: -7.9%;
  }
    .h1Header {
    font-size: 5rem;
}
  .txtAniversario {
    font-size: 1.2rem;
}
  .imgforma {
    width: 15%;
  }
  .imgFormasEnmedioCentro {
    width: 15%;
  }

}

@media(min-width: 1300px) and (max-width: 1499px) {
  .imgforma {
    width: 12%;
  }
  .imgFormasEnmedioCentro {
    width: 10%;
  }
  .imgCabecera {
    margin-bottom: -6.7%;
  }
  .h1Header {
    font-size: 5rem;
  }
  .txtAniversario {
    font-size: 1.2rem;
}

}

@media(min-width: 1500px) and (max-width: 1599px) {
  .imgCabecera {
    margin-bottom: -6.1%;
  }
}

@media (min-width: 1600px) {}

/********************************************************************************** BASES LEGALES REMAQUETADAS *******************************************************************************/

/* Contenedor principal de bases legales */
.bbll-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: var(--tph-font-Neometric);
  color: var(--tph-negro);
  line-height: 1.7;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Título principal */
.bbll-title {
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 2.5rem;
  color: var(--tph-azul-fuerte);
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 767.98px) {
  .bbll-title {
    font-size: 1.8rem;
  }
}

/* Índice de contenidos */
.bbll-index {
  background: linear-gradient(135deg, var(--tph-azul-fuerte) 0%, var(--tph-azul-claro) 100%);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bbll-index h2 {
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 1.8rem;
  color: var(--tph-blanco);
  margin-bottom: 1.5rem;
  text-align: center;
}

.bbll-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.bbll-index-item {
  margin: 0;
}

.bbll-index-link {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--tph-azul-fuerte);
  text-decoration: none;
  border-radius: 5rem;
  transition: all 0.3s ease;
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.bbll-index-link:hover {
  background-color: var(--tph-blanco);
  color: var(--tph-azul-fuerte);
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Link activo del índice */
.bbll-index-link.active {
  background-color: var(--tph-azul-claro);
  color: var(--tph-azul-fuerte);
  font-weight: bold;
  border-left: 4px solid var(--tph-azul-fuerte);
}

.bbll-index-link.active .bbll-index-number {
  background-color: var(--tph-azul-fuerte);
  color: var(--tph-blanco);
  transform: scale(1.15);
}

.bbll-index-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--tph-azul-fuerte);
  color: var(--tph-blanco);
  border-radius: 50%;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.bbll-index-link:hover .bbll-index-number {
  background-color: var(--tph-azul-fuerte);
  color: var(--tph-blanco);
  transform: scale(1.1);
}

@media (max-width: 767.98px) {
  .bbll-index {
    padding: 1.5rem;
  }
  
  .bbll-index h2 {
    font-size: 1.5rem;
  }
  
  .bbll-index-list {
    grid-template-columns: 1fr;
  }
}

/* Secciones de bases legales */
.bbll-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  scroll-margin-top: 100px; /* Espacio para scroll desde índice */
}

.bbll-section:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Efecto de resaltado al navegar desde índice */
.bbll-section-highlight {
  animation: sectionHighlight 2s ease;
}

@keyframes sectionHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 65, 155, 0.7);
  }
  50% {
    box-shadow: 0 0 20px 10px rgba(0, 65, 155, 0.3);
  }
  100% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
}

.bbll-section-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--tph-azul-fuerte);
}

.bbll-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--tph-azul-fuerte) 0%, var(--tph-azul-fuerte) 100%);
  color: var(--tph-blanco);
  border-radius: 50%;
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 65, 155, 0.3);
}

.bbll-section-title {
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 1.6rem;
  color: var(--tph-azul-fuerte);
  margin: 0;
  flex-grow: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (max-width: 767.98px) {
  .bbll-section {
    padding: 1.5rem;
  }
  
  .bbll-section-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin-right: 1rem;
  }
  
  .bbll-section-title {
    font-size: 1.3rem;
  }
}

/* Contenido de secciones */
.bbll-section-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--tph-negro);
}

.bbll-section-content ul,
.bbll-section-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.bbll-section-content li {
  margin-bottom: 0.5rem;
}

.bbll-section-content strong {
  color: var(--tph-azul-fuerte);
  font-weight: bold;
}

.bbll-section-content a {
  color: var(--tph-azul-fuerte);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.bbll-section-content a:hover {
  color: var(--tph-azul-claro);
}

/* Cajas de información */
.bbll-info-box {
  background: linear-gradient(135deg, rgba(0, 65, 155, 0.08) 0%, rgba(0, 65, 155, 0.08) 100%);
  border-left: 4px solid var(--tph-azul-fuerte);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bbll-info-box.warning {
  background: linear-gradient(135deg, rgba(220, 235, 244, 0.15) 0%, rgba(220, 235, 244, 0.08) 100%);
  border-left-color: var(--tph-azul-claro);
}

.bbll-info-box.success {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
  border-left-color: #4caf50;
}

.bbll-info-box p:last-child {
  margin-bottom: 0;
}

/* Tabla de productos */
.bbll-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.bbll-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  font-size: 0.95rem;
}

.bbll-table thead {
  background: linear-gradient(135deg, var(--tph-azul-fuerte) 0%, var(--tph-azul-fuerte) 100%);
  color: var(--tph-blanco);
}

.bbll-table th {
  padding: 1rem;
  text-align: left;
  font-family: var(--tph-font-PeakRounded-Bold);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.bbll-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bbll-table tbody tr {
  transition: background-color 0.2s ease;
}

.bbll-table tbody tr:hover {
  background-color: rgba(0, 65, 155, 0.05);
}

.bbll-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 767.98px) {
  .bbll-table {
    font-size: 0.85rem;
  }
  
  .bbll-table th,
  .bbll-table td {
    padding: 0.7rem 0.5rem;
  }
}

/* Caja de fechas destacadas */
.bbll-date-box {
  background: linear-gradient(135deg, var(--tph-azul-claro) 0%, rgba(220, 235, 244, 0.8) 100%);
  color: var(--tph-azul-fuerte);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  margin: 1.5rem 0;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 65, 155, 0.2);
  font-family: var(--tph-font-PeakRounded-Bold);
}

.bbll-date-box strong {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Pasos numerados */
.bbll-steps {
  margin: 2rem 0;
}
.bbll-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background-color: rgba(0, 65, 155, 0.03);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.bbll-step:hover {
  background-color: rgba(0, 65, 155, 0.08);
  transform: translateX(5px);
}

.bbll-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--tph-azul-fuerte) 0%, var(--tph-azul-fuerte) 100%);
  color: var(--tph-blanco);
  border-radius: 50%;
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 65, 155, 0.3);
}

.bbll-step-content {
  flex-grow: 1;
}

.bbll-step-content p {
  margin-bottom: 0.5rem;
}

.bbll-step-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .bbll-step {
    padding: 1rem;
  }
  
  .bbll-step-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    margin-right: 1rem;
  }
}

/* Grid de contacto */
.bbll-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.bbll-contact-card {
  background: linear-gradient(135deg, rgba(0, 65, 155, 0.08) 0%, rgba(0, 65, 155, 0.05) 100%);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.bbll-contact-card:hover {
  background: linear-gradient(135deg, var(--tph-azul-fuerte) 0%, var(--tph-azul-fuerte) 100%);
  border-color: var(--tph-blanco);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 65, 155, 0.3);
}

.bbll-contact-card:hover * {
  color: var(--tph-blanco) !important;
}

.bbll-contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.bbll-contact-card h3 {
  font-family: var(--tph-font-PeakRounded-Bold);
  font-size: 1.1rem;
  color: var(--tph-azul-fuerte);
  margin-bottom: 0.75rem;
}

.bbll-contact-card p {
  font-size: 0.95rem;
  color: var(--tph-negro);
  margin-bottom: 0;
}

.bbll-contact-card a {
  color: var(--tph-azul-fuerte);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.bbll-contact-card:hover a {
  color: var(--tph-blanco) !important;
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .bbll-contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Footer de bases legales */
.bbll-footer {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--tph-azul-fuerte) 0%, var(--tph-azul-claro) 100%);
  color: var(--tph-blanco);
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 65, 155, 0.3);
}

.bbll-footer p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.bbll-footer p:last-child {
  margin-bottom: 0;
}

.bbll-footer strong {
  color: var(--tph-blanco);
  font-family: var(--tph-font-PeakRounded-Bold);
}

/* Botón volver arriba */
.bbll-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--tph-azul-fuerte) 0%, var(--tph-azul-claro) 100%);
  color: var(--tph-blanco);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.bbll-back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.bbll-back-to-top.show {
  display: flex;
}

/* Accesibilidad */
.bbll-container a:focus {
  outline: 2px solid var(--tph-azul-fuerte);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .bbll-container {
    max-width: 100%;
  }
  
  .bbll-index {
    display: none;
  }
  
  .bbll-section {
    page-break-inside: avoid;
    box-shadow: none;
  }
  
  .bbll-back-to-top {
    display: none !important;
  }
}

/* Compatibilidad con estilos antiguos */
.indicebbll {
  /* Deprecado - usar .bbll-index en su lugar */
  font-family: var(--tph-font-PeakRounded-Regular);
}

.indicebbll a {
  text-decoration: none;
  color: var(--tph-negro);
  transition: color 0.3s ease;
}

.indicebbll a:hover {
  color: var(--tph-azul-fuerte);
  text-decoration: underline;
}

.titulobbll {
  /* Deprecado - usar .bbll-title en su lugar */
  font-size: 2rem;
}