@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css");

@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Lilita+One&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.fira-code-uniquifier {
  font-family: "Fira Code", monospace;
  font-optical-sizing: auto;
  font-style: normal;
}
.montserrat-uniquifier {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
.lilita-one-regular {
  font-family: "Lilita One", sans-serif;
  font-style: normal;
}
.poppins-thin {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: normal;
}
.poppins-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: normal;
}
.poppins-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}
.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.poppins-medium {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: normal;
}
.poppins-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}
.poppins-bold {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.poppins-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: normal;
}
.poppins-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: normal;
}
.poppins-thin-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  font-style: italic;
}
.poppins-extralight-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-style: italic;
}
.poppins-light-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: italic;
}
.poppins-regular-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: italic;
}
.poppins-medium-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-style: italic;
}
.poppins-semibold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: italic;
}
.poppins-bold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: italic;
}
.poppins-extrabold-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-style: italic;
}
.poppins-black-italic {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-style: italic;
}
.outfit-uniquifier {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.nav-tgrafico {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgb(0, 160, 209);
  background: rgba(255, 255, 255, 0.8915) !important;
  backdrop-filter: blur(0.6rem);
  -webkit-backdrop-filter: blur(0.6rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(8, 42, 74, 0.08);
  transition: all 0.3s ease;
}

.nav-tgrafico.scrolled {
  background: rgba(255, 255, 255, 0.7985) !important;
  box-shadow: 0 8px 32px rgba(8, 42, 74, 0.1), 0 0 20px rgba(0, 160, 209, 0.15);
  border-bottom-color: rgba(0, 160, 209, 0.3);
}

.nav-tgrafico .dropdown-menu {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.2rem;
  box-shadow: 0 8px 32px rgba(8, 42, 74, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.nav-tgrafico .dropdown-item {
  color: rgb(8, 42, 74);
  font-weight: 500;
  transition: all 0.25s ease;
}

.nav-tgrafico .dropdown-item:hover {
  background: rgba(0, 160, 209, 0.12);
  color: rgb(0, 160, 209);
  padding-left: 1.5rem;
}

.nav-tgrafico .dropdown-divider {
  border-color: rgba(0, 160, 209, 0.15);
}

/* ─── PARALLAX HERO ─────────────────────────────────── */
.parallax-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.aparato {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../img/camaronera.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.aparato::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(7, 156, 230, 0.6) 16%,
    rgba(240, 242, 243, 0.6) 16%,
    rgba(228, 235, 242, 0.6) 35%,
    rgba(6, 130, 231, 0.4) 36%,
    rgba(110, 164, 198, 0.6) 65%,
    rgba(68, 123, 158, 0.6) 64%
  );
  z-index: 0;
}

.apar {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

/* Capa de fondo: se mueve a destiempo con JS */
.parallax-bg {
  position: absolute;
  inset: -20% 0; /* margen extra para que no haya bordes blancos */
  background-image: url("../img/camaron.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgb(179, 234, 216);
  will-change: transform;
  z-index: 0;
}

/* Overlay semitransparente para legibilidad del texto */
.parallax-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(233, 240, 242, 0.99) 0%,
    rgba(255, 255, 255, 0.79) 35%,
    rgba(0, 160, 209, 0.83) 100%
  );
  z-index: 1;
}

/* Contenido sobre el fondo */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 80px; /* offset del navbar fixed */
}

.hero-logo {
  width: 100%;
}

/* Columna texto */
.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow:
    3px 0 0 rgb(0, 160, 209),
    -1px 0 0 rgb(0, 160, 209),
    0 2px 0 rgb(0, 160, 209),
    0 -1px 0 rgb(0, 160, 209);
}

.hero-desc {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: rgb(20, 88, 103);
  padding-top: 1rem;
}

/* Responsive: apilado en móvil */
@media (max-width: 768px) {
  .hero-content {
    padding-top: 100px;
  }
}

/* Hero columns — se quiebran en 930px */
.hero-col-logo,
.hero-col-text {
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

/* Footer con burbujas flotantes */
.footer-with-bubbles {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.footer-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
}

.bubble {
  position: absolute;
  bottom: -140px;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(163, 227, 255, 0.75) 42%, rgba(0, 160, 209, 0.2));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3), 0 10px 20px rgba(0, 160, 209, 0.12);
  animation: bubbleRise 16s ease-in-out infinite;
  opacity: 0.85;
  filter: blur(0.2px);
}

.bubble::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
}

.bubble::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 22%;
  width: 35%;
  height: 30%;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  filter: blur(2px);
  transform: rotate(-18deg);
  opacity: 0.9;
}

