/* =================================================================
 * datalab-landing.css
 * Landing page institucional de DataLab — Unitrópico
 * Paleta: verde institucional #00594e, gold #b5a160
 * Tipografías: Outfit (display) + Source Sans 3 (cuerpo)
 * ================================================================= */

/* ─── Tokens ─────────────────────────────────────────────────────── */
:root {
  --dl-green:        #00594e;
  --dl-green-dark:   #003d36;
  --dl-green-deep:   #00261f;
  --dl-green-tint:   #e8f3f1;
  --dl-green-tintl:  #f4faf8;
  --dl-gold:         #b5a160;
  --dl-gold-soft:    #d4c388;
  --dl-ink:          #0f1f1c;
  --dl-text:         #1f2937;
  --dl-muted:        #5d6f6c;
  --dl-line:         rgba(15, 31, 28, 0.08);
  --dl-line-strong:  rgba(15, 31, 28, 0.14);
  --dl-shadow-sm:    0 1px 2px rgba(0, 38, 31, 0.05), 0 1px 3px rgba(0, 38, 31, 0.06);
  --dl-shadow-md:    0 4px 12px rgba(0, 38, 31, 0.08), 0 2px 4px rgba(0, 38, 31, 0.05);
  --dl-shadow-lg:    0 24px 60px rgba(0, 38, 31, 0.12), 0 8px 20px rgba(0, 38, 31, 0.08);
  --dl-radius-sm:    10px;
  --dl-radius:       16px;
  --dl-radius-lg:    24px;
  --dl-ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Reset & base ───────────────────────────────────────────────── */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

html { background: #fff; }

body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dl-text);
  background:
    linear-gradient(180deg,
      #b5a160 0%,
      rgba(181, 161, 96, 0.55) 30%,
      rgba(181, 161, 96, 0) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--dl-ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

p { margin: 0 0 1em; }
a { color: var(--dl-green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--dl-green-dark); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navbar sticky con blur ─────────────────────────────────────── */
.dl-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all 0.35s var(--dl-ease);
  background: rgba(255, 255, 255, 0);
}

.dl-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--dl-line);
  padding: 10px 0;
  box-shadow: 0 1px 3px rgba(0, 38, 31, 0.04);
}

.dl-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dl-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dl-ink);
}

.dl-brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--dl-green), var(--dl-green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 89, 78, 0.25);
}

.dl-brand-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.dl-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.dl-brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--dl-ink);
}

.dl-brand-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dl-muted);
}

.dl-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dl-nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--dl-text);
  transition: all 0.2s;
}

.dl-nav-links a:hover {
  background: var(--dl-green-tint);
  color: var(--dl-green-dark);
}

.dl-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--dl-green);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.94rem;
  box-shadow: 0 6px 16px rgba(0, 89, 78, 0.25);
  transition: all 0.25s var(--dl-ease);
}

.dl-nav-cta:hover {
  background: var(--dl-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 89, 78, 0.30);
  color: #fff !important;
}

.dl-nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--dl-ink);
}

.dl-nav-toggle:hover { background: var(--dl-green-tint); }

@media (max-width: 900px) {
  .dl-nav-links { display: none; }
  .dl-nav-toggle { display: inline-flex; }
  .dl-nav-cta { padding: 9px 16px; font-size: 0.88rem; }
  .dl-brand-tag { display: none; }
}

/* mobile drawer */
.dl-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: min(320px, 90vw);
  z-index: 110;
  background: #fff;
  padding: 80px 24px 32px;
  box-shadow: -10px 0 30px rgba(0, 38, 31, 0.15);
  transition: right 0.3s var(--dl-ease);
}

.dl-mobile-menu.open { right: 0; }

.dl-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dl-mobile-menu li { margin-bottom: 6px; }

.dl-mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--dl-text);
  font-weight: 600;
  font-size: 1rem;
}

.dl-mobile-menu a:hover { background: var(--dl-green-tint); color: var(--dl-green-dark); }

.dl-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 28, 0.45);
  backdrop-filter: blur(4px);
  z-index: 105;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.dl-backdrop.show { opacity: 1; pointer-events: auto; }

