/*
Theme Name: Tu Tema Personalizado
*/

/* --------------------------------------------------
   Reset y contenedor general
   -------------------------------------------------- */
html,
body {
  margin: 0;
  padding: 0;
}
html {
  margin-top: 0 !important;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.site-header {
  margin-top: 0;
  padding-top: 0;
}

/* --------------------------------------------------
     Fuentes: Orbitron, Roboto, Roboto Condensed
     -------------------------------------------------- */
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 900;
  src: url("assets/fonts/Orbitron-Black.ttf") format("truetype");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/orbitron-bold.otf") format("opentype");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 500;
  src: url("assets/fonts/Orbitron-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Orbitron-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Orbitron";
  font-style: normal;
  font-weight: 300;
  src: url("assets/fonts/orbitron-light.otf") format("opentype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  src: url("assets/fonts/Roboto-Regular.ttf") format("truetype"),
    url("assets/fonts/Roboto-Medium.ttf") format("truetype"),
    url("assets/fonts/Roboto-Bold.ttf") format("truetype"),
    url("assets/fonts/Roboto-Black.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-weight: 100 900;
  src: url("assets/fonts/Roboto-Italic.ttf") format("truetype"),
    url("assets/fonts/Roboto-MediumItalic.ttf") format("truetype"),
    url("assets/fonts/Roboto-BoldItalic.ttf") format("truetype"),
    url("assets/fonts/Roboto-BlackItalic.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 300 700;
  src: url("assets/fonts/RobotoCondensed-Light.ttf") format("truetype"),
    url("assets/fonts/RobotoCondensed-Regular.ttf") format("truetype"),
    url("assets/fonts/RobotoCondensed-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto Condensed";
  font-style: italic;
  font-weight: 300 700;
  src: url("assets/fonts/RobotoCondensed-LightItalic.ttf") format("truetype"),
    url("assets/fonts/Roboto-CondensedItalic.ttf") format("truetype"),
    url("assets/fonts/RobotoCondensed-BoldItalic.ttf") format("truetype");
}

/* --------------------------------------------------
     Header: top-bar y main-header
     -------------------------------------------------- */
.top-bar {
  background-color: #091f5c;
  color: #fff;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.top-bar__contact .contact-item {
  color: #fff;
  margin-left: 20px;
  font-size: 0.9rem;
  text-decoration: none;
}
.search-form {
  display: flex;
}
.search-form .search-field {
  flex: 1;
  padding: 5px 10px;
  border: none;
  border-radius: 3px 0 0 3px;
}
.search-form .search-submit {
  padding: 5px 10px;
  border: none;
  background: #fff;
  color: #091f5c;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}
.site-navigation .menu li a,
.top-bar__contact .contact-item {
  font-family: "Roboto", sans-serif;
  font-weight: 100;
}

.main-header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}
.main-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.site-logo img {
  max-height: 120px;
  max-width: 300px;
}
.site-navigation .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-navigation .menu li + li {
  margin-left: 30px;
}
.site-navigation .menu li a {
  color: #091f5c;
  font-weight: 500;
  text-decoration: none;
}
/* 1) Bordes redondeados en todo el buscador */
.search-form .search-field,
.search-form .search-submit {
  border-radius: 20px !important;
}

/* 2) Ocultar cualquier placeholder “Buscar” */
.search-form .search-field::placeholder {
  color: transparent;
}

/* 3) Iconos en los contactos */
.top-bar__contact .contact-item {
  display: inline-flex;
  align-items: center;
  font-weight: 700; /* más peso también para mail y teléfono */
  color: #fff; /* si quieres asegurar blanco */
  margin-left: 20px; /* separación entre items */
  text-decoration: none;
}
.top-bar__contact .contact-item .contact-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  object-fit: contain;
}

/* 4) Menú horizontal y tipografía más pesada */
.site-navigation .menu {
  display: flex !important;
  flex-direction: row !important;
}
.site-navigation .menu li + li {
  margin-left: 30px;
}
.site-navigation .menu li a {
  color: #000 !important; /* enlaces en negro */
  font-weight: 700 !important; /* mayor grosor */
  text-decoration: none;
}

/* 5) Asegúrate de que la fuente también sea Roboto/Orbitron según tu configuración */
.site-navigation .menu li a,
.top-bar__contact .contact-item {
  font-family: "Roboto", sans-serif;
}
/* 1) Garantizar fondo azul en la top-bar */
.top-bar {
  background-color: #091f5c !important;
  color: #fff;
}

/* 2) Flexbox: búsqueda a la izquierda, contactos a la derecha */
.top-bar__inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

/* 3) Asegurar que el bloque de búsqueda esté siempre a la izquierda */
.top-bar__search {
  order: 1;
  /* opcional: si quieres que ocupe sólo el ancho del formulario */
  flex: 0 0 auto;
}

/* 4) Contactos a la derecha */
.top-bar__contact {
  order: 2;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* 5) Espaciado entre icono y texto, texto en blanco y más peso */
.top-bar__contact .contact-item {
  color: #fff !important;
  margin-left: 20px;
  font-weight: 700;
}
.top-bar__contact .contact-item .contact-icon {
  margin-right: 8px;
}

/* 6) Ajuste de border-radius sólo sobre los extremos del input y el botón */
.search-form .search-field {
  border-radius: 20px 0 0 20px !important;
}
.search-form .search-submit {
  border-radius: 0 20px 20px 0 !important;
}
/* 1) Garantizar fondo azul en la top-bar */
.top-bar {
  background-color: #091f5c !important;
  color: #fff;
}

/* 2) Flexbox: búsqueda a la izquierda, contactos a la derecha */
.top-bar__inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

/* 3) Asegurar que el bloque de búsqueda esté siempre a la izquierda */
.top-bar__search {
  order: 1;
  /* opcional: si quieres que ocupe sólo el ancho del formulario */
  flex: 0 0 auto;
}

/* 4) Contactos a la derecha */
.top-bar__contact {
  order: 2;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* 5) Espaciado entre icono y texto, texto en blanco y más peso */
.top-bar__contact .contact-item {
  color: #fff !important;
  margin-left: 20px;
  font-weight: 700;
}
.top-bar__contact .contact-item .contact-icon {
  margin-right: 8px;
}
/* ===== Corregir Top-Bar: fondo azul + flex la búsqueda a la izquierda y los contactos a la derecha ===== */
header .top-bar {
  background-color: #091f5c !important;
  width: 100%;
}
header .top-bar .top-bar__inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 8px 15px; /* ajusta vertical u horizontal si lo deseas */
}
header .top-bar__search {
  order: 1;
  flex: 1; /* para que ocupe todo el espacio disponible */
  max-width: 500px; /* opcional: limita el ancho del buscador */
}
header .top-bar__search .search-form {
  display: flex !important;
  width: 100%;
}
header .top-bar__search .search-field {
  flex: 1;
  padding: 6px 12px;
  border: none;
  border-radius: 20px 0 0 20px !important;
  background: #fff;
}
header .top-bar__search .search-submit {
  padding: 6px 12px;
  border: none;
  background: #fff;
  border-radius: 0 20px 20px 0 !important;
  cursor: pointer;
}

/* Contactos alineados a la derecha */
header .top-bar__contact {
  order: 2;
  display: flex !important;
  align-items: center !important;
}
header .top-bar__contact .contact-item {
  display: flex;
  align-items: center;
  margin-left: 30px; /* separación entre items */
  color: #fff !important;
  font-weight: 700 !important;
  text-decoration: none;
}
header .top-bar__contact .contact-icon {
  width: 20px !important;
  height: 20px !important;
  margin-right: 8px !important;
}
/* Nav horizontal */
.site-navigation .menu {
  display: flex; /* convierte la lista en fila */
  flex-wrap: wrap; /* opcional: si hay muchos ítems, que bajen de línea */
  list-style: none; /* quita viñetas */
  margin: 0;
  padding: 0;
}

.site-navigation .menu li {
  margin-right: 1.5em; /* espacio entre ítems */
}

.site-navigation .menu li:last-child {
  margin-right: 0; /* quita margen al final */
}

.site-navigation .menu li a {
  display: block; /* para que el área clicable abarque todo el enlace */
  padding: 0.5em 0; /* ajusta alto de enlace si quieres más espacio */
  text-decoration: none;
}
.site-navigation .menu li a:hover {
    border-bottom:1px solid #091f5c;
    color:white;
    transition:all 1s;
}

/* 6) Ajuste de border-radius sólo sobre los extremos del input y el botón */
.search-form .search-field {
  border-radius: 20px 0 0 20px !important;
}
.search-form .search-submit {
  border-radius: 0 20px 20px 0 !important;
}

/* --------------------------------------------------
     Hero/Slider relativo
     -------------------------------------------------- */
.hero,
.slider-section,
.tu-clase-de-contenedor-de-imagen {
  position: relative;
}

/* --------------------------------------------------
     Sección Servicios
     -------------------------------------------------- */
#servicios.servicios-slider {
  background: url("/wp-content/uploads/2025/09/faltantes-12-scaled.png") center/cover no-repeat;
  padding: 100px 15px;
  position: relative;
}
.servicios-header {
  max-width: 1400px;
  margin: 0 auto 40px;
}
.servicios-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  color: #000;
  display: flex;
  align-items: center;
}
.servicios-title::before {
  content: "|";
  margin-right: 10px;
}

/* Slider interno */
.servicios-slider__inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
}
.servicios-slider__content {
  flex: 3;
}
.servicios-slider__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  order: -1;
}

