*,
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

:root {
  --primary-color: #dd0c15;
  --secondary-dark: #0d160b;
  --secondary-light: #f9f9f9;
  --transition-modal: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 100%;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  color: var(--secondary-dark);
}

ul {
  list-style-type: none;
}

img {
  width: 100%;
}

.overflow-hidden {
  overflow: hidden;
}

.bg-primary {
  background-color: var(--primary-color);
}

.bg-dark {
  background-color: var(--secondary-dark);
}

.bg-light {
  background-color: var(--secondary-light);
}

.text-light {
  color: var(--secondary-light);
}

.text-primary {
  color: var(--primary-color);
}

.capitalize {
  text-transform: uppercase;
}

.fw-300 {
  font-weight: 300;
}

.text-normal {
  font-weight: 400;
}

strong,
.text-bold {
  font-weight: 700;
}

.text-bolder {
  font-weight: 800;
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-grid {
  display: grid;
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-gap-1 {
  gap: 1rem;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.justify-content-around {
  justify-content: space-around;
}

.align-items-center {
  align-items: center;
}

.align-items-end {
  align-items: flex-end;
}

.align-self-end {
  align-self: flex-end;
}

.align-self-center {
  align-self: center;
}

.justify-self-center {
  justify-self: center;
}

.justify-self-end {
  justify-self: end;
}

.vertical-align-middle {
  vertical-align: middle;
}

.container {
  max-width: 1390px;
}

.container-inner {
  max-width: 1091px;
}

.text-center {
  text-align: center;
}

.text-end {
  text-align: end;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

.mr-1 {
  margin-right: 0.5rem;
}

.p-2 {
  padding: 2rem;
}

.p-3 {
  padding: 3rem;
}

.py-3 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-2 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.pt-3 {
  padding-top: 3rem;
}

.px-1 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-2 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.pb-1 {
  padding-bottom: 1rem;
}

.pb-2 {
  padding-bottom: 2rem;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

@media (min-width: 768px) {
  .position-md-absolute {
    position: absolute;
  }
}

.z-index-1 {
  z-index: 1;
}

.border-0 {
  border: none;
}

.rounded-sm {
  border-radius: 5px;
}

.rounded-md {
  border-radius: 10px;
}

.shadow-sm {
  box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 3px 5px 1px rgba(0, 0, 0, 0.3);
}

/* estilos del nav */

/* Accesibilidad */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--secondary-dark);
  color: var(--secondary-light);
  padding: 10px;
  z-index: 2000;
}
.skip-link:focus {
  top: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Botón Hamburguesa */
.menu-toggle {
  position: absolute;
  left: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  /* background: var(--text); */
  background-color: var(--primary-color);
  position: relative;
  transition: var(--transition);
}
.hamburger::before {
  top: -8px;
  position: absolute;
}
.hamburger::after {
  bottom: -8px;
  position: absolute;
}

.menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Menú Móvil */
.nav-links {
  list-style: none;
  position: absolute;
  top: 100%;
  top: 94%;
  left: 0;
  width: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: var(--transition);
}
.nav-links.is-active {
  max-height: 100vh;
  opacity: 1;
  /* padding-bottom: 2rem; */
  border-radius: 0 0 5px 5px;
}

.nav-links li a,
.submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
}

/* Submenú Móvil */
.submenu {
  list-style: none;
  background: #f9f9f9;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: var(--transition);
}
.submenu.is-open {
  /* max-height: 400px; */
  max-height: 40vh;
  overflow-y: auto;
  opacity: 1;
  -webkit-overflow-scrolling: touch;
}
.arrow {
  font-size: 0.7rem;
  margin-left: 0.5rem;
  transition: transform 0.3s;
}
.submenu-toggle[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

.nav-links li a:hover,
.submenu-toggle:hover {
  color: var(--primary);
  color: var(--primary-color);
}

/* --- ESCRITORIO --- */
/* @media (min-width: 768px) { */
@media (min-width: 1024px) {
  .menu-toggle {
    display: none !important;
  }
  .navbar {
    justify-content: space-between;
  }
  .logo {
    order: -1;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    width: auto;
    max-height: none;
    opacity: 1;
    overflow: visible;
    padding: 0;
    transform: none;
  }

  .has-submenu {
    position: relative;
  }

  /* Corrección de Hover Submenú */
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    display: block; /* Importante para la transición */
  }

  /* Activar por Hover */
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    max-height: none; /* Asegura que no se corte */
  }

  /* .nav-links li a:hover,
  .submenu-toggle:hover {
    color: var(--primary);
    color: var(--primary-color);
  } */
  .nav-links li a,
  .submenu-toggle {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.nav-links li a,
.submenu-toggle {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: var(--text);
  text-decoration: none;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-size: 0.75rem;
  cursor: pointer;
}

/* @media (min-width: 768px) { */
@media (min-width: 1024px) {
  .nav-links li a,
  .submenu-toggle {
    padding: 0.5rem 1rem;
  }
}

/* fin de estilos del nav */

/* mis estilos nav */

.page-header {
  position: fixed;
  z-index: 999;
  width: 90%;
  max-width: 1313px;
  left: 50%;
  transform: translateX(-50%);
  top: 1rem;
}

.header-nav {
  padding: 0.5rem 1.5rem;
}

@media (min-width: 1200px) {
  .header-nav {
    padding: 0.5rem 2.75rem;
  }
}

.page-header ul,
.page-header ul button {
  font-weight: 700;
  font-size: 0.85rem;
  font-size: 0.75rem;
  justify-content: space-between;
  background-color: var(--secondary-light);
}

@media (min-width: 1200px) {
  .page-header ul,
  .page-header ul button {
    font-size: 1rem;
  }

  .nav-links li a,
  .submenu-toggle {
    font-size: 1rem;
  }
}

.header-nav a {
  color: var(--secondary-dark);
}
.header-nav a:hover {
  color: var(--primary-color);
}

/* @media (min-width: 768px) { */
@media (min-width: 1024px) {
  .page-header {
    top: 2rem;
  }
}

/* fin mis estilos nav */

/* hero section */

/* Pensar en el hero primero mobil y luego escritorio */

/* .hero-content {
  font-size: 1.2rem;
  font-weight: 400;
  text-align: end;
  margin-top: 1rem;
}

@media (min-width: 1200px) {
  .hero-content {
    font-size: 1.25rem;
  }
}

.hero-carousel {
  width: 100%;
}

@media (min-width: 768px) {
  .hero-carousel {
    width: 60%;
  }
}

.hero-carousel img {
  display: block;
  object-fit: cover;
}

.hero-overlap-img {
  height: 10%;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-overlap-img {
    height: 100%;
    width: 45%;
    aspect-ratio: 1930 / 1096;
  }
}

.page-hero__paper-cut {
  height: 100%;
  width: fit-content;
  right: -22%;
} */

.hero {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  position: relative;
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
}

.hero-image {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 139 / 125;
}

.carousel-hero {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Probando estilos para el carrusel de Hero para que calcule con js automáticamente */
.carousel-hero-item {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  /* top: 0;
  left: 0; */
  transition: opacity 0.5s ease-in-out; /* Opcional para cambios bruscos */
}

/* Clase para cuando solo hay una imagen */
.carousel-hero-item.is-single {
  position: relative;
  opacity: 1;
  animation: none !important;
}
/* fin de estilos de prueba */

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-content {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: end;
  width: 100%;
  margin-top: 0.5rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

@media (min-width: 425px) {
  .hero-content {
    margin-top: -3.75rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    margin-top: -3.75rem;
    margin-top: -6.75rem;
  }
}

.paper-cut-sm {
  margin-bottom: -2px;
}

@media (min-width: 1024px) {
  .paper-cut-sm {
    display: none;
  }
}

.hero-content-text {
  padding: 1rem 0.7rem;
  gap: 0.5rem;
}

@media (min-width: 370px) {
  .hero-content-text {
    gap: 1.25rem;
  }
}

@media (min-width: 425px) {
  .hero-content-text {
    padding: 1.5rem;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-content-text {
    flex-direction: column;
    align-items: end;
    padding-inline: 2rem 4rem;
  }
}

.text-hero-br {
  display: none;
}

.hero-logo-tevai {
  width: 20%;
}

.hero-content-text-h1 {
  font-size: 0.7rem;
  font-weight: 400;
  max-width: 70ch;
}

@media (min-width: 375px) {
  .hero-logo-tevai {
    width: 25%;
  }
  .hero-content-text-h1 {
    font-size: 0.8rem;
  }
}

@media (min-width: 1024px) {
  .hero-logo-tevai {
    width: 80%;
  }
}

@media (min-width: 460px) {
  .hero-content-text-h1 {
    font-size: 1rem;
  }
}

@media (min-width: 740px) {
  .hero-content-text-h1 {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-content-text-h1 {
    text-align: end;
    font-size: 1.25rem;
    max-width: 30ch;
  }
}

@media (min-width: 1200px) {
  .hero-content-text-h1 {
    text-align: end;
    font-size: 1.5rem;
  }
}

.page-hero__paper-cut {
  height: 100%;
  width: fit-content;
  right: -22%;
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .hero-image {
    grid-area: 1 / 1;
    width: 60%;
    height: 100%;
    margin: 0;
    margin-left: auto;
  }

  .hero-content {
    grid-area: 1 / 1;
    align-self: stretch;
    background-color: var(--primary-color);
    width: 45%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .page-hero__paper-cut {
    display: block;
  }
}

/* sección destacados */

/* .destacados {
  gap: 1.5rem;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, auto);
}

@media (min-width: 768px) {
  .destacados {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .item-3 {
    grid-column: 1 / -1;
  }
} */

.destacados {
  /* gap: 1rem; */
  padding-block: 1rem;
}

@media (min-width: 768px) {
  .destacados {
    gap: 1rem;
    padding-block: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .destacados {
    gap: 1.25rem;
    padding-block: 2rem;
  }
}

.destacados article {
  overflow: hidden;
}

.destacados img,
.destacados picture {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Para colocar los botones dentro de los destacados */
/* .contenedor img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.botones {
  grid-area: 1 / 1;
}

.btn {
  font-family: inherit;
  padding: 0.25em;
  cursor: pointer;
  border: 2px solid var(--primary-color);
  transition: filter 0.2s ease;
}

.btn-reservar {
  display: inline-block;
}

.btn:focus-visible:not(:disabled):not(.btn--disabled) {
  border-color: var(--secondary-light);
}

@media (min-width: 375px) {
  .btn {
    padding: 0.5em;
    font-size: 0.8rem;
  }
}

@media (min-width: 768px) {
  .btn:hover:not(:disabled):not(.btn--disabled),
  .btn:active:not(:disabled):not(.btn--disabled) {
    filter: brightness(0.75);
  }
}

@media (min-width: 1024px) {
  .btn {
    font-size: 1rem;
    border-width: 3px;
  }
}

.btn:disabled,
.btn--disabled {
  border-color: gray;
  background-color: gray;
  color: var(--secondary-light);
  cursor: not-allowed;
}

.destacados-botones-ancho {
  margin-bottom: 3%;
}

@media (min-width: 768px) {
  .destacados-botones-ancho {
    margin-bottom: 6%;
  }
}

.botones-pr {
  padding-right: 0.75rem;
}

@media (min-width: 425px) {
  .botones-pr {
    padding-right: 1rem;
  }
}

/*************************--------  carousel de destacados -------------********************/
.carousel-container-destacados {
  --card-width: 518px;
  --gap: 20px;
}

.carousel-container-destacados {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: calc((var(--card-width) * 2) + var(--gap));
  display: flex;
  align-items: center;
}

/* @media (min-width: 769px) {
  .carousel-container-destacados {
    width: 88%;
  }
}

@media (min-width: 1200px) {
  .carousel-container-destacados {
    width: 100%;
  }
} */

.carousel-track {
  display: flex;
  width: 100%;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0;
}

.card {
  flex: 0 0 var(--card-width);
  aspect-ratio: 518 / 338;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .nav-btn {
    display: none;
  }

  .card {
    flex: 0 0 85%;
    max-width: var(--card-width);
  }
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: var(--secondary-light);
  font-size: 1.5rem;
  padding-bottom: 0.25rem;
  border: none;
  width: 45px;
  height: 45px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.prev {
  left: -60px;
}
.next {
  right: -60px;
}

/* estilo nuevo de carousel destacados */
/* Estilos compartidos para CUALQUIER carousel */
.carousel-container-destacados {
  position: relative;
  /* margin: 40px auto; */
  /* width: 85%; */
  width: 95%;
  display: flex;
  align-items: center;
}

@media (min-width: 1024px) {
  .carousel-container-destacados {
    width: calc(100% - 8rem);
  }
}

@media (min-width: 1200px) {
  .carousel-container-destacados {
    width: calc(100% - 4rem);
  }
}

@media (min-width: 1250px) {
  .carousel-container-destacados {
    width: 100%;
  }
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.card {
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* --- Configuraciones específicas por tamaño --- */

/* Carousel 1 (518px) */
.size-standard {
  max-width: calc((518px * 2) + var(--gap));
}
.size-standard .card {
  flex-basis: 518px;
  aspect-ratio: 518 / 338;
}

/* Carousel 2 (1000px) */
.size-large {
  max-width: calc((1000px * 2) + var(--gap));
}
.size-large .card {
  /* flex-basis: 1000px; */
  flex-basis: 800px;
  aspect-ratio: 1000 / 410; /* Ajusta el alto según prefieras */
}

@media (min-width: 1025px) {
  .size-large .card {
    flex-basis: 1000px;
  }
}

/* --- Adaptación Móvil para ambos --- */
/* @media (max-width: 1100px) { */
@media (max-width: 768px) {
  .nav-btn {
    display: none;
  }

  /* En ambos, forzamos que se vea una parte de la siguiente tarjeta */
  .size-standard .card,
  .size-large .card {
    flex-basis: 85%;
    max-width: 100%;
  }
}

/* Estilos para el modal de ver más, por ahora muestra un pdf que viene del drive */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow-y: auto;
  padding: 16px;
  animation: fadeIn 0.3s ease;
}

.modal.activo {
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Contenido del Modal */
.modal__contenido {
  background-color: var(--secondary-light);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
  overflow: hidden;
}

/* Header del Modal */
.modal__header {
  padding: 16px 20px;
  flex-shrink: 0;
}

.modal__titulo {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.modal__cerrar {
  background: none;
  border: none;
  font-size: 3.5rem;
  cursor: pointer;
  color: var(--primary-color);
  transition: var(--transition-modal);
  padding: 0;
  width: 32px;
  height: 32px;
}

.modal__cerrar:hover {
  color: var(--secondary-dark);
}

/* Body del Modal */
.modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__pdf {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

@media (min-width: 640px) {
  .modal__titulo {
    font-size: 24px;
  }

  .modal__body {
    padding: 24px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .modal__contenido {
    max-width: 900px;
    max-height: 85vh;
  }
}

/* Nosotros */
.nosotros-wrapper {
  gap: 1rem;
  padding: 1rem 0;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  justify-items: center;
}

@media (min-width: 768px) {
  .nosotros-wrapper {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
  }
}

.card-nosotros {
  max-width: 262px;
}

.card-nosotros p {
  margin-top: 1rem;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .card-nosotros p {
    font-size: 1rem;
  }
}

.nav-cotiza :hover > div {
  opacity: 0.5;
}

.triangulo {
  width: 100%;
  height: 30px;
}

@media (min-width: 425px) {
  .triangulo {
    height: 50px;
  }
}

@media (min-width: 768px) {
  .triangulo {
    height: clamp(40px, 10vh, 100px);
  }
}

.arriba {
  margin-bottom: -1px;
  background: var(--secondary-dark);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.abajo {
  margin-top: -1px;
  background: var(--secondary-dark);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.experiencias-radio-futuro {
  max-width: 1200px;
}

.vive-experiencia {
  margin-bottom: 3rem;
  max-width: 665px;
}

.vive-experiencia img,
.vive-experiencia picture,
.vive-experiencia__text {
  grid-area: 1 / 1;
}

.vive-experiencia img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.vive-experiencia__text {
  align-self: center;
  justify-self: center;
  font-size: clamp(1rem, 2vw + 5px, 2rem);
}

@media (min-width: 768px) {
  .vive-experiencia__text {
    padding-inline: 5rem;
    font-size: 2.25rem;
    line-height: 1.4;
  }
}

.futuro-tevai {
  max-width: 943px;
}

.futuro-tevai-separator {
  font-size: 2.5rem;
  margin-inline: 0.75rem;
}

.futuro-tevai__slogan {
  max-width: 665px;
}

.futuro-tevai__slogan img,
.futuro-tevai__slogan picture,
.futuro-tevai__slogan .vive-experiencia__text {
  grid-area: 1 / 1;
}

.futuro-tevai__slogan img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.futuro-tevai__slogan .vive-experiencia__text {
  align-self: center;
  justify-self: center;
  font-size: clamp(1rem, 2vw + 5px, 2rem);
}

.experiencias-radio-futuro footer ul {
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .futuro-tevai {
    flex-direction: row;
  }
}

@media (min-width: 1154px) {
  .experiencias-radio-futuro footer {
    flex-direction: row;
  }
}

.experiencias-radio-futuro footer ul li {
  flex: 1;
  text-align: center;
  flex: 1 1 150px;
  min-width: 92px;
  max-width: 92px;
  text-align: center;
}

.experiencias-radio-futuro footer img {
  max-width: 100%;
  height: auto;
}

.noticia-destacada {
  max-width: 700px;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.noticia-destacada__text {
  max-width: 36ch;
  margin-bottom: 2rem;
}

.noticia-destacada__text p {
  text-align: center;
}

.brake-ganadores {
  display: none;
}

@media (min-width: 768px) {
  .noticia-destacada {
    flex-direction: row-reverse;
  }
  .noticia-destacada__text h3 {
    font-size: 1.5rem;
    padding-inline: 0;
    text-align: start;
  }

  .noticia-destacada__text p {
    text-align: start;
  }

  .brake-ganadores {
    display: inline;
  }
}

/*------------------- Deportes ------------*/
.evento {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}

/* @media (min-width: 1208px) {
  .evento {
    grid-template-columns: 1fr 70%;
    grid-template-rows: 1fr auto;
  }
} */

@media (min-width: 1208px) {
  .evento {
    grid-template-columns: 1fr 75%;
    grid-template-rows: 1fr auto;
  }
  /* .evento.evento--espectaculo {
    grid-template-columns: 75% 1fr;
  } */
}

@media (min-width: 1200px) {
  .evento {
    grid-template-columns: 1fr 70%;
  }
  /* .evento--espectaculo {
    grid-template-columns: 1fr 70%;
  } */
}

.evento-header {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

@media (min-width: 1024px) {
  .evento-header {
    grid-area: 1 / 1 / 3 / 3;
  }
}

.evento-header > picture,
.evento-header > img,
.event-detail {
  grid-area: 1 / 1;
}

.event-detail {
  max-width: fit-content;
  padding-block: 1rem;
  padding-left: 1rem;
  padding-right: 0.5rem;
  align-self: start;
  clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
}

/* .espetaculo-detail {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 10% 100%);
} */

@media (min-width: 425px) {
  .event-detail {
    padding-block: 1.75rem;
    padding-left: 2rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .event-detail {
    padding-block: 2.5rem;
    padding-left: 3.5rem;
    padding-right: 4rem;
  }
}

.event-detail--special {
  align-self: center;
}

.event-detail__description {
  gap: 0.5rem;
  max-width: 23ch;
  max-width: 25ch;
}

@media (min-width: 425px) {
  .event-detail__description {
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .event-detail__description {
    gap: 1.25rem;
  }
}

.event-detail__tag {
  max-width: 90px;
}

@media (min-width: 425px) {
  .event-detail__tag {
    max-width: 110px;
  }
}

@media (min-width: 768px) {
  .event-detail__tag {
    max-width: 148px;
  }
}

@media (min-width: 1024px) {
  .event-detail__tag {
    max-width: 157px;
  }
}

.event-detail__description-title {
  font-size: 1rem;
}

.event-detail__description-text {
  font-size: 0.65rem;
  max-width: 21ch;
}

.event-detail--special .event-detail__description-text {
  max-width: 26ch;
}

@media (min-width: 425px) {
  .event-detail__description-text {
    font-size: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .event-detail__description-title {
    font-size: 1.5rem;
  }
  .event-detail__description-text {
    font-size: 1rem;
  }
  .event-detail--special {
    max-width: 300px;
  }
}

@media (min-width: 1200px) {
  .event-detail__description-title {
    font-size: 2rem;
  }
  .event-detail__description-text {
    font-size: 1.25rem;
  }
  .event-detail--special {
    max-width: 400px;
  }
}

/* ----------------------ESTILOS NUEVOS PARA EL CAROUSEL DE TARJETAS ---------------- */

/* noticias */
.news-wrapper {
  grid-template-columns: repeat(auto-fit, minmax(200px, 352px));
  gap: 1rem;
  max-width: 1090px;
  padding-bottom: 2rem;
}

/* footer */
.footer-slogan-font-size {
  font-size: 2rem;
  padding-top: 0.5rem;
}

.footer-slogan-invitation {
  max-width: 60ch;
}

.logos-footer {
  max-width: 800px;
  gap: 0.5rem;
}
.logos-footer li {
  flex: 1;
}

.info-footer {
  margin-bottom: 2rem;
  gap: 2rem;
  max-width: 1090px;
}

@media (min-width: 768px) {
  .info-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* experiencias carousel ---------------------------------------- */
/* nuevos estilos para el carousel de experiencias */
/* Contenedor principal */
.carousel-container {
  position: relative; /* Necesario para que los botones se peguen a este contenedor */
  width: 100%;
  /* max-width: 800px; */
  max-width: 655px;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .carousel-container {
    padding: 0 60px;
  }
}

.carousel-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- BOTONES A LOS LADOS --- */
.carousel-btn {
  display: none; /* Ocultos en móvil < 768px */
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Centrado vertical exacto */
  width: 50px;
  height: 50px;
  /* background-color: #333; */
  background-color: var(--primary-color);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

/* Visibles solo en escritorio */
@media (min-width: 769px) {
  .carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.carousel-btn.prev {
  left: 0;
}
.carousel-btn.next {
  right: 0;
}

.carousel-btn:hover {
  opacity: 0.5;
}

.carousel-btn:hover.prev::before {
  color: var(--secondary-light);
}

.carousel-btn:hover.next::before {
  color: var(--secondary-light);
}

.carousel-btn.prev::before,
.carousel-btn.next::before {
  font-size: 30px;
  font-size: 4rem;
  color: white;
  color: var(--secondary-dark);
  margin-bottom: 0.5rem;
}

.carousel-btn.prev::before {
  content: "‹";
  margin-right: 2px;
}
.carousel-btn.next::before {
  content: "›";
  margin-left: 2px;
}

/* --- INDICADORES --- */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.carousel-indicators span {
  width: 12px;
  height: 12px;
  background-color: var(--secondary-light);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-indicators span.active {
  background-color: #333;
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/* Probando posicionar los estilos nuevos aquí */
/* ----------- Para los cards de eventos --------------- */
.wrapper-eventos-card {
  padding: 2rem 0.25rem;
  --padding-and-space: 0.75rem;
  --max-width: 270px;
  --count-cards: 3;
  width: calc(100% - (2 * var(--padding-and-space)));
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 1.5rem; */
  position: relative;
}

.wrapper-eventos-card {
  grid-area: 2 / 1 / 3 / 3;
}

/* Contenedor que agrupa botones y carousel */
.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: center;
}

/* Contenedor scrolleable */
.carousel-container {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: var(--padding-and-space);
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 100%;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.wrapper-eventos-card .carousel-container {
  /* scroll-behavior: smooth; */
  -webkit-overflow-scrolling: touch;
}

/* Botones de navegación */
.wrapper-eventos-card .carousel-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: none;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
  padding: 0;
}

.wrapper-eventos-card .carousel-btn:hover:not(:disabled) {
  background-color: var(--secondary-dark);
}

.wrapper-eventos-card .carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wrapper-eventos-card .carousel-btn--prev {
  left: -20px;
}

.wrapper-eventos-card .carousel-btn--next {
  right: -20px;
}

/* Mostrar botones solo en pantallas >= 1024px */
@media (min-width: 1024px) {
  .wrapper-eventos-card .carousel-btn {
    display: flex;
  }
}

/* Indicadores */
/* .wrapper-eventos-card .carousel-indicators {
  margin-top: 1rem;
}

.wrapper-eventos-card .carousel-indicators {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
} */
.wrapper-eventos-card .carousel-indicators {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 0;
}

.wrapper-eventos-card .carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--secondary-dark);
  cursor: pointer;
  border: none;
  padding: 0;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

@media (min-width: 1208px) {
  .wrapper-eventos-card .carousel-indicator {
    background-color: var(--secondary-light);
  }
}

@media (min-width: 768px) {
  .wrapper-eventos-card .carousel-indicators {
    gap: 0.75rem;
  }

  .wrapper-eventos-card .carousel-indicator {
    width: 13px;
    height: 13px;
  }
}

@media (min-width: 1208px) {
  .wrapper-eventos-card .carousel-indicators {
    position: absolute;
    bottom: 0;
    margin-top: -0.1rem;
  }
}

@media (min-width: 1300px) {
  .wrapper-eventos-card .carousel-indicators {
    position: relative;
    margin-top: 1rem;
  }
}

.wrapper-eventos-card .carousel-indicator:hover {
  background-color: var(--secondary-dark);
}

.wrapper-eventos-card .carousel-indicator.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* Carrusel flex */
.eventos-carousel {
  padding: 0.5rem;
  display: flex;
  --carousel-gap: 1rem;
  gap: var(--carousel-gap);
  width: calc(
    (var(--max-width) * var(--count-cards)) +
      (var(--carousel-gap) * (var(--count-cards) - 1))
  );
}

@media (min-width: 768px) {
  .eventos-carousel {
    --carousel-gap: 2rem;
  }
}

/* Tarjetas */
.event-card {
  padding: var(--padding-and-space);
  gap: var(--padding-and-space);
  max-width: var(--max-width);
  scroll-snap-align: start;
  flex-shrink: 0;
}

.event-card-img {
  aspect-ratio: 300 / 200;
  width: 100%;
  max-width: 300px;
  object-fit: contain;
  margin-inline: auto;
}

@media (min-width: 1250px) {
  .event-card-img {
    max-width: none;
  }
}

.event-card__title {
  flex: 58%;
}

.event-card__price {
  flex: 40%;
}

.event-card__price {
  gap: 0.25rem;
}

.font-event-card {
  font-size: 0.875rem;
}

.event-card__title,
.event-card__currency {
  font-size: 1rem;
}

/* Breakpoints responsivos */
@media (min-width: 425px) {
  .wrapper-eventos-card {
    padding-inline: 2rem;
  }
}

@media (min-width: 375px) {
  .wrapper-eventos-card {
    --padding-and-space: 1rem;
    --max-width: 300px;
  }
}

@media (min-width: 768px) {
  .wrapper-eventos-card {
    width: 100%;
    --padding-and-space: 1rem;
    --max-width: 320px;
  }

  .event-card__title,
  .event-card__currency {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .wrapper-eventos-card {
    --max-width: 350px;
    width: 95%;
    grid-area: 3 / 1 / 3 / 3;
  }

  .carousel-wrapper {
    width: 100%;
    max-width: 800px;
  }

  .carousel-container {
    max-width: calc(100% - 100px); /* Espacio para los botones */
  }
}

@media (min-width: 1208px) {
  .wrapper-eventos-card {
    padding-block: 0.25rem 1rem;
    justify-self: center;
    align-self: center;
    grid-area: 1 / 2 / 3 / 3;
  }
}

.event-card__icon {
  width: 30px;
}

/* estilos que estoy probando iban aquí */
.wrapper-eventos-card__special {
  margin-inline: auto;
  gap: 1rem;
}

@media (min-width: 768px) {
  .wrapper-eventos-card__special {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .wrapper-eventos-card__special {
    /* gap: 3rem; */
    grid-area: 1 / 2;
    /* width: 60%;
    margin-left: auto; */
  }
}
