/* ==========================================================
   PLAN PRO — FINAL LIMPIO
   Servicio Técnico La Esperanza

   CONTIENE:
   - Header
   - Navegación
   - Hero
   - Barra de confianza
   - Por qué elegirme
   - Servicios
   - Testimonios
   - Botones
   - Footer
   - WhatsApp flotante

   IMPORTANTE:
   El QR sigue controlado por style.css.
========================================================== */


/* ==========================================================
   HEADER
========================================================== */

.pro-header{
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 300;

  padding: 16px 0;

  background:
    rgba(255,255,255,.03);

  backdrop-filter:
    blur(8px);

  -webkit-backdrop-filter:
    blur(14px);

  border-bottom:
    1px solid rgba(255,255,255,.06);

  box-shadow:
    0 0 0 rgba(0,0,0,0);

  transition:
    background .35s ease,
    box-shadow .35s ease,
    backdrop-filter .35s ease;
}


/* Niebla superior */

.pro-header::after{
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 120px;

  pointer-events: none;

  background:
    linear-gradient(
      to bottom,

      rgba(0,0,0,.32) 0%,

      rgba(0,0,0,.16) 45%,

      rgba(0,0,0,0) 100%
    );
}


/* Header al hacer scroll */

.pro-header.scrolled{
  background:
    rgba(11,18,32,.78);

  backdrop-filter:
    blur(12px);

  -webkit-backdrop-filter:
    blur(12px);

  box-shadow:
    0 12px 35px rgba(0,0,0,.35);
}



/* ==========================================================
   NAVEGACIÓN
========================================================== */

.pro-nav{
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 14px;

  width:
    min(1100px,92%);

  margin:
    0 auto;

  padding:
    14px 0;
}



/* Marca */

.pro-nav__brand,
.pro-nav .logo{
  text-decoration: none;

  color:
    rgba(255,255,255,.92);

  font-weight: 900;

  letter-spacing: .3px;

  font-size: 1.05rem;

  padding:
    10px 12px;

  border-radius:
    12px;

  text-shadow:
    0 10px 26px rgba(0,0,0,.65);

  transition:
    background .2s ease,
    transform .2s ease;
}


.pro-nav__brand:hover,
.pro-nav .logo:hover{
  background:
    rgba(255,255,255,.08);

  transform:
    translateY(-1px);
}



/* Links */

.pro-nav__links,
.pro-nav-links{
  display: flex;

  align-items: center;

  gap: 10px;
}


.pro-nav__links a,
.pro-nav-links a{
  text-decoration: none;

  color:
    rgba(255,255,255,.92);

  font-weight: 750;

  font-size: 1.02rem;

  padding:
    10px 14px;

  border-radius:
    999px;

  border:
    1px solid rgba(255,255,255,.14);

  background:
    rgba(255,255,255,.06);

  text-shadow:
    0 10px 26px rgba(0,0,0,.65);

  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease,
    color .2s ease;
}


.pro-nav__links a:hover,
.pro-nav-links a:hover{
  background:
    rgba(255,255,255,.10);

  border-color:
    rgba(255,255,255,.22);

  transform:
    translateY(-1px);
}


/* Página activa */

.pro-nav__links a.activo,
.pro-nav-links a.activo{
  background:
    rgba(255,193,7,.16);

  border-color:
    rgba(255,193,7,.35);

  color:
    #FFC107;

  box-shadow:
    0 10px 28px rgba(0,0,0,.25);
}



/* Espacio del header fijo */

body.pro{
  padding-top: 72px;
}



/* ==========================================================
   NAVEGACIÓN RESPONSIVE
========================================================== */

@media (max-width: 860px){

  .pro-nav{
    flex-direction:
      column;

    align-items:
      flex-start;

    padding:
      12px 0;
  }


  .pro-nav__links,
  .pro-nav-links{
    width: 100%;

    flex-wrap: wrap;

    gap: 8px;
  }


  .pro-nav__links a,
  .pro-nav-links a{
    font-size: .98rem;

    padding:
      9px 12px;
  }

}



/* ==========================================================
   HERO
========================================================== */

.pro-hero{
  position: relative;

  width: 100%;

  min-height: 430px;

  overflow: hidden;

  background:
    #0b1220;

  display: grid;

  place-items: center;
}



/* Imagen de fondo */

.pro-hero__bg{
  position: absolute;

  inset: 0;

  z-index: 0;

  background-image:
    url("../img/hero1.webp");

  background-size:
    cover;

  background-position:
    center;

  transform:
    scale(1.04);

  transition:
    transform .6s ease-out;
}



