/* ============================================================================
   DIGITALWAIS — DARK THEME, PROFESSIONAL AGENCY WEBSITE
   Colors: Navy #050d1a, Electric Blue #378ADD, White
   ========================================================================== */

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 112px; }

:root {
  /* Backgrounds */
  --color-navy: #060910;        /* primary background */
  --color-bg-secondary: #0c1118;
  --color-bg-dark: #0c1118;
  --color-bg-card: #111827;
  /* Accent */
  --color-blue: #378ADD;
  --color-blue-light: #5B9FE8;
  /* Text */
  --color-white: #F9FAFB;
  --color-text-primary: #F9FAFB;
  --color-text-secondary: #9CA3AF;
  --color-text-muted: #4B5563;
  /* Borders */
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(55, 138, 221, 0.4);
  /* Status */
  --color-green: #10B981;
  --color-red: #EF4444;
  --spacing-unit: 1rem;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --transition-fast: 150ms ease;
  --transition-smooth: 300ms ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background: var(--color-navy);
  color: var(--color-text-primary);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================================
   NAVIGATION BAR (Apple-inspired)
   ========================================================================== */

.navbar {
  position: fixed;
  top: 31px; /* solapa 1px el ticker para evitar ranura por sub-píxel en pantallas escaladas */
  left: 0;
  right: 0;
  z-index: 100;
  height: 61px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.navbar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Solid, blurred bar once the page is scrolled past the hero */
.navbar.scrolled {
  background: rgba(6, 9, 16, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Cuando el ticker no carga (API caída) se oculta; el navbar sube al tope
   para no dejar una franja/ranura por donde se vea la página. */
body.ticker-hidden .navbar {
  top: 0;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.navbar-logo:hover {
  color: var(--color-text-primary);
}

.navbar-logo-ai {
  color: var(--color-blue);
}

.navbar-menu {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.navbar-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 150ms ease;
  position: relative;
}

.navbar-link:hover {
  color: var(--color-text-primary);
}

.navbar-link.active {
  color: var(--color-text-primary);
}

.navbar-link-cta {
  background: var(--color-blue);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: background 150ms ease;
}

.navbar-link-cta:hover {
  color: #ffffff;
  background: var(--color-blue-light);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
}

.navbar-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-white);
  transition: all 300ms ease;
  border-radius: 2px;
  display: block;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================================================
   TYPOGRAPHY
   ========================================================================== */


h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--color-text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-blue-light);
}

/* ============================================================================
   LAYOUT
   ========================================================================== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 112px 0;
  scroll-margin-top: 80px;
  background: #060910;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Alternating section backgrounds create rhythm without borders */
.section:nth-of-type(even) {
  background: #0d1117;
}

.section-dark {
  border-top: none;
}

/* ============================================================================
   LIGHT SECTIONS — value/sales content on white for easy reading.
   Overrides are scoped to .section-light so pages that reuse these component
   classes (blog, admin, testimonios) keep the dark theme untouched.
   ========================================================================== */

.section.section-light {
  background: #F8F9FC;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* Headings & copy */
.section-light .section-title,
.section-light .testi-home-title {
  color: #0F172A;
}

.section-light .section-subtitle {
  color: #475569;
}

.section-light .section-label {
  color: #1D4ED8;
}

/* Services */
.section-light .service-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.06);
  border-top: 2px solid transparent;
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow:
    0 1px 2px rgba(10, 15, 30, 0.04),
    0 4px 12px rgba(10, 15, 30, 0.06),
    0 16px 32px rgba(10, 15, 30, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-light .service-card:hover {
  border-top-color: #378ADD;
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(55, 138, 221, 0.04) 100%);
  box-shadow:
    0 0 0 1px rgba(55, 138, 221, 0.15),
    0 8px 32px rgba(55, 138, 221, 0.08),
    0 24px 48px rgba(10, 15, 30, 0.08);
  transform: translateY(-6px);
}

/* Animated arrow on the "Saber más" link */
.section-light .service-card .svc-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.section-light .service-card:hover .svc-arrow {
  transform: translateX(4px);
}

.section-light .service-label {
  background: rgba(55, 138, 221, 0.08);
  color: #1D4ED8;
  border: 1px solid rgba(55, 138, 221, 0.15);
  letter-spacing: 0.1em;
  border-radius: 4px;
  padding: 4px 10px;
}

.section-light .service-card h3 {
  color: #0F172A;
  margin: 16px 0 8px;
}

.section-light .service-card p {
  color: #475569;
  line-height: 1.65;
}

/* Testimonios / portfolio */
.section-light .portfolio-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 48px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 16px 48px rgba(15, 23, 42, 0.06);
}

.section-light .portfolio-card:hover {
  border-color: rgba(55, 138, 221, 0.2);
}

.section-light .portfolio-name {
  color: #0F172A;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.25;
}

.section-light .portfolio-description {
  color: #475569;
}

.section-light .metric-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  padding: 24px 20px;
}

.section-light .metric-number {
  color: #0F172A;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.section-light .metric-label {
  color: #94A3B8;
  font-size: 12px;
  font-weight: 400;
  margin-top: 6px;
  line-height: 1.4;
}

/* Before / after */
.section-light .ba-list li {
  color: #475569;
}

.section-light .ba-list li::before {
  color: #94A3B8;
}

.section-light .after-col .ba-list li {
  color: #334155;
}

/* Why */
.section-light .why-block {
  border-left-color: rgba(15, 23, 42, 0.08);
}

.section-light .why-block h3 {
  color: #0F172A;
}

.section-light .why-block p {
  color: #475569;
}

/* Pricing */
.section-light .pricing-card {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.04);
}

.section-light .pricing-card:hover {
  background: rgba(55, 138, 221, 0.04);
  border-color: var(--color-blue);
}

.section-light .pricing-card-featured {
  background: rgba(55, 138, 221, 0.06);
  border-color: var(--color-blue);
}

.section-light .pricing-card h3 {
  color: #0F172A;
}

.section-light .pricing-desc,
.section-light .pricing-subtext,
.section-light .pricing-features li,
.section-light .pricing-note {
  color: #475569;
}

.section-light .pricing-subtext {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.section-light .pricing-features li {
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

.section-light .pricing-guarantee {
  color: #64748B;
}

/* Small eyebrow label above section headlines */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Dark section headlines — more size/weight drama vs body */
.section-title {
  text-align: left;
  margin-bottom: 3rem;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text-primary);
  max-width: 700px;
  padding-bottom: 0;
}

/* Light section headlines */
.section-light .section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #0A0F1E;
}

/* Section heading group (title + subtitle), left aligned */
.section-head {
  max-width: 700px;
  margin-bottom: 3rem;
}

.section-head .section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.75;
  max-width: 520px;
  margin: 12px 0 0;
}

/* Consistent professional card */
.card-pro {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}

.card-pro:hover {
  border-color: rgba(55, 138, 221, 0.3);
}

/* ============================================================================
   SOCIAL PROOF BAR
   ========================================================================== */

.social-proof {
  background: #FFFFFF;
  border-top: 1px solid rgba(10, 15, 30, 0.06);
  border-bottom: 1px solid rgba(10, 15, 30, 0.06);
  padding: 20px 0;
}

.social-proof .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  text-align: center;
}

.sp-label {
  font-size: 13px;
  color: #475569;
  letter-spacing: 0.05em;
}

.sp-clients {
  font-size: 13px;
  color: #0A0F1E;
  letter-spacing: 0.05em;
}

.sp-dot {
  color: #378ADD;
  padding: 0 8px;
}

/* CLIENTES eyebrow label */
.sp-clientes-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94A3B8;
  text-transform: uppercase;
  margin-right: 24px;
  border-right: 1px solid rgba(10, 15, 30, 0.1);
  padding-right: 24px;
}

/* Client name + hover tooltip */
.sp-client {
  position: relative;
  cursor: default;
  color: #0A0F1E;
  font-weight: 600;
}

.sp-client::after {
  content: attr(data-tip);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 4px;
  background: #0A0F1E;
  color: #F9FAFB;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.sp-client:hover::after {
  opacity: 1;
}

@media (max-width: 600px) {
  .sp-clientes-label {
    margin-right: 12px;
    padding-right: 12px;
  }
}

/* ============================================================================
   HERO SECTION
   ========================================================================== */

.hero-scroll-container {
  position: relative;
  height: 150vh;
  transition: opacity 0.3s ease;
}

.hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh; /* fallback for browsers without dvh */
  height: 100dvh;
  background: var(--color-navy);
  background-image:
    linear-gradient(
      rgba(55,138,221,0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(55,138,221,0.03) 1px,
      transparent 1px
    );
  background-size: 40px 40px;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-canvas-container {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

/* torus.js skips WebGL init below 768px; this sits behind the hero-overlay
   content as a backdrop (the particle canvas in hero.js is the real mobile
   visual, but it paints after JS runs, so this avoids a flash of flat navy). */
@media (max-width: 768px) {
  .hero-canvas-container {
    background: radial-gradient(circle at 50% 45%, rgba(55, 138, 221, 0.15) 0%, #060910 70%);
  }
}

#heroCanvas {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}

.hero-logo {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 0;
  font-family: var(--font-sans);
}

.logo-ai {
  color: var(--color-blue);
  display: inline-block;
  text-shadow: 0 0 40px rgba(55, 138, 221, 0.3);
}

.hero-headline {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1.1;
  max-width: 800px;
  margin: 20px auto 0;
  padding: 0 16px;
}

.hero-tagline {
  font-size: 16px;
  color: var(--color-text-secondary);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-align: center;
  margin-top: 12px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  pointer-events: auto;
}

.hero-pill {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.hero-progress-bar {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.hero-progress-fill {
  width: 100%;
  height: 0%;
  background: var(--color-blue);
  border-radius: 2px;
  transition: height 50ms linear;
}

/* ============================================================================
   HERO DEMO BUTTON & MODAL
   ========================================================================== */

.demo-button {
  margin-top: 28px;
  background: transparent;
  color: var(--color-blue);
  border: 1px solid rgba(55, 138, 221, 0.5);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  pointer-events: auto;
}

.demo-button:hover {
  background: rgba(55, 138, 221, 0.1);
}

.demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 300ms ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--color-navy);
  border: 1px solid rgba(55, 138, 221, 0.2);
  border-radius: 8px;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  position: relative;
  animation: slideUp 300ms ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--color-blue);
  font-size: 28px;
  cursor: pointer;
  transition: color 200ms ease;
}

.modal-close:hover {
  color: var(--color-white);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================================================
   PAIN POINTS SECTION
   ========================================================================== */

.pain-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

.pain-point {
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-left: 1px solid rgba(55, 138, 221, 0.3);
  border-radius: 8px;
  box-shadow: none;
}

/* Card 02 carries the accent — breaks the equal-weight monotony */
.pain-points .pain-point:nth-child(2) {
  border-left: 3px solid #378ADD;
}

.pain-point-num {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.pain-point h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.pain-point p {
  color: #6B7280;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================================
   SERVICES SECTION
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 28px 28px 24px;
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(55, 138, 221, 0.3);
  transform: translateY(-2px);
}

.service-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-blue);
  background: rgba(55, 138, 221, 0.08);
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.service-card h3 {
  margin: 0 0 8px 0;
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 600;
}

.service-card p {
  flex-grow: 1;
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

.service-link {
  display: inline-block;
  color: var(--color-blue);
  font-size: 13px;
  font-weight: 500;
  margin-top: 20px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.service-link:hover {
  opacity: 0.7;
  color: var(--color-blue);
}

/* ============================================================================
   PORTFOLIO SECTION
   ========================================================================== */

.portfolio-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 40px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  transition: border-color 0.2s;
}

.portfolio-card:hover {
  border-color: rgba(55, 138, 221, 0.3);
}

.portfolio-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-blue);
  margin-bottom: 14px;
}

.portfolio-name {
  margin: 0 0 6px 0;
  color: var(--color-text-primary);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.portfolio-industry {
  color: var(--color-text-secondary);
  font-size: 13px;
  margin-bottom: 1.25rem;
}

.portfolio-description {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.tag {
  display: inline-block;
  background: transparent;
  color: var(--color-text-secondary);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-link {
  display: inline-block;
  color: var(--color-blue);
  font-size: 14px;
  font-weight: 500;
  transition: opacity var(--transition-fast);
}

.portfolio-link:hover {
  opacity: 0.7;
  color: var(--color-blue);
}

/* Right column — 2x2 metric grid */
.portfolio-col-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.metric-card {
  background: rgba(55, 138, 221, 0.05);
  border: 1px solid rgba(55, 138, 221, 0.1);
  border-radius: 10px;
  padding: 20px;
}

.metric-number {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 12px;
  color: var(--color-text-secondary);
}

/* ============================================================================
   WHY SECTION
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
}

.why-block {
  padding: 0 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
}

.why-block:first-child {
  padding-left: 0;
  border-left: none;
}

.why-num {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-blue);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.why-block h3 {
  margin: 0 0 8px 0;
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 600;
}

.why-block p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================================================
   PRICING SECTION
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

.pricing-card {
  background: rgba(10, 20, 40, 0.6);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  border-radius: 8px;
  position: relative;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: var(--color-blue);
  background: rgba(55, 138, 221, 0.08);
  transform: translateY(-8px);
}

.pricing-card-featured {
  border-color: var(--color-blue);
  background: rgba(55, 138, 221, 0.15);
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-blue);
  color: var(--color-navy);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  margin: 0 0 0.5rem 0;
  color: var(--color-white);
  font-size: 1.5rem;
}

.pricing-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.pricing-subtext {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.price-setup {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-blue);
}

.price-label {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.pricing-recurring {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.price-recurring-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-blue);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--color-text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-guarantee {
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 32px;
  margin-bottom: 0;
}

.pricing-note {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 560px;
  margin: 12px auto 0;
}

/* ============================================================================
   CONTACT FORM SECTION
   ========================================================================== */

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: rgba(10, 20, 40, 0.6);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

/* Quick-select pills above the contact fields */
.quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.75rem;
}

.quick-pill {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: var(--color-text-secondary);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-pill:hover {
  border-color: rgba(55, 138, 221, 0.4);
  color: var(--color-text-primary);
}

.quick-pill.active {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: rgba(55, 138, 221, 0.06);
}

.contact-note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin: 12px 0 0;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: var(--color-white);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 16px; /* iOS Safari zooms on focus below 16px */
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  background: rgba(55, 138, 221, 0.05);
  box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.1);
}

.form-group textarea {
  resize: vertical;
  font-family: var(--font-sans);
}

@media (max-width: 768px) {
  .contact-form .hero-btn-container {
    width: 100%;
  }
  .contact-form .hero-cta-btn {
    width: 100%;
    min-width: 0;
  }
}

/* ============================================================================
   AGENDA TU DEMO SECTION
   ========================================================================== */

.scheduler-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
  margin-top: 3rem;
}

.scheduler-card {
  background: rgba(10, 20, 40, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2.5rem;
}

.scheduler-card h3 {
  margin-top: 0;
  color: var(--color-white);
  font-size: 1.8rem;
}

.scheduler-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.scheduler-card ul {
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.scheduler-card ul li {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
  position: relative;
  color: var(--color-text-primary);
}

.scheduler-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-blue);
}

.scheduler-form-card {
  background: rgba(5, 13, 26, 0.95);
}

.scheduler-form {
  display: grid;
  gap: 1rem;
}

/* ============================================================================
   STATISTICS SECTION
   ========================================================================== */

.stat-counters {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  background: rgba(55, 138, 221, 0.08);
  border: 1px solid rgba(55, 138, 221, 0.16);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.stat-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 0.75rem;
}

.stat-label {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ============================================================================
   PORTFOLIO ANTES/DESPUÉS SECTION
   ========================================================================== */

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 0;
  margin-top: 3rem;
}

.before-after-col {
  padding: 0 40px;
}

.before-col {
  border-left: none;
}

.after-col {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
}

.ba-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 20px;
}

.ba-label-before {
  color: var(--color-red);
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.12);
}

.ba-label-after {
  color: var(--color-green);
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.12);
}

.before-after-col h3 {
  margin: 0 0 1.25rem 0;
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 600;
}

.ba-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ba-list li {
  margin-bottom: 0.85rem;
  padding-left: 1.25rem;
  position: relative;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.ba-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-text-muted);
}

.after-col .ba-list li {
  color: #C7CDD6;
}

