/* =================================================================
   DARTECONNECT — LANDING PAGE STYLES
   Paleta basada en el logotipo: navy profundo + azules eléctricos
   ================================================================= */

:root {
  /* --- Marca (ajusta aquí para retocar la paleta) --- */
  --dc-primary:        #0D2C54;   /* Azul marino del wordmark "DARTE" */
  --dc-primary-dark:   #081B36;   /* Navy más oscuro, fondos/hover */
  --dc-secondary:      #3E7FE0;   /* Azul principal del wordmark "CONNECT" */
  --dc-accent:         #5FA8F0;   /* Azul de los puntos del isotipo */
  --dc-accent-light:   #8CC4F5;   /* Azul claro, detalles y glows */

  --dc-whatsapp:       #25D366;
  --dc-whatsapp-dark:  #1EBE5A;

  --dc-bg:             #F5F8FC;
  --dc-surface:        #FFFFFF;
  --dc-text:           #0B1D33;
  --dc-text-muted:     #5A6B85;
  --dc-border:         #E2E9F3;

  --dc-font-display: 'Segoe UI', sans-serif;
  --dc-font-body:    'General Sans', 'Segoe UI', sans-serif;

  --dc-radius-sm: 10px;
  --dc-radius-md: 18px;
  --dc-radius-lg: 28px;

  --dc-shadow-soft: 0 20px 45px -20px rgba(13, 44, 84, 0.25);
  --dc-shadow-card: 0 10px 30px -12px rgba(13, 44, 84, 0.18);
}

/* ---------------------------------------------------------------
   BASE
   --------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--dc-font-body);
  color: var(--dc-text);
  background: var(--dc-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .dc-font-display {
  font-family: var(--dc-font-display);
  letter-spacing: -0.02em;
}

a { text-decoration: none; }

/* ---------------------------------------------------------------
   HEADER / NAV
   --------------------------------------------------------------- */
.dc-header { z-index: 1030; }

.dc-navbar {
  background: rgba(8, 27, 54, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dc-brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.dc-nav-links .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.dc-nav-links .nav-link:hover,
.dc-nav-links .nav-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.dc-toggler-icon { color: #fff; font-size: 1.5rem; line-height: 1; }
.navbar-toggler { border: none; box-shadow: none !important; }

.dc-btn-nav { padding: 0.5rem 1.1rem; font-size: 0.9rem; white-space: nowrap; }

/* ---------------------------------------------------------------
   BOTONES
   --------------------------------------------------------------- */
.btn { font-weight: 600; border-radius: 999px; }

.dc-btn-primary {
  background: var(--dc-secondary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.dc-btn-primary:hover {
  background: var(--dc-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--dc-shadow-soft);
}

.dc-btn-outline {
  background: transparent;
  color: var(--dc-primary);
  border: 1.5px solid var(--dc-primary);
  padding: 0.75rem 1.6rem;
  transition: all 0.2s ease;
}
.dc-btn-outline:hover {
  background: var(--dc-primary);
  color: #fff;
  transform: translateY(-2px);
}

.dc-btn-whatsapp {
  background: var(--dc-whatsapp);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.dc-btn-whatsapp i { font-size: 1.15rem; }
.dc-btn-whatsapp:hover {
  background: var(--dc-whatsapp-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.55);
}

.dc-btn-lg { padding: 0.95rem 2rem; font-size: 1.02rem; }

.dc-btn-cta {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.6rem;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* ---------------------------------------------------------------
   HERO
   --------------------------------------------------------------- */
.dc-hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% 0%, var(--dc-primary) 0%, var(--dc-primary-dark) 55%, #061527 100%);
  color: #fff;
  padding: 7.5rem 0 6rem;
  overflow: hidden;
}

.dc-hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(95, 168, 240, 0.35) 0%, rgba(95, 168, 240, 0) 70%);
  pointer-events: none;
}

.dc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dc-accent-light);
  margin-bottom: 1.25rem;
}
.dc-eyebrow-light { color: var(--dc-secondary); }

.dc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dc-accent);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(95, 168, 240, 0.25);
}

.dc-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.dc-text-gradient {
  background: linear-gradient(90deg, var(--dc-accent-light), var(--dc-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dc-hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.dc-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.dc-hero .dc-btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.dc-hero .dc-btn-outline:hover { background: #fff; color: var(--dc-primary); }

.dc-hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--dc-radius-lg);
  padding: 1.4rem;
  width: 100%;
  max-width: 340px;
  backdrop-filter: blur(6px);
}

.dc-hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.dc-hero-card-header i { font-size: 1.6rem; color: var(--dc-whatsapp); }
.dc-hero-card-header strong { display: block; font-size: 0.95rem; }
.dc-hero-card-header small { color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; }

.dc-bubble {
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  max-width: 90%;
}
.dc-bubble-in { background: rgba(255, 255, 255, 0.1); border-bottom-left-radius: 4px; }
.dc-bubble-out {
  background: var(--dc-whatsapp);
  color: #06301a;
  margin-left: auto;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

/* ---------------------------------------------------------------
   PRODUCTOS
   --------------------------------------------------------------- */
.dc-product-section { padding: 5.5rem 0; background: var(--dc-surface); }
.dc-product-alt { background: var(--dc-bg); }

.dc-divider { display: flex; justify-content: center; }
.dc-divider span {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--dc-border);
}

.dc-carousel {
  border-radius: var(--dc-radius-lg);
  overflow: hidden;
  box-shadow: var(--dc-shadow-card);
}
.dc-carousel .carousel-item {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, var(--dc-bg) 0%, #EAF0F9 100%);
}
.dc-carousel img { width: 100%; height: 100%; object-fit: contain; }

.dc-carousel-arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 27, 54, 0.55);
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
}
.carousel-control-prev, .carousel-control-next { width: 15%; }

