/* Estilos generales */





.page-wrapper {
  overflow-x: hidden;
  position: relative; /* Ayuda a contener otros elementos posicionados */
}

.linea-coloristica {
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, 
    #ccc,        /* gris bajo */
    #20a3e5,     /* azul cielo */
    #602b69,     /* p�rpura */
    #ffb07c,     /* mel�n */
	#FF6552,      /* zapote */
    #a04f1b      /* cafe */
  );
  margin: 1.5rem auto 2rem auto;
  border-radius: 2px;
}


/* MENU DESPLEGABLE */

.boton-menu {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: black;
  color: white;
  padding: 0.5rem 1rem;
  z-index: 1001;
  cursor: pointer;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s;
}

.boton-menu:hover {
  background-color: #333;
}

.cerrar-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: bold;
  color: black;
  z-index: 1003;
}


.menu-lateral {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100vh;
  background-color: white;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
  padding-top: 4rem;
	transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 1002;
}

.menu-lateral ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-lateral ul li {
  padding: 1rem;
  text-align: left;
}

.menu-lateral ul li a {
  text-decoration: none;
  color: black;
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
}

.menu-lateral ul li a:hover {
  background-color: #f0f0f0;
}


@media (max-width: 768px) {
  .menu-lateral {
    width: 80%;
    padding-top: 3rem;
  }

  .menu-lateral ul li {
    padding: 0.8rem;
  }

  .menu-lateral ul li a {
    font-size: 1rem;
  }

  .boton-menu {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .cerrar-menu {
    font-size: 1.2rem;
  }
}


body.menu-abierto .menu-lateral {
  transform: translateX(0%);
}


/* //////////////////// */




.fondo-oscuro {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

/* Activo */
.menu-abierto .menu-lateral {
  right: 0;
}

.menu-abierto .fondo-oscuro {
  display: block;
}




.logo-hero {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 1001;
}

.logo-hero .logo {
  position: absolute;
  top: 0;
  left: 0;
  height: 120px;
  width: auto;
  max-width: 120px;
  transition: opacity 0.6s ease;
}

.logo-color {
  opacity: 0;
}

.logo-visible .logo-blanco {
  opacity: 0;
}

.logo-visible .logo-color {
  opacity: 1;
}



h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

 p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  p {
    font-size: 1rem;
  }
	
	.logo-hero .logo {
  position: absolute;
  top: 0;
  left: 0;
  height: 60px;
  width: auto;
  max-width: 60px;
  transition: opacity 0.6s ease;
}

}





body, html {
  margin: 0 !important;
  padding: 0 !important;
	 width: 100%;
  height: 100%;
  /* overflow-x: hidden; */ /* <--- Comentada o eliminada */
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  background-color: #ebe7dc !important;
}

body {
  padding-right: 60px !important; /* ancho del menú contraído */
}
@media (max-width: 768px) {
  body {
    padding-right: 0 !important;
  }
}
/* ============================
Pantalla Animada 
=============== */

.pantalla-animada {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.pantalla-animada lottie-player {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  height: auto;
  pointer-events: none;
  z-index: -1;
  object-fit: cover;
}


.anim-movil {
  display: none;
}

.anim-desktop {
  display: block;
}

/* Al llegar a m�vil, ocultar escritorio y mostrar m�vil */
@media screen and (max-width: 768px) {

  .pantalla-animada {
  height: 693px;
}

  .anim-desktop {
    display: none;
  }

  .anim-movil {
    display: block;
  }
}





/* Muestra solo el que toca según ancho */
.hero-video__desktop { display: none; }
.hero-video__mobile  { display: block; }

@media (min-width: 769px) {
  .hero-video__desktop { display: block; }
  .hero-video__mobile  { display: none; }
}

/* (Opcional) evita saltos de layout reservando altura aproximada */
.hero-video { position: relative; overflow: hidden; }

/* ============================
Hero moderno + servicios integrados
============================= */
.hero-integrated{
  position: relative;
  padding: 20px;
  background: #ebe7dc;
  overflow: hidden;
}

@media (min-width: 769px){
  .hero-integrated{
    margin-right: 3px; /* compensa padding del body para quedar ~113px del menú */
  }
}

.hero-integrated::after{
  content:"";
  position:absolute;
  inset:auto -10% -25% -10%;
  height: 55%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255,255,255,.08), transparent 70%);
  pointer-events:none;
}

.hero-modern{
  position: relative;
  z-index: 1;
}