/* ============================================================================
   BLOG SECTION
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.blog-card {
  background: rgba(10, 20, 40, 0.7);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 300ms ease, border-color 300ms ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-blue);
}

.blog-tag {
  display: inline-block;
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card h3 {
  font-size: 1.4rem;
  color: var(--color-white);
}

.blog-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

.blog-link {
  color: var(--color-blue);
  font-weight: 700;
}

.blog-link:hover {
  text-decoration: underline;
}

/* ============================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: var(--color-blue);
  color: #ffffff;
  width: 100%;
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--color-blue-light);
}

.btn-primary:active {
  transform: translateY(0);
}

/* ============================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: rgba(10, 20, 40, 0.8);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  /* Container and typography */
  .container {
    padding: 0 1rem;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }

  .section {
    padding: 4rem 0;
  }

  .hero-logo {
    font-size: 3rem;
  }

  .hero-progress-bar {
    display: none;
  }

  .pricing-card-featured {
    transform: scale(1);
  }

  .services-grid,
  .pain-points,
  .pricing-grid {
    gap: 1rem;
  }

  /* Portfolio: stack columns */
  .portfolio-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
  }

  /* Why: stack blocks, drop dividers */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-block {
    padding: 0;
    border-left: none;
  }

  /* Before/After: single column */
  .before-after-grid {
    gap: 2rem;
  }

  .before-after-col {
    padding: 0;
  }

  .after-col {
    border-left: none;
  }

  .contact-form {
    padding: 1.5rem;
  }

  /* Navbar responsive styles */
  .navbar-container {
    padding: 1rem;
  }

  .navbar-logo {
    font-size: 1rem;
  }

  /* Mobile menu - hidden by default */
  .navbar-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
    border-bottom: 1px solid rgba(55, 138, 221, 0.1);
    z-index: 1000;
  }

  /* Mobile menu - active state */
  .navbar-menu.active {
    max-height: 600px;
  }

  /* Mobile menu links */
  .navbar-menu .navbar-link {
    padding: 1rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(55, 138, 221, 0.05);
    display: block;
    color: var(--color-text-secondary);
    text-decoration: none;
  }

  .navbar-menu .navbar-link::after {
    display: none;
  }

  /* Mobile CTA button */
  .navbar-menu .navbar-link-cta {
    background: var(--color-blue);
    color: var(--color-navy);
    margin: 1rem;
    width: calc(100% - 2rem);
    border-radius: 4px;
    padding: 0.75rem 1rem;
  }

  /* Hamburger button - visible on mobile */
  .navbar-toggle {
    display: flex;
    z-index: 1001;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero-logo {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  .portfolio-header {
    flex-direction: column;
    text-align: center;
  }

  .services-grid,
  .why-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.mobile-layout .navbar-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  width: 100%;
  flex-direction: column;
  gap: 0;
  background: rgba(5, 13, 26, 0.95);
  backdrop-filter: blur(10px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
  border-bottom: 1px solid rgba(55, 138, 221, 0.1);
  z-index: 1000;
}

.navbar-menu.active {
  max-height: 600px !important;
}

/* Lock page scroll while the mobile menu is open */
body.nav-open {
  overflow: hidden;
}

/* ============================================================================
   FLOATING WHATSAPP CTA (mobile only)
   ========================================================================== */

.dw-mobile-wa-cta {
  display: none;
}

@media (max-width: 768px) {
  .dw-mobile-wa-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 96px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #378ADD;
    box-shadow: 0 4px 20px rgba(55, 138, 221, 0.45);
    z-index: 9999;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .dw-mobile-wa-cta.dw-wa-hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
  }
}

.mobile-layout .navbar-menu .navbar-link {
  padding: 1rem;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(55, 138, 221, 0.05);
  display: block;
  color: var(--color-text-secondary);
  text-decoration: none;
}

.mobile-layout .navbar-menu .navbar-link::after {
  display: none;
}

.mobile-layout .navbar-menu .navbar-link-cta {
  background: var(--color-blue);
  color: var(--color-navy);
  margin: 1rem;
  width: calc(100% - 2rem);
  border-radius: 4px;
  padding: 0.75rem 1rem;
}

.mobile-layout .navbar-toggle {
  display: flex;
  z-index: 1001;
}

/* ============================================================================
   FAQ SECTION
   ========================================================================== */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  background: rgba(55, 138, 221, 0.05);
  border: 1px solid rgba(55, 138, 221, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 300ms ease;
}

.faq-question:hover {
  background: rgba(55, 138, 221, 0.1);
  color: var(--color-blue);
}

.faq-icon {
  font-size: 20px;
  transition: transform 300ms ease;
  color: var(--color-blue);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--color-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}


.text-danger {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.text-center {
  text-align: center;
}

/* ============================================================================
   TESTIMONIAL SECTION
   ========================================================================== */

.testimonial-section {
  background: #0a1628;
  border-top: 1px solid rgba(55, 138, 221, 0.15);
  border-bottom: 1px solid rgba(55, 138, 221, 0.15);
  padding: 80px 0;
}

.testimonial-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-quote-mark {
  font-size: 80px;
  color: #378ADD;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 2rem;
  font-family: serif;
}

.testimonial-quote {
  font-size: 20px;
  color: #ffffff;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-attribution {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-style: normal;
}

/* ============================================================================
   FINAL CTA SECTION
   ========================================================================== */

.final-cta-section {
  background: #378ADD;
  padding: 100px 0;
  text-align: center;
}

.final-cta-headline {
  font-size: 48px;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.final-cta-subtext {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 3rem auto;
  line-height: 1.5;
}

.final-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn-primary-cta {
  background: #ffffff;
  color: #378ADD;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 300ms ease;
  font-size: 1rem;
}

.btn-primary-cta:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary-cta {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 300ms ease;
  font-size: 1rem;
}

.btn-secondary-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* ============================================================================
   FOOTER SECTION
   ========================================================================== */

.footer-section {
  background: #030912;
  border-top: 1px solid rgba(55, 138, 221, 0.1);
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-logo-ai {
  color: #378ADD;
}

.footer-tagline {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-copyright {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-location {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-column-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 0.75rem;
  transition: color 300ms ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 0.75rem;
}

.footer-icon {
  flex-shrink: 0;
  fill: #378ADD;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-left,
.footer-bottom-right {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================================================
   RESPONSIVE FOR NEW SECTIONS
   ========================================================================== */

@media (max-width: 768px) {
  .testimonial-section {
    padding: 60px 0;
  }

  .testimonial-quote-mark {
    font-size: 60px;
  }

  .testimonial-quote {
    font-size: 18px;
  }

  .final-cta-section {
    padding: 80px 0;
  }

  .final-cta-headline {
    font-size: 36px;
  }

  .final-cta-subtext {
    font-size: 15px;
  }

  .final-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary-cta,
  .btn-secondary-cta {
    width: 100%;
    max-width: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .scheduler-grid,
  .stat-counters,
  .before-after-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .scheduler-card {
    padding: 1.75rem;
  }

  .stat-card,
  .before-after-card,
  .blog-card {
    padding: 1.75rem;
  }
}

/* Lighten function helper (CSS doesn't have it, using opacity instead) */

/* ============================================================================
   BLOG — NAVBAR OVERRIDE (always visible on blog/admin pages)
   ========================================================================== */

body.blog-page .navbar {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* ============================================================================
   BLOG — CATEGORY BADGES
   ========================================================================== */

.categoria-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cat-blog {
  background: rgba(55, 138, 221, 0.15);
  color: #378ADD;
  border: 1px solid rgba(55, 138, 221, 0.3);
}

.cat-estadisticas {
  background: rgba(20, 184, 166, 0.15);
  color: #14b8a6;
  border: 1px solid rgba(20, 184, 166, 0.3);
}

.cat-porqueai {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ============================================================================
   BLOG — INDEX PAGE
   ========================================================================== */

.blog-index-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.blog-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-page-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.blog-page-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.blog-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.blog-filter-btn {
  background: transparent;
  border: 1px solid rgba(55, 138, 221, 0.3);
  color: var(--color-text-secondary);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
}

.blog-filter-btn:hover {
  border-color: var(--color-blue);
  color: var(--color-white);
}

.blog-filter-btn.active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-navy);
  font-weight: 700;
}

.blog-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-index-card {
  background: #0a1628;
  border: 1px solid rgba(55, 138, 221, 0.15);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.blog-index-card:hover {
  border-color: var(--color-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(55, 138, 221, 0.1);
}

.blog-index-card-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  flex-grow: 1;
}

.blog-index-card-resumen {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-index-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-index-card-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-sep {
  opacity: 0.5;
}

.blog-read-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-blue);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.blog-read-link:hover {
  opacity: 0.8;
}

.blog-empty {
  text-align: center;
  color: var(--color-text-secondary);
  padding: 4rem 0;
}

/* ============================================================================
   BLOG — DETAIL PAGE
   ========================================================================== */

.blog-detail-page {
  min-height: 100vh;
}

.blog-detail-hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, #050d1a 0%, #0a1628 100%);
  border-bottom: 1px solid rgba(55, 138, 221, 0.1);
}

.blog-back-link {
  display: inline-block;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.blog-back-link:hover {
  color: var(--color-blue);
}

.blog-detail-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin: 1rem 0 1.25rem;
  max-width: 760px;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

.blog-detail-body {
  padding: 60px 0 80px;
}

/* Prose styles for article content */
.blog-prose {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.3px;
}

.blog-prose p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.25rem;
}

.blog-prose blockquote {
  border-left: 3px solid var(--color-blue);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: rgba(55, 138, 221, 0.06);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  line-height: 1.6;
}

.blog-prose a {
  color: var(--color-blue);
  text-decoration: underline;
}

.blog-detail-cta {
  background: #0a1628;
  border-top: 1px solid rgba(55, 138, 221, 0.15);
  padding: 80px 0;
  text-align: center;
}

.blog-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.blog-cta-sub {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.btn-blog-cta {
  display: inline-block;
  background: var(--color-blue);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2.25rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-blog-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(55, 138, 221, 0.3);
}

/* ============================================================================
   BLOG — ADMIN PAGES
   ========================================================================== */

.admin-page {
  padding: 100px 0 80px;
  min-height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.admin-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.admin-btn-create {
  display: inline-block;
  background: var(--color-blue);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.admin-btn-create:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.admin-table-wrap {
  background: #0a1628;
  border: 1px solid rgba(55, 138, 221, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th {
  text-align: left;
  padding: 1rem 1.25rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(55, 138, 221, 0.1);
  background: rgba(5, 13, 26, 0.5);
}

.admin-table td {
  padding: 1rem 1.25rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(55, 138, 221, 0.04);
}

.admin-td-title {
  color: var(--color-text-primary) !important;
  font-weight: 500;
  max-width: 320px;
}

.admin-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-published {
  background: rgba(20, 184, 166, 0.15);
  color: #14b8a6;
}

.status-draft {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.45);
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-action-link {
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(55, 138, 221, 0.25);
  transition: all var(--transition-fast);
}

.admin-action-link:hover {
  background: rgba(55, 138, 221, 0.1);
  border-color: var(--color-blue);
}

.admin-action-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
}

.admin-action-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--color-white);
}

.admin-btn-delete {
  border-color: rgba(255, 100, 100, 0.3);
  color: rgba(255, 120, 120, 0.7);
}

.admin-btn-delete:hover {
  border-color: #ff6464;
  color: #ff6464;
  background: rgba(255, 100, 100, 0.08);
}

/* Admin form styles */
.admin-form-card {
  background: #0a1628;
  border: 1px solid rgba(55, 138, 221, 0.15);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 900px;
}

.admin-form-row {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.admin-form-group-wide {
  flex: 3;
}

.admin-form-check {
  justify-content: flex-end;
  padding-bottom: 0.25rem;
}

.admin-form-check label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.admin-form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-blue);
  cursor: pointer;
}

.admin-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

.admin-hint {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
}

.admin-form-group input[type="text"],
.admin-form-group input[type="url"],
.admin-form-group input[type="number"],
.admin-form-group input[type="date"],
.admin-form-group select,
.admin-form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(55, 138, 221, 0.2);
  color: var(--color-text-primary);
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  width: 100%;
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  background: rgba(55, 138, 221, 0.05);
  box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.1);
}

.admin-form-group select option {
  background: #0a1628;
  color: var(--color-white);
}

.admin-textarea-code {
  font-family: var(--font-mono) !important;
  font-size: 0.85rem !important;
  line-height: 1.5;
  resize: vertical;
}

.admin-form-group textarea {
  resize: vertical;
}

.admin-form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.5rem;
}

.admin-btn-save {
  background: var(--color-blue);
  color: var(--color-navy);
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
}

.admin-btn-save:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.admin-btn-cancel {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--transition-fast);
  font-weight: 500;
}

.admin-btn-cancel:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--color-white);
}

/* ============================================================================
   BLOG RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .blog-index-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-index-page {
    padding: 100px 0 60px;
  }

  .blog-page-title {
    font-size: 2rem;
  }

  .blog-index-grid {
    grid-template-columns: 1fr;
  }

  .blog-detail-title {
    font-size: 1.75rem;
  }

  .blog-prose h2 {
    font-size: 1.3rem;
  }

  .admin-form-row {
    flex-direction: column;
    gap: 0;
  }

  .admin-form-card {
    padding: 1.5rem;
  }

  .admin-table-wrap {
    overflow-x: auto;
  }
}

/* ============================================================================
   STOCK TICKER BAR
   ========================================================================== */

.ticker-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: #030912;
  border-bottom: 1px solid rgba(55, 138, 221, 0.2);
  z-index: 200;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
}

.ticker-live-label {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  background: rgba(29, 158, 117, 0.15);
  border-right: 1px solid rgba(55, 138, 221, 0.15);
  height: 100%;
  color: #1D9E75;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-live-dot {
  width: 6px;
  height: 6px;
  background: #1D9E75;
  border-radius: 50%;
  flex-shrink: 0;
  animation: ticker-pulse 1.5s ease-in-out infinite;
}

@keyframes ticker-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}

.ticker-bar:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-set {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
}

.ticker-symbol {
  color: #ffffff;
  font-weight: 500;
}

.ticker-price {
  color: rgba(255, 255, 255, 0.8);
}

.ticker-change {
  font-weight: 500;
}

.ticker-change.positive { color: #1D9E75; }
.ticker-change.negative { color: #E24B4A; }

.ticker-sep {
  color: rgba(255, 255, 255, 0.2);
  padding: 0 4px;
}

.ticker-shimmer {
  display: inline-block;
  width: 110px;
  height: 11px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.1) 50%,
    rgba(255,255,255,0.04) 75%
  );
  background-size: 200% 100%;
  border-radius: 3px;
  animation: ticker-shimmer 1.5s ease-in-out infinite;
  margin: 0 24px;
}

@keyframes ticker-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

@media (max-width: 768px) {
  .ticker-bar {
    font-size: 11px;
  }

  .ticker-track {
    animation-duration: 60s;
  }

  .ticker-live-label {
    padding: 0 8px;
    font-size: 9px;
    gap: 4px;
  }

  .ticker-item {
    padding: 0 16px;
  }

  .ticker-shimmer {
    width: 80px;
    margin: 0 16px;
  }
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */

.testi-index-page {
  padding: 140px 0 100px;
  min-height: 70vh;
}

.testi-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #378ADD;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.testi-page-header {
  text-align: left;
  max-width: 720px;
  margin-bottom: 48px;
}

.testi-page-title {
  font-size: 40px;
  font-weight: 600;
  color: #F9FAFB;
  line-height: 1.15;
  margin: 0 0 14px;
}

.testi-page-subtitle {
  font-size: 16px;
  color: #9CA3AF;
  line-height: 1.6;
  margin: 0;
}

.testi-empty {
  color: #9CA3AF;
  font-size: 16px;
}

/* ── Cards grid ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testi-card {
  display: block;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 28px;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.testi-card:hover {
  border-color: rgba(55, 138, 221, 0.3);
  transform: translateY(-2px);
}

.testi-card-full {
  max-width: 720px;
}

.testi-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testi-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #378ADD;
  background: rgba(55, 138, 221, 0.1);
  border: 1px solid rgba(55, 138, 221, 0.2);
  border-radius: 100px;
  padding: 4px 12px;
  letter-spacing: 0.02em;
}

.testi-ubicacion {
  font-size: 12px;
  color: #9CA3AF;
}

.testi-card-name {
  font-size: 22px;
  font-weight: 600;
  color: #F9FAFB;
  margin: 0;
}

.testi-card-resumen {
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.6;
  margin: 8px 0 0;
}

.testi-metrics {
  display: flex;
  margin: 24px 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.testi-metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  text-align: center;
}

.testi-metric + .testi-metric {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.testi-metric-value {
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
}

.testi-metric-label {
  font-size: 11px;
  color: #9CA3AF;
}

.testi-card-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #378ADD;
}

/* ── Home preview ── */
.testi-home-header {
  text-align: left;
  margin-bottom: 32px;
}

.testi-home-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #F9FAFB;
  margin: 0;
}

.testi-home-all {
  margin-top: 24px;
  text-align: center;
}

.testi-home-all-link {
  font-size: 14px;
  font-weight: 500;
  color: #378ADD;
  text-decoration: none;
}

.testi-home-all-link:hover {
  text-decoration: underline;
}

/* ── Detail page ── */
.testi-detail-page {
  padding: 120px 0 100px;
}

.testi-back-link {
  display: inline-block;
  font-size: 13px;
  color: #9CA3AF;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s ease;
}

.testi-back-link:hover {
  color: #FFFFFF;
}

.testi-detail-hero {
  margin-bottom: 44px;
}

.testi-detail-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #378ADD;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.testi-detail-title {
  font-size: 48px;
  font-weight: 600;
  color: #F9FAFB;
  line-height: 1.1;
  margin: 0 0 20px;
}