.bubble-1 { left: 6%; width: 30px; height: 30px; animation-duration: 16s; animation-delay: -2s; }
.bubble-2 { left: 18%; width: 18px; height: 18px; animation-duration: 12s; animation-delay: -5s; }
.bubble-3 { left: 34%; width: 34px; height: 34px; animation-duration: 18s; animation-delay: -8s; }
.bubble-4 { left: 54%; width: 24px; height: 24px; animation-duration: 13s; animation-delay: -3s; }
.bubble-5 { left: 68%; width: 20px; height: 20px; animation-duration: 15s; animation-delay: -1s; }
.bubble-6 { left: 78%; width: 28px; height: 28px; animation-duration: 17s; animation-delay: -6s; }
.bubble-7 { left: 88%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: -4s; }
.bubble-8 { left: 94%; width: 16px; height: 16px; animation-duration: 13s; animation-delay: -7s; }

@keyframes bubbleRise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.7) translateX(0);
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  50% {
    transform: translate3d(0, -55vh, 0) scale(1.05) translateX(10px);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(0, -125vh, 0) scale(1.25) translateX(-12px);
    opacity: 0;
  }
}

@media (min-width: 931px) {
  .hero-col-logo {
    width: 41.66%; /* equivalente a col-5 */
  }
  .hero-col-text {
    width: 58.33%; /* equivalente a col-7 */
  }
}

