@import url("fonts.css");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografías */
body {
  font-family: Arial, sans-serif;
}

/* Contenedor centrado */
.CenterContainer {
  width: 100%;
  max-width: 1440px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Menú principal */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #f8f9fa;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  margin: auto;
  padding: 0 10px;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-area img {
  height: 90px;
  width: auto;
  display: block;
  -webkit-user-drag: none;
}

.IndexLink {
  text-decoration: none;
}

.logo-text,
.logo-highlight {
  font-family: "Montserrat-Bold";
  font-weight: bold;
  color: #143da5;
  line-height: 1.2;
}

.IndexLink:hover .logo-text,
.IndexLink:hover .logo-highlight {
  color: #1316b0;
}

.logo-text {
  font-size: 20px;
}

.logo-highlight {
  font-size: 32px;
}

/* Botón hamburguesa */
.menu-toggle {
  width: 30px;
  height: 24px;
  position: relative;
  display: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle .bar {
  height: 4px;
  width: 100%;
  background-color: #555;
  display: block;
  border-radius: 2px;
  transition: 0.3s ease;
  position: absolute;
  left: 0;
}

.menu-toggle .bar:nth-child(1) {
  top: 0;
}
.menu-toggle .bar:nth-child(2) {
  top: 10px;
}
.menu-toggle .bar:nth-child(3) {
  top: 20px;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* Menú horizontal */
.menu-list {
  list-style: none;
  display: flex;
  margin-left: auto;
}

.menu-item {
  position: relative;
}

.menu-list a {
  display: flex;
  align-items: center;
  height: 100px;
  padding: 0 20px;
  color: #333333;
  font-family: "Poppins-Regular";
  font-size: 20px;
  text-decoration: none;
  background: #f8f9fa;
}

.menu-link.active {
  color: #143da5;
  box-shadow: inset 0 -4px 0 #143da5;
}

.menu-list a:hover {
  color: #143da5;
  box-shadow: inset 0 -4px 0 #143da5;
}

/* Submenús */
.submenu {
  display: none !important;
  position: absolute;
  left: 0;
  min-width: 160px;
  list-style: none;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Submenú - Cuando el padre tiene clase active */
.has-submenu.active .submenu {
  display: block !important;
}

/* Versión corregida y mejorada */
.submenu li a:hover {
  background-color: #d4d4d4;
  box-shadow: none;
}

/* Icono girado */
.rotated {
  transform: rotate(180deg);
}

.submenu li a {
  height: 60px;
  display: block;
  padding: 12px 16px;
  color: #333333;
  text-decoration: none;
}

.submenu-icon {
  fill: #333333;
  width: 20px;
}

/* Mostrar submenu al pasar el mouse */
@media (min-width: 769px) {
  .has-submenu:hover .submenu {
    display: block !important;
  }
  .has-submenu:hover .submenu-icon {
    transform: rotate(180deg);
  }

  /* Ocultar flecha en desktop */
  .submenu-icon {
    display: none !important;
  }
}

.submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.submenu-toggle i {
  margin-left: auto;
}

.submenu-icon {
  margin-left: 8px;
  display: none !important;
  transition: transform 0.3s ease;
}

.has-submenu.active .submenu-icon {
  transform: rotate(180deg);
}

#Horizon_Adjustment {
  padding-left: 50px;
}

/* Botón WhatsApp */
#BtnWhatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 10;
  background: #59ce72;
  border-radius: 50%;
  width: 1px;
  height: 1px;
  cursor: pointer;
  transition: width 1s, height 1s;
}

#BtnWhatsapp.expanded {
  width: 60px;
  height: 60px;
}

#BtnWhatsapp a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.5s;
}

#BtnWhatsapp.expanded a {
  opacity: 1;
}

#BtnWhatsapp a svg {
  fill: white;
  height: 45px;
}

#BtnWhatsapp:hover {
  background: #215c54;
  transition: background 0.6s;
}

/* Footer */
.footer {
  background: #cccccc;
  color: #1f1f1f;
  font-family: "Poppins-Regular";
  padding: 20px 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 100%;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 10px;
  max-width: 300px;
  width: 240px;
  margin: 0 auto;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.footer-column h4 {
  padding-bottom: 10px;
  font-family: "Montserrat-Bold";
  font-size: 18px;
  text-align: left;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 14px;
  text-align: left;
}

.footer-column ul li a {
  color: #1f1f1f;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #143da5;
}

/* Estilos para SVG dentro del <li> */
.footer-column ul li svg {
  width: 15px;
  height: auto;
  max-height: 15px;
  min-width: 15px;
  min-height: 15px;
  fill: #1f1f1f;
  margin-right: 10px;
  display: inline-block;
  flex-shrink: 0;
  transition: fill 0.3s;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1.5px solid #ddd;
  font-size: 13px;
  padding-right: 10px;
  padding-left: 10px;
}

.footer-column.social ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
  padding-left: 0;
  list-style: none;
  justify-content: flex-start;
}

.footer-column.social ul li {
  margin-bottom: 0;
}

.footer-column.social ul li p {
  font-size: 14px;
  text-align: left;
}

.footer-column.social a {
  font-size: 18px;
  color: #1f1f1f;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-column.social a:hover {
  color: #143da5;
}