/* Oscurecimiento */

.pro-hero::before{
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  background:

    radial-gradient(
      900px 400px
      at 20% 10%,

      rgba(56,182,255,.12),

      transparent 60%
    ),

    radial-gradient(
      800px 400px
      at 80% 15%,

      rgba(124,92,255,.10),

      transparent 55%
    ),

    linear-gradient(
      to bottom,

      rgba(0,0,0,.70),

      rgba(0,0,0,.85)
    );
}



/* Movimiento suave */

.pro-hero:hover
.pro-hero__bg{
  transform:
    scale(1.07)
    translateY(-8px);
}



/* Contenido */

.pro-hero__content{
  position: relative;

  z-index: 2;

  width:
    min(1100px,92%);

  margin:
    0 auto;

  padding:
    110px 0 60px;

  text-align: center;

  display: flex;

  flex-direction: column;

  align-items: center;
}



/* Texto superior */

.pro-hero__eyebrow{
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "SF Pro Display",
    "SF Pro Text",
    Segoe UI,
    Roboto,
    Arial;

  text-transform: uppercase;

  letter-spacing: .26em;

  font-weight: 700;

  font-size: 12px;

  opacity: .45;

  color:
    rgba(255,255,255,.85);

  margin-bottom: 10px;
}



/* Nombre */

.pro-hero__brand{
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "SF Pro Display",
    "SF Pro Text",
    Segoe UI,
    Roboto,
    Arial;

  margin:
    0 0 18px;

  font-weight: 600;

  letter-spacing: .01em;

  font-size:
    clamp(14px,1.25vw,18px);

  color:
    rgba(255,255,255,.85);

  text-shadow:
    0 10px 28px rgba(0,0,0,.55);
}


.pro-hero__brand span{
  margin-left: 12px;

  font-weight: 500;

  font-size: 12px;

  letter-spacing: .12em;

  text-transform: uppercase;

  color:
    rgba(255,255,255,.55);
}



/* Título */

.pro-hero__title{
  font-family:
    "Manrope",
    "Inter",
    sans-serif;

  font-weight: 900;

  font-size:
    clamp(2.2rem,4vw,4.6rem);

  line-height: 1.1;

  color: #ffffff;

  margin:
    0 0 12px;

  text-shadow:
    0 14px 35px rgba(0,0,0,.65);

  max-width: 920px;
}



/* Descripción */

.pro-hero__lead{
  max-width: 920px;

  margin:
    0 auto 18px;

  color:
    rgba(241,245,249,.92);

  line-height: 1.6;

  font-size:
    clamp(1.05rem,1.4vw,1.3rem);

  text-shadow:
    0 12px 30px rgba(0,0,0,.60);
}



/* CTA Hero */

.pro-hero__cta{
  display: flex;

  gap: 14px;

  justify-content: center;

  align-items: center;

  flex-wrap: wrap;

  margin-top: 16px;
}



/* Beneficios */

.pro-hero__bullets{
  margin-top: 16px;

  display: flex;

  gap: 12px;

  justify-content: center;

  flex-wrap: wrap;

  color:
    rgba(241,245,249,.95);

  font-weight: 700;

  text-shadow:
    0 12px 30px rgba(0,0,0,.55);
}



/* ==========================================================
   BARRA DE CONFIANZA
========================================================== */

.trustbar{
  background:
    linear-gradient(
      90deg,

      rgba(56,182,255,.12),

      rgba(124,92,255,.10)
    );

  border-top:
    1px solid rgba(255,255,255,.08);

  border-bottom:
    1px solid rgba(255,255,255,.08);

  padding:
    24px 0;
}


.trustbar__grid{
  width:
    min(1100px,92%);

  margin:
    0 auto;

  display: grid;

  grid-template-columns:
    repeat(4,1fr);

  gap: 16px;
}


.trustbar__item{
  background:
    rgba(255,255,255,.08);

  border-radius: 16px;

  padding: 16px;

  text-align: center;

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}


.trustbar__item:hover{
  transform:
    translateY(-8px);

  filter:
    brightness(1.02);

  box-shadow:
    0 26px 70px rgba(0,0,0,.16);
}


.trustbar__kpi{
  display: block;

  font-weight: 900;

  font-size: 18px;

  color: #ffffff;
}


.trustbar__label{
  display: block;

  font-size: 13px;

  color:
    rgba(255,255,255,.75);
}


@media (max-width: 900px){

  .trustbar__grid{
    grid-template-columns:
      repeat(2,1fr);
  }

}