@media (max-width: 930px) {
  .hero-col-logo {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  .hero-col-logo .hero-logo {
    max-width: 280px;
  }
  .hero-col-text {
    text-align: center !important; /* override text-end */
  }
  .hero-content {
    padding-top: 100px;
  }
}
/* ─────────────────────────────────────────────────────── */

.aqua {
  background-image: url(../img/camaron.png);
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: rgb(28, 136, 163);
  background-color: rgb(179, 234, 216);
}
a {
  text-decoration: none;
}
.navbar-toggler {
  padding: 0.5rem 0.8rem; /* Más área de click */
  font-size: 1.5rem; /* Escala el tamaño base del ícono de Bootstrap */
}

.navbar-toggler-icon {
  width: 2.56789rem; /* Por defecto es 1.5rem, subilo a 2rem o más */
  height: 2.123rem; /* Mantenelo simétrico */
}
.tec {
  height: 100vh;
  font-family: "Poppins", sans-serif;
  color: rgb(0, 160, 209);
  display: grid;
  place-content: center;
}

.tec h2 {
  font-weight: 900;
}
.cont {
  background: rgba(233, 248, 253, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}

.cont::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  pointer-events: none;
}
.ent {
  padding-top: 5%;
  padding-bottom: 5%;
  color: rgba(0, 160, 209, 0.979);
  font-family: "Poppins", sans-serif;
}
.onoto {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2rem;
  box-shadow: 
    0 8px 32px rgba(8, 42, 74, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.onoto::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.onoto:hover::before {
  transform: translateX(100%);
}

.onoto:hover {
  border-color: rgba(0, 160, 209, 0.3);
  box-shadow: 
    0 12px 40px rgba(8, 42, 74, 0.12),
    0 0 20px rgba(0, 160, 209, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-4px);
}

.juveniles-card {
  overflow: visible;
}

.juveniles-wrap {
  overflow: visible;
  display: flow-root;
}

.juveniles-wrap::after {
  content: "";
  display: block;
  clear: both;
}

.juveniles-photo {
  width: clamp(150px, 38%, 240px);
  max-width: 240px;
  min-width: 130px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  float: left;
  margin: 0 1.2rem 0.6rem 0;
  border-radius: 50%;
  shape-outside: circle(50%);
  shape-margin: 0.75rem;
  display: block;
  box-shadow: 0 4px 18px rgba(0, 100, 160, 0.18);
  border: 3px solid rgba(0, 160, 209, 0.25);
}

.card-masonry .lead {
  overflow: visible;
  margin-bottom: 0;
  text-align: justify;
  line-height: 1.75;
  font-size: 1.05rem;
  column-width: auto;
  padding-top: 2%;
  font-weight: 400;
}

@media (max-width: 768px) {
  .juveniles-photo {
    width: clamp(120px, 48%, 170px);
    min-width: 120px;
    margin: 0 0.9rem 0.6rem 0;
    shape-outside: circle(50%);
    shape-margin: 0.6rem;
  }

  .card-masonry .lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

.masonry-grid {
  column-count: 1;
  column-gap: 0.75rem;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  max-width: 100%;
}
@media (min-width: 992px) {
  .masonry-grid {
    column-count: 2;
  }
}
@media (max-width: 980px) {
  .masonry-grid {
    padding-left: 0;
    padding-right: 0;
    column-gap: 0.75rem;
  }
  .card-masonry {
    margin-left: 0;
    margin-right: 0;
  }
  .onoto {
    padding: 1.25rem;
    border-width: 1rem;
  }
}
.masonry-grid .card-masonry {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
}
.nosotros {
  min-height: 100vh; /* usar min-height en lugar de forzar 100vh */
  background-color: rgb(165, 175, 179);
  background-image: url(../img/piscina.png);
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  place-content: center;
}
.quienesomos {
  color: rgb(255, 255, 255);
  font-family: "Outfit", sans-serif;
}
/* ─── HERO CON VIDEO (quienesomos.html) ─── */
.hero-video-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.hero-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
  transform: translateZ(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(6, 130, 130, 0.55),
    rgba(0, 0, 0, 0.25)
  );
  z-index: 1;
}

.hero-video-page .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  font-family: sans-serif;
  padding: 2rem;
}

.hero-video-page .hero-content h1 {
  font-family: "Outfit", sans-serif;
  color: rgb(255, 255, 255);
}

/* El contenido posterior queda por encima del video */
.emppre,
.saa,
.empleados,
.nosotros,
footer {
  position: relative;
  z-index: 2;
  background-color: inherit;
}

body {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .hero-video-page {
    min-height: 80vh;
  }

  .hero-video {
    object-position: center top;
  }

  .hero-video-page .hero-content h1 {
    font-size: 2.5rem;
  }
}
.personal {
  font-family: "Poppins", sans-serif;
  color: rgb(8, 76, 118);
  padding-top: 1%;
  padding-bottom: 5%;
  text-align: center;
}
.personal .card {
  min-height: 100%;
}
.personal .card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.empleados {
  background-color: rgb(158, 188, 190);
}
.aparato {
  background-image: url(../img/camaronera.webp);
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgb(233, 248, 253);
  display: grid;
  place-content: center;
}
.contact {
  position: relative;
  overflow: hidden;
  background-image: url(../img/peces.avif);
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  background-color: rgb(233, 248, 253);
  display: grid;
  place-content: center;
}
.apar {
  font-family: "Outfit", sans-serif;
  color: rgb(255, 255, 255);
}
.too {
  position: relative;
  z-index: 2;
  font-family: "Outfit", sans-serif;
  color: rgb(255, 255, 255);
  text-align: center;
  padding-top: 80px;
}
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    319deg,
    rgba(108, 205, 230, 0.93) 0%,
    rgba(28, 140, 214, 0.87) 38%,
    rgba(4, 41, 64, 0.97) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.alimen {
  background-color: rgb(235, 245, 245);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.tadora {
  font-family: "Outfit", sans-serif;
  color: rgb(0, 160, 209);
  padding-top: 5%;
  padding-bottom: 5%;
  width: 100%;
}

/* Layout: h5 arriba, contenido centrado verticalmente debajo */
.tadora {
  display: flex;
  flex-direction: column;
}
.tadora .content-row {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2rem;
}

/* Texto a la izquierda en pantallas medianas/grandes */
.tadora-text {
  text-align: left;
  align-items: flex-start;
}

/* Imagen más grande */
.tadora img {
  width: auto;
  max-height: 640px;
  display: inline-block;
}

@media (max-width: 900px) {
  .tadora .content-row {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
  .tadora .col-md-6 {
    width: 100%;
    max-width: 760px;
  }
  .tadora-text {
    text-align: center;
    align-items: center;
  }
  .tadora img {
    max-height: 420px;
  }
}

@media (max-width: 767px) {
  .tadora img {
    max-height: 360px;
  }
}

/* Tadora: centrado y animaciones */

.tadora .tadora-text .lead {
  white-space: pre-line; /* conserva saltos de línea del contenido */
}

/* Animaciones de aparición */
.anim-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms cubic-bezier(0.2, 0.9, 0.2, 1),
    transform 600ms cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: opacity, transform;
}
/* Animaciones de aparición */
.anim-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms cubic-bezier(0.2, 0.9, 0.2, 1),
    transform 600ms cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: opacity, transform;
}
.anim-show {
  opacity: 1;
  transform: translateY(0);
}

/* Animación específica para imagen (ligera escala) */
.anim-hidden.img-anim {
  transform: translateY(20px) scale(0.98);
}
.anim-show.img-anim {
  transform: translateY(0) scale(1);
}
/* ─── VARIABLES GLOBALES ─── */
:root {
  --blue: #0789d6;
  --blue-dark: #082a4a;
  --cyan: #13a9d5;
  --bg: #f4fbfd;
  --white: #fff;
  --text: #24435c;
  --muted: #6b8294;
  --line: #d9e9ef;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(8, 42, 74, 0.12);
  /* Glassmorphism variables */
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-bg-strong: rgba(255, 255, 255, 0.2);
  --glass-bg-card: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-border-glow: rgba(0, 160, 209, 0.3);
  --glass-blur: 12px;
  --glass-shadow: 0 8px 32px rgba(8, 42, 74, 0.08);
  --glass-shadow-glow: 0 0 20px rgba(0, 160, 209, 0.15);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ─── RESETS GENERALES ─── */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

/* ─── MAQUETACIÓN BASE ─── */
.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ─── HERO / SECCIÓN INICIAL (INICIO) ─── */
.hero {
  min-height: calc(100vh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 25%,
      rgba(19, 169, 213, 0.2),
      transparent 35%
    ),
    linear-gradient(90deg, #fff 0%, #f4fbfd 55%, #e4f5fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding-block: 70px;
}

.hero h1 {
  margin: 18px 0 24px;
  max-width: 100%;
  color: var(--blue-dark);
  font-size: clamp(3.1rem, 6.2vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-copy > p {
  max-width: 670px;
  font-size: 1.15rem;
  color: #3f5870;
}

/* Botones */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 50px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(8, 42, 74, 0.14);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0669d7, #08a0df);
}

.btn-secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--blue);
}

/* Métricas */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 720px;
}

.hero-metrics div {
  padding-left: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-right: 0.5rem;
  border-left: 3px solid rgba(0, 160, 209, 0.6);
  border-radius: 3rem;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.55) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 160, 209, 0.2) 0%, transparent 55%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.6), rgba(235, 248, 253, 0.45), rgba(255, 255, 255, 0.65));
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: liquid-flow 12s ease-in-out infinite;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 4px 16px rgba(8, 42, 74, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: rgb(0, 160, 209);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-metrics div:hover {
  background-size: 240% 240%;
  box-shadow: 
    0 8px 24px rgba(8, 42, 74, 0.1),
    0 0 16px rgba(0, 160, 209, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Elementos Visuales */
.hero-visual {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  filter: drop-shadow(0 35px 35px rgba(8, 42, 74, 0.2));
}

.halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(7, 137, 214, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(7, 137, 214, 0.05),
    0 0 0 110px rgba(7, 137, 214, 0.03);
}

.floating-tag {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 233, 239, 0.9);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 700;
  animation: float-tag 4s ease-in-out infinite;
}

@keyframes float-tag {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.tag-one {
  top: 20%;
  right: 2%;
}

.tag-two {
  bottom: 18%;
  left: 5%;
}

/* ─── EFECTOS REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── MEDIA QUERIES (RESPONSIVE) ─── */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 90px; /* compensa el navbar fixed en móvil */
  }
  .hero-visual {
    min-height: 430px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto; /* se expande con el contenido en móvil */
    padding-bottom: 40px;
  }
  .hero-grid {
    padding-top: 100px; /* navbar fixed (~60px) + margen extra */
    padding-bottom: 50px;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 280px;
    width: 100%;
    overflow: visible; /* evita que la imagen se corte */
  }
  .hero-visual img {
    width: min(100%, 340px);
    margin: 0 auto;
  }
  .halo {
    width: 260px;
    height: 260px;
  }
  .floating-tag {
    display: none;
  }
}
/* Ocultar el campo trampa de forma efectiva */
.campo-trampa {
  display: none !important;
  visibility: hidden;
}
/* ==========================================================================
   Formulario KAIRO - Estilo Mar y Piscina (Claro y Redondeado)
   ========================================================================== */

.contactenos {
  font-family: "Outfit", sans-serif;
  color: rgb(0, 160, 209);
}
.contacto {
  padding-top: 5%;
  padding-bottom: 5%;
}
.contacto-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin: 40px 0;
}