/* Tarjetas de servicio */
.servicio-content {
  display: none;
}
.servicio-content.active {
  display: block;
}
.servicio-content__card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 0px;
  overflow: hidden;
  padding: 60px;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  color: #fff;
}
.servicio-content__title {
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  margin-bottom: 15px;
}
.servicio-content__text {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  margin-bottom: 25px;
}
/* 3) Título y texto dentro de la tarjeta en Roboto Regular */
.servicio-content__title,
.servicio-content__text {
  font-family: "Roboto", sans-serif;
  font-weight: 400; /* Roboto Regular */
}
.servicio-content__btn {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 50px;
  padding: 12px 30px;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s, color 0.3s;
  font-family: Roboto; /* usa la fuente del contenedor, p. ej. Orbitron */
  font-weight: 9000; /* suficiente grosor */
}
.servicio-content__btn:hover {
  background: #f2f2f2;
}

/* Navegación lateral */
.servicio-nav__btn {
  background: #eaeaea;
  display: flex;
  align-items: center;
  padding: 20px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 0; /* quita el redondeo */
  border: 1px solid #091f5c; /* color del borde */
  font-weight: 3000; /* peso de letra más grueso */
}
.servicio-nav__btn img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  margin-right: 10px;
  filter: invert(1);
}
.servicio-nav__btn.active img {
  /* icono negro cuando esté seleccionado */
  filter: none;
}
.servicio-nav__btn span {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #000;
}
.servicio-nav__btn.active,
.servicio-nav__btn:hover {
  background: #091f5c;
}
.servicio-nav__btn.active span,
.servicio-nav__btn:hover span {
  color: #fff;
}
/* Texto principal (h1) con Orbitron */
div#n2-ss-2 .n2-font-bcd8d00e0ecd87b0a7a397f0976e2a73-hover {
  font-family: "Orbitron", sans-serif !important;
  font-size: 3.5rem !important;
  line-height: 1.1 !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-bottom: 1rem !important;
}

/* Texto secundario (p) con fuente normal */
div#n2-ss-2 .n2-font-92fc598e38a599c8493c74048f1b930a-hover {
  font-family: sans-serif !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* 2) Asegura que el slide sea contenedor relativo */
div#n2-ss-2 .n2-ss-slide {
  position: relative;
}
div#n2-ss-2 .n2-ss-slide::before {
  content: "";
  position: absolute;
  /* ajusta estos valores hasta que la línea quede alineada y del largo correcto */
  left: 5% !important; /* distancia desde el borde izquierdo del slide */
  top: 40px !important; /* inicio de la línea (arriba) */
  height: 120px !important; /* alto total: texto1 + gap + texto2 */
  width: 4px !important; /* grosor de la línea */
  background-color: #091f5c !important; /* mismo azul de tu sitio */
}
/* --------------------------------------------------
   Sección “¿Por qué somos ideales?”
   -------------------------------------------------- */
.why-us {
  background: url("assets/img/fotos-38.png") center/cover no-repeat;
  padding: 100px 15px;
  color: #fff;
  text-align: center;
}
.why-us__inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* Título */
.why-us__title {
  font-family: "Orbitron", sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
}

.why-us__title1 {
    font-family: "Orbitron", sans-serif;
  font-weight: 400;
    margin:0;
}

.why-us__mark {
  margin-right: 10px;
  font-family: "Orbitron", sans-serif;
  font-weight: 400;
}

/* Texto descriptivo editable */
.why-us__text {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto 60px;
}

/* Carousel */
.js-why-carousel {
  position: relative;
}
.js-why-carousel .why-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: transform 0.3s, filter 0.3s, opacity 0.3s;
  color: #fff;
}
.js-why-carousel .why-card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

/* Efecto de enfoque/blur */
.js-why-carousel .slick-slide {
  filter: blur(4px);
  opacity: 0.5;
  transform: scale(0.9);
}
.js-why-carousel .slick-center {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}
/* --------------------------------------------------
   Solapamiento y efecto blur para “why-us” carousel
   -------------------------------------------------- */
