/* ═══════════════════════════════════════════
   EP DESIGN — Landing Page
   Dark, bold, award-level design
═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --blue: #1155FF;
  --blue-h: #3366FF;
  --blue-light: #5DA9FF;     /* celeste hover */
  --blue-light-h: #7FBFFF;
  --blue-glow: rgba(17, 85, 255, 0.18);
  --blue-glow-lg: rgba(17, 85, 255, 0.08);
  --dark: #080808;
  --dark-2: #111111;
  --dark-3: #181818;
  --dark-4: #222222;
  --border: rgba(255,255,255,0.07);
  --border-h: rgba(255,255,255,0.14);
  --white: #ffffff;
  --gray: #737373;
  --gray-2: #8a8a8a;
  --gray-light: #cccccc;
  --red: #FF3B30;
  --green: #25D366;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-w: 1200px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Loader ── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.loader-logo { width: 160px; opacity: 0; animation: logoIn 0.6s var(--ease-out) 0.2s forwards; }
.loader-logo-light { display: none; }
.loader-logo-dark { display: block; }
[data-theme="light"] .loader-logo-light { display: block; }
[data-theme="light"] .loader-logo-dark { display: none; }
[data-theme="light"] .loader { background: var(--white); }
[data-theme="light"] .loader-bar { background: rgba(0,0,0,0.1); }
@keyframes logoIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
  width: 0;
  animation: loaderFill 1.6s var(--ease-out) 0.3s forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ── Custom Cursor ── */
.cursor, .cursor-dot {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transition: opacity 0.3s;
}
.cursor {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.6);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}
.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--white);
  transform: translate(-50%, -50%);
}
.cursor.hover { width: 56px; height: 56px; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }
@media (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.navbar.hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; object-fit: contain; }
.logo-light-bg { display: none; }
.logo-dark-bg { display: block; }

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--blue-light); background: rgba(93, 169, 255, 0.08); }
.nav-links a.active { color: var(--white); }
[data-theme="light"] .nav-links a.active { color: var(--dark); }

/* ── Theme Toggle Button ── */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  overflow: hidden;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}
.theme-toggle:hover { background: rgba(255,255,255,0.18); transform: translateY(-1px); }
.theme-toggle:active { transform: scale(0.92); }

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.theme-toggle .icon-moon { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }
.theme-toggle .icon-sun  { opacity: 0; transform: translate(-50%, -50%) rotate(-90deg) scale(0.4); }

[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: translate(-50%, -50%) rotate(90deg) scale(0.4); }
[data-theme="dark"] .theme-toggle .icon-sun  { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }

/* Spin animation on click */
@keyframes themeSpin {
  0%   { transform: rotate(0) scale(1); }
  50%  { transform: rotate(180deg) scale(0.85); }
  100% { transform: rotate(360deg) scale(1); }
}
.theme-toggle.spinning {
  animation: themeSpin 0.6s var(--ease-out);
}

/* Light theme styles for the button */
[data-theme="light"] .navbar.scrolled .theme-toggle,
[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
  color: var(--dark);
}
[data-theme="light"] .theme-toggle:hover { background: rgba(0,0,0,0.1); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-wa:hover { background: #1eb955; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  margin-left: auto;
}
.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-menu.open { transform: none; }
.mobile-menu ul { text-align: center; display: flex; flex-direction: column; gap: 0.25rem; }
.mob-link {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 4.5vw, 2.2rem);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  display: block;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  transition: color 0.3s, background 0.3s, transform 0.3s;
  /* Stagger animation */
  opacity: 0;
  transform: translateY(20px);
}
.mobile-menu.open .mob-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.open li:nth-child(1) .mob-link { transition-delay: 0.08s; }
.mobile-menu.open li:nth-child(2) .mob-link { transition-delay: 0.14s; }
.mobile-menu.open li:nth-child(3) .mob-link { transition-delay: 0.20s; }
.mobile-menu.open li:nth-child(4) .mob-link { transition-delay: 0.26s; }
.mobile-menu.open li:nth-child(5) .mob-link { transition-delay: 0.32s; }
.mobile-menu.open li:nth-child(6) .mob-link { transition-delay: 0.38s; }

.mob-link:hover,
.mob-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.mob-link.active {
  color: var(--blue);
}
.mob-wa {
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s, background 0.2s, box-shadow 0.2s;
}
.mobile-menu.open .mob-wa {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.44s;
}
.mob-social {
  display: flex;
  gap: 1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s;
}
.mobile-menu.open .mob-social {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.52s;
}
.mob-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.mob-social a:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
}

/* ── Section base ── */
.sec {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}
.dark-sec {
  background: var(--dark);
  color: var(--white);
}

/* Section header */
.sec-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(17, 85, 255, 0.08);
  border: 1px solid rgba(17, 85, 255, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.tag-light {
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}
.sec-head h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.sec-head h2.light { color: var(--white); }
.sec-head p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--gray);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}
.sec-head p.light { color: rgba(255,255,255,0.72); }

