html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    background-color: #eef0f6;
}

.tittle-cont{
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    text-align: center;
    padding-left: 15px;
    color: #0d6efd;
}

.linea-divisoria{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid #000;
}

.tittle-cont.mb-3{
    margin-left: -12px;
}

.tittle-cont h2{
    font-size: 20px;
}

#section-consultas{
    background-color: #EEF0F6;
}

#carouselCardsOne{
    background-color: #EEF0F6;
}

#carouselCardsDos{
    background-color: #EEF0F6;
}

#carouselCardsTres{
    background-color: #EEF0F6;
}

.link-cards{
    text-decoration: none;
}

.ofertas-price{
    font-size: 18px;
    margin-bottom: 0px !important;
}

#changing-title{
    font-size: 42px;
    padding-top: 90px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    font-weight: 600; 
}

.texto-p{
    font-size: 14px;
}

.card-titles{
    font-size: 17px;
}

.card-titles-fun{
    font-size: 16px;
}

.card-text-fun{
    font-size: 12px;
    font-weight: 400;
}

.iva{
    font-size: 12px;
    color: green;
    font-weight: 600;
}

.card-text{
    font-size: 13px;
}

.promos-title{
    font-size:27px ;
}

.ofertas-card-title{
    font-size: 18px;
}

.ofertas-card-text{
    font-size: 10px;
}

.nombre-empresa{
    font-size: 12px;
}

.fecha-empresa{
    font-size: 11px;
}

.title-consulta{
    font-size: 20px;
}

.text-consulta{
    font-size: 13px;
}

.consulta-title{
    font-size: 20px;
}

.consulta-text{
    font-size: 13px;
}

#consultas{
    font-size: 30px;
}

.accordion-button{
    font-size: 13px;
}

.accordion-body{
    font-size: 11px;
}

#hero{
    min-height: 60vh;
    background-color: white;
}

.hero-cont{
    width: 100%;
    background-color: white;
}

.icons-container{
    width: 50px;
    height: 50px;
}

#carouselCards{
    background-color: #eef0f6;
}

#promos{
    background-color: #7f00ff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.flex-grow-0{
    padding: 10px;
}

.accordion-item {
    min-height: 87px;
}

#stadium{
    font-size: 200px;
    color: white;
}

.icon-card-cont{
    min-width: 100px;
}

.icon-card-cont span {
    font-size: 75px;
    color: white;
}

.card-line{
    height: 5px;
     background-color: #0d6efd;
      border-top-left-radius: 1rem;
       border-top-right-radius: 1rem;
}

#preguntas{
    background-color: #eef0f6;
    /* min-height: 500px; */
}

.cont-preguntas{
    background-color: WHITE;
    border-radius: 5px;
    padding: 20px 30px 20px 30px;
    min-height: 350px;
    transition: all 0.5s ease;
}

.iconos-cards{
    display: flex;               
    align-items: center;         
    justify-content: center;     
    width: 70px;                 
    height: 70px;
    background-color: #7f00ff;   
    color: white;                
    font-size: 35px; 
}

.cont-car-tres{
    min-height: 280px;
    text-align: center;
}

.accordion-button {
  padding: 40 0 40 0;
  font-size: 15px;
}

.accordion-body {
  padding: .5rem 1rem;
  font-size: 13px;
}

/* Elimina margen entre items */
.accordion-item {
  margin-bottom: 0;
}

.cont-card-car-tres{
    min-height: 150px;
}

.card-link{
    height: 500px;
}

.rounded-circle.me-3{
    border: 2px lightgrey solid;
}

.consulta-btn{
    width:290px;
    height:140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cont-circulo{
    max-width: 320px;
    display: flex;
    gap: 25px;
}

#changing-title.visible {
    opacity: 1;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.carousel-control-prev, .carousel-control-next {
    display: none;
}

.carousel-control-next-icon {
  mask-image: var(--bs-carousel-control-next-icon);
  -webkit-mask-image: var(--bs-carousel-control-next-icon);
}

.card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.card-cont-car-dos{
  width: 100%;
  margin: 0 10px; 
}

.carousel-item {
  padding: 0 20px; /* margen entre el borde y la card */
}

.ofertas-icons{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.acordion-body{
    text-align: justify;
}

section#carouselCardsOne .carousel-indicators button {
    background-color: #ccc; 
}

section#carouselCardsOne .carousel-indicators .active {
    background-color: #007bff; 
}

section#carouselCards .carousel-indicators button {
     background-color: #ccc;
}

section#carouselCards .carousel-indicators .active {
    background-color: #007bff;
}

section#carouselCardsDos .carousel-indicators button {
     background-color: #ccc;
}

section#carouselCardsDos .carousel-indicators .active {
    background-color: #007bff;
}

