:root{
  --bg:#000000;
  --bg2:#05070b;
  --text:#eef2f8;
  --muted:#aab4c3;
  --line: rgba(255,255,255,.08);

  --navy:#071225;
  --blue:#2f79ff;
  --cyan:#66c7ff;
  --accent: #66c7ff;
  --accent-glow: rgba(102, 199, 255, 0.3);

  --shadow: rgba(0,0,0,.75);
  --radius: 18px;
  --max: 1120px;
  
  /* Nuevas variables para animaciones */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*{ box-sizing:border-box; }
html,body{ 
  height:100%; 
  scroll-behavior: smooth;
}

body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 600px at 55% 45%, rgba(12,22,42,.10), transparent 68%),
    radial-gradient(800px 520px at 30% 80%, rgba(255,255,255,.02), transparent 60%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.intro-lock{ height:100vh; overflow:hidden; }
a{ color: inherit; text-decoration:none; transition: var(--transition-smooth); }
img{ max-width:100%; display:block; }

.section{
  min-height: 100vh;
  display:flex;
  align-items:center;
  position:relative;
}

.container{
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

/* ---------------- SPLASH / INTRO MEJORADO ---------------- */
.splash{
  position: fixed;
  inset: 0;
  z-index: 9999;
  justify-content:center;
  text-align:center;
  overflow:hidden;
  background: transparent;
  backdrop-filter: blur(0px);
  transition: backdrop-filter 1s ease;
}

.splash-bg{
  position:absolute;
  inset:-60%;
  background:
    radial-gradient(520px 220px at 50% 52%, rgba(255,255,255,.14), transparent 62%),
    radial-gradient(820px 520px at 50% 55%, rgba(18,45,110,.18), transparent 70%),
    radial-gradient(1400px 900px at 50% 50%, rgba(0,0,0,.90), rgba(0,0,0,.22) 55%, rgba(0,0,0,.92) 82%),
    linear-gradient(180deg, #000 0%, #000 100%);
  filter: blur(24px);
  transform: scale(1.12);
  animation: 
    drift 14s ease-in-out infinite alternate,
    pulse 8s ease-in-out infinite;
}

@keyframes drift{
  0%{ transform: translate3d(-0.4%, -0.4%, 0) scale(1.10); }
  100%{ transform: translate3d(0.4%, 0.4%, 0) scale(1.14); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
}

.splash-inner { 
  position:relative; 
  padding: 24px 0 54px;
  animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand{
  margin:0;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(44px, 5.2vw, 82px);
  line-height: 1.05;
  text-shadow:
    0 14px 46px rgba(0,0,0,.72),
    0 0 22px rgba(255,255,255,.10);
  position: relative;
  display: inline-block;
}

/* TI: efecto mejorado */
.ti{
  display:inline-block;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.95),
    rgba(110,200,255,.98),
    rgba(47,121,255,.98),
    rgba(110,200,255,.98),
    rgba(255,255,255,.95)
  );
  background-size: 260% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 0 10px rgba(110,200,255,.18))
    drop-shadow(0 0 20px rgba(47,121,255,.12));
  animation: tiShift 5.2s ease-in-out infinite;
  position: relative;
}

.ti::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: translateY(8px);
  opacity: 0.5;
  animation: linePulse 2.5s ease-in-out infinite;
}

@keyframes linePulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

.splash-sub{
  margin: 16px auto 0;
  max-width: 62ch;
  color: rgba(238,242,248,.72);
  font-weight: 300;
  letter-spacing: .01em;
  font-size: clamp(14px, 1.5vw, 16px);
  animation: fadeIn 1.5s ease-out 0.3s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.accent{ 
  color: rgba(110,200,255,.92);
  position: relative;
}

.accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.skip{
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,12,18,.30);
  color: rgba(238,242,248,.85);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  transition: var(--transition-smooth);
  animation: fadeIn 1.5s ease-out 0.6s both;
  position: relative;
  overflow: hidden;
}

.skip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(110, 200, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.skip:hover{
  transform: translateY(-2px);
  border-color: rgba(110,200,255,.22);
  background: rgba(10,12,18,.44);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.skip:hover::before {
  width: 100px;
  height: 100px;
}

.scroll-hint{
  position:absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  animation: fadeIn 1.5s ease-out 0.9s both;
}

.scroll-hint span{
  position:absolute;
  left: 50%;
  top: 10px;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: rgba(110,200,255,.65);
  transform: translateX(-50%);
  animation: dot 1.2s ease-in-out infinite;
}

@keyframes dot{
  0%{ opacity:.30; transform: translate(-50%, 0); }
  60%{ opacity: 1; transform: translate(-50%, 14px); }
  100%{ opacity:.18; transform: translate(-50%, 18px); }
}

/* ---------------- HERO STRIP MEJORADO ---------------- */
.hero{
  position:relative;
  background:#000;
  overflow:hidden;
  height: clamp(170px, 22vw, 240px);
  display:flex;
  align-items:center;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.hero-bg{
  position:absolute;
  inset:-30%;
  pointer-events:none;
  background:
    radial-gradient(520px 240px at 50% 50%, rgba(255,255,255,.06), transparent 65%),
    radial-gradient(900px 520px at 60% 45%, rgba(20,60,150,.10), transparent 70%);
  filter: blur(18px);
  opacity: .85;
  animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(-1%, 1%) scale(1.02); }
  50% { transform: translate(1%, -1%) scale(1.01); }
  75% { transform: translate(-1%, -1%) scale(1.02); }
}

.hero-strip{
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  display:grid;
  grid-template-columns: 320px 1fr 240px;
  gap: clamp(18px, 3vw, 44px);
  align-items:center;
  position:relative;
  z-index:2;
}

.hero-left{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  position: relative;
}

.hero-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.8), transparent 30%);
  z-index: 1;
  pointer-events: none;
}

