:root {
  --tph-rojo:#c4281f;
  --tph-fondo:#fffce0;
  --tph-verde:#6b9010;
  --tph-marron-claro:#7f623e;
  --tph-marron-oscuro:#6b4d2b;
  --tph-negro:#000000;
  --tph-blanco:#ffffff;

  --tph-font-special-gothic:'Special Gothic';
  --tph-font-trade-gothic:'Trade Gothic';
}

.alert-error {
  border: #f70000 solid 1px !important;
  margin-bottom: 0.5rem;
}

.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-formulario {
  background-image: url('../../../img/template/frits_momento_casera_26/boton-participar-default.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  border: none;
  text-align: center;
  border-radius: 5rem !important;
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 1.2rem 3rem;
  font-size: 2.2rem;
}

.btn-formulario:hover {
  background-image: url('../../../img/template/frits_momento_casera_26/boton-participar-hover.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
  border: none;
}

.btn-formulario:focus {
  background-image: url('../../../img/template/frits_momento_casera_26/boton-participar-hover.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: rgb(255, 255, 255);
}

.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-participar-movil {
  background-color: var(--tph-rojo);
  color: var(--tph-blanco);
  font-family: var(--tph-font-special-gothic);
  border: none;
  border-radius: 5rem;
  padding: 1rem 3rem;
  font-size: 1.8rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-participar-movil:hover {
  background-color: var(--tph-verde);
  color: var(--tph-blanco);
  text-decoration: none;
}

/* NO USADO - Botón redondo negativo
.btn-round-negativo {
  border-radius: 1.3rem !important;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
}
*/

/* NO USADO - Fuente de promoción
.font-promo {
  font-family: 'Hisense Regular' !important;
  letter-spacing: 0.05em;
}
*/

/* NO USADO - Texto con gradiente
.gradiente-texto {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, #00B09F, #009295);
}
*/

.imgLogo {
  position: absolute;
  top: 6px;
  left: 5%;
  width: 19%;
  z-index: 1000;
}

.imgLogoMovil{
  position: absolute;
  top: 6px;
  left: 5%;
  width: 5%;
  z-index: 1000;
}
/********************************************************************* 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: 'Special Gothic';
  src: url('../../../fonts/special-gothic-expanded-one-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Trade Gothic';
  src: url('../../../fonts/TradeGothicLTStd-BoldExt.woff2') format('woff2');
}


body {
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  background-color: var(--tph-fondo);
}

a {
  color: #1b2122;
}

.container-fluid {
  max-width: 1980px !important;
}

/********************************************************************************** MENU  *******************************************************************************/

#mainMenu {
  background-color: var(--tph-rojo);
  height: 66px;
  overflow: visible;
}

.navbar-light .navbar-nav .nav-link {
  color: #fff !important;
}

.navbar-light .navbar-brand {
  color: #fff;
}

.imgIcon{
  width: 23px;
  margin-bottom: 5%;
}
.active {
  text-decoration: underline;
}

.btn-menu {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #1466b8;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  background-color: #1b2122;
  color: #fff;
  border: solid 1px #1b2122;
  border-radius: 5rem !important;
}

.bg-menu {
  background-color: var(--tph-rojo);
  color: var(--tph-gris-claro) !important;
}

.bg-menu-scroll {
  background-color: var(--tph-rojo);
  color: var(--tph-gris-claro);
}

/********************************************************************************** header  *******************************************************************************/

#inicio{
  background-color: var(--tph-fondo);
}

/********************************************************************************** mecánica  *******************************************************************************/

.circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.h1Titulo{
  color: var(--tph-verde);
  font-family: var(--tph-font-special-gothic);
  font-size: 5rem;
}

.h2SubTitulo{
  font-family: var(--tph-font-trade-gothic);
  font-size: 3rem;
  color: var(--tph-marron-claro);
}

.h3Pasos {
  color: var(--tph-marron-oscuro);
  font-size: 3rem;
  font-family: var(--tph-font-special-gothic);
}

.pPasos{
  font-family: var(--tph-font-trade-gothic);
  color: var(--tph-marron-claro);
  font-size: 1.9rem;
}

.pSubTituloParticipar {
  font-family: var(--tph-font-trade-gothic);
  color: var(--tph-marron-claro);
  font-size: 2rem;
}

/********************************************************************************** regalo  *******************************************************************************/

/* NO USADO - Sección regalo no existe en la vista
#regalo{
  background-color: var(--tph-gris-oscuro);
}

.m-vbg {
  width: 100%;
  margin-top: auto;
  margin-bottom: auto;
  border-radius: 1rem;
}

.btnParticipar{
    color: var(--tph-negro);
    background-color: var(--tph-verde);
    border-radius: 5rem;
    border: none;
    font-size: 1.8rem;
    padding: 0.5vh 4vh;
    font-weight: bold;
}
*/

/********************************************************************************** countdown  *******************************************************************************/

/* Título del countdown */
.h3Temporizador {
  color: var(--tph-verde) !important;
  font-family: var(--tph-font-special-gothic) !important;
  font-size: 2.5rem !important;
  margin-bottom: 1rem !important;
}

#countdown .wrapper {
  text-align: center;
}

#countdown .time {
  color: var(--tph-verde);
  font-family: var(--tph-font-special-gothic);
  font-size: 2.5rem;
  padding: 0.15rem;
  font-weight: bold;
}

