
/* ================== BASE ================== */
html, body {
  background-color: #f0f4fa;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Arial, sans-serif;
overflow-x: hidden;

}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
}
  /* ================== NAVBAR DESKTOP ================== */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #004080;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.3rem 2rem 0.3rem 2rem;
    min-height: 60px;
    z-index: 1000;
    font-size: 18px; /* ligeramente más equilibrado */
}

/* LOGO */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.nav-left .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

/* LINKS DESKTOP */
.nav-center {
  display: flex;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}

.nav-center a {
  line-height: 1.2; /* mejor área clickeable */
  color: white;
  text-decoration: none;
  padding: 4px 12px; /* ajuste leve */
  border-radius: 12px;
  transition: background-color 0.25s ease,
              color 0.25s ease,
              transform 0.2s ease,
              box-shadow 0.25s ease;
}

.nav-center a:hover,
.nav-center a:focus-visible {
  background-color: #ffeb3b;
  color: #1f1f1f;
  transform: scale(1.03) translateY(-1px); /* menos salto visual */
  box-shadow:
    0 4px 12px rgba(0,0,0,0.25),
    0 0 10px rgba(255, 235, 59, 0.8);
}

.nav-panel{
  display:none;
}

.menu-overlay{
  display:none;
}

/* ================== WHATSAPP NAVBAR ================== */
.whatsapp-nav {
  position: fixed;
  top: 7px;
  right: 2rem;

  width: 46px;
  height: 46px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  z-index: 2000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-nav:hover {
  transform: scale(1.08);
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.8);
}

/* ================== BOTÓN HAMBURGUESA ================== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ================== NAVBAR SCROLL ================== */
.navbar.scrolled {
  background-color: #003366;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* ================== SECCIÓN INICIO ================== */
#inicio {
  margin-top: 60px; /* MISMA altura del navbar */
  min-height: calc(100vh - 60px);

  background-image: url('img/7.jpg');
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  color: white;

  padding: 60px;
  position: relative;
}

/* Overlay */
#inicio::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.10);
  pointer-events: none;
}

#inicio > * {
  position: relative;
  z-index: 1;
}



#inicio h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  white-space: nowrap;   /* 🔥 CLAVE */
}

#inicio p {
  margin-top: 20px;
  font-size: 1.3rem;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  white-space: nowrap;   /* 🔥 CLAVE */
}

#inicio h3 {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-top: 10px;
}

/* Contenedor de texto */
#inicio .contenido {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  transform: translateY(-90px);
}

#inicio .botones {
  display: flex;
  gap: 40px;
  margin-bottom: 0;
}

/* Botones */
#inicio .botones .btn {
  padding: 16px 32px;
  font-size: 1.2rem;
  border-radius: 25px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#inicio .botones .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ================== BOTONES ================== */

/* Botónes servicio y paquetes */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease,
              color 0.3s ease,
              box-shadow 0.2s ease,
              transform 0.2s ease;
}

/* Botón beneficios */
.btn-primary {
  background-color: #0d6efd;
  border: 2px solid rgba(255,255,255,0.9);
  color: #fff;
  border-radius: 20px;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13,110,253,0.35);
}

/* Botón secundario (outline) */
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  border-radius: 20px;
}

.btn-outline:hover {
  background-color: #0b5ed7;
  border-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13,110,253,0.35);
}


/* ================== FORMULARIO CLARO ================== */
.formulario {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 35px 32px;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.formulario *,
.formulario *::before,
.formulario *::after {
  box-sizing: border-box;
}

/* TÍTULO */
.formulario h3 {
    text-align: center;
    font-size: 24px;
    margin: 0 0 28px;
    color: #2d2d2d;
}

/* CAMPOS */
.campo {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

/* CAMPOS CON ICONO */
.campo.icono {
  position: relative;
}

/* ICONOS */
.campo.icono i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #fb923c;
  /* color: #0056B3; */
  font-size: 0.9rem;
  pointer-events: none;
}

.campo.icono i.fa-comment {
  top: 18px;        /* súbelo */
  transform: none; /* cancela el centrado */
}

/* INPUT, SELECT, TEXTAREA */
.campo.icono input,
.campo.icono select,
.campo.icono textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px 12px 38px;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.97);
  color: #000000;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  outline: none;
  min-height: 46px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* TEXTAREA */
.campo.icono textarea {
  min-height: 90px;
  resize: vertical;
}

/* PLACEHOLDER */
.campo.icono input::placeholder,
.campo.icono textarea::placeholder {
  color: #000000;
}

/* FOCUS */
.campo.icono input:focus,
.campo.icono select:focus,
.campo.icono textarea:focus {
  border-color: #fb923c;
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.25);
}

/* BOTÓN */
.formulario .btn-primary {
  margin-top: 10px;
  background: #f97316;
  color: #ffffff;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* HOVER BOTÓN */
.formulario .btn-primary:hover {
  background: #f97316;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
}

/* ACTIVE BOTÓN */
.formulario .btn-primary:active {
  transform: translateY(0);
}
/* ===================== MARCAS ===================== */

.marcas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30rem;              /* flexible y responsive */
  background-color: #004080;
  padding: 22px 0;
}

.marcas img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

/* Hover sutil */
.marcas img:hover {
  transform: scale(1.08);
}

