/* ============================================================
   ISLA CHICA CONSULTORES — DESIGN SYSTEM
   Inspired by: Apple · Stripe · Linear · Vercel · Porsche
   ============================================================ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg-base:      #05050A;
  --bg-surface:   #0C0C14;
  --bg-elevated:  #111120;
  --bg-glass:     rgba(255,255,255,0.04);
  --bg-glass-hov: rgba(255,255,255,0.07);

  --border:       rgba(255,255,255,0.07);
  --border-hov:   rgba(255,255,255,0.14);
  --border-accent:rgba(99,102,241,0.4);

  --accent-1:     #4F46E5;
  --accent-2:     #7C3AED;
  --accent-grad:  linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #2563EB 100%);
  --gold:         #D4AF37;
  --gold-light:   #F0D060;

  --text-primary:  #F4F4F6;
  --text-secondary:#9B9BAE;
  --text-muted:    #52525F;

  --font-display:  'Playfair Display', serif;
  --font-sans:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  --space-unit:    8px;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;

  --shadow-card:   0 0 0 1px var(--border), 0 8px 40px rgba(0,0,0,0.6);
  --shadow-glow:   0 0 60px rgba(79,70,229,0.15);

  --transition:    all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.t-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.t-heading {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.t-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.t-mono {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gold-text { color: var(--gold); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px;
}
.section {
  padding: 120px 0;
  position: relative;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent-1);
}

/* ── GRID ────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(79,70,229,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover {
  border-color: var(--border-hov);
  background: var(--bg-glass-hov);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 0 30px rgba(79,70,229,0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 50px rgba(79,70,229,0.5);
}
.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hov);
  color: var(--text-primary);
  background: var(--bg-glass-hov);
}
.btn-arrow::after {
  content: '→';
  transition: transform 0.3s ease;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── DIVIDER ─────────────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

/* ── NOISE OVERLAY ───────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  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.025;
  pointer-events: none;
  z-index: 9999;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__logo-icon {
  height: 34px;
  overflow: hidden;
  flex-shrink: 0;
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav__logo-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  line-height: 1;
}
.nav__logo-tag {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  font-size: 13px;
  font-weight: 450;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  transition: var(--transition-fast);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-1);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta {
  font-size: 13px;
  padding: 9px 20px;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 200px;
}

/* Mesh gradient background */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg::before {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);
  background: radial-gradient(ellipse,
    rgba(79,70,229,0.12) 0%,
    rgba(124,58,237,0.06) 40%,
    transparent 70%);
  animation: pulse-slow 8s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  right: -100px;
  bottom: -100px;
  background: radial-gradient(ellipse,
    rgba(37,99,235,0.08) 0%,
    transparent 70%);
  animation: pulse-slow 10s ease-in-out infinite alternate-reverse;
}
@keyframes pulse-slow {
  from { transform: translate(-50%, -55%) scale(1); }
  to   { transform: translate(-50%, -55%) scale(1.15); }
}

/* Grid overlay */
.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: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Floating orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 12s ease-in-out infinite;
  pointer-events: none;
}
.hero__orb--1 {
  width: 300px; height: 300px;
  left: 10%; top: 20%;
  background: rgba(79,70,229,0.08);
  animation-duration: 14s;
}
.hero__orb--2 {
  width: 200px; height: 200px;
  right: 15%; top: 30%;
  background: rgba(212,175,55,0.06);
  animation-duration: 10s;
  animation-delay: -3s;
}
.hero__orb--3 {
  width: 400px; height: 400px;
  right: -5%; bottom: -10%;
  background: rgba(124,58,237,0.05);
  animation-duration: 18s;
  animation-delay: -7s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  33%       { transform: translateY(-30px) translateX(15px); }
  66%       { transform: translateY(15px) translateX(-10px); }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 40px;
  backdrop-filter: blur(12px);
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 8px var(--accent-1);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.hero__eyebrow-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 900px;
  margin-bottom: 32px;
}
.hero__headline em {
  font-style: italic;
  color: var(--text-secondary);
}

