/* ==========================================================================
   Pro Agua — Tema "AWASA"
   Rediseño estructural y visual inspirado en awasa.com.mx
   Se carga DESPUÉS de style.css y del <style> inline de index.php,
   por lo que sobreescribe el tema anterior.
   ========================================================================== */

:root {
  --primary: #1863dc;
  --primary-dark: #051ebd;
  --secondary: #2a99e5;
  --navy: #012052;
  --navy-dark: #010f2c;
  --ink: #212121;
  --muted: #4e4b66;
  --line: #ebebeb;
  --soft: #f4f4f4;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(1, 32, 82, 0.06);
  --shadow-md: 0 10px 30px rgba(1, 32, 82, 0.10);
  --shadow-lg: 0 18px 50px rgba(1, 32, 82, 0.16);
}

/* --------------------------------------------------------------------------
   BASE TIPOGRÁFICA
   -------------------------------------------------------------------------- */
body,
.navbar-default .nav > li > a,
.btn,
input,
select,
textarea,
button {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

body {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* evita scroll horizontal en móvil */
}

/* Los carruseles (owl) generan un track más ancho que el contenedor:
   hay que recortarlo o la página gana scroll horizontal. */
.owl-carousel { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

a { color: var(--primary); }
a:hover, a:focus { color: var(--primary-dark); }

p { color: var(--muted); }

.aw-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

/* Títulos de sección al estilo AWASA: alineados a la izquierda, grandes */
.aw-head {
  max-width: 760px;
  margin-bottom: 48px;
}
.aw-head h2 {
  font-size: 42px;
  margin: 0 0 16px;
}
.aw-head p {
  font-size: 18px;
  margin: 0;
}
.aw-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.aw-section { padding: 96px 0; }
.aw-section--soft { background: var(--soft); }
.aw-section--navy { background: var(--navy); }
.aw-section--navy h2,
.aw-section--navy h3,
.aw-section--navy h4 { color: #fff; }
.aw-section--navy p { color: rgba(255, 255, 255, 0.78); }
.aw-section--tight { padding: 64px 0; }

/* --------------------------------------------------------------------------
   BOTONES
   -------------------------------------------------------------------------- */
.btn,
.aw-btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 32px;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  display: inline-block;
  text-decoration: none !important;
}

.btn-primary,
.aw-btn--primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(24, 99, 220, 0.28);
}
.btn-primary:hover,
.btn-primary:focus,
.aw-btn--primary:hover,
.aw-btn--primary:focus {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(24, 99, 220, 0.34);
}

.aw-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff !important;
}
.aw-btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--navy) !important;
}

.aw-btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary) !important;
}
.aw-btn--outline:hover {
  background: var(--primary);
  color: #fff !important;
}