.hero-left img{
  width: 310px;
  height: 100%;
  max-height: 240px;
  object-fit: cover;
  opacity: .86;
  filter: contrast(1.10) saturate(.95);
  mask-image: linear-gradient(90deg, rgba(0,0,0,1) 74%, rgba(0,0,0,0));
  /* QUITADO EL HOVER */
  position: relative;
  z-index: 0;
}

/* QUITADO EL HOVER DE LA IMAGEN CHICA */
/* .hero-left:hover img {
  transform: scale(1.02);
  filter: contrast(1.15) saturate(1.05);
} */

.hero-copy{ 
  display:flex; 
  flex-direction:column; 
  gap: 10px;
  position: relative;
}

.hero-copy::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.hero-slogan{
  margin:0;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(18px, 2.5vw, 34px);
  line-height: 1.18;
  text-shadow:
    0 18px 60px rgba(0,0,0,.85),
    0 0 18px rgba(255,255,255,.10);
  position: relative;
}

.hero-sub{
  margin:0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  letter-spacing: .14em;
  color: rgba(110,200,255,.82);
  font-size: clamp(14px, 1.5vw, 18px);
  position: relative;
  display: inline-block;
}

.hero-sub::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.5;
}

/* Logo: SIN FLOTACIÓN Y SIN HOVER */
.hero-right{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  /* QUITADA LA ANIMACIÓN DE FLOAT */
}

.hero-logo{
  width: 176px;
  height: 176px;
  border-radius: 999px;
  object-fit: cover;
  opacity: .98;
  box-shadow: 
    0 30px 90px rgba(0,0,0,.78),
    0 0 0 1px rgba(255,255,255,0.05);
  border: none;
  /* SIN TRANSICIÓN PARA NO TENER HOVER */
  position: relative;
  z-index: 2;
}

/* QUITADO EL HOVER DEL LOGO */
/* .hero-logo:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 
    0 40px 120px rgba(0,0,0,.85),
    0 0 0 1px rgba(102, 199, 255, 0.2),
    0 0 60px rgba(102, 199, 255, 0.1);
} */

.logo-ring{
  position:absolute;
  right: -10px;
  width: 200px;
  height: 200px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(110,200,255,.18), rgba(0,0,0,0) 58%),
    conic-gradient(from 90deg, rgba(110,200,255,.18), rgba(47,121,255,.08), rgba(255,255,255,.06), rgba(110,200,255,.18));
  filter: blur(0.2px);
  opacity: .55;
  pointer-events:none;
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 62%, rgba(0,0,0,0) 72%);
  /* QUITADA LA ANIMACIÓN DE SPIN */
}