.hero__sub {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 116px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeInUp 1s ease 1.5s both;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--border-accent));
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(0.7); }
}
.hero__scroll-text {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Parallax layers */
.hero__parallax {
  position: absolute;
  inset: 0;
  z-index: 3; /* encima de hero__content (z-index: 2) */
  pointer-events: none;
}
.hero__float-tag {
  position: absolute;
  padding: 10px 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
}
.hero__float-tag.is-dragging {
  cursor: grabbing;
  z-index: 10;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  transition: box-shadow 0.2s ease;
}
.hero__float-tag strong {
  color: var(--text-primary);
  font-weight: 600;
}
.hero__float-tag--1 { right: 7%; top: 22%; }
.hero__float-tag--2 { right: 11%; top: 50%; }
.hero__float-tag--3 { right: 5%; top: 68%; }

/* Stats bar */
.hero__stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid var(--border);
  background: rgba(5,5,10,0.6);
  backdrop-filter: blur(20px);
  z-index: 2;
}
.hero__stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: stretch;
}
.hero__stat {
  flex: 1;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--border);
}
.hero__stat:last-child { border-right: none; }
.hero__stat:not(:first-child) { padding-left: 40px; }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}
.hero__stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════
   STATEMENT / MANIFESTO
   ═══════════════════════════════════════════════════════════ */
.manifesto {
  padding: 160px 0;
  position: relative;
}
.manifesto__quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-primary);
}
.manifesto__quote span { color: var(--text-muted); }
.manifesto__body {
  max-width: 720px;
  margin: 48px auto 0;
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: -0.01em;
}
.manifesto__pillars {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  margin-top: 100px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.manifesto__pillar {
  background: var(--bg-base);
  padding: 48px 40px;
  transition: var(--transition);
}
.manifesto__pillar:hover { background: var(--bg-surface); }
.manifesto__pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-1);
  margin-bottom: 20px;
}
.manifesto__pillar-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.manifesto__pillar-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.services {
  padding: 120px 0;
}
.services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.services__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 480px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.service-card {
  background: var(--bg-surface);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-grad);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.service-card:hover { background: var(--bg-elevated); }
.service-card:hover .service-card__icon { border-color: rgba(79,70,229,0.4); }
.service-card__icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--transition);
  background: var(--bg-glass);
}
.service-card__num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.service-card__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.3;
}
.service-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.service-card__arrow {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}
.service-card:hover .service-card__arrow {
  color: var(--accent-1);
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   POSITIONING / DIFERENCIACIÓN
   ═══════════════════════════════════════════════════════════ */
.positioning {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.positioning::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
}
.positioning__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.positioning__left h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.positioning__left p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}
.positioning__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.positioning__item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.positioning__item:last-child { border-bottom: none; }
.positioning__item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(79,70,229,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.positioning__item h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.positioning__item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}
.positioning__right {
  position: relative;
}
.positioning__card-stack {
  position: relative;
  height: 420px;
}
.pos-card {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.pos-card--1 {
  width: 320px;
  left: 0;
  top: 0;
  z-index: 3;
}
.pos-card--2 {
  width: 280px;
  right: 0;
  top: 60px;
  z-index: 2;
  opacity: 0.7;
}
.pos-card--3 {
  width: 260px;
  left: 40px;
  bottom: 0;
  z-index: 1;
  opacity: 0.4;
}
.pos-card:hover { opacity: 1 !important; transform: translateY(-4px); z-index: 4; }
.pos-card__tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 12px;
}
.pos-card__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.pos-card__desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.pos-card__metric {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pos-card__metric-val {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.pos-card__metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   METHODOLOGY
   ═══════════════════════════════════════════════════════════ */
.methodology {
  padding: 120px 0;
}
.methodology__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 600px;
  margin-bottom: 72px;
}
.methodology__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.methodology__line {
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.step__circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-1);
  margin-bottom: 24px;
  transition: var(--transition);
  position: relative;
}
.step:hover .step__circle {
  background: rgba(79,70,229,0.1);
  border-color: rgba(79,70,229,0.4);
  box-shadow: 0 0 30px rgba(79,70,229,0.2);
}
.step__circle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(79,70,229,0.2);
  animation: ring-pulse 3s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.05); }
}
.step__num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-1);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}
.step__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   CASES
   ═══════════════════════════════════════════════════════════ */
