:root{
  /* Paleta inspirada en sitios del rubro */
  --pzm-dark:#0f172a;        /* azul pizarra profundo */
  --pzm-primary:#1f3a5f;     /* azul acero */
  --pzm-accent:#f8b400;      /* ámbar construcción */
  --pzm-light:#f5f7fb;       /* gris muy claro */
  --pzm-muted:#6b7280;       /* gris texto secundario */
  --radius:1.25rem;          /* 20px aprox */
  --shadow:0 10px 30px rgba(15,23,42,.12);
}

html{scroll-behavior:smooth}
body{font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji"; color:#0b1220}

/* ==================
   NUEVO: Estilo Botón "Subir" (Rojo)
   ================== */

/* Esto sobreescribe el color ámbar de 'btn-accent' 
  solo para este botón específico.
*/
#btn-back-to-top {
  background-color: var(--pzm-primary) !important; /* Tono rojo de Urconsa */
  color: #fff !important;
  border-radius: 0 !important; /* Lo hacemos cuadrado */
  width: 50px;
  height: 50px;
  opacity: 0.8;
}


/* ==================
   ACTUALIZADO: Tipografía del Hero (Abel / Montserrat)
   ================== */

/* 1. Fuente base del sitio (Alternativa a Gotham Book) */
body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400; /* Peso normal para el cuerpo */
}