/* ─── Hero principal ─────────────────────────────────────────────── */
.dl-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 89, 78, 0.10), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(181, 161, 96, 0.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--dl-green-tintl) 100%);
}

.dl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(0, 89, 78, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 70%);
  z-index: -1;
  opacity: 0.6;
}

.dl-hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.dl-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 89, 78, 0.08);
  border: 1px solid rgba(0, 89, 78, 0.18);
  color: var(--dl-green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.dl-hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dl-gold);
  box-shadow: 0 0 0 3px rgba(181, 161, 96, 0.25);
  animation: dlPulse 2.4s ease infinite;
}

@keyframes dlPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.4); }
}

.dl-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  color: var(--dl-ink);
}

.dl-hero-title .accent {
  background: linear-gradient(135deg, var(--dl-green) 0%, var(--dl-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.dl-hero-subtitle {
  font-size: 1.18rem;
  color: var(--dl-muted);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.55;
}

.dl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s var(--dl-ease);
  text-decoration: none;
  border: 0;
  letter-spacing: -0.005em;
}

.dl-btn-primary {
  background: var(--dl-green);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 89, 78, 0.28);
}

.dl-btn-primary:hover {
  background: var(--dl-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 89, 78, 0.34);
  color: #fff;
}

.dl-btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--dl-green-dark);
  border: 1px solid var(--dl-green);
  backdrop-filter: blur(8px);
}

.dl-btn-ghost:hover {
  background: var(--dl-green);
  color: #fff;
  transform: translateY(-2px);
}

.dl-btn-icon { font-size: 0.95em; transition: transform 0.25s; }
.dl-btn:hover .dl-btn-icon { transform: translateX(3px); }

/* Hero visual: floating dashboard preview */
.dl-hero-visual {
  position: relative;
  height: 460px;
}

.dl-hero-card {
  position: absolute;
  border-radius: var(--dl-radius);
  background: #fff;
  box-shadow: var(--dl-shadow-lg);
  border: 1px solid var(--dl-line);
  padding: 18px;
  animation: dlFloat 7s ease-in-out infinite;
}

.dl-hero-card-1 {
  top: 0;
  right: 30px;
  width: 320px;
  z-index: 2;
}

.dl-hero-card-2 {
  bottom: 30px;
  left: 0;
  width: 280px;
  animation-delay: -3.5s;
  z-index: 3;
}

.dl-hero-card-3 {
  top: 50%;
  right: 0;
  width: 220px;
  background: linear-gradient(135deg, var(--dl-green), var(--dl-green-dark));
  color: #fff;
  border: 0;
  animation-delay: -1.8s;
  z-index: 4;
}

@keyframes dlFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.dl-mini-chart-label {
  font-size: 0.78rem;
  color: var(--dl-muted);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dl-mini-chart-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--dl-ink);
}

.dl-hero-card-3 .dl-mini-chart-label,
.dl-hero-card-3 .dl-mini-chart-value { color: #fff; }

.dl-hero-card-3 .dl-mini-chart-label { opacity: 0.85; }

.dl-mini-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
}

.dl-mini-chart-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--dl-green), var(--dl-green-dark));
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: dlBarRise 1.2s var(--dl-ease) backwards;
}

.dl-hero-card-3 .dl-mini-chart-bars span {
  background: linear-gradient(180deg, var(--dl-gold-soft), var(--dl-gold));
}

@keyframes dlBarRise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.dl-mini-chart-bars span:nth-child(1) { height: 40%; animation-delay: 0.2s; }
.dl-mini-chart-bars span:nth-child(2) { height: 70%; animation-delay: 0.3s; }
.dl-mini-chart-bars span:nth-child(3) { height: 55%; animation-delay: 0.4s; }
.dl-mini-chart-bars span:nth-child(4) { height: 90%; animation-delay: 0.5s; }
.dl-mini-chart-bars span:nth-child(5) { height: 75%; animation-delay: 0.6s; }
.dl-mini-chart-bars span:nth-child(6) { height: 100%; animation-delay: 0.7s; }

.dl-mini-chart-line {
  height: 60px;
  position: relative;
}

