@font-face{
font-family:Mantana-Italic;
src:url("img/Mantana-Italic.otf");
 font-family: Montserrat;
}

#nosotros-main {
  scroll-margin-top: 80px; /* Ajusta el valor según la altura de tu header */
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #f3f6f8; /* Gris cálido, suave, menos contraste con el header */
  color: #232f35;       /* Gris muy oscuro, más suave que negro */
  font-family: 'Montserrat', sans-serif;
}


.servicio-item img{
	border-radius:20px;
	
}
/* Fondo de imagen en el header como reemplazo al video */
header.video-header {
  background-image: url("img/fondoo2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: white;
  animation: fadeIn 2s ease-in-out;
  overflow: hidden;
}

header.video-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(21, 76, 121, 0.55); /* capa azul profunda */
  z-index: 1;
}

header.video-header .contenido-header {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

header.video-header .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(0,0,0,0.08);
  border-bottom: 1.5px solid #154C79;
}

.logo img {
  max-height: 58px;
  object-fit: contain;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: none;
  padding: 0;
  border-bottom: none;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: color 0.3s;
  padding: 10px 18px;
  border-radius: 6px;
}

nav a:hover {
  color: #1797c9;
  background: rgba(255,255,255,0.09);
}

header.video-header h1 {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  margin-top: 150.5px;
  text-transform: uppercase;
  text-shadow: 3px 3px 8px rgba(21, 76, 121, 0.67);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

header.video-header p {
  font-size: 28px;
  color: #e6f7ff;
  text-shadow: 2px 2px 7px #154C79;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

main {
    height: 70%;
    width: 100%;
    background: #f3f6f8; /* Uniforme con el body */
    display: flex;
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 0;
}





.servicios-slider-track {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  position: relative;
  align-items: stretch;
}

.servicio-tarjeta {
  flex: 0 0 100%;
  min-width: 0;
  height: 370px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(21, 76, 121, 0.09);
  border: 1.5px solid #e7e7e7;
  overflow: hidden;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  transition: opacity .38s;
}
.servicio-tarjeta.slider-visible {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

/* Imagen ocupa toda la tarjeta */
.servicio-tarjeta img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  max-height: 370px;
  
  aspect-ratio: 4/3;
  display: block;
  transition: filter .18s;
}
.servicio-tarjeta:hover img {
  filter: brightness(0.93) saturate(1.06);
}

/* Overlay: el nombre del modelo sobre la imagen */
.servicio-tarjeta-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg,rgba(21,76,121,0.40) 65%,rgba(21,76,121,0.06) 100%);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 18px 0 10px 0;
  text-align: center;
  text-shadow: 2px 2px 10px #000a, 0px 0px 1px #154C79;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  pointer-events: none;
  letter-spacing: .01em;
  z-index: 2;
}
.servicios-rediseño {
display: flex;
    gap: 38px;
    background: linear-gradient(110deg, #eaf3fa 80%, #f7fafc 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px #154C7912;
    margin: 40px 0;
    align-items: center;
    padding: 38px 28px;
    justify-content: space-between;
    flex-wrap: wrap;
  min-height: 470px;                  /* asegura altura mínima para centrar bien */
}

.servicios-rediseño-info {
  flex: 1 1 420px;
  max-width: 480px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;           /* centra el texto verticalmente */
  align-items: flex-start;
  height: 100%;
  background: transparent;
  padding: 0 18px 18px 0;
}

.servicios-slider {
  flex: 1 1 390px;
  min-width: 270px;
  max-width: 480px;
  display: flex;
  margin-right:15%;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 0;
  height: 420px;                     /* asegura igual altura que el texto */
}
/* Flechas */
.slider-arrow {
  background: #154C79;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 3;
  transition: background .18s, box-shadow .18s;
  box-shadow: 0 3px 12px #154c7922;
  margin: 0 8px;
  opacity: .96;
}
.slider-arrow:hover {
  background: #1797c9;
  box-shadow: 0 6px 22px #154c7922;
}

/* Responsive: apilado en mobile */

.servicios-rediseño-info {
  flex: 1 1 300px;
  max-width: 400px;
  padding: 0 22px 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.servicios-rediseño-info h2 {
  color: #154C79;
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: .01em;
}
.servicios-rediseño-info p {
  color: #425060;
  font-size: 1.11rem;
  line-height: 1.8;
  margin-bottom: 18px;
}
.servicios-rediseño-info .cta-modelos {
  margin-top: 10px;
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #154C79 60%, #1797c9 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 7px;
  text-decoration: none;
  font-size: 1.07rem;
  transition: background 0.2s;
}
.servicios-rediseño-info .cta-modelos:hover {
  background: linear-gradient(90deg, #1797c9 60%, #154C79 100%);
  color: #fff;
}



.servicio-tarjeta:hover {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 12px 32px rgba(21, 76, 121, 0.16);
  border-color: #1797c9;
}



.servicios-detallados {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  padding: 40px 20px;
  background: #f3f6f8;
  box-shadow: 0 8px 32px #154c7920;
  border-radius: 22px;
  margin-bottom: 38px;
}

.servicio-item {
  flex: 1 1 calc(25% - 20px);
  max-width: 300px;
  text-align: center;
  background: linear-gradient(120deg,#fff 75%,#f7fafd 100%);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(21, 76, 121, 0.07);
  border: 1px solid #e4e4e4;
  padding: 25px 16px 20px 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}


.hormigon-section {
  display: flex;
  gap: 38px;
  background: linear-gradient(110deg,#eaf3fa 80%,#f7fafc 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px #154C7912;
  margin: 40px 0;
  align-items: center;
  padding: 38px 28px;
  width:100%;
  justify-content: space-between;
  flex-wrap: wrap;
}
.hormigon-info {
  flex: 1 1 340px;
  max-width: 500px;
}
.hormigon-info h2 {
  color: #425060;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hormigon-info p {
  font-size: 1.1rem;
  color: #425060;
  line-height: 1.7;
}
.cta-hormigon {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(90deg, #154C79 70%, #1797c9 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 7px;
  text-decoration: none;
  font-size: 1.05rem;
  padding: 10px 22px;
  transition: background 0.2s;
}
.cta-hormigon:hover {
  background: linear-gradient(90deg, #1797c9 60%, #154C79 100%);
  color: #fff;
}
.hormigon-img {
  flex: 1 1 260px;

}
.hormigon-img img {
  width: 55%;
  border-radius: 14px;
  box-shadow: 0 2px 8px #154C7920;
  object-fit: cover;
}
@media (max-width: 900px) {
  .hormigon-section {
    flex-direction: column;
    align-items: flex-center;
    gap: 16px;
    padding: 22px 10px;
  }
  .hormigon-img img{
		width:90%;
	}
	
  .hormigon-img {max-width: 100%;}
   .hormigon-info{
	   max-width:90%!important;
	   
   }
}
@media (max-width: 1200px) {
	.hormigon-img img{
		width:90%;
	}
	.servicios-slider{
		margin-right:0;
	}
}

.servicio-item:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 8px 24px rgba(23, 151, 201, 0.13);
  border-color: #1797c9;
}
.servicio-item h3 {
  font-size: 1.14rem;
  font-weight: bold;
  color: #154C79;
  margin-bottom: 10px;
}
.servicio-item p {
  font-size: 1rem;
  color: #425060;
    margin-left:0;
	   text-shadow:0px 0px 1px black;
  line-height: 2;
  text-align: justify;
}

.servicio-tarjeta img {
   width: 100%;
    height: 100%;
   
    display: block;
}
.servicio-tarjeta h2 {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    z-index: 2;
 
    background: none;
    padding: 0;
    width: auto;
    border-radius: 0;
    text-align: center;
}

/* Estilos para la sección del título */
/* Estilo para la sección "Ver Servicios" */
/* Estilos para la sección del título */
/* Estilos para el título "ALGUNOS PROYECTOS" */
.titulo-proyectos {
    text-align: center;
    margin-top: 58px;
    margin-bottom: 30px;
 
    border-radius: 12px;
    padding: 24px 0 12px 0;
 
}

.titulo-proyectos h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #333; /* Color del texto */
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
	margin:0;
}

.titulo-proyectos .linea {
    width: 50px;
    height: 3px;
    background-color: #333; /* Azul celeste */
    margin: 0 auto;
    border-radius: 2px;
	margin-top:2%;
}

.sobre-nosotros-texto {
    max-width: 100%;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
}

.sobre-nosotros-texto h2 {
    font-size: 25px;
    font-weight: 600;
    color: black; /* Color azul celeste */
    margin-bottom: 10px;
}

.sobre-nosotros-texto h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #444242;
    margin-bottom: 20px;
}

.sobre-nosotros-texto p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: black;
}

.sobre-nosotros-texto strong {
    color: black; 
}

.sobre-nosotros-imagen {
    flex: 1;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.sobre-nosotros-imagen img {
    width: 100%;
    height: auto;
    display: block;
}
header{
	width:100%;
	height:100vh;
}


/* Navegación moderna con estilo */
nav {
 
    top: 20px;
    left: 50%;
    transform: translateX(-25%);
    z-index: 10;
    display: flex;
    gap: 20px;
   
    padding: 10px 20px;
    border-radius: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #00ccff;
}

/* Estilo profesional para sección de tarjetas */
.pil {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 60px 20px;
    background-color: #f5f5f5;
    animation: fadeIn 1.5s ease-in-out;
}

.min, .mina {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 320px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.min:hover, .mina:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.min img, .mina img {
    width: 100%;
    height: auto;
    display: block;
}

.min p, .mina p {
    padding: 16px;
    font-size: 17px;
    color: #444;
    line-height: 1.5;
}

/* Botones elegantes */
.whatsapp-button {
    position: fixed;
    bottom: 20px; /* Distancia desde el borde inferior */
    right: 20px; /* Distancia desde el borde derecho */
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    width: 60px; /* Tamaño del botón */
    height: 60px;
    background-color: #25D366; /* Color de fondo de WhatsApp */
    border-radius: 50%; /* Hace el botón circular */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para el botón */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el ratón */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* Mayor sombra al hacer hover */
}

.whatsapp-button img {
    width: 70%; /* Ajusta el tamaño del ícono dentro del botón */
    height: auto;
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.header-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.header-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.header-content p {
  font-size: 1.5rem;
}
.contenedor{
	height:auto;
	display:flex;
	width:100%;
	flex-direction:column;

	
	
}
.logo{
	width:30%;
}
.top {
    position: relative;
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
    height: 70px;
    align-items: center;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    background: linear-gradient(90deg,rgba(21,76,121,0.70) 60%,rgba(21,76,121,0.43) 100%);
}

.logo img {
  max-height: 60px; /* Ajusta el tamaño */
  
  object-fit: contain; /* Evita deformaciones */
}
/* PROYECTO: imagen a la derecha en desktop, abajo en mobile */
.proyecto {
  width: 100vw;
  max-width: 100vw;
  background: linear-gradient(120deg,#f7fafd 70%,#e5eefa 100%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 0 24px 0;
  gap: 44px;
  box-sizing: border-box;
  margin: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  border-bottom: 1px solid #e2e7ed;
}

.proyecto-texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  align-items: flex-start;
  max-width: 460px;
  padding: 0 24px;
  box-sizing: border-box;
}

.proyecto-texto h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: #154c79;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}
.proyecto-texto h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
   color: #3c6e71;
  margin: 0;
}
.proyecto-texto p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  color: #3c6e71;
 text-shadow:0px 0px 0px black;
  border-radius: 8px;
  padding: 0px 12px;
  margin-top:0 2px 2px 0;
  line-height: 1.6;
}

.proyecto-imagen-boton {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 340px;
}

.proyecto-imagen-boton img {
  width: 400px;
  max-height:400px;
  max-width: 200vw;
  margin-top:40px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(40,80,160,0.09);
  object-fit: cover;
}

.proyecto-boton {
  margin-top: 18px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.boton-verde {
  display: inline-block;
  padding: 15px 36px;
  background-color: #2bb673;
  color: #fff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: bold;
  border-radius: 7px;
  transition: background-color 0.3s;
  box-shadow: 0 2px 8px rgba(43,182,115,0.07);
  letter-spacing: 0.01em;
}
.boton-verde:hover, .boton-verde:focus {
  background-color: #219a5d;
}



/* Logo en .top */

/* Estilos del menú */


main{
	height:70%;
	width:100%;
 background-color: #f5f7fa; /* Azul muy claro y profesional */
	display:flex;
	
	flex-direction:column;
}





	




.frase{
	display:flex;
	height:auto;
	width:50%;
	flex-direction:column;
	margin-top:10%;
	background-color:rgba(255, 255, 255, 0.5);
	border-top-right-radius:30px;
	border-bottom-right-radius:30px;

	
}


.t1{
	width:100%;
	background-color:rgba(255, 255, 255, 0.5);

	display:flex;
	height:20%;
	justify-content:center;
	
}
.pil{
	display:flex;
	width:100%;
	height:100%;
	
	
}
.pilee2{
	display:flex;
	width:100%;
	height:100%;
	margin-top:4%;
	
}
.pilee2 h2{
	color:white; 
	margin-left:7%;
	text-shadow:1px 1px 1px black;
	font-size:22px;
	font-family : Mantana-Italic;
	margin-top:3%;
text-align:none;
}


.pago{
	width:100%;
	background-color:#e7e7e7;
	display:flex;
	height:15vh;
	
	
}
.mp{
	width:50%;
	
}
.tar{
		width:50%;
	
}




h2{
	color:white; 
	
	text-shadow:1px 1px 1px black;
	font-size:22px;
	font-family : Montserrat;
}
p{
	font-family : Montserrat;
	font-size:20px;
color:white;
	margin-left:7%;
	text-shadow:1px 1px 1px black;
}
img{
	display:block;
	margin:auto;
	display:flex;
	height:auto;
}

	.boton{
		
		border-radius:60%;
		width:25%;
		margin-left:7%;
		
		text-align:center;
		color:white;
		text-decoration:none;
		font-weight:bold;
		margin-bottom:4%;
		margin-top:2%;
		font-family:Mantana-Italic;
	
		
	}
.boton a:link, .boton a:visited{

	color:white;
	text-decoration:none;
		font-weight:bold;
		transition:color 0.5s, font-size 1s, background-color 1s;
		background-color:#03aed2;
		padding:6%;
		border-radius:40%;
		font-family:Mantana-Italic;
	
}
.boton a:hover{
	color:white;
	font-size:15px;
	background-color:#021750;
	font-family:Mantana-Italic;
	
}
h1{
		

	color:white;
	
	  font-family: 'Montserrat', sans-serif;
}

.social h3{
font-size:20px;
font-family : Mantana-Italic;
}
.logo2{
width:25%;	

}
.contacto{
	display:flex;
	width:30%;

	height:auto;
}
.redes{
	display:flex;
	flex-direction:row;
}
.tex{
	margin-bottom:3%;
	margin-top:3%;
	margin-left:2%;
	
}
.tex p{
	color:#c1bfbf;
	font-family :Times New Roman,Roman, serif;
}


.contacto p{
	font-size:15px;
	font-family : Times New Roman, serif;
}
.tex h3{
	margin-left:7%;
		color:#E9E9E9;
	font-family :Times New Roman,Roman, serif;
font-weight:bold;
}
h3{
	font-size:15px;
	font-family : Mantana-Italic;
	margin-left:2%;
}
.links{
	display:flex;
	flex-direction:column;
	width:30%;
	margin-bottom:3%;
	margin-top:3%;
	MARGIN-LEFT:5%;
}
.links a:link, .links a:visited{
	color:#8d8d8d;
	text-decoration:none;
	margin:1%;
	
}
.links a:hover{
	color:#c1bfbf;
}
.r{
	margin-bottom:3%;
	margin-top:3%;
	margin-left:9%
}
.privacidad{
 display:flex;
 flex-direction:column;
 width:25%;
}
.privacidad p{
	font-size:15px;
	color:#8d8d8d;
	text-decoration:none;
	margin:1%;
	font-family : Times New Roman, serif;
}
.visual{
text-align:center;
display:flex;
flex-direction:center;
	width:100%;
	flex-wrap:wrap;
}
.ig{
	margin:2%;
}
.instagram{
	
	display:flex;
	
	
}
.wh{
	position:fixed;
	background-color:#2e6329;
	
	
	bottom:20px;
	right:25px;
	border-radius:50px;
	padding:10px;
	z-index:1000;
	
	}
.wh{
	transform:scale (1.1);
	transition:0.3s;
	
	
}
@keyframes efecto{
	0%{
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85);
	}
	100%{
		box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
	}
	
	
}

/* Oculta el slider por defecto */
.slider-container {
  display: none;
}


.nosotros-main {
    padding: 50px;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(110deg, #eaf3fa 80%, #f7fafc 100%);
}

.historia {
  width: 100vw;
  max-width: 100vw;
  margin: 56px 0 64px 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
 background: linear-gradient(110deg, #eaf3fa 80%, #f7fafc 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px #154C7910;
  overflow: hidden;
  min-height: 370px;
  gap: 0;
  position: relative;
}

.historia-contenido {
  flex: 2 1 650px;
  padding: 52px 58px 52px 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
  min-width: 320px;
}

.historia-label {
  color: #1797c9;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 6px;
  display: block;
}

.historia-contenido h2 {
  color: #154C79;
  font-size: 2.6rem;
  font-weight: 900;
  margin: 10px 0 18px 0;
  letter-spacing: .01em;
  line-height: 1.12;
}

.historia-resumen {
  font-size: 1.12rem;

  color: #154C79;
  margin-bottom: 8%;
}

.historia-contenido ul {
  margin: 0 0 6% 0;
  padding-left: 24px;
  color: black;
  font-size: 1.07rem;
  line-height: 1.65;
}
.historia-contenido ul li {
  margin-bottom: 4px;
  font-family: 'Montserrat', sans-serif;
}

.historia-final {
  font-size: 1.11rem;
  color: #2b4057;
  font-weight: 500;
  margin-top: 8px;
}

.historia-img {

  max-width: 420px;
  min-width: 260px;
 
  display: flex;
  align-items: center;
  justify-content: center;
 
  position: relative;
  z-index: 2;
}
.historia-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 28px #154C7920;
  margin: 18px 0;
 
  
  display: block;
}

.productos {
    text-align: center;
  
    padding: 48px 0 36px 0;
    border-radius: 18px;
    margin-bottom: 34px;
}

.productos h2 {
    font-size: 2.5rem;
    color: #154C79; /* Color institucional */
    margin-bottom: 30px;
    letter-spacing: .02em;
    font-weight: 800;
}

.productos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10%;

  justify-content: center;
  align-items: stretch;
  padding: 40px 8px;
}

.producto-item {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 4px 16px rgba(21, 76, 121, 0.09);
  border: 1.5px solid #e7e7e7;
  padding: 18px 12px 12px 12px;
  flex: 1 1 210px;
  max-width: 400px;
  margin-bottom:4%;
  min-width: 300px;
    max-height: 400px;
  min-height: 300px;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.22s, transform 0.22s;
}

.producto-item img {
  width: 100%;
  width:auto;
  height: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: 1/1;
  margin-bottom: 14px;
}

.producto-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #154C79;
  margin: 0;
  text-align: center;
}

.producto-item:hover {
    box-shadow: 0 8px 28px #154C7940;
    transform: translateY(-6px) scale(1.025);
}


/* ... (todo tu CSS existente arriba) ... */

/* NUEVA SECCIÓN: Piscinas LP (galería profesional y elegante) */
.piscinaslp-section {
  width: 100%;
  padding: 70px 0 36px 0;
   background: linear-gradient(110deg, #eaf3fa 80%, #f7fafc 100%);
  margin-bottom: 0;
  border-radius: 20px;
  box-shadow: 0 4px 24px #154C7912;
}

.piscinaslp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.piscinaslp-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}

.piscinaslp-desc {
    text-align: center;
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2.5rem;
}

.piscinaslp-gallery {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
}

.piscinaslp-gallery-row {
    display: flex;
    flex-direction: row;
    gap: 28px;
    width: 100%;
}

.piscinaslp-gallery-item {
    background: #f7f7f7;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(70, 70, 70, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
}

.piscinaslp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.piscinaslp-gallery-item--large {
    flex: 2;
    min-height: 350px;
    max-height: 420px;
}

.piscinaslp-gallery-item--medium {
    flex: 1;
    min-height: 350px;
    max-height: 420px;
}

.piscinaslp-gallery-item:hover {
    box-shadow: 0 8px 28px 0 rgba(44, 114, 210, 0.16);
    transform: translateY(-6px) scale(1.025);
}
/* ... tu CSS existente ... */

/* Botón "Ver más" para la sección Piscinas LP */
.piscinaslp-vermas-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.piscinaslp-vermas-btn {
    background:   #154c79; /* mismo color que el botón de WhatsApp para coherencia */
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 15px 44px;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(43, 182, 115, 0.11);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    letter-spacing: 0.02em;
    text-align: center;
    display: inline-block;
}

.piscinaslp-vermas-btn:hover,
.piscinaslp-vermas-btn:focus {
    background: #264c84;
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 22px rgba(43, 182, 115, 0.17);
}
.piscinaslp-vermas-btn {
    /* ...tus estilos previos... */
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.piscinaslp-vermas-arrow svg {
    transition: transform 0.2s;
	position: relative;
    top: -1px;
}

.piscinaslp-vermas-btn:hover .piscinaslp-vermas-arrow svg {
    transform: translateX(4px);
}

/* === FOOTER PROFESIONAL Y ELEGANTE === */
.main-footer {
  background: #154c79;
  color: #154c79;
  padding: 60px 0 0 0;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 -4px 20px rgba(20,40,70,0.09);
  position: relative;
  margin-top: 70px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 32px 16px 32px;
  gap: 32px;
}

.footer-logo-col {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 200px;
  margin-bottom: 28px;
}

.footer-logo {
  width: 110px;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.footer-slogan {
  color: #eaf6fb;
  font-size: 1.1rem;
  margin-top: 4px;
  font-weight: 500;
}

.footer-links-col,
.footer-contact-col,
.footer-legal-col {
  flex: 1 1 180px;
  min-width: 170px;
  margin-bottom: 28px;
}

.footer-links-col h4,
.footer-contact-col h4,
.footer-legal-col h4 {
  color: #7ad1dd;
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-links-col ul,
.footer-contact-col ul,
.footer-legal-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-col li,
.footer-legal-col li,
.footer-contact-col li {
  margin-bottom: 9px;
  font-size: 1rem;
}

.footer-links-col a,
.footer-legal-col a {
  color: #f1f7fa;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1rem;
}

.footer-links-col a:hover,
.footer-legal-col a:hover {
  color: #7ad1dd;
  text-decoration: underline;
}

.footer-contact-icon {
  color: #7ad1dd;
  margin-right: 7px;
  font-size: 1.1rem;
  vertical-align: middle;
}

.footer-contact-col ul li {
  color: #f1f7fa;
  font-size: 1rem;
}

.footer-social {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.footer-social-icon img {
  background: #fff;
  border-radius: 50%;
  padding: 7px;
  width: 36px;
  height: 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.2s, transform 0.2s;
}

.footer-social-icon img:hover {
  background: #2bb673;
  transform: scale(1.09);
}

.footer-bottom {
  background: #3872a1;
  padding: 18px 0;
  text-align: center;
  font-size: 1rem;
  color: #eaf6fb;
  margin-top: 0;
  border-top: 1px solid #2bb67333;
  letter-spacing: 0.01em;
}

/* Responsive Footer */
@media (max-width: 600px) {
  .main-footer {
    padding-top: 35px;
  }
  .footer-container {
    padding: 0 2vw 8px 2vw;
  }
  .footer-logo {
    width: 75px;
  }
  .footer-bottom {
    font-size: 0.93rem;
  }
  
}

.footer-social {
  margin-top: 14px;
  display: flex;
  gap: 18px;
}

.footer-social-icon svg {
  background: #fff;
  border-radius: 50%;
  padding: 7px;
  width: 36px;
  height: 36px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.2s, transform 0.2s;
}

.footer-social-icon:hover svg {
  background: #2bb673;
  transform: scale(1.09);
}








@media screen and (max-width:500px) 
{
  /* ==================== TUS ESTILOS ORIGINALES RESPONSIVE ==================== */
  body {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    overflow-x: hidden;
  }
  .piscinaslp-container {
        padding: 0 2vw;
		    max-width: 500px;
    }
	.hormigon-section {
  margin:0;
  }
    .piscinaslp-title {
        font-size: 2.1rem;
    }
    .piscinaslp-desc {
        font-size: 1rem;
    }
    .piscinaslp-gallery-row {
        flex-direction: column;
        gap: 18px;
    }
    .piscinaslp-gallery-item--large,
    .piscinaslp-gallery-item--medium {
        min-height: 220px;
        max-height: 100%;
    }
	.footer-container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding: 0 7vw 8px 7vw;
  }
  .footer-logo-col,
  .footer-links-col,
  .footer-contact-col,
  .footer-legal-col {
    align-items: flex-start;
    min-width: 0;
    width: 100%;
  }

  .nosotros-main {
    padding: 18px 5vw 30px 5vw;
    background: #eaf6fb;
    color: #333;
    border-radius: 12px;
    box-shadow: 0 3px 16px #0002;
    margin: 20px 0 0 0;
  }

.historia {
    flex-direction: column;
    min-height: unset;
    border-radius: 16px;
    padding: 0;
    margin: 30px 0 38px 0;
    width: 99vw;
    max-width: 99vw;
  }
  .historia-contenido {
    padding: 36px 6vw 22px 6vw;
	    flex: 2 1 65px;

  
  }
  .historia-contenido h2 {
    font-size: 2.2rem;
    margin-top: 4px;
    margin-bottom: 13px;
  }
  .historia-label {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  .historia-contenido ul {
    font-size: 0.8rem;
    padding-left: 12px;
    text-align: left;
    margin-left: 4vw;
  }
  .historia-final, .historia-resumen {
    font-size: 1rem;
	  margin-left:0;
	   text-shadow:1px 0px 1px black;
  }
  .historia-img {
    min-width: 100vw;
    max-width: 100vw;
    border-left: none;
    border-top: 1.5px solid #e5eefa;
    margin: 0;
    padding: 0;
    justify-content: center;
  }
  .historia-img img {
    width: 95vw;
    margin: 18px auto 12px auto;
    max-height: 220px;
    min-height: 120px;
    border-radius: 12px;
  }

  .titulo-proyectos h2 {
    font-size: 2rem;
   
    margin-bottom: 7px;
  
  }

.productos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 10px;
    justify-items: center;
    margin-top: 10px;
  }
  .producto-item {
    max-width: 94vw;
    min-width: 120px;
    width: 98%;
    padding: 16px 3px 14px 3px;
    box-sizing: border-box;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .producto-item img {
    width: 100%;
    height: 100%;
   
    margin-bottom: 12px;
    object-fit: contain;
    display: block;
  }
  .producto-item h3 {
    font-size: 1.01rem;
    text-align: center;
    margin: 0;
  }
  .producto-item h3 {
    font-size: 1rem;
    color: #007acc;
    margin: 0;
  }


 
   .servicio-tarjeta.slider-visible {
    display: flex;
    position: relative;
    z-index: 2;
  }

  .servicio-tarjeta h2 {
    
    background: #526078;
    color: #fff;
    margin: 0;
    font-size: 1.7rem;
    font-weight: bold;
    border-radius: 0 0 10px 10px;
    padding: 22px 0 18px;
    width: 100%;
    text-align: center;
    text-shadow: none;
  }
  .servicios-rediseño {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 36px 7px 22px 7px;
  }
  .servicios-rediseño-info {
    max-width: 99vw;
    min-width: 100px;
    align-items: center;
    padding: 0 0 10px 0;
    text-align: center;
  }
  .servicios-slider {
    max-width: 99vw;
    min-width: 140px;
	margin-right:0;
  }
  .servicio-tarjeta {
    height: 260px;
  }
  .slider-arrow {
       display: block !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    padding: 0 12px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
  }
  .slider-arrow.left { left: 2px; }
  .slider-arrow.right { right: 2px; }



  header.video-header {
    height: auto;
    min-height: 100vh;
    padding: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  header.video-header .top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    width: 100%;
    background: transparent;
    z-index: 10;
  }
  .logo img {
    max-width: 110px;
    height: auto;
    margin-left: 10px;
  }

  /* Contenido central del header */
  header.video-header .contenido-header {
    margin-top: 0;
    padding: 32px 6vw 16px 6vw;
    text-align: left;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  header.video-header h1 {
    font-size: 8vw;
    margin-top: 24vw;
    margin-bottom: 30px;
    text-align: left;
    width: 100%;
    line-height: 1.1;
  }
  header.video-header p {
    font-size: 4vw;
    max-width: 100%;
    margin: 0;
    text-align: left;
  }


  .proyecto {
    flex-direction: column;
    gap: 18px;
    padding: 22px 0 6px 0;
    box-sizing: border-box;
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    left: 0;
    right: 0;
  }
  .proyecto-texto {
   
    align-items: center;
    padding: 0 4vw;
    max-width: 99vw;
	margin-top:6%;
  }
  .proyecto-imagen-boton {
    order: 2;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 0;
    align-items: center;
  }
  .proyecto-imagen-boton img {
    width: 99vw;
    max-width: 90vw;
   height:80vw;
    border-radius: 9px;
  }
  .proyecto-boton {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
  }
  .boton-verde {
    width: auto;
    font-size: .97rem;
    padding: 12px;
    max-width: 340px;
	margin-bottom:10%;
	margin-top:5%;
  }
  .proyecto-texto h3 {
 font-size: 2.5rem;
    margin-bottom: 6px;
	
	
  }
  .proyecto-texto h4 {
    font-size: 1rem;
    margin-bottom: 8px;
	margin-top: 6px;
	color:#8b8b8b;
  }
  .proyecto-texto p {
    font-size: 1.2rem;
margin-left:0%;
    margin-bottom: 10px;
	
color:#8b8b8b;

  }
  .servicios {
    flex-direction: column;
    gap: 18px;
    padding: 30px 6vw;
    align-items: center;
  }
  .servicio-card {
    width: 100% !important;
    min-width: unset !important;
    max-width: 95vw;
    margin: 0 auto;
    font-size: 18px;
    padding: 22px 0;
    border-radius: 18px;
  }
  .servicio-card h2 {
    font-size: 6vw !important;
    margin: 0;
  }

  .whatsapp-button {
    position: fixed !important;
    bottom: 24px !important;
    right: 18px !important;
    z-index: 1001;
    width: 56px !important;
    height: 56px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  }
  .whatsapp-button img {
    width: 100% !important;
    height: auto !important;
    border-radius: 50%;
  }

  footer {
    flex-direction: column;
    align-items: center;
    padding: 24px 0 8px 0;
    text-align: center;
  }
  .logo2 img {
    max-width: 100px !important;
    margin: 0 auto 10px auto;
  }
  .contacto {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .tex {
    margin: 0 auto;
    padding: 0;
  }

  /* ==================== MENÚ HAMBURGUESA Y MENÚ MOBILE ==================== */
  /* Sólo aparece en mobile, NO afecta escritorio */

  /* Oculta el nav original de la top en mobile */
   .top {
  position: relative;
  background: rgba(40, 40, 40, 0.13); /* fondo apenas gris, muy sutil */
  backdrop-filter: blur(8px) brightness(1.06); /* blur/desenfoque y leve brillo */
  -webkit-backdrop-filter: blur(8px) brightness(1.06);
  height: 55px;
  align-items: center;
  display: flex;
  justify-content: space-between;
  z-index: 100;
}
  .top nav {
    display: none !important;
  }

  /* Botón hamburguesa sobre fondo blur/transparente, pequeño y arriba a la derecha */
  .menu-toggle-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: none;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    z-index: 102;
    border-radius: 50%;
    backdrop-filter: blur(2.5px);
    -webkit-backdrop-filter: blur(2.5px);
    box-shadow: 0 1px 6px rgba(0,0,0,0.10);
    cursor: pointer;
  }
  .menu-toggle-mobile span {
    display: block;
    width: 22px;
    height: 3px;
    margin: 3px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
  }

  /* Menú mobile desplegable con fondo blur/distorsionado */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(40, 40, 40, 0.30);
    backdrop-filter: blur(12px) brightness(1.06);
    -webkit-backdrop-filter: blur(12px) brightness(1.06);
    z-index: 101;
    padding-top: 100px;
    gap: 40px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.32s cubic-bezier(.76,0,.24,1);
  }
  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu a {
    color: #222;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    background: rgba(255,255,255,0.25);
    border-radius: 9px;
    padding: 13px 38px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: background 0.2s, color 0.2s;
  }
  .mobile-menu a:hover {
    background: rgba(255,255,255,0.40);
    color: #03aed2;
  }
  .servicio-item {
	  height:auto;
  }
  .servicio-item p {
	  height:auto;
	  margin-left:0;
	   text-shadow:0px 0px 1px black;
	   line-height: 1.6;
  }
 
}


/* Oculta menú mobile en desktop */
@media screen and (min-width:901px) {
    .menu-toggle-mobile, .mobile-menu {
    display: none !important;
  }
  .top nav {
    display: flex !important;
  }
 
  /* NO toques .servicio-tarjeta acá */;
  
}
@media (min-width: 500px) and (max-width: 900px) {
	 /* HEADER: igual a mobile */

   .piscinaslp-gallery-item {
    background: #fafdff;
    border-radius: 22px;
    box-shadow: 0 2px 10px 0 rgba(70,70,70,0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
    min-height: 220px;
    
    border: 1px solid #e3eef6;
  }

  .piscinaslp-gallery-item img {
    max-width: 100%;
    max-height: 100%;
   
    display: block;
    margin: 0;
    background: none;
    border-radius: 12px;
    box-shadow: none;
    padding: 0;
  }
 

  header.video-header {
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0;
  }
  /* Oculta el nav de escritorio */
  .top nav {
    display: none !important;
  }

  /* Muestra el botón hamburguesa */
  .menu-toggle-mobile {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: none;
    position: absolute;
    top: 12px;
    right: 18px;
    width: 38px;
    height: 38px;
    z-index: 102;
    border-radius: 50%;
    backdrop-filter: blur(2.5px);
    box-shadow: 0 1px 6px rgba(0,0,0,0.10);
    cursor: pointer;
    padding: 0;
  }
  .menu-toggle-mobile span {
    display: block;
    width: 22px;
    height: 3px;
    margin: 3px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
  }

  /* El menú mobile desplegable debe estar disponible */
  .mobile-menu {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(40, 40, 40, 0.30);
    backdrop-filter: blur(12px) brightness(1.06);
    z-index: 101;
    padding-top: 90px;
    gap: 36px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.32s cubic-bezier(.76,0,.24,1);
  }
  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-menu a {
    color: #222;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    background: rgba(255,255,255,0.25);
    border-radius: 9px;
    padding: 13px 38px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: background 0.2s, color 0.2s;
  }
  /* Oculta menú de escritorio */
  .top nav {
    display: none !important;
  }

  /* Muestra menú hamburguesa */
  .menu-toggle-mobile {
    display: flex !important;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 110;
  }
  .mobile-menu {
    display: flex !important;
  }

  /* Ajusta logo */
  .logo img {
    max-width: 90px;
    height: auto;
    margin-left: 10px;
  }

  /* Ajusta .top para mobile */
  .top {
    height: 60px;
    min-height: 60px;
    align-items: center;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    background: rgba(21,76,121,0.65);
    padding: 0 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: relative;
  }

   header.video-header .contenido-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    padding: 38px 5vw 38px 5vw;
    background: rgba(20,40,70,0.27); /* Sutil fondo para resaltar */
    border-radius: 24px;
    box-shadow: 0 8px 32px #154C7920;
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    max-width: 92vw;
    margin-left: auto;
    margin-right: auto;
  }
  header.video-header .contenido-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 5px 32px #154c7988, 0 2px 6px #1b4260a0;
    margin-bottom: 18px;
    margin-top: 0;
    line-height: 1.13;
  }
  header.video-header .contenido-header p {
    font-size: 1.15rem;
    color: #eaf6fb;
    margin-bottom: 0;
    margin-top: 0;
    text-shadow: 0 2px 8px #154c7940;
    font-weight: 400;
    line-height: 1.5;
    max-width: 540px;
  }

  /* Ajuste para que nada se sobreponga */
  header.video-header .top,
  .menu-toggle-mobile,
  .mobile-menu {
    z-index: 110 !important;
  }
  /* === PROYECTO === */
  .proyecto {
    flex-direction: column;
    gap: 16px;
    padding: 22px 0 10px 0;
    align-items: center;
  }
  .proyecto-imagen-boton {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .proyecto-imagen-boton img {
    width: 85vw;
    max-width: 480px;
    height: 50vw !important;
    aspect-ratio: 16/7 !important;
    object-fit: cover;
    border-radius: 14px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(40,80,160,0.09);
  }

  /* === HISTORIA === */
   .historia {
    
    margin: 32px auto;
    border-radius: 18px;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }
  .historia-contenido {
    text-align: left;
    align-items: flex-start;
    padding: 52px 58px 1% 5vw; /* Igual que desktop en tu CSS original */
    gap: 0;
  }
  .historia-contenido ul,
  .historia-final,
  .historia-resumen {
    text-align: left;
    width: 100%;
    margin-left: 0;
  }
  .historia-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 18px;
  }
  .historia-img img {
    width: 95vw;
    max-width: 450px;
    height: auto;
 
    object-fit: cover;
   
    margin: 0;
    display: block;
  }

  /* === PRODUCTOS (LO QUE OFRECEMOS) === */
 .nosotros-main {
    background: #eaf6fb;
    padding: 38px 0 48px 0;
    border-radius: 20px;
    margin-top: 20px;
    box-shadow: 0 6px 28px #b6d8ef22;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
 .productos-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px 40px;
    justify-items: center;
    margin-top: 12px;
    width: 95vw;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }
  .producto-item {
    width: 93%;
    max-width: 220px;
    min-width: 150px;
	max-height: 250px;
    min-height: 210px;
    padding: 28px 6px 20px 6px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(120deg, #fff 85%, #eaf6fb 100%);
    box-shadow: 0 8px 32px rgba(21,76,121,0.13), 0 2px 10px #b6d8ef22;
  }
  .producto-item img {
    width: 100%;

    height: auto;
 
    margin-bottom: 15px;
    object-fit: contain;
    display: block;
  }
  .producto-item h3 {
    font-size: 1.13rem;
    text-align: center;
    margin: 0;
    line-height: 1.12;
  }
  .producto-item:hover {
    box-shadow: 0 16px 44px rgba(21,76,121,0.17), 0 3px 16px #7ad1dd55;
    transform: translateY(-7px) scale(1.045);
    z-index: 2;
  }
  
  .producto-item:hover img {
    filter: drop-shadow(0 7px 28px #7ad1dd99);
  }


  /* === SERVICIOS REDISEÑO (SLIDER DE MODELOS) === */
  .servicios-rediseño {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 7px 18px 7px;
    border-radius: 16px;
    min-height: unset;
  }
   .servicios-slider {
    display: flex;
    align-items: center;    /* Centra flechas y track verticalmente */
    justify-content: center;
    gap: 0;
	margin-right:0;
    width: 100%;
    min-height: 280px;      /* Asegura que el contenido quede centrado en el bloque */
    margin: 0 auto;
    position: relative;
  }
  .servicios-slider-track {
    display: flex;
    align-items: center;    /* Centra verticalmente las tarjetas respecto a las flechas */
    justify-content: center;
    gap: 16px;
    width: auto;
    min-width: 220px;
    min-height: 220px;
  }
  .servicio-tarjeta {
    position: relative;
    width: 100%;
    max-width: 370px;
    height: 340px; /* o el alto que prefieras */
    background: #fafdff;
    border-radius: 22px;
    overflow: hidden;
    margin: 0 auto;
    display: none;
    box-shadow: 0 4px 24px 0 rgba(70,70,70,0.07);
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }

  .servicio-tarjeta.slider-visible {
    display: flex;
  }

  .servicio-tarjeta img {
    width: 100%;
    height: 100%;
    
    border-radius: 22px;
    background: #eaf6fb;
    display: block;
  }

  .servicio-tarjeta-title {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    background: rgba(21,76,121,0.20);
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    padding: 16px 0 12px 0;
    text-align: center;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    margin-bottom: 0;
  }
  .slider-arrow {
    align-self: center !important; /* Centra las flechas respecto al track */
    margin: 0 10px !important;
    position: static !important;
  }
/* Mejora la presentación del texto en el bloque de modelos */
.servicios-rediseño-info {
  text-align: left;
  max-width: 700px;
  margin-left: 32px;
  padding: 0 22px 18px 0;
}
.servicios-rediseño-info h2 {
  text-align: left;
  margin-bottom: 18px;
}
.servicios-rediseño-info p {
  text-align: left;
  margin-bottom: 18px;
}
.servicios-rediseño-info b,
.servicios-rediseño-info a {
  text-align: left;
  display: inline;
}
.servicios-rediseño-info .cta-modelos {
  display: block;
  margin: 24px 0 0 0;
  text-align: left;
}
  .servicio-tarjeta-title {
    padding: 10px 0 10px 0;
    font-size: 1.08rem !important;
  }

  /* === GENERAL: EVITA SCROLL HORIZONTAL === */
  body {
    overflow-x: hidden;
  }
  
}

@media screen and (max-width: 330px) {
    .historia-contenido h2 {
        font-size: 2.0rem;
		}
		    .historia-final, .historia-resumen {
        font-size: 0.7rem; text-shadow: 0px 0px 1px black;
		}
		    .historia-contenido ul {
        font-size: 0.65rem;
		margin-left:0;
		}
}