/* 1) Permitir que las tarjetas sobresalgan */
.why-us__carousel .slick-list {
  overflow: visible;
}
.why-us__carousel .slick-track {
  margin: 0 -100px; /* ajusta el solapamiento horizontal */
}

/* 2) Estado “no central”: desenfocado y reducido */
.why-us__carousel .slick-slide {
  filter: blur(4px);
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.3s ease;
  z-index: 1;
}

/* 3) Estado central: nítido, al frente y a escala 1 */
.why-us__carousel .slick-center {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1) !important;
  z-index: 2 !important;
}
/* --------------------------------------------------
   Solapamiento y efecto blur en js-why-carousel
   -------------------------------------------------- */
/* 1) Permitir overflow visible para que las tarjetas puedan solaparse */
.js-why-carousel .slick-list {
  overflow: visible !important;
}
.js-why-carousel .slick-track {
  margin: 0 -100px; /* ajusta el solapamiento */
}

/* 2) Todas las slides “no centrar” desenfocadas */
.js-why-carousel .slick-slide {
  filter: blur(4px);
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.3s ease;
  z-index: 1;
}

/* 3) La slide central (slick-center) nítida y al frente */
.js-why-carousel .slick-center {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1) !important;
  z-index: 2 !important;
}

/* --------------------------------------------------
   Ajustes de estilo para tarjetas “Por qué somos ideales”
   -------------------------------------------------- */
.js-why-carousel .why-card {
  background-color: #fff; /* fondo blanco */
  color: #000; /* texto negro */
  border-radius: 12px; /* esquinas redondeadas */
  aspect-ratio: 1 / 1; /* proporción cuadrada */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 15px; /* espacio interior */
  max-width: 200px; /* ancho reducido */
}

.js-why-carousel .why-card h3 {
  font-size: 1.5rem; /* título más grande */
  margin: 0.5em 0;
}

.js-why-carousel .why-card p {
  font-size: 1.1rem; /* párrafo más grande */
  line-height: 1.4;
  margin: 0;
}
/* --------------------------------------------------
   Carrusel “Por qué somos ideales” – centrar slides
   -------------------------------------------------- */
/* 1) Asegura que el contenedor no recorte las tarjetas */
.js-why-carousel .slick-list {
  overflow: visible !important;
  padding: 0;
}

/* 2) Pasa el track a flex y céntralo */
.js-why-carousel .slick-track {
  display: flex !important;
  justify-content: center;
}

/* 3) Quita los floats para que las slides no se apilen */
.js-why-carousel .slick-slide {
  float: none !important;
  display: block !important;
  margin: 0 10px; /* opcional, espacio entre tarjetas */
}

/* 4) Efecto blur y escala */
.js-why-carousel .slick-slide:not(.slick-center) .why-card {
  filter: blur(4px);
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.3s ease;
  z-index: 1;
}
.js-why-carousel .slick-slide.slick-center .why-card {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1) !important;
  z-index: 2 !important;
}

/* 5) Estilo de las tarjetas */
.js-why-carousel .why-card {
  background-color: #fff;
  color: #000;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  width: 200px; /* fija un ancho razonable para las tarjetas */
}
/* --------------------------------------------------
   Sección Proyectos
   -------------------------------------------------- */
.proyectos {
  padding: 100px 15px;
}
.proyectos__title {
  font-family: "Orbitron", sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  color: #000;
  align-items: center;
  margin-bottom: 40px;
}
.proyectos__title .section__mark {
  margin-right: 10px;
}

/* Grid de tres tarjetas */
.proyectos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Tarjeta */
.proyecto__card {
  position: relative;
  overflow: hidden;
  border-radius: 0; /* sin redondeado */
  cursor: pointer;
  display: block;
  text-decoration: none;
}

/* Imagen de fondo */
.proyecto__img {
  width: 100%;
  padding-bottom: 70%; /* proporción aproximada */
  background-size: cover;
  background-position: center;
}

/* Overlay oculto */
.proyecto__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

/* Al hacer hover mostramos overlay */
.proyecto__card:hover .proyecto__overlay {
  opacity: 1;
}

/* Título en overlay */
.proyecto__card-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
  text-align: center;
}

/* Botón “Conoce más” en overlay */
.proyecto__btn {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50px;
  padding: 8px 20px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}
.proyecto__btn:hover {
  background-color: #fff;
  color: #091f5c;
}
/* --------------------------------------------------
   Plantilla single-proyecto
   -------------------------------------------------- */
.project-single__title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #000;
  display: inline-flex;
  align-items: center;
  margin-bottom: 30px;
}
.project-single__title .section__mark {
  margin-right: 10px;
}
.project-single__image {
  margin-bottom: 40px;
}
.project-single__content {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  margin-bottom: 40px;
}
.project-single__back .button {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
}
/* --------------------------------------------------
   Ajustes de altura y título visible en tarjetas de Proyectos
   -------------------------------------------------- */
.proyecto__card {
  height: 250px; /* fija altura */
  position: relative; /* para posicionar el título */
  overflow: hidden;
}

/* que la imagen llene toda la tarjeta */
.proyecto__card .proyecto__img {
  width: 100%;
  height: 100%;
  padding-bottom: 0; /* elimina el aspect-ratio hack */
  background-size: cover;
  background-position: center;
}

/* título siempre visible, antes del hover */
.proyecto__card .proyecto__card-title {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  color: #000;
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  z-index: 1;
}

/* deja el overlay tal cual para el hover */
.proyecto__card .proyecto__overlay {
  /* sin cambios */
}
/* --------------------------------------------------
   Imagen fija de 250px y título siempre visible
   -------------------------------------------------- */

/* 1) Asegura que la tarjeta adapte su alto al contenido */
.proyecto__card {
  /* quita la altura fija si la tenías */
  height: auto;
}

/* 2) Imagen de fondo con altura exacta */
.proyecto__card .proyecto__img {
  width: 100%;
  height: 600px; /* altura fija */
  background-size: cover;
  background-position: center;
  padding-bottom: 0; /* asegúrate de eliminar cualquier padding-bottom previo */
}

/* 3) Título siempre visible sobre la imagen */
.proyecto__card .proyecto__card-title {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  color: #000;
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  z-index: 2;
}

/* 4) Ajusta la superposición para que no tape el título */
.proyecto__card .proyecto__overlay {
  /* si tenías algún top/height que tapara el título, modifícalo así: */
  top: 0;
  bottom: 0;
  /* y opcionalmente añade un padding-top para no cubrir el área del título: */
  padding-top: 50px;
}
.js-why-carousel .slick-list {
  overflow: visible !important;
}
.js-why-carousel .slick-track {
  display: flex !important;
  justify-content: center;
}