section#carouselCardsTres .carousel-indicators button {
     background-color: #ccc;
}

section#carouselCardsTres .carousel-indicators .active {
    background-color: #007bff;
}

.carousel-inner {
  overflow: visible;
  width: 100%;
}

.carousel-item.active{
    width: 100%;
}

#consultas-icon{
    font-size: 5rem;
    color: #007bff;
}

#faqAccordion {
    width: 100%;
    margin: 0 auto; 
    
}

.accordion-item {
    width: 100%; 
  
}

.accordion-button {
    width: 100%;
    display: flex; 
}

.accordion-collapse {
    width: 100%; 
}

.preguntas-title{
    font-size: 29px;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 20px;
    color: black;
}

.cont-preguntas #consultas-icon {
  color: #007bff; 
  transition: color 0.5s ease;
}

.cont-preguntas:hover {
  background-color: #007bff; 
}

.cont-preguntas:hover .preguntas-title {
  color: white !important;
  transition: color 0.3s ease; 
}

.cont-preguntas:hover #consultas-icon {
  color: white; 
}

.card-hover {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 350px;
}

/* Front siempre visible */
.card-hover .front {
  position: relative; 
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

/* Back: overlay parcial */
.card-hover .back {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65%;          
  background-color: #fc3a5c;
  color: white;
  transform: translateY(100%); 
  transition: transform 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 5px 5px 0 0;
  z-index: 2;
}

/* Back verde solo para la card anual */
#card-green .back {
  background-color: #27c400;
}

/* Hover: back sube desde abajo */
.card-hover:hover .back {
  transform: translateY(0);
}

/* Estado normal */
.card-carousel-one {
  transition: background-color 0.5s ease, color 0.5s ease;
}

.card-carousel-one{
    min-height: 150px;
}

/* Texto interior */
.card-carousel-one .card-titles,
.card-carousel-one .card-text {
  transition: color 0.5s ease;
}

/* Círculo e ícono */
.card-carousel-one .icons-container,
.card-carousel-one .icons-container span {
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Estado hover */
.card-carousel-one:hover {
  background-color: #0d6efd !important;
  color: #fff !important;
}

.card-carousel-one:hover .card-titles,
.card-carousel-one:hover .card-text {
  color: #fff !important;
}

.card-carousel-one:hover .icons-container {
  background-color: #fff !important;
}

.card-carousel-one:hover .icons-container span {
  color: black !important;
}

.object-fit-cover {
  object-fit: cover;
}

@media (min-width:320px){
    .cont-preguntas{
        width: 100%;
    }
}

@media (min-width:576px){

.cont-card-car-tres{
    min-height: 180px;
}

.icons-container{
    width: 70px;
    height: 70px;
}

.consulta-btn{
    height:140px;
}

.cont-car-tres{
    min-height: 320px;
}

#changing-title{
    font-size: 48px;
}

.texto-p{
    font-size: 14px;
}

.card-titles{
    font-size: 20px;
}

.card-text{
    font-size: 16px;
}

.promos-title{
    font-size:32px ;
    
}

.ofertas-card-title{
    font-size: 24px;
}

.ofertas-card-text{
    font-size: 14px;
}

.ofertas-price{
    font-size: 21px;
}

.nombre-empresa{
    font-size: 14px;
}

.fecha-empresa{
    font-size: 13px;
}

.title-consulta{
    font-size: 22px;
}

.text-consulta{
    font-size: 17px;
}

.consulta-title{
    font-size: 24px;
}

.consulta-text{
    font-size: 16px;
}

.preguntas-title{
    font-size: 22px;
}

.accordion-button{
    font-size: 15px;
}

.accordion-body{
    font-size: 13px;
}

.card-titles-fun{
    font-size: 18px;
}

.card-text-fun{
    font-size: 15px;
    font-weight: 600;
}

}

@media (min-width:768px){
.card-bg {
  background-image: url('/assets/images/home/Lucy-bg.svg');
  background-repeat: no-repeat;
  background-position: 100% 50%;
  /* background-size: auto; */
  background-size: 25% 100%;
}

.card-cont-car-dos {
  position: relative;
  z-index: 1; 
}

.cont-card-car-tres{
    min-height: 260px;
}

.cont-car-tres{
    min-height: 340px;
}

#changing-title{
    font-size: 54px;
}

#section-consultas a{
    min-width: 400px;
}

#consultas-icon{
    font-size: 7rem;
}

#faqAccordion {
    min-width: 600px;
   
}

.consulta-btn{
    width:300px;
    height:120px;
    gap: 15px;
}

.preguntas-title{
    font-size: 24px;

}

.accordion-button{
    font-size: 16px;
}