#countdown .label {
  font-size: 0.9rem;
  display: block;
  color: var(--tph-marron-claro);
  font-family: var(--tph-font-trade-gothic);
  font-weight: normal;
  text-transform: uppercase;
}

#countdown svg {
  font-family: var(--tph-font-special-gothic);
  font-weight: bold;
  font-size: 3.5rem;
  width: 100%;
  height: 80px;
}

#countdown text {
  fill: none;
  stroke: var(--tph-verde);
  stroke-width: 5px;
  stroke-linejoin: round;
  animation: 2s pulsate infinite;
}

@keyframes pulsate {
  50% {
    stroke: var(--tph-rojo);
    filter: drop-shadow(2px 2px 4px rgba(107, 144, 16, 0.4));
  }
}
.h3Temporizador{
  font-family: var(--tph-font-special-gothic);
  color: var(--tph-verde);
}
/********************************************************************************** participa  *******************************************************************************/

#participa {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  min-height: 100vh;
}

/* Reducir altura de la sección cuando solo muestra el countdown */
#participa:has(#countdown) {
  min-height: 30vh;
}

#participa .container {
  position: relative;
  z-index: 1;
}

form#formReg_l label {
  display: block;
  font-family: var(--tph-font-trade-gothic);
  color: var(--tph-marron-claro);
}

form#formReg_l .form-control {
  font-family: var(--tph-font-trade-gothic);
  color: var(--tph-marron-claro) !important;
  background-color: #fff;
  border-radius: 5rem;
  font-size: 1rem;
}

form#formReg_l input[type="text"],
form#formReg_l input[type="email"],
form#formReg_l input[type="tel"],
form#formReg_l input[type="number"] {
  font-family: var(--tph-font-trade-gothic);
  color: var(--tph-marron-claro) !important;
}

form#formReg_l .form-select {
  font-family: var(--tph-font-trade-gothic);
  color: var(--tph-marron-claro);
  background-color: #fff;
  border-radius: 5rem;
  font-size: 1rem;
}

form#formReg_l label.custom-control-label {
  display: block !important;
  font-family: var(--tph-font-trade-gothic);
  color: var(--tph-marron-claro);
  font-size: 1rem;
}

form#formReg_l .form-control::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: rgb(255, 255, 255);
  opacity: 1;
  /* Firefox */
}

form#formReg_l .form-control:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: rgb(0, 0, 0);
}

form#formReg_l .form-control::-ms-input-placeholder {
  /* Microsoft Edge */
  color: rgb(0, 0, 0);
}

form#formReg_l .form-select::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: rgb(0, 0, 0);
  opacity: 1;
  /* Firefox */
}

form#formReg_l .form-select:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: rgb(0, 0, 0);
}

form#formReg_l .form-select::-ms-input-placeholder {
  /* Microsoft Edge */
  color: rgb(0, 0, 0);
}

form#formReg_l a {
  color: var(--tph-rojo);
}

form option {
  font-family: var(--tph-font-trade-gothic);
  color: var(--tph-marron-claro);
  font-size: 1rem;
}

form option:hover {
  background-color: #ffffff;
}

form .input-group-text {
  background: #fff;
  border: none;
  border-radius: 10rem !important;
}

form .form-check-input:checked {
  background-color: var(--tph-marron-claro);
  border-color: var(--tph-marron-claro);
}

/********************************************************************************** contacto  *******************************************************************************/

.pSubAyuda{
  font-family: var(--tph-font-trade-gothic);
  color: var(--tph-marron-claro);
  font-size: 1.9rem;
  line-height: 1;
}

.tel_promo .llamanos-texto {
  color: var(--tph-rojo);
  font-weight: bold;
  margin-top:10%;
}

.tel_promo {
  font-size: 4rem;
}