/* 2. Título del Hero (Abel, 60px) */
.hero-caption h1 {
  font-family: 'Abel', sans-serif;
  font-size: 60px; /* Tamaño solicitado */
  font-weight: 400; /* Abel solo tiene este peso */
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

/* 3. Texto/Lead del Hero (Reemplazo de Gotham Book, 26px) */
.hero-caption .lead {
  font-family: 'Montserrat', sans-serif; /* Usamos Montserrat como alternativa a Gotham */
  font-weight: 300; /* 'Book' es similar a un 'Light' 300 */
  font-size: 26px; /* Tamaño solicitado */
  opacity: 0.9;
}

/* 4. Estilo de Botón (Se queda igual, con el estilo Ámbar) */
.hero-caption .btn-accent {
  background-color: var(--pzm-accent) !important;
  color: var(--pzm-dark) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 0.9rem 2rem !important;
  border-radius: 999px !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.hero-caption .btn-accent:hover {
  background-color: #fff !important;
  color: var(--pzm-dark) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

/* ==================
   ALTERNATIVA: Estilo de Botón Azul (Rectangular)
   ================== */
.hero-caption .btn-accent {
  background-color: rgba(31, 58, 95, 0.8) !important; /* Azul semi-transparente */
  color: #fff !important; /* Texto blanco */
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 0.9rem 2rem !important;
  border-radius: 0 !important; /* Esquinas cuadradas */
  border: 1px solid rgba(255,255,255, 0.5) !important; /* Borde sutil */
  transition: all 0.3s ease !important;
}

.hero-caption .btn-accent:hover {
  background-color: var(--pzm-accent) !important;
  color: var(--pzm-dark) !important;
  border-color: var(--pzm-accent) !important;
}

/* ==================
   NUEVO: Animación de Texto del Hero (Staggered)
   ================== */

/* 1. Oculta los elementos por defecto */
.hero-caption h1,
.hero-caption .lead,
.hero-caption .btn-accent {
  opacity: 0;
  transform: translateY(20px);
  /* Velocidad de la animación */
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 2. Muestra los elementos SÓLO en el slide activo */
.swiper-slide-active .hero-caption h1,
.swiper-slide-active .hero-caption .lead,
.swiper-slide-active .hero-caption .btn-accent {
  opacity: 1;
  transform: translateY(0);
}

/* 3. ¡La Magia! (El retraso escalonado) */
/* El slide tarda un poco en cambiar, así que empezamos después */

.swiper-slide-active .hero-caption h1 {
  transition-delay: 0.3s; /* 1ro: El Título */
}
.swiper-slide-active .hero-caption .lead {
  transition-delay: 0.5s; /* 2do: El Párrafo */
}
.swiper-slide-active .hero-caption .btn-accent a {
  transition-delay: 0.7s; /* 3ro: El Botón */
}

/* ... (Mantén el código de h1, .lead y body de la opción anterior) ... */

/* ==================
   Navbar
   ================== */
.navbar{
  /* MODIFICADO: Transparente por defecto con transición */
   background-color: transparent;
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  padding-top: 1rem;
  padding-bottom: 1rem;
} 
/* NUEVO: Clase 'scrolled' que se añade con JS */
.navbar.scrolled {
  background:linear-gradient(180deg, rgba(15,23,42,.98) 0%, rgba(15,23,42,.85) 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.navbar .nav-link{color:#e5e7eb; opacity:.9}
.navbar .nav-link:hover,.navbar .nav-link.active{color:var(--pzm-accent)}
.navbar-brand{font-weight:800; letter-spacing:.3px}
.brand-mark{width:90px; height:65px; object-fit:fill;}

/* ==================
   NUEVO: Hero Slider (Estilo Solmex)
   ================== */
.hero-slider-container {
  /* Ocupa casi toda la pantalla, restando el topbar y navbar */
  height: 90vh; 
  min-height: 600px;
  position: relative;
  background: #000; /* Fondo de carga */
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.hero-slide {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  position: relative;
  color: #fff;
}

/* Capa oscura para legibilidad (como Solmex) */
.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(15,23,42,.7), rgba(15,23,42,.5));
  z-index: 1;
}

.hero-caption-container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center; /* Centra el texto verticalmente */
}

.hero-caption {
  max-width: 650px; /* Ancho del texto */
}

.hero-caption h1 {
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -1px;
}

.hero-caption .lead {
  font-size: 1.25rem;
  opacity: 0.9;
}

/* Estilo de los puntos de paginación */
.hero-slider .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  width: 10px;
  height: 10px;
  opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
  background: var(--pzm-accent); /* Color de acento */
}

/* ==================
   NUEVO: Animación de texto en Hero
   ================== */

/* 1. Oculta el H1, P y Botón por defecto */
.hero-caption > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 2. Muestra los elementos SÓLO en el slide activo */
.swiper-slide-active .hero-caption > * {
  opacity: 1;
  transform: translateY(0);
}

/* 3. ¡El retraso profesional! (El slide tarda ~0.3s en cambiar) */
.swiper-slide-active .hero-caption h1 {
  transition-delay: 0.4s; /* Aparece 0.4s después */
}
.swiper-slide-active .hero-caption p {
  transition-delay: 0.6s; /* Aparece 0.2s después del H1 */
}
.swiper-slide-active .hero-caption .btn {
  transition-delay: 0.8s; /* Aparece 0.2s después del párrafo */
}


/* ==================
   NUEVO: Sección "Quiénes Somos" 
   ================== */

.section-about-solmex {
  padding: 80px 0;
  /* Usamos tu color --pzm-primary para el fondo oscuro */
  background-color: var(--pzm-primary); 
  color: #fff;
}

.section-about-solmex .section-title {
  color: #fff;
  font-family: 'Abel', sans-serif; /* Fuente de títulos que ya usamos */
  font-size: 2.8rem; /* Tamaño grande */
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.section-about-solmex .about-icon {
  color: var(--pzm-accent); /* Color ámbar para el ícono */
  font-size: 3rem; /* Tamaño del ícono */
}

.section-about-solmex .about-text {
  color: rgba(255, 255, 255, 0.85); /* Texto un poco más suave */
  font-family: 'Montserrat', sans-serif; /* Fuente de texto que ya usamos */
  font-weight: 300; /* Estilo "Light/Book" */
  font-size: 1.15rem; /* Ligeramente más pequeño que el del hero */
  line-height: 1.7;
}



/* ==================
   Secciones y Servicios
   ================== */
section.section{padding:80px 0}
.section-title{font-weight:800; letter-spacing:.3px; color: var(--pzm-dark);}
.section-sub{color:var(--pzm-muted)}

/* Tarjetas de servicio
.service-card{
  background:#fff; border:0; border-radius:var(--radius); box-shadow:var(--shadow); height:100%;
  transition:transform .25s ease, box-shadow .25s ease;
}
.service-card:hover{transform:translateY(-6px); box-shadow:0 18px 42px rgba(15,23,42,.18)}
.service-icon{width:56px; height:56px; border-radius:16px; display:grid; place-items:center; background:rgba(248,180,0,.15); color:var(--pzm-accent); font-size: 1.75rem;}  */

/* ==================
   Grid de proyectos (Ahora Swiper)
   ================== */
.project-card{border:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); height: 100%;}
.project-card img{aspect-ratio:16/10; object-fit:cover}
.badge-pill{border-radius:999px; background:rgba(31,58,95,.08); color:var(--pzm-primary); font-weight: 500;}

/* NUEVO: Estilos para Swiper */
.project-slider {
  overflow: hidden; /* Necesario para Swiper */
  padding-bottom: 40px; /* Espacio para la paginación */
}
.project-nav .btn {
  border-radius: 50%;
  width: 44px;
  height: 44px;
}
.swiper-pagination-bullet {
  background: var(--pzm-muted);
}
.swiper-pagination-bullet-active {
  background: var(--pzm-accent);
}





/* ==================
   NUEVO: Sección Métricas
   ================== */

.section-metrics-solmex {
  /* Fondo oscuro Prizma */
  background-color: var(--pzm-primary); 
  color: #fff;
  
  /* Padding ajustado para dar espacio al corte */
  padding-top: 60px;
  /* El padding de abajo debe ser MAYOR que la altura del triángulo (50px) */
  padding-bottom: 100px; 
  
  /* ¡CAMBIO CLAVE! Esta es la forma "hacia afuera" */
  clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 50px), 50% 100%, 0% calc(100% - 50px));
  
  margin-bottom: -1px; 
}

/* Estilos para el texto parafraseado */
.metrics-text-block {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
}
.metrics-text-block p {
  margin-bottom: 1.5rem;
}
.metrics-text-block strong {
  color: #fff;
  font-weight: 700;
}

/* Estilos para los números del contador */
.metric-number {
  font-family: 'Abel', sans-serif;
  font-weight: 400;
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 0;
}
.metric-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* ==================
   REEMPLAZAR: Estilos Proyectos (Filtros y Efecto Hover)
   ================== */

/* 1. Título y Filtros (Igual que antes) */
.section-title-urconsa {
  position: relative;
  padding-bottom: 10px;
}
.section-title-urconsa::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--pzm-primary); 
}
/* ==================
   MODIFICADO: Estilos de Filtros (para TABS)
   ================== */