/* ---------------- TITULOS / TEXTO MEJORADOS ---------------- */
.section-title{
  margin:0;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.3vw, 32px);
  text-shadow: 0 14px 46px rgba(0,0,0,.70);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.body{
  margin: 16px 0 0;
  color: rgba(238,242,248,.72);
  font-weight: 300;
  line-height: 1.75;
  max-width: 70ch;
}

/* ---------------- ABOUT MEJORADO ---------------- */
.about{
  position:relative;
  padding: 110px 0;
  background: #000;
  overflow:hidden;
}

.about-bg{
  position:absolute;
  inset:-30%;
  pointer-events:none;
  background:
    radial-gradient(820px 520px at 20% 35%, rgba(110,200,255,.08), transparent 60%),
    radial-gradient(900px 620px at 80% 65%, rgba(255,255,255,.03), transparent 62%),
    radial-gradient(1400px 900px at 50% 50%, rgba(0,0,0,.86), rgba(0,0,0,.18) 52%, rgba(0,0,0,.92) 82%);
  filter: blur(16px);
  opacity: .95;
  animation: bgMove 25s ease-in-out infinite;
}

@keyframes bgMove {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(1%, -1%); }
  50% { transform: translate(-1%, 1%); }
  75% { transform: translate(1%, 1%); }
}

.about-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 58px);
  align-items:center;
}

.about-points{
  margin-top: 18px;
  display:grid;
  gap: 10px;
  color: rgba(238,242,248,.82);
  font-weight: 300;
}

.point {
  padding-left: 10px;
  position: relative;
  transition: var(--transition-smooth);
}

.point::before {
  content: '→';
  position: absolute;
  left: -10px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition-smooth);
}

.point:hover {
  transform: translateX(10px);
  color: rgba(238,242,248,.95);
}

.point:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.about-visual{
  height: 420px;
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.06) 55%, rgba(0,0,0,.60)),
    radial-gradient(700px 500px at 60% 40%, rgba(110,200,255,.10), transparent 68%),
    url("assets/Candado.jpeg") center / cover no-repeat;
  opacity: .92;
  filter: contrast(1.08) saturate(.92);
  box-shadow: 
    0 60px 160px rgba(0,0,0,.72),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,.05);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(102, 199, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.about-visual:hover::before {
  transform: translateX(100%);
}

.about-visual:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 80px 200px rgba(0,0,0,.85),
    inset 0 0 0 1px rgba(102, 199, 255, 0.1),
    0 0 60px rgba(102, 199, 255, 0.1);
}

/* ---------------- POOL MEJORADO ---------------- */
.pool{
  padding: 90px 0;
  background: linear-gradient(180deg, #000 0%, #05070b 55%, #000 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}

.pool::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.pool-grid{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(22px, 4vw, 64px);
  align-items:center;
}

.pool-kicker{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(238,242,248,.62);
  position: relative;
  display: inline-block;
}

.pool-number{
  margin-top: 10px;
  font-size: clamp(52px, 7vw, 92px);
  letter-spacing: -0.04em;
  font-weight: 500;
  background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(110,200,255,.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(110,200,255,.10));
  position: relative;
  line-height: 1;
}

.pool-number::after {
  content: '+';
  font-size: 0.6em;
  vertical-align: super;
  color: var(--accent);
  filter: drop-shadow(0 0 8px rgba(110,200,255,.3));
}

.pool-label{
  margin-top: 8px;
  color: rgba(238,242,248,.72);
  font-weight: 300;
  position: relative;
  padding-left: 20px;
}

.pool-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
}

.pool-text{
  margin: 0;
  color: rgba(238,242,248,.70);
  font-weight: 300;
  line-height: 1.75;
  max-width: 62ch;
}

.pool-text.muted{ color: rgba(238,242,248,.52); }
.pool-line{
  height: 1px;
  margin: 18px 0;
  background: linear-gradient(90deg, rgba(255,255,255,.10), rgba(110,200,255,.16), rgba(255,255,255,.06));
  position: relative;
  overflow: hidden;
}

.pool-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ---------------- SERVICIOS MEJORADOS ---------------- */
.services{
  padding: 110px 0;
  background: #000;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.services-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(22px, 4vw, 64px);
  align-items:start;
}

.services-head{ 
  position: sticky; 
  top: 26px; 
  align-self:start; 
}

.services-list{
  display:grid;
  border-top: 1px solid rgba(255,255,255,.08);
}

.svc{
  display:grid;
  grid-template-columns: 56px 1fr 120px;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items:center;
  transition: var(--transition-smooth);
  position: relative;
}

.svc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.4s ease;
}