/* Enlace "Conoce más" / "Leer más" con flecha */
.aw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
}
.aw-link i { transition: transform 0.25s ease; }
.aw-link:hover i { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   HEADER / NAV
   -------------------------------------------------------------------------- */
.header {
  background: transparent;
  padding: 10px 0;
}
.header.scrolled,
.header.affix {
  background: #fff !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 18px rgba(1, 32, 82, 0.09);
  border-bottom: none;
  padding: 4px 0;
}

.header .navbar { margin-bottom: 0; border: none; background: transparent; }

/* Logo a la derecha y menú a la izquierda */
.header .navbar-brand { padding: 10px 0; height: auto; }
.header .logo-desktop { float: right !important; }
.header .navbar-nav.navbar-left { float: left !important; }

.navbar-default .nav > li > a {
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 22px 15px;
  text-transform: none;
  letter-spacing: 0;
}
.header.scrolled .navbar-default .nav > li > a,
.header.affix .navbar-default .nav > li > a { color: var(--navy) !important; }
.navbar-default .nav > li > a:hover,
.navbar-default .nav > li.active > a { color: var(--secondary) !important; }
.header.scrolled .navbar-default .nav > li > a:hover,
.header.scrolled .navbar-default .nav > li.active > a { color: var(--primary) !important; }
/* Bootstrap trae un fondo gris (#e7e7e7) para el item activo/abierto que
   nunca se quitó: el indicador de "activo" de este tema es el subrayado
   (ver ::after más abajo), no una caja de color, y ese gris desentona
   sobre todo con el header transparente del hero. */
.navbar-default .nav > li.active > a,
.navbar-default .nav > li.open > a,
.navbar-default .nav > li.active > a:hover,
.navbar-default .nav > li.active > a:focus,
.navbar-default .nav > li.open > a:hover,
.navbar-default .nav > li.open > a:focus {
  background-color: transparent !important;
}

.navbar-default .nav .dropdown-menu {
  border: none;
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 300px;
  /* Sin separación respecto al trigger: un hueco aquí rompe el :hover
     continuo (el mouse pasa por una zona sin ningún elemento del menú
     y el submenú se cierra antes de llegar). */
  margin-top: 0;
}
.navbar-default .nav .dropdown-menu > li > a {
  padding: 10px 14px 10px 22px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy) !important;
  white-space: normal;
}
.navbar-default .nav .dropdown-menu > li > a:hover {
  background: var(--soft);
  color: var(--primary) !important;
}
/* Encabezado tipo "eyebrow" dentro del dropdown */
.aw-dropdown-eyebrow {
  padding: 6px 14px 8px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa5b8;
}
/* Fila de cierre "Ver todo el catálogo" */
.aw-dropdown-footer {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 6px;
}
.navbar-default .dropdown-menu li.aw-dropdown-footer > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700 !important;
  color: var(--primary) !important;
}
.navbar-default .dropdown-menu li.aw-dropdown-footer > a:hover { background: var(--soft) !important; }
.aw-dropdown-footer i { transition: transform 0.2s ease; }
.navbar-default .dropdown-menu li.aw-dropdown-footer > a:hover i { transform: translateX(4px); }
/* Caret que rota al abrir el dropdown */
.aw-caret { display: inline-block; transition: transform 0.2s ease; }
@media (min-width: 768px) {
  /* Dropdown al hacer hover, como AWASA, con transición de entrada suave
     en vez del display:none/block abrupto de Bootstrap. */
  .navbar-default .nav .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .navbar-default .nav > li.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .navbar-default .nav > li.dropdown:hover .aw-caret { transform: rotate(180deg); }
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.aw-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* La imagen de fondo se inyecta desde index.php (--aw-hero-img) para que
     sea reemplazable sin tocar el CSS. */
  background-image: linear-gradient(
      100deg,
      rgba(1, 20, 50, 0.88) 0%,
      rgba(1, 32, 82, 0.62) 45%,
      rgba(1, 32, 82, 0.25) 100%
    ),
    var(--aw-hero-img, linear-gradient(135deg, #012052, #1863dc));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* Video de fondo: se coloca sobre la imagen de respaldo y bajo el degradado */
.aw-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* Degradado de legibilidad, por encima del video */
.aw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(1, 20, 50, 0.8) 0%,
    rgba(1, 32, 82, 0.5) 45%,
    rgba(1, 32, 82, 0.12) 100%
  );
}
/* Si el usuario pidió menos animación, se queda la imagen fija */
@media (prefers-reduced-motion: reduce) {
  .aw-hero__video { display: none; }
}

.aw-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 140px 0 110px;
}
.aw-hero__kicker {
  color: var(--secondary);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}
.aw-hero h1 {
  color: #fff;
  font-size: 60px;
  font-weight: 800;
  margin: 0 0 22px;
}
.aw-hero__sub {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 21px;
  font-weight: 400;
  margin: 0 0 36px;
  max-width: 620px;
}
.aw-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.aw-hero__scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 2;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.aw-hero__scroll i {
  display: block;
  font-size: 22px;
  animation: bounce 2s infinite;
}

/* --------------------------------------------------------------------------
   BANDA "SOMOS EL ALIADO ESTRATÉGICO"
   -------------------------------------------------------------------------- */
