/* ==========================================================================
   NEW-CSS-LAYER.CSS — Capa de estilos nativos (componentes globales)
   Netlify + GoDaddy. Migración gradual a SCSS como framework maestro.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CALL TO ACTION — .call-to-action-wrapper, .button
   -------------------------------------------------------------------------- */
.call-to-action-wrapper {
  margin: 1rem 0;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: start;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: medium;
  gap: 2rem;
}

.call-to-action-wrapper .button {
  display: inline-flex;
  justify-content: center;
  padding: 0 2rem;
  height: 3rem;
  align-items: center;
  border-radius: 8px;
  gap: 3px;
}

.button a {
  text-decoration: none;
  color: white;
  font-weight: 800;
}

.button:hover {
  transition: all linear 75ms;
  transform: scale(1.1);
}

.button .icon {
  stroke: #fff;
}

/* --------------------------------------------------------------------------
   MAPPER — bloque mapa / iframe
   -------------------------------------------------------------------------- */
.mapper {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
  gap: 1.5rem;
}

.mapper h2 {
  color: #fff;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}

.mapper iframe {
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   IMAGES WRAPPER — grids de imágenes (services, cenotes, etc.)
   -------------------------------------------------------------------------- */
.images_wrapper {
  max-width: 1200px;
  width: 90%;
  padding: 4rem;
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  place-items: center;
  gap: 1.5rem;
}

.images_wrapper img {
  transition: all ease 300ms;
}

.images_wrapper img:hover {
  transform: scale(1.2);
}

/* Imágenes services / cenotes */
.images_wrapper_2 {
  padding: 0;
  padding-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  place-items: center;
  gap: 1.5rem;
}

.images_wrapper_2 img {
  transition: all ease 300ms;
}

.images_wrapper_2 img:hover {
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   LOGO WRAPPER — logotipos inline
   -------------------------------------------------------------------------- */
.logo_wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding-top: 0;
}

.logo_wrapper .logotipo {
  display: inline-flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 150px;
  height: 150px;
}

.logotipo_about {
  display: inline-flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 70px;
  height: 70px;
}

/* --------------------------------------------------------------------------
   CONTACT — contenedor contacto, ítems, mapa, copyright
   -------------------------------------------------------------------------- */
.contact-container-super {
  padding: 1rem;
}

.contact-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-flow: row wrap;
  transition: all linear 1000ms;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-container .contact-item-container a {
  text-decoration: none;
  transition: all linear 300ms;
  color: #38bdf8;
}

.contact-container .contact-item-container:hover {
  color: #021017;
}

.contact-container .contact-item-container a svg {
  display: block;
  margin: 0 auto;
  width: 3.5rem;
  height: 3.5rem;
}

.map {
  border-radius: 15px;
}

.copyright {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

/* --------------------------------------------------------------------------
   COLLAPSES — acordeón Yucatán Package Tours
   -------------------------------------------------------------------------- */
.collapses {
  display: flex;
  flex-flow: column nowrap;
  gap: 1rem;
}

.collapsible {
  background-color: transparent;
  color: #38bdf8;
  cursor: pointer;
  padding: 1rem;
  border-radius: 0.3rem 0.3rem 0 0;
  width: 100%;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all ease 300ms;
}

.collapsible h3 {
  padding: 0;
  margin: 0;
}

.active,
.collapsible:hover {
  background-color: #38bdf8;
  color: #021017;
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
  background-color: transparent;
  border: solid 1px #38bdf8;
  border-radius: 0 0 0.3rem 0.3rem;
  border-top: none;
}

/* --------------------------------------------------------------------------
   PRICE — bloque de precio
   -------------------------------------------------------------------------- */
.price {
  display: inline-flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.5rem;
}

.price span {
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   FLOAT CONTAINER — panel fijo redes + highlight (pickup)
   -------------------------------------------------------------------------- */
.float-container {
  position: fixed;
  z-index: 100;
  bottom: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-wrap: wrap;
  pointer-events: none;
}

.float-content {
  display: flex;
  width: fit-content;
  flex-direction: row;
  gap: 0.5rem;
  background-color: rgba(2, 16, 23, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 8px;
  border-radius: 8px;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

.float-container a {
  transition: transform 0.5s ease;
  border: 2px solid #38bdf8;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #38bdf8;
}

.float-container a:hover {
  transform: scale(1.3);
  border-color: #021017;
  color: #021017;
}

.highlight-feature {
  display: flex;
  align-items: center;
  background: #38bdf8;
  color: #021017;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  font-family: 'Lato', sans-serif;
  width: fit-content;
  animation: fadeIn 2.6s infinite;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
  from { opacity: 0.03; transform: translateX(-19px); }
  to { opacity: 1; transform: translateX(20px); }
}

.float-container-1 {
  position: fixed;
  z-index: 100;
  color: white;
  top: 1vh;
  left: 59rem;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-flow: row;
  gap: 0.5rem;
  width: 200px;
  height: 200px;
}

/* --------------------------------------------------------------------------
   MEDIA QUERIES — tablet 768px
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 768px) {
  .images_wrapper {
    padding: 1rem;
    grid-template-columns: repeat(1, 1fr);
  }

  .images_wrapper_2 {
    padding: 1rem;
    grid-template-columns: repeat(1, 1fr);
  }

  .contact-container {
    margin-top: 6rem;
  }

  .map {
    margin-top: 1.5rem;
  }

  .highlight-feature {
    font-size: 14px;
    padding: 8px;
  }

  /* Partners wrapper — cards en móvil */
  .partners_wrapper {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 1rem;
    gap: 1.5rem;
  }

  .partners_wrapper .partners_item {
    background-color: rgba(2, 16, 23, 0.3);
    padding: 1rem;
    width: 100%;
    border-radius: 12px;
    display: flex;
    flex-flow: column-reverse nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .partners_wrapper .partners_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .partners_item .partners_description {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
  }

  .partners_item .partners_description span {
    display: inline-block;
  }

  .partners_item .partners_description .partners_name {
    font-size: 1.5rem;
    font-weight: bolder;
    align-self: flex-start;
  }
}
