/* ==========================================================================
   NIA.cl — Estudio digital
   Hoja de estilos principal
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --radius: 0.75rem;

  --background: oklch(0.965 0.008 75);
  --foreground: oklch(0.14 0 0);
  --card: oklch(0.98 0.006 75);
  --card-foreground: oklch(0.14 0 0);

  --muted: oklch(0.92 0.015 40);
  --muted-foreground: oklch(0.45 0.01 20);

  --border: oklch(0.14 0 0 / 12%);
  --border-solid: oklch(0.86 0.01 60);

  --lime: oklch(79.15% 0.1113 15.676);   /* acento rosado cálido */
  --sky: oklch(82.346% 0.08912 25.066);   /* acento durazno claro */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   LOADER
   ========================================================================== */
body.loading { overflow: hidden; }
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader-logo {
  height: 56px;
  width: 56px;
  object-fit: contain;
  animation: loaderPulse 1.3s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.14) rotate(6deg); opacity: 0.6; }
}
.loader-word {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.loader-word .muted { color: var(--muted-foreground); }
.loader-bar {
  width: 160px;
  height: 2px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), var(--sky));
  transition: width 0.25s ease-out;
}

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 70;
  background: linear-gradient(90deg, var(--lime), var(--sky));
  transition: width 0.1s linear;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, li { list-style: none; }
sup { font-size: 0.55em; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--lime); color: var(--foreground); }

.wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .wrap { padding: 0 40px; }
}

/* Textura de grano sutil para secciones "hero" */
.grain { position: relative; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(64px);
}

/* ---------- Section label ---------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: oklch(63.792% 0.16404 18.906 / 0.993);
}
.section-label .idx { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; color:oklch(63.792% 0.16404 18.906 / 0.993) }
.section-label .line { height: 1px; flex: 1; background: var(--border); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in oklch, var(--background) 70%, transparent);
  border-bottom: 1px solid var(--border);
  transition: transform 0.35s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.nav-hidden { transform: translateY(-100%); }
.nav.nav-scrolled { box-shadow: 0 8px 24px rgb(0 0 0 / 0.06); }
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  height: 30px;
  width: 30px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name { font-size: 18px; }
.brand-name .muted { color: var(--muted-foreground); }

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links a:hover { opacity: 0.6; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  transition: transform 0.15s var(--ease), background 0.2s var(--ease), opacity 0.2s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Ripple al hacer click */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: color-mix(in oklch, currentColor 25%, transparent);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(2.6); opacity: 0; } }
.btn-primary {
  background: oklch(63.792% 0.16404 18.906 / 0.993);
  color: var(--background);
  padding: 10px 18px;
}
.btn-primary:hover { background: color-mix(in oklch, var(--foreground) 90%, var(--background)); }
.btn-primary .arrow { transition: transform 0.2s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(2px); }

.btn-outline {
  border: 1px solid var(--border);
  padding: 12px 24px;
}
.btn-outline:hover { background: color-mix(in oklch, oklch(63.792% 0.16404 18.906 / 0.993) 30%, transparent); }