.contacto-mapa {
  padding: 35px;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 10%, rgba(0, 160, 209, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 90%, rgba(41, 182, 246, 0.14) 0%, transparent 55%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.65), rgba(240, 249, 252, 0.5), rgba(255, 255, 255, 0.7));
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: liquid-flow 12s ease-in-out infinite;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2rem;
  box-shadow: 
    0 8px 32px rgba(41, 182, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.contacto-mapa:hover {
  background-size: 240% 240%;
  box-shadow: 
    0 12px 40px rgba(41, 182, 246, 0.12),
    0 0 20px rgba(0, 160, 209, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contacto-mapa h3 {
  font-size: 1.8rem;
  color: #0277bd;
  margin-top: 0;
  margin-bottom: 20px;
}

.contacto-direccion {
  font-size: 0.95rem;
  color: #546e7a;
  line-height: 1.7;
  margin-bottom: 16px;
}

.contacto-direccion i {
  color: #29b6f6;
  width: 18px;
  margin-right: 6px;
}

.mapa-embed {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1.5px solid #b3e5fc;
}

.mapa-embed iframe {
  display: block;
  width: 100%;
  height: 900px;
  border: 0;
}

.form-alerta {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 1rem;
  font-weight: 600;
}

.form-alerta--exito {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1.5px solid #a5d6a7;
}

.form-alerta--error {
  background-color: #ffebee;
  color: #c62828;
  border: 1.5px solid #ef9a9a;
}

@media (max-width: 991px) {
  .contacto-layout {
    grid-template-columns: 1fr;
  }
}

.formulario-contacto {
  max-width: none;
  margin: 0;
  padding: 35px;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(255, 255, 255, 0.65) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 10%, rgba(0, 160, 209, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 90%, rgba(41, 182, 246, 0.13) 0%, transparent 55%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.7), rgba(240, 249, 252, 0.5), rgba(255, 255, 255, 0.75));
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: liquid-flow 14s ease-in-out infinite;
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2rem;
  box-shadow: 
    0 8px 32px rgba(41, 182, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: all 0.3s ease;
}

.formulario-contacto:hover {
  background-size: 240% 240%;
  box-shadow: 
    0 12px 40px rgba(41, 182, 246, 0.12),
    0 0 20px rgba(0, 160, 209, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.formulario-contacto h2 {
  font-size: 1.8rem;
  color: #0277bd; /* Azul océano profundo */
  margin-top: 0;
  margin-bottom: 8px;
}

.formulario-contacto .aclaracion {
  font-size: 0.85rem;
  color: #0288d1;
  margin-bottom: 30px;
  opacity: 0.8;
}

/* Ocultar el campo trampa de forma absoluta (Honeypot) */
.campo-trampa {
  display: none !important;
  visibility: hidden;
}

/* Contenedores de campos */
.grupo-campo {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.grupo-campo label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0277bd;
  margin-bottom: 8px;
}

/* Inputs, Selects y Textarea redondeados y claros */
.grupo-campo input[type="text"],
.grupo-campo input[type="email"],
.grupo-campo input[type="tel"],
.grupo-campo select,
.grupo-campo textarea {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(179, 229, 252, 0.6);
  border-radius: 2rem;
  color: #01579b;
  font-size: 1rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Ajuste específico para Textarea (menos redondeado en esquinas para que no deforme el texto) */
.grupo-campo textarea {
  border-radius: 1.2rem;
  resize: vertical;
  min-height: 120px;
}

/* Remover apariencia nativa en selects para control total */
.grupo-campo select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* Flecha limpia en SVG con color azul océano */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230288d1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px;
  padding-right: 45px;
}

/* Enfoque al hacer clic o escribir */
.grupo-campo input:focus,
.grupo-campo select:focus,
.grupo-campo textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 160, 209, 0.5);
  box-shadow: 
    0 0 0 4px rgba(0, 160, 209, 0.1),
    0 0 20px rgba(0, 160, 209, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Fila de la Política de Privacidad */
.grupo-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 25px;
  margin-bottom: 30px;
  padding: 0 10px;
}

.grupo-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid #b3e5fc;
  border-radius: 6px; /* Ligeramente redondeado para armonía */
  background-color: #ffffff;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  flex-shrink: 0;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.grupo-checkbox input[type="checkbox"]:checked {
  background-color: #29b6f6;
  border-color: #29b6f6;
}

.grupo-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.grupo-checkbox label {
  font-size: 0.9rem;
  color: #546e7a;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}

/* Botón de Enviar Redondeado y Llamativo (Color Piscina) */
.btn-enviar {
  display: inline-block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(
    125deg,
    rgba(0, 160, 209, 0.9),
    rgba(41, 182, 246, 0.85),
    rgba(0, 160, 209, 0.95),
    rgba(3, 155, 229, 0.9)
  );
  background-size: 250% 250%;
  animation: liquid-flow 10s ease-in-out infinite;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2rem; /* Esquinas redondeadas */
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow:
    0 4px 16px rgba(0, 160, 209, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    all 0.3s ease,
    transform 0.1s ease;
}

.btn-enviar:hover {
  background-size: 300% 300%;
  box-shadow:
    0 8px 24px rgba(0, 160, 209, 0.5),
    0 0 24px rgba(0, 160, 209, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-enviar:active {
  transform: scale(0.98); /* Efecto sutil de pulsación */
}
.emppre {
  background-color: rgb(158, 188, 190);
}
.saa {
  padding-top: 5%;
  padding-bottom: 2%;
  color: rgb(247, 249, 249);
  font-family: "Outfit", sans-serif;
}
.avatar {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  color: #fff;
  background-color: rgb(0, 160, 209);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 800;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: rgb(255, 255, 255);
  font-weight: 800;
}
.check-list {
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
}
.precision {
  background: rgba(0, 160, 209, 0.9);
  position: relative;
  overflow: hidden;
}

.precision::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  pointer-events: none;
}

.precision::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 25%,
    rgba(255, 255, 255, 0.25) 38%,
    rgba(255, 255, 255, 0.06) 48%,
    transparent 62%
  );
  transform: translateX(-130%) skewX(-8deg);
  animation: liquid-sheen 8s ease-in-out infinite;
  pointer-events: none;
}
.sion {
  padding-top: 5%;
  padding-bottom: 5%;
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  color: rgb(255, 255, 255);
}

.testimonial-image {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
/* ── Masonry estilo Pinterest ── */
.lb-masonry {
  columns: 3;
  column-gap: 14px;
}
@media (max-width: 575px) {
  .lb-masonry {
    columns: 1;
  }
}
@media (min-width: 576px) and (max-width: 991px) {
  .lb-masonry {
    columns: 2;
  }
}

.lb-masonry-item {
  break-inside: avoid;
  margin-bottom: 14px;
}

.gallery-thumb {
  display: block;
  overflow: hidden;
  border-radius: 2rem;
  cursor: pointer;
  transition:
    transform 0.28s,
    box-shadow 0.28s;
}
.gallery-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 100, 160, 0.25);
}
.gallery-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.38s;
}
.gallery-thumb:hover img {
  transform: scale(1.05);
}

/* ── Lightbox overlay ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 18, 30, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
#lightbox.active {
  display: flex;
}

#lb-inner {
  max-width: min(88vw, 920px);
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lb-img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 1.5rem;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.65);
  object-fit: contain;
  transition: opacity 0.18s ease;
}
#lb-img.fading {
  opacity: 0;
}

/* ── Botón cerrar ── */
#lb-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition:
    background 0.2s,
    transform 0.25s;
}
#lb-close svg {
  width: 20px;
  height: 20px;
  display: block;
}
#lb-close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(90deg);
}

