/* ======= FUENTE Y EFECTO DE ENTRADA ======= */
body, html {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #fff;
  font-family: 'Exo 2', sans-serif;
}

body {
  animation: fadeIn 1s ease-in forwards;
  opacity: 0;
}

body {
  background: 
    linear-gradient(
      rgba(31, 31, 30, 0.5),
      rgba(31, 30, 30, 0.5)
    ),
    url("../Images/Empresa.png");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  
}

body {
  position: relative;
  overflow: hidden;
}

/* Fondo animado */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(
      rgba(31, 31, 30, 0.5),
      rgba(31, 30, 30, 0.5)
    ),
    url("../Images/Empresa.png");

  background-size: cover;
  background-position: center;

  z-index: -1;

  animation: zoomBg 4s ease-in-out infinite;
}

/* Animación zoom */
@keyframes zoomBg {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1); /* 🔥 aquí controlas cuánto crece */
  }
  100% {
    transform: scale(1);
  }
}


/* Títulos */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
}

/* Texto general */
body, p, a, li, input, textarea, button {
  font-family: 'Questrial', sans-serif;
  font-weight: 400;
}


/**@font-face {
  font-family: 'ErasMediumITC';
  src: url('Fuente/eras-medium-itc.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'ErasMediumITC';
  src: url('Fuente/eras-itc-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}**/

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ======= CONTENEDOR PRINCIPAL ======= */
.container-fluid {
  display: flex;
  justify-content: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ======= PANELES LATERALES ======= */
.side {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  transition: all 0.8s ease;
  color: white;
  text-transform: uppercase;
  z-index: 1;
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.1.5);
}