@media (max-width: 520px){

  .trustbar__grid{
    grid-template-columns:
      1fr;
  }

}



/* ==========================================================
   SECCIONES PRINCIPALES
========================================================== */

.pro-section{
  padding:
    48px 0;
}


.pro-why{
  width: 100%;

  display: flex;

  justify-content: center;
}


.pro-why__text,
main.contenedor.sombra{
  background:
    rgba(238,242,255,.96);

  border:
    1px solid rgba(19,32,66,.12);

  border-radius: 18px;

  padding: 26px;

  width:
    min(1100px,92%);

  margin:
    0 auto;

  text-align: center;
}


.pro-title{
  color: #0b1220;

  margin:
    0 0 10px;
}


.pro-lead,
.pro-list{
  color:
    rgba(17,24,39,.82);
}


.pro-list{
  display: inline-block;

  text-align: left;

  margin:
    12px auto 0;

  padding-left: 18px;
}


.pro-list li{
  margin:
    6px 0;
}



/* ==========================================================
   CTA GENERAL
========================================================== */

.pro-cta{
  display: flex;

  justify-content: center;

  gap: 14px;

  flex-wrap: wrap;

  margin-top: 16px;
}



/* ==========================================================
   SERVICIOS
========================================================== */

body.pro .servicio{
  background:
    #ffffff;

  border-radius: 18px;

  padding: 20px;

  border:
    1px solid rgba(19,32,66,.12);

  box-shadow:
    0 18px 60px rgba(0,0,0,.08);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}


body.pro .servicio:hover{
  transform:
    translateY(-8px);

  filter:
    brightness(1.02);

  box-shadow:
    0 28px 80px rgba(0,0,0,.15);
}


.servicio h3{
  color: #0f172a;

  font-weight: 900;
}


.servicio p{
  color:
    rgba(17,24,39,.78);

  line-height: 1.7;
}



/* Iconos */

.servicio .iconos{
  width: 160px;

  height: 160px;

  background:
    #F5C542;

  box-shadow:
    0 18px 60px rgba(245,197,66,.25);
}


.iconos .icono-img{
  width: 110px;

  height: 110px;
}



/* ==========================================================
   TESTIMONIOS
========================================================== */

.testi-grid{
  display: grid;

  gap: 20px;

  margin-top: 28px;
}


body.pro .testi{
  display: grid;

  grid-template-columns:
    90px 1fr;

  gap: 18px;

  align-items: center;

  background:
    rgba(255,255,255,.96);

  border:
    1px solid rgba(15,23,42,.10);

  border-radius: 18px;

  padding: 22px;

  box-shadow:
    0 18px 55px rgba(0,0,0,.12);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}


body.pro .testi:hover{
  transform:
    translateY(-8px);

  filter:
    brightness(1.02);

  box-shadow:
    0 28px 75px rgba(0,0,0,.18);
}


.testi__avatar{
  width: 90px;

  height: 90px;

  border-radius: 16px;

  object-fit: cover;

  background:
    #f8fafc;

  border:
    2px solid rgba(56,182,255,.25);

  box-shadow:
    0 14px 30px rgba(0,0,0,.18);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}


body.pro .testi:hover
.testi__avatar{
  transform:
    scale(1.05);

  box-shadow:
    0 18px 40px rgba(0,0,0,.25);
}


.testi__text{
  color: #334155;

  font-weight: 500;

  margin-bottom: 10px;
}


.testi__meta{
  display: flex;

  gap: 10px;

  align-items: center;
}


.testi__name{
  color: #0f172a;

  font-weight: 700;
}


.testi__stars{
  letter-spacing: 1px;

  font-size: 14px;
}



/* ==========================================================
   TESTIMONIOS RESPONSIVE
========================================================== */

@media (max-width: 700px){

  body.pro .testi{
    grid-template-columns:
      70px 1fr;

    padding: 18px;
  }


  .testi__avatar{
    width: 70px;

    height: 70px;

    border-radius: 14px;
  }

}



/* ==========================================================
   REVEAL
========================================================== */

.pro-reveal{
  opacity: 0;

  transform:
    translateY(18px);

  filter:
    blur(2px);

  transition:
    opacity .55s ease,
    transform .55s ease,
    filter .55s ease;

  will-change:
    opacity,
    transform,
    filter;
}


.pro-visible{
  opacity: 1;

  transform:
    translateY(0);

  filter:
    blur(0);
}



/* ==========================================================
   CONTRASTE SECCIONES OSCURAS
========================================================== */