/* ── Flechas ── */
#lb-prev,
#lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition:
    background 0.2s,
    transform 0.22s;
  user-select: none;
}
#lb-prev svg,
#lb-next svg {
  width: 22px;
  height: 22px;
  display: block;
}
#lb-prev {
  left: 20px;
}
#lb-next {
  right: 20px;
}
#lb-prev:hover {
  background: rgba(0, 160, 209, 0.6);
  transform: translateY(-50%) scale(1.1);
}
#lb-next:hover {
  background: rgba(0, 160, 209, 0.6);
  transform: translateY(-50%) scale(1.1);
}

/* ── Contador ── */
#lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  background: rgba(0, 0, 0, 0.38);
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Móvil ── */
@media (max-width: 600px) {
  #lb-prev {
    left: 8px;
    width: 44px;
    height: 44px;
    padding: 10px;
  }
  #lb-next {
    right: 8px;
    width: 44px;
    height: 44px;
    padding: 10px;
  }
  #lb-close {
    top: 10px;
    right: 10px;
  }
}
.dimensiones {
  padding-top: 10%;
  padding-bottom: 10%;
}
.blueprint {
  font-family: "Outfit", sans-serif;
  color: rgb(0, 160, 209);
}

.blu img {
  border-radius: 4rem;
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0.2rem 0.2rem 0.4rem 0.4rem rgba(0, 0, 0, 0.392);
}