.aw-claim {
  position: relative;
  padding: 120px 0;
  text-align: center;
  background: var(--navy);
  overflow: hidden;
}
.aw-claim::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Imagen inyectada desde index.php (--aw-claim-img), atenuada para que
     sea una textura de fondo y no compita con el mensaje.
     background-attachment: fixed da el efecto de parallax en escritorio
     (igual que en producción). En táctiles (media query más abajo) se
     sustituye por un --parallax-y calculado por JS, porque la mayoría de
     navegadores móviles ignoran fixed o lo renderizan mal y la sección se
     quedaba sin efecto en el celular. */
  background-image: linear-gradient(180deg, rgba(1,20,50,0.55) 0%, rgba(1,32,82,0.85) 100%),
    var(--aw-claim-img, none);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.5;
}
/* Motivo de líneas onduladas ("agua") superpuesto, siempre presente
   independientemente de la fotografía de fondo. */
.aw-claim::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'%3E%3Cpath d='M0 20 Q 60 0 120 20 T 240 20' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='2'/%3E%3Cpath d='M0 60 Q 60 40 120 60 T 240 60' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='2'/%3E%3Cpath d='M0 100 Q 60 80 120 100 T 240 100' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 240px 120px;
}
.aw-claim .container { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   TAGLINE ("El agua que tu proyecto necesita")
   -------------------------------------------------------------------------- */
.aw-tagline {
  position: relative;
  overflow: hidden;
}
/* .section.db.p120::after (definida en el <style> inline de index.php, con
   los dos círculos decorativos translúcidos) tiene 3 clases de especificidad
   y le ganaba a .aw-tagline::after (1 clase), anulando el fondo con foto.
   Repetimos las clases del elemento para ganar esa pulseada. */
.section.db.p120.aw-tagline::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Imagen inyectada desde index.php (--aw-tagline-bg), atenuada igual que
     la banda "Estratégico" para que el texto siga siendo legible. Encima va
     una línea en forma de S (hoja/vena) de esquina a esquina; por eso mide
     100% 100% (no "cover") y queda fija a las esquinas de esta sección
     (siempre background-attachment: scroll, esa capa nunca hace parallax).
     La foto y el degradado sí llevan background-attachment: fixed en
     escritorio (igual que en producción); en táctiles (media query más
     abajo) se sustituye por --parallax-y calculado por JS, porque la
     mayoría de navegadores móviles ignoran fixed o lo renderizan mal. */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' preserveAspectRatio='none'%3E%3Cpath d='M40 40 C240 40 40 240 210 210 C380 180 180 380 380 380' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M110 70 L150 40' fill='none' stroke='rgba(255,255,255,0.2)' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M90 160 L50 190' fill='none' stroke='rgba(255,255,255,0.2)' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M300 250 L340 220' fill='none' stroke='rgba(255,255,255,0.2)' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M270 340 L240 370' fill='none' stroke='rgba(255,255,255,0.2)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(1, 20, 50, 0.55) 0%, rgba(1, 32, 82, 0.85) 100%),
    var(--aw-tagline-bg, none);
  background-size: 100% 100%, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll, fixed, fixed;
  opacity: 0.5;
}
.aw-tagline .container { position: relative; z-index: 2; }
.aw-claim__line1 {
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  margin: 0;
}
.aw-claim__line2 {
  color: #fff;
  font-size: 62px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 4px 0;
  line-height: 1.05;
}
.aw-claim__line3 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* --------------------------------------------------------------------------
   NOSOTROS — texto ancho + panel de foto angosto a todo el alto
   -------------------------------------------------------------------------- */
.aw-nosotros {
  position: relative;
  background: var(--soft);
  overflow: hidden;
}
.aw-nosotros::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Foto inyectada desde index.php (--aw-nosotros-bg), aclarada con un velo
     blanco para que el texto de la izquierda siga siendo legible.
     background-attachment: fixed da el parallax en escritorio (igual que en
     producción); en táctiles (media query más abajo) se sustituye por
     --parallax-y calculado por JS, porque la mayoría de navegadores móviles
     ignoran fixed o lo renderizan mal. */
  background-image: linear-gradient(rgba(244, 244, 244, 0.88), rgba(244, 244, 244, 0.88)),
    var(--aw-nosotros-bg, none);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.aw-nosotros .container { position: relative; z-index: 1; }

