  * { box-sizing: border-box; margin: 0; padding: 0; }
.btn-danger {
  background-color: #e05c1a !important;
  border-color: #e05c1a !important;
}

.btn-danger:hover {
  background-color: #c94f14 !important;
  border-color: #c94f14 !important;
}

.col-detalle {
  min-width: 200px;
  /* ancho cómodo */
  max-width: 300px;
  white-space: normal;

  /* permite salto de línea */
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #182942;
}

.seccion {
  background-color: #e7e7e7;
  
}

.menu {
  font-family: 'Geneva', 'Verdana';
  font-size: medium;
  text-align: center;
}

h1 {
  font-family: "Russo One", sans-serif;


}

h6:hover {
  text-decoration: underline;
}

.header {
  background-color: #e7e7e7;
}

.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)),
    url("../../img/nopal.jpg");
  background-size: cover;
  background-position: center;
  color: white;
}

.hero h1 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.navbar {
  padding-top: 10;
  padding-bottom: 10;
}

#mainNavbar {
  top: 5px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(49, 49, 49, 0.2);
  background-color: #0f11ac;
  /* azul oscuro elegante */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 2s ease;
}

#mainNavbar.scrolled {
  background: rgba(3, 109, 95, 0.95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.nav-link { 
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0%;
  height: 2px;
  background: #ffe601;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}


.carousel-control-prev-icon {
  background-color: rgb(31, 172, 125);
  border-radius: 25px;
}

.carousel-control-next-icon {
  background-color: rgb(31, 172, 125);
  border-radius: 25px;
}

/* CONTENEDOR SLIDER */
.carousel-item {
  position: relative;
  overflow: hidden;

}

/* IMAGENES */
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
 
  }

/* ===== ESCRITORIO Y TABLET ===== 
/* formato 16:9*/
@media (min-width: 651px) {

  .carousel-item {
    aspect-ratio: 21 / 9;
  }

}

/* ===== CELULARES ===== 
/* formato 4:3 */
@media (max-width: 650px) {

  .carousel-item {
    aspect-ratio: 16 / 9;
  }

}

/* OVERLAY OSCURO PARA MEJOR LECTURA */
.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  border-radius: 10px;
}

/* TEXTO */
.carousel-caption {
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  z-index: 2;
  bottom: 15%;
}

/* TITULO */
.carousel-caption h5 {
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 600;
  text-shadow: 
    0 2px 4px rgba(0,0,0,0.9),
    0 4px 8px rgba(0,0,0,0.8);
}

/* BOTONES */
.carousel-caption .btn {
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

/* HOVER BOTONES */
.carousel-caption .btn:hover {
  transform: translateY(-2px);
}

/* BOTON WHATSAPP */
.btn-success {
  background: rgb(31, 172, 125);
  border: none;
}

.banner-negocio {
  height: 280px;
  overflow: hidden;
  border-radius: 10px;
}

.banner-negocio img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-plan {
  font-size: 14px;
}

/*---------------------------CSS SCROLL PAGINA WEB--------------------------*/
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/*------------------------------------CSS BOTON FLOTANTE WHATSAPP--------------------------*/

.oculto {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: all 0.3s ease;
}
 /* ── FOOTER QOTIZAYA ──────────────────────────────────────────────────────── */

:root {
  --green:    #25D366;
  --green-dk: #128C7E;
  --gold:     #F5C842;
  --dark:     #0d1117;
  --dark2:    #161b22;
  --dark3:    #21262d;
  --light:    #e6edf3;
  --muted:    #8b949e;
}

footer.qy-footer {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow: hidden;
  position: relative;
}

/* Subtle grid overlay */
footer.qy-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,211,102,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,211,102,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ── TOP BAND ────────────────────────────────────────────────────────────── */
.qy-top {
  background: linear-gradient(135deg, var(--green-dk) 0%, #0a6447 100%);
  padding: 14px 0;
  text-align: center;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.qy-top i { margin-right: 6px; }

/* ── MAIN GRID ───────────────────────────────────────────────────────────── */
.qy-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 50px;
}

/* ── COL: BRAND ──────────────────────────────────────────────────────────── */
.qy-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-right: 40px;
}

.qy-brand img {
  width: 180px;
  height: auto;
  object-fit: contain;
}

.qy-tagline {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 240px;
}

.qy-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.qy-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--dark3);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--muted);
  font-size: 1rem;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.qy-social a:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(37,211,102,.08);
}