.tel_promo a {
  text-decoration: none;
  color: var(--tph-rojo);
  font-family: var(--tph-font-special-gothic);
}

.email_contacto {
  font-size: 3.7rem;
  margin-top: 2rem;
}

.email_contacto a {
  text-decoration: none;
  color: var(--tph-rojo);
  font-family: var(--tph-font-special-gothic);
}

.horario_contacto {
  font-family: var(--tph-font-trade-gothic);
  color: var(--tph-marron-claro);
  font-size: 2.2rem;
  margin-top: 5rem;
  line-height: 1;
}


/********************************************************************************** footer  ********************************************************************************/

footer {
  background-color: var(--tph-negro);
}

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;
}

/********************************************************************************** Modal Área Personal  *******************************************************************************/

.modal-area-personal {
  background-color: var(--tph-negro);
  border: none;
  border-radius: 1.5rem;
  color: var(--tph-blanco);
  overflow: hidden;
}

.modal-area-personal .modal-header {
  padding: 1rem 1.5rem 0;
}

.btn-close-custom {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.btn-close-custom:hover {
  opacity: 1;
}

.modal-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tph-azul), var(--tph-verde));
  color: var(--tph-negro);
  font-size: 1.6rem;
  margin: 0 auto;
}

.modal-title-custom {
  font-family: 'Hisense Medium', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  color: var(--tph-blanco);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-subtitle {
  font-family: 'Hisense Light', Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

.form-label-custom {
  display: block;
  font-family: 'Hisense Regular', Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/********************************************************************************** Banner Promocional Header *******************************************************************************/

.banner-promo-header {
  min-height: 90vh;
  background: transparent;
}

.banner-promo-img-izq {
  margin-top: 99%;
  width: 291%;
  margin-left: -169%;
}

.banner-promo-titulo {
  font-size: 5rem;
  font-family: var(--tph-font-special-gothic);
  color:var(--tph-rojo);
  line-height: 1;
}

.banner-promo-texto {
  font-size: 2.3rem;
  font-family: var(--tph-font-trade-gothic);
  color:var(--tph-marron-claro);
  line-height: 1;
  margin-top: 10%;
}

.banner-promo-img-der{
  margin-top: -23%;
  width: 300%;
  margin-left: -54%;
}


.form-control-custom {
  background-color: var(--tph-form-bg) !important;
  color: var(--tph-form-input) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5rem !important;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  font-family: 'Hisense Regular', Arial, Helvetica, sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control-custom:focus {
  border-color: var(--tph-azul);
  box-shadow: 0 0 0 3px rgba(9, 169, 175, 0.25);
  outline: none;
}

.form-control-custom::placeholder {
  color: var(--tph-form-placeholder);
  opacity: 1;
}

.password-wrapper {
  position: relative;
}

.password-wrapper .form-control-custom {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--tph-form-placeholder);
  font-size: 0.95rem;
  transition: color 0.2s ease;
  z-index: 5;
}

.password-toggle:hover {
  color: var(--tph-azul);
}

.recuperar-pass-link {
  font-family: 'Hisense Light', Arial, Helvetica, sans-serif;
  color: var(--tph-verde) !important;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.recuperar-pass-link:hover {
  color: var(--tph-azul) !important;
  text-decoration: underline;
}

.btn-acceso-custom {
  font-family: 'Hisense Medium', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, var(--tph-azul), var(--tph-verde));
  color: var(--tph-negro);
  border: none;
  border-radius: 5rem;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-acceso-custom:hover {
  opacity: 0.9;
  color: var(--tph-negro);
  transform: translateY(-1px);
}

.btn-acceso-custom:focus {
  box-shadow: 0 0 0 3px rgba(0, 254, 193, 0.3);
  color: var(--tph-negro);
}

.btn-acceso-custom:disabled {
  opacity: 0.65;
  transform: none;
}

.btn-acceso-custom .btn-text {
  display: inline;
}

.btn-cancelar-custom {
  font-family: 'Hisense Regular', Arial, Helvetica, sans-serif;
  background-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-cancelar-custom:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--tph-blanco);
  border-color: rgba(255, 255, 255, 0.45);
}

.alert-custom {
  background-color: rgba(247, 0, 0, 0.12);
  border: 1px solid rgba(247, 0, 0, 0.5);
  color: #ff6b6b;
  border-radius: 0.75rem;
  font-family: 'Hisense Light', Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
}

/* Decorative gradient line at top of modal */
.modal-area-personal::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(to right, var(--tph-azul), var(--tph-verde));
  border-radius: 1.5rem 1.5rem 0 0;
}

/* Modal backdrop */
.modal-backdrop.show {
  opacity: 0.7;
}

/********************************************************************************** Area personal  *******************************************************************************/

/* NO USADO - Clases de área personal
.card-width {
  min-width: 10rem;
}

.flex-adapt {
  flex-direction: column !important;
}
*/

/********************************************************************************** media query  *******************************************************************************/



@media (max-width: 767.98px) {
  .imgLogo {
    display: none;
  }
  .imgLogoMovil {
    display: none;
  }
  .banner-promo-header {
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .banner-promo-header > div {
    position: relative;
    width: 100%;
  }
  
  .banner-promo-header .col-12 {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
  }
  
  /* Estilos para el banner móvil con orden específico */
  .banner-movil-logo {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .banner-movil-logo img {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-top: -28%;
  }
  
  .banner-movil-titulo {
    order: 2;
    margin-bottom: 2rem;
  }
  
  .banner-movil-contenido {
    order: 3;
  }
  
  .banner-promo-titulo {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
  }
  .banner-promo-texto {
    margin-top: 0;
    font-size: 1.5rem;
  }
  .btn-participar-movil {
    margin-top: 2rem !important;
  }
  .h1Titulo {
    font-size: 3rem;
  }
  .h2SubTitulo {
    font-size: 2rem;
  }
  .pPasos {
    font-size: 1.1rem !important;
  }
  .btn-formulario {
    padding: 1.2rem 1.4rem;
  }
  .banner-movil-contenido{
    margin-top:1%;
  }
  .pSubAyuda {
    font-size: 1.2rem;
  }
  .tel_promo {
    font-size: 2.5rem;
  }
  .email_contacto {
    font-size: 1.3rem;
  }
  .horario_contacto {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .imgLogo {
    display: block;
  }
  .imgLogoMovil {
    display: none;
  }
}

@media (min-width: 992px) {}

@media (min-width: 1024px) {}

@media (min-width: 1200px) {
  #contacto .h1Titulo {
    font-size: 3.5rem;
  }
  .pPasos {
    font-size: 1.2rem;
  }
  .pSubAyuda {
    font-size: 1.5rem;
  }
  .tel_promo {
    font-size: 3rem;
  }
  .email_contacto {
    font-size: 3rem;
  }
}

@media (min-width: 1301px) and (max-width: 1536px) {
  .banner-promo-img-izq {
    margin-top: 51%;
    width: 197%;
    margin-left: -44%;
  }

  .banner-promo-titulo {
    font-size: 4rem;
    font-family: var(--tph-font-special-gothic);
    color: var(--tph-rojo);
    line-height: 1;
  }

  .banner-promo-texto {
    font-size: 2rem;
    font-family: var(--tph-font-trade-gothic);
    color: var(--tph-marron-claro);
    line-height: 1;
    margin-top: 6%;
  }

  .banner-promo-img-der {
    margin-top: -31%;
    width: 231%;
    margin-left: -92%;
  }
  .imgLogoMovil {
    top: -3px;

  }

  .h1Titulo {
    font-size: 3rem;
  }
  .h2SubTitulo {
    font-size: 2rem;
  }
  .img-paso {
  max-width: 70%;
  height: auto;
  }
  .h3Pasos {
    font-size: 2rem;
  }
  .pPasos {
    font-size: 1.4rem;
  }

  .pSubAyuda {
    font-size: 1.5rem;
  }
  .pSubAyuda{
    font-size: 1.5rem;
  }
  .tel_promo {
    font-size: 2.5rem;
  }
  .email_contacto {
    font-size: 2.7rem;
  }
  .horario_contacto {
    font-size: 1.8rem;
    margin-top: 3rem;
    line-height: 1;
}

}

@media (max-width: 1300px) {
  .pPasos {
    font-size: 1.2rem;
  }
}

@media (max-width: 1920px) {
  .banner-promo-img-izq {
    margin-top: 88%;
    width: 246%;
    margin-left: -100%;
}
.banner-promo-img-der {
    width: 261%;
    margin-left: -59%;
  }
 }

/********************************************************************************** Bases Legales  *******************************************************************************/

/* Scroll suave para toda la página */
html {
  scroll-behavior: smooth;
}

/* Estructura general de BBLL */
#bases-legales {
  background-color: var(--tph-fondo);
  padding: 2rem 1rem;
  line-height: 1.6;
}

#bases-legales article {
  max-width: 1200px;
  margin: 0 auto;
}

/* Índice de navegación */
#bases-legales nav[aria-label="Índice de Bases Legales"] {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

#bases-legales nav .list-group-item {
  border: none;
  border-bottom: 1px solid rgba(127, 98, 62, 0.2);
  padding: 0.75rem 0;
  background-color: transparent;
}

#bases-legales nav .list-group-item:last-child {
  border-bottom: none;
}

