/*
Theme Name: sagem
Theme URI: https://somosjam.cl/
Author: jeyson
Author URI: https://somosjam.cl/
Description: sitio web para sagem.
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 5.6
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px;
}

:root {
  --primary: #e30133;
  --text: #141414;
  --textwhite: #f4f2f2;
  --titulocolor: #ff760c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

input,
button,
textarea,
select {
  font: inherit;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

img,
video,
svg {
  height: auto;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}

/* clases reutilziables */

.contenedor {
  max-width: 1200px;
}

.titulo {
  font-family: "Century Gothic Bold";
}

header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  background: #f0f0f2;
  transition: all 0.3s ease-in-out;

  /* position: fixed;
  top: 0;
  z-index: 10; */
  /* box-shadow: 0px 3px 6px #00000029; */
}

header.scroll {
  /*   background-color: var(--text); */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

header img {
  width: 150px;
}

.header-contenedor {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-menu ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.header-menu ul li a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #000;
  text-decoration: none;
  font-size: 15px;
}

.header-menu ul li a img {
  width: 20px;
}

.header-menu ul li a.telefono-link img {
  width: 15px;
}
.header-menu ul li a.comollegar {
  color: #ff760c;
  text-decoration: underline;
}

.header-custom {
  position: fixed;
  display: block;
  top: 100px;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: all 0.3s ease-in-out;
}

.header-custom.scroll {
  top: 70px;
  background-color: #ffffffe6;
  padding: 20px;
  border-bottom: 1px solid #d9d9d9;
}

.header-custom-contenedor {
  margin: 0 auto;
}

.header-custom-contenedor ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 60px;
}

.header-custom-contenedor ul li.item-menu-inicio {
  display: none;
}

.header-custom-contenedor ul li a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.header-custom-contenedor ul li a.btn {
  font-weight: 600;
  border: 2px solid #ff760c;
  padding: 3px 15px;
  border-radius: 7px;
}

.header-custom.scroll .header-custom-contenedor ul li a {
  color: #000;
}

.menu-hamburger {
  position: absolute;
  display: none;
  display: none;
  right: 14px;
  top: 8px;
  font-size: 26px;
}

.close-header-custom {
  display: none;
  position: absolute;
  right: 11px;
  top: 15px;
  font-size: 40px;
  line-height: 20px;
}

.header-menu-responsive {
  display: none;
}

.header-menu-responsive ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.header-menu-responsive ul li a {
  font-size: 30px;
}

.header-menu-responsive ul > li:nth-child(1) a {
  color: #32d751;
}
.header-menu-responsive ul > li:nth-child(2) a {
  color: #ff760c;
}
.header-menu-responsive ul > li:nth-child(3) a {
  color: #cf0707;
}

/* footer */
footer {
  background-image: url(./assets/footer-sagem-fondo.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0;
}

.footer-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.footer-container .logo-footer {
  align-self: center;
}

.footer-container .logo-footer img {
  width: 250px;
}

.footer-container > div strong {
  color: #fc6a0f;
  display: block;
  margin-bottom: 10px;
}

.footer-container ul {
  list-style: none;
}

.footer-container > div.menu-inicio ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer-container > div.menu-contacto ul li.whatsapp a {
  display: flex;
  align-items: center;
  color: #fff;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-container > div.menu-contacto ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.footer-container > div.menu-contacto ul li.redes-link {
  display: flex;
  gap: 10px;
}

.footer-container > div.menu-contacto ul li.redes-link a {
  background-color: #ff760c;
  color: #fff;
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 16px;
  margin: 0;
  width: 31px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-container > div.menu-contacto ul li.redes-link a.instagram-link span {
  line-height: 20px;
  font-size: 22px;
}

.footer-container > div.menu-contacto ul li.redes-link a.facebok-link span {
  line-height: 20px;
  font-size: 20px;
}

.menu-nuestro-horario p {
  color: #fff;
  margin-bottom: 5px;
}

.modal-servicios {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-servicios.show {
  display: flex;
}

.modal-servicios-body {
  background-color: #fff;
  padding: 40px 70px;
  border-radius: 10px;
  position: relative;
  box-shadow: 3px 4px 12px #00000029;
  display: none;
}

.modal-servicios-body .lista-grupo {
  display: flex;
  justify-content: space-between;
}

.modal-servicios-body.show {
  display: block;
}

.modal-servicios-body .btnl-close-modal {
  position: absolute;
  top: 5px;
  right: 20px;
  color: #b4abab;
  background-color: transparent;
  border: none;
  font-weight: 400;
  font-size: 45px;
  cursor: pointer;
}

.modal-servicios-body h4 {
  color: #ff760c;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 15px;
}

.modal-servicios-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.modal-servicios-body ul li::marker {
  color: #ffcb00;
  font-size: 1.5em;
}
.modal-servicios-body ul li {
  font-weight: 500;
  font-size: 17px;
}
.modal-servicios-body > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.modal-servicios-body > div a {
  background-color: #32d751;
  color: #fff;
  text-decoration: none;
  padding: 9px 40px;
  font-weight: 600;
  border-radius: 10px;
}
.modal-servicios-body > div a.solicitar {
  background-color: transparent;
  border: 1px solid #ff760c;
  color: #ff760c;
}

/* modal de galeria imagenes */

.modal-galeria {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-galeria.show {
  display: flex;
}

.modal-galeria-body {
  background-color: #fff;
  padding: 60px 10px 40px 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: 3px 4px 12px #00000029;
  width: 700px;
  height: 500px;
  position: relative;
}

.modal-galeria-body-grid {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding-right: 10px;
}

.modal-galeria-body-grid-swiper {
  width: 100%;
}

.modal-galeria-body-grid-swiper .swiper-slide div {
  height: 100%;
}

.modal-galeria-body-grid-swiper .swiper-slide div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-galeria-body .btnl-close-modal {
  position: absolute;
  top: 5px;
  right: 20px;
  color: #b4abab;
  background-color: transparent;
  border: none;
  font-weight: 400;
  font-size: 45px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .header-menu {
    display: none;
  }

  .header-contenedor {
    flex-direction: column;
    padding: 0 !important;
  }

  .header-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .close-header-custom {
    display: block;
  }

  .header-custom {
    top: 0;
    background-color: #f0f0f2ea;
    width: 100%;
    height: 100%;
    left: 0;
    display: none;
    /* display: flex; */
    justify-content: center;
    align-items: center;
  }

  .header-custom.show {
    display: flex;
    top: 0;
  }

  .header-custom-contenedor ul {
    flex-direction: column;
    gap: 25px;
  }

  .header-custom-contenedor ul li.item-menu-inicio {
    display: block;
  }

  .header-custom-contenedor ul li a {
    color: #000;
    text-align: center;
    display: block;
    font-weight: 600;
  }

  .header-contenedor .header-logo {
    align-self: flex-start;
  }

  .menu-hamburger {
    display: block;
    top: 19px;
    right: 24px;
  }

  .header-menu-responsive {
    display: block;
  }

  .footer-container.contenedor {
    flex-direction: column;
    gap: 20px;
  }
}