/* ═══════════════════════════════════════════════════════════════
   GLASSMORPHISM EFFECTS - Special Effects
   ═══════════════════════════════════════════════════════════════ */

/* ── Particles Container ── */
.particles-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(0, 160, 209, 0.6), transparent);
  border-radius: 50%;
  animation: float-particle 15s infinite linear;
  opacity: 0;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ── Glass Glow Effect ── */
.glass-glow {
  position: relative;
}

.glass-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    45deg,
    rgba(0, 160, 209, 0.3),
    rgba(255, 255, 255, 0.3),
    rgba(0, 160, 209, 0.3)
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-glow:hover::after {
  opacity: 1;
}

/* ── LIQUID GLASS EFFECT ── */
/* Superficie con gradientes de luz que fluyen como vidrio líquido */

.liquid-glass {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(255, 255, 255, 0.55) 0%,
      transparent 45%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(0, 160, 209, 0.28) 0%,
      rgba(19, 169, 213, 0.12) 35%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 60% 90%,
      rgba(41, 182, 246, 0.25) 0%,
      rgba(255, 255, 255, 0.15) 40%,
      transparent 65%
    ),
    linear-gradient(125deg, rgba(255,255,255,0.5), rgba(235, 248, 253, 0.35), rgba(255,255,255,0.55));
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: liquid-flow 12s ease-in-out infinite;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 8px 32px rgba(8, 42, 74, 0.08),
    0 0 18px rgba(0, 160, 209, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

@keyframes liquid-flow {
  0%, 100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 60% 30%;
  }
  50% {
    background-position: 100% 70%;
  }
  75% {
    background-position: 40% 90%;
  }
}

