/* ==========================================================================
   KARGOLOG - ARCHIVO CSS COMPLETO UNIFICADO Y RESPONSIVE
   ========================================================================== */

/* --- 1. VARIABLES GLOBALES --- */
:root {
  --primary-color: #0d2240;
  --accent-color: #ff5e14;
  --secondary-color: #1a365d;
  --text-dark: #1a202c;
  --text-muted: #4a5568;
  --bg-light: #f7fafc;
  --border-color: #e2e8f0;
  --bg-linear-gradient: linear-gradient(90deg, #0646c4 0%, #5428c1 100%);
  --bg-dark-blue: #09172c;
  --text-gradient: linear-gradient(90deg, #0646c4 0%, #5428c1 100%);
}

/* --- 2. CONFIGURACIÓN GLOBAL Y RESET RESPONSIVE --- */
html {
  font-size: 16px; /* Base principal: 1rem = 16px */
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Archivo", sans-serif;
  color: var(--text-dark);
  line-height: 1.5;
  background-color: #ffffff;
  width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.space-top {
  padding-top: 80px;
}

.space-extra-bottom {
  padding-bottom: 80px;
}

.bg-light-gray,
.bg-light-pattern {
  background-color: #f8fafc;
  background-image: radial-gradient(#e2e8f0 1px, transparent 0);
  background-size: 24px 24px;
}

/* --- 3. ESCALA TIPOGRÁFICA MODERADA --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  color: var(--primary-color);
}

h1,
.display-4,
.display-5,
.display-6 {
  font-size: 2rem !important; /* 32px */
  line-height: 1.5;
}

h2,
.sec-title {
  font-size: 1.625rem !important; /* 26px */
  line-height: 1.5;
}

h3 {
  font-size: 1.25rem !important; /* 20px */
  line-height: 1.5;
}

h4,
.metric-title {
  font-size: 1.125rem !important; /* 18px */
  line-height: 1.5;
}

.sub-title {
  font-size: 0.875rem !important; /* 14px */
  letter-spacing: 0.5px;
  color: var(--accent-color);
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

p,
.text-muted,
.metric-sub,
.accordion-body {
  font-size: 1rem !important; /* 15px */
  line-height: 1.5;
}

.title-area p,
.lead {
  font-size: 1.1rem !important; /* 17px */
  line-height: 1.5;
}

.text-muted-custom {
  color: #94a3b8;
  font-size: 1rem;
}

/* --- 4. BOTONES Y COMPONENTES CTA --- */
.vs-btn,
.cta-button,
.btn-primary-blue,
.btn-solicitar-reunion {
  display: inline-block;
  padding: 0.75rem 1.5rem !important;
  font-weight: 700;
  font-size: 1rem !important;
  border-radius: 6px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.cta-btn {
  background: var(--bg-linear-gradient);
}

.btn-lg {
  background: var(--bg-linear-gradient);
}

.btn-lg2 {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.vs-btn.style-primary,
.vs-btn.style2,
.vs-btn.style-accent2 {
  background: var(--bg-linear-gradient);
  color: #ffffff !important;
}

.vs-btn.style-primary:hover,
.vs-btn.style2:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.vs-btn.style-whatsapp {
  background-color: #25d366;
  color: #ffffff !important;
}

.vs-btn.style-whatsapp:hover {
  background-color: #1eb857;
}

.vs-btn.style-accent {
  background: linear-gradient(180deg, #060e18 0%, #0d2240 100%);
  color: #ffffff !important;
}

.vs-btn.style3 {
  background-color: #edf2f7;
  color: var(--primary-color);
}

.vs-btn.style3:hover {
  background-color: var(--accent-color);
  color: #ffffff !important;
}

.btn-cta-dark {
  background-color: #0d1b2a;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 16px 24px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(13, 27, 42, 0.18);
  height: 100%;
}

.btn-cta-dark:hover {
  background-color: #1a2e44;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(13, 27, 42, 0.25);
}

.why-img-box {
  position: relative;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(180deg, #060e18 0%, #0d2240 100%);
  color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.experience-badge .number {
  font-size: 34px;
  font-weight: 900;
  display: block;
  line-height: 1.5;
}

.experience-badge .text {
  font-size: 1rem;
  font-weight: 700;
}

.why-feature-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.why-feature-item .icon {
  font-size: 22px;
  color: #fff;
  background: var(--bg-linear-gradient);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}

/* --- 5. HEADER Y NAVEGACIÓN --- */
.header-top {
  background-color: #060e18;
  color: #e2e8f0;
  padding: 8px 0;
  font-size: 13px;
}

.header-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.header-links a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s;
}

.header-links a:hover {
  color: var(--accent-color);
}

.header-links i {
  margin-right: 6px;
}

.sticky-wrapper {
  width: 100%;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 15px 0;
  z-index: 99999;
}

.sticky-wrapper.is-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
}

.brand-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.brand-accent {
  color: var(--accent-color);
}

.brand-sub {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: -4px;
}

.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

.main-menu a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.main-menu a:hover {
  color: var(--accent-color);
}

/* --- 6. SECCIÓN HERO --- */
.hero-layout2 {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 90px 0 80px 0;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 34, 64, 1) 0%,
    rgba(13, 34, 64, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: #dc3545;
  color: #fff;
  padding: 8px 16px !important;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.05rem !important;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 2.75rem) !important;
  line-height: 1.5 !important;
  font-weight: 700;
}

.hero-subtitle {
  color: #e2e8f0;
  margin-bottom: 25px;
  font-size: 1.125rem !important;
  line-height: 1.5 !important;
}

.hero-bullets .bullet-item {
  font-size: 1.04rem !important;
  line-height: 1.5 !important;
  margin-bottom: 10px;
  color: #cbd5e0;
}

.hero-bullets i {
  margin-right: 8px;
  font-size: 1.25rem;
}

.hero-authority-badge {
  font-size: 1.05rem !important;
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  border-radius: 6px;
  border-left: 4px solid var(--accent-color);
}

.hero-card-form {
  background: #ffffff;
  color: var(--text-dark);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hero-card-form h3 {
  margin-bottom: 5px;
  font-size: 22px;
}

.hero-card-form p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.vs-hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-bg-placeholder.png");
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
  z-index: -1;
}
/* --- 7. SECCIÓN DEL DOLOR / DESAFÍOS --- */
.pain-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  display: flex;
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.pain-icon {
  font-size: 32px;
  color: #fff;
  background: var(--bg-linear-gradient);
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.pain-body h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.pain-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.pain-cta-box {
  background: #edf2f7;
  padding: 35px;
  border-radius: 8px;
  border-left: 5px solid var(--accent-color);
}

.challenge-img-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  min-height: 380px;
}

.challenge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.challenge-img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background-color: #0d1b2a;
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.challenge-list-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f4f8;
}

.challenge-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.challenge-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f7;
}

.challenge-list li:last-child {
  border-bottom: none;
}

.challenge-icon-box {
  width: 42px;
  height: 42px;
  background-color: #eef5ff;
  color: #1d70f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* --- 8. TARJETAS DE SERVICIOS (UNIFICADAS) --- */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.service-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  width: 100%;
  flex-shrink: 0;
}

.service-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.icon-box {
  width: 44px;
  height: 44px;
  background: var(--bg-linear-gradient);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.deliverable {
  margin-top: auto;
  background-color: #f1f5f9;
  padding: 12px 14px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  border-image: var(--bg-linear-gradient) 1;
  font-size: 1rem;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 16px;
}

.card-footer {
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-link .btn-circle {
  width: 32px;
  height: 32px;
  background-color: #0f172a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.btn-link:hover {
  color: #1d70f5;
}

.btn-link:hover .btn-circle {
  background-color: #1d70f5;
  transform: translateX(3px);
}

/* --- 9. DASHBOARD / MÉTRICAS DE RESULTADOS --- */
.bg-metrics {
  background: linear-gradient(180deg, #060e18 0%, #0d2240 100%);
  padding: 60px 0;
  color: #ffffff;
}

.bg-blue-subtle {
  background-color: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.metric-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
}

.metric-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--bg-linear-gradient);
}

.metric-cta-banner {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Botón CTA destacado */
.btn-accent-cta {
  background: linear-gradient(135deg, #0284c7 0%, #00d2ff 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-accent-cta:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

/* Resplandor suave en el fondo */
.bg-radial-glow {
  background: radial-gradient(
    circle at center,
    rgba(2, 132, 199, 0.15) 0%,
    transparent 70%
  );
}

.icon-cyan {
  background-color: #e0f2fe;
  color: #0284c7;
}
.icon-blue {
  background-color: #e0e7ff;
  color: #3730a3;
}
.icon-light-blue {
  background-color: #e0f2fe;
  color: #1d4ed8;
}
.icon-teal {
  background-color: #ccfbf1;
  color: #0f766e;
}

.metric-value {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.5;
  margin-bottom: 10px;
}

.metric-card .metric-title {
  color: #0f172a;
  font-size: 1.125rem !important;
  font-weight: 700;
}

.metric-card .metric-sub {
  color: #475569;
  font-size: 1rem !important;
  line-height: 1.5;
}

.metric-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #f1f5f9;
  padding-top: 15px;
}

/* --- 10. METODOLOGÍA Y PASOS --- */
.bg-dark-blue {
  background: linear-gradient(
    135deg,
    #0646c4 0%,
    #2450c3 40%,
    #3b3bc2 70%,
    #5428c1 100%
  );
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  height: 100%;
}

.step-num {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.step-card h4 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 10px;
}

.step-card p {
  color: #fff;
  font-size: 13.5px;
  margin: 0;
}

/* --- 11. CINTA CARRUSEL INFINITO --- */
.cinta-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.cinta-track {
  display: flex;
  width: max-content;
  animation: scroll-cinta 30s linear infinite;
}

.cinta-track:hover {
  animation-play-state: paused;
}

.logo-cliente {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.8;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  margin: 0 20px;
}

.logo-cliente:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

@keyframes scroll-cinta {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- 12. TESTIMONIOS --- */
.bg-testimonials {
  background: #09172c;
  position: relative;
  border-top: 1px solid #142a4a;
  border-bottom: 1px solid #142a4a;
}

.testi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.testi-card:hover {
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.testi-rating {
  color: #ffc107;
  font-size: 13px;
}

.testi-text {
  font-size: 14px;
  color: #cbd5e0;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 25px;
}

.testi-logo {
  width: auto;
  max-width: 120px;
  height: 40px;
  object-fit: contain;
  border: none; 
}

.custom-faq-accordion .faq-card {
  border: 1px solid var(--border-color);
  border-radius: 10px !important;
  background: #ffffff;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.custom-faq-accordion .faq-card:hover {
  border-color: rgba(255, 94, 20, 0.3);
  box-shadow: 0 8px 20px rgba(13, 34, 64, 0.06);
}

.custom-faq-accordion .accordion-button {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: #ffffff;
  padding: 18px 20px;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-faq-accordion .accordion-button:not(.collapsed) {
  background-image: var(--bg-linear-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-color: #fcfcfd;
}

.custom-faq-accordion .accordion-body {
  padding: 15px 20px 20px 20px;
  font-size: 0.9375rem !important;
  color: #4a5568;
  line-height: 1.5;
  background-color: #ffffff;
}

/* --- 14. FOOTER Y FORMULARIO KARGOLOG --- */
.kargolog-theme {
  background-color: #030a16 !important;
  color: #ffffff !important;
}

.profile-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 3px solid #1d70f5;
  border-radius: 50%;
}

.social-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.social-circle-btn:hover {
  background-color: #1d70f5;
  border-color: #1d70f5;
}

.form-card-wrapper {
  background-color: #071224;
  border: 1px solid rgba(29, 112, 245, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 30px;
}

.footer-form.input-group {
  border-radius: 8px !important;
  overflow: hidden;
  flex-wrap: nowrap !important;
}

.custom-input-icon {
  background-color: #ffffff !important;
  border: none !important;
  color: #212529 !important;
  width: 45px !important;
  min-width: 45px !important;
  height: 45px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.custom-input {
  background-color: #ffffff !important;
  border: none !important;
  color: #212529 !important;
  height: 45px !important;
  padding: 8px 14px !important;
  font-size: 0.9rem !important;
}

.copyright-wrap {
  background: #060e18;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  font-size: 32px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #fff;
  transform: scale(1.1);
}

/* ==========================================================================
   15. MEDIA QUERIES (ADAPTABILIDAD RESPONSIVE)
   ========================================================================== */

/* Desktops Grandes (> 1200px) */
@media (min-width: 1200px) {
  .form-card-wrapper {
    max-width: 780px;
    margin: 0 auto;
  }
}

/* Tablets / Laptops medianas (< 992px) */
@media (max-width: 991.98px) {
  .header-top {
    text-align: center;
  }
  .header-links ul {
    justify-content: center;
  }

  .pain-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .kargolog-theme .footer-brand-info,
  .kargolog-theme .logo-wrapper {
    text-align: center !important;
  }

  .profile-card {
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
  }
}

/* Móviles y Smartphones (< 768px) */
@media (max-width: 767.98px) {
  .space-top {
    padding-top: 50px;
  }
  .space-extra-bottom {
    padding-bottom: 50px;
  }

  .hero-layout2 {
    padding: 50px 0;
  }

  .cta-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #cbd5e1;
    padding-top: 15px;
  }

  .btn-cta-dark {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* Móviles Pequeños (< 576px) */
@media (max-width: 575.98px) {
  .vs-btn {
    width: 100%;
  }
  .logo-cliente {
    height: 32px;
    margin: 0 10px;
  }

  .cinta-track {
    width: max-content;
  }

  .footer-legal-bar {
    flex-direction: column;
    gap: 12px !important;
  }
}

/* --- BOTÓN FLOTANTE DE WHATSAPP --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50px;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #ffffff;
  transform: scale(1.08);
}

/* --- TOOLTIP / ETIQUETA LATERAL --- */
.whatsapp-tooltip {
  position: absolute;
  right: 70px; /* Se ubica a la izquierda del botón */
  top: 50%;
  transform: translateY(-50%);
  background-color: #0f172a;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* Flechita apuntando al botón */
.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

/* Mostrar tooltip al pasar el cursor */
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Ocultar tooltip en móviles pequeños para no invadir pantalla */
@media (max-width: 575.98px) {
  .whatsapp-tooltip {
    display: none !important;
  }
}

/* Color Azul Destacado / Cyan vibrante para resaltar detalles */
.text-accent-blue {
  color: #00d2ff !important;
}

.text-light-gray {
  color: #cbd5e1 !important; /* Gris claro de alta legibilidad sobre fondo oscuro */
}

/* Tarjeta contenedora del formulario */
.form-card-wrapper {
  background: linear-gradient(145deg, #0b1528, #070e1b);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Fondo de la foto de perfil */
.profile-box-bg {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Línea divisoria bajo el título */
.blue-line-divider {
  width: 60px;
  height: 3px;
  background-color: #00d2ff;
  border-radius: 2px;
}

/* --- ESTILOS DE LOS INPUTS --- */
.custom-input {
  background-color: #ffffff !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
}

.custom-input::placeholder {
  color: #94a3b8;
}

.custom-input:focus {
  border-color: #00d2ff;
  box-shadow: 0 0 0 0.25rem rgba(0, 210, 255, 0.25);
}

.custom-input-icon {
  background-color: #f1f5f9;
  color: #0284c7;
  border: 1px solid #cbd5e1;
}

/* --- BOTÓN SOLICITAR REUNIÓN (RESALTADO) --- */
.btn-solicitar-reunion {
  background: linear-gradient(135deg, #0284c7 0%, #00d2ff 100%);
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-solicitar-reunion:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

.btn-solicitar-reunion:active {
  transform: translateY(0);
}

/* Ajustes adicionales para textos muy pequeños */
.extra-small {
  font-size: 0.78rem;
}

.text-gradient {
  background: var(--bg-linear-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Fondo general con imagen de almacén */
.warehouse-section-bg {
  background-image: url("../img/bg-warehouse-metrics.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

/* Capa oscura superpuesta sobre el fondo general (evita ruido visual) */
.warehouse-section-bg .bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    15,
    23,
    42,
    0.88
  ); /* Azul muy oscuro/slate con 88% opacidad */
  z-index: 1;
}

/* Posicionamiento relativo para contenido sobre overlay */
.z-index-2 {
  z-index: 2;
}

/* Estilo Glassmorphism para el CTA Banner */
.cta-glass-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* 1. Modificación de la clase base (usa scroll en lugar de fixed para evitar fallos de renderizado) */
.warehouse-section-bg {
  background-image: url("../img/bg-warehouse-metrics.avif");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

/* 2. Reglas exclusivas para cuando se imprime / guarda como PDF */
@media print {
  /* Forzar que Chrome/Edge impriman los fondos e imágenes */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Quitar cualquier efecto de parallax/fixed que rompa el PDF */
  .warehouse-section-bg {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center !important;
  }

  /* Asegurar que el overlay cubra exactamente toda la sección */
  .warehouse-section-bg .bg-overlay {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Desactivar backdrop-filter (blur) ya que los PDFs no soportan el desenfoque de vidrio */
  .cta-glass-card {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

.testi-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testi-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.testi-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
}

.testi-card {
    height: 100%;
}

.testi-carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.testi-carousel-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Tablets: 2 testimonios visibles */
@media (max-width: 991.98px) {
    .testi-slide {
        flex-basis: calc((100% - 24px) / 2);
    }
}

/* Celulares: 1 testimonio visible */
@media (max-width: 767.98px) {
    .testi-track {
        gap: 16px;
    }

    .testi-slide {
        flex-basis: 100%;
    }

    .testi-carousel-controls {
        justify-content: center;
        margin-top: 20px;
    }

    .testi-carousel-btn {
        width: 44px;
        height: 44px;
    }
}

.titulo {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* .terms-container {
  position: relative;
  min-height: 100vh;
  padding: 7rem 1rem 6rem;
  overflow: hidden;
}

.glow-effect-1 {
  position: absolute;
  top: 5rem;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.glow-effect-2 {
  position: absolute;
  top: 50%;
  left: -5rem;
  width: 24rem;
  height: 24rem;
  background-color: rgba(6, 182, 212, 0.1);
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
}

.wrapper {
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}


header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--brand-blue);
}

.breadcrumb-active {
  color: var(--brand-blue);
  font-weight: 500;
}

.main-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.025em;
}

.text-gradient {
  background: linear-gradient(
    to right,
    var(--brand-blue),
    var(--brand-cyan),
    var(--brand-teal)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.update-date {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.title-line {
  width: 4rem;
  height: 0.25rem;
  background: linear-gradient(to right, var(--brand-blue), var(--brand-cyan));
  border-radius: 9999px;
}


.glass-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.intro-box {
  color: #e2e8f0;
  font-size: 1rem;
  border-left: 4px solid var(--brand-blue);
  padding: 0.5rem 0 0.5rem 1rem;
  background-color: rgba(15, 23, 42, 0.4);
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-number {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background-color: rgba(59, 130, 246, 0.2);
  color: var(--brand-blue);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.section-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}


.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(15, 23, 42, 0.8);
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--card-border);
}

.service-card i {
  color: var(--brand-blue);
  font-size: 0.875rem;
}

.service-card span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}


.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 0.25rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: rgba(15, 23, 42, 0.9);
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--card-border);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background-color: #1e293b;
}

.contact-card.email:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.contact-card.whatsapp:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition:
    background-color 0.3s,
    color 0.3s;
  flex-shrink: 0;
}

.icon-box.email-icon {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--brand-blue);
}

.contact-card.email:hover .icon-box.email-icon {
  background-color: var(--brand-blue);
  color: var(--text-white);
}

.icon-box.ws-icon {
  background-color: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.contact-card.whatsapp:hover .icon-box.ws-icon {
  background-color: #10b981;
  color: var(--text-white);
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.6875rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: color 0.3s ease;
}

.contact-card.email:hover .contact-value {
  color: var(--brand-blue);
}

.contact-card.whatsapp:hover .contact-value {
  color: #34d399;
}


@media (min-width: 640px) {
  .main-title {
    font-size: 3rem;
  }

  .glass-card {
    padding: 2.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-box {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .terms-container {
    padding-top: 10rem;
  }
} */