.btn-lg { padding: 12px 24px; font-size: 14px; }
.btn-xl { padding: 16px 24px; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--foreground); }
@media (min-width: 768px) {
  .nav-toggle { display: none; }
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 10px 0; font-size: 15px; }
@media (min-width: 768px) {
  .nav-mobile { display: none !important; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; }
.hero .glow-1 { top: -160px; right: -160px; height: 520px; width: 520px; background: radial-gradient(circle, var(--lime), transparent 65%); opacity: 0.7; transition: transform 0.4s ease-out; will-change: transform; }
.hero .glow-2 { top: 160px; left: -160px; height: 520px; width: 520px; background: radial-gradient(circle, var(--sky), transparent 65%); opacity: 0.7; transition: transform 0.4s ease-out; will-change: transform; }

/* Entrada escalonada del hero, activada al terminar el loader */
.hero-top, .hero-title, .hero-sub, .hero-cta {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
body.hero-in .hero-top { opacity: 1; transform: none; transition-delay: 0.05s; }
body.hero-in .hero-title { opacity: 1; transform: none; transition-delay: 0.18s; }
body.hero-in .hero-sub { opacity: 1; transform: none; transition-delay: 0.34s; }
body.hero-in .hero-cta { opacity: 1; transform: none; transition-delay: 0.48s; }

.hero-inner { position: relative; padding: 40px 0 96px; }
@media (min-width: 768px) { .hero-inner { padding: 64px 0 96px; } }

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.hero-title {
  margin-top: 64px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.82;
  font-size: clamp(3.5rem, 14vw, 17rem);
  text-transform: uppercase;
}
@media (min-width: 768px) { .hero-title { margin-top: 96px; } }
.hero-title .with-mark { display: inline-flex; align-items: center; gap: 0.08em; }
.hero-mark {
  height: 0.62em;
  width: 0.62em;
  object-fit: contain;
  transform: translateY(0.03em);
}

.hero-sub {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}
@media (min-width: 768px) { .hero-sub { flex-direction: row; align-items: flex-end; } }
.hero-sub p {
  max-width: 28rem;
  font-size: 15px;
  color: var(--muted-foreground);
}
@media (min-width: 768px) { .hero-sub p { font-size: 16px; } }
.hero-sub .right { text-align: left; }
@media (min-width: 768px) { .hero-sub .right { text-align: right; } }
.hero-sub .eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
.hero-sub h2 {
  margin-top: 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 28px;
  text-transform: uppercase;
}
@media (min-width: 768px) { .hero-sub h2 { font-size: 40px; } }

.hero-cta {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.hero-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.dot-live {
  height: 8px; width: 8px; border-radius: 50%;
  background: oklch(71.65% 0.17805 18.611);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ==========================================================================
   MARQUEE / TICKER
   ========================================================================== */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--foreground);
  color: var(--background);
  padding: 24px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  gap: 56px;
  width: max-content;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  animation: marquee 32s linear infinite;
}
@media (min-width: 768px) { .ticker-track { font-size: 30px; } }
.ticker-track span.item { display: flex; align-items: center; gap: 56px; }
.ticker-track .bullet { height: 8px; width: 8px; border-radius: 50%; background: color-mix(in oklch, var(--background) 70%, transparent); }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Gallery marquee */
.gallery {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 40px 0;
  background: var(--background);
}
.gallery-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.gallery-card {
  position: relative;
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
}
@media (min-width: 768px) { .gallery-card { width: 360px; } }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: color-mix(in oklch, var(--background) 80%, transparent);
  backdrop-filter: blur(6px);
  padding: 4px 8px;
  border-radius: 999px;
}

/* ==========================================================================
   Generic section spacing
   ========================================================================== */
.section { padding: 96px 0; }
.section-border { border-top: 1px solid var(--border); }
.section-head-row {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}
@media (min-width: 768px) { .section-head-row { flex-direction: row; align-items: flex-end; } }
.h-huge {
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 0.9;
  font-size: clamp(2.75rem, 8vw, 6rem);
}
.section-head-row p { max-width: 28rem; color: var(--muted-foreground); }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-top { margin-top: 64px; display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .stats-top { grid-template-columns: repeat(12, 1fr); } }
.stats-num { grid-column: span 12; }
@media (min-width: 768px) { .stats-num { grid-column: span 5; } }
.stats-num .big { font-size: clamp(6rem, 12vw, 14rem); line-height: 1; font-weight: 900; letter-spacing: -0.05em; }
.stats-num .of10 { font-size: 18px; color: var(--muted-foreground); margin-top: -8px; }
.stats-copy { grid-column: span 12; display: flex; flex-direction: column; justify-content: flex-end; }
@media (min-width: 768px) { .stats-copy { grid-column: span 7; } }
.stats-copy p { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; max-width: 36rem; }
@media (min-width: 768px) { .stats-copy p { font-size: 24px; } }

.stats-grid {
  margin-top: 80px;
  display: grid;
  color: oklch(66.142% 0.14522 17.621);
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stats-cell {
  padding: 40px 8px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .stats-cell { border-bottom: none; border-right: 1px solid var(--border); }
  .stats-cell:last-child { border-right: none; }
}
.stats-cell .n { font-size: 56px; font-weight: 900; letter-spacing: -0.02em; }
@media (min-width: 768px) { .stats-cell .n { font-size: 68px; } }
.stats-cell .l { margin-top: 16px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }

/* ==========================================================================
   PROBLEMS / GRID CARDS
   ========================================================================== */
.card-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 768px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card-cell { background: var(--background); padding: 32px; transition: transform 0.35s var(--ease), background 0.35s var(--ease); }
.card-cell:hover { transform: translateY(-6px); background: color-mix(in oklch, var(--foreground) 3%, var(--background)); }
@media (min-width: 768px) { .card-cell { padding: 40px; } }
.card-cell .n { font-size: 12px; font-family: ui-monospace, monospace; color: oklch(66.142% 0.14522 17.621); }
.card-cell h3 { margin-top: 24px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
@media (min-width: 768px) { .card-cell h3 { font-size: 24px; } }
.card-cell p { margin-top: 16px; font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }

/* ==========================================================================
   SERVICES (dark)
   ========================================================================== */
.services { background: var(--foreground); color: var(--background); }
.services .section-label { color: color-mix(in oklch, var(--background) 60%, transparent); }
.services .section-label .line { background: color-mix(in oklch, var(--background) 20%, transparent); }
.services .section-head-row p { color: color-mix(in oklch, var(--background) 70%, transparent); }

.services-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: color-mix(in oklch, var(--background) 10%, transparent);
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-cell {
  background: var(--foreground);
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.service-cell:hover {
  transform: translateY(-6px);
  background: color-mix(in oklch, var(--background) 6%, var(--foreground));
}
.service-cell .n { font-size: 12px; font-family: ui-monospace, monospace; color:oklch(66.142% 0.14522 17.621); }
.service-cell h3 { margin-top: 16px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.service-cell > p { margin-top: 12px; font-size: 14px; color: color-mix(in oklch, var(--background) 60%, transparent); }
.service-cell ul { margin-top: auto; padding-top: 24px; border-top: 1px solid color-mix(in oklch, var(--background) 10%, transparent); display: flex; flex-direction: column; gap: 8px; }
.service-cell li { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.service-cell li .b { height: 4px; width: 4px; border-radius: 50%; background: color-mix(in oklch, var(--background) 50%, transparent); flex-shrink: 0; }

/* ==========================================================================
   EDITORIAL
   ========================================================================== */
.editorial-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .editorial-grid { gap: 24px; } }
.ed-item { border-radius: 24px; overflow: hidden; position: relative; }
.ed-item img { width: 100%; height: 100%; object-fit: cover; }
.ed-a { grid-column: span 12; aspect-ratio: 4/3; }
@media (min-width: 768px) { .ed-a { grid-column: span 7; } }
.ed-b { grid-column: span 6; aspect-ratio: 3/4; }
@media (min-width: 768px) { .ed-b { grid-column: span 5; } }
.ed-c, .ed-d { grid-column: span 6; aspect-ratio: 1/1; }
@media (min-width: 768px) { .ed-c, .ed-d { grid-column: span 4; } }
.ed-caption {
  position: absolute; bottom: 24px; left: 24px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em;
  background: color-mix(in oklch, var(--background) 85%, transparent);
  backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px;
}
.ed-phil {
  grid-column: span 12; aspect-ratio: 1/1;
  border-radius: 24px;
  background: var(--foreground); color: var(--background);
  padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}
@media (min-width: 768px) { .ed-phil { grid-column: span 4; } }
.ed-phil .eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in oklch, var(--background) 60%, transparent); }
.ed-phil p { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.05; text-transform: uppercase; }
.ed-phil .accent { color: var(--lime); }
.ed-phil .sig { font-size: 12px; color: color-mix(in oklch, var(--background) 60%, transparent); }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-grid { margin-top: 64px; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.2s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.plan:hover { border-color: color-mix(in oklch, var(--foreground) 30%, transparent); box-shadow: 0 20px 40px -20px rgb(0 0 0 / 0.25); }
.plan.featured { background: var(--foreground); color: var(--background); border-color: var(--foreground); }
.plan-badge {
  position: absolute; top: 24px; right: 24px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 10px; border-radius: 999px;
  background: var(--lime); color: #111;
}
.plan .icon { font-size: 30px; }
.plan h3 { margin-top: 24px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.plan .desc { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); }
.plan.featured .desc { color: color-mix(in oklch, var(--background) 70%, transparent); }
.plan .price-wrap { margin-top: 32px; }
.plan .price-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.plan.featured .price-label { color: color-mix(in oklch, var(--background) 60%, transparent); }
.plan .price-row { display: flex; align-items: baseline; gap: 8px; }
.plan .price { font-size: 42px; font-weight: 900; letter-spacing: -0.02em; }
.plan .cur { font-size: 14px; color: var(--muted-foreground); }
.plan.featured .cur { color: color-mix(in oklch, var(--background) 60%, transparent); }
.plan-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--border); padding-top: 24px; }
.plan.featured .plan-list { border-color: color-mix(in oklch, var(--background) 20%, transparent); }
.plan-list li { font-size: 14px; display: flex; align-items: flex-start; gap: 8px; }
.plan-list .b { margin-top: 6px; height: 6px; width: 6px; border-radius: 50%; background: currentColor; opacity: 0.6; flex-shrink: 0; }
.plan .btn { margin-top: 32px; width: 100%; justify-content: center; background: var(--foreground); color: var(--background); }
.plan.featured .btn { background: var(--background); color: var(--foreground); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
.process-cell { background: var(--background); padding: 32px; }
.process-cell .step { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: oklch(63.792% 0.16404 18.906 / 0.993); }
.process-cell h3 { margin-top: 24px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.process-cell p { margin-top: 12px; font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.portfolio-list { margin-top: 64px; border-top: 1px solid var(--border); }
.portfolio-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 8px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s var(--ease);
}
@media (min-width: 768px) { .portfolio-row { flex-direction: row; align-items: center; gap: 40px; } }
.portfolio-row:hover { background: color-mix(in oklch, var(--foreground) 3%, transparent); }
.portfolio-row .idx { font-family: ui-monospace, monospace; font-size: 14px; color: var(--muted-foreground); width: 48px; }
.portfolio-row h3 {
  font-size: 30px; font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; flex: 1;
  transition: transform 0.3s var(--ease);
}
@media (min-width: 768px) { .portfolio-row h3 { font-size: 56px; } }
.portfolio-row:hover h3 { transform: translateX(8px); }
.portfolio-row .tag { font-size: 14px; color: var(--muted-foreground); max-width: 20rem; }
.portfolio-row .cta { font-size: 14px; font-weight: 500; background-color: oklch(76.227% 0.13813 16.955); }
.portfolio-row.muted h3 { color: var(--muted-foreground); }
.portfolio-row.muted:hover h3 { color: var(--foreground); }
.portfolio-thumb {
  display: none;
  position: absolute; right: 38%; top: 50%;
  transform: translateY(-50%) scale(0.95) rotate(-4deg);
  height: 160px; width: 128px;
  object-fit: cover; border-radius: 12px;
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), top 0.15s linear;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}
@media (min-width: 768px) { .portfolio-thumb { display: block; } }
.portfolio-row:hover .portfolio-thumb { opacity: 1; transform: translateY(-50%) scale(1) rotate(2deg); }

/* ==========================================================================
   WHY
   ========================================================================== */
.why { position: relative; }
.why .glow { bottom: 0; right: 0; height: 400px; width: 400px; background: radial-gradient(circle, var(--lime), transparent 65%); opacity: 0.6; }
.why-head { display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }
@media (min-width: 768px) { .why-head { flex-direction: row; align-items: flex-end; } }
.founder-chip {
  display: flex; align-items: center; gap: 16px;
  border-radius: 999px; border: 1px solid var(--border-solid);
  padding: 12px 20px;
  background: color-mix(in oklch, var(--background) 50%, transparent);
  backdrop-filter: blur(6px);
}
.founder-chip .avatar {
  height: 40px; width: 40px; border-radius: 50%;
  background: oklch(72.719% 0.13241 16.765); color: var(--background);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.founder-chip .name { font-size: 14px; font-weight: 600; }
.founder-chip .avatar { overflow: hidden; height: 48px; width: 48px; flex-shrink: 0; }
.founder-chip .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* nota bajo los planes y link de ejemplo en vivo */
.pricing-note { margin-top: 32px; font-size: 14px; color: var(--muted-foreground); max-width: 44rem; }
.plan-example { display: inline-block; margin: 20px 0 4px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.plan-example:hover { opacity: 0.7; }
.founder-chip .role { font-size: 12px; color: var(--muted-foreground); }

.why-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(5, 1fr); } }
.why-card {
  border-radius: 16px; border: 1px solid var(--border);
  padding: 24px;
  background: color-mix(in oklch, var(--background) 70%, transparent);
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.why-card:hover { box-shadow: 0 16px 32px -18px rgb(0 0 0 / 0.2); }
.why-card .n { font-size: 12px; font-family: ui-monospace, monospace; color: oklch(79.15% 0.1113 15.676); }
.why-card h3 { margin-top: 24px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.why-card p { margin-top: 12px; font-size: 14px; color: var(--muted-foreground); line-height: 1.6; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 1024px) { .faq-section { grid-template-columns: repeat(12, 1fr); } }
.faq-side { grid-column: span 12; }
@media (min-width: 1024px) { .faq-side { grid-column: span 4; } }
.faq-side h2 { margin-top: 40px; font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; letter-spacing: -0.03em; text-transform: uppercase; line-height: 0.9; }
.faq-side p { margin-top: 24px; color: var(--muted-foreground); max-width: 22rem; }
.faq-side .btn { margin-top: 32px; }
.faq-main { grid-column: span 12; }
@media (min-width: 1024px) { .faq-main { grid-column: span 8; } }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  text-align: left;
}
.faq-q span.txt { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
@media (min-width: 768px) { .faq-q span.txt { font-size: 22px; } }
.faq-q .plus { font-size: 22px; transition: transform 0.2s var(--ease); }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq-a p { padding-bottom: 24px; padding-right: 48px; color: var(--muted-foreground); line-height: 1.7; max-width: 42rem; }
.faq-item.open .faq-a { max-height: 240px; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  border-top: 1px solid var(--border);
  background: var(--foreground);
  color: var(--background);
  overflow: hidden;
}
.cta .glow-1 { top: -160px; right: -80px; height: 500px; width: 500px; background: radial-gradient(circle, var(--lime), transparent 65%); opacity: 0.4; }
.cta .glow-2 { bottom: -160px; left: -80px; height: 500px; width: 500px; background: radial-gradient(circle, var(--sky), transparent 65%); opacity: 0.3; }
.cta-inner { position: relative; padding: 128px 0; }
.cta .eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in oklch, var(--background) 60%, transparent); }
.cta h2 {
  margin-top: 32px;
  font-size: clamp(3rem, 10vw, 9rem);
  font-weight: 900; letter-spacing: -0.05em; text-transform: uppercase; line-height: 0.85;
}
.cta h2 .accent { color: var(--lime); }
.cta-actions { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cta .btn-primary { background: var(--background); color: var(--foreground); }
.cta .btn-outline { border-color: color-mix(in oklch, var(--background) 20%, transparent); }
.cta .btn-outline:hover { background: color-mix(in oklch, var(--background) 10%, transparent); }
.cta-note { margin-left: auto; font-size: 14px; color: color-mix(in oklch, var(--background) 60%, transparent); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--background); border-top: 1px solid var(--border); }
.footer-inner { padding: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); } }
.footer-brand { grid-column: span 12; }
@media (min-width: 768px) { .footer-brand { grid-column: span 6; } }
.footer-wordmark {
  display: flex; align-items: center; gap: 20px;
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 900; letter-spacing: -0.05em; text-transform: uppercase; line-height: 1;
}
.footer-wordmark img { height: 0.7em; width: 0.7em; object-fit: contain; }
.footer-brand p { margin-top: 16px; color: var(--muted-foreground); max-width: 24rem; }
.footer-col { grid-column: span 6; }
@media (min-width: 768px) { .footer-col { grid-column: span 2; } }
.footer-col .h { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.footer-col ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-col li.muted { color: var(--muted-foreground); }
.footer-col a:hover { opacity: 0.6; }
.footer-bottom {
  margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted-foreground);
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  height: 56px; width: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.25);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { height: 28px; width: 28px; }

/* ==========================================================================
   Utility / reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .gallery-track, .dot-live, .loader-logo { animation: none !important; }
  .reveal,
  .hero-top, .hero-title, .hero-sub, .hero-cta {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .plan, .why-card, .glow, .btn, .portfolio-thumb { transition: none !important; }
}