/* Brillo especular que atraviesa la superficie líquida */
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 22%,
    rgba(255, 255, 255, 0.45) 38%,
    rgba(255, 255, 255, 0.1) 48%,
    transparent 64%
  );
  transform: translateX(-130%) skewX(-8deg);
  animation: liquid-sheen 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes liquid-sheen {
  0% {
    transform: translateX(-130%) skewX(-8deg);
  }
  30%, 100% {
    transform: translateX(130%) skewX(-8deg);
  }
}

/* Variación hover: los colores líquidos se intensifican */
.liquid-glass:hover {
  background-size: 240% 240%;
  box-shadow:
    0 14px 44px rgba(8, 42, 74, 0.14),
    0 0 30px rgba(0, 160, 209, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 160, 209, 0.4);
}

/* ── Glass Reflection Animation ── */
.glass-reflection {
  position: relative;
  overflow: hidden;
}

.glass-reflection::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%);
  animation: reflection-move 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes reflection-move {
  0%, 100% {
    transform: translateX(-100%) translateY(-100%);
  }
  50% {
    transform: translateX(100%) translateY(100%);
  }
}

/* ── Hero Section Glass Enhancement ── */
.hero {
  position: relative;
}

.hero .particles-container {
  z-index: 0;
}

/* ── Floating Tags Glass Effect ── */
.floating-tag {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 
    0 8px 32px rgba(8, 42, 74, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* ── Button Glass Enhancement ── */
.btn-primary {
  background: linear-gradient(135deg, rgba(6, 105, 215, 0.9), rgba(8, 160, 223, 0.9)) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(6, 105, 215, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 
    0 8px 24px rgba(6, 105, 215, 0.4),
    0 0 20px rgba(0, 160, 209, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 16px rgba(8, 42, 74, 0.08);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 
    0 8px 24px rgba(8, 42, 74, 0.12),
    0 0 16px rgba(0, 160, 209, 0.1);
  transform: translateY(-2px);
}

/* ── Halo Glass Enhancement ── */
.halo {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(0, 160, 209, 0.05) 50%,
    transparent 70%
  );
  animation: halo-pulse 4s ease-in-out infinite;
}

@keyframes halo-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* ── Card Liquid Glass Enhancement (personal cards) ── */
.personal .card {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.55) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 160, 209, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 90%, rgba(41, 182, 246, 0.18) 0%, transparent 60%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.55), rgba(240, 249, 252, 0.4), rgba(255, 255, 255, 0.6));
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: liquid-flow 12s ease-in-out infinite;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 1.5rem;
  box-shadow: 
    0 8px 32px rgba(8, 42, 74, 0.08),
    0 0 18px rgba(0, 160, 209, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.personal .card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 22%,
    rgba(255, 255, 255, 0.4) 38%,
    rgba(255, 255, 255, 0.08) 48%,
    transparent 64%
  );
  transform: translateX(-130%) skewX(-8deg);
  animation: liquid-sheen 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.personal .card:hover {
  background-size: 240% 240%;
  border-color: rgba(0, 160, 209, 0.4);
  box-shadow: 
    0 14px 44px rgba(8, 42, 74, 0.14),
    0 0 30px rgba(0, 160, 209, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translateY(-8px);
}

/* ── Avatar Glass Effect ── */
.avatar {
  background: rgba(0, 160, 209, 0.8) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 4px 16px rgba(0, 160, 209, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.personal .card:hover .avatar {
  box-shadow: 
    0 8px 24px rgba(0, 160, 209, 0.4),
    0 0 20px rgba(0, 160, 209, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

/* ── Check List Glass Enhancement ── */
.check-list li {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  margin: 0.75rem 0;
  transition: all 0.3s ease;
}

.check-list li:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(8px);
}

/* ── Blueprint Image Glass Frame ── */
.blu img {
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0.2rem 0.2rem 0.4rem 0.4rem rgba(0, 0, 0, 0.392),
    inset 0 0 30px rgba(0, 160, 209, 0.1);
  transition: all 0.4s ease;
}

.blu img:hover {
  border-color: rgba(0, 160, 209, 0.3);
  box-shadow: 
    0.4rem 0.4rem 0.8rem 0.4rem rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 160, 209, 0.2),
    inset 0 0 30px rgba(0, 160, 209, 0.15);
}

/* ── Section Title Glass Underline ── */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0, 160, 209, 0.6), transparent);
  border-radius: 2px;
}

/* ── Scroll Progress Indicator ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 160, 209, 0.8), rgba(41, 182, 246, 0.9));
  z-index: 10001;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(0, 160, 209, 0.5);
}

/* ── Back to Top Button Glass ── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 160, 209, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 
    0 4px 16px rgba(0, 160, 209, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(0, 160, 209, 0.95);
  box-shadow: 
    0 8px 24px rgba(0, 160, 209, 0.4),
    0 0 20px rgba(0, 160, 209, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
}

/* ── Fallback for browsers without backdrop-filter ── */
@supports not (backdrop-filter: blur(0.6rem)) {
  .nav-tgrafico,
  .onoto,
  .hero-metrics div,
  .formulario-contacto,
  .contacto-mapa,
  .personal .card {
    background: rgba(255, 255, 255, 0.95);
  }
  
  .footer-with-bubbles {
    background: rgba(255, 255, 255, 0.95) !important;
  }
}

/* ── Reduced Motion Preferences ── */
@media (prefers-reduced-motion: reduce) {
  .particle,
  .glass-reflection::before,
  .halo,
  .floating-tag,
  .onoto::before,
  .personal .card::before {
    animation: none !important;
    transition: none !important;
  }
}
.freccofooter {
  font-family: "Outfit", sans-serif;
  color: rgb(255, 255, 255);
  font-size: 1.3rem;
  margin-top: auto;
}
.lab {
  padding-top: 1%;
  padding-bottom: 5%;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE-SPECIFIC & UTILITY STYLES (moved from inline HTML)
   ═══════════════════════════════════════════════════════════════ */

/* ── Pesos de fuente para headings ── */
.contact .display-1,
.aparato .display-1,
.hero-video-page .display-1,
.nosotros .display-2,
.contacto .display-2 {
  font-weight: 900;
}

.sion .display-4,
.saa .display-4,
.dimensiones .display-4 {
  font-weight: 700;
}

.tadora-text .display-4 {
  font-weight: 600;
}

.tadora-text .display-4 span {
  font-weight: 900;
}

/* ── Tipografía de secciones ── */
.ent .display-2 {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.kairo-brand {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 2rem;
}

.tadora .tadora-text .lead,
.saa .lead {
  font-size: 1.5rem;
}

.sion .text-uppercase {
  letter-spacing: 0.5rem;
  font-size: 1rem;
}

.saa .text-uppercase {
  letter-spacing: 0.5rem;
}

/* ── Section Title (producto.html) ── */
.section-title {
  font-weight: 900;
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  color: rgb(0, 160, 209);
  letter-spacing: 4px;
  padding-top: 2rem;
}

.section-title i {
  font-size: 0.5rem;
}

.section-title span {
  font-weight: 300;
}

/* ── Galería (producto.html) ── */
.galeria-section {
  background-color: rgb(233, 248, 253);
}

.galeria-section h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  color: rgb(0, 160, 209);
}

/* ── Tarjeta CTA (index.html) ── */
.card-masonry-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(0, 160, 209);
  color: white;
}

/* ── Tarjetas de personal (quienesomos.html) ── */
.personal .card h3 {
  font-weight: 600;
  padding-top: 2rem;
}

.personal .card > span {
  font-weight: 600;
  text-align: left;
  color: rgb(0, 160, 209);
}

.personal .card > p {
  text-align: justify;
  padding-top: 1rem;
}

/* ── Footer helpers ── */
.whatsapp-link {
  color: inherit;
  text-decoration: none;
}

.footer-with-bubbles .copyright-bar {
  background-color: rgba(0, 0, 0, 0.05);
}