body.pro .pro-section--soft .pro-title,
body.pro .pro-section--soft .pro-eyebrow,
body.pro #testimonios .pro-title,
body.pro #testimonios .pro-eyebrow{
  color:
    rgba(255,255,255,.96) !important;

  text-shadow:
    0 12px 30px rgba(0,0,0,.55);
}


body.pro h2{
  text-shadow:
    0 10px 25px rgba(0,0,0,.45);
}



/* ==========================================================
   FOOTER
========================================================== */

footer.footer{
  /*
    Reserva inferior para que WhatsApp flotante
    nunca cubra el copyright.
  */

  padding:
    26px 0 calc(120px + env(safe-area-inset-bottom));

  color:
    rgba(241,245,249,.85);

  text-align: center;
}



/* ==========================================================
   BOTONES PRO
========================================================== */

.boton.pro-btn{
  position: relative;

  border-radius: 1.2rem;

  font-weight: 900;

  letter-spacing: .3px;

  background:
    linear-gradient(
      180deg,

      #38b6ff,

      #219feb
    );

  border:
    1px solid rgba(255,255,255,.18);

  color: #06101f;

  box-shadow:
    0 14px 40px rgba(0,0,0,.25);

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}


.boton.pro-btn:hover{
  transform:
    translateY(-4px);

  box-shadow:
    0 22px 60px rgba(0,0,0,.35);
}



/* Glow */

.boton.pro-btn::after{
  content: "";

  position: absolute;

  inset: -3px;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,

      rgba(79,172,254,.55),

      rgba(124,92,255,.45)
    );

  filter:
    blur(10px);

  opacity: .55;

  z-index: -1;

  transition:
    opacity .25s ease;
}


.boton.pro-btn:hover::after{
  opacity: .85;
}



/* ==========================================================
   BOTÓN GHOST
========================================================== */

.boton.pro-btn--ghost{
  position: relative;

  background:
    transparent;

  border:
    2px solid transparent;

  font-weight: 800;

  color: #334155;

  transition:
    transform .25s ease,
    box-shadow .25s ease,
    color .25s ease;
}


.boton.pro-btn--ghost::before{
  content: "";

  position: absolute;

  inset: 0;

  border-radius: inherit;

  padding: 2px;

  background:
    linear-gradient(
      120deg,

      #38b6ff,

      #7c5cff,

      #38b6ff
    );

  background-size:
    300% 300%;

  animation:
    glowMove 4s linear infinite;

  -webkit-mask:
    linear-gradient(#fff 0 0)
    content-box,

    linear-gradient(#fff 0 0);

  -webkit-mask-composite:
    xor;

  mask-composite:
    exclude;

  z-index: -1;

  opacity: .75;
}


.boton.pro-btn--ghost:hover{
  transform:
    translateY(-4px);

  box-shadow:
    0 18px 50px rgba(56,182,255,.25);

  color:
    #0f172a;
}



/* Ghost en Hero */

.pro-hero
.boton.pro-btn--ghost{
  color:
    #ffffff;
}


.pro-hero
.boton.pro-btn--ghost:hover{
  color:
    #ffffff;
}



/* ==========================================================
   ANIMACIÓN BOTÓN
========================================================== */

@keyframes glowMove{

  0%{
    background-position:
      0% 50%;
  }

  50%{
    background-position:
      100% 50%;
  }

  100%{
    background-position:
      0% 50%;
  }

}



/* ==========================================================
   CONTRASTE SERVICIOS
========================================================== */

body.pro .subtitulo,
body.pro main.contenedor.sombra h2,
body.pro main.contenedor.sombra h3{
  color:
    #0b1220;
}


body.pro main.contenedor.sombra p{
  color:
    rgba(17,24,39,.78);
}



/* ==========================================================
   WHATSAPP FLOTANTE
   BOTÓN REDONDO EN TODAS LAS PÁGINAS
========================================================== */

.contact-float{
  position: fixed;

  right: 24px;
  bottom: 26px;

  z-index: 9999;

  width: 68px;
  height: 68px;
  min-height: 68px;

  display: flex;

  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,

      rgba(7,21,42,.96),

      rgba(3,13,29,.97)
    );

  border:
    1px solid rgba(37,211,102,.28);

  box-shadow:
    0 18px 50px rgba(0,0,0,.42),
    0 0 25px rgba(37,211,102,.08);

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);

  transition:
    transform .28s ease,
    border-color .28s ease,
    box-shadow .28s ease;
}