.footer-column.social ul li svg {
  width: 18px;
  height: auto;
  max-height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-right: 0px;
  display: inline-block;
  flex-shrink: 0;
  transition: fill 0.3s;
}

/* Estilo común para iconos clicables (SVG o <i>) */
.clickable-icon {
  width: 15px;
  height: auto;
  min-width: 15px;
  min-height: 15px;
  fill: #1f1f1f;
  margin-right: 10px;
  display: inline-block;
  flex-shrink: 0;
  transition: color 0.3s, fill 0.3s;
}

/* Hover uniforme para todos los iconos */
a:hover .clickable-icon,
a:hover #ShowMobile {
  fill: #143da5;
  color: #143da5;
  cursor: pointer;
}

#ShowMobile {
  display: none;
}

/* Transiciones */
.menu,
.menu .menu-list,
.menu .menu-list a,
.logo-area img,
.logo-text {
  transition: all 0.3s ease;
}

/* Estilos reducidos */
.menu.shrink {
  height: 60px;
}

.menu.shrink .logo-area img {
  height: 50px;
}

.menu.shrink .logo-text {
  font-size: 14px;
}

.menu.shrink .logo-highlight {
  font-size: 22px;
}

.menu.shrink .menu-list a {
  height: 60px;
  padding: 0 15px;
}

.menu-list {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Nuevos estilos para elementos no clickables */
.project-header .breadcrumb span.breadcrumb-current {
  color: #333333;
  cursor: default;
}

.project-header .project-logo .logo-wrapper {
  display: inline-block;
  pointer-events: none; /* Deshabilita clicks */
}

.project-header .breadcrumb span.breadcrumb-current:hover {
  text-decoration: none !important;
}

@media (max-height: 768px) {
  .menu {
    height: 60px;
  }

  .menu .logo-area img {
    height: 50px;
  }

  .menu .logo-text {
    font-size: 14px;
  }

  .menu .logo-highlight {
    font-size: 22px;
  }

  .menu .menu-list a {
    height: 60px;
    padding: 0 15px;
  }

  .menu-list {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
}

/* Media Queries */
@media (max-width: 815px) {
  #ShowMobile {
    display: block;
    margin-left: 10px;
  }
  .logo-highlight {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  /* Estilos móviles */
  .menu.shrink {
    height: 85px !important;
  }
  .menu.shrink .logo-area img {
    height: 60px !important;
  }
  .menu.shrink .logo-text,
  .menu.shrink .logo-highlight {
    font-size: 12px !important;
  }
  .menu.shrink .menu-list a {
    height: 60px !important;
    padding: 0 20px !important;
  }
  .menu {
    height: 85px;
  }
  .menu-container {
    flex-wrap: wrap;
  }
  .logo-area img {
    height: 60px;
  }
  .logo-text {
    font-size: 12px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .menu-list {
    flex-direction: column;
    width: 100%;
    position: fixed;
    top: 85px;
    left: 0;
    background: #fefefe;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  .menu-list.open {
    display: flex;
  }
  .menu-item,
  .menu-list a {
    width: 100%;
  }
  .menu-list a {
    padding: 0 20px;
    height: 60px;
    font-size: 20px;
    justify-content: flex-start;
    border-bottom: 1px solid #eee;
  }
  .submenu {
    position: relative;
    display: none;
  }
  .submenu li a {
    padding: 12px 32px;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    display: block;
    color: #000;
    text-decoration: none;
  }
  .menu-item.has-submenu:focus-within .submenu,
  .menu-item.has-submenu:active .submenu {
    display: flex;
    flex-direction: column;
  }
  .submenu-icon {
    display: block !important;
  }
  #BtnWhatsapp {
    right: 10px;
    bottom: 10px;
    width: 1px;
    height: 1px;
  }
  #BtnWhatsapp.expanded {
    width: 40px;
    height: 40px;
  }
  #BtnWhatsapp a {
    opacity: 0;
  }
  #BtnWhatsapp.expanded a {
    opacity: 1;
  }
  #BtnWhatsapp a svg {
    height: 30px;
  }
  /* Footer móvil */
  #Horizon_Adjustment {
    padding-left: 0px;
  }
  .footer-container {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 1rem;
    max-width: 90vw;
    width: 80vw;
    min-width: 280px;
    margin: 0 auto;
  }
  .footer-column:nth-child(1) {
    /* Contacto */
    order: 1;
  }

  .footer-column:nth-child(2) {
    /* Horarios */
    order: 2;
  }

  .footer-column.social {
    /* Redes Sociales */
    order: 3;
  }

  .footer-column:nth-child(3) {
    /* Legal */
    order: 4;
  }
  .footer-column {
    width: 100%;
    border-bottom: 1px solid #aaa;
    padding: 10px 0;
    cursor: pointer;
  }
  .footer-column h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
  }
  .footer-column h4 .submenu-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
  }
  .footer-column.open h4 .submenu-icon {
    transform: rotate(180deg);
  }
  .footer-column ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .footer-column.open ul {
    max-height: 500px;
  }
  .footer-column ul {
    padding-top: 10px;
    padding-left: 20px;
  }
  .footer-column ul li {
    padding-top: 10px;
  }
  .footer-column.social ul {
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    padding-left: 20px;
  }
  .footer-column.social ul li {
    margin-bottom: 10px;
    padding-top: 10px;
  }
}