/* ===================== GALERÍA ===================== */

/* Contenedor del carrusel */
.gallery-carousel {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  background-color: #dbe9f4;
  padding-top: 0;
  margin-top: 0;
}

/* Pista de imágenes */
.gallery-track {
  display: flex;
  gap: 20px;
  animation: scrollGallery 15s linear infinite;
}

/* Cada cuadro de la galería (tamaño fijo) */
.gallery-item {
  width: 300px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  flex-shrink: 0;
}

/* La imagen se adapta al cuadro */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* 🔥 la magia */
  cursor: pointer;
  opacity: 0;
  transform: scale(0.95);
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              opacity 0.6s ease;
  will-change: transform, opacity;
}

/* Visible (fade-in con JS) */
.gallery-item img.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hover */
.gallery-item img:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* Título de la galería */
#galeria h2 {
  text-align: center;
  background-color: #004085;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  padding: 20px 0;
  margin-top: 0;
  font-size: 45px;
}

/* Animación de carrusel */
@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}



/* ===================== SERVICIOS ===================== */

#servicios {
  background: #001f3f;
  padding: 60px 20px;
}

#servicios .titulo {
  text-align: center;
  color: #fff;
  font-size: 42px;
  margin: 5px 0 50px;
}

/* GRID */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

/* CARD */
.servicio-card {
  background: #111;
  padding: 22px;
  color: #fff;
  box-shadow: 0 0 10px rgba(255,46,223,.5);
  transition: transform .25s ease, box-shadow .25s ease;
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 15px #ffd700, 0 0 35px #ffd700;
}

.servicio-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 18px;
}

/* TITULO */
.servicio-card h3 {
  color: #ffd700;
  font-size: 29px;
  margin-bottom: 10px;
  text-align: center;
}

/* TEXTO */
.servicio-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #ddd;
  text-align: justify;
}

/* LISTA */
.servicio-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.servicio-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.servicio-card ul li img {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* GRID ALTERNATIVO */
.card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}



/* ===================== PAQUETES ===================== */

#paquetes {
  background-color: #001F3F;
  padding: 60px 20px;
}


.paquetes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.paquetes-container h2 {
  flex-basis: 100%;
  color: #FFFFFF;
  font-size: 45px;
  margin-bottom: 40px;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
  margin-top:-20px;
}

/* TARJETAS DE PAQUETE */
.paquete {
  background-color: #1F1F1F;
  border-radius: 12px;
  padding: 25px;
  flex: 0 0 23%; /* evita overflow con gap */
  box-shadow: 0 0 8px rgba(255,46,223,.6);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.paquete h3 {
  color: #FFC107;
  margin-bottom: 10px;
  font-size: 28px;
}

.paquete .precio {
  color: #00FFAB;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 15px;
}

.paquete-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
}

.paquete-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  margin: 8px 0;
}

.paquete-list li img {
  width: 20px;
  height: auto;
}

/* BOTÓN */
.boton-paquete {
  display: inline-block;
  background-color: #FFC107;
  color: #001F3F;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.boton-paquete:hover {
  background-color: #FFD700;
}

/* Hover */
.paquete:hover {
  box-shadow:
    0 0 10px #FFD700,
    0 0 20px #FFD700,
    0 0 30px #FFD700;
  transform: translateY(-6px) scale(1.05);
}



/* ===================== CONTACTO ===================== */

/* CONTENEDOR PRINCIPAL */
#info {
  background-color: #0D47A1;
  padding: 60px 20px;
  position: relative;
}

#info h2{
  text-align:center;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight:700;
  color:white;
  margin-bottom:50px;
  letter-spacing:.5px;
  margin-top: -10px;
}

/* FLEX CONTAINER */
.info-container {
  display: flex;
  gap: 30px;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
}

/* CAJAS */
.about-box,
.contact-box {
  flex: 1;
  background: linear-gradient(135deg, #0D47A1, #0B3C5D);
  border-radius: 16px;
  padding: 32px;
  color: #ffffff;
  box-shadow:    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 270px;
}

.about-box:hover,
.contact-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* TÍTULOS */
.about-box h2,
.contact-box h2 {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
}

/* TEXTO */
.about-box p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}

.contact-box p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}

/* LISTA DE CONTACTO */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.contact-list li img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-list li:hover img {
  transform: translateY(-5px) scale(1.2);
  filter: brightness(1.2) drop-shadow(0 0 5px #fff);
}

/* ===============================
   BOTÓN FLOTANTE WHATSAPP
   =============================== */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 55px;
  height: 55px;
  background-color: #25D366;
  color: #ffffff;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  z-index: 9999;
  text-decoration: none;

  box-shadow: 0 0 15px rgba(37, 211, 102, 0.8);
  animation: pulse 1.6s infinite;
}

/* Icono */
.whatsapp-float i {
  line-height: 1;
}

/* Hover */
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Tooltip */
.whatsapp-float::after {
  content: "Escríbenos por WhatsApp";
  position: absolute;
  right: 65px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #25D366;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

/* Mostrar tooltip */
.whatsapp-float:hover::after,
.whatsapp-float:focus::after {
  opacity: 1;
}

/* Animación */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.8);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 30px rgba(37, 211, 102, 1);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.8);
  }
}


