.dl-mini-chart-line svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.dl-mini-chart-line path {
  fill: none;
  stroke: var(--dl-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: dlDrawLine 2s var(--dl-ease) 0.5s forwards;
}

@keyframes dlDrawLine {
  to { stroke-dashoffset: 0; }
}

.dl-mini-chart-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dl-green);
  background: rgba(0, 89, 78, 0.08);
  padding: 3px 8px;
  border-radius: 999px;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .dl-hero { padding: 110px 0 60px; }
  .dl-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .dl-hero-visual { height: 360px; }
  .dl-hero-card-1 { width: 280px; right: 0; }
  .dl-hero-card-2 { width: 240px; }
  .dl-hero-card-3 { width: 180px; }
}

@media (max-width: 600px) {
  .dl-hero-visual { display: none; }
}

/* ─── Cifras hero (improved version of planeacion) ───────────────── */
.dl-cifras-section {
  padding: 0 0 80px;
  position: relative;
}

.dl-cifras-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--dl-radius-lg);
  color: #fff;
  padding: 38px 38px 30px;
  background:
    linear-gradient(135deg, rgba(0, 38, 31, 0.92) 0%, rgba(0, 89, 78, 0.78) 100%),
    url('/datalab/assets/img/datalab/bg-green.png') center/cover;
  box-shadow: var(--dl-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dl-cifras-hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 161, 96, 0.22), transparent 70%);
  pointer-events: none;
}

.dl-cifras-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: stretch;
}

.dl-cifras-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dl-cifras-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
}

.dl-cifras-badge::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--dl-gold);
  border-radius: 2px;
}

.dl-cifras-period {
  font-family: 'Outfit', sans-serif;
  font-size: 4.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.9;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dl-cifras-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
}

.dl-cifras-help .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  font-weight: 800;
}

.dl-cifras-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.dl-cifras-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--dl-ease);
  font-family: inherit;
}

.dl-cifras-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.dl-cifras-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dl-metric {
  position: relative;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
  transition: all 0.3s var(--dl-ease);
  overflow: hidden;
}

.dl-metric::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(181, 161, 96, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.dl-metric:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.20);
}

.dl-metric:hover::before { opacity: 1; }

.dl-metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(181, 161, 96, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--dl-gold-soft);
}

.dl-metric-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.dl-metric-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.dl-metric-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.01em;
}

.dl-metric-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dl-gold-soft);
  opacity: 0.95;
}

.dl-metric-tag.is-static {
  color: rgba(255, 255, 255, 0.55);
}

.dl-cifras-note {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dl-cifras-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dl-cifras-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.dl-cifras-status .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
  animation: dlPulse 2s ease infinite;
}

@media (max-width: 900px) {
  .dl-cifras-hero { padding: 28px 22px 22px; }
  .dl-cifras-inner { grid-template-columns: 1fr; gap: 22px; }
  .dl-cifras-period { font-size: 3.6rem; }
  .dl-cifras-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .dl-cifras-metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dl-metric-value { font-size: 1.6rem; }
  .dl-metric { padding: 14px; }
}

/* ─── Section common ─────────────────────────────────────────────── */
.dl-section {
  padding: 80px 0;
  position: relative;
}

.dl-section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.dl-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dl-green);
  background: var(--dl-green-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.dl-section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.dl-section-subtitle {
  font-size: 1.1rem;
  color: var(--dl-muted);
  margin: 0;
}

/* ─── Módulos grid ──────────────────────────────────────────────── */
.dl-modulos {
  background: var(--dl-green-tintl);
}

.dl-modulos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.dl-modulo-card {
  position: relative;
  padding: 26px;
  border-radius: var(--dl-radius);
  background: #fff;
  border: 1px solid var(--dl-line);
  transition: all 0.35s var(--dl-ease);
  text-decoration: none;
  color: var(--dl-text);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.dl-modulo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dl-green) 0%, var(--dl-green-dark) 100%);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 0;
}

.dl-modulo-card > * {
  position: relative;
  z-index: 1;
}

.dl-modulo-card:hover {
  transform: translateY(-4px);
  border-color: var(--dl-green);
  box-shadow: var(--dl-shadow-lg);
  color: #fff;
}