.cases {
  padding: 120px 0;
  background: var(--bg-surface);
}
.cases__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.cases__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.cases__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.case-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.case-card:hover {
  border-color: var(--border-hov);
  transform: translateY(-2px);
  box-shadow: 0 20px 80px rgba(0,0,0,0.4);
}
.case-card--featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(5,5,10,0.95) 100%),
    linear-gradient(135deg, rgba(79,70,229,0.15) 0%, rgba(124,58,237,0.08) 100%);
  border: 1px solid rgba(79,70,229,0.2);
}
.case-card__bg-shape {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.case-card__sector {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 16px;
}
.case-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.case-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}
.case-card__metrics {
  display: flex;
  gap: 32px;
}
.case-metric__val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.case-metric__val.positive { color: #4ADE80; }
.case-metric__label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.case-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.tag {
  padding: 4px 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════════ */
.team {
  padding: 120px 0;
}
.team__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 72px;
}
.team__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.team__sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  letter-spacing: -0.01em;
}
.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.member-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.member-card:hover {
  border-color: var(--border-hov);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--shadow-glow);
}
.member-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: white;
  margin-bottom: 28px;
  border: 3px solid rgba(79,70,229,0.3);
}
.member-card__role {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 8px;
}
.member-card__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.member-card__bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}
.member-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-tag {
  padding: 5px 12px;
  background: rgba(79,70,229,0.08);
  border: 1px solid rgba(79,70,229,0.2);
  border-radius: 100px;
  font-size: 11px;
  color: var(--accent-1);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   INSIGHTS
   ═══════════════════════════════════════════════════════════ */
.insights {
  padding: 120px 0;
  background: var(--bg-surface);
}
.insights__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
.insights__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.insights__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.insight-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.insight-card:hover {
  border-color: var(--border-hov);
  transform: translateY(-2px);
}
.insight-card__img {
  height: 200px;
  background: linear-gradient(135deg, rgba(79,70,229,0.2) 0%, rgba(124,58,237,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border-bottom: 1px solid var(--border);
}
.insight-card--featured .insight-card__img {
  height: 240px;
  font-size: 64px;
}
.insight-card__body { padding: 28px; }
.insight-card__category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 12px;
}
.insight-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.insight-card--featured .insight-card__title {
  font-size: 24px;
}
.insight-card__excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}
.insight-card__meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════ */
.cta {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%,
    rgba(79,70,229,0.08) 0%, transparent 70%);
}
.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px;
}
.cta__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 32px;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 28px;
}
.cta__sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}
.cta__form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.cta__input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: var(--transition);
  outline: none;
}
.cta__input::placeholder { color: var(--text-muted); }
.cta__input:focus {
  border-color: rgba(79,70,229,0.5);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.cta__note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}