/* Título siempre visible */
.proyecto__card-title {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  z-index: 2;
  font-family: "Orbitron", sans-serif;
  font-size: 1.2rem;
  color: #000;
}
/* El overlay sólo ocupa lo que necesita */
.proyecto__overlay {
  position: absolute;
  bottom: 60px; /* por encima del título */
  left: 0;
  width: 100%;
  text-align: center;
}
.proyectos__grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px; /* para que no choque con el contenedor */
}
.proyecto__card {
  flex: 0 0 280px;
}
/* Opcional: ocultar scrollbar en webkit */
.proyectos__grid::-webkit-scrollbar {
  display: none;
}
/* Anular grid para Slick */
.proyectos__grid {
  display: block !important;
}

/* Cada slide necesita un contenedor “inline-block” */
.js-proyectos-carousel .proyecto__card {
  display: inline-block;
  vertical-align: top;
  margin-right: 30px; /* separa las tarjetas */
}

/* Opcional: oculta el último margin */
.js-proyectos-carousel .proyecto__card:last-child {
  margin-right: 0;
}
/* Solo cuando Slick ya esté inicializado, quita el grid */
.proyectos__grid.slick-initialized {
  display: block !important;
}

/* Cada “slide” (tu tarjeta) la dejamos inline-block para que Slick la envuelva */
.js-proyectos-carousel .proyecto__card {
  display: inline-block;
  vertical-align: top;
  margin-right: 30px;
}

.js-proyectos-carousel .proyecto__card:last-child {
  margin-right: 0;
}

.js-proyectos-carousel .slick-prev,
.js-proyectos-carousel .slick-next {
  display: block !important;
  color: #091f5c !important;
  font-size: 2rem !important;
  background: none !important;
  z-index: 2 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.js-proyectos-carousel {
  overflow: visible !important;
}

/* Cuando Slick esté inicializado, quita el grid nativo */
.js-proyectos-carousel.slick-initialized {
  display: block !important;
  overflow: visible !important;
}

/* Cada “slide” debe ser inline-block para que Slick lo alinee */
.js-proyectos-carousel .slick-slide {
  display: inline-block !important;
  vertical-align: top;
}

/* Asegura que tu tarjeta siga ocupando el ancho correcto */
.js-proyectos-carousel .proyecto__card {
  width: calc(
    (100% - 30px * 2) / 3
  ) !important; /* 3 tarjetas con gap de 30px */
  margin-right: 30px;
}
.js-proyectos-carousel .proyecto__card:nth-child(3n) {
  margin-right: 0; /* sin gap al final de cada fila de 3 */
}
/* 1) Estilo base del título */
.proyecto__card .proyecto__card-title {
  position: absolute;
  bottom: 15px;
  left: 0; /* empieza en el borde izquierdo */
  font-family: "Roboto", sans-serif; /* la otra fuente, no Orbitron */
  background-color: #091f5c; /* el azul de tu sitio */
  color: #fff;
  padding: 0.5em 1em;
  white-space: nowrap; /* evita que el texto se rompa */
  /* 2) Clip‐path para diagonal en el lado derecho */
  clip-path: polygon(
    0 0,
    /* top-left */ calc(100% - 10px) 0,
    /* top-right ahora 10px hacia la izquierda */ 100% 100%,
    /* bottom-right */ 0 100% /* bottom-left */
  );
  /* 3) Asegura que el contenido no salga de la forma */
  overflow: hidden;
}

/* --------------------------------------------------
   Sección Proyecto Destacado
   -------------------------------------------------- */
.proyecto-destacado {
  background-color: #eaeaea;
  padding: 100px 15px;
}

.proyecto-destacado__inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* Título igual que “Proyectos” */
.proyecto-destacado .proyectos__title {
  margin-bottom: 40px;
}

/* Imagen destacada */
.proyecto-destacado__img img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px;
}

/* Texto editable */
.proyecto-destacado__text {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  color: #000;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
/* --------------------------------------------------
   Sección Proyecto Destacado
   -------------------------------------------------- */
.proyecto-destacado {
  background-color: #eaeaea;
  padding: 100px 15px;
}

.proyecto-destacado__inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* Reutiliza la clase de títulos de Proyectos */
.proyecto-destacado .proyectos__title {
  margin-bottom: 40px;
}

/* Imagen destacada */
.proyecto-destacado__img img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px;
}

/* Texto editable */
.proyecto-destacado__text {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  color: #000;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
/* Alinea el título a la izquierda como en “Proyectos” */
.proyecto-destacado .proyectos__title {
  text-align: left;
  margin-bottom: 40px;
}

/* Contenedor de columnas */
.proyecto-destacado__contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}

/* Columna imagen */
.proyecto-destacado__img {
  flex: 0 0 33.333%; /* 4 de 12 columnas */
  max-width: 33.333%;
}

/* Columna texto */
.proyecto-destacado__text {
  flex: 0 0 66.666%; /* 8 de 12 columnas */
  max-width: 66.666%;
  text-align: left;
}
/* Franja blanca superior */
.footer-top-separator {
  height: 2px;
  background-color: #000;
  margin-bottom: 2%;
}
/* Contenedor principal del footer */
.site-footer {
  background-color: #fff;
  color: #000;
  padding: 60px 20px 30px;
  font-family: "Roboto", sans-serif;
}

/* Distribución en columnas */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

/* Columnas individuales */
.footer-col {
  flex: 1 1 25%;
  min-width: 200px;
}

.footer-logo img {
  max-width: 180px;
}

/* Menú vertical */
.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-list li {
  margin-bottom: 10px;
}

.footer-menu-list a {
  color: #000;
  text-decoration: none;
}

.footer-menu-list a:hover {
  text-decoration: underline;
}

/* Contacto */
.footer-contact h4 {
  font-family: 'Orbitron';
  margin-top: 20px;
  margin-bottom: 5px;
  font-size: 1rem;
  color: #000;
}

.footer-contact p,
.footer-contact a {
  margin: 0;
  font-size: 0.95rem;
  color: #000;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Parte inferior */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
}

.footer-bottom .divider {
  color: #000;
  margin: 0 5px;
}
/* Parte inferior del footer: aviso y términos */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #000;
}

.footer-bottom a {
  color: #000;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  text-decoration: underline;
  color: #555;
}

.footer-bottom .divider {
  color: #000;
  margin: 0 5px;
}
/* Efecto hover en los íconos sociales */
.social-icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.social-icon:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.section__title {
  text-align: left;
}
.proyecto-destacado .section__title {
  text-align: left;
}

/* ===== Página Nosotros ===== */
/* ===== Página “Nosotros” ===== */
.nosotros__inner {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  min-height: 920px;
}

.nosotros__image {
  width: 40%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
}

.nosotros__content {
  width: 60%;
  background-color: #3b3b3a;
  color: #fff;
  padding: 40px;
}

.nosotros__content .section__title {
  font-family: "Orbitron", sans-serif;
  color: #fff;
  margin-bottom: 20px;
}