#bases-legales nav a {
  color: var(--tph-marron-claro);
  text-decoration: none;
  font-family: var(--tph-font-trade-gothic);
  font-size: 1.1rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: block;
}

#bases-legales nav a:hover {
  color: var(--tph-rojo);
  padding-left: 0.5rem;
}

/* Secciones */
#bases-legales section {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  scroll-margin-top: 100px;
  transition: box-shadow 0.3s ease;
}

/* Efecto al navegar a una sección */
#bases-legales section:target {
  box-shadow: 0 0 0 3px var(--tph-verde), 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: highlight-section 2s ease;
}

@keyframes highlight-section {
  0% {
    background-color: rgba(107, 144, 16, 0.15);
  }
  100% {
    background-color: #fff;
  }
}

#bases-legales section p {
  color: var(--tph-marron-claro);
  font-family: var(--tph-font-trade-gothic);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: justify;
}

#bases-legales section h2 {
  color: var(--tph-verde);
  border-bottom: 3px solid var(--tph-rojo);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

#bases-legales section h3 {
  color: var(--tph-marron-oscuro);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

#bases-legales section h4 {
  color: var(--tph-marron-oscuro);
  font-family: var(--tph-font-trade-gothic);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

/* Paso de mecánica */
.paso-mecanica {
  background-color: var(--tph-fondo);
  border-left: 4px solid var(--tph-verde);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.paso-mecanica h4 {
  color: var(--tph-rojo);
  margin-bottom: 1rem;
}

/* Tablas */
#bases-legales .table-responsive {
  margin: 2rem 0;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#bases-legales table {
  margin: 0;
  font-family: var(--tph-font-trade-gothic);
}

