/* service-website
  001 - generales
  002 - nabbar
*/

/* 001 - generales */


html {
   box-sizing: border-box;
   font-size: 16px;
   font-family: 'Century Gothic', Arial, sans-serif;
   font-weight: lighter;
   font-style: normal;
   scroll-behavior: smooth;
}
    
*,
*::after,
*::before {
   box-sizing: inherit;
}
    
body {
   margin: 0;
   padding: 0;
   overflow-x: hidden;
}

/* ===============================
   RESET BÁSICO
================================ */
.nav_contenedor * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===============================
   CONTENEDOR NAV
================================ */
.nav_contenedor {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 1000;
}

/* ===============================
   LOGO
================================ */
.nav_logo img {
  height: 100px;
}

/* ===============================
   MENU DESKTOP
================================ */
.nav_menu {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav_link {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
}

/* ===============================
   SUBMENÚ DESKTOP
================================ */
.nav_has_submenu {
  position: relative;
}

.nav_submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.nav_submenu li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.nav_submenu li a:hover {
  background: #1e1e1e;
}

/* Hover desktop */
.nav_has_submenu:hover .nav_submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===============================
   TOGGLE HAMBURGUESA
================================ */
.nav_toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav_toggle span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* ===============================
   RESPONSIVE MOBILE
================================ */
@media (max-width: 768px) {

  .nav_toggle {
    display: flex;
  }

  .nav_menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: #000;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 15px;
    transition: right 0.4s ease;
  }

  .nav_menu.activo {
    right: 0;
  }

  .nav_item {
    width: 100%;
  }

  /* Submenú mobile */
  .nav_submenu {
    position: static;
    background: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav_item.activo > .nav_submenu {
    max-height: 500px;
  }

  .nav_submenu li a {
    padding-left: 15px;
    font-size: 0.85rem;
  }

  /* Quitar hover en mobile */
  .nav_has_submenu:hover .nav_submenu {
    all: unset;
  }

  /* Animación hamburguesa */
  .nav_toggle.activo span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }

  .nav_toggle.activo span:nth-child(2) {
    opacity: 0;
  }

  .nav_toggle.activo span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}


.header-especificos {
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: #022729;
  background: linear-gradient(90deg, #022729 0%, #204f6d 100%);
    padding: 0 8%;
    color: #ffffff;
}

.header-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* LADO IZQUIERDO */
.header-title {
    font-size: clamp(2.8rem, 4vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
}

.header-title span {
    color: #00d1b2; /* luego lo alineamos a marca */
}

.header-subtitle {
    margin-top: 24px;
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
}

.header-cta {
    margin-top: 40px;
}

.btn-cta {
    display: inline-block;
    padding: 16px 38px;
    background: #00d1b2;
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 209, 178, 0.4);
}

/* LADO DERECHO – TESTIMONIOS */
.header-testimonios {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonio-card {
    padding: 28px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.testimonio-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.testimonio-card span {
    font-size: 0.85rem;
    opacity: 0.85;
}



/* RESPONSIVE */
@media (max-width: 992px) {
    .header-container {
        grid-template-columns: 1fr;
    }

    .header-testimonios {
        margin-top: 40px;
    }
}


    .ejemplos-iluminacion {
    padding: 100px 8%;
    background: #0b0f0e;
    color: #ffffff;
}

.ejemplos-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* TEXTO */
.ejemplos-texto h2 {
    font-size: clamp(2.2rem, 3vw, 3rem);
    line-height: 1.15;
    margin-bottom: 24px;
}

.ejemplos-texto span {
    color: #00d1b2;
}

.ejemplos-texto p {
    max-width: 480px;
    line-height: 1.6;
    opacity: 0.9;
}

/* SLIDER */
.ejemplos-slider {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s ease;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* Flechas */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    backdrop-filter: blur(8px);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #00d1b2;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .ejemplos-container {
        grid-template-columns: 1fr;
    }

    .slide img {
        height: 320px;
    }
}

.cta-cierre {
    padding: 120px 8%;
    background: linear-gradient(
        135deg,
        #0b0f0e,
        #0f2f2a
    );
    text-align: center;
    color: #ffffff;
}

.cta-title {
    font-size: clamp(2.4rem, 3.2vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 28px;
}

.cta-title span {
    color: #00d1b2;
}

.cta-text {
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0.9;
}

.btn-cta-cierre {
    display: inline-block;
    padding: 18px 46px;
    background: #00d1b2;
    color: #000;
    font-weight: 600;
    border-radius: 60px;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.btn-cta-cierre:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 209, 178, 0.45);
}

.footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer_contenedor {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer_col {
  flex: 1 1 300px;
}

.footer_logo {
  display: block;
  margin: 0 auto;
  max-width: 280px;
}

.footer_privacidad {
  background: none;
  border: 1px solid #ffc107;
  color: #ffc107;
  padding: 8px 12px;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 15px;
  transition: background 0.3s;
}

.footer_privacidad:hover {
  background-color: #ffc107;
  color: #111;
}

.svg_footer{
  width: 2rem;
  height: auto;
  filter: invert(100%);
}

.footer_boletin {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer_boletin input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px;
}

.footer_boletin button {
  background-color: #ffc107;
  border: none;
  color: #111;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.footer_boletin button:hover {
  background-color: #ff9800;
}

/* Modal estilo */
.footer_modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.footer_modal.activo {
  opacity: 1;
  pointer-events: auto;
}

.footer_modal_contenido {
  background-color: #fff;
  color: #111;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  border-radius: 10px;
  position: relative;
  animation: fadeModal 0.4s ease;
}

.footer_modal_cerrar {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
}

@keyframes fadeModal {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

    /* Contenedor fijo */
    .whatsapp-fab {
      position: fixed;
      right: 1px;                    /* distancia al borde derecho */
      top: 70%;
      transform: translateY(-50%);    /* centrado vertical perfecto */
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 72px;                    /* tamaño del "botón" */
      height: 72px;
      border-radius: 14px;
      padding: 8px;
      transition: transform 0.18s ease, box-shadow 0.18s ease;
      /* animación sutil de flotación */
      animation: float 4.6s ease-in-out infinite;
    }

    /* Enlace ocupa todo el contenedor */
    .whatsapp-fab a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      text-decoration: none;
      outline: none;
      border-radius: 10px;
    }

    /* Imagen (puede ser logo o ilustración cuadrada) */
    .whatsapp-fab img {
      width: 56px;
      height: 56px;
      object-fit: cover;
      border-radius: 10px;
      transform-origin: center;
      transition: transform 0.18s ease;
      display: block;
    }

    /* Hover / focus — interacción sutil */
    .whatsapp-fab:hover,
    .whatsapp-fab:focus-within {
      transform: translateY(-50%) scale(1.04);
    }
    .whatsapp-fab:hover img,
    .whatsapp-fab:focus-within img {
      transform: translateY(-2px) scale(1.03);
    }

    /* Animación flotante */
    @keyframes float {
      0%   { transform: translateY(-50%) translateY(0px); }
      50%  { transform: translateY(-50%) translateY(-6px); }
      100% { transform: translateY(-50%) translateY(0px); }
    }

    /* Accesibilidad: respeta preferencia del usuario por menos movimiento */
    @media (prefers-reduced-motion: reduce) {
      .whatsapp-fab { animation: none; transition: none; }
      .whatsapp-fab img { transition: none; }
    }

    /* Ajustes para pantallas muy pequeñas (evita tap targets demasiado grandes) */
    @media (max-width:420px) {
      .whatsapp-fab { right: 12px; width:64px; height:64px; }
      .whatsapp-fab img { width:48px; height:48px; }
    }