/* Estilos para los links de los filtros */
.project-filters.nav {
  /* Quita el estilo de "tab" de Bootstrap */
  border-bottom: none; 
}
.project-filters .nav-item {
  margin-left: 20px;
}
.project-filters .nav-link {
  text-decoration: none;
  color: var(--pzm-muted);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0; /* Ajusta el padding */
  border: none; /* Quita el borde de Bootstrap */
}
.project-filters .nav-link:hover {
  color: var(--pzm-primary);
  border: none;
}
.project-filters .nav-link.active {
  color: var(--pzm-primary);
  font-weight: 700;
  background: none; /* Sin fondo */
  border: none; /* Sin borde */
  border-bottom: 2px solid var(--pzm-primary); /* Subrayado activo */
}

/* El resto de tus estilos .project-item:hover, etc. funcionan perfecto */

/* 2. El item de proyecto (Slide) */
.project-item {
  position: relative;
  display: block;
  overflow: hidden;
  height: 450px;
  text-decoration: none;
  /* YA NO HAY opacidad ni scale por defecto */
}

/* 3. La imagen de fondo */
.project-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}

/* 4. El overlay azul */
.project-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: var(--pzm-primary);
  opacity: 0; /* Oculto por defecto */
  transition: opacity 0.4s ease-out;
  z-index: 1;
}

/* 5. El texto */
.project-caption {
  position: absolute;
  bottom: 30px; left: 30px;
  z-index: 2;
  opacity: 0; /* Oculto por defecto */
  transform: translateY(20px);
  transition: all 0.4s ease-out;
}
.project-caption h3 {
  font-family: 'Abel', sans-serif;
  font-size: 2rem;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
}

/* 6. ¡LA MAGIA! (Efecto :hover) */
.project-item:hover .project-overlay {
  opacity: 0.85; /* Muestra el overlay azul */
}
.project-item:hover .project-caption {
  opacity: 1; /* Muestra el texto */
  transform: translateY(0);
}
.project-item:hover .project-image {
  transform: scale(1.1); /* Zoom sutil a la imagen */
}

/* 7. Posición de las flechas (Igual) */
.project-nav-arrows-urconsa {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
}
.project-nav-arrows-urconsa .btn {
  background: rgba(0,0,0,0.3);
  color: #fff;
  border-radius: 0;
  margin-left: 5px;
}
.project-nav-arrows-urconsa .btn:hover {
  background: var(--pzm-primary);
  color: #ffffff;
}

/* ==================
   NUEVO: Forzar visibilidad de flechas del carrusel
   ================== */
