* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--graphite);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================
   ENCABEZADO PERSONALIZADO (HEADER)
   ========================================== */
.nav-bar-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 5%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-grupo-izq {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.logo-daka { height: 40px; width: auto; margin-right: 20px; }

.nav-titulo {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.nav-links-der {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-right: 20px;
}

.nav-links-der a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--graphite);
  transition: color 0.3s ease;
}

.nav-links-der a:hover {
  color: var(--orange);
}

.nav-grupo-der {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-actega { height: 26px; width: auto; }

.btn-regresar {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1.5px solid var(--steel);
  color: var(--ink);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-regresar:hover {
  background: var(--steel);
  color: var(--white);
}

/* ==========================================
   CENEFA ESFUMADA
   ========================================== */
.cenefa-soluciones-esfumada {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: var(--ink);
  border-bottom: 4px solid var(--orange);
  overflow: hidden;
}

.cenefa-bg-capa {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cenefa-bg-capa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.cenefa-degradado {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--ink) 0%, var(--ink) 35%, rgba(30,16,84,0.4) 60%, rgba(30,16,84,0) 100%);
}

.cenefa-soluciones-esfumada .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-start; 
}

.cenefa-texto-izq {
  width: 45%; 
  padding-left: 40px;
}

.cenefa-texto-izq h1 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.02;
  text-transform: uppercase;
}

.cenefa-texto-izq p {
  font-size: 17px;
  color: rgba(251,250,246,0.85);
  line-height: 1.6;
}

/* ==========================================
   BANNER FULL
   ========================================== */
.banner-full {
  width: 100%;
  display: block;
  line-height: 0; 
  background-color: #e5e7eb; 
  min-height: 300px;
  border-bottom: 4px solid var(--orange); 
}

.banner-full img {
  width: 100%;
  height: auto;
  min-height: 300px; 
  max-height: 700px; 
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ==========================================
   TARJETAS BASE AGUA (LISTA VERTICAL DE 1 COLUMNA)
   ========================================== */
.seccion-agua {
  padding: 80px 0;
  background: var(--paper);
}

.titulo-seccion {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 42px;
  color: var(--ink);
  margin-bottom: 40px;
  text-align: center;
}

.agua-grid-dinamico {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 40px;
  width: 100%;
}

.tarjeta-agua-hover {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  max-width: 650px; /* Limita el ancho para que el cuadrado no sea excesivo en PC */
  margin: 0 auto; /* Centra las tarjetas en medio de la pantalla */
  aspect-ratio: 1 / 1; /* Fuerza la forma a ser perfectamente cuadrada */
  height: auto; /* Quitamos el height de 550px */
  display: flex;
  align-items: flex-end;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  background: var(--ink); /* Ponemos el color corporativo de fondo por si la imagen tiene espacios libres */
}

.tarjeta-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tarjeta-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Esto garantiza que la imagen se vea TODA por completo sin recortarse */
  transition: transform 0.6s ease;
  opacity: 0.85;
}

/* ◄ ELIMINADO: .tarjeta-contenido, .tarjeta-contenido h3 y .tarjeta-contenido p.
   Las tarjetas de esta sección ya no llevan texto: el cliente pidió únicamente
   las imágenes, y el rótulo de cada efecto viene impreso dentro de la propia
   fotografía. El único texto de la sección es el <h2> «LÍNEA DE EFECTOS
   ESPECIALES».
   Estas reglas pintaban un degradado oscuro de unos 92 px sobre la parte baja
   de cada imagen para dar contraste a un título que ya no existe, de modo que
   solo tapaban la fotografía. Ninguna otra hoja ni js/especiales.js las usa. */

.tarjeta-agua-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.tarjeta-agua-hover:hover .tarjeta-bg-img img {
  transform: scale(1.03); 
  opacity: 1;
}

/* ==========================================
   CENEFA DIVISORA
   ========================================== */
.cenefa-divisor {
  width: 100%;
  padding: 60px 5%;
  background: linear-gradient(135deg, var(--ink) 0%, #1a1040 100%);
  text-align: center;
  border-top: 4px solid var(--orange);
}

.cenefa-divisor .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cenefa-divisor h2 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--white);
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
}

.divisor-linea {
  width: 60px;
  height: 3px;
  background-color: var(--orange);
  margin-top: 20px;
  border-radius: 2px;
}

/* ==========================================
   TARJETAS BASE UV
   ========================================== */
.seccion-uv {
  padding: 80px 0;
  background: var(--paper-2);
}

.grid-dos-etiquetas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
}

.tarjeta-uv {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.tarjeta-uv:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.tarjeta-uv-img {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.tarjeta-uv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tarjeta-uv:hover .tarjeta-uv-img img {
  transform: scale(1.05);
}

.tarjeta-uv-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tarjeta-uv-info h3 {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 15px;
}

.tarjeta-uv-info p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ==========================================
   FOOTER BÁSICO
   ========================================== */
footer {
  background: var(--ink-2);
  color: #9086C4;
  padding: 24px 0;
  border-top: 1px solid #38296E;
  font-size: 12px;
  text-align: center;
}

/* ==========================================
   RESPONSIVO (MÓVILES)
   ========================================== */
@media (max-width: 860px) {
  .nav-bar-custom {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }
  .nav-grupo-izq {
    flex-direction: column;
    text-align: center;
  }
  .logo-daka { margin-right: 0; margin-bottom: 10px; }
  
  .nav-links, .nav-links-der { 
    margin-left: 0; 
    margin-right: 0;
    margin-top: 10px; 
    flex-direction: column; 
    gap: 10px; 
  }
  
  .nav-grupo-der {
    flex-direction: column;
    gap: 15px;
  }
  
  .cenefa-soluciones-esfumada {
    min-height: 400px;
    align-items: flex-end;
  }
  .cenefa-bg-capa img {
    object-position: top center;
  }
  .cenefa-degradado {
    background: linear-gradient(to bottom, rgba(30,16,84,0) 0%, rgba(30,16,84,0.3) 30%, var(--ink) 80%, var(--ink) 100%);
  }
  .cenefa-soluciones-esfumada .wrap {
    justify-content: flex-start;
    padding-bottom: 40px;
  }
  .cenefa-texto-izq { 
    width: 100%; 
    padding-right: 0; 
    text-align: center; 
  }

  /* Ajustes unificados sin código redundante */
  .grid-dos-etiquetas { 
    grid-template-columns: 1fr; 
  }
  
  .agua-grid-dinamico, 
  .grid-dos-etiquetas {
    gap: 24px; 
  }
  
  .tarjeta-agua-hover { 
    height: 400px; /* Reducimos la altura en móviles para mejor experiencia */
  }
}