.dl-modulo-card:hover::before { opacity: 1; }

.dl-modulo-card:hover .dl-modulo-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.dl-modulo-card:hover .dl-modulo-name,
.dl-modulo-card:hover .dl-modulo-desc { color: #fff; }

.dl-modulo-card:hover .dl-modulo-arrow {
  background: rgba(255, 255, 255, 0.20);
  color: #fff;
  transform: translateX(4px);
}

.dl-modulo-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--dl-green-tint);
  color: var(--dl-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
  transition: all 0.35s;
}

.dl-modulo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  margin-bottom: 6px;
  color: var(--dl-ink);
  transition: color 0.35s;
}

.dl-modulo-desc {
  font-size: 0.92rem;
  color: var(--dl-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
  transition: color 0.35s;
}

.dl-modulo-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--dl-green);
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--dl-green-tint);
  transition: all 0.35s;
}

@media (max-width: 900px) {
  .dl-modulos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .dl-modulos-grid { grid-template-columns: 1fr; }
}

/* ─── Cómo funciona (3 pasos) ────────────────────────────────────── */
.dl-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.dl-workflow-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--dl-line-strong) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.dl-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.dl-step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--dl-green-tint);
  color: var(--dl-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: var(--dl-shadow-md);
  transition: all 0.4s var(--dl-ease);
}

.dl-step-circle::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dl-green), var(--dl-gold));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.dl-step:hover .dl-step-circle {
  background: var(--dl-green);
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
}

.dl-step:hover .dl-step-circle::before { opacity: 1; }

.dl-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.dl-step-text {
  color: var(--dl-muted);
  font-size: 0.96rem;
  line-height: 1.55;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .dl-workflow-grid { grid-template-columns: 1fr; gap: 36px; }
  .dl-workflow-grid::before { display: none; }
}

/* ─── Características ────────────────────────────────────────────── */
.dl-features {
  background: var(--dl-green-tintl);
}

.dl-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.dl-feature {
  padding: 28px;
  border-radius: var(--dl-radius);
  background: #fff;
  border: 1px solid var(--dl-line);
  transition: all 0.3s var(--dl-ease);
}

.dl-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--dl-shadow-md);
  border-color: var(--dl-green-tint);
}

.dl-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--dl-green), var(--dl-green-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(0, 89, 78, 0.22);
}

.dl-feature-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.dl-feature-text {
  font-size: 0.92rem;
  color: var(--dl-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) { .dl-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .dl-features-grid { grid-template-columns: 1fr; } }

/* ─── Admin callout ──────────────────────────────────────────────── */
.dl-admin-callout {
  padding: 56px 0 24px;
}

.dl-admin-card {
  position: relative;
  border-radius: var(--dl-radius-lg);
  padding: 32px 40px 32px 48px;
  background:
    linear-gradient(135deg, #ffffff 0%, #fefcf6 60%, #fbf6e6 100%);
  border: 1px solid rgba(181, 161, 96, 0.28);
  box-shadow: 0 14px 36px rgba(15, 31, 28, 0.06);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.35s var(--dl-ease), transform 0.35s var(--dl-ease);
}

.dl-admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(15, 31, 28, 0.10);
}

.dl-admin-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--dl-gold) 0%, var(--dl-gold-soft) 100%);
}

.dl-admin-card::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 161, 96, 0.14), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.dl-admin-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--dl-gold) 0%, #8d7a3e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 10px 24px rgba(181, 161, 96, 0.32);
  flex-shrink: 0;
}

.dl-admin-text { min-width: 0; }

.dl-admin-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8d7a3e;
  margin-bottom: 8px;
}

.dl-admin-eyebrow i { font-size: 0.85em; }

.dl-admin-title {
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--dl-ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.dl-admin-desc {
  font-size: 0.96rem;
  color: var(--dl-muted);
  margin: 0;
  line-height: 1.55;
  max-width: 580px;
}

.dl-btn-admin {
  background: var(--dl-ink);
  color: #fff;
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 31, 28, 0.20);
}

.dl-btn-admin:hover {
  background: var(--dl-green-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 31, 28, 0.28);
}