.svc:hover::before {
  height: 100%;
}

.svc:hover{
  transform: translateX(10px);
  border-bottom-color: rgba(110,200,255,.16);
  background: linear-gradient(90deg, rgba(102, 199, 255, 0.05), transparent);
}

.svc-n{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: rgba(238,242,248,.46);
  letter-spacing: .12em;
  font-size: 1.2em;
  transition: var(--transition-smooth);
}

.svc:hover .svc-n {
  color: var(--accent);
  transform: scale(1.1);
}

.svc-title{
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(238,242,248,.92);
  transition: var(--transition-smooth);
}

.svc:hover .svc-title {
  color: rgba(255,255,255,.98);
  text-shadow: 0 0 20px rgba(102, 199, 255, 0.2);
}

.svc-desc{
  margin-top: 6px;
  color: rgba(238,242,248,.64);
  font-weight: 300;
  line-height: 1.6;
  max-width: 70ch;
  transition: var(--transition-smooth);
}

.svc:hover .svc-desc {
  color: rgba(238,242,248,.78);
}

.svc-tag{
  justify-self:end;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(110,200,255,.72);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(110,200,255,.14);
  background: rgba(10,12,18,.25);
  transition: var(--transition-smooth);
}

.svc:hover .svc-tag {
  background: rgba(102, 199, 255, 0.1);
  border-color: rgba(102, 199, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ---------------- CASOS MEJORADOS ---------------- */
.cases{
  padding: 110px 0;
  background: linear-gradient(180deg, #000 0%, #05070b 60%, #000 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  position: relative;
}

.cases::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.case-strip{
  margin-top: 18px;
  padding: 18px 0;
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: radial-gradient(700px 420px at 30% 50%, rgba(110,200,255,.06), transparent 62%);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.case-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 199, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.case-strip:hover::before {
  left: 100%;
}

.case-strip:last-child{ border-bottom: 1px solid rgba(255,255,255,.08); }
.case-meta{ color: rgba(238,242,248,.62); font-weight: 300; }
.case-industry{
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(110,200,255,.72);
  position: relative;
  display: inline-block;
}

.case-industry::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.case-role{ margin-top: 8px; color: rgba(238,242,248,.62); }
.case-quote{
  font-weight: 400;
  color: rgba(238,242,248,.86);
  line-height: 1.65;
  max-width: 80ch;
  position: relative;
  padding-left: 20px;
}

.case-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 2em;
  color: var(--accent);
  opacity: 0.5;
}

.case-strip:hover {
  transform: translateX(10px);
  background: radial-gradient(700px 420px at 30% 50%, rgba(110,200,255,.1), transparent 62%);
  border-color: rgba(102, 199, 255, 0.2);
}

/* ---------------- VIDEO MEJORADO ---------------- */
.video{
  padding: 110px 0;
  background:#000;
  border-top: 1px solid rgba(255,255,255,.06);
  position: relative;
}

.video::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.video-grid{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(22px, 4vw, 64px);
  align-items:start;
}

.video-notes{
  margin-top: 18px;
  display:grid;
  gap: 10px;
  color: rgba(238,242,248,.78);
  font-weight: 300;
}

.video-frame{
  border-radius: 26px;
  overflow:hidden;
  background:
    radial-gradient(700px 420px at 30% 40%, rgba(110,200,255,.10), transparent 60%),
    rgba(8,14,26,.20);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 
    0 60px 160px rgba(0,0,0,.72),
    inset 0 0 0 1px rgba(255,255,255,0.03);
  transition: var(--transition-bounce);
  position: relative;
}

.video-frame:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 80px 200px rgba(0,0,0,.85),
    inset 0 0 0 1px rgba(102, 199, 255, 0.1),
    0 0 80px rgba(102, 199, 255, 0.15);
  border-color: rgba(102, 199, 255, 0.2);
}

.video-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(102, 199, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-frame:hover::before {
  opacity: 1;
}

.video-aspect{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-aspect iframe,
.video-frame video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  transition: transform 0.4s ease;
}

.video-frame:hover .video-aspect iframe,
.video-frame:hover video {
  transform: scale(1.02);
}

/* ---------------- CONTACTO FINAL MEJORADO ---------------- */
.contact{
  padding: 110px 0;
  background:#000;
  border-top: 1px solid rgba(255,255,255,.06);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.contact-grid{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(22px, 4vw, 64px);
  align-items:start;
}

.contact-info{
  margin-top: 22px;
  display:grid;
  gap: 14px;
}

.ci{
  transition: var(--transition-smooth);
  padding: 10px;
  border-radius: 12px;
}

.ci:hover {
  background: rgba(102, 199, 255, 0.05);
  transform: translateX(5px);
}

.ci-k{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(238,242,248,.55);
}

.ci-v{
  display:inline-block;
  margin-top: 6px;
  color: rgba(110,200,255,.85);
  border-bottom: 1px solid rgba(110,200,255,.20);
  padding-bottom: 2px;
  transition: var(--transition-smooth);
}

.ci-v:hover{ 
  border-bottom-color: rgba(110,200,255,.40);
  color: rgba(110,200,255,.95);
  text-shadow: 0 0 20px rgba(102, 199, 255, 0.3);
}

.contact-form{
  border-radius: 26px;
  padding: 22px;
  background:
    radial-gradient(700px 420px at 30% 20%, rgba(110,200,255,.10), transparent 60%),
    rgba(8,14,26,.18);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 
    0 60px 160px rgba(0,0,0,.72),
    inset 0 0 0 1px rgba(255,255,255,0.03);
  transition: var(--transition-smooth);
}

.contact-form:hover {
  box-shadow: 
    0 80px 200px rgba(0,0,0,.85),
    inset 0 0 0 1px rgba(102, 199, 255, 0.1),
    0 0 60px rgba(102, 199, 255, 0.1);
  border-color: rgba(102, 199, 255, 0.15);
}

.field{ 
  display:grid; 
  gap: 8px; 
  margin-bottom: 14px; 
}

.field:focus-within label {
  color: var(--accent);
}

label{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(238,242,248,.58);
  transition: var(--transition-smooth);
}

input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.35);
  color: rgba(238,242,248,.90);
  outline:none;
  transition: var(--transition-smooth);
  font-family: 'Inter', sans-serif;
}

input:focus, textarea:focus{
  border-color: rgba(110,200,255,.38);
  box-shadow: 
    0 0 0 3px rgba(110,200,255,.08),
    0 10px 30px rgba(0,0,0,.3);
  background: rgba(0,0,0,.45);
  transform: translateY(-2px);
}

textarea{ 
  resize: vertical; 
  min-height: 120px; 
}

.send{
  width: 100%;
  border: 1px solid rgba(110,200,255,.18);
  background: linear-gradient(90deg, rgba(110,200,255,.18), rgba(47,121,255,.14));
  color: rgba(238,242,248,.92);
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.send::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.send:hover{
  transform: translateY(-3px);
  border-color: rgba(110,200,255,.28);
  box-shadow: 
    0 15px 40px rgba(0,0,0,.4),
    0 0 30px rgba(102, 199, 255, 0.2);
}

.send:hover::before {
  width: 300px;
  height: 300px;
}

/* ---------------- CURSOR PERSONALIZADO ---------------- */
@media (min-width: 768px) {
  body {
    cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='4' fill='%2366c7ff' opacity='0.7'/%3E%3C/svg%3E") 12 12, auto;
  }
  
  a, button, .svc, input, textarea {
    cursor: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='16' r='6' fill='%2366c7ff' opacity='0.9'/%3E%3C/svg%3E") 16 16, pointer;
  }
}

/* ---------------- REVEALS MEJORADOS ---------------- */
.reveal{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- SCROLLBAR PERSONALIZADA ---------------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, rgba(102, 199, 255, 0.5), rgba(47, 121, 255, 0.5));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, rgba(102, 199, 255, 0.7), rgba(47, 121, 255, 0.7));
}

/* ---------------- RESPONSIVE MEJORADO ---------------- */
@media (max-width: 980px){
  .about-grid{ grid-template-columns: 1fr; }
  .pool-grid{ grid-template-columns: 1fr; }
  .services-grid{ grid-template-columns: 1fr; }
  .services-head{ position: relative; top: 0; }
  .case-strip{ grid-template-columns: 1fr; }
  .video-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  
  .hero-slogan {
    font-size: clamp(16px, 2.2vw, 28px);
  }
}

@media (max-width: 860px){
  .hero{ height: auto; padding: 26px 0; }
  .hero-strip{ grid-template-columns: 1fr; gap: 18px; }
  .hero-left img{ width: 220px; max-height: 190px; mask-image: none; }
  .hero-right{ justify-content:flex-start; }
  .logo-ring{ right: auto; left: 0; }
  .svc{ grid-template-columns: 44px 1fr; }
  .svc-tag{ justify-self:start; margin-top: 10px; width: fit-content; }
  .hero-logo{ width: 160px; height: 160px; }
  .logo-ring{ width: 184px; height: 184px; }
  
  .section-title::after {
    width: 40px;
  }
}

@media (max-width: 480px){
  .container {
    width: calc(100% - 24px);
  }
  
  .brand {
    font-size: 36px;
  }
  
  .pool-number {
    font-size: 42px;
  }
  
  .hero-left img {
    width: 180px;
  }
  
  .hero-logo {
    width: 140px;
    height: 140px;
  }
}

/* =========================
   HERO MOBILE PRO: chica de fondo suavizada + degradado
   ========================= */

@media (max-width: 860px){
  .hero{
    height: auto;
    padding: 26px 0 22px;
    position: relative;
    overflow: hidden;
  }

  /* Quitamos el bloque "hero-left" para que no empuje layout */
  .hero-left{ display:none !important; }

  /* Quitamos el ring extra */
  .logo-ring{ display:none !important; }

  /* Fondo con la chica (suave) */
  .hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    background:
      /* Degradado principal para legibilidad */
      linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.62) 55%, rgba(0,0,0,.88) 100%),
      /* brillo sutil cyan */
      radial-gradient(520px 320px at 18% 40%, rgba(102,199,255,.10), transparent 60%),
      /* imagen */
      url("assets/chica.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 75% center; /* ✅ mueve el encuadre (evita cortes feos) */
    filter: blur(2px) saturate(.9) contrast(1.05);
    opacity: .55;
    transform: scale(1.05);
    pointer-events:none;
  }

  /* Un overlay extra para que se lea aún mejor */
  .hero::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:
      linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55));
    pointer-events:none;
  }

  /* Contenido arriba del fondo */
  .hero-strip{
    position: relative;
    z-index: 2;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    padding: 6px 0;
  }

  .hero-copy::before{ display:none; }

  .hero-copy{
    text-align: left;
  }

  .hero-slogan{
    font-size: clamp(18px, 5.2vw, 26px);
    line-height: 1.15;
    max-width: 26ch;
    margin: 0;
  }

  .hero-sub{
    font-size: 12px;
    letter-spacing: .18em;
  }

  .hero-right{
    justify-content: flex-start;
    padding-top: 6px;
  }

  .hero-logo{
    width: clamp(120px, 32vw, 150px);
    height: clamp(120px, 32vw, 150px);
  }
}

/* Ajuste fino para celulares chicos */
@media (max-width: 480px){
  .hero{ padding: 22px 0 18px; }

  .hero::before{
    background-position: 70% center; /* mueve un poquito el encuadre */
    opacity: .50;
    filter: blur(2.5px) saturate(.88) contrast(1.05);
  }
}
