/* RESET BÁSICO */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: rgb(187, 186, 186);
}

/* CONTENEDOR PRINCIPAL */
.seccion-principal {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 100vh;
  padding: 60px 40px;
  gap: 40px;
}

.info-izquierda h4 {
  color: rgb(255, 253, 253);
  max-width: 420px;     /* controla el ancho del subtítulo */
  margin-left: 115px;    /* lo mueve hacia el centro */
  font-weight: normal;
  font-size: 20px;
  opacity: 1;
}

.info-izquierda h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

/* CAJA COTIZACIÓN DERECHA */
.caja-cotizacion {
  width: 600px;
  height: 300px;              /* ALTURA FIJA */
  background: white;
  color: black;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.25);
  overflow-y: auto;           /* scroll interno si crece el texto */
    margin-top: 160px; 
}

/* FORMULARIO */
.form-cotizacion input,
.form-cotizacion textarea,
.form-cotizacion button {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
}

.form-cotizacion button {
  background: #000;
  color: white;
  border: none;
  cursor: pointer;
}

.btn-servicios {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 30px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  background: linear-gradient(
    120deg,
    #51b302,
     #51b302,
    #02fa5d
  );
  background-size: 200% 200%;
  animation: brillo 2.5s infinite;
  box-shadow: 0 0 15px rgba(4, 240, 90, 0.6);
}

@keyframes brillo {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
  
}

.btn-servicios:hover {
  transform: scale(1.05);
}

.info {
  background: white;
  padding: 60px 20px;
}

.info-container {
  max-width: 900px;
  margin: auto;
  color: #222;

}
html {
  scroll-behavior: smooth;
}

.servicios {
  background: #111;
  color: white;
  padding: 80px 40px;
}
.linea-roja {
  width: 60px;
  height: 2px;
  background: red;
  margin: 10px 0 40px;
}

.servicios h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 32px;
}

/* 🔥 GRID DE 4 COLUMNAS */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.servicio h3 {
  margin-bottom: 15px;
  color: #ff0000;
}

.servicio ul {
  list-style: disc;
  padding-left: 20px;
}

.servicio li {
  margin-bottom: 8px;
  font-size: 15px;
}

/* 📱 RESPONSIVE */
@media (max-width: 900px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
}
/* CONTENEDOR DEL BOTÓN */
.contenedor-btn-cotizacion {
  text-align: center;
  margin-top: 5px;
}

/* BOTÓN ROJO ANIMADO */
.btn-cotizacion {
  display: inline-block;
  padding: 16px 36px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  border-radius: 10px;

  background: linear-gradient(
    120deg,
    #da0000de,
    #ff1e00e3,
    #ff0000
  );
  background-size: 200% 200%;
  animation: brillo-rojo 2.5s infinite;

  box-shadow: 0 0 18px rgba(202, 0, 0, 0.781);
  transition: transform 0.3s ease;
}

.btn-cotizacion:hover {
  transform: scale(1.07);
}

/* ANIMACIÓN ROJA (no afecta al botón verde) */
@keyframes brillo-rojo {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

section#cotizacion {
  padding-top: 160px;
  margin-top: -160px;
}

.contactanos {
  margin-top: 40px;
  color: white;
}

.contactanos h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #ffffff;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.contacto-item img {
  width: 32px;
  height: 32px;
}

/* BARRA BLANCA FIJA IZQUIERDA */
html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;          /* grosor de la barra */
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  pointer-events: none;
}

body {
  padding-left: 10px;   /* mismo valor que la barra */
}