.accordion-body{
    font-size: 14px;
}

.card-cont-car-dos{
  width: 100%;
  max-width: 350px;
  min-height: 150px;
} 

.icons-container{
    width: 80px;
    height: 80px;
}

.cont-descuentos{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.promos-title{
    width: 60%;
}

.card-titles-fun{
    font-size: 18px;
}

.cont-card-car-tres{
    min-height: 260px;
}

#changing-title{
    font-size: 54px;
}

.cont-car-tres{
    min-height: 340px;
}

.card-cont-car-dos{
    max-width: 100%;
    margin: 0 15px 0 15px;
}

.mb-4.d-flex{
    justify-content: none;
    gap: 230px;
}
    
}


@media (min-width:992px){

.w-75{
    width: 70% !important;
}

.cont-preguntas{
    min-height: 520px;
    width: auto;
}


#promos{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

 .ofertas-icons {
    position: relative; /* Referencia para posicionamiento absoluto del precio */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cont-prices {
    position: absolute;
    top: 200px; /* Ajusta según tu diseño */
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 2;
  }

.cont-descuentos{
    flex-direction: column;
}

.promos-title{
    width: 80%;
    margin-top: 40px;
}

.cont-card-car-tres{
    min-height: 250px;
}

.icons-container{
    width: 90px;
    height: 90px;
}

.consulta-btn{
    width: 100% ;
}

.consultas-cont{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    text-align: center;
    padding-top: 22px;
}

.cont-car-tres{
    min-height: 300px;
}

#changing-title{
    font-size: 48px;
}

.card-titles{
    font-size: 17px;
}

.card-text{
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.promos-title{
    font-size:32px ;
    
}

.ofertas-card-title{
    font-size: 21px;
}

#faqAccordion {
    min-width: 65%;
   
}

.ofertas-price{
    font-size: 18px;
    white-space: nowrap;
}

.ofertas-text{
    min-height: 220px;
   
}

.nombre-empresa{
    font-size: 14px;
}

.fecha-empresa{
    font-size: 13px;
}

.text-consulta{
    font-size: 19px;
}

.consulta-title{
    font-size: 24px;
}

.consulta-text{
    font-size: 16px;
}

.preguntas-title{
    font-size: 26px;
}

.accordion-button{
    padding-bottom: 20px;
    font-size: 18px;
}

.accordion-body{
    font-size: 14px;
}

.card-cont-car-dos{
  width: 100%;
  max-width: auto;
  min-height: 100px;
}

.mb-3{
    width: 100%;
    text-align: center;
}

#consultas{
    font-size: 36px;
}

.card-text-fun{
    font-size: 16px;
    font-weight: 600;
}

.card-titles-fun{
    font-size: 20px;
}

.card-cont-car-dos{
    max-width: 100%;
    margin: 0 17px 0 17px;
}

#changing-title{
    font-size: 67px;
    font-weight: 600;
}

.texto-p{
    font-size: 19px;
}

#faqAccordion {
    min-height: 350px;
    
}

#section-consultas a{
    max-width: 94%;
    margin-right: 20px;
}

}

@media(min-width: 1200px){

#consultas{
    font-size: 3rem;
}

.title-consulta{
    font-size: 24px;
}

.text-consulta{
    font-size: 18px;
}

.card-text-fun{
    font-size: 17px;
}

.card-text{
    font-size: 15px;
}

.icons-container{
    width: 70px !important;
    height: 70px !important;
}

#promos{
    border-radius: 15px;
    max-width: 1155px;
}

.cont-prices {
    top: 170px; 
  }


.ofertas-text{
    min-height: 170px;
   
}

.ofertas-card-text{
    font-size: 13px;
}

#faqAccordion {
    min-width: 700px;
    margin: 0 auto; 
}

.card-cont-car-dos{
    max-width: 100%;
}

.ofertas-icons{
    padding-top: 30px;
}

.card-body{
    min-height: 390px;
}

}

/* Efecto de inversión de colores */
.card-function:hover,
.card-function-reverse:hover {
    background-color: #0d6efd !important; /* Azul Bootstrap */
}

/* Títulos */
.card-function:hover h2,
.card-function-reverse:hover h2 {
    color: #ffffff !important;
}

/* Textos */
.card-function:hover p,
.card-function-reverse:hover p {
    color: #ffffff !important;
}

/* Corrige clases específicas de Bootstrap */
.card-function:hover .text-primary,
.card-function-reverse:hover .text-primary,
.card-function:hover .text-secondary,
.card-function-reverse:hover .text-secondary {
    color: #ffffff !important;
}

/* Opcional: transición suave */
.card-function,
.card-function-reverse {
    transition: background-color 0.3s ease, color 0.3s ease;
}