.project-nav-arrows-urconsa .btn.swiper-button-disabled {
  /* Swiper añade 'swiper-button-disabled' cuando cree que no hay más slides */
  /* Nosotros lo forzamos a ser visible y clickeable */
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}


/* ==================
   Cinta y Contacto
   ================== */
.strip{
  background:linear-gradient(90deg, rgba(31,58,95,1) 0%, rgba(31,58,95,.9) 100%);
  color:#fff;
}
.strip h3 { font-weight: 700; }

.contact-card{background:#fff; border:0; border-radius:var(--radius); box-shadow:var(--shadow)}
.form-control, .form-select{border-radius:.9rem; background: var(--pzm-light); border-color: transparent;}
.form-control:focus {
  background: #fff;
  border-color: var(--pzm-accent);
  box-shadow: 0 0 0 3px rgba(248,180,0,.25);
}
.btn-accent{background:var(--pzm-accent); border:0; color:#111; font-weight:700; padding: .75rem 1.5rem; border-radius: 999px;}
.btn-accent:hover{filter:brightness(.95); transform: translateY(-2px);}

/* ==================
   NUEVO: Footer Corporativo
   ================== */
footer{background:#0f172a; color:#c7cbd4; padding-top: 5rem; padding-bottom: 4rem;}
.footer-title {
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.footer-links {
  padding-left: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a,
.footer-links li {
  color:#c7cbd4;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color .2s ease;
}
.footer-links a:hover {
  color: var(--pzm-accent);
}

/* Utilidades (Sin cambios) */
.text-gradient{
  background:linear-gradient(90deg, #fff 0%, #ffe7b0 30%, #ffd36b 60%, #fff 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ==================
   NUEVO: Topbar (Estilo Solmex)
   ================== */
#topbar {
  background: var(--pzm-primary);
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.85rem;
}
#topbar a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}
#topbar a:hover {
  color: var(--pzm-accent);
}
.topbar-socials a {
  font-size: 1.1rem;
}

/* ==================
   Navbar (MODIFICADO)
   ================== */
/* Esto reemplaza tu .navbar original. Ahora es sólido por defecto. */
.navbar{
  background: #222e3eb3;
  
} 
/* ... (El resto de tus estilos .navbar .nav-link, etc. siguen igual) ... */

/* ==================
   NUEVO: Sección Testimonios de Clientes
   ================== */


.section-padding { padding: 72px 0; }

.testimonios {
  background: var(--pzm-light); /* Color Prizma */
  color: var(--pzm-dark); /* Color Prizma */
  padding-bottom: 100px; /* ¡CAMBIO: Añadido para más espacio! */
}

.testimonios .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.testimonios-header {
  text-align: center;
  margin-bottom: 28px;
}
.testimonios-header h2 {
  font-family: 'Abel', sans-serif; /* Fuente Prizma */
  font-size: 3.8rem;
  letter-spacing: .5px;
  margin: 0 0 8px;
  color: var(--pzm-primary); /* Color Prizma */
}
.testimonios-header p {
  font-family: 'Montserrat', sans-serif;
  color: var(--pzm-muted); /* Color Prizma */
  margin: 0 auto;
  max-width: 780px;
}

/* Carousel shell */
.t-carousel { position: relative; }
.t-viewport { overflow: hidden; }
.t-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 20px;
  transition: transform .5s ease;
  will-change: transform;
  padding: 12px 4px; /* Aumentado para la sombra */
  margin: 0;
  list-style: none;
}

/* Slides / Card */
.t-slide { display: flex; }
.t-card {
  background: #ffffff;
  border-radius: 0; /* Cuadrado */
  padding: 28px 26px;
  border-top: 6px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
  width: 100%;
}
.t-card:hover {
  border-top: 6px solid var(--pzm-primary); /* Borde azul Prizma */
  box-shadow: var(--shadow); /* Sombra Prizma */
  transform: translateY(-8px);
}
.t-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--pzm-dark);
}
.t-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: var(--pzm-muted);
  margin: 0;
}
.t-stars {
  letter-spacing: 2px;
  user-select: none;
  color: var(--pzm-accent); /* Acento ámbar Prizma */
  font-size: 1.1rem;
}

/* Arrows */
.t-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  background: #ffffff;
  color: var(--pzm-primary);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  z-index: 2;
}
.t-btn:hover { transform: translateY(-50%) scale(1.05); }
.t-prev { left: -6px; }
.t-next { right: -6px; }
.t-btn:disabled { opacity: .35; pointer-events: none; }