/* Text effects */
.grad-text {
  background: linear-gradient(135deg, #1155FF 0%, #5588FF 50%, #88AAFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-text-dark {
  background: linear-gradient(135deg, #1155FF 0%, #0033BB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.strike-wrap {
  position: relative;
  display: inline-block;
  color: var(--gray-2);
}
.strike-bar {
  position: absolute;
  left: -4px;
  right: -4px;
  top: 52%;
  height: 8px;
  background: var(--blue);
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 18px rgba(17, 85, 255, 0.55);
  pointer-events: none;
}

/* Reveal animation base */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  animation: grain 8s steps(10, end) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0,0); }
  10% { transform: translate(-2%,-3%); }
  20% { transform: translate(3%,1%); }
  30% { transform: translate(-1%,4%); }
  40% { transform: translate(2%,-2%); }
  50% { transform: translate(-3%,2%); }
  60% { transform: translate(1%,-4%); }
  70% { transform: translate(-2%,3%); }
  80% { transform: translate(3%,-1%); }
  90% { transform: translate(-1%,2%); }
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-glow-left {
  position: absolute;
  left: -10%;
  top: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(17, 85, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-glow-right {
  position: absolute;
  right: -10%;
  bottom: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(17, 85, 255, 0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 800px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.pulse-dot.blue { background: var(--blue); }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  50% { opacity: 0.8; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(37,211,102,0); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 7.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.75rem;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
}
.hero-title .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease-out);
}
.hero-title .word-inner.visible { transform: translateY(0); }

.hero-sub {
  font-size: clamp(1.0625rem, 1.75vw, 1.25rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 560px;
  opacity: 0;
  transform: translateY(16px);
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(16px);
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}
.check {
  width: 22px;
  height: 22px;
  background: rgba(17, 85, 255, 0.15);
  border: 1px solid rgba(17, 85, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.check svg { width: 12px; height: 12px; }

.hero-actions {
  opacity: 0;
  transform: translateY(16px);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { background: var(--blue-h); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(17, 85, 255, 0.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary svg { position: relative; z-index: 1; transition: transform 0.25s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(17, 85, 255, 0.08);
  transform: translateY(-2px);
}
.btn-ghost span { position: relative; z-index: 1; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0 2.5rem;
}
.stat:first-child { padding-left: 0; }
.stat-n {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  display: block;
}
.stat span { font-size: 0.8125rem; color: var(--gray); font-weight: 500; }
.stat-sep { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 2.5s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── PROBLEMA ── */
.problema { background: #F8F8F8; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.pain-card {
  background: var(--white);
  border: 1px solid #EBEBEB;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.pain-card:hover { border-color: #E0E0E0; box-shadow: 0 8px 30px rgba(0,0,0,0.06); transform: translateY(-4px); }
.pain-num {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.15);
  margin-bottom: 1.25rem;
}
.pain-x {
  width: 44px;
  height: 44px;
  background: rgba(255, 59, 48, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.pain-x svg { width: 20px; height: 20px; }
.pain-card h3 {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.pain-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }

/* ── SOLUCIÓN ── */
.solucion { overflow: hidden; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.step {
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}
.step:hover { background: rgba(255,255,255,0.03); }
.step:not(:last-child) { border-right: none; }
.step-num {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2);
  margin-bottom: 2rem;
}
.step-connector {
  display: none;
}
.step-body { display: flex; flex-direction: column; gap: 1rem; }
.step-icon {
  width: 52px;
  height: 52px;
  background: rgba(17, 85, 255, 0.1);
  border: 1px solid rgba(17, 85, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: background 0.3s, border-color 0.3s;
}
.step:hover .step-icon { background: rgba(17, 85, 255, 0.15); border-color: rgba(17, 85, 255, 0.35); }
.step-icon svg { width: 24px; height: 24px; }
.step h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.step p { font-size: 0.9375rem; color: rgba(255,255,255,0.72); line-height: 1.65; }

/* ── SERVICIOS ── */
.servicios { background: var(--white); }
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #E8E8E8;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 4rem;
}
.srv-card {
  background: var(--white);
  padding: 2.25rem;
  position: relative;
  transition: background 0.3s;
  cursor: default;
}
.srv-card:hover { background: #FAFAFA; }
.srv-num {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.18);
  display: block;
  margin-bottom: 1.25rem;
}
.srv-icon {
  width: 48px;
  height: 48px;
  background: rgba(17, 85, 255, 0.06);
  border: 1px solid rgba(17, 85, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 1rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.srv-card:hover .srv-icon { background: rgba(17, 85, 255, 0.1); border-color: rgba(17, 85, 255, 0.25); transform: scale(1.05); }
.srv-icon svg { width: 22px; height: 22px; }
.srv-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.srv-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* blue hover line on top */
.srv-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.srv-card:hover::after { transform: scaleX(1); }

.srv-tagline {
  text-align: center;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--gray-2);
  line-height: 1.4;
}
.srv-tagline strong { color: var(--dark); font-family: var(--font-head); font-weight: 700; }

/* ── RESULTADOS ── */
.resultados { }
.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.result-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: background 0.3s, border-color 0.3s;
}
.result-card:hover { background: rgba(255,255,255,0.03); border-color: var(--border-h); }
.result-arrow {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.result-card h3 {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.result-card p { font-size: 0.9rem; color: rgba(255,255,255,0.72); line-height: 1.65; }

.counters {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 3rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0 3rem;
}
.counter-n {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  display: block;
}
.counter-item span { font-size: 0.8125rem; color: rgba(255,255,255,0.72); font-weight: 500; text-align: center; }
.counter-sep { width: 1px; height: 50px; background: var(--border); flex-shrink: 0; }

/* ── Growth videos (within Resultados) ── */
.growth-videos {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}
.growth-head {
  text-align: center;
  margin-bottom: 3rem;
}
.growth-videos-title {
  font-family: var(--font-head);
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 1rem 0 0.85rem;
}
.growth-videos-sub {
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}
.growth-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  /* Break out of parent .container to give videos more room */
  width: min(1500px, calc(100vw - 3rem));
  margin-left: 50%;
  transform: translateX(-50%);
  position: relative;
}
.growth-video {
  position: relative;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.growth-video:hover {
  border-color: rgba(93, 169, 255, 0.45);
  background: rgba(93, 169, 255, 0.04);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -12px rgba(17, 85, 255, 0.25);
}

/* Chart wrapper — layout vertical: header + body + footer */
.growth-chart-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(17,85,255,0.06) 0%, rgba(8,8,8,0.4) 100%);
}
[data-theme="light"] .growth-chart-wrap {
  background: linear-gradient(180deg, rgba(17,85,255,0.05) 0%, rgba(255,255,255,0.6) 100%);
}

/* Chart header — stat headline arriba, sin badge flotante */
.chart-header {
  flex-shrink: 0;
  padding: 0.95rem 1.1rem 0.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.chart-stat-num {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.chart-stat-arrow {
  font-size: 1.05rem;
  line-height: 1;
  color: var(--blue-light);
  font-weight: 700;
}
.chart-stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-left: 0.15rem;
}
[data-theme="light"] .chart-stat-num { color: var(--dark); }
[data-theme="light"] .chart-stat-label { color: rgba(0,0,0,0.45); }

/* Chart body — donde vive el SVG, ocupa espacio flexible */
.chart-body {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 0 1.1rem;
}
.chart-body-donut {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
}

.chart {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.chart-grid line {
  stroke: rgba(255,255,255,0.07);
  stroke-width: 1;
  stroke-dasharray: 2 5;
}
[data-theme="light"] .chart-grid line { stroke: rgba(0,0,0,0.07); }

/* Footer — axis o legend */
.chart-axis,
.chart-legend {
  flex-shrink: 0;
  padding: 0.5rem 1.1rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.chart-axis {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.5);
}
.chart-legend {
  display: flex;
  gap: 1rem;
  color: rgba(255,255,255,0.6);
}
.chart-legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.legend-dot-muted { background: rgba(255,255,255,0.22); }
[data-theme="light"] .chart-axis { color: rgba(0,0,0,0.5); }
[data-theme="light"] .chart-legend { color: rgba(0,0,0,0.6); }
[data-theme="light"] .legend-dot-muted { background: rgba(0,0,0,0.18); }

/* === Chart animations === */
.chart-stroke {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.chart-stroke-2 { transition-delay: 0.3s; }
.chart-area {
  opacity: 0;
  transition: opacity 1s 0.7s ease-out;
}
.chart-area-2 { transition-delay: 1s; }
.chart-dot {
  opacity: 0;
  transform-origin: 395px 20px;
  transform: scale(0);
  transition: opacity 0.4s 1.7s, transform 0.5s 1.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.chart-dot-pulse {
  opacity: 0;
  transform-origin: 395px 20px;
  transform: scale(1);
}
.bar {
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.bar-before { fill: rgba(255,255,255,0.16); }
.bar-after { fill: url(#barGrad); }
[data-theme="light"] .bar-before { fill: rgba(0,0,0,0.1); }

/* === Chart 1: Pall-Metal bars (growth over time) === */
.bar-track {
  fill: rgba(255,255,255,0.04);
  stroke: rgba(255,255,255,0.1);
  stroke-width: 1;
}
[data-theme="light"] .bar-track {
  fill: rgba(0,0,0,0.025);
  stroke: rgba(0,0,0,0.08);
}
.bar-grow { fill: url(#barGradGrowth); }
.chart-axis-bars {
  /* Same display rules as default axis */
}

/* === Chart 2: Tucci 3 mini rings === */
.chart-body-rings {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.5rem;
  padding: 0.25rem 1rem 0.5rem;
}
.ring-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}
.chart-mini-ring {
  width: 100%;
  max-width: 95px;
  height: auto;
  aspect-ratio: 1;
}
.ring-track {
  stroke: rgba(255,255,255,0.06);
}
[data-theme="light"] .ring-track { stroke: rgba(0,0,0,0.07); }

.ring-seg {
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.chart-card.in-view .ring-seg-a { stroke-dasharray: 85.7 100; }
.chart-card.in-view .ring-seg-b { stroke-dasharray: 80.3 100; transition-delay: 0.2s; }
.chart-card.in-view .ring-seg-c { stroke-dasharray: 95.7 100; transition-delay: 0.4s; }

.ring-num {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  fill: var(--white);
  letter-spacing: -0.03em;
  dominant-baseline: middle;
}
[data-theme="light"] .ring-num { fill: var(--dark); }

.ring-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-align: center;
  letter-spacing: 0.02em;
}
[data-theme="light"] .ring-label { color: rgba(0,0,0,0.6); }

/* === Chart 3: Meta Ads — single BIG donut === */
.chart-donut-big { max-width: 180px; }
.donut-main {
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.chart-card.in-view .donut-main { stroke-dasharray: 78 100; }

/* Donut center text (SVG, escala con el chart) */
.donut-center-svg {
  opacity: 0;
  transition: opacity 0.5s 1s ease-out;
}
.chart-card.in-view .donut-center-svg { opacity: 1; }

.donut-center-num {
  font-family: var(--font-head);
  font-size: 32px;          /* SVG units en viewBox 0 0 200 200 */
  font-weight: 700;
  fill: var(--white);
  letter-spacing: -0.02em;
  dominant-baseline: middle;
}
.donut-center-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  fill: rgba(255,255,255,0.55);
  dominant-baseline: middle;
}
[data-theme="light"] .donut-center-num { fill: var(--dark); }
[data-theme="light"] .donut-center-label { fill: rgba(0,0,0,0.5); }

/* Stagger bar animations (4 pairs = 8 bars) */
.bar:nth-of-type(1) { transition-delay: 0.0s; }
.bar:nth-of-type(2) { transition-delay: 0.1s; }
.bar:nth-of-type(3) { transition-delay: 0.2s; }
.bar:nth-of-type(4) { transition-delay: 0.3s; }
.bar:nth-of-type(5) { transition-delay: 0.4s; }
.bar:nth-of-type(6) { transition-delay: 0.5s; }
.bar:nth-of-type(7) { transition-delay: 0.6s; }
.bar:nth-of-type(8) { transition-delay: 0.7s; }

/* Activated state (cuando entra en viewport) */
.chart-card.in-view .chart-stroke { stroke-dashoffset: 0; }
.chart-card.in-view .chart-area { opacity: 1; }
.chart-card.in-view .chart-dot { opacity: 1; transform: scale(1); }
.chart-card.in-view .chart-dot-pulse {
  animation: chartDotPulse 2s 2.2s ease-out infinite;
}
.chart-card.in-view .bar { transform: scaleY(1); }

@keyframes chartDotPulse {
  0%   { opacity: 0.8; transform: scale(1); }
  100% { opacity: 0;   transform: scale(3.2); }
}

/* === Donut chart (chart 2) === */
.chart-donut {
  width: auto;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  aspect-ratio: 1;
}
.donut-track { stroke: rgba(255,255,255,0.06); }
[data-theme="light"] .donut-track { stroke: rgba(0,0,0,0.07); }

.donut-seg {
  stroke-linecap: butt;
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.donut-seg-1 { stroke-dashoffset: 0;   }
.donut-seg-2 { stroke-dashoffset: -45; transition-delay: 0.25s; }
.donut-seg-3 { stroke-dashoffset: -73; transition-delay: 0.5s;  }
.donut-seg-4 { stroke-dashoffset: -91; transition-delay: 0.75s; }

.chart-card.in-view .donut-seg-1 { stroke-dasharray: 45 100; }
.chart-card.in-view .donut-seg-2 { stroke-dasharray: 28 100; }
.chart-card.in-view .donut-seg-3 { stroke-dasharray: 18 100; }
.chart-card.in-view .donut-seg-4 { stroke-dasharray: 9 100;  }

.donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% - 6px));
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s 1s ease-out, transform 0.5s 1s ease-out;
}
.chart-card.in-view .donut-center {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.donut-center strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
}
.donut-center span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  font-weight: 500;
}
[data-theme="light"] .donut-center strong { color: var(--dark); }
[data-theme="light"] .donut-center span { color: rgba(0,0,0,0.5); }

/* Legend grid (donut needs 2 cols for 4 segments) */
.chart-legend-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 0.85rem;
  font-size: 0.68rem;
}
.chart-legend-grid span { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .chart-stroke, .chart-area, .chart-dot, .bar {
    transition: none !important;
  }
  .chart-card .chart-stroke { stroke-dashoffset: 0; }
  .chart-card .chart-area { opacity: 1; }
  .chart-card .chart-dot { opacity: 1; transform: scale(1); }
  .chart-card .bar { transform: scaleY(1); }
  .chart-dot-pulse { animation: none !important; opacity: 0; }
}

.growth-video figcaption {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  text-align: left;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.growth-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(17, 85, 255, 0.12);
  border: 1px solid rgba(17, 85, 255, 0.22);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.growth-video:hover .growth-icon {
  background: rgba(93, 169, 255, 0.18);
  border-color: rgba(93, 169, 255, 0.4);
}
.growth-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.growth-text strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.growth-text span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .growth-videos-grid { grid-template-columns: repeat(2, 1fr); }
  .growth-videos { margin-top: 4rem; padding-top: 3rem; }
}
@media (max-width: 640px) {
  .growth-videos-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Light theme overrides */
[data-theme="light"] .growth-videos { border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .growth-video {
  background: var(--white);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .growth-video:hover {
  border-color: rgba(93, 169, 255, 0.5);
  background: rgba(93, 169, 255, 0.04);
  box-shadow: 0 24px 60px -12px rgba(17, 85, 255, 0.2);
}
[data-theme="light"] .growth-video figcaption {
  border-top-color: rgba(0,0,0,0.07);
  background: rgba(0,0,0,0.015);
}
[data-theme="light"] .growth-text strong { color: var(--dark); }
[data-theme="light"] .growth-text span { color: rgba(0,0,0,0.55); }

/* ── CLIENTES ── */
.clientes { background: #F8F8F8; overflow: hidden; }
.marquee-wrap {
  overflow: hidden;
  padding: 1rem 0;
  touch-action: pan-y;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  cursor: grab;
  user-select: none;
  will-change: transform;
}
.marquee-track.dragging { cursor: grabbing; }
.marquee-item {
  flex-shrink: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}
.marquee-item img {
  height: auto;
  width: auto;
  max-height: 100%;
  min-width: 100px;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: filter 0.4s, opacity 0.4s;
}
.marquee-item img:hover { filter: none; opacity: 0.9; }

/* ── TRABAJOS EN ACCIÓN (perfiles de Instagram) ── */
.trabajos { background: var(--white); }

/* Aviso solo visible en local mientras data/instagram.json tenga datos de ejemplo */
.ig-sample-badge {
  display: table;
  margin: 0 auto 1.5rem;
  padding: 0.3rem 0.85rem;
  border: 1px solid #F2D78A;
  border-radius: 50px;
  background: #FFF6DC;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  color: #7A5300;
}
.ig-sample-badge[hidden] { display: none; }
.ig-error { padding: 2rem 0; text-align: center; color: var(--gray); }

/* Avatares compartidos: anillo + imagen o iniciales */
.ig-ring {
  display: block;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 50%;
  background: #E2E2E2;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}
.ig-ring > img,
.ig-ring > .ig-initials {
  width: 100%;
  height: 100%;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--white);
}
.ig-ring > img { display: block; object-fit: contain; padding: 4px; }
.ig-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EEF3FF;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue);
}
.ig-type {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 20px;
  height: 20px;
  color: var(--white);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

/* ── Perfiles de Instagram: selector de clientes + perfil embebido ── */
.igp-tabs {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}
.igp-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray);
  white-space: nowrap;
  transition: color 0.25s;
}
.igp-tab-avatar { width: 66px; height: 66px; }
.igp-tab-avatar .ig-initials { font-size: 1.05rem; }
.igp-tab:hover { color: var(--dark); }
.igp-tab:hover .igp-tab-avatar { transform: scale(1.05); background: rgba(93, 169, 255, 0.6); }
.igp-tab[aria-selected="true"] { color: var(--dark); font-weight: 600; }
.igp-tab[aria-selected="true"] .igp-tab-avatar,
.igp-avatar { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%); }
.igp-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.igp-panel { max-width: 820px; margin: 0 auto; transition: opacity 0.18s ease; }
.igp-panel:empty { min-height: 560px; }
.igp-panel.is-switching { opacity: 0; }
.igp-profile {
  padding: 1.75rem;
  border: 1px solid #EBEBEB;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 30px 60px -36px rgba(8, 8, 8, 0.25);
}
.igp-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.igp-avatar { width: 92px; height: 92px; }
.igp-avatar .ig-initials { font-size: 1.6rem; }
.igp-meta { flex: 1; min-width: 0; }
.igp-name {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--dark);
}
.igp-handle { display: block; margin: 0.2rem 0 0.65rem; font-size: 0.9rem; color: var(--gray); }
.igp-stats { display: flex; gap: 1.25rem; font-size: 0.9rem; color: var(--gray); }
.igp-stats strong { margin-right: 0.2rem; font-family: var(--font-head); font-weight: 700; color: var(--dark); }
.igp-follow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  background: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.igp-follow svg { width: 16px; height: 16px; }
.igp-follow:hover { background: var(--blue-h); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(17, 85, 255, 0.6); }
.igp-follow:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.igp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.igp-post {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #F2F2F2;
}
.igp-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.igp-post:hover img { transform: scale(1.05); }
.igp-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: rgba(8, 8, 8, 0.45);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.25s;
}
.igp-overlay span { display: inline-flex; align-items: center; gap: 0.35rem; }
.igp-overlay svg { width: 18px; height: 18px; }
.igp-post:hover .igp-overlay,
.igp-post:focus-visible .igp-overlay { opacity: 1; }
.igp-post:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 640px) {
  .igp-tabs {
    justify-content: flex-start;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  .igp-tabs::-webkit-scrollbar { display: none; }
  .igp-tab-avatar { width: 58px; height: 58px; }
  .igp-profile { padding: 1.1rem; border-radius: 18px; }
  .igp-head { flex-wrap: wrap; gap: 1rem; }
  .igp-avatar { width: 72px; height: 72px; }
  .igp-name { font-size: 1.2rem; }
  .igp-follow { width: 100%; justify-content: center; }
  .igp-grid { gap: 3px; }
  .igp-post { border-radius: 4px; }
}

/* ── BLOG ── */
.blog { background: #F8F8F8; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 1.5rem;
}
.blog-card { background: var(--white); border-radius: 16px; overflow: hidden; transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.09); }
.blog-card.featured { grid-row: span 1; grid-column: span 1; }
.blog-img { position: relative; overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(135deg, #e8eaf6, #c5cae9); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--blue);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
}
.blog-body { padding: 1.5rem; }
.blog-date { font-size: 0.8125rem; color: var(--gray); margin-bottom: 0.5rem; display: block; }
.blog-body h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.blog-body p { font-size: 0.875rem; color: var(--gray); line-height: 1.65; margin-bottom: 1rem; }
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.2s;
}
.blog-link:hover { gap: 0.6rem; }

/* ── CTA FINAL ── */
.cta-final { text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-glow-c {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(17, 85, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-wrap { position: relative; z-index: 1; }
.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
}
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.cta-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.72);
  margin-bottom: 3rem;
}
.btn-wa-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 1.125rem 2.75rem;
  border-radius: 50px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  margin-bottom: 2.5rem;
}
.btn-wa-large:hover { background: #1eb955; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(37, 211, 102, 0.4); }
.cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-contacts span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
}

/* ── FOOTER ── */
.footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 2rem;
}
.footer-brand img { height: 40px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.footer-logo-light { display: none; }
.footer-logo-dark { display: block; }
[data-theme="light"] .footer-logo-light { display: block; }
[data-theme="light"] .footer-logo-dark { display: none; }
.footer-brand p { font-size: 0.875rem; color: var(--gray-2); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: background 0.2s, color 0.2s;
}
.social-btn:hover { background: var(--blue); color: var(--white); }
.social-btn svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li {
  font-size: 0.875rem;
  color: var(--gray-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-col ul li a { color: var(--gray-2); transition: color 0.2s; }
.footer-col ul li a:hover, .footer-col ul li:hover { color: var(--white); }
.footer-col ul li svg { color: var(--white); flex-shrink: 0; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.45); }
.footer-credit { font-style: italic; }

/* ══════════════════════════════════════
   RESPONSIVE — Tablet + iPhone
══════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .pain-grid        { grid-template-columns: repeat(2, 1fr); }
  .srv-grid         { grid-template-columns: repeat(2, 1fr); }
  .about-grid       { grid-template-columns: 1fr; }
  .tools-grid       { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .steps            { grid-template-columns: 1fr; }
  .step             { border: 1px solid var(--border); border-bottom: none; }
  .step:last-child  { border-bottom: 1px solid var(--border); }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand     { grid-column: span 2; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-wa { display: none; }
  .hamburger          { display: flex; }

  /* Container */
  .container { padding: 0 1.25rem; }

  /* Section spacing */
  .sec { padding: clamp(3rem, 10vw, 5rem) 0; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 2.5rem) 0 3rem; min-height: 100svh; }
  .hero-badge { font-size: 0.75rem; padding: 0.35rem 0.75rem; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); margin-bottom: 1.25rem; }
  .hero-sub   { font-size: 1rem; }

  /* Hero stats → 2×2 grid */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
  }
  .stat-sep { display: none; }
  .stat     { padding: 0; }
  .stat-n   { font-size: 1.75rem; }

  /* Grids → 1 column */
  .pain-grid    { grid-template-columns: 1fr; }
  .srv-grid     { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  /* Steps */
  .steps           { grid-template-columns: 1fr; }
  .step            { border: 1px solid var(--border); border-bottom: none; padding: 1.75rem; }
  .step:last-child { border-bottom: 1px solid var(--border); }

  /* Services */
  .srv-card  { padding: 1.5rem; }
  .srv-tagline { font-size: 1.1rem; }

  /* Counters → 2×2 grid */
  .counters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 1.75rem 1.25rem;
  }
  .counter-item { padding: 1.25rem; }
  .counter-sep  { display: none; }
  .counter-n    { font-size: 2rem; }

  /* Marquee items smaller on mobile */
  .marquee-item      { height: 48px; padding: 0 1rem; }
  .marquee-item img  { max-width: 110px; }

  /* CTA */
  .cta-title   { font-size: clamp(2rem, 9vw, 3.5rem); }
  .cta-sub     { font-size: 1rem; }
  .btn-wa-large {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
  .cta-contacts { flex-direction: column; gap: 0.75rem; align-items: center; }

  /* Footer */
  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; }
}

/* ── iPhone small (≤ 430px — iPhone 14/15 Pro Max y menores) ── */
@media (max-width: 430px) {
  .hero-title { font-size: clamp(2rem, 8.5vw, 2.75rem); }

  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-n { font-size: 1.5rem; }

  .pain-card, .srv-card { padding: 1.25rem; }

  .counters { padding: 1.25rem 0.75rem; }
  .counter-n { font-size: 1.75rem; }
  .counter-item { padding: 1rem 0.75rem; }

  .sec-head h2 { font-size: clamp(1.75rem, 7vw, 2.5rem); }

  .btn-primary { font-size: 0.9375rem; padding: 0.8rem 1.5rem; }

  .steps .step { padding: 1.25rem; }
}

/* ── iPhone safe area (notch / Dynamic Island) ── */
@supports (padding: env(safe-area-inset-top)) {
  .navbar {
    padding-top: env(safe-area-inset-top);
    height: calc(var(--nav-h) + env(safe-area-inset-top));
  }
  .hero {
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 2.5rem);
  }
  .footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
  .mobile-menu {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ══════════════════════════════════════
   ABOUT / QUIÉNES SOMOS
══════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.about-story h3,
.about-team h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.about-story p {
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-tasks {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-task {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all 0.3s var(--ease-out);
}

.about-task:hover {
  border-color: rgba(93, 169, 255, 0.4);
  background: rgba(93, 169, 255, 0.06);
}

.about-task-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(17, 85, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-task-icon svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.about-task strong {
  color: var(--white);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.25rem;
}

.about-task p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* ══════════════════════════════════════
   HERRAMIENTAS / TOOLS
══════════════════════════════════════ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: all 0.3s var(--ease-out);
}

.tool-item:hover {
  border-color: rgba(93, 169, 255, 0.4);
  background: rgba(93, 169, 255, 0.06);
  transform: translateY(-4px);
}

.tool-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-item span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

/* ══════════════════════════════════════
   ACCESSIBILITY
══════════════════════════════════════ */

/* ── Focus Visible ── */
*:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn-primary:focus-visible,
.btn-wa:focus-visible,
.btn-wa-large:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(17, 85, 255, 0.2);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  background: rgba(255,255,255,0.07);
}

.social-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ── Skip to Content ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 10000;
  transition: top 0.3s var(--ease-out);
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ── Social buttons min touch target ── */
@media (pointer: coarse) {
  .social-btn {
    width: 44px;
    height: 44px;
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track {
    animation: none !important;
  }

  .grain {
    animation: none;
  }

  .loader {
    display: none;
  }

  .hero-badge,
  .hero-sub,
  .hero-bullets,
  .hero-actions,
  .hero-stats {
    opacity: 1;
    transform: none;
  }

  .hero-title .word-inner {
    transform: none;
  }
}

/* ═══════════════════════════════════════
   THEME TRANSITIONS — smooth color change
═══════════════════════════════════════ */
body,
.sec,
.dark-sec,
.hero,
.footer,
.navbar.scrolled,
.problema,
.servicios,
.clientes,
.trabajos,
.blog,
.pain-card,
.srv-card,
.tool-item,
.blog-card,
.about-task,
.sec-head h2,
.sec-head p,
.srv-card h3,
.srv-card p,
.pain-card h3,
.pain-card p,
.step h3,
.step p,
.about-story p,
.about-task p,
.about-task strong,
.tool-item span,
.cta-title,
.cta-sub,
.cta-tag,
.footer p,
.footer-col h4,
.footer-col ul li,
.footer-col ul li a,
.counter-item span,
.counter-item strong,
.theme-toggle {
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}

/* ═══════════════════════════════════════
   LIGHT THEME OVERRIDES
   Convierte secciones oscuras a claras
═══════════════════════════════════════ */
[data-theme="light"] body {
  background: var(--white);
  color: var(--dark);
}

/* Hero — light variant */
[data-theme="light"] .hero { background: #FAFAFA; }
[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}
[data-theme="light"] .hero-glow-left,
[data-theme="light"] .hero-glow-right {
  opacity: 0.5;
  filter: brightness(1.4);
}
[data-theme="light"] .hero-title { color: var(--dark); }
[data-theme="light"] .hero-sub { color: rgba(0,0,0,0.7); }
[data-theme="light"] .hero-bullets li { color: rgba(0,0,0,0.78); }
[data-theme="light"] .hero-bullets li::before { color: var(--blue); }
[data-theme="light"] .hero-badge {
  background: rgba(17, 85, 255, 0.08);
  border-color: rgba(17, 85, 255, 0.2);
  color: var(--blue);
}
[data-theme="light"] .hero-stats { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .hero-stats .stat-n { color: var(--dark); }
[data-theme="light"] .hero-stats .stat-l { color: rgba(0,0,0,0.6); }
[data-theme="light"] .hero-stats > div + div { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .scroll-mouse { border-color: rgba(0,0,0,0.2); }
[data-theme="light"] .scroll-wheel { background: rgba(0,0,0,0.5); }
[data-theme="light"] .scroll-text { color: rgba(0,0,0,0.4); }
[data-theme="light"] .btn-ghost {
  color: var(--dark);
  border-color: rgba(0,0,0,0.18);
}
[data-theme="light"] .btn-ghost:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Navbar in light */
[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
[data-theme="light"] .nav-links a { color: rgba(0,0,0,0.72); }
[data-theme="light"] .nav-links a:hover { color: var(--blue); background: rgba(93, 169, 255, 0.12); }
[data-theme="light"] .hamburger span { background: var(--dark); }
[data-theme="light"] .logo-light-bg { display: block; }
[data-theme="light"] .logo-dark-bg { display: none; }

/* Generic dark-sec → light */
[data-theme="light"] .dark-sec {
  background: var(--white);
  color: var(--dark);
}
[data-theme="light"] .resultados { background: #F8F8F8; }
[data-theme="light"] .tools { background: #F8F8F8; }
[data-theme="light"] .cta-final { background: #F8F8F8; }

/* Section headings with .light class flip to dark */
[data-theme="light"] .sec-head h2.light { color: var(--dark); }
[data-theme="light"] .sec-head p.light { color: var(--gray); }
[data-theme="light"] .tag-light {
  color: var(--blue);
  background: rgba(17, 85, 255, 0.08);
  border-color: rgba(17, 85, 255, 0.2);
}
[data-theme="light"] .grad-text {
  background: linear-gradient(135deg, #1155FF 0%, #0033BB 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* About / Nosotros */
[data-theme="light"] .about-story h3,
[data-theme="light"] .about-team h3,
[data-theme="light"] .about-task strong { color: var(--dark); }
[data-theme="light"] .about-story p { color: rgba(0,0,0,0.7); }
[data-theme="light"] .about-task {
  background: var(--white);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .about-task:hover { border-color: rgba(93, 169, 255, 0.45); background: rgba(93, 169, 255, 0.06); }
[data-theme="light"] .about-task p { color: rgba(0,0,0,0.65); }
[data-theme="light"] .about-task-icon {
  background: rgba(17,85,255,0.08);
  border-color: rgba(17,85,255,0.2);
}

/* Solucion / Steps */
[data-theme="light"] .step { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .step:hover { background: rgba(0,0,0,0.02); }
[data-theme="light"] .step h3 { color: var(--dark); }
[data-theme="light"] .step p { color: rgba(0,0,0,0.65); }
[data-theme="light"] .step-num { color: rgba(0,0,0,0.2); }

/* Resultados */
[data-theme="light"] .result-card {
  background: var(--white);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .result-card h3 { color: var(--dark); }
[data-theme="light"] .result-card p { color: rgba(0,0,0,0.65); }
[data-theme="light"] .counters { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .counter-item strong { color: var(--dark); }
[data-theme="light"] .counter-item span { color: rgba(0,0,0,0.6); }
[data-theme="light"] .counter-sep { background: rgba(0,0,0,0.1); }

/* Tools */
[data-theme="light"] .tool-item {
  background: var(--white);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .tool-item:hover { border-color: rgba(93, 169, 255, 0.45); background: rgba(93, 169, 255, 0.06); }
[data-theme="light"] .tool-item span { color: var(--dark); }

/* CTA */
[data-theme="light"] .cta-title { color: var(--dark); }
[data-theme="light"] .cta-sub { color: rgba(0,0,0,0.7); }
[data-theme="light"] .cta-tag {
  background: rgba(17,85,255,0.08);
  border-color: rgba(17,85,255,0.2);
  color: var(--blue);
}
[data-theme="light"] .cta-contacts span { color: rgba(0,0,0,0.6); }

/* Footer */
[data-theme="light"] .footer {
  background: #F4F4F4;
  color: var(--dark);
  border-top: 1px solid rgba(0,0,0,0.06);
}
[data-theme="light"] .footer-brand p { color: rgba(0,0,0,0.65); }
[data-theme="light"] .footer-col h4 { color: var(--dark); }
[data-theme="light"] .footer-col ul li,
[data-theme="light"] .footer-col ul li a { color: rgba(0,0,0,0.65); }
[data-theme="light"] .footer-col ul li:hover,
[data-theme="light"] .footer-col ul li a:hover { color: var(--blue); }
[data-theme="light"] .footer-col ul li svg { color: var(--dark); }
[data-theme="light"] .footer-bottom {
  border-color: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.55);
}
[data-theme="light"] .footer-credit { color: rgba(0,0,0,0.55); }
[data-theme="light"] .social-btn {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.1);
  color: var(--dark);
}
[data-theme="light"] .social-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Mobile menu in light */
[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.97);
}
[data-theme="light"] .mob-link { color: rgba(0,0,0,0.5); }
[data-theme="light"] .mob-link.active,
[data-theme="light"] .mob-link:hover { color: var(--blue); }

/* Strike text */
[data-theme="light"] .strike-wrap { color: var(--gray-2); }

/* Page transition flash on theme change */
@keyframes pageThemeFlash {
  0% { opacity: 0.08; }
  100% { opacity: 0; }
}
.theme-flash {
  position: fixed;
  inset: 0;
  background: var(--blue);
  pointer-events: none;
  z-index: 9997;
  opacity: 0;
  animation: pageThemeFlash 0.5s var(--ease-out);
}

/* Dark theme = página original sin overrides */