/* ── COL: LINKS ──────────────────────────────────────────────────────────── */
.qy-links {
  padding: 0 20px;
  border-left: 1px solid var(--dark3);
  border-right: 1px solid var(--dark3);
}

.qy-col-title {
  font-family: 'Syne', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  margin-bottom: 20px;
}

.qy-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qy-links ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  display: flex; align-items: center; gap: 8px;
  transition: color .2s, gap .2s;
}
.qy-links ul li a i { font-size: .75rem; }
.qy-links ul li a:hover { color: #fff; gap: 12px; }

.qy-info-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px;
}
.qy-info-item i {
  color: var(--green);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.qy-info-item p { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.qy-info-item a { color: var(--muted); text-decoration: none; }
.qy-info-item a:hover { color: var(--green); }

/* ── COL: FORM ───────────────────────────────────────────────────────────── */
.qy-form-col { padding-left: 40px; }

.qy-form-card {
  background: var(--dark2);
  border: 1px solid var(--light);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.qy-form-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(37,211,102,.18) 0%, transparent 70%);
  pointer-events: none;
}

.qy-form-subtext {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.qy-form-subtext strong { color: var(--gold); }

.qy-field { margin-bottom: 12px; }
.qy-field input,
.qy-field textarea {
  width: 100%;
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--light);
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: none;
}
.qy-field input::placeholder,
.qy-field textarea::placeholder { color: var(--muted); }
.qy-field input:focus,
.qy-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(37,211,102,.12);
}
.qy-field textarea { height: 80px; }

.qy-btn-wa {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dk) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Syne', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .02em;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(37,211,102,.25);
  margin-top: 4px;
}
.qy-btn-wa:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(37,211,102,.35);
}
.qy-btn-wa:active { transform: translateY(0); }
.qy-btn-wa i { font-size: 1.1rem; }

/* ── BOTTOM BAR ──────────────────────────────────────────────────────────── */
.qy-bottom {
  border-top: 1px solid var(--dark3);
  padding: 22px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.qy-legal-text {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
}

.qy-bottom-links {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.qy-bottom-links a {
  font-size: .78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.qy-bottom-links a:hover { color: var(--green); }

.qy-copy {
  width: 100%;
  text-align: center;
  font-size: .75rem;
  padding-top: 10px;
  color: #3d444d;
}

/* ── DEV BADGE ───────────────────────────────────────────────────────────── */
.qy-dev {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,200,66,.08);
  border: 1px solid rgba(245,200,66,.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .78rem;
  color: var(--gold);
  margin-top: 16px;
  text-decoration: none;
}
.qy-dev i { font-size: .85rem; }
.qy-dev:hover { background: rgba(245,200,66,.14); }

/* ── QUOTE ───────────────────────────────────────────────────────────────── */
.qy-quote {
  font-size: .9rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 10px;
}

/* ── RESPONSIVE: MÓVIL ───────────────────────────────────────────────────── */
@media (max-width: 500px) {

  .qy-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Centrar todas las columnas */
  .qy-brand,
  .qy-links,
  .qy-form-col {
    text-align: center;
    padding-right: 0;
    padding-left: 0;
  }

  /* Quitar bordes laterales de la columna del medio */
  .qy-links {
    border: none;
  }

  /* Imagen del logo centrada */
  .qy-brand img {
    margin: 0 auto;
  }

  /* Tagline a ancho completo */
  .qy-tagline {
    max-width: 100%;
  }

  /* Redes sociales centradas */
  .qy-social {
    justify-content: center;
  }

  /* Badge desarrollador centrado */
  .qy-dev {
    align-self: center;
  }

  /* Items de info centrados */
  .qy-info-item {
    margin-left: 40px;
    justify-content: left;
    text-align: left; /* el texto interno queda legible */
  }

  /* Links del menú centrados */
  .qy-links ul li a {
    justify-content: left;
  }

  /* Bottom bar apilado y centrado */
  .qy-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .qy-legal-text {
    max-width: 100%;
    text-align: center;
  }

  .qy-bottom-links {
    justify-content: center;
  }
}