/* Dots */
.t-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.t-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #c7d1dc;
  transition: transform .15s ease, background .2s ease;
}
.t-dots button[aria-current="true"] {
  background: var(--pzm-primary);
  transform: scale(1.15);
}

/* Responsive columns */
@media (min-width: 768px) {
  .t-track { grid-auto-columns: 50%; }
}
@media (min-width: 992px) {
  .t-track { grid-auto-columns: 33.3333%; } /* ¡CAMBIO: Simplificado! */
}
@media (max-width: 420px) {
  .t-prev { left: -2px; }
  .t-next { right: -2px; }
}

/* ==================
   NUEVO: Estilos Contacto (Estilo Solmex)
   ================== */

.section-contact-solmex {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Efecto parallax */
  color: #fff;
}

/* Capa oscura (usando tu color primario) */
.section-contact-solmex::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Usamos tu azul pizarra con 85% de opacidad */
  background: rgba(15, 23, 42, 0.35); 
  z-index: 1;
}

/* Contenido (debe ir sobre la capa oscura) */
.section-contact-solmex .container {
  position: relative;
  z-index: 2;
}

/* Título y texto */
.section-contact-solmex .section-title {
  color: #fff;
  font-family: 'Abel', sans-serif; /* Usando la fuente del hero */
  font-size: 2.8rem;
}
.section-contact-solmex p.lead {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300; /* Estilo 'Book' */
}

/* Lista de info de contacto */
.contact-info-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 400;
}
.contact-info-list i {
  color: var(--pzm-accent); /* Tu color ámbar */
  font-size: 1.5rem;
  margin-right: 15px;
  width: 24px; /* Ancho fijo para alinear el texto */
  text-align: center;
}

/* ESTILO DEL FORMULARIO (La parte clave) */
.section-contact-solmex .form-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.9rem;
}

.section-contact-solmex .form-control {
  /* Campos blancos, sin borde, como Solmex */
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 0; /* Esquinas cuadradas */
  padding: 0.75rem 1rem;
  color: #000; /* Texto del input en negro */
}
.section-contact-solmex .form-control:focus {
  background-color: #fff;
  box-shadow: none;
}
.section-contact-solmex .form-control::placeholder {
  color: #6c757d;
}

.section-contact-solmex  button {
 background-color: rgba(31, 58, 95, 0.8) !important; /* Azul semi-transparente */
  color: #fff !important; /* Texto blanco */
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 0.9rem 2rem !important;
  border-radius: 0 !important; /* Esquinas cuadradas */
  border: 1px solid rgba(255,255,255, 0.5) !important; /* Borde sutil */
  transition: all 0.3s ease !important;
}


.section-contact-solmex  button:hover {
  background-color: var(--pzm-accent) !important;
  color: var(--pzm-dark) !important;
  border-color: var(--pzm-accent) !important;
}


/* Tu botón .btn-accent ya debería funcionar bien aquí */

/* ==================
   NUEVO: Footer (Estilo Urconsa)
   ================== */
.main-footer {
  background: var(--pzm-primary); /* Azul acero, como Urconsa */
  color: #e5e7eb;
}
.main-footer .navbar-brand {
  color: #fff;
}
.footer-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-text {
  font-size: 0.9rem;
  color: #adb5bd;
}
.footer-contact-info {
  font-size: 0.9rem;
}
.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-contact-info i {
  color: var(--pzm-accent);
  margin-top: 4px;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-links a:hover {
  color: var(--pzm-accent);
  padding-left: 4px;
}
.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.2s ease;
}
.social-icons a:hover {
  color: var(--pzm-accent);
}

/* Sub-Footer */
.sub-footer {
  background: var(--pzm-dark); /* Aún más oscuro */
  padding: 1.25rem 0;
}
.copyright {
  font-size: 0.85rem;
  color: #adb5bd;
  margin-bottom: 0;
}
.copyright a {
  color: #adb5bd;
  text-decoration: none;
}
.copyright a:hover {
  color: #fff;
}

/* ==================
   NUEVO: Back to Top Button
   ================== */
#btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 1000;
  opacity: 0; /* Oculto por defecto */
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
#btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* .btn-accent ya lo estiliza, así que no se necesita más */

/* --- Estilos para la Sección de Soluciones --- */