/* La mayoría de navegadores táctiles (Chrome/Safari en iOS/Android) ignoran
   background-attachment: fixed o lo renderizan mal, dejando estas secciones
   sin efecto de parallax en el celular. Ahí se sustituye por un desplazamiento
   de background-position controlado por la variable --parallax-y (JS al
   final de index.php, con la misma condición "(hover: none), (pointer:
   coarse)"). En escritorio no se toca nada: se queda con background-
   attachment: fixed como en producción. */
@media (hover: none), (pointer: coarse) {
  .aw-claim::after {
    background-attachment: scroll;
    background-position: center calc(50% + var(--parallax-y, 0px));
  }
  .section.db.p120.aw-tagline::after {
    background-attachment: scroll;
    background-position: center, center calc(50% + var(--parallax-y, 0px)), center calc(50% + var(--parallax-y, 0px));
  }
  .aw-nosotros::before {
    background-attachment: scroll;
    background-position: center calc(50% + var(--parallax-y, 0px));
  }
}

.aw-nosotros__layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: stretch;
}
.aw-nosotros__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.aw-nosotros__content h2 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 20px;
}
.aw-nosotros__text p { margin: 0 0 16px; }
.aw-nosotros__text p:last-child { margin-bottom: 0; }
.aw-nosotros__cta {
  align-self: flex-start;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.aw-nosotros__cta i { font-size: 18px; }
.aw-nosotros__photo {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.aw-nosotros__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   4 PILARES (Venta de Equipo / Ingeniería / Instalaciones / Servicio Técnico)
   -------------------------------------------------------------------------- */
.aw-pillar {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 330px;
  background: var(--navy);
  margin-bottom: 30px;
  text-decoration: none !important;
}
.aw-pillar__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.aw-pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(1, 20, 50, 0.92) 0%,
    rgba(1, 32, 82, 0.45) 60%,
    rgba(1, 32, 82, 0.15) 100%
  );
}
.aw-pillar:hover .aw-pillar__bg { transform: scale(1.07); }
.aw-pillar__body {
  position: relative;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
}
.aw-pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.aw-pillar h3 {
  color: #fff;
  font-size: 22px;
  margin: 0 0 8px;
}
.aw-pillar p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  margin: 0 0 14px;
}
.aw-pillar .aw-link { color: #fff; }

/* Filas de tarjetas con alto uniforme (Bootstrap 3 usa floats, que dejan
   huecos cuando las tarjetas miden distinto). */
.aw-row-flex { display: flex; flex-wrap: wrap; }
.aw-row-flex > [class*="col-"] { display: flex; float: none; }
.aw-row-flex > [class*="col-"] > * { width: 100%; }

/* --------------------------------------------------------------------------
   ESPECIFICACIONES (listas de datos técnicos)
   -------------------------------------------------------------------------- */
.aw-specs { list-style: none; padding: 0; margin: 0 0 20px; }
.aw-specs li {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.aw-specs li:last-child { border-bottom: none; }
.aw-specs strong { color: var(--navy); font-weight: 600; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   MARCAS (marquee-track de logos)
   -------------------------------------------------------------------------- */
.aw-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.aw-marquee__track {
  display: flex;
  width: max-content;
  animation: aw-marquee-scroll 32s linear infinite;
}
.aw-marquee:hover .aw-marquee__track { animation-play-state: paused; }
@keyframes aw-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .aw-marquee__track { animation: none; }
}

.aw-brand {
  flex: 0 0 auto;
  height: 110px;
  width: 200px;
  margin: 0 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.aw-brand:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.aw-brand img {
  max-height: 100%;
  max-width: 100%;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.25s ease;
}
.aw-brand:hover img { filter: none; opacity: 1; }
.aw-brand span {
  font-weight: 700;
  color: var(--navy);
  font-size: 17px;
  letter-spacing: 0.04em;
  text-align: center;
}

/* --------------------------------------------------------------------------
   FORMULARIO DE COTIZACIÓN + FINANCIAMIENTO
   -------------------------------------------------------------------------- */
.aw-quote { background: var(--navy); position: relative; overflow: hidden; }
.aw-quote__panel { padding: 30px 40px 30px 0; }
.aw-quote__panel h2 { font-size: 40px; color: #fff; margin: 0 0 18px; }
.aw-quote__panel p { color: rgba(255, 255, 255, 0.78); font-size: 17px; }

.aw-formcard {
  background: #fff;
  border-radius: 18px;
  padding: 38px;
  box-shadow: var(--shadow-lg);
}
.aw-formcard h3 {
  font-size: 26px;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.aw-formcard > p { margin: 0 0 24px; font-size: 15px; }

.aw-formcard .form-group { margin-bottom: 18px; }
.aw-formcard label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  display: block;
}
.aw-formcard .form-control,
.aw-formcard select.form-control,
.aw-formcard textarea.form-control {
  height: auto;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 15px;
  box-shadow: none;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.aw-formcard .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(24, 99, 220, 0.12);
}
.aw-req { color: #dc3545; }

.aw-consent {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  line-height: 1.5;
}
.aw-consent input { margin-top: 3px; }

/* Grid de checkboxes "Productos de interés" */
.aw-checkgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px 18px;
  margin-bottom: 8px;
}
.aw-checkgrid label {
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  cursor: pointer;
}
.aw-checkgrid input { margin-top: 3px; }

.aw-formnote {
  font-size: 13px;
  color: var(--muted);
  background: var(--soft);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.aw-result { margin: 14px 0 0; display: none; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.aw-result.alert-success { display: block; background: #e9fbe5; color: #1c6b2b; }
.aw-result.alert-danger { display: block; background: #fcf0ef; color: #8a1f1f; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.aw-footer {
  background: var(--navy-dark);
  padding: 72px 0 32px;
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-footer .widget-title,
.aw-footer h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
}
.aw-footer ul { list-style: none; padding: 0; margin: 0; }
.aw-footer li { padding: 6px 0; font-size: 14.5px; }
.aw-footer a { color: rgba(255, 255, 255, 0.75); }
.aw-footer a:hover { color: #fff; }
.aw-footer__logo img { max-height: 54px; margin-bottom: 22px; }
.aw-footer__brandtext {
  font-size: 14.5px;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.7) !important;
}

.aw-copy {
  background: #01173b;
  padding: 18px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}
.aw-copy a { color: rgba(255, 255, 255, 0.75); }

/* --------------------------------------------------------------------------
   AJUSTES A SECCIONES HEREDADAS DE PRO AGUA
   (nosotros, misión/visión, valores, estadísticas, testimonios)
   -------------------------------------------------------------------------- */
.section-title h3 { font-size: 38px; color: var(--navy); }
/* El tema anterior usaba una serif en cursiva para los subtítulos */
.section-title p,
.tagline-subtitle {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif !important;
  font-style: normal !important;
  font-size: 17px;
}
/* Los botones del tema anterior venían en mayúsculas/capitalizadas */
.btn, .aw-btn { text-transform: none !important; }
.servicio-card,
.box,
.contact-form-wrapper,
.product-card,
.course-box {
  border-radius: var(--radius) !important;
  border-color: var(--line) !important;
}
.contact-info-icon { background: rgba(24, 99, 220, 0.1) !important; color: var(--primary) !important; }
/* Tarjetas de servicios con alturas parejas por fila (Bootstrap 3 no
   estira las columnas por defecto). */
.servicios-section .row { display: flex; flex-wrap: wrap; }
.servicios-section .row > [class*="col-"] { display: flex; }
.servicios-section .servicio-card { height: auto; width: 100%; }
.stat-count h4, .tagline-icon { color: var(--primary) !important; }
/* El tema base traía un acento cian (#01bacf) para este ícono y para el
   hover de las flechas del carrusel de catálogo, ajeno a la paleta azul
   de Pro Agua. */
.course-box small { color: var(--primary); }
/* Tarjetas del catálogo: foto a pantalla completa con título, descripción
   y botón centrados encima, al estilo del slider de aerzenlatam.com. */
.cat-slide {
  position: relative;
  display: block;
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none !important;
}
.cat-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  transition: transform 0.6s ease;
}
.cat-slide:hover .cat-slide__bg { transform: scale(1.08); }
.cat-slide__bg--tone1 { background-image: linear-gradient(135deg, #1863dc, #012052); }
.cat-slide__bg--tone2 { background-image: linear-gradient(135deg, #2a99e5, #051ebd); }
.cat-slide__bg--tone3 { background-image: linear-gradient(135deg, #012052, #1863dc); }
.cat-slide__bg--tone4 { background-image: linear-gradient(135deg, #051ebd, #2a99e5); }
.cat-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 20, 50, 0.35) 0%, rgba(1, 20, 50, 0.8) 100%);
}
.cat-slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
}
.cat-slide__title {
  color: #fff;
  font-size: 22px;
  margin: 0 0 12px;
}
.cat-slide__desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 280px;
}
.cat-slide__btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}
.cat-slide:hover .cat-slide__btn {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.owl-theme-01 .owl-nav [class*="owl-"]:hover {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
.owl-theme-01 .owl-dots .owl-dot span { background: var(--line) !important; }
.owl-theme-01 .owl-dots .owl-dot.active span,
.owl-theme-01 .owl-dots .owl-dot:hover span { background: var(--primary) !important; }

/* --------------------------------------------------------------------------
   CATÁLOGO: imagen genérica por categoría (sin foto real de producto)
   -------------------------------------------------------------------------- */
.cat-visual {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
}
.cat-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cat-visual--tone1 { background-color: #cfe4ff; }
.cat-visual--tone1::before { background: linear-gradient(135deg, #eaf4ff, transparent 70%); }
.cat-visual--tone2 { background-color: #bcd3f2; }
.cat-visual--tone2::before { background: linear-gradient(135deg, #e3edfb, transparent 70%); }
.cat-visual--tone3 { background-color: #c7e6ee; }
.cat-visual--tone3::before { background: linear-gradient(135deg, #e8f6f9, transparent 70%); }
.cat-visual--tone4 { background-color: #d6ddf7; }
.cat-visual--tone4::before { background: linear-gradient(135deg, #eef1ff, transparent 70%); }
.cat-visual__badge {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(1, 32, 82, 0.14);
  transition: transform 0.25s ease;
}
.course-box:hover .cat-visual__badge { transform: scale(1.08); }
.cat-visual__badge i { font-size: 32px; color: var(--navy); opacity: 0.85; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .aw-hero h1 { font-size: 44px; }
  .aw-claim__line2 { font-size: 42px; }
  .aw-head h2 { font-size: 33px; }
  .aw-quote__panel { padding: 0 0 34px; }
  .aw-quote__panel h2 { font-size: 32px; }
  .aw-nosotros__layout { grid-template-columns: 1fr; gap: 32px; }
  .aw-nosotros__photo { min-height: 320px; order: -1; }
}

@media (max-width: 767px) {
  .aw-section { padding: 64px 0; }
  .aw-hero { min-height: auto; }
  .aw-hero__inner { padding: 130px 0 90px; }
  .aw-hero h1 { font-size: 33px; }
  .aw-hero__kicker { font-size: 17px; }
  .aw-hero__sub { font-size: 17px; }
  .aw-hero__actions .btn { width: 100%; text-align: center; }
  .aw-claim { padding: 74px 0; }
  .aw-claim__line1 { font-size: 22px; }
  .aw-claim__line2 { font-size: 30px; }
  .aw-claim__line3 { font-size: 16px; }
  .aw-head h2 { font-size: 27px; }
  .aw-head p { font-size: 16px; }
  .aw-nosotros__content h2 { font-size: 28px; }
  .cat-slide { height: 300px; }
  .cat-slide__title { font-size: 19px; }
  .aw-formcard { padding: 24px; }
  .header .navbar-nav.navbar-left { float: none !important; }
  /* Logo a la izquierda también en móvil */
  .navbar-brand-mobile { float: left !important; margin-left: 0 !important; padding-left: 0; }
  .navbar-default .nav > li > a { padding: 13px 0; color: var(--navy) !important; }
  .header .navbar-collapse {
    background: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    margin-top: 8px;
    box-shadow: var(--shadow-md);
  }
  .navbar-default .nav .dropdown-menu { box-shadow: none; min-width: 0; }
  .navbar-default .nav .dropdown-menu > li > a { padding: 9px 14px; }
}