.nosotros__intro {
  margin-bottom: 40px;
  line-height: 1.6;
}

.nosotros__item {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.nosotros__item-logo {
  margin-bottom: 10px;
}

.nosotros__subtitle {
  font-family: "Orbitron", sans-serif;
  margin-bottom: 8px;
}

.nosotros__item-text {
  line-height: 1.5;
}

/* ===== Socios Comerciales ===== */

.socios {
  background: #fff;
  padding: 80px 0;
}

.socios__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 20px;
}

.socios__title {
  grid-column: 1 / span 4;
  justify-self: end;
  font-family: "Orbitron", sans-serif;
  position: relative;
}

.socios__title::after {
  content: "|";
  position: absolute;
  right: -1.2em;
  top: 0;
  color: #000;
}

.socios__carousel {
  grid-column: 5 / -1;
}

.socios__carousel .socio {
  padding: 10px;
  text-align: center;
}

.socios__carousel .socio img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

/* Forzar carrusel horizontal con Slick */
.js-socios-carousel.slick-initialized {
  display: block !important;
}

.js-socios-carousel .slick-list {
  overflow: visible !important;
}

.js-socios-carousel .slick-track {
  display: flex !important;
}

.js-socios-carousel .slick-slide {
  display: inline-block !important;
}
/* ===== Fondo y espaciado común para ambas secciones ===== */
.servicios-slider {
  background: url("/wp-content/uploads/2025/09/faltantes-12-scaled.png") center/cover no-repeat;
  padding: 100px 15px;
  position: relative;
}

/* Título con pipe a la izquierda */
.servicios-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 400;
  font-size: 2.5rem;
  color: #000;
  display: inline-flex;
  align-items: center;
  margin-bottom: 40px;
}
.servicios-title::before {
  content: "|";
  margin-right: 10px;
}

/* Contenedor interno idéntico al home */
.servicios-slider__inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
}
/* ===== Sección Contacto ===== */
.contacto-section {
  background: url("assets/img/fotos-37.png") center/cover no-repeat;
  padding: 100px 15px;
}
.contacto-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.contacto-texto {
  flex: 0 0 40%;
  color: #000;
}
.contacto-texto h2 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 20px;
}
.contacto-texto p {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== Caja del formulario ===== */
.contacto-formulario {
  flex: 0 0 60%;
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-sizing: border-box;
}

/* ===== Estilos CF7 ===== */
.contacto-formulario .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contacto-formulario .cf7-row {
  display: flex;
  gap: 20px;
}
.contacto-formulario .cf7-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.contacto-formulario .cf7-col-full {
  flex: 1 0 100%;
  display: flex;
  flex-direction: column;
}
.contacto-formulario label {
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.contacto-formulario input[type="text"],
.contacto-formulario input[type="email"],
.contacto-formulario input[type="tel"],
.contacto-formulario textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  background: transparent;
}
.contacto-formulario textarea {
  resize: vertical;
  min-height: 120px;
}
.contacto-formulario .wpcf7-submit {
  background: none;
  border: none;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  align-self: flex-start;
  padding: 0;
}

/* ==== Contacto: texto y formulario flotantes ==== */
.contacto-texto h2,
.contacto-texto p {
  color: #fff !important;
}

.contacto-inner {
  /* Desactivamos el flex anterior */
  display: block !important;
  position: relative;
}

/* Flotar texto a la izquierda */
.contacto-texto {
  float: left !important;
  width: 40% !important;
  text-align: left !important;
}

/* Flotar formulario a la derecha */
.contacto-formulario {
  float: right !important;
  width: 55% !important;
}

/* Limpiar floats */
.contacto-inner::after {
  content: "";
  display: table;
  clear: both;
}
/* ===== Forzar Roboto a peso normal ===== */
body,
p,
span,
a,
li,
label,
input,
textarea,
button,
select {
  font-family: "Roboto", sans-serif !important;
  font-weight: 400 !important;
}
div#n2-ss-3 .n2-font-bcd8d00e0ecd87b0a7a397f0976e2a73-hover {
  font-family: "Orbitron", sans-serif !important;
  font-size: 3.5rem !important;
  line-height: 1.1 !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  margin-bottom: 1rem !important;
}
div#n2-ss-3 .n2-font-92fc598e38a599c8493c74048f1b930a-hover {
  font-family: sans-serif !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* ===== Social Follow fijo a la derecha ===== */
.social-follow {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #091f5c;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  padding: 15px 5px 15px 15px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Iconos dentro de círculo blanco */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 8px 0;
  background: #fff;
  border-radius: 50%;
  text-decoration: none;
}

.social-icon img {
  max-width: 60%;
  height: auto;
}

/* Texto “Síguenos” vertical */
.social-follow-text {
  margin-top: 16px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}
/* ==== Social Follow: ajustar íconos y texto ==== */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 8px 0;
  /* eliminamos background/blanco y border-radius */
  background: none !important;
  border-radius: 0 !important;
}

.social-icon img {
  max-width: 100%;
  height: auto;
}

/* Texto “Síguenos” invertido para que corra de abajo hacia arriba */
.social-follow-text {
  margin-top: 16px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  transform: rotate(180deg);
}
/* —————————————————————————————————————————— */
/* 1) Centrar vertical y horizontal la sección Why Us */
/* —————————————————————————————————————————— */
#why-us {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 15px; /* conserva tu padding actual */
}
#why-us .why-us__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem; /* espacio entre título/texto y carrusel */
  width: 100%;
}

/* —————————————————————————————————————————— */
/* 2) Centrar las tarjetas dentro del carrusel */
/* —————————————————————————————————————————— */
.js-why-carousel .slick-list {
  overflow: visible !important;
}
.js-why-carousel .slick-track {
  display: flex !important;
  justify-content: center !important;
}

/* —————————————————————————————————————————— */
/* 3) Sólo una tarjeta “activa” (sin blur) */
/* —————————————————————————————————————————— */
.js-why-carousel .slick-slide {
  filter: blur(4px);
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.3s ease !important;
}
.js-why-carousel .slick-center .why-card {
  filter: none !important;
  opacity: 1 !important;
  transform: scale(1) !important;
  /* opcional: destacar con un box-shadow */
  /* box-shadow: 0 8px 16px rgba(0,0,0,0.2); */
}
/* —————————————————————————————————————————— */
/* Aumentar ancho de las tarjetas “Why Us”    */
/* —————————————————————————————————————————— */
/* 1) Quitar el límite de 200px */
.js-why-carousel .why-card {
  max-width: none !important;
  width: 100% !important; /* para que llene el slide */
  aspect-ratio: auto !important; /* permite altura variable */
  padding: 30px !important; /* más espacio interior */
}

/* 2) Asegurar que cada slide sea del ancho correcto */
.js-why-carousel .slick-slide {
  /* slick calcula el ancho: contenedor / slidesToShow */
  width: auto !important;
}