.testi-detail-resultado {
  font-size: 18px;
  color: #9CA3AF;
  max-width: 600px;
  line-height: 1.7;
  margin: 0;
}

.testi-detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.testi-detail-metric {
  background: rgba(55, 138, 221, 0.05);
  border: 1px solid rgba(55, 138, 221, 0.1);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.testi-detail-metric-value {
  font-size: 32px;
  font-weight: 600;
  color: #F9FAFB;
  line-height: 1;
}

.testi-detail-metric-label {
  font-size: 12px;
  color: #9CA3AF;
}

/* ── Detail prose ── */
.testi-prose {
  max-width: 680px;
  margin: 0 auto;
}

.testi-prose p {
  font-size: 16px;
  color: #9CA3AF;
  line-height: 1.8;
  margin: 0 0 20px;
}

.testi-prose h3 {
  font-size: 20px;
  font-weight: 600;
  color: #F9FAFB;
  margin: 32px 0 12px;
}

.testi-prose blockquote {
  border-left: 3px solid #378ADD;
  padding-left: 20px;
  font-style: italic;
  color: #F9FAFB;
  font-size: 18px;
  margin: 32px 0;
}

/* ── Detail CTA ── */
.testi-detail-cta {
  max-width: 680px;
  margin: 64px auto 0;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.testi-cta-title {
  font-size: 26px;
  font-weight: 600;
  color: #F9FAFB;
  margin: 0 0 24px;
}

.btn-testi-cta {
  display: inline-block;
  background: #378ADD;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-testi-cta:hover {
  background: #2c72bd;
  transform: translateY(-1px);
}

/* ── Admin section label ── */
.admin-section-label {
  font-size: 14px;
  font-weight: 600;
  color: #F9FAFB;
  margin: 28px 0 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .testi-detail-metrics {
    grid-template-columns: 1fr;
  }

  .testi-detail-title {
    font-size: 34px;
  }

  .testi-page-title {
    font-size: 30px;
  }
}

/* ============================================================================
   DARK→LIGHT SECTION TRANSITION (hard border, no gradient)
   ========================================================================== */

/* The gradient bridge faded to #F8F9FC at the bottom, and the pain-point cards
   (background rgba(255,255,255,0.02)) sit right there — near-white h3 text on a
   near-white background. Solid dark section + a hard border instead. */
.section-dark-to-light {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================================
   FIX 5 — SERVICES GRID ANCHOR
   ========================================================================== */

.section-services {
  background-image:
    linear-gradient(rgba(55, 138, 221, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 138, 221, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  background-color: #F8F9FC;
}

/* ============================================================================
   FIX 5 — WHY US WATERMARK
   ========================================================================== */

.section-watermark {
  position: absolute;
  font-size: 180px;
  font-weight: 900;
  color: rgba(55, 138, 221, 0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ============================================================================
   FIX 4 — BEFORE / AFTER (dark redesign with big decorative numbers)
   ========================================================================== */

.section-before-after {
  background: #0A0F1E;
}

.section-before-after .before-after-grid {
  max-width: 900px;
  margin: 3rem auto 0;
  position: relative;
  gap: 24px;
}

.section-before-after .after-col {
  border-left: none;
}

/* Two columns now read as separate "worlds" — dim the inactive one */
.section-before-after .before-after-col {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Default (toggle OFF — "Sin DigitalwAIs"): show the pain, dim the solution */
.section-before-after .before-after-grid .after-col {
  opacity: 0.3;
  filter: blur(2px);
  transform: scale(0.98);
}

.section-before-after .before-after-grid.ba-on .before-col {
  opacity: 0.3;
  filter: blur(2px);
  transform: scale(0.98);
}

.section-before-after .before-after-grid.ba-on .after-col {
  opacity: 1;
  filter: none;
  transform: scale(1);
}

/* List markers become ✗ / ✓ per column */
.section-before-after .before-col .ba-list li::before {
  content: '✗';
  color: rgba(239, 68, 68, 0.6);
  font-size: 12px;
}

.section-before-after .after-col .ba-list li::before {
  content: '✓';
  color: rgba(16, 185, 129, 0.6);
  font-size: 12px;
}

/* Strikethrough the "wasted hours" figure on hover */
.ba-figure-before:hover {
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.5);
}

.ba-figure {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.ba-figure-before {
  color: rgba(239, 68, 68, 0.15);
}

.ba-figure-after {
  color: rgba(16, 185, 129, 0.15);
}

.ba-figure-caption {
  font-size: 13px;
  margin-bottom: 24px;
}

.ba-figure-caption-before {
  color: #EF4444;
}

.ba-figure-caption-after {
  color: #10B981;
}

.section-before-after .ba-list li {
  color: #9CA3AF;
}

.section-before-after .after-col .ba-list li {
  color: #C7CDD6;
}

@media (max-width: 768px) {
  /* Repeats the dw-problem cards' before/after beat — drop it on mobile */
  .section-before-after {
    display: none;
  }
}

/* ============================================================================
   NEW A — IMPACT NUMBER BAR
   ========================================================================== */

.impact-bar {
  background: #0d1117;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px 0;
}

.impact-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.impact-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.impact-stat + .impact-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.impact-num {
  font-size: 40px;
  font-weight: 800;
  color: #F9FAFB;
  letter-spacing: -0.02em;
  line-height: 1;
}

.impact-label {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.5;
  margin-top: 8px;
  max-width: 140px;
}

@media (max-width: 640px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    row-gap: 40px !important;
  }

  /* On the 2x2 grid, drop the divider on the right edge of each row */
  .impact-stat:nth-child(even) {
    border-right: none !important;
  }
}

/* ============================================================================
   NEW B — INDUSTRIES + INTERACTIVE QUIZ
   ========================================================================== */

.section-industries {
  background: #060910;
  padding: 96px 0;
}

.section-industries .container {
  max-width: 1100px;
}

.industries-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.industries-head .section-title {
  text-align: center;
  max-width: none;
  margin: 0 auto 12px;
}

.industries-head .section-subtitle {
  margin: 0 auto;
  max-width: 500px;
}

.industry-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.industry-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 14px;
  color: #9CA3AF;
  cursor: pointer;
  transition: all 0.2s;
}

.industry-pill:hover {
  background: rgba(55, 138, 221, 0.08);
  border-color: rgba(55, 138, 221, 0.4);
  color: #F9FAFB;
}

.quiz-card {
  margin-top: 64px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 48px;
}

.quiz-title {
  font-size: 22px;
  font-weight: 700;
  color: #F9FAFB;
  text-align: center;
  margin-bottom: 32px;
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quiz-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.quiz-option:hover {
  border-color: rgba(55, 138, 221, 0.4);
}

.quiz-option.selected {
  background: rgba(55, 138, 221, 0.08);
  border-color: #378ADD;
}

.quiz-option-icon {
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
}

.quiz-option-title {
  font-size: 15px;
  font-weight: 600;
  color: #F9FAFB;
  display: block;
  margin-bottom: 4px;
}

.quiz-option.selected .quiz-option-title {
  color: #378ADD;
}

.quiz-option-sub {
  font-size: 13px;
  color: #6B7280;
}

.quiz-result {
  margin-top: 32px;
  background: rgba(55, 138, 221, 0.06);
  border: 1px solid rgba(55, 138, 221, 0.2);
  border-radius: 12px;
  padding: 24px;
  animation: quizFadeIn 0.35s ease;
}

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-result-title {
  font-size: 18px;
  font-weight: 700;
  color: #F9FAFB;
  margin: 0 0 8px;
}

.quiz-result-text {
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.65;
  margin: 0;
}

.quiz-result-btn {
  background: #378ADD;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.15s;
}

.quiz-result-btn:hover {
  background: #2c76c8;
}

@media (max-width: 640px) {
  .quiz-card {
    padding: 28px 20px;
  }

  .quiz-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   NEW C — HOW IT WORKS (3-step process)
   ========================================================================== */

.section-process {
  background: #F8F9FC;
  padding: 96px 0;
}

.section-process .container {
  max-width: 900px;
}

.process-head {
  text-align: center;
  margin-bottom: 3rem;
}

.process-head .section-title {
  text-align: center;
  max-width: none;
  margin: 0 auto 12px;
  color: #0A0F1E;
}

.process-head .section-subtitle {
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

/* Dashed connector across the number circles (desktop) */
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 16.66%;
  right: 16.66%;
  border-top: 2px dashed rgba(55, 138, 221, 0.3);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #378ADD;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0A0F1E;
  margin: 0 0 8px;
  text-align: center;
}

.process-step p {
  font-size: 14px;
  color: #475569;
  text-align: center;
  line-height: 1.65;
  margin: 0;
}

.process-cta {
  text-align: center;
  margin-top: 48px;
}

.process-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: #0A0F1E;
  margin: 0 0 16px;
}

.process-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.process-btn-primary {
  background: #378ADD;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.process-btn-primary:hover {
  background: #2c76c8;
  color: #fff;
}

.process-btn-secondary {
  background: transparent;
  border: 1px solid rgba(10, 15, 30, 0.2);
  color: #0A0F1E;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.15s;
}

.process-btn-secondary:hover {
  border-color: rgba(10, 15, 30, 0.45);
  color: #0A0F1E;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .process-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================================
   FIX 3 — INDUSTRY PILLS (interactive) + TOOLTIP
   Hover overrides inline base styles, so background/border/color use !important
   ========================================================================== */

.industry-pill {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-pill:hover {
  transform: scale(1.05);
  background: rgba(55, 138, 221, 0.12) !important;
  border: 1px solid rgba(55, 138, 221, 0.5) !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 16px rgba(55, 138, 221, 0.2);
}

/* ============================================================================
   FIX 3 — QUIZ OPTIONS (interactive)
   ========================================================================== */

.quiz-option {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-option:not(.selected):hover {
  border: 1px solid rgba(55, 138, 221, 0.4) !important;
  background: rgba(55, 138, 221, 0.06) !important;
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 24px rgba(55, 138, 221, 0.12);
}

.quiz-option-icon {
  transition: transform 0.2s ease;
}

.quiz-option:hover .quiz-option-icon {
  transform: scale(1.2) rotate(-5deg);
}

/* Checkmark badge that pops in on the selected card */
.quiz-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  background: #378ADD;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quiz-check.show {
  transform: scale(1);
}

@media (max-width: 768px) {
  /* Keep options tappable and legible; drop the secondary sub-line to declutter */
  .quiz-option {
    min-height: 48px;
  }

  .quiz-option-sub {
    display: none !important; /* overrides the inline display:block in the markup */
  }
}

/* ============================================================================
   === LIQUID BUTTON ===
   Source: stackblitz.com/edit/button-mastery-13
   Adaptations: .button -> .liquid-btn, sized down for form use.
   ========================================================================== */

@keyframes turbulentSwap {
  0% {
    filter: url(#turbulent-displace-0);
  }
  6.25% {
    filter: url(#turbulent-displace-1);
  }
  12.5% {
    filter: url(#turbulent-displace-2);
  }
  18.75% {
    filter: url(#turbulent-displace-3);
  }
  25% {
    filter: url(#turbulent-displace-4);
  }
  31.25% {
    filter: url(#turbulent-displace-5);
  }
  37.5% {
    filter: url(#turbulent-displace-6);
  }
  43.75% {
    filter: url(#turbulent-displace-7);
  }
  50% {
    filter: url(#turbulent-displace-8);
  }
  56.25% {
    filter: url(#turbulent-displace-9);
  }
  62.5% {
    filter: url(#turbulent-displace-10);
  }
  68.75% {
    filter: url(#turbulent-displace-11);
  }
  75% {
    filter: url(#turbulent-displace-12);
  }
  81.25% {
    filter: url(#turbulent-displace-13);
  }
  87.5% {
    filter: url(#turbulent-displace-14);
  }
  93.75% {
    filter: url(#turbulent-displace-15);
  }
  100% {
    filter: url(#turbulent-displace-0);
  }
}

/* Keep the component's internal box model independent of any global reset */
.liquid-btn-wrap * {
  box-sizing: border-box !important;
}

.area {
  --radius: 50px;
  perspective: 40px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.area > svg {
  position: absolute;
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
}
.area input {
  opacity: 0;
  width: 0;
  height: 0;
}

.particles {
  --m: 1;
  position: absolute;
  inset: 0;
  z-index: 10;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.particle {
  --f: 1;
  display: grid;
  position: absolute;
  left: var(--x);
  top: var(--y);
  rotate: var(--a);
  filter: blur(2px);
}

.particle::before {
  content: "";
  grid-area: 1/1;
  width: 15px;
  height: 3px;
  transform-origin: 0 0;
  mix-blend-mode: overlay;
  background: rgb(154, 77, 241);
  animation: particleMove calc(var(--m) * 0.5s) linear
    calc(var(--m) * var(--t, 0) * 1.2s) infinite;
  opacity: 0;
  transform: translateX(0) rotate(-45deg) skew(45deg, 45deg) scale(var(--f));
}

.rainbow {
  width: 100%;
  height: 130px;
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 0;
  right: 0;
  --stripes: repeating-linear-gradient(
    100deg,
    #fff 0%,
    #fff 7%,
    transparent 10%,
    transparent 12%,
    #fff 16%
  );
  --rainbow: repeating-linear-gradient(
    100deg,
    #60a5fa 10%,
    #f9799c 15%,
    #60a5fa 20%,
    #5eeabd 25%,
    #60a5fa 30%
  );
  background-image: var(--stripes), var(--rainbow);
  background-size: 300%, 200%;
  background-position:
    50% 50%,
    50% 50%;
  filter: invert(100%);
  mix-blend-mode: overlay;
  -webkit-mask-image: radial-gradient(ellipse at 50%, black 40%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50%, black 40%, transparent 70%);
}

.rainbow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--stripes), var(--rainbow);
  background-size: 200%, 100%;
  animation: rainbowBg 60s linear infinite;
  background-attachment: fixed;
  mix-blend-mode: difference;
}

.svg-turbulence {
  position: absolute;
  pointer-events: none;
}
.electric {
  border-radius: var(--radius);
  border: 2px solid white;
  filter: url(#turbulent-displace-0);
  animation: turbulentSwap 1.5s infinite;
  position: absolute;
  right: 0;
  bottom: 0;
  top: -8px;
  left: -8px;
  opacity: 0;
  transition: all 0.6s ease;
  z-index: 10;
  mix-blend-mode: overlay;
  transform: scale(1.1);
}

.glass {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--radius);
  transition: all 0.5s ease;
}

.glass::before,
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s ease;
}
.glass::before {
  transform: skewX(70deg) rotate(347deg) translate(-45px, -54px);
}
.glass::after {
  transform: skewX(65deg) rotate(347deg) translate(115px, -14px);
}
.area:hover .glass {
  transform: translateX(-10px);
}
.area:hover .glass::before {
  transform: skewX(70deg) rotate(347deg) translate(-30px, -56px);
}
.area:hover .glass::after {
  transform: skewX(65deg) rotate(347deg) translate(85px, -14px);
}

.area-button > svg {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 56%;
  z-index: 9;
  animation: splashFeedback2 0.7s cubic-bezier(0.18, 0.94, 1, 1) forwards;
  color: #9a4df1;
  pointer-events: none;
  stroke-width: 2px;
  stroke-dasharray: 0 173;
  stroke-dashoffset: 174;
  filter: blur(1px);
}

.liquid-btn {
  outline: none;
  cursor: pointer;
  border: 0;
  font-size: 20px;
  border-radius: var(--radius);
  position: relative;
  width: auto;
  min-width: 200px;
  height: 56px;
  /* Must stay clickable: this is a real type="submit" button, not a decoration */
  pointer-events: auto;
  transition:
    background-color,
    0.5s linear,
    box-shadow 0.5s ease,
    transform 0.5s ease;
  box-shadow:
    0 -10px 30px rgba(57, 20, 115, 0.3),
    0 20px 30px rgba(57, 20, 115, 0.4),
    inset 0 0 2px 0 black;
  background: linear-gradient(to bottom, #000000 80%, #f2f2f2 100%);
}

.wrap {
  border-radius: calc(var(--radius) * 0.85);
  height: 100%;
  transform: translate(0px, -4px);
  background: linear-gradient(
    to bottom,
    #d0d0d05e 0%,
    #ffffff 50%,
    #000000 100%
  );
  position: relative;
  transition: all 0.5s ease;
}

.reflex {
  position: absolute;
  z-index: 9;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.reflex:before {
  content: "";
  position: absolute;
  width: 350px;
  background-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(
    to right,
    rgba(244, 221, 255, 0.1) 10%,
    rgba(244, 221, 255, 0.5) 60%,
    rgba(244, 221, 255, 0.3) 60%,
    rgba(244, 221, 255, 0.1) 90%
  );
  top: -40%;
  bottom: -40%;
  left: -140%;
  opacity: 1;
  transition: all 0.6s cubic-bezier(0.5, 0, 0.3, 1);
  transform: translate(250%, 0) skew(30deg);
}
.area:hover .reflex:before {
  transform: translateX(0) skew(-30deg);
  opacity: 0.7;
}

.area input:checked + .area-button .reflex:before {
  transform: translate(250%, 0) skew(30deg);
  opacity: 1;
}

.outline {
  position: absolute;
  overflow: hidden;
  outline: none;
  border-radius: inherit;
  transition: all 0.4s ease;
  inset: -2px;
  bottom: -4px;
  filter: blur(1px);
}
.outline::before {
  content: "";
  position: absolute;
  inset: 5px;
  width: 120px;
  height: 300px;
  margin: auto;
  background: linear-gradient(
    to right,
    transparent 0%,
    white 50%,
    transparent 100%
  );
  animation: spin 4s linear infinite;
}

.bg {
  z-index: 1;
  position: absolute;
  inset: 5px;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: calc(var(--radius) * 0.85);
}

.bg::before,
.bg::after {
  content: "";
  inset: 0;
  position: absolute;
  transition: all 1s ease;
  z-index: -1;
  filter: blur(4px);
}
.bg::before {
  background: linear-gradient(
    6deg,
    #000000 0%,
    #181c40 44%,
    #121c71 48%,
    #bb4c8f 57%,
    #bb4c8f 59%,
    #c5996e 62%,
    #badeee 79%,
    #83cafb 90%
  );
}

.text {
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  position: relative;
  height: 100%;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: calc(var(--radius) * 0.85);
  box-shadow:
    inset -6px -2px 2px -2px rgb(0 0 0 / 79%),
    inset 6px -7px 2px -2px rgb(0 0 0 / 79%),
    inset -1px 1px 4px 4px rgb(255 255 255 / 82%),
    inset 1px 4px 5px #005880;
}
.text p {
  position: absolute;
  color: #ffffff;
  letter-spacing: -3px;
}
.text span {
  display: inline-block;
}
.text span > span {
  animation: waveText 2.2s cubic-bezier(0.45, 0, 0.55, 1)
    calc(var(--i) * -0.13s) infinite;
  animation-play-state: paused;
}
.area:hover .text span > span {
  animation-play-state: running;
}

.area:active .text {
  box-shadow:
    inset -6px -2px 2px -2px rgb(0 0 0 / 79%),
    inset 6px -7px 2px -2px rgb(0 0 0 / 79%),
    inset -1px 1px 4px 4px rgb(255 255 255 / 82%),
    inset 1px 4px 5px #005880,
    inset 1px 3px 20px rgba(13, 0, 101, 0.7),
    inset 1px -10px 20px rgba(129, 49, 101, 0.338);
}

.text p.state-1 > span {
  opacity: 0;
  animation: appear 1.5s ease forwards calc(var(--i) * 0.1s);
}
.text p.state-2 > span {
  opacity: 1;
  animation: disappear 0.6s ease forwards calc(var(--i) * 0.05s);
}

.liquid {
  position: absolute;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  transition: 0.5s;
  z-index: 2;
  inset: 2px;
  overflow: hidden;
  border-radius: inherit;
}
.liquid .wave {
  position: absolute;
  inset: 0;
  margin: auto;
  transition: transform 0.8s cubic-bezier(0.5, -0.5, 0.5, 1.5);
  filter: blur(4px);
  top: 790px;
  left: -80px;
}
.liquid .wave::before {
  content: "";
  width: 1000px;
  height: 1000px;
  position: absolute;
  left: 50%;
  border-radius: 48%;
  background: radial-gradient(white 50%, #03081b 70%);
  animation: wave 5s linear infinite;
  opacity: 0.5;
  filter: blur(2px);
  top: -8px;
}

@keyframes waveText {
  0% {
    transform: translateX(-5px) rotate(8deg);
    opacity: 0.7;
  }
  60% {
    opacity: 1;
    transform: translateY(3px) translateX(2px) rotate(0);
  }
  100% {
    transform: translateX(-5px) rotate(8deg);
    opacity: 0.7;
  }
}

@keyframes particleMove {
  0% {
    transform: translateX(var(--d)) rotate(-45deg) skew(0deg, 0deg)
      scale(var(--f));
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(-45deg) skew(45deg, 45deg) scale(var(--f));
  }
}

@keyframes rainbowBg {
  from {
    background-position:
      50% 50%,
      50% 50%;
  }
  to {
    background-position:
      350% 50%,
      350% 50%;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes wave {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
}

@keyframes splash {
  0%,
  62% {
    opacity: 0.5;
    transform: scale(0);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes appear {
  0% {
    transform: translateY(-40px) rotate(-90deg);
    filter: blur(10px);
  }
  30% {
    transform: translateY(7px) rotate(0);
  }
  60% {
    filter: blur(0);
    transform: translateY(-5px) rotate(0);
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes disappear {
  0% {
    opacity: 1;
  }
  100% {
    transform: translateY(40px);
    filter: blur(6px);
    opacity: 0;
    color: black;
  }
}

@keyframes splashFeedback {
  to {
    stroke-dasharray: 10 110;
    stroke-dashoffset: 80;
    opacity: 0;
  }
}

@keyframes splashFeedback2 {
  to {
    stroke-dasharray: 10 110;
    stroke-dashoffset: 80;
    opacity: 0;
  }
}

/** STATES */

.area input:checked + .area-button > svg {
  animation: splashFeedback 0.7s cubic-bezier(0.18, 0.94, 1, 1) forwards;
}

.area input:checked + .area-button .electric {
  opacity: 1;
  transform: scale(1);
}

.area:hover .particles {
  opacity: 1;
}

.area input:checked + .area-button .particles {
  opacity: 0;
}

.area:hover .liquid-btn {
  transform: translate(0px, -4px);
}
.area:active .wrap {
  transform: translate(0);
}

.area:hover .outline {
  opacity: 1;
}
.area:hover .liquid .wave {
  transform: translateY(-5px);
}

.area input:checked + .area-button p.state-1 > span {
  opacity: 1;
  animation: disappear 0.6s ease forwards calc(var(--i) * 0.05s);
}
.area input:checked + .area-button p.state-2 > span {
  opacity: 0;
  animation: appear 1.5s ease forwards calc(var(--i) * 0.1s);
}

@media (max-width: 768px) {
  .liquid {
    display: none;
  }
}

/* ============================================================================
   === GLOBAL TEXT COLOR FIX ===
   Body copy only (p / li). Headings, .section-label, navbar and the liquid
   button are deliberately untouched — they set their own colours.
   `:not(.section-light)` matters: four sections carry BOTH section-dark and
   section-light, so the dark rules must exclude them explicitly rather than
   rely on source order.
   ========================================================================== */

/* Dark sections — body copy readable */
.section-dark:not(.section-light) p,
.section-dark:not(.section-light) li {
  color: #F9FAFB;
}

/* Light sections — body copy readable */
.section-light p,
.section-light li {
  color: #0A0F1E;
}

/* Preserve the secondary tier so hierarchy doesn't flatten to all-white */
.section-dark:not(.section-light) .section-subtitle,
.section-dark:not(.section-light) .card-pro p {
  color: #9CA3AF;
}

/* === HERO CTA BUTTON === */
.hero-btn-container {
  --btn-color: #378ADD;
  --corner-color: rgba(55,138,221,0.3);
  --corner-dist: 24px;
  --corner-multiplier: 1.5;
  --timing-function: cubic-bezier(0, 0, 0, 2.5);
  --duration: 250ms;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-btn {
  position: relative;
  min-width: 260px;
  min-height: calc(var(--corner-dist) * 2);
  border-radius: 16px;
  border: none;
  padding: 0.6em 1.8em;
  background: linear-gradient(
    rgba(255,255,255,0.08),
    rgba(0,0,0,0.05)
  ), #378ADD;
  box-shadow:
    1px 1px 2px -1px rgba(255,255,255,0.3) inset,
    0 2px 1px rgba(0,0,0,0.1),
    0 4px 2px rgba(0,0,0,0.1),
    0 8px 4px rgba(0,0,0,0.1),
    0 16px 8px rgba(0,0,0,0.1),
    0 0 40px rgba(55,138,221,0.3);
  transition:
    transform var(--duration) var(--timing-function),
    filter var(--duration) var(--timing-function);
  cursor: pointer;
}

.hero-btn-container .btn-drawer {
  position: absolute;
  display: flex;
  justify-content: center;
  min-height: 32px;
  border-radius: 16px;
  border: none;
  padding: 0.25em 1.2em;
  font-size: 0.8em;
  font-weight: 600;
  font-family: 'Inter', monospace;
  color: #ffffff;
  background: linear-gradient(
    rgba(255,255,255,0.1),
    rgba(0,0,0,0.05)
  ), #5B9FE8;
  opacity: 0;
  transition:
    transform calc(0.5 * var(--duration)) ease,
    filter var(--duration) var(--timing-function),
    opacity calc(0.5 * var(--duration)) ease;
  filter: blur(2px);
}

.hero-btn-container .transition-top {
  top: 0;
  left: 0;
  border-radius: 12px 12px 0 0;
  align-items: start;
}

.hero-btn-container .transition-bottom {
  bottom: 0;
  right: 0;
  border-radius: 0 0 12px 12px;
  align-items: end;
}

.hero-cta-btn .btn-text {
  display: inline-block;
  font-size: 1.1em;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #ffffff;
  background-image: linear-gradient(#ffffff, #e0eeff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,0.3))
          drop-shadow(0 -1px 0 rgba(0,0,0,0.2));
  transition:
    transform var(--duration) var(--timing-function),
    filter var(--duration) var(--timing-function);
}

.hero-btn-container .btn-corner {
  position: absolute;
  width: 32px;
  fill: none;
  stroke: var(--corner-color);
  transition:
    transform var(--duration) var(--timing-function),
    filter var(--duration) var(--timing-function);
}

.hero-btn-container .btn-corner:nth-of-type(1) {
  top: 0; left: 0;
  transform: translate(
    calc(-1 * var(--corner-dist)),
    calc(-1 * var(--corner-dist))
  ) rotate(90deg);
}
.hero-btn-container .btn-corner:nth-of-type(2) {
  top: 0; right: 0;
  transform: translate(
    var(--corner-dist),
    calc(-1 * var(--corner-dist))
  ) rotate(180deg);
}
.hero-btn-container .btn-corner:nth-of-type(3) {
  bottom: 0; right: 0;
  transform: translate(
    var(--corner-dist),
    var(--corner-dist)
  ) rotate(-90deg);
}
.hero-btn-container .btn-corner:nth-of-type(4) {
  bottom: 0; left: 0;
  transform: translate(
    calc(-1 * var(--corner-dist)),
    var(--corner-dist)
  ) rotate(0deg);
}

.hero-btn-container:has(.hero-cta-btn:hover),
.hero-btn-container:has(.hero-cta-btn:focus-visible) {
  --corner-color: rgba(55,138,221,0.6);
}

.hero-btn-container:has(.hero-cta-btn:hover) .hero-cta-btn,
.hero-btn-container:has(.hero-cta-btn:focus-visible) .hero-cta-btn {
  transform: scale(1.05);
  filter: drop-shadow(0 16px 16px rgba(55,138,221,0.3));
}

.hero-btn-container:has(.hero-cta-btn:hover) .transition-top {
  transform: translateY(-24px) rotateZ(4deg);
  filter: blur(0px);
  opacity: 1;
}

.hero-btn-container:has(.hero-cta-btn:hover) .transition-bottom {
  transform: translateY(24px) rotateZ(4deg);
  filter: blur(0px);
  opacity: 1;
}

.hero-btn-container:has(.hero-cta-btn:hover) .btn-corner:nth-of-type(1) {
  transform: translate(
    calc(-1 * var(--corner-multiplier) * var(--corner-dist)),
    calc(-1 * var(--corner-multiplier) * var(--corner-dist))
  ) rotate(90deg);
  filter: drop-shadow(-10px 10px 1px rgba(55,138,221,0.4))
          drop-shadow(-20px 20px 2px rgba(55,138,221,0.2));
}
.hero-btn-container:has(.hero-cta-btn:hover) .btn-corner:nth-of-type(2) {
  transform: translate(
    calc(var(--corner-multiplier) * var(--corner-dist)),
    calc(-1 * var(--corner-multiplier) * var(--corner-dist))
  ) rotate(180deg);
  filter: drop-shadow(-10px 10px 1px rgba(55,138,221,0.4))
          drop-shadow(-20px 20px 2px rgba(55,138,221,0.2));
}
.hero-btn-container:has(.hero-cta-btn:hover) .btn-corner:nth-of-type(3) {
  transform: translate(
    calc(var(--corner-multiplier) * var(--corner-dist)),
    calc(var(--corner-multiplier) * var(--corner-dist))
  ) rotate(-90deg);
  filter: drop-shadow(-10px 10px 1px rgba(55,138,221,0.4))
          drop-shadow(-20px 20px 2px rgba(55,138,221,0.2));
}
.hero-btn-container:has(.hero-cta-btn:hover) .btn-corner:nth-of-type(4) {
  transform: translate(
    calc(-1 * var(--corner-multiplier) * var(--corner-dist)),
    calc(var(--corner-multiplier) * var(--corner-dist))
  ) rotate(0deg);
  filter: drop-shadow(-10px 10px 1px rgba(55,138,221,0.4))
          drop-shadow(-20px 20px 2px rgba(55,138,221,0.2));
}

.hero-btn-container:has(.hero-cta-btn:active) .hero-cta-btn {
  transform: scale(0.95);
}

.hero-btn-container:has(.hero-cta-btn:active) .transition-top,
.hero-btn-container:has(.hero-cta-btn:active) .transition-bottom {
  transform: translateY(0px) scale(0.5);
}

/* === LOADER === */
#dw-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dw-sphere {
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: visible;
  border-radius: 100%;
  transform-style: preserve-3d;
  animation: dw-rotate 8s linear infinite;
  position: relative;
}

.dw-sphere .dw-meridian {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(55,138,221,0.25);
  border-radius: 100%;
  transform-style: preserve-3d;
  box-shadow: inset 0 0 8px rgba(55,138,221,0.05);
}

.dw-sphere .dw-meridian:nth-child(1)  { transform: rotateX(10deg); }
.dw-sphere .dw-meridian:nth-child(2)  { transform: rotateX(20deg); }
.dw-sphere .dw-meridian:nth-child(3)  { transform: rotateX(30deg); }
.dw-sphere .dw-meridian:nth-child(4)  { transform: rotateX(40deg); }
.dw-sphere .dw-meridian:nth-child(5)  { transform: rotateX(50deg); }
.dw-sphere .dw-meridian:nth-child(6)  { transform: rotateX(60deg); }
.dw-sphere .dw-meridian:nth-child(7)  { transform: rotateX(70deg); }
.dw-sphere .dw-meridian:nth-child(8)  { transform: rotateX(80deg); }
.dw-sphere .dw-meridian:nth-child(9)  { transform: rotateX(90deg); }
.dw-sphere .dw-meridian:nth-child(10) { transform: rotateX(100deg); }
.dw-sphere .dw-meridian:nth-child(11) { transform: rotateX(110deg); }
.dw-sphere .dw-meridian:nth-child(12) { transform: rotateX(120deg); }
.dw-sphere .dw-meridian:nth-child(13) { transform: rotateX(130deg); }
.dw-sphere .dw-meridian:nth-child(14) { transform: rotateX(140deg); }
.dw-sphere .dw-meridian:nth-child(15) { transform: rotateX(150deg); }
.dw-sphere .dw-meridian:nth-child(16) { transform: rotateX(160deg); }
.dw-sphere .dw-meridian:nth-child(17) { transform: rotateX(170deg); }
.dw-sphere .dw-meridian:nth-child(18) { transform: rotateX(180deg); }
.dw-sphere .dw-meridian:nth-child(19) { transform: rotateX(190deg); }
.dw-sphere .dw-meridian:nth-child(20) { transform: rotateX(200deg); }
.dw-sphere .dw-meridian:nth-child(21) { transform: rotateX(210deg); }
.dw-sphere .dw-meridian:nth-child(22) { transform: rotateX(220deg); }
.dw-sphere .dw-meridian:nth-child(23) { transform: rotateX(230deg); }
.dw-sphere .dw-meridian:nth-child(24) { transform: rotateX(240deg); }
.dw-sphere .dw-meridian:nth-child(25) { transform: rotateX(250deg); }
.dw-sphere .dw-meridian:nth-child(26) { transform: rotateX(260deg); }
.dw-sphere .dw-meridian:nth-child(27) { transform: rotateX(270deg); }
.dw-sphere .dw-meridian:nth-child(28) { transform: rotateX(280deg); }
.dw-sphere .dw-meridian:nth-child(29) { transform: rotateX(290deg); }
.dw-sphere .dw-meridian:nth-child(30) { transform: rotateX(300deg); }
.dw-sphere .dw-meridian:nth-child(31) { transform: rotateX(310deg); }
.dw-sphere .dw-meridian:nth-child(32) { transform: rotateX(320deg); }
.dw-sphere .dw-meridian:nth-child(33) { transform: rotateX(330deg); }
.dw-sphere .dw-meridian:nth-child(34) { transform: rotateX(340deg); }
.dw-sphere .dw-meridian:nth-child(35) { transform: rotateX(350deg); }
.dw-sphere .dw-meridian:nth-child(36) { transform: rotateX(360deg); }

.dw-sphere .dw-latitude {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(55,138,221,0.15);
  transform: rotateY(90deg);
  border-radius: 100%;
}
.dw-sphere .dw-latitude:nth-child(37) {
  width: 197px; height: 197px;
  top: 1px; left: 1px;
  transform: rotateY(90deg) translateZ(-17px);
}
.dw-sphere .dw-latitude:nth-child(38) {
  width: 187px; height: 187px;
  top: 7px; left: 7px;
  transform: rotateY(90deg) translateZ(-33px);
}
.dw-sphere .dw-latitude:nth-child(39) {
  width: 173px; height: 173px;
  top: 13px; left: 13px;
  transform: rotateY(90deg) translateZ(-50px);
}
.dw-sphere .dw-latitude:nth-child(40) {
  width: 147px; height: 147px;
  top: 27px; left: 27px;
  transform: rotateY(90deg) translateZ(-67px);
}
.dw-sphere .dw-latitude:nth-child(41) {
  width: 107px; height: 107px;
  top: 47px; left: 47px;
  transform: rotateY(90deg) translateZ(-83px);
}
.dw-sphere .dw-latitude:nth-child(42) {
  width: 14px; height: 14px;
  top: 93px; left: 93px;
  border: 7px solid #378ADD;
  transform: rotateY(90deg) translateZ(-100px);
}
.dw-sphere .dw-latitude:nth-child(43) {
  width: 197px; height: 197px;
  top: 1px; left: 1px;
  transform: rotateY(90deg) translateZ(17px);
}
.dw-sphere .dw-latitude:nth-child(44) {
  width: 187px; height: 187px;
  top: 7px; left: 7px;
  transform: rotateY(90deg) translateZ(33px);
}
.dw-sphere .dw-latitude:nth-child(45) {
  width: 173px; height: 173px;
  top: 13px; left: 13px;
  transform: rotateY(90deg) translateZ(50px);
}
.dw-sphere .dw-latitude:nth-child(46) {
  width: 147px; height: 147px;
  top: 27px; left: 27px;
  transform: rotateY(90deg) translateZ(67px);
}
.dw-sphere .dw-latitude:nth-child(47) {
  width: 107px; height: 107px;
  top: 47px; left: 47px;
  transform: rotateY(90deg) translateZ(83px);
}
.dw-sphere .dw-latitude:nth-child(48) {
  width: 14px; height: 14px;
  top: 93px; left: 93px;
  transform: rotateY(90deg) translateZ(100px);
  border: 7px solid #378ADD;
}

.dw-sphere .dw-axis {
  position: absolute;
  width: 400px;
  height: 1px;
  top: calc(50% - 1px);
  background: linear-gradient(
    to left,
    transparent,
    rgba(55,138,221,0.4),
    transparent
  );
}
.dw-sphere .dw-axis + .dw-axis {
  transform: rotateX(90deg);
}

@keyframes dw-rotate {
  0%   { transform: rotateX(30deg) rotateY(0deg) rotateZ(80deg); }
  100% { transform: rotateX(30deg) rotateY(360deg) rotateZ(80deg); }
}

/* === PROBLEM CARDS === */
.dw-problem {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.dw-problem__indicators {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.dw-problem__indicators.visible {
  opacity: 1;
  visibility: visible;
}

.dw-problem__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.1);
  transition: background 0.3s, border-color 0.3s;
}

.dw-problem__dot.active {
  background: #378ADD;
  border-color: #378ADD;
}

.dw-problem__cards {
  position: relative;
  top: 0;
  width: 100%;
  height: 96vh; /* fallback for browsers without dvh */
  height: 96dvh;
  border-radius: 24px;
  overflow: hidden;
}

.dw-problem__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96vh; /* fallback for browsers without dvh */
  height: 96dvh;
  padding: 60px 80px;
  border-radius: 24px;
  transform: translateY(100vh);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 60px;
}

.dw-card--first {
  transform: translateY(0);
  z-index: 4;
}

.dw-card--second { z-index: 3; }
.dw-card--third { z-index: 2; }
.dw-card--fourth { z-index: 1; }

.dw-card__left {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dw-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #378ADD;
  font-family: 'Inter', sans-serif;
}

.dw-card__title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: #F9FAFB;
  line-height: 1.1;
  letter-spacing: -0.03em;
  position: relative;
  padding-bottom: 80px;
  font-family: 'Inter', sans-serif;
}

.dw-card__special {
  position: absolute;
  top: 100%;
  left: 0;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 300;
  font-style: italic;
  color: #378ADD;
  letter-spacing: -0.02em;
  line-height: 1;
}

.dw-card__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dw-card__text {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.dw-chaos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 360px;
}

.dw-chaos-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  animation: dw-float 3s ease-in-out infinite;
}

.dw-chaos-item:nth-child(2) { animation-delay: 0.4s; }
.dw-chaos-item:nth-child(3) { animation-delay: 0.8s; }
.dw-chaos-item:nth-child(4) { animation-delay: 1.2s; }
.dw-chaos-item:nth-child(5) { animation-delay: 0.6s; }
.dw-chaos-item:nth-child(6) { animation-delay: 1s; }

@keyframes dw-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

.dw-chaos-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 8px;
}

.dw-chaos-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
}

.dw-big-stat {
  display: flex;
  align-items: center;
  gap: 24px;
}

.dw-big-number {
  font-size: clamp(72px, 10vw, 120px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}

.dw-big-label {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
}

.dw-stat-row {
  display: flex;
  gap: 32px;
}

.dw-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dw-stat-val {
  font-size: 32px;
  font-weight: 700;
  color: #F9FAFB;
  letter-spacing: -0.02em;
  font-family: 'Inter', sans-serif;
}

.dw-stat-key {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
}

.dw-transform {
  display: flex;
  align-items: center;
  gap: 24px;
}

.dw-transform__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dw-transform__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border: 1px solid;
  border-radius: 4px;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}

.dw-transform__item {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.dw-transform__item.dw-after {
  color: #10B981;
}

.dw-transform__arrow {
  font-size: 32px;
  color: #378ADD;
  flex-shrink: 0;
}

.dw-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 400px;
}

.dw-result-item {
  background: rgba(55,138,221,0.08);
  border: 1px solid rgba(55,138,221,0.15);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dw-result-val {
  font-size: 36px;
  font-weight: 800;
  color: #F9FAFB;
  letter-spacing: -0.03em;
  font-family: 'Inter', sans-serif;
}

.dw-result-label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  /* Shorten the pinned scroll-through (desktop is 500vh / 5x viewport) */
  .dw-problem {
    height: 250vh !important;
    overflow: clip; /* hidden would make this a scroll container and kill the sticky cards */
  }
  /* Start the stack below the fixed ticker (32px) + navbar (60px) so the
     top of each card isn't hidden behind them */
  .dw-problem__cards {
    position: sticky;
    top: 92px;
    height: calc(100vh - 92px);
    height: calc(100dvh - 92px);
  }
  .dw-problem__card {
    flex-direction: column;
    padding: 32px 20px;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    height: calc(100vh - 92px);
    height: calc(100dvh - 92px);
  }
  .dw-chaos-item {
    padding: 10px 8px;
  }
  .dw-chaos-icon {
    font-size: 22px;
    margin-bottom: 4px;
  }
  .dw-card__left {
    flex: none;
    gap: 8px;
  }
  .dw-card__title {
    font-size: 32px;
    padding-bottom: 44px;
  }
  .dw-card__special {
    font-size: 28px;
  }
  .dw-card__right {
    gap: 16px;
  }
  .dw-result-item {
    padding: 12px 14px;
  }
  .dw-result-val {
    font-size: 26px;
  }
  .dw-chaos-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
  .dw-big-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* === PROCESO STEPS === */
.dw-proceso {
  background: #F8F9FC;
  position: relative;
}

.dw-proceso__inner {
  position: sticky;
  top: 0;
  height: 100vh; /* fallback for browsers without dvh */
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.dw-proceso__header {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dw-proceso__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #1D4ED8;
  font-family: 'Inter', sans-serif;
}

.dw-proceso__title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: #0A0F1E;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-family: 'Inter', sans-serif;
}

.dw-proceso__sub {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.dw-proceso__cta {
  margin-top: 48px;
}

.dw-proceso__steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dw-proceso__step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 40px 0;
  opacity: 0.2;
  border-top: 1px dashed rgba(10,15,30,0.12);
  transition: opacity 0.4s ease;
}

.dw-proceso__step:first-child {
  border-top: none;
  padding-top: 0;
}

.dw-proceso__step.active {
  opacity: 1;
}

.dw-proceso__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #378ADD;
  color: white;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}

.dw-proceso__step.active .dw-proceso__num {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(55,138,221,0.1);
}

.dw-proceso__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #0A0F1E;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.dw-proceso__step-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
  .dw-proceso__inner {
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 40px 24px;
  }
  .dw-proceso__header {
    flex: none;
  }
}

/* ============================================================================
   MANIFIESTO — MOBILE SIZING + COLLAPSIBLE BODY
   ========================================================================== */

.manifiesto-opening {
  font-size: clamp(22px, 3.5vw, 32px);
}

.manifiesto-body {
  font-size: 17px;
  line-height: 1.85;
}

.manifiesto-toggle {
  display: none;
}

@media (max-width: 768px) {
  .manifiesto-opening {
    font-size: 28px;
  }

  .manifiesto-body {
    font-size: 16px;
    line-height: 1.6;
  }

  .manifiesto-extra {
    max-height: 0;
    overflow: hidden;
  }

  .manifiesto-extra.expanded {
    max-height: 2000px;
  }

  .manifiesto-toggle {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(55, 138, 221, 0.4);
    color: #378ADD;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    margin: -8px 0 40px;
  }
}