@media (max-width: 800px) {
  .dl-admin-callout { padding: 36px 0 12px; }

  .dl-admin-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 22px 26px;
    gap: 18px;
  }

  .dl-admin-card::before {
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--dl-gold), var(--dl-gold-soft));
  }

  .dl-admin-icon { margin: 0 auto; }
  .dl-admin-eyebrow { justify-content: center; }
  .dl-admin-desc { margin: 0 auto; }
  .dl-btn-admin { justify-self: center; width: 100%; max-width: 320px; justify-content: center; }
}

/* ─── CTA final ──────────────────────────────────────────────────── */
.dl-cta-final {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  isolation: isolate;
}

.dl-cta-card {
  position: relative;
  border-radius: var(--dl-radius-lg);
  padding: 56px 48px;
  text-align: center;
  background:
    linear-gradient(135deg, var(--dl-green-deep) 0%, var(--dl-green) 60%, var(--dl-green-dark) 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--dl-shadow-lg);
}

.dl-cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(181, 161, 96, 0.22), transparent 60%);
  pointer-events: none;
}

.dl-cta-card::after {
  content: "";
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0, 89, 78, 0.5), transparent 60%);
  pointer-events: none;
}

.dl-cta-inner { position: relative; z-index: 1; }

.dl-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dl-gold-soft);
  margin-bottom: 16px;
}

.dl-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
}

.dl-cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 28px;
  max-width: 540px;
}

.dl-cta-card .dl-btn-primary {
  background: #fff;
  color: var(--dl-green-dark);
}

.dl-cta-card .dl-btn-primary:hover {
  background: var(--dl-gold);
  color: var(--dl-green-deep);
  box-shadow: 0 14px 30px rgba(181, 161, 96, 0.4);
}

@media (max-width: 600px) {
  .dl-cta-card { padding: 42px 24px; }
}

/* ─── Footer ─────────────────────────────────────────────────────── */
.dl-footer {
  background: var(--dl-green-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
}

.dl-footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.dl-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.dl-footer-brand img {
  width: 42px;
  height: 42px;
}

.dl-footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.dl-footer-brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}

.dl-footer-brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dl-gold-soft);
}

.dl-footer-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
  max-width: 320px;
  line-height: 1.55;
}

.dl-footer-unitropico {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-decoration: none;
}

.dl-footer-unitropico:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.dl-footer-unitropico img { height: 36px; }

.dl-footer-unitropico-text {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.2;
}

.dl-footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
}

.dl-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dl-footer-col li { margin-bottom: 8px; }

.dl-footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s;
}

.dl-footer-col a:hover { color: var(--dl-gold-soft); }

.dl-footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

.dl-footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 18px;
}
.dl-footer-bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .dl-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .dl-footer-inner { grid-template-columns: 1fr; }
}

/* ─── Scroll-reveal animations ───────────────────────────────────── */
.dl-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--dl-ease), transform 0.8s var(--dl-ease);
}

.dl-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.dl-reveal.is-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--dl-ease), transform 0.6s var(--dl-ease);
}

.dl-reveal.is-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.dl-reveal.is-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.dl-reveal.is-stagger.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.dl-reveal.is-stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.dl-reveal.is-stagger.is-visible > *:nth-child(4) { transition-delay: 0.20s; }
.dl-reveal.is-stagger.is-visible > *:nth-child(5) { transition-delay: 0.25s; }
.dl-reveal.is-stagger.is-visible > *:nth-child(6) { transition-delay: 0.30s; }
.dl-reveal.is-stagger.is-visible > *:nth-child(7) { transition-delay: 0.35s; }
.dl-reveal.is-stagger.is-visible > *:nth-child(8) { transition-delay: 0.40s; }
.dl-reveal.is-stagger.is-visible > *:nth-child(9) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .dl-reveal, .dl-reveal.is-stagger > * { transition: none !important; opacity: 1 !important; transform: none !important; }
  .dl-hero-card, .dl-mini-chart-line path, .dl-mini-chart-bars span, .dl-hero-eyebrow .dot { animation: none !important; }
  html { scroll-behavior: auto; }
}