/* 3) Opcional: ajustar gap entre tarjetas */
.js-why-carousel .slick-slide {
  margin: 0 15px; /* españa los slides, modifica a tu gusto */
}
.js-why-carousel .slick-track {
  display: flex !important;
  justify-content: center !important;
}
/* —————————————————————————————————————————— */
/* Tarjetas Why Us 100% width x height igual (cuadradas) */
/* —————————————————————————————————————————— */
/* 1) Cada slide se convierte en flex para centrar la tarjeta */
.js-why-carousel .slick-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 10px; /* separa los slides entre sí */
}

/* 2) Forzar aspecto 1:1 y que llene el ancho del slide */
.js-why-carousel .why-card {
  width: 100% !important; /* ocupa todo el ancho disponible */
  aspect-ratio: 1 / 1 !important; /* altura = ancho */
  max-width: none !important; /* quita cualquier límite previo */
  box-sizing: border-box; /* incluye padding en las dimensiones */
  padding: 150px !important; /* espacio interior */
}

/* 3) Opcional: ajusta el gap “natural” si quieres más separación */
.js-why-carousel .slick-track {
  gap: 20px; /* solo funcionará en navegadores que soporten gap en flex */
}
/* —————————————————————————————————————————— */
/* Botón de búsqueda circular en top-bar       */
/* —————————————————————————————————————————— */
header .top-bar__search .search-submit {
  width: 35px !important;
  height: 35px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: none !important;
  background-color: #3c3c3b !important;
  display: flex !important
;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  margin-left: -2%;
  margin-top: -4px;
}

/* —————————————————————————————————————————— */
/* Icono de lupa blanco dentro del botón        */
/* —————————————————————————————————————————— */
/* Si usas un <i> o <svg> para el icono: */
header .top-bar__search .search-submit i,
header .top-bar__search .search-submit svg {
  color: #fff !important;
  fill: #fff !important; /* para SVG */
  font-size: 1.2rem; /* ajusta al tamaño deseado */
}