.contact-float:hover{
  transform:
    translateY(-5px);

  border-color:
    rgba(37,211,102,.50);

  box-shadow:
    0 24px 65px rgba(0,0,0,.48),
    0 0 34px rgba(37,211,102,.16);
}



/* ==========================================================
   BOTÓN WHATSAPP
========================================================== */

.contact-float__whatsapp{
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  min-width: 0;

  padding: 0;

  overflow: hidden;

  border-radius: 50%;

  color: #ffffff;

  text-decoration: none;

  background:
    linear-gradient(
      135deg,

      rgba(37,211,102,.075),

      rgba(37,211,102,.025)
    );

  transition:
    background .25s ease;
}



/* ==========================================================
   LUZ WHATSAPP
========================================================== */

.contact-float__whatsapp::before{
  content: "";

  position: absolute;

  width: 150px;
  height: 150px;

  right: -60px;
  bottom: -70px;

  border-radius: 50%;

  pointer-events: none;

  background:
    radial-gradient(
      circle,

      rgba(37,211,102,.27),

      rgba(37,211,102,.08) 35%,

      transparent 68%
    );

  opacity: .38;

  transition:
    opacity .25s ease,
    transform .35s ease;
}


.contact-float__whatsapp:hover::before{
  opacity: .85;

  transform:
    translate(-32px,-22px);
}


.contact-float__whatsapp:hover{
  background:
    linear-gradient(
      135deg,

      rgba(37,211,102,.14),

      rgba(37,211,102,.045)
    );
}



/* ==========================================================
   ICONO WHATSAPP
========================================================== */

.contact-float__whatsapp-icon{
  position: relative;

  z-index: 2;

  display: block;

  width: 46px;
  height: 46px;

  flex-shrink: 0;

  object-fit: contain;

  filter:
    drop-shadow(
      0 0 7px rgba(37,211,102,.36)
    );

  transition:
    transform .25s ease,
    filter .25s ease;
}


.contact-float__whatsapp:hover
.contact-float__whatsapp-icon{
  transform:
    scale(1.09);

  filter:
    drop-shadow(
      0 0 13px rgba(37,211,102,.58)
    );
}



/* ==========================================================
   TEXTO WHATSAPP
   OCULTO EN TODAS LAS RESOLUCIONES
========================================================== */

.contact-float__whatsapp-text{
  display: none;
}



/* ==========================================================
   FOCUS
========================================================== */

.contact-float__whatsapp:focus-visible{
  outline:
    2px solid #38B6FF;

  outline-offset:
    4px;
}



/* ==========================================================
   WHATSAPP — TABLET
========================================================== */

@media (max-width: 760px){

  .contact-float{
    right: 14px;

    bottom: 14px;

    width: 60px;
    height: 60px;
    min-height: 60px;

    border-radius: 50%;
  }


  /*
    Dejamos espacio suficiente en el footer
    para que WhatsApp no cubra el copyright.
  */

  footer.footer{
    padding-bottom:
      calc(100px + env(safe-area-inset-bottom));
  }


  .contact-float__whatsapp{
    min-width: 0;

    padding: 0;

    border-radius: 50%;
  }


  .contact-float__whatsapp-icon{
    width: 40px;
    height: 40px;
  }

}



/* ==========================================================
   WHATSAPP — CELULAR
========================================================== */

@media (max-width: 520px){

  .contact-float{
    right: 10px;

    bottom: 10px;

    width: 58px;
    height: 58px;
    min-height: 58px;

    border-radius: 50%;
  }


  /*
    En celular se mantiene el espacio necesario
    para que el botón flotante no cubra el copyright.
  */

  footer.footer{
    padding-bottom:
      calc(84px + env(safe-area-inset-bottom));
  }


  .contact-float__whatsapp{
    min-width: 0;

    padding: 0;

    border-radius: 50%;
  }


  .contact-float__whatsapp-icon{
    width: 42px;
    height: 42px;
  }

}



/* ==========================================================
   ACCESIBILIDAD
========================================================== */

@media (prefers-reduced-motion: reduce){

  .pro-reveal{
    opacity:
      1 !important;

    transform:
      none !important;

    filter:
      none !important;

    transition:
      none !important;
  }


  .pro-hero__bg,
  .boton.pro-btn,
  .trustbar__item,
  body.pro .servicio,
  body.pro .testi,
  .testi__avatar,
  .contact-float,
  .contact-float__whatsapp,
  .contact-float__whatsapp::before,
  .contact-float__whatsapp-icon{
    transition:
      none !important;
  }

}