/* ===== BARRA LATERAL BLANCA ===== */
.barra-lateral {
  position: fixed;
  top: 0;
  left: 0;
  width: 60px;
  height: 100vh;
  background: white;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Empuja todo el sitio */
body {
  padding-left: 60px;
}

/* ===== TELÉFONO ===== */
.telefono-box {
  position: relative;
  cursor: pointer;
}

.telefono-box img {
  width: 32px;
  height: 32px;
}

/* Número oculto */
.telefono-numero {
  position: absolute;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mostrar al hover */
.telefono-box:hover .telefono-numero {
  opacity: 1;
  transform: translate(6px, -50%);
}

/* ===== TELÉFONO FIJO ESQUINA SUPERIOR IZQUIERDA ===== */
.telefono-fijo {
  position: fixed;
  top: 100px;
  left: 16px;
  z-index: 10000;
  cursor: pointer;
}

.telefono-fijo img {
  width: 35px;
  height: 35px;
}

/* Número oculto */
.telefono-fijo .telefono-numero {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.85);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Mostrar número al pasar el cursor */
.telefono-fijo:hover .telefono-numero {
  opacity: 1;
  transform: translate(6px, -50%);
}

/* ===== UBICACIÓN FIJA ESQUINA SUPERIOR IZQUIERDA ===== */
.ubicacion-fija {
  position: fixed;
  top: 230px;          /* debajo del teléfono */
  left: 16px;
  z-index: 10000;
  cursor: pointer;
}

.ubicacion-fija img {
  width: 40px;
  height: 40px;
}

/* LISTA OCULTA */
.lista-ubicaciones {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  list-style: none;
  padding: 10px 14px;
  margin: 0;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ESPACIADO ENTRE ITEMS */
.lista-ubicaciones li {
  margin-bottom: 10px;
}

.lista-ubicaciones li:last-child {
  margin-bottom: 0;
}

/* MOSTRAR LISTA */
.ubicacion-fija:hover .lista-ubicaciones {
  opacity: 1;
  transform: translate(6px, -50%);
}

/* ===== FACEBOOK FIJO ESQUINA SUPERIOR IZQUIERDA ===== */
.facebook-fijo {
  position: fixed;
  top: 380px;        /* debajo de ubicación */
  left: 16px;
  z-index: 10000;
  cursor: pointer;
}

.facebook-fijo img {
  width: 36px;      /* mismo tamaño que los otros */
  height: 36px;
}

.telefono-fijo:hover img,
.ubicacion-fija:hover img,
.facebook-fijo:hover img {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* COPYRIGHT FIJO EN ESQUINA */
.copyright-fijo {
  position: fixed;
  bottom: 10px;
  right: 15px;
  font-size: 12px;
  color: #bdbdbd;
  opacity: 0.8;
  z-index: 9999;
  pointer-events: none; /* no estorba clics */
}

/* ===== VIDEO FUTURA ACTUALIZACIÓN ===== */
.video-fijo {
  position: fixed;
  top: 520px;           /* debajo de Facebook */
  left: 15px;
  z-index: 10000;
  cursor: pointer;
}

.video-fijo img {
  width: 40px;
  height: 36px;
}
/* TEXTO OCULTO */
.video-texto {
  position: absolute;
  top: 50%;
  left: 45px;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.9);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
/* MOSTRAR TEXTO */
.video-fijo:hover .video-texto {
  opacity: 1;
  transform: translate(6px, -50%);
}
/* EFECTO HOVER ICONO */
.video-fijo:hover img {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}
/* ✨ BRILLO PARA TODOS LOS ICONOS LATERALES */
.telefono-fijo img,
.ubicacion-fija img,
.facebook-fijo img,
.video-fijo img {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.telefono-fijo:hover img,
.ubicacion-fija:hover img,
.facebook-fijo:hover img,
.video-fijo:hover img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgb(255, 238, 1));
}
/* ✨ BRILLO GRIS PARA COPYRIGHT */
@keyframes brillo-gris {
  0% {
    text-shadow: 0 0 2px rgba(200, 200, 200, 0.3);
    opacity: 0.6;
  }
  50% {
    text-shadow: 0 0 8px rgba(220, 220, 220, 0.9);
    opacity: 1;
  }
  100% {
    text-shadow: 0 0 2px rgba(200, 200, 200, 0.3);
    opacity: 0.6;
  }
}
.copyright-fijo {
  animation: brillo-gris 3s infinite ease-in-out;
}

/* ===============================
   📱 RESPONSIVE GENERAL
   =============================== */

/* -------- TABLET -------- */
@media (max-width: 1024px) {

  .seccion-principal {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .info-izquierda h1 {
    font-size: 38px;
    text-align: center;
  }

  .info-izquierda h4 {
    margin-left: 0;
    text-align: center;
  }

  .caja-cotizacion {
    width: 90%;
    margin-top: 40px;
  }

}

/* -------- CELULAR -------- */
@media (max-width: 768px) {

  /* Quita empuje lateral de la barra */
  body {
    padding-left: 0;
  }

  /* Oculta barra blanca lateral */
  html::before {
    display: none;
  }

  /* Ajuste sección principal */
  .seccion-principal {
    padding: 30px 15px;
  }

  .info-izquierda h1 {
    font-size: 30px;
  }

  .info-izquierda h3 {
    font-size: 18px;
  }

  .info-izquierda p {
    font-size: 15px;
    text-align: center;
  }

  .btn-servicios {
    display: block;
    text-align: center;
    margin: 20px auto;
  }

  /* Caja cotización */
  .caja-cotizacion {
    width: 100%;
    height: auto;
    margin-top: 30px;
  }

  /* Servicios en una columna */
  .servicios-grid {
    grid-template-columns: 1fr;
  }

  /* ICONOS LATERALES → ABAJO */
  .telefono-fijo,
  .ubicacion-fija,
  .facebook-fijo,
  .video-fijo {
    position: fixed;
    bottom: 15px;
    top: auto;
  }

  .telefono-fijo { left: 15px; }
  .ubicacion-fija { left: 70px; }
  .facebook-fijo { left: 125px; }
  .video-fijo { left: 180px; }

  /* Oculta textos flotantes en móvil */
  .telefono-numero,
  .lista-ubicaciones,
  .video-texto {
    display: none;
  }

}

/* -------- CELULAR MUY PEQUEÑO -------- */
@media (max-width: 480px) {

  .info-izquierda h1 {
    font-size: 26px;
  }

  .btn-cotizacion {
    width: 100%;
    text-align: center;
  }

  .copyright-fijo {
    font-size: 10px;
    bottom: 5px;
    right: 8px;
  }
}

/* 📱 MOSTRAR TEXTO DE ICONOS EN CELULAR */
@media (max-width: 768px) {

  .telefono-fijo .telefono-numero,
  .ubicacion-fija .lista-ubicaciones {
    opacity: 1;
    pointer-events: auto;
    transform: translate(6px, -50%);
  }

}

@media (max-width: 768px) {
  .telefono-fijo .telefono-numero,
  .ubicacion-fija .lista-ubicaciones {
    opacity: 1;
    pointer-events: none;
    transform: translate(6px, -50%);
  }
}
/* ===== MODAL SIN JAVASCRIPT ===== */
.modal-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 20000;
}

/* Cuando es target (clic en el icono) */
.modal-video:target {
  display: flex;
}

/* Caja */
.modal-contenido {
  background: #fff;
  color: #000;
  padding: 25px;
  border-radius: 12px;
  width: 85%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.modal-contenido h3 {
  margin-top: 0;
  color: #ff0000;
}

/* Botón cerrar */
.btn-cerrar {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #ff0000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}
/* SHIMURO NAGA DUEÑO DE PAGINA :)