.soluciones-integrales {
  padding: 60px 0; /* Espacio arriba y abajo */
  background-color: #f8f9fa; /* Un fondo gris muy claro, o déjalo en #fff si prefieres */
}

/* Un contenedor para centrar el contenido */
.soluciones-integrales .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.soluciones-integrales h2 {
  font-family: 'Arial', sans-serif; /* Cambia a tu fuente */
  font-size: 2.8rem;
  font-weight: bold;
  color: #212529; /* Negro/Gris oscuro */
  margin-bottom: 15px;
}

.soluciones-integrales .subtitulo {
  font-family: 'Arial', sans-serif; /* Cambia a tu fuente */
  font-size: 1.1rem;
  color: #6c757d; /* Gris secundario */
  margin-bottom: 40px;
}

.cards-container {
  display: grid;
  /* Crea 3 columnas de tamaño igual */
  grid-template-columns: repeat(3, 1fr); 
  gap: 30px; /* Espacio entre las tarjetas */
}

.service-card {
  background-color: #ffffff;
  color: #ffffff;
  padding: 35px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8); /* Sombra suave inicial */
  width: 380px;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  
  /* ¡CLAVE! Sin "overflow: hidden;" para que se vea el scale */
  /* overflow: hidden; */ 
  
  /* ¡CLAVE! Asegúrate de tener solo UNA línea de 'transition' */
  transition: all 0.3s ease-out;
}

/* El efecto :hover con scale y sombra */
.service-card:hover {
  /* Hacemos la tarjeta un 5% más grande */
  transform: scale(1.05);
  
  /* Sombra más pronunciada para que "flote" */
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2); 
}


/* Capa oscura encima del fondo */
.service-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);   /* ajusta oscuridad aquí */
  z-index:1;
}

/* El contenido por encima de la capa */
.service-card > *{
  position: relative;
  z-index:2;

}




.card-icon img {
  width: 80px;
  height: 70px;
  border-radius: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  
  /* Estilo para los íconos (si usas Font Awesome) */
  font-size: 1.8rem; /* Tamaño del ícono */
  color: #F59E0B; /* Color del ícono (amarillo oscuro) */
  mix-blend-mode: multiply;
}

/* --- AÑADIR AL FINAL DEL CSS --- */
/* Aquí asignamos las imágenes de fondo */

#card-ingenieria {
  background-image: url('../assets/img/ingenieria/plano1.jpg');
  background-color: rgba(0, 0, 0, 0.8);
 z-index: 2;
}

#card-concretos {
  background-image: url('../assets/img/concretos/concreto2.jpg');
}

#card-construccion {
  background-image: url('../assets/img/agregados/agregados.png');
}

.service-card h3 {
  font-family: 'Arial', sans-serif; /* Cambia a tu fuente */
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.service-card p {
  font-family: 'Arial', sans-serif; /* Cambia a tu fuente */
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 20px;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.service-card li {
  font-family: 'Arial', sans-serif; /* Cambia a tu fuente */
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

/* Viñeta (bullet) personalizada como en la imagen */
.service-card li::before {
  content: '•';
  color: #F59E0B; /* Color de la viñeta (amarillo) */
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 10px;
  line-height: 0.9; /* Ajuste vertical */
  background-color: rgba(0, 0, 0, 0.45);
}


/* --- Media Query para hacerlo Responsivo --- */
@media (max-width: 992px) {
  /* En tablets, pasa a 2 columnas */
  .cards-container {
    grid-template-columns: 1fr 1fr;
  }
  .service-card{
    width: 200px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  /* En móviles, pasa a 1 columna */
  .cards-container {
    grid-template-columns: 1fr;
  }
  
  .soluciones-integrales h2 {
    font-size: 2.2rem;
  }
}

/* ==================
   REEMPLAZAR: Estilos para Dropdown (Blanco)
   ================== */

/* Fondo del menú (blanco por defecto de Bootstrap) */
.navbar-nav .dropdown-menu {
  background-color: #ffffff; /* Fondo blanco */
  border-radius: 0.25rem; /* Bordes suaves */
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

/* Links del menú */
.navbar-nav .dropdown-item {
  color: var(--pzm-dark); /* Texto oscuro */
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Hover (al pasar el mouse) */
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  color: #fff; /* Texto blanco en hover */
  background-color: var(--pzm-primary); /* Tu azul primario */
}

/* Activar Dropdown con Hover (esto ya lo tenías, asegúrate de que esté) */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; 
}

/* Estilos del botón flotante de WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 110px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}


