img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.topbar {
  background: var(--gnext-primary); /* azul corporativo */
  color: var(--gnext-white);
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid var(--gnext-border);
  z-index: 1055;
}

.topbar i {
  color: var(--gnext-secondary);
}

.topbar a {
  color: var(--gnext-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.topbar a:hover {
  color: var(--gnext-hover);
}

.topbar span {
  display: flex;
  align-items: center;
}

/* Responsive Topbar */
@media (max-width: 767px) {
  .topbar .container {
    flex-direction: column;
    text-align: center;
  }
  .topbar-left span {
    margin: 3px 0;
  }
  .topbar-right {
    margin-top: 6px;
  }
}

/* ==========================
   SECCIÓN CLIENTES
========================== */
#clientes {
  background-color: #f9f9f9;
}

#clientes .cliente-logo {
  filter: grayscale(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
  max-height: 80px;
  object-fit: contain;
}

#clientes .cliente-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.titulo {
  color: #03314C;
}

/* ==========================
   VARIABLES
========================== */
:root {
  --gnext-primary: #03314C;
  --gnext-secondary: #0088ff;
  --gnext-accent: #03314c;
  --gnext-dark: #0a0a0a;
  --gnext-light: #f5faff;
  --gnext-white: #ffffff;
  --gnext-text: #333333cc;
  --gnext-hover: #0052cc;
  --gnext-border: rgba(0, 0, 0, 0.08);
}

/* ==========================
   BASE
========================== */
html {
  scroll-padding-top: 110px; /* ajustado para navbar + topbar */
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: var(--gnext-dark);
  padding-top: 115px; /* ajustado para navbar + topbar */
  margin: 0;
  
  
-webkit-user-select: none; /* Chrome, Safari */
-moz-user-select: none;    /* Firefox */
-ms-user-select: none;     /* IE/Edge */
user-select: none;         /* Estándar */

}

/* ==========================
   NAVBAR
========================== */
.navbar {
  background-color: var(--gnext-white);
  border-bottom: 1px solid var(--gnext-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 0.75rem 1rem;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: var(--gnext-text) !important;
  font-weight: 500;
  transition: color 0.3s, transform 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--gnext-accent) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: var(--gnext-accent) !important;
  font-weight: 600;
}

.navbar-nav i {
  font-size: 1.1rem;
  margin-right: 5px;
  color: var(--gnext-primary);
}

/* ==========================
   HERO
========================== */
.hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  color: var(--gnext-white);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  scroll-margin-top: 50px;
  margin-top: -8px;
}

/* Títulos adaptables con clamp */
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
}

/* Párrafos adaptables */
.hero p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.5;
}

/* Botón */
.hero .btn {
  font-weight: 500;
  padding: 12px 25px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero .btn:hover {
  background-color: #004ab9;
  transform: translateY(-2px);
}


/* ==========================
   SERVICES
========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-box {
  background-color: var(--gnext-light);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.service-box:hover {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  border-color: #0d6efd25;
}

.services-grid i {
  font-size: 1.5rem;
  vertical-align: middle;
}

/* ==========================
   CTA
========================== */
.cta {
  background-color: var(--gnext-primary);
  color: var(--gnext-white);
  text-align: center;
  padding: 50px 20px;
}

.cta a {
  background-color: var(--gnext-secondary);
  color: var(--gnext-white);
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta a:hover {
  background-color: #004ab9;
}

/* ==========================
   FOOTER
========================== */
footer {
  background-color: #111;
  color: #eee;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

footer h5 {
    font-size: 1.4rem;
    color: #e9ecef;
    font-family: 'Exo';
}

footer a {
  color: #00acc1;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-decoration: none;
}

footer a:hover {
  color: #4dd0e1;
  text-shadow: 0 0 6px rgba(77, 208, 225, 0.7);
}

footer img {
  max-height: 60px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 20px auto;
  width: 80%;
}

footer p {
  margin-bottom: 0.4rem;
}

footer .small {
  font-size: 0.85rem;
  color: #aaa;
}

/* ==========================
   FORMULARIO EN MODAL
========================== */
.modal .form-control {
  border-radius: 0.5rem;
}

.modal .btn-primary {
  background-color: var(--gnext-primary);
  border: none;
  font-weight: 500;
}

.modal .btn-primary:hover {
  background-color: #004ab9;
}

/* ==========================
   SEPARADORES
========================== */
.separador {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.separador svg {
  display: block;
  height: 80px;
}

h2 {
  font-family: 'Exo', sans-serif;
}

/* ==========================
   HOVERS / CARDS
========================== */
.grayscale-hover {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.grayscale-hover:hover {
  filter: grayscale(0%);
}

.service-card {
  transition: all 0.3s ease-in-out;
}

.service-card:hover {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  border-color: #0d6efd25;
}

.service-card h5 {
  font-size: 1.1rem;
}

.service-card .btn {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
}

@media (max-width: 768px) {
  .service-card h5 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .service-box h5 {
    font-size: 1rem;
  }
}

/* ==========================
   WHATSAPP FLOATING BTN
========================== */
@media (max-width: 768px) {
  .whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    z-index: 1050;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .whatsapp-btn i {
    margin-right: 8px;
    font-size: 1.3rem;
  }
}

@media (min-width: 769px) {
  .whatsapp-btn {
    display: none !important;
  }
}

/* ==========================
   BOTONES HERO
========================== */
.btn-hero-primary {
  background: linear-gradient(135deg, #01304b, #007bff);
  color: #fff;
  border: none;
  font-weight: 500;
  transition: 0.3s ease-in-out;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #01304b, #00d4ff);
  transform: scale(1.05);
}

.btn-hero-secondary {
  background: linear-gradient(135deg, #01304b, #17c0eb);
  color: #fff;
  border: none;
  font-weight: 500;
  transition: 0.3s ease-in-out;
}

.btn-hero-secondary:hover {
  background: linear-gradient(135deg, #01304b, #28a745);
  transform: scale(1.05);
}