.footer__brand {
  max-width: 300px;
}
.footer__tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer__links {
  display: flex;
  gap: 80px;
}
.footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--text-primary); }
.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy {
  font-size: 12px;
  color: var(--text-muted);
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer__legal a:hover { color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero__eyebrow { animation: fadeInUp 0.6s ease 0.2s both; }
.hero__headline { animation: fadeInUp 0.8s ease 0.4s both; }
.hero__sub      { animation: fadeInUp 0.8s ease 0.6s both; }
.hero__actions  { animation: fadeInUp 0.8s ease 0.8s both; }
.hero__float-tag--1 { animation: fadeIn 0.8s ease 1.2s both; }
.hero__float-tag--2 { animation: fadeIn 0.8s ease 1.4s both; }
.hero__float-tag--3 { animation: fadeIn 0.8s ease 1.6s both; }

/* ═══════════════════════════════════════════════════════════
   LOADING SCREEN — PATAGONIA SCENE
   ═══════════════════════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  background: #030710;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* Photo fills entire loader with Ken Burns */
.loader__photo {
  position: absolute;
  inset: 0;
  background: url('../assets/patagonia.jpg') center center / cover no-repeat;
  animation: ken-burns 8s ease-in-out forwards;
  transform-origin: center center;
}
@keyframes ken-burns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

/* Dark gradient overlay for text legibility */
.loader__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(4,6,14,0.35) 0%,
      rgba(4,6,14,0.55) 50%,
      rgba(4,6,14,0.75) 100%);
  animation: overlay-in 1s ease forwards;
}
@keyframes overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Brand overlay */
.loader__brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: brand-in 0.9s cubic-bezier(0.16,1,0.3,1) 1.1s both;
}
@keyframes brand-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.loader__bar {
  width: 180px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  border-radius: 1px;
}
.loader__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(79,70,229,0.9), rgba(0,200,136,0.8));
  animation: load-bar 2.2s ease forwards;
}
@keyframes load-bar {
  from { width: 0; }
  to   { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .insights__grid { grid-template-columns: 1fr 1fr; }
  .insights__grid .insight-card:last-child { display: none; }
  .hero__float-tag { display: none; }
  .positioning__grid { grid-template-columns: 1fr; gap: 48px; }
  .positioning__right { display: none; }
}
@media (max-width: 768px) {
  .container, .container--narrow { padding: 0 24px; }
  .section { padding: 80px 0; }
  .nav__links { display: none; }
  .nav__inner { padding: 0 24px; }
  .hero__content { padding: 0 24px; }
  .hero__stats-inner { padding: 0 24px; flex-wrap: wrap; }
  .hero__stat { flex: 0 0 50%; border-right: none; padding-left: 0 !important; border-bottom: 1px solid var(--border); }
  .services__grid { grid-template-columns: 1fr; }
  .services__header { flex-direction: column; gap: 24px; }
  .cases__grid { grid-template-columns: 1fr; }
  .case-card--featured { grid-row: span 1; min-height: 340px; }
  .team__grid { grid-template-columns: 1fr; }
  .insights__grid { grid-template-columns: 1fr; }
  .methodology__steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .methodology__line { display: none; }
  .manifesto__pillars { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; gap: 40px; }
  .footer__links { flex-wrap: wrap; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .cta__form { flex-direction: column; }
  .cta__form .btn-primary { justify-content: center; }
}

/* ── MISC UTILITIES ──────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted   { color: var(--text-muted); }
.mt-4  { margin-top: 32px; }
.mt-6  { margin-top: 48px; }
.mb-4  { margin-bottom: 32px; }

/* ═══════════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
   ═══════════════════════════════════════════════════════════ */
.nav__theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  flex-shrink: 0;
  color: inherit;
}
.nav__theme-toggle:hover {
  background: var(--bg-glass-hov);
  border-color: var(--border-hov);
  transform: rotate(20deg) scale(1.08);
}

/* ═══════════════════════════════════════════════════════════
   LIGHT MODE
   ═══════════════════════════════════════════════════════════ */
html[data-theme="light"] {
  --bg-base:       #F2F2F7;
  --bg-surface:    #FFFFFF;
  --bg-elevated:   #F8F8FC;
  --bg-glass:      rgba(0,0,0,0.05);
  --bg-glass-hov:  rgba(0,0,0,0.08);
  --border:        rgba(0,0,0,0.09);
  --border-hov:    rgba(0,0,0,0.18);
  --border-accent: rgba(99,102,241,0.35);
  --text-primary:  #1D1D1F;
  --text-secondary:#515158;
  --text-muted:    #8E8E93;
  --shadow-card:   0 0 0 1px var(--border), 0 8px 40px rgba(0,0,0,0.07);
  --shadow-glow:   0 0 60px rgba(79,70,229,0.1);
}

html[data-theme="light"] body { background: var(--bg-base); }

/* grid lines: invert para fondo claro */
html[data-theme="light"] .hero__grid {
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
}

/* orbs más suaves en light */
html[data-theme="light"] .hero__orb--1 { background: rgba(79,70,229,0.06); }
html[data-theme="light"] .hero__orb--2 { background: rgba(212,175,55,0.05); }
html[data-theme="light"] .hero__orb--3 { background: rgba(124,58,237,0.04); }

html[data-theme="light"] .hero__bg::before {
  background: radial-gradient(ellipse,
    rgba(79,70,229,0.08) 0%,
    rgba(124,58,237,0.04) 40%,
    transparent 70%);
}
html[data-theme="light"] .hero__bg::after {
  background: radial-gradient(ellipse,
    rgba(37,99,235,0.05) 0%,
    transparent 70%);
}

/* stats bar */
html[data-theme="light"] .hero__stats {
  background: rgba(242,242,247,0.92);
  border-top-color: var(--border);
}

/* loader — always dark/cinematic regardless of theme */
html[data-theme="light"] .loader { background: #030710; }

/* noise más sutil en light */
html[data-theme="light"] body::after { opacity: 0.015; }

/* nav blur en light */
html[data-theme="light"] .nav.scrolled {
  background: rgba(242,242,247,0.88);
}

/* featured case: mantiene oscuro intencionalmente */
html[data-theme="light"] .case-card--featured {
  background:
    linear-gradient(to bottom, rgba(10,10,20,0) 0%, rgba(10,10,20,0.85) 100%),
    linear-gradient(135deg, rgba(79,70,229,0.22) 0%, rgba(124,58,237,0.12) 100%);
  border-color: rgba(79,70,229,0.25);
}

/* divider en light */
html[data-theme="light"] .divider {
  background: linear-gradient(90deg,
    transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

/* positioning top line */
html[data-theme="light"] .positioning::before {
  background: linear-gradient(90deg,
    transparent, rgba(99,102,241,0.25), transparent);
}

/* scroll line del hero */
html[data-theme="light"] .hero__scroll-line {
  background: linear-gradient(to bottom, transparent, rgba(99,102,241,0.35));
}

/* ── LOGO IMAGE ───────────────────────────────────────────── */
/* Navbar */
.nav__logo-img {
  height: 34px !important;
  width: auto !important;
  display: block;
  clip-path: inset(0 0 18% 0); /* corta el texto "ISLA CHICA" del PNG */
  filter: invert(1) brightness(2);
  transition: opacity 0.2s ease;
}
.nav__logo:hover .nav__logo-img { opacity: 0.75; }

/* Loader (always dark) */
.loader__logo-img {
  height: 140px;
  width: auto;
  display: block;
  margin: 0 auto 24px;
  filter: invert(1) brightness(2);
}

/* Footer */
.footer__logo-img {
  height: 72px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: invert(1) brightness(2);
}

/* Light mode: logo negro sobre fondo claro, sin invertir */
html[data-theme="light"] .nav__logo-img,
html[data-theme="light"] .footer__logo-img {
  filter: none;
}

/* smooth theme transition */
html { transition: background-color 0.4s ease, color 0.4s ease; }
body, .nav, .hero__stats, .manifesto__pillar,
.service-card, .card, .member-card, .case-card,
.insight-card, .pos-card, .footer {
  transition: background 0.4s ease, background-color 0.4s ease,
              border-color 0.4s ease, color 0.4s ease;
}