.hero-modern__wrap{
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

.hero-shell{
  position: relative;
  border-radius: 28px;
  padding: clamp(20px, 3vw, 36px);
  background:
    linear-gradient(180deg, rgba(96,43,105,.96) 0%, rgba(78,37,94,.94) 60%, rgba(63,31,82,.92) 100%);
  box-shadow: 0 18px 40px rgba(0,0,0,.2);
  width: 100%;
}

.hero-shell::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.hero-shell::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: 28px;
  background-image: url("../textura/textura-coloristica-opacidad25.svg");
  background-size: 260px auto;
  background-repeat: repeat;
  background-position: center;
  opacity: .45;
  pointer-events: none;
  z-index: 0;
}

.hero-shell > *{
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.hero-shell__welcome{
  margin: 10px 0 28px;
  text-align: center;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  width: 100%;
  max-width: none;
}

.hero-card{
  border-radius: 24px;
  padding: clamp(18px, 3vw, 30px);
  background: #1f3b78;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.hero-modern__content{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}

.hero-modern__copy{
  text-align: left;
}

.hero-modern__eyebrow{
  margin: 0 0 .5rem;
  max-width: none;
  font-size: .95rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

.hero-modern__title{
  margin: 0 0 .75rem;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  line-height: 1.1;
  color: #fff;
  font-weight: 700;
}

.hero-modern__title--display{
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: .01em;
}

.hero-modern__tagline{
  margin: 0 0 20px;
  color: rgba(255,255,255,.75);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 600;
}

.hero-modern__desc{
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,.9);
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  line-height: 1.2;
  max-width: 560px;
}

.hero-modern__slide--main .hero-modern__desc{
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  line-height: 1.2;
}

.hero-modern__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
  text-decoration: none;
  font-weight: 700;
  margin-top: 1.2rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero-modern__cta:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
}

.hero-modern__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 40px;
}

.hero-modern__actions .hero-modern__cta{
  margin-top: 0;
}

.hero-modern__cta--ghost{
  background: #fff;
  color: #3f1f52;
  border-color: transparent;
}
.hero-modern__cta--ghost:hover{
  background: #f2f2f2;
}

.hero-modern__media{
  display: flex;
  justify-content: center;
}

.hero-modern__media-frame{
  width: 100%;
  max-width: 460px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  aspect-ratio: 16 / 10;
}

.hero-modern__media-frame video,
.hero-modern__media-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-modern__slider{
  margin-top: clamp(18px, 3vw, 28px);
}

.hero-modern__slider--main{
  margin-top: 0;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

.hero-shell__services{
  margin-top: clamp(24px, 4vw, 36px);
}
.anchor-modales{
  height: 0;
  scroll-margin-top: 120px;
}

.hero-modern__track{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scroll-snap-type: x mandatory;
  scroll-padding: 6px;
  -webkit-overflow-scrolling: touch;
}
.hero-modern__track::-webkit-scrollbar{ display:none; }
.hero-modern__track{ scrollbar-width: none; }

.hero-modern__slide{
  flex: 0 0 min(320px, 80vw);
  scroll-snap-align: start;
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  padding: 14px;
  color: #fff;
  display: grid;
  gap: 10px;
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
}

.hero-modern__track--main{
  gap: 0;
  padding: 0 0 6px;
  scroll-snap-type: x mandatory;
  scroll-padding: 0;
}

.hero-modern__slide--main{
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: .86;
  transform: scale(.98);
  transition: opacity .45s ease, transform .45s ease;
  scroll-snap-align: center;
}

.hero-modern__slide--main.is-active{
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce){
  .hero-modern__slide--main{
    transition: none;
  }
}

.hero-modern__slide--main .hero-card{
  position: relative;
  overflow: hidden;
}

.hero-modern__slide--main .hero-card > *{
  position: relative;
  z-index: 1;
}

.hero-modern__slide--main .hero-card::before{
  content:"";
  position:absolute;
  inset: 0;
  background:
    radial-gradient(420px 260px at 15% 15%, rgba(255,255,255,.2), transparent 70%),
    radial-gradient(520px 340px at 85% 70%, rgba(255,255,255,.14), transparent 70%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,0));
  pointer-events: none;
}

.hero-modern__slide--main .hero-card::after{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(520px 360px at 20% 20%, rgba(255,90,200,.28), transparent 70%),
    radial-gradient(620px 420px at 80% 30%, rgba(90,160,255,.24), transparent 70%),
    radial-gradient(560px 360px at 70% 85%, rgba(0,255,200,.2), transparent 70%);
  filter: blur(12px);
  opacity: .5;
  pointer-events: none;
}