.dc-carousel-indicators { bottom: 14px; }
.dc-carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  opacity: 1;
}
.dc-carousel-indicators .active { background-color: #fff; width: 22px; border-radius: 999px; }

.dc-badge-offer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(62, 127, 224, 0.1);
  color: var(--dc-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.dc-badge-alt { background: rgba(122, 79, 41, 0.1); color: #8A5A2B; }

.dc-product-title {
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dc-primary);
  margin-bottom: 0.9rem;
}

.dc-product-desc {
  color: var(--dc-text-muted);
  font-size: 1.02rem;
  margin-bottom: 1.4rem;
  max-width: 34rem;
}

.dc-feature-list { list-style: none; padding: 0; margin-bottom: 1.6rem; }
.dc-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--dc-text);
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}
.dc-feature-list i { color: var(--dc-secondary); margin-top: 0.15rem; }

.dc-price-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.4rem; flex-wrap: wrap; }
.dc-price-old { color: var(--dc-text-muted); text-decoration: line-through; font-size: 1.05rem; }
.dc-price-new { color: var(--dc-primary); font-size: 1.9rem; font-weight: 700; font-family: var(--dc-font-display); }
.dc-price-badge {
  background: #E9F9EF;
  color: var(--dc-whatsapp-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.dc-availability { color: var(--dc-text-muted); font-size: 0.9rem; margin-bottom: 1.6rem; display: flex; align-items: center; gap: 0.5rem; }
.dc-dot-green { color: var(--dc-whatsapp); font-size: 0.55rem; }

.dc-variants {
  background: var(--dc-bg);
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius-md);
  padding: 1.25rem 1.4rem;
  margin-bottom: 1.6rem;
}
.dc-product-alt .dc-variants { background: #fff; }

.dc-variant-group { margin-bottom: 0.9rem; }
.dc-variant-group:last-of-type { margin-bottom: 0.6rem; }

.dc-variant-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dc-text-muted);
  margin-bottom: 0.5rem;
}

.dc-variant-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid var(--dc-border);
  color: var(--dc-text);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}
.dc-chip i { font-size: 0.7rem; }

.dc-variant-note {
  font-size: 0.82rem;
  color: var(--dc-text-muted);
  font-style: italic;
  margin: 0.6rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------------------------------------------------------------
   SECCIÓN B2B
   --------------------------------------------------------------- */
.dc-b2b-section {
  background: linear-gradient(180deg, var(--dc-primary-dark) 0%, var(--dc-primary) 100%);
  color: #fff;
  padding: 6rem 0;
}

.dc-b2b-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.dc-b2b-lead { color: rgba(255, 255, 255, 0.75); font-size: 1.05rem; }

.dc-benefit-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--dc-radius-md);
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform 0.25s ease, background 0.25s ease;
}
.dc-benefit-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.1); }

.dc-benefit-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dc-secondary);
  border-radius: 12px;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.dc-benefit-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.5rem; }
.dc-benefit-card p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; margin: 0; }

/* ---------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------- */
.dc-footer { background: #061527; color: rgba(255, 255, 255, 0.75); padding: 4rem 0 2rem; }
.dc-footer-logo { height: 30px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.dc-footer-text { font-size: 0.9rem; margin-bottom: 0.6rem; }
.dc-footer-text a { color: rgba(255, 255, 255, 0.75); }
.dc-footer-text a:hover { color: #fff; }
.dc-footer-heading { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.dc-footer-divider { border-color: rgba(255, 255, 255, 0.12); margin: 2.5rem 0 1.5rem; }
.dc-footer-copy { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); margin: 0; }

/* ---------------------------------------------------------------
   BOTÓN FLOTANTE WHATSAPP
   --------------------------------------------------------------- */
.dc-float-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: var(--dc-whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6);
  z-index: 1040;
  animation: dc-pulse 2.4s infinite;
}
.dc-float-whatsapp:hover { color: #fff; transform: scale(1.06); }

@keyframes dc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45), 0 12px 28px -8px rgba(37, 211, 102, 0.6); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 12px 28px -8px rgba(37, 211, 102, 0.6); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 12px 28px -8px rgba(37, 211, 102, 0.6); }
}

/* ---------------------------------------------------------------
   SCROLL REVEAL (activado por script.js)
   --------------------------------------------------------------- */
.dc-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.dc-reveal.dc-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .dc-nav-links { margin: 1rem 0; }
  .dc-nav-links .nav-link { padding: 0.65rem 0.5rem; }
  .dc-btn-nav { width: 100%; justify-content: center; }
  .dc-hero { padding: 6.5rem 0 4rem; }
}

@media (max-width: 575.98px) {
  .dc-hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .dc-float-whatsapp { width: 52px; height: 52px; font-size: 1.4rem; bottom: 16px; right: 16px; }
}