/* Si tu icono es una imagen <img>: invierte sus colores */
header .top-bar__search .search-submit img {
  filter: brightness(0) invert(1) !important;
}
/* Permitir a Slick gestionar la estructura */
.js-socios-carousel {
  display: block !important;
}
.js-socios-carousel .slick-list,
.js-socios-carousel .slick-track {
  display: block !important;
  overflow: hidden !important;
}
.js-socios-carousel .slick-slide {
  display: block !important;
  float: left !important;
}
.js-socios-carousel .slick-prev,
.js-socios-carousel .slick-next {
  display: none !important;
  color: #091f5c !important;
  font-size: 2rem !important;
  z-index: 2 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
/* --------------------------------------------------
   Menú móvil
   -------------------------------------------------- */
/* contenedor flex */
.main-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* botón hamburguesa */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

/* estilo del icono (puedes ajustar color/tamaño) */
.hamburger-icon {
  font-size: 24px;
  line-height: 1;
  color: #091f5c;
}
/* Centrar solo el aviso de privacidad en el footer */
.footer-bottom {
  text-align: center;
  padding: 20px 0; /* opcional: ajusta el espacio arriba/abajo */
}

.footer-bottom a {
  color: #000; /* o el color que uses para enlaces */
  text-decoration: none;
  font-weight: 500; /* opcional: da un poco de énfasis */
}

@media (max-width: 768px) {
  .contacto-inner {
    flex-direction: column;
  }
  .contacto-texto,
  .contacto-formulario {
    flex: 1 0 100%;
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nosotros__image,
  .nosotros__content {
    width: 100%;
  }
  .socios__inner {
    grid-template-columns: 1fr;
  }
  .socios__title {
    justify-self: start;
    margin-bottom: 20px;
  }
  .socios__carousel {
    grid-column: 1 / -1;
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .nosotros__image,
  .nosotros__content {
    width: 100%;
  }
  .socios__inner {
    grid-template-columns: 1fr;
  }
  .socios__title {
    justify-self: start;
    margin-bottom: 20px;
  }
  .socios__carousel {
    grid-column: 1 / -1;
  }
}

/* Responsivo en móvil */
@media (max-width: 768px) {
  .proyecto-destacado__contenido {
    flex-direction: column;
  }
  .proyecto-destacado__img,
  .proyecto-destacado__text {
    max-width: 100%;
    flex: 0 0 100%;
  }
}
.proyecto-destacado__contenido {
  display: flex;
  flex-wrap: nowrap; /* IMPORTANTE: evita que bajen de renglón */
  gap: 30px;
  align-items: flex-start; /* alínea al tope para textos largos */
  justify-content: space-between;
  margin-top: 40px;
}
.proyecto-destacado__img img {
  width: 100%;
  height: auto;
  min-height: 250px;
  object-fit: cover;
  border-radius: 6px;
}
/* 1) Contenedor limpio tras floats */
.nosotros__inner::after {
  content: "";
  display: table;
  clear: both;
}

/* 2) Imagen a la izquierda */
.nosotros__image {
  float: left !important;
  width: 40% !important;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  margin: 0;
}

/* 3) Contenido a la derecha */
.nosotros__content {
  float: right !important;
  width: 60% !important;
  background-color: #3b3b3a !important;
  color: #fff !important;
  padding: 40px !important;
  box-sizing: border-box;
}

/* 4) Forzar que el título y los ítems respeten el ancho */
.nosotros__content .section__title,
.nosotros__intro,
.nosotros__item {
  width: 100% !important;
  display: block !important;
}

/* 5) Reordena Misión/Visión/Valores (logo → título → texto) */
.nosotros__item {
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 30px !important;
}
.nosotros__item-logo {
  margin-bottom: 10px !important;
}
.nosotros__subtitle {
  font-family: "Orbitron", sans-serif !important;
  margin-bottom: 8px !important;
}
.nosotros__item-text {
  line-height: 1.5 !important;
}

/* ===== Opcional: responsivo ===== */
@media (max-width: 768px) {
  .nosotros__image,
  .nosotros__content {
    float: none !important;
    width: 100% !important;
  }
}
/* ===== Forzar carrusel de socios horizontal ===== */
.socios__carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
}

/* Cada logo ocupa su espacio y no crece ni encoge */
.socios__carousel .socio {
  flex: 0 0 auto !important;
}

/* Opcional: ocultar scrollbar en WebKit */
.socios__carousel::-webkit-scrollbar {
  display: none;
}
/* ==== Socios Comerciales a full-width ==== */
section.socios {
  /* Anula cualquier max-width de tu layout */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 80px 20px; /* conserva tu padding vertical y un poco de horizontal */
  background: #fff;
}

/* Si dentro sigue habiendo .container, haz que también sea full width */
section.socios .container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 auto;
}

/* ==== Pipe a la izquierda ==== */
.socios__title::after {
  content: none;
}
.socios__title {
  position: relative; /* para el ::before */
}
.socios__title::before {
  content: "|";
  position: absolute;
  left: -1.2em; /* ajusta si necesitas más o menos espacio */
  top: 0;
  color: #000;
}
.socios__title {
  grid-column: 1 / span 4;
  justify-self: end;
  font-family: "Orbitron", sans-serif;
  position: relative;
  font-size: 46px;
  width: 50%;
  font-weight: 100;
}
/* — Tipografía de títulos — */
.nosotros__content .section__title {
  font-family: "Orbitron", sans-serif;
  font-weight: 100 !important;
  font-size: 3.5rem !important;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.nosotros__subtitle {
  font-family: "Orbitron", sans-serif;
  font-weight: 100 !important;
  font-size: 2rem !important;
  line-height: 1.3;
  margin: 0;
}

/* — Layout icono + título + texto — */
.nosotros__item {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  grid-template-rows: auto auto !important;
  grid-template-areas:
    "logo title"
    "logo text" !important;
  align-items: center !important;
  gap: 0.5em 1em !important;
  margin-bottom: 2em !important;
}

.nosotros__item-logo {
  grid-area: logo !important;
  margin: 0 !important;
}

.nosotros__item-logo img {
  max-width: 40px !important;
  height: auto !important;
}

.nosotros__subtitle {
  grid-area: title !important;
}

.nosotros__item-text {
  grid-area: text !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

/* --------------------------------------------------
     Responsive
     -------------------------------------------------- */
@media (max-width: 768px) {
  #servicios.servicios-slider {
    padding: 60px 15px;
  }
  .servicios-slider__inner {
    flex-direction: column;
  }
  .servicio-content__card {
    min-height: 350px;
    padding: 40px;
  }
  .servicio-content__btn {
    padding: 10px 24px;
    font-size: 1rem;
  }
  .servicio-nav__btn {
    padding: 16px 12px;
  }
  .servicio-nav__btn img {
    width: 40px;
    height: 40px;
  }
}
/* ---------------------------
   Responsive Mobile (<=768px)
   --------------------------- */
@media (max-width: 768px) {
  /* 1) Centrar todo el contenido y texto */
  body,
  html,
  .site-header,
  .main-header,
  .top-bar,
  .site-navigation,
  .container,
  .hero,
  .slider-section,
  .servicios-slider,
  .why-us,
  .proyectos,
  .contacto-section,
  .nosotros__inner,
  .proyecto-destacado,
  .site-footer {
    text-align: center !important;
  }

  /* 2) Hacer las fuentes más pequeñas */
  body,
  p,
  li,
  a,
  button,
  input,
  label {
    font-size: 0.9rem !important;
  }
  h1 {
    font-size: 1.8rem !important;
  }
  h2 {
    font-size: 1.6rem !important;
  }
  h3 {
    font-size: 1.4rem !important;
  }

  /* 3) Columnas a bloque y centrado */
  .container,
  .servicios-slider__inner,
  .proyectos__grid,
  .contacto-inner,
  .nosotros__inner,
  .proyecto-destacado__contenido {
    display: block !important;
    width: 100% !important;
  }
  .servicio-content__card,
  .proyecto__card,
  .why-card {
    margin: 0 auto 30px !important;
  }

  /* 4) Ocultar menú normal y mostrar hamburguesa */
  .site-navigation .menu {
    display: none !important;
  }
  .menu-toggle {
    display: block;
    margin: 0.5em auto;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    height: 4px;
    width: 100%;
    background: #000;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* 5) Cuando esté activo, mostrar menú en columna */
  .site-navigation.open .menu {
    display: flex !important;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 1em 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .site-navigation.open .menu li {
    margin: 0.5em 0;
  }
  .site-navigation.open .menu li a {
    font-size: 1.1rem !important;
  }
  /* --- Oculta por defecto en móvil, muestra solo al hacer toggle --- */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      margin: 1rem auto;
      font-size: 1.5rem;
      background: none;
      border: none;
      color: #091f5c;
      cursor: pointer;
    }

    .site-navigation {
      display: none;
      width: 100%;
    }
    .site-navigation.open {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .site-navigation .menu {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0;
      margin: 0;
    }
    .site-navigation .menu li {
      margin: 0.5em 0;
      list-style: none;
    }
    .site-navigation .menu li a {
      display: block;
      text-align: center;
      width: 100%;
      padding: 0.5em 0;
      font-size: 1rem; /* un poquito más pequeño si quieres */
      color: #000 !important;
    }
  }
  .menu-toggle {
    display: block;
    margin: 1rem auto;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #091f5c;
    cursor: pointer;
  }

  .site-navigation {
    display: none;
    width: 100%;
  }
  .site-navigation.open {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-navigation .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  .site-navigation .menu li {
    margin: 0.5em 0;
    list-style: none;
  }
  .site-navigation .menu li a {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.5em 0;
    font-size: 1rem; /* un poquito más pequeño si quieres */
    color: #000 !important;
  }
  /* ——— Responsive móvil ——— */
  @media (max-width: 768px) {
    .site-navigation,
    .main-header__inner {
      display: none;
    }

    /* contenedor logo + toggle */
    .mobile-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px;
      background: #fff;
    }
    .mobile-header__logo img,
    .mobile-header__logo a {
      max-height: 40px;
    }
    .menu-toggle {
      background: none;
      border: none;
      font-size: 2rem;
      line-height: 1;
      cursor: pointer;
    }

    /* menú desplegable */
    .main-nav {
      display: none;
      flex-direction: column;
      align-items: center;
      background: #fff;
      width: 100%;
    }
    .main-nav.active {
      display: flex;
    }
    .main-nav .menu {
      list-style: none;
      margin: 0;
      padding: 0;
      width: 100%;
    }
    .main-nav .menu li {
      width: 100%;
      text-align: center;
      border-bottom: 1px solid #eee;
    }
    .main-nav .menu li:last-child {
      border-bottom: none;
    }
    .main-nav .menu li a {
      display: block;
      padding: 12px 0;
      color: #000 !important;
      font-weight: 700 !important;
    }
  }
  @media (max-width: 768px) {
    header.site-header .container {
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
  }
  @media (max-width: 768px) {
    .site-header .top-bar__inner,
    .site-header .main-header__inner {
      padding-left: 0;
      padding-right: 0;
    }
  }
}
/* --------------------------------------------------
   MENÚ MÓVIL – FULLSCREEN & VERTICAL
   -------------------------------------------------- */
@media (max-width: 768px) {
  /* 1) Oculta el nav por defecto */
  .site-navigation {
    display: none !important;
    position: fixed !important;
    inset: 0 !important; /* top:0;right:0;bottom:0;left:0 */
    background: #fff !important;
    z-index: 1001 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 2) Cuando tenga .open, muéstralo en flex-columna */
  .site-navigation.open {
    display: flex !important;
  }

  /* 3) Lista de enlaces como flex-columna */
  .site-navigation .menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 4) Cada enlace ocupa toda la línea */
  .site-navigation .menu li {
    width: 100% !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee !important; /* opcional separación */
  }
  .site-navigation .menu li:last-child {
    border-bottom: none !important;
  }
  .site-navigation .menu li a {
    display: block !important;
    width: 100% !important;
    padding: 1rem 0 !important;
    text-align: center !important;
    font-size: 1.2rem !important;
    color: #091f5c !important;
    text-decoration: none !important;
  }

  /* 5) Botón “X” siempre arriba-derecha */
  .mobile-menu-close {
    display: block !important;
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    background: none !important;
    border: none !important;
    font-size: 2rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    z-index: 1002 !important;
  }
}
/* --------------------------------------------------
   Header móvil: logo izquierda, hamburguesa derecha
   -------------------------------------------------- */
@media (max-width: 768px) {
  .main-header__inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    /* opcional: un poco de padding lateral */
    padding: 0 1rem !important;
  }
  .site-logo {
    order: 1 !important;
  }
  .mobile-menu-toggle {
    order: 2 !important;
  }
  .site-logo img {
    max-height: 53px;
    max-width: 275px;
    margin-left: 5%;
    margin-top: 2%;
    margin-bottom: 2%;
  }
  div#n2-ss-2 .n2-font-bcd8d00e0ecd87b0a7a397f0976e2a73-hover {
    font-size: 1rem !important;
  }
  div#n2-ss-2 .n2-font-92fc598e38a599c8493c74048f1b930a-hover {
    font-size: 0.5rem !important;
  }
  .slick-prev:hover,
  .slick-prev:focus,
  .slick-next:hover,
  .slick-next:focus {
    color: transparent;
    outline: none;
    background: transparent;
  }
}
@media (min-width: 769px) {
  .mobile-menu-toggle,
  .mobile-menu-close {
    display: none !important;
  }
}
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .socio .slick-slide .slick-current .slick-active {
    width: 20px;
  }
  .nosotros__content .section__title {
    text-align: center;
  }

  .nosotros__item-logo img {
    max-width: 25px !important;
  }
  .social-icon {
    width: 25px;
    height: 25px;
  }
  .social-follow {
    padding: 15px 5px 10px 10px;
  }
}
/* --------------------------------------------------
   Contacto: en móvil, texto arriba y formulario abajo, ambos centrados
   -------------------------------------------------- */