.hero-modern__slide--main.theme-1 .hero-card{
  background: linear-gradient(140deg, #20a3e5 0%, #2b6bdc 45%, #1c2c7a 100%);
}
.hero-modern__slide--main.theme-2 .hero-card{
  background: linear-gradient(140deg, #602b69 0%, #7a3bb0 45%, #3a1c66 100%);
}
.hero-modern__slide--main.theme-3 .hero-card{
  background: linear-gradient(140deg, #d6b25c 0%, #c8904d 45%, #a85f36 100%);
}

.hero-modern__dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.hero-modern__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.2);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.hero-modern__dot.is-active{
  background: #fff;
  border-color: #fff;
  transform: scale(1.15);
}

.hero-shell__services-title{
  margin: 10px 0 22px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  letter-spacing: .02em;
}


.hero-modern__slide--main .hero-modern__media-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-modern__slide img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.hero-modern__slide p{
  margin: 0;
  max-width: none;
  font-size: .95rem;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
}

.hero-modern__chip{
  align-self: start;
  justify-self: start;
  padding: .28rem .7rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}
.hero-modern__chip.sky{ background: #20a3e5; }
.hero-modern__chip.purple{ background: #602b69; }
.hero-modern__chip.melon{ background: #ffb07c; color: #2a1c10; }

.hero-integrated #svcD .svcD-bg{
  display: none;
}
.hero-integrated #svcD .svcD-bg::after{
  background: none;
}
.hero-integrated #svcD .svcD-container{
  padding-top: 10px;
  padding-bottom: 20px;
}
.hero-integrated #svcD{
  background: transparent;
}
.hero-integrated #svcM{
  background: transparent;
  padding: 10px 0 30px;
}

@media (max-width: 900px){
  .hero-modern__content{
    grid-template-columns: 1fr;
  }
  .hero-modern__media{
    order: -1;
  }
  .hero-modern__media-frame{
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }
}



/* Estilos para el Botón Flotante de WhatsApp con Animación */
.whatsapp-flotante {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 130px;
  left: 40px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  
  /* --- NUEVOS CAMBIOS --- */
  opacity: 0.85; /* 1. Ligeramente transparente por defecto */
  transform: scale(0); /* Inicia invisible y escalado a cero */
  animation: aparicion-flotante 0.5s ease-out 2s forwards; /* 2. Animación de aparición */
  transition: all 0.3s ease; /* Transición suave para todos los efectos */
}

.whatsapp-flotante:hover {
  opacity: 1; /* 3. Opacidad completa al pasar el mouse */
  transform: translateY(-5px) scale(1.1);
  box-shadow: 4px 4px 12px rgba(0,0,0,0.3);
  color: #FFF;
}

/* Animación para que el botón aparezca */
@keyframes aparicion-flotante {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 0.85;
  }
}


/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
  .whatsapp-flotante {
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 20px;
    font-size: 24px;
  }
}



/* ===== DIFERENCIA COLORÍSTICA — NUEVA VERSIÓN ===== */
.diferencia-coloristica{
  padding: clamp(2rem, 6vw, 6rem) 1rem;
  background:#f4f1ea;
  color:#111;
}
.diferencia-coloristica .contenedor{
  max-width: 1200px;
  margin: 0 auto;
}

/* Encabezados */
.diferencia-coloristica .intro{
  text-align:center;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 1rem;
  font-weight: 500;
}
.diferencia-coloristica .titulo{
  text-align:center;
   font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  font-family: 'Inter', sans-serif;
  color: #111;
}

/* Grid base: 2 columnas desde tablet */
.diferencia-coloristica .grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 2rem;
}
@media (min-width: 640px){ /* tablet en adelante */
  .diferencia-coloristica .grid{
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
  }
 
}
@media (min-width: 1024px){ /* escritorio ancho */
  .diferencia-coloristica .grid{
    grid-template-columns: repeat(3, 1fr);
  }
  
}

@media(max-width:768px){
   .diferencia-coloristica .intro{
  font-size: 1.0rem;
}
.diferencia-coloristica .titulo{
   font-size: 2.0rem;
}
}

/* Tarjetas */
.diferencia-coloristica .item{
  
  text-align:center;
  transition: transform .25s ease;
}
.diferencia-coloristica .item:hover{
  transform: translateY(-4px);
  
}

/* Ícono arriba del título */
.diferencia-coloristica .icono{
  width:40px; height:40px;
  border-radius:8px;
  display:grid; place-items:center;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg,#87ceeb, #9b59b6 60%, #ffb07c);
  color:#fff;
  box-shadow: 0 8px 16px rgba(155,89,182,.22);
}
.diferencia-coloristica .icono i{ font-size:24px; }

.diferencia-coloristica h3{
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  margin: 0 0 .5rem;
  font-weight:800;
  line-height:1.3;
}
.diferencia-coloristica p{
  margin:0;
  line-height:1.55;
  font-size: clamp(.95rem, 3.5vw, 1rem);
}

/* Para que se mantenga centrado incluso en tablet */
.diferencia-coloristica .item *{
  margin-left:auto;
  margin-right:auto;
  max-width: 90%;
}