#bases-legales table thead {
  background-color: var(--tph-marron-oscuro) !important;
  color: var(--tph-blanco);
}

#bases-legales table thead th {
  color: var(--tph-blanco);
  font-family: var(--tph-font-special-gothic);
  font-size: 1.1rem;
  padding: 1rem;
}

#bases-legales table tbody td {
  color: var(--tph-marron-claro);
  padding: 0.75rem 1rem;
}

#bases-legales table tbody tr:hover {
  background-color: var(--tph-fondo);
}

/* Listas */
#bases-legales ul,
#bases-legales ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

#bases-legales li {
  color: var(--tph-marron-claro);
  font-family: var(--tph-font-trade-gothic);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Enlaces */
#bases-legales a {
  color: var(--tph-rojo);
  text-decoration: underline;
  transition: color 0.3s ease;
}

#bases-legales a:hover {
  color: var(--tph-verde);
}

/* Negritas */
#bases-legales strong {
  color: var(--tph-marron-oscuro);
  font-weight: bold;
}

/* Referencias en el texto (superíndice) */
#bases-legales sup {
  scroll-margin-top: 100px;
}

/* Footer de referencias */
#bases-legales footer#referencias {
  background-color: #fff;
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  scroll-margin-top: 100px;
}

#bases-legales footer#referencias h3 {
  color: var(--tph-verde);
  margin-bottom: 1.5rem;
}

#bases-legales footer#referencias ol {
  counter-reset: footnote;
  list-style: none;
  padding-left: 0;
}

#bases-legales footer#referencias ol li {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  scroll-margin-top: 100px;
}

#bases-legales footer#referencias p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* Tamaños de títulos específicos para BBLL */
#bases-legales .h1Titulo {
  font-size: 3.5rem;
}

#bases-legales .h2SubTitulo {
  font-size: 2.2rem;
}

#bases-legales .h3Pasos {
  font-size: 2rem;
}

/* Responsive para BBLL */
@media (max-width: 767.98px) {
  #bases-legales {
    padding: 1rem 0.5rem;
  }

  #bases-legales section {
    padding: 1.5rem 1rem;
  }

  #bases-legales nav[aria-label="Índice de Bases Legales"] {
    padding: 1.5rem 1rem;
  }

  #bases-legales nav a {
    font-size: 1rem;
  }

  #bases-legales section p,
  #bases-legales li {
    font-size: 1rem;
    text-align: left;
  }

  #bases-legales .h1Titulo {
    font-size: 2rem;
  }

  #bases-legales .h2SubTitulo {
    font-size: 1.5rem;
  }

  #bases-legales .h3Pasos {
    font-size: 1.3rem;
  }

  .paso-mecanica {
    padding: 1rem;
  }
}