.left {
  left: 0;
  background: linear-gradient(135deg, #000000, #8b2855);
  transform: none;
  width: 15%; /* antes 33.3% */
}

.right {
  right: 0;
  background: linear-gradient(135deg, #000000, #e81f41);
  transform: none;
  width: 15%; /* antes 33.3% */
}


/* ======= EFECTO HOVER DE COLOR ======= */
.left:hover {
  background: linear-gradient(135deg, #000000, #8b2855);
}

.right:hover {
  background: linear-gradient(135deg, #000000, #e81f41);
}

/* ======= LOGO CENTRAL ======= */
.content {
  position: absolute;
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  transition: transform 0.4s ease, z-index 0.4s ease;
  overflow: hidden;
  width: 75%;
  max-width: 1500px; /* controla el ancho total */
  padding: 10px 0px; /* más espacio arriba y abajo */
}

.logo {
  width: 580px;
  max-width: 55svw;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 20px rgba(236, 234, 234, 0.25));
}

/* ======= INFO DE LOS PANELES ======= */
.info {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  max-width: 400px;
  color: white;
  text-align: center;
}

.info h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.info p {
  font-size: 1rem;
  text-transform: none;
  margin-bottom: 20px;
}

/* ======= BOTONES ======= */
.btn {
  font-weight: 600;
  border-radius: 25px;
  padding: 10px 25px;
  background: white;
  color: #000000;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.btn:hover {
  background: linear-gradient(90deg, #8b2855, #e81f41);
  color: white;
  box-shadow: 0 0 20px rgba(255,255,255,0.6);
  transform: scale(1.05);
}

/* ======= EFECTO IZQUIERDA ======= */
.container-fluid.left-hover .left {
  width: 70%;
  z-index: 4;
}
.container-fluid.left-hover .left .info {
  opacity: 1;
  transform: translateY(0);
}
.container-fluid.left-hover .logo {
  transform: translateX(-60px) rotate(-5deg);
}

/* ======= EFECTO DERECHA ======= */
.container-fluid.right-hover .right {
  width: 70%;
  z-index: 4;
}
.container-fluid.right-hover .right .info {
  opacity: 1;
  transform: translateY(0);
}
.container-fluid.right-hover .logo {
  transform: translateX(60px) rotate(5deg);
}

/* ======= EFECTO DE DESENFOQUE EN LOGO ======= */
.container-fluid.left-hover .content,
.container-fluid.right-hover .content {
  z-index: 0; /* 🔹 bajamos a 0 para que no sobresalga */
}
.container-fluid.left-hover .content .logo,
.container-fluid.right-hover .content .logo {
  transform: scale(0.9);
  filter: blur(1px) brightness(0.9);
}

/* Efecto blur del texto cuando se activa hover en un panel */
.container-fluid.left-hover .content,
.container-fluid.right-hover .content {
  filter: blur(2px) brightness(0.8);
  transition: filter 0.5s ease;
}

/* Cuando vuelve a su estado normal */
.content {
  transition: filter 0.5s ease;
}


/* ======= EFECTO DEL TEXTO CENTRAL ======= */
@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======= RESPONSIVO ======= */
@media (max-width: 1024px) {
  .logo {
    width: 180px;
  }
  .info h2 {
    font-size: 1.3rem;
  }
  .info p {
    font-size: 0.9rem;
  }
}

/* ======= ANIMACIÓN DE FONDO ======= */
@keyframes gradientMove {
  0% { background-position: 0% 50%; filter: brightness(1); }
  50% { background-position: 100% 50%; filter: brightness(1.4); }
  100% { background-position: 0% 50%; filter: brightness(1); }
}

.left, .right {
  background-size: 250% 250%;
  animation: gradientMove 5s ease-in-out infinite;
}

/* ======= EFECTO DE ICONOS ======= */
.info i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.side.left .info i {
  color: #e65b8d;
}

.side.right .info i {
  color: #ff4f61;
}

.info i:hover {
  transform: scale(1.15);
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255,255,255,0.6);
}

.inicio {
  display: flex;
  height: 100vh;
  background: linear-gradient(to right, #4b002e, #ffffff, #6b0018);
  align-items: center;
  justify-content: center;
  text-align: justify;
}

#izquierda {
  background: linear-gradient(135deg, #000000, #8b2855);
}

#derecha {
  background: linear-gradient(135deg, #000000, #e81f41);
}


.slogan {
  font-weight: 500;
  font-size: 1.2rem;
  color: #000;
}

.subtitulo {
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-top: 15px;
}

/* ======= Texto de indicación debajo del botón ======= */
.hint-text {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(5px);
  pointer-events: none;
  user-select: none;
}

.hint-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.hint-text {
  opacity: 0;
  color: rgba(255, 255, 255, 0.3); /* 🔹 blanco semitransparente */
  font-size: 0.9rem;
  margin-top: 10px;
  transition: opacity 0.4s ease;
}

.hint-text.visible {
  opacity: 1;
}

.texto-lateral {
  position: absolute;
  color: rgba(255, 255, 255, 0.4); /* un poco más brillante */
  font-size: 3rem; /* 🔹 más grande */
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  transform-origin: center;
  transition: opacity 0.4s ease, transform 0.4s ease;
}


.texto-izquierda {
  left: 80px;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.texto-derecha {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translate(50%, -50%) rotate(90deg);
  transform-origin: center;
  transition: none; /* evita que cambie durante hover */
}

.left:hover .texto-izquierda {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.right:hover .texto-derecha {
  opacity: 0;
  transform: translate(50%, -50%) rotate(90deg) scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Aseguramos transición suave en estado normal también */
.texto-lateral {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ======= Sección de Misión, Frase y Visión ======= */
.content .row {
  width: 100%;
  max-width: none; /* ancho total más controlado */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
  text-align: center;
}

.content .col-md-4 {
  flex: 1;
  padding: 0 25px;
  text-align: justify;
}

/* Título MISION a la izquierda */
.content .col-md-4:first-child h3 {
  text-align: left;
  width: 100%;
}

/* Título VISION a la derecha */
.content .col-md-4:last-child h3 {
  text-align: right;
  width: 100%;
}


/* Quitar bordes si prefieres un look más limpio */
.content .col-md-4:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

/* Encabezados */
.content h3 {
  font-weight: 700;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-align: center;
   text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

.content h4 {
  
  color: #ffffff;
  font-size: 1.3rem;
  margin-top: 0px;
  margin-bottom: 0;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
   text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

.content p {
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #f1f1f1;
  margin: 0 auto;
  max-width: 95%;
   text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

/* Ajuste responsivo */
@media (max-width: 992px) {
  .content .row {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }

  .content .col-md-4 {
    width: 100%;
    border: none;
    padding: 15px 0;
  }

  .content p {
    text-align: center;
  }
}

/* Panel izquierdo más puntiagudo */
.side.left {
  clip-path: polygon(0 0, 78% 0, 100% 45%, 78% 100%, 0 100%);
}

/* Panel derecho más puntiagudo */
.side.right {
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 22% 100%, 0 55%);
}

/* ===== ANIMACIÓN CON REBOTE ===== */
@keyframes bounceUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CONTENEDOR DEL BOTÓN ===== */
.contacto-btn-container {
  text-align: center;
  margin-top: 25px;
  animation: bounceUp 0.8s ease-out forwards; /* 🔹 'forwards' mantiene el estado final */
  animation-delay: 0.3s;
  opacity: 0; /* se oculta solo antes de animar */
}

/* ===== ESTILO DEL BOTÓN ===== */
.btn-contacto {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(90deg, #8b2855, #e81f41);
  border: none;
  border-radius: 25px;
  padding: 8px 28px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.btn-contacto:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(233, 31, 65, 0.4);
  background: linear-gradient(90deg, #e81f41, #8b2855);
}

/* ===== POPUP OVERLAY ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none; /* 🔹 oculto por defecto */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* ===== CONTENIDO DEL POPUP ===== */
.popup-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 18px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  max-width: 420px;
  width: 90%;
  text-align: center;
  animation: popupIn 0.4s ease;
}

/* ===== ANIMACIÓN DE ENTRADA ===== */
@keyframes popupIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ===== BOTÓN DE CIERRE ===== */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #555;
  transition: 0.3s;
}

.close-btn:hover {
  color: #e81f41;
}

/* ===== FORMULARIO ===== */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.9rem;
}

.contact-form .btn-enviar {
  background: linear-gradient(90deg, #8b2855, #e81f41);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form .btn-enviar:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #e81f41, #8b2855);
}

/* ====== GENERAL ====== */
html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ====== ESCRITORIO (sin scroll) ====== */
@media (min-width: 993px) {
  html, body {
    height: 100vh;
    overflow: hidden; /* No scroll en escritorio */
  }

  .container-fluid {
    height: 100vh;
  }
}

/* ====== MÓVILES (con scroll) ====== */
@media (max-width: 992px) {
  html, body {
    height: auto;
    overflow-y: auto; /* Permite scroll */
  }

  .container-fluid {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
}

/* ====== BOTÓN DE CONTACTO MÓVIL ====== */
.btn-contacto-mobile {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(90deg, #8b2855, #e81f41);
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  font-size: 0.9rem;
  z-index: 999;
  transition: all 0.3s ease;
}

/* Efecto al tocar o pasar el cursor */
.btn-contacto-mobile:hover {
  transform: scale(1.08);
}

/* Mostrar solo en móviles */
@media (min-width: 993px) {
  .btn-contacto-mobile {
    display: none;
  }
}

.footer-luam {
  color: rgba(255,255,255,0.7);
}

.social-icons a {
  color: rgba(255,255,255,0.7);
  font-size: 1.3rem;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: #e81f41; /* 🔥 tu color principal */
  transform: scale(1.2);
}

.contact-form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.9rem;
}

.footer-luam a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.cool{
  font-size: 0.8rem;
}

.footer-luam a:hover {
  color: #fff;
}


/******************* VERSION MOVIL PRO *******************/

/* ===== OCULTAR MOVIL POR DEFECTO ===== */
.mobile-layout {
  display: none;
}

/* ===== TIPOGRAFÍA IGUAL QUE DESKTOP ===== */
.mobile-layout h1,
.mobile-layout h2,
.mobile-layout h3,
.mobile-layout h4 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
}

.mobile-layout p,
.mobile-layout button {
  font-family: 'Questrial', sans-serif;
}

/* ===== MOSTRAR SOLO EN MOVIL + TABLET ===== */
@media (max-width: 1024px) {

  #main {
    display: none;
  }

  .mobile-layout {
    display: block;
    padding: 25px 15px;
    position: relative;
    z-index: 1;
  }

  /* ===== OVERLAY MÁS SUAVE ===== */
  .mobile-layout::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.30);
    z-index: -1;
  }

  /* ===== FONDO CORREGIDO ===== */
  body {
    background: url("../Images/Empresa.png") center/cover no-repeat;
    background-attachment: scroll;
  }

  /* ===== FONDO ANIMADO ===== */
  body::before {
    content: "";
    position: fixed;
    inset: 0;

    background: url("../Images/Empresa.png") center/cover no-repeat;

    z-index: -2;

    animation: zoomBg 8s ease-in-out infinite;
    transform: scale(1.05);
  }

  /* ===== LOGO ===== */
  .mobile-logo {
    width: 200px;
    margin: 20px auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
  }

  /* ===== FRASE ===== */
  .mobile-block {
    margin-bottom: 25px;
    text-align: center;
  }

  .mobile-block h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
  }

  /* ===== CARDS ===== */
  .mobile-card {
    background: rgba(20,20,20,0.55);
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 15px;
    text-align: center;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  }

  .mobile-card h3 {
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #ffffff;
  }

  .mobile-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #f1f1f1;
  }

  /* ===== SERVICIOS ===== */
  .mobile-service {
    padding: 30px 20px;
    border-radius: 20px;
    margin: 20px 0;
    text-align: center;
    color: white;

    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    transition: 0.3s ease;
  }

  .mobile-service i {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  .mobile-service.contable {
    background: linear-gradient(135deg, #000000, #8b2855);
  }

  .mobile-service.tech {
    background: linear-gradient(135deg, #000000, #e81f41);
  }

  /* BOTÓN */
  .mobile-service .btn {
    background: linear-gradient(90deg, #8b2855, #e81f41);
    color: #fff;
    border-radius: 30px;
    padding: 12px 25px;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(232,31,65,0.4);
  }

  /* BOTÓN CONTACTO */
  .mobile-layout .btn-contacto {
    background: linear-gradient(90deg, #8b2855, #e81f41);
    border-radius: 30px;
    padding: 12px 25px;
    font-weight: 700;
  }

  /* FOOTER */
  .mobile-layout footer {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
  }
}

/* ===== ANIMACIÓN MÁS SUAVE ===== */
@keyframes zoomBg {
  0% { transform: scale(1.05); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1.05); }
}

/* ===== ICONOS ===== */
.mobile-service.contable i {
  color: #e65b8d;
  text-shadow: 0 0 10px rgba(230,91,141,0.6);
}

.mobile-service.tech i {
  color: #ff4f61;
  text-shadow: 0 0 10px rgba(255,79,97,0.6);
}

/* ===== BOTÓN WHATSAPP ===== */
.btn-whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;

  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;

  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 1.8rem;

  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  z-index: 9999;
}

/* OCULTAR BOTÓN NORMAL EN MOVIL */
@media (max-width: 1024px) {
  .btn-contacto {
    display: none;
  }
}

/* SOLO mostrar WhatsApp en móvil/tablet */
@media (min-width: 1025px) {
  .btn-whatsapp-float {
    display: none;
  }
}

/* Pantallas grandes */
@media (min-width: 1600px){

    .content{
        width: 70%;
        max-width: 1200px;
    }

    .logo{
        width: 700px;
        max-width: 55vw;
    }

    .left,
    .right{
        width: 15%;
    }

    .texto-lateral{
        font-size: 4rem;
    }

    .content h3{
        font-size: 2rem;
    }

    .content h4{
        font-size: 2.2rem;
    }

    .content p{
        font-size: 1rem;
    }
}


/* Tablets */
@media (max-width: 1024px){

    .content{
        width: 75%;
    }

    .logo{
        width: 420px;
    }

    .left,
    .right{
        width: 12%;
    }

    .texto-lateral{
        font-size: 2.5rem;
    }

    .content h3{
        font-size: 1.5rem;
    }

    .content h4{
        font-size: 1.7rem;
    }

    .content p{
        font-size: 0.9rem;
    }
}

@media (max-width: 1599px){

    .left,
    .right{
        width: 10%;
    }

    .content{
        width: 80%;
        max-width: 1200px;
    }

    .logo{
        width: 500px;
    }

    .texto-lateral{
        font-size: 3rem;
    }
}

@media (min-width: 1600px){

    .left,
    .right{
        width: 12%;
    }

    .content{
        width: 76%;
        max-width: 1500px;
    }

    .logo{
        width: 650px;
    }

    .texto-lateral{
        font-size: 4rem;
    }
}

@media (max-width: 1024px){

    .left,
    .right{
        width: 8%;
    }

    .content{
        width: 84%;
    }

    .logo{
        width: 400px;
    }

    .texto-lateral{
        font-size: 2.2rem;
    }
}