@media (max-width: 768px) {
  .contacto-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .contacto-texto,
  .contacto-formulario {
    /* Elimina floats y hazlos de ancho completo (o ajusta max-width) */
    float: none !important;
    width: 100% !important;
    max-width: 400px !important; /* opcional: limita ancho para mejor legibilidad */
    margin: 0 auto !important;
  }
  .contacto-texto {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
  }
  .contacto-formulario .wpcf7-submit {
    background: none;
    border: none;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    align-self: flex-start;
    padding: 0;
    margin-left: 25%;
  }
  .js-socios-carousel .slick-prev,
  .js-socios-carousel .slick-next {
    display: none !important;
  }
  .socios__title {
    justify-self: center;
  }
}
@media (max-width: 768px) {
  header .top-bar__contact .contact-item {
    display: none !important;
  }
  header .top-bar__search .search-submit {
    width: 30px !important;
    height: 30px !important;
    margin-left: -3%;
    margin-top: 0px;
  }
  /* 1) El nav cubre toda la ventana y está arriba de todo */
  .site-navigation {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 9999 !important;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto; /* para que si el menú es largo, puedas scrollear */
    padding-top: 80px; /* espacio para no quedar bajo el header */
  }

  /* 2) Al abrir, pasan a flex */
  .site-navigation.open {
    display: flex !important;
  }

  /* 3) Hacer cada enlace “block” para ocupar todo el ancho */
  .site-navigation .menu li a {
    display: block;
    width: 100%;
    padding: 1rem 0;
    text-align: center;
  }

  /* 4) Asegúrate de que tu botón de hamburguesa esté arriba del nav */
  .mobile-menu-toggle,
  .menu-toggle {
    position: relative;
    z-index: 10000 !important;
  }
  .slider-section {
    z-index: -9999;
  }
  /* ===== Servicios en móvil: layout vertical ===== */
  @media (max-width: 768px) {
    /* Apilar nav y cards */
    .servicios-slider__inner {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    /* Botones a 100% de ancho */
    .servicio-nav__btn {
      width: 100%;
      margin: 0;
    }

    /* Cards ocultas por defecto (se mostrarán vía JS) */
    .servicio-content {
      display: none !important;
      width: 100%;
      margin-bottom: 1.5rem;
    }
  }
  @media (max-width: 768px) {
    /* Salvo la activa, todo oculto */
    .servicio-content {
      display: none;
    }
    /* La activa, forzada a block */
    .servicio-content.active {
      display: block !important;
      width: 100%;
      margin: 1rem 0;
    }
  }
  @media (max-width: 768px) {
    /* 1) Oculta overflow para que Slick mantenga las slides en línea */
    .js-why-carousel .slick-list {
      overflow: hidden !important;
    }

    /* 2) Apaga y achica las no activas */
    .js-why-carousel .slick-slide {
      opacity: 0.5;
      transform: scale(0.9);
      transition: opacity 0.3s ease, transform 0.3s ease;
      /* NO tocar display/float/width aquí */
    }

    /* 3) Destaca la activa */
    .js-why-carousel .slick-center {
      opacity: 1 !important;
      transform: scale(1) !important;
    }

    /* 4) (Opcional) Un ligero gap entre tarjetas */
    .js-why-carousel .slick-slide {
      margin: 0 8px;
    }
    .js-why-carousel .slick-track {
      margin: 0 -8px;
    }
  }
  @media (max-width: 768px) {
    /* 1) Asegura que el header esté en la capa más alta */
    header.site-header {
      position: relative !important;
      z-index: 99999 !important;
      transform: none !important; /* elimina cualquier transform residual */
    }

    /* 2) El menú móvil debe cubrir todo y estar por encima */
    .site-navigation {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100vh !important;
      background-color: #fff !important;
      z-index: 100000 !important; /* un punto más encima que el header */
      display: none !important; /* oculto por defecto */
      transform: none !important;
    }
    .site-navigation.open {
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      justify-content: center !important;
      overflow-y: auto !important;
      padding-top: 80px !important; /* deja espacio si quieres ver el header */
    }

    /* 3) Botones de toggle siempre encima */
    .mobile-menu-toggle,
    .mobile-menu-close {
      z-index: 100001 !important;
    }
  }
}
