/*
Theme Name: NTVO â€“ Grupo Nativo Latam
Theme URI: https://ntvo.mx
Author: NTVO
Description: Tema oficial NTVO v2 â€“ mobile-first, bloques configurables.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: ntvo
*/

/* â”€â”€ TOKENS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Dark-first: ink/paper/verde/warm
   Body & most sections intentionally light off-white
   Hero + Services + Footer stay dark (ink bg)
â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€*/
:root {
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --verde: #00A651;
  --warm: #F5F4F0;
  --mid: #6B6B6B;
  --border: #E5E3DB;
  --fd: 'Space Grotesk', sans-serif;
  --fb: 'Inter', sans-serif;
  color-scheme: dark;
}

/* single-theme: dark world that uses light panels */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: var(--warm);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* â”€â”€ CURSOR â”€â”€ */
.cur-dot { position: fixed; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: transform .15s; }
.cur-ring { position: fixed; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--verde); pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: width .35s, height .35s, opacity .25s; opacity: .45; }
.cur-ring.big { width: 72px; height: 72px; opacity: .22; }
@media (pointer: coarse) { .cur-dot, .cur-ring { display: none; } body { cursor: auto; } }

/* â”€â”€ NAV â”€â”€ */
nav.ntvo-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(10,10,10,0);
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.ntvo-nav.scrolled { background: rgba(10,10,10,.95); backdrop-filter: blur(14px); border-color: rgba(255,255,255,.06); }
.nav-logo { font-family: var(--fd); font-size: .95rem; font-weight: 700; letter-spacing: .16em; color: var(--paper); display: flex; align-items: center; line-height: 1; }
.nav-logo b { color: var(--verde); }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { font-family: var(--fd); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.38); position: relative; padding-bottom: 2px; transition: color .2s; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--verde); transition: width .3s cubic-bezier(.16,1,.3,1); }
.nav-links a:hover { color: var(--paper); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { font-family: var(--fd) !important; font-size: .72rem !important; font-weight: 700 !important; letter-spacing: .07em !important; background: var(--verde) !important; color: var(--ink) !important; padding: .5rem 1.2rem !important; border-radius: 2px !important; transition: background .2s !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #00cc62 !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: none; padding: .25rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--paper); transition: all .3s; }

/* â”€â”€ HERO â”€â”€ */
.hero {
  min-height: 100svh;
  background: #020e03;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 7rem 2.5rem 5rem;
  position: relative; overflow: hidden;
}

/* â”€â”€ LAVA LAMP BACKGROUND â”€â”€ */
.lava {
  position: absolute; inset: 0;
  filter: blur(55px);
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.lb { position: absolute; border-radius: 50%; }
.lb1 {
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(0,210,70,1) 0%, rgba(0,160,45,.75) 40%, rgba(0,80,20,.3) 65%, transparent 80%);
  top: -25%; right: -15%;
  animation: lb1 11s ease-in-out infinite alternate;
}
.lb2 {
  width: 65vw; height: 65vw;
  background: radial-gradient(circle, rgba(0,185,55,.95) 0%, rgba(0,130,35,.65) 45%, rgba(0,60,15,.2) 68%, transparent 82%);
  bottom: -25%; left: -10%;
  animation: lb2 14s ease-in-out infinite alternate;
}
.lb3 {
  width: 48vw; height: 48vw;
  background: radial-gradient(circle, rgba(0,240,90,.9) 0%, rgba(0,190,60,.55) 45%, transparent 72%);
  top: 25%; left: 15%;
  animation: lb3 9s ease-in-out infinite alternate;
}
.lb4 {
  width: 35vw; height: 35vw;
  background: radial-gradient(circle, rgba(0,200,75,.85) 0%, rgba(0,140,45,.45) 50%, transparent 72%);
  top: 5%; left: 40%;
  animation: lb4 16s ease-in-out infinite alternate;
}
.lb5 {
  width: 28vw; height: 28vw;
  background: radial-gradient(circle, rgba(0,255,100,.8) 0%, rgba(0,180,55,.4) 50%, transparent 72%);
  bottom: 12%; right: 22%;
  animation: lb5 7s ease-in-out infinite alternate;
}
@keyframes lb1 {
  0%   { transform: translate(0%,0%)   scale(1)    rotate(0deg); }
  33%  { transform: translate(-8%,10%) scale(1.14) rotate(18deg); }
  66%  { transform: translate(6%,-5%)  scale(.90)  rotate(-10deg); }
  100% { transform: translate(-4%,6%)  scale(1.1)  rotate(25deg); }
}
@keyframes lb2 {
  0%   { transform: translate(0%,0%)    scale(1)    rotate(0deg); }
  40%  { transform: translate(10%,-12%) scale(1.2)  rotate(-14deg); }
  75%  { transform: translate(-7%,8%)   scale(.86)  rotate(10deg); }
  100% { transform: translate(5%,-4%)   scale(1.12) rotate(-20deg); }
}
@keyframes lb3 {
  0%   { transform: translate(0%,0%)    scale(1); }
  50%  { transform: translate(18%,-15%) scale(1.3); }
  100% { transform: translate(-10%,13%) scale(.76); }
}
@keyframes lb4 {
  0%   { transform: translate(0%,0%)    scale(1); }
  35%  { transform: translate(-22%,18%) scale(1.45); }
  70%  { transform: translate(12%,-10%) scale(.68); }
  100% { transform: translate(-6%,14%)  scale(1.2); }
}
@keyframes lb5 {
  0%   { transform: translate(0%,0%)     scale(1); }
  50%  { transform: translate(-15%,-18%) scale(1.5); }
  100% { transform: translate(18%,10%)   scale(.65); }
}

.hero-hl { font-family: var(--fd); font-size: clamp(3.2rem,9.5vw,11rem); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; color: var(--paper); margin-bottom: 3rem; max-width: 18ch; overflow: visible; position: relative; z-index: 2; }
.hero-hl em { font-style: normal; color: var(--verde); }
.ww { overflow: hidden; display: inline-block; padding-bottom: .08em; margin-bottom: -.08em; }
.ww span, .ww em { display: inline-block; animation: wr .75s cubic-bezier(.16,1,.3,1) both; }
@keyframes wr { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fu { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; animation: fu .7s 1.5s ease both; position: relative; z-index: 2; }
.hero-sub { font-size: 1.175rem; color: rgba(255,255,255,.52); max-width: 30rem; line-height: 1.65; }
.hero-sub strong { color: rgba(255,255,255,.82); font-weight: 500; }
.hero-acts { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.btn-p { font-family: var(--fd); font-size: .875rem; font-weight: 700; letter-spacing: .04em; background: var(--verde); color: var(--ink); padding: .875rem 2rem; border-radius: 2px; display: inline-flex; align-items: center; gap: .4rem; transition: background .2s, transform .15s; cursor: none; }
.btn-p:hover { background: #00cc62; transform: translateY(-2px); }
.btn-g { font-family: var(--fd); font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.3); border: 1px solid rgba(255,255,255,.16); padding: .8rem 1.5rem; border-radius: 2px; transition: color .2s, border-color .2s; cursor: none; }
.btn-g:hover { color: var(--paper); border-color: rgba(255,255,255,.4); }
.hero-scroll-ind { position: absolute; right: 2rem; bottom: 3rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; z-index: 5; }
.hero-scroll-ind span { font-family: var(--fd); font-size: .5rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.15); writing-mode: vertical-lr; }
.scroll-bar { width: 1px; height: 60px; background: linear-gradient(to bottom, transparent, var(--verde)); animation: sb 2.2s ease-in-out infinite; }
@keyframes sb { 0%,100%{opacity:.2;transform:scaleY(.7);}50%{opacity:1;transform:scaleY(1);} }

/* â”€â”€ PORTFOLIO â”€â”€ */
.portfolio { background: var(--warm); padding: 5rem 2.5rem; }
.port-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.port-tag { font-family: var(--fd); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--verde); margin-bottom: .75rem; }
.port-h2 { font-family: var(--fd); font-size: clamp(2rem,4vw,4rem); font-weight: 700; line-height: .96; letter-spacing: -.04em; }
.port-head-link { font-family: var(--fd); font-size: .78rem; font-weight: 600; color: var(--mid); display: inline-flex; align-items: center; gap: .4rem; transition: color .2s; cursor: none; }
.port-head-link:hover { color: var(--verde); }
.filter-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn { font-family: var(--fd); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 100px; border: 1.5px solid var(--border); background: transparent; color: var(--mid); cursor: none; transition: all .2s; }
.filter-btn:hover { border-color: var(--verde); color: var(--verde); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* Desktop grid */
.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.port-card { position: relative; border-radius: 4px; overflow: hidden; cursor: none; transition: transform .4s cubic-bezier(.16,1,.3,1); aspect-ratio: 4/3; }
.port-card.wide { grid-column: span 2; aspect-ratio: 16/9; }
.port-card.hidden { display: none; }
.port-card:hover { transform: translateY(-4px); }
/* Mobile slider */
.port-slider-wrap { display: none; position: relative; }
.port-slider { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: .5rem; }
.port-slider::-webkit-scrollbar { display: none; }
.port-slider .port-card { flex: 0 0 82vw; scroll-snap-align: start; aspect-ratio: 4/3; border-radius: 6px; }
.port-slider .port-card.wide { flex: 0 0 82vw; aspect-ratio: 4/3; grid-column: unset; }
.port-slider .port-card.hidden { display: flex; }
.port-dots { display: flex; gap: .4rem; justify-content: center; margin-top: 1rem; }
.port-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border); transition: background .25s, transform .25s; }
.port-dot.active { background: var(--ink); transform: scale(1.4); }
.pc-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.port-card:hover .pc-bg { transform: scale(1.05); }
.pc-overlay { position: absolute; inset: 0; background: linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,.08) 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem; }
.pc-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .65rem; }
.pc-tag { font-family: var(--fd); font-size: .54rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); padding: .22rem .55rem; border-radius: 100px; }
.pc-tag.green { background: rgba(0,166,81,.25); color: var(--verde); }
.pc-client { font-family: var(--fd); font-size: clamp(1rem,2.5vw,1.5rem); font-weight: 700; color: var(--paper); letter-spacing: -.02em; line-height: 1.1; }
.pc-project { font-size: .78rem; color: rgba(255,255,255,.38); margin-top: .3rem; }
.pc-metric { margin-top: .75rem; display: flex; align-items: center; gap: .5rem; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.port-card:hover .pc-metric { opacity: 1; transform: none; }
.pc-metric-v { font-family: var(--fd); font-size: 1.1rem; font-weight: 700; color: var(--verde); }
.pc-metric-l { font-size: .72rem; color: rgba(255,255,255,.4); }
.pc-arr { position: absolute; top: 1.25rem; right: 1.25rem; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); transition: all .25px; }
.pc-arr svg { width: 13px; height: 13px; stroke: currentColor; transition: transform .25s; }
.port-card:hover .pc-arr { background: var(--verde); border-color: var(--verde); color: var(--ink); }
.port-card:hover .pc-arr svg { transform: rotate(45deg); }
.bg-sc { background-color: #002B7F; }
.bg-save { background-color: #0D2F40; }
.bg-nayt { background-color: #111; }
.bg-skin { background-color: #7B5E45; }
.bg-pesa { background-color: #1A3A10; }
.bg-gr { background-color: #003399; }

/* â”€â”€ EMAIL PANEL â”€â”€ */
.email-panel { background: var(--warm); padding: 5rem 2.5rem; border-top: 1px solid var(--border); }
.ep-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.ep-tag { font-family: var(--fd); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--verde); margin-bottom: .75rem; }
.ep-h2 { font-family: var(--fd); font-size: clamp(1.75rem,3.5vw,3.5rem); font-weight: 700; line-height: .96; letter-spacing: -.03em; margin-bottom: 1rem; }
.ep-h2 span { color: var(--verde); }
.ep-p { font-size: .9375rem; color: var(--mid); line-height: 1.75; margin-bottom: 1.5rem; }
.gr-badge-row { display: flex; align-items: center; gap: .75rem; }
.gr-badge { display: inline-flex; align-items: center; gap: .5rem; border: 1.5px solid var(--verde); color: var(--verde); font-family: var(--fd); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 100px; }
.ep-dashboard { background: var(--paper); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.ep-dash-header { background: var(--ink); padding: 1rem 1.25rem; display: flex; align-items: center; gap: .5rem; }
.ep-dash-dots { display: flex; gap: .35rem; }
.ep-dash-dot { width: 8px; height: 8px; border-radius: 50%; }
.ep-dash-title { font-family: var(--fd); font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: rgba(255,255,255,.3); }
.ep-dash-body { padding: 1.5rem; }
.ep-stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); margin-bottom: 1.25rem; }
.ep-stat { background: var(--paper); padding: 1rem; }
.ep-stat-v { font-family: var(--fd); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.ep-stat-v.green { color: var(--verde); }
.ep-stat-l { font-size: .68rem; color: var(--mid); margin-top: .25rem; }
.ep-bar-label { font-family: var(--fd); font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mid); margin-bottom: .5rem; }
.ep-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin-bottom: .25rem; }
.ep-bar-fill { height: 100%; border-radius: 3px; background: var(--verde); width: 0; transition: width 1.5s cubic-bezier(.16,1,.3,1); }
.ep-bar-meta { display: flex; justify-content: space-between; font-size: .62rem; color: var(--mid); }

/* â”€â”€ SERVICES â”€â”€ */
.services { background: var(--ink); padding: 5rem 0; }
.svc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.svc-head { margin-bottom: 3rem; }
.svc-eyebrow { font-family: var(--fd); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--verde); margin: 0 0 .75rem; }
.svc-title { font-family: var(--fd); font-size: clamp(2rem,4vw,3.5rem); font-weight: 700; line-height: .96; letter-spacing: -.03em; color: var(--paper); margin: 0; }
/* List */
.svc-list { border-top: 1px solid rgba(255,255,255,.1); }
.svc-row { display: grid; grid-template-columns: 3rem 1fr auto 2.5rem; align-items: center; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.svc-num { font-family: var(--fd); font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: rgba(255,255,255,.22); }
.svc-name { font-family: var(--fd); font-size: clamp(1rem,1.6vw,1.25rem); font-weight: 700; letter-spacing: -.02em; color: var(--paper); line-height: 1.2; }
.svc-chips { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.svc-chips span { font-family: var(--fd); font-size: .52rem; font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: .3em .75em; white-space: nowrap; }
.svc-ico { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.svc-ico svg { width: 11px; height: 11px; stroke: rgba(255,255,255,.22); transition: stroke .2s, transform .2s; }
.svc-row:hover .svc-ico { background: var(--verde); border-color: var(--verde); }
.svc-row:hover .svc-ico svg { stroke: var(--ink); transform: rotate(45deg); }

/* â”€â”€ PROCESS â€“ auto-scroll â”€â”€ */
.process { background: var(--warm); padding: 5rem 2.5rem; overflow: hidden; }
.proc-head { margin-bottom: 3rem; }
.proc-tag { font-family: var(--fd); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--verde); margin-bottom: .75rem; }
.proc-h2 { font-family: var(--fd); font-size: clamp(1.75rem,3.5vw,3.5rem); font-weight: 700; line-height: .96; letter-spacing: -.03em; }
.proc-outer { overflow: hidden; position: relative; margin: 0 -2.5rem; }
.proc-outer::before, .proc-outer::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.proc-outer::before { left: 0; background: linear-gradient(to right, var(--warm), transparent); }
.proc-outer::after { right: 0; background: linear-gradient(to left, var(--warm), transparent); }
.proc-track { display: flex; gap: 1px; background: var(--border); animation: procScroll 28s linear infinite; width: max-content; }
.proc-track:hover { animation-play-state: paused; }
@keyframes procScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.proc-step { background: var(--warm); padding: 2rem; min-width: 260px; max-width: 260px; flex-shrink: 0; transition: background .25s; }
.proc-step:hover { background: var(--paper); }
.ps-n { font-family: var(--fd); font-size: 3rem; font-weight: 700; color: rgba(0,0,0,.06); line-height: 1; margin-bottom: 1rem; letter-spacing: -.04em; }
.ps-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); margin-bottom: .75rem; }
.ps-title { font-family: var(--fd); font-size: .95rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .5rem; color: var(--ink); }
.ps-desc { font-size: .75rem; color: var(--mid); line-height: 1.55; max-width: 22ch; }

/* â”€â”€ ABOUT â”€â”€ */
.about { background: var(--paper); padding: 5rem 2.5rem; }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; max-width: 1100px; margin: 0 auto; }
.about-tag { font-family: var(--fd); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--verde); margin-bottom: .75rem; }
.about-h2 { font-family: var(--fd); font-size: clamp(1.75rem,3.5vw,3.5rem); font-weight: 700; line-height: .96; letter-spacing: -.03em; margin-bottom: 1.5rem; }
.about-h2 em { font-style: normal; color: var(--verde); }
.about-p { font-size: .9375rem; color: var(--mid); line-height: 1.75; margin-bottom: 1rem; }
.about-values { display: flex; flex-direction: column; gap: 1rem; }
.val-item { display: flex; gap: 1rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: 4px; transition: border-color .25s; cursor: default; }
.val-item:hover { border-color: var(--verde); }
.val-n { font-family: var(--fd); font-size: 1.5rem; font-weight: 700; color: rgba(0,0,0,.06); line-height: 1; flex-shrink: 0; width: 2rem; }
.val-h { font-family: var(--fd); font-size: .875rem; font-weight: 700; margin-bottom: .3rem; }
.val-p { font-size: .78rem; color: var(--mid); line-height: 1.6; }

/* â”€â”€ CTA â”€â”€ */
.cta { background: var(--verde); padding: 5rem 2.5rem; position: relative; overflow: hidden; }
.cta-wm { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.cta-wm span { font-family: var(--fd); font-weight: 700; font-size: 28vw; color: rgba(0,0,0,.05); white-space: nowrap; user-select: none; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; max-width: 1100px; margin: 0 auto; }
.cta-h2 { font-family: var(--fd); font-size: clamp(2rem,5vw,5rem); font-weight: 700; line-height: .9; letter-spacing: -.04em; color: var(--ink); margin-bottom: 1.25rem; }
.cta-p { font-size: .9375rem; color: rgba(0,0,0,.45); line-height: 1.7; margin-bottom: 1.75rem; }
.cta-contacts { display: flex; flex-direction: column; gap: .65rem; }
.cta-link { font-family: var(--fd); font-size: .875rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: .5rem; opacity: .7; transition: opacity .2s; }
.cta-link:hover { opacity: 1; }
.form-placeholder { background: rgba(255,255,255,.5); border: 1px dashed rgba(0,0,0,.2); border-radius: 4px; padding: 2rem; font-size: .85rem; color: rgba(0,0,0,.5); line-height: 1.7; }

/* â”€â”€ CF7 FORM STYLES â”€â”€ */
.cta .wpcf7 { width: 100%; }
.cta .wpcf7 label { display: block; font-family: var(--fd); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(0,0,0,.55); margin-bottom: .35rem; }
.cta .wpcf7 input[type="text"],
.cta .wpcf7 input[type="email"],
.cta .wpcf7 textarea {
  width: 100%;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 4px;
  padding: .75rem 1rem;
  font-family: var(--fb);
  font-size: .9375rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s;
  margin-bottom: 1rem;
}
.cta .wpcf7 input[type="text"]::placeholder,
.cta .wpcf7 input[type="email"]::placeholder,
.cta .wpcf7 textarea::placeholder { color: rgba(0,0,0,.35); }
.cta .wpcf7 input[type="text"]:focus,
.cta .wpcf7 input[type="email"]:focus,
.cta .wpcf7 textarea:focus { border-color: var(--ink); background: rgba(0,0,0,.18); }
.cta .wpcf7 textarea { min-height: 130px; resize: vertical; }
.cta .wpcf7 input[type="submit"] {
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 4px;
  padding: .85rem 2rem;
  font-family: var(--fd);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  width: 100%;
  margin-top: .25rem;
}
.cta .wpcf7 input[type="submit"]:hover { opacity: .85; transform: translateY(-1px); }
.cta .wpcf7 .wpcf7-spinner { display: none; }
.cta .wpcf7 .wpcf7-response-output {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border-radius: 4px;
  font-size: .85rem;
  border: 1px solid rgba(0,0,0,.2);
  color: var(--ink);
  background: rgba(255,255,255,.3);
}
.form-placeholder strong { color: rgba(0,0,0,.7); }

/* â”€â”€ BLOG â”€â”€ */
.blog { background: var(--paper); padding: 5rem 2.5rem; border-top: 1px solid var(--border); }
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.blog-tag { font-family: var(--fd); font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--verde); margin-bottom: .75rem; }
.blog-h2 { font-family: var(--fd); font-size: clamp(2rem,4vw,4rem); font-weight: 700; line-height: .96; letter-spacing: -.04em; }
.blog-link { font-family: var(--fd); font-size: .78rem; font-weight: 600; color: var(--mid); display: inline-flex; align-items: center; gap: .4rem; transition: color .2s; cursor: none; white-space: nowrap; }
.blog-link:hover { color: var(--verde); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.blog-card { display: flex; flex-direction: column; border-bottom: 2px solid var(--border); padding-bottom: 2rem; transition: border-color .25s; cursor: none; }
.blog-card:hover { border-color: var(--verde); }
.blog-card-img { aspect-ratio: 16/9; background: var(--warm); border-radius: 4px; overflow: hidden; margin-bottom: 1.25rem; position: relative; }
.blog-card-img-inner { width: 100%; height: 100%; background: var(--warm); display: flex; align-items: center; justify-content: center; }
.blog-cat { font-family: var(--fd); font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--verde); margin-bottom: .6rem; }
.blog-title { font-family: var(--fd); font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); margin-bottom: .75rem; text-wrap: balance; }
.blog-excerpt { font-size: .8rem; color: var(--mid); line-height: 1.7; flex: 1; margin-bottom: 1rem; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; }
.blog-date { font-family: var(--fd); font-size: .6rem; color: var(--mid); letter-spacing: .1em; }
.blog-read { font-family: var(--fd); font-size: .7rem; font-weight: 700; color: var(--verde); display: inline-flex; align-items: center; gap: .3rem; letter-spacing: .06em; }
/* Blog mobile slider */
.blog-slider-wrap { display: none; margin: 0 -1.25rem; padding: 0 1.25rem; overflow: hidden; }
.blog-slider { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: .5rem; }
.blog-slider::-webkit-scrollbar { display: none; }
.blog-slider .blog-card { flex: 0 0 82vw; scroll-snap-align: start; }
.blog-dots { display: flex; gap: .4rem; justify-content: center; margin-top: 1.25rem; }
.blog-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border); transition: background .25s, transform .25s; }
.blog-dot.active { background: var(--ink); transform: scale(1.4); }
@media (max-width: 900px) {
  .blog { padding: 3.5rem 1.25rem; }
  .blog-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .blog-grid { display: none; }
  .blog-slider-wrap { display: block; }
}

/* â”€â”€ FOOTER â”€â”€ */
footer.ntvo-footer { background: var(--ink); padding: 2.5rem 2.5rem 1.75rem; }
.footer-top { display: flex; align-items: flex-start; justify-content: flex-start; gap: 4rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-logo-txt { font-family: var(--fd); font-size: 1rem; font-weight: 700; letter-spacing: .16em; color: var(--paper); margin-bottom: .5rem; }
.footer-logo-txt b { color: var(--verde); }
.footer-tagline { font-size: .75rem; color: rgba(255,255,255,.25); line-height: 1.65; max-width: 18rem; }
.footer-cols { display: flex; gap: 4rem; }
.footer-col-h { font-family: var(--fd); font-size: .58rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { font-size: .75rem; color: rgba(255,255,255,.25); transition: color .2s; cursor: none; }
.footer-col a:hover { color: var(--verde); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 1.75rem; gap: 2rem; }
.footer-copy { font-size: .65rem; color: rgba(255,255,255,.15); }
.footer-soc { display: flex; gap: 1.25rem; }
.footer-soc a { font-size: .65rem; color: rgba(255,255,255,.2); letter-spacing: .06em; transition: color .2s; cursor: none; }
.footer-soc a:hover { color: var(--verde); }

/* â”€â”€ REVEALS â”€â”€ */
.r { opacity: 0; transition: opacity .65s ease, transform .65s cubic-bezier(.16,1,.3,1); }
.r.up { transform: translateY(26px); }
.r.left { transform: translateX(-26px); }
.r.right { transform: translateX(26px); }
.r.in { opacity: 1; transform: none !important; }

/* â”€â”€ NOTE BANNER â”€â”€ */
.preview-note { position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); background: rgba(10,10,10,.9); color: rgba(255,255,255,.7); font-family: var(--fd); font-size: .68rem; letter-spacing: .08em; padding: .6rem 1.25rem; border-radius: 100px; border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(12px); z-index: 9000; white-space: nowrap; pointer-events: none; }
.preview-note b { color: var(--verde); }

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 900px) {
  nav.ntvo-nav { padding: .9rem 1.25rem; }
  nav.ntvo-nav .nav-links { display: none; position: fixed; inset: 0; background: rgba(10,10,10,.97); flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem; z-index: 490; }
  nav.ntvo-nav .nav-links.open { display: flex; }
  nav.ntvo-nav .nav-links a { font-size: 1.25rem; color: rgba(255,255,255,.6); }
  .nav-toggle { display: flex; z-index: 510; position: relative; cursor: pointer; }
  /* Hero mobile fix */
  .hero { padding: 5rem 1.25rem 3rem; justify-content: flex-end; gap: 1.25rem; }
  .hero-hl { font-size: clamp(2.8rem,13vw,5rem); margin-bottom: 1rem; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-sub { font-size: 1rem; max-width: 100%; }
  .hero-acts { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: .75rem; }
  .btn-p, .btn-g { font-size: .8rem; padding: .75rem 1.4rem; }
  .hero-scroll-ind { display: none; }
  /* Portfolio: swap grid â†’ slider */
  .portfolio { padding: 3.5rem 1.25rem; }
  .port-grid { display: none; }
  .port-slider-wrap { display: block; margin: 0 -1.25rem; padding: 0 1.25rem 0.5rem; }
  .port-slider { overflow-x: auto; }
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: 0 -1.25rem 1.5rem; padding: 0 1.25rem 0; }
  .filter-bar::-webkit-scrollbar { display: none; }
  /* Services mobile */
  .services { padding: 3.5rem 0; }
  .svc-wrap { padding: 0 1.25rem; }
  .svc-row { grid-template-columns: 2.2rem 1fr 2rem; grid-template-rows: auto auto; gap: .5rem 1rem; }
  .svc-chips { grid-column: 2 / 3; grid-row: 2; justify-content: flex-start; }
  .svc-ico { grid-column: 3; grid-row: 1; }
  /* rest */
  .ep-inner, .about-inner, .cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .email-panel, .process, .about, .cta { padding: 3.5rem 1.25rem; }
  .proc-outer { margin: 0 -1.25rem; }
  .footer-top { flex-direction: column; }
  .footer-cols { flex-wrap: wrap; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CASE STUDY â€“ single-ntvo_project
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cs-page { background: var(--paper); color: var(--ink); min-height: 100vh; }

/* Hero */
.cs-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink) center/cover no-repeat;
  padding: 0;
}
.cs-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.1) 100%);
}
.cs-hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 3rem 2.5rem 4rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.cs-back {
  display: inline-block;
  font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.6); text-decoration: none;
  padding: .4rem 0; transition: color .2s;
  margin-bottom: .5rem;
}
.cs-back:hover { color: #fff; }
.cs-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.cs-tag {
  font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.25); border-radius: 2px;
  padding: .25rem .6rem;
}
.cs-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 700; line-height: 1.05;
  color: #fff; margin: 0;
}
.cs-sub {
  font-size: 1rem; font-weight: 500; color: var(--verde);
  margin: 0; letter-spacing: .02em;
}
.cs-intro {
  font-size: 1rem; color: rgba(255,255,255,.7); max-width: 54ch;
  line-height: 1.65; margin: 0;
}

/* Meta bar */
.cs-meta-bar { background: var(--warm); border-bottom: 1px solid var(--border); }
.cs-meta-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 1.25rem 2.5rem;
  display: flex; flex-wrap: wrap; gap: 2rem;
}
.cs-meta-item { display: flex; flex-direction: column; gap: .2rem; }
.cs-meta-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mid); }
.cs-meta-val { font-size: .9rem; font-weight: 600; color: var(--ink); }

/* Stats */
.cs-stats {
  display: flex; flex-wrap: wrap;
  background: var(--ink); color: #fff;
}
.cs-stat-item {
  flex: 1 1 200px;
  padding: 2.5rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.cs-stat-item:last-child { border-right: none; }
.cs-stat-v {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700;
  color: var(--verde); line-height: 1;
}
.cs-stat-l { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: .5rem; max-width: 20ch; line-height: 1.4; }

/* Body */
.cs-body { max-width: 1200px; margin: 0 auto; padding: 5rem 2.5rem; }

/* Three columns */
.cs-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border);
}
.cs-col-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem; font-weight: 700; color: var(--border);
  line-height: 1; margin-bottom: 1rem;
}
.cs-col-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem; font-weight: 700; margin: 0 0 1rem;
}
.cs-col-p { font-size: .9rem; color: var(--mid); line-height: 1.75; margin: 0; }

/* Gallery (Gutenberg output) */
.cs-gallery-wrap { margin-top: 1rem; }
.cs-gallery-wrap .wp-block-image img,
.cs-gallery-wrap .wp-block-gallery img { border-radius: 4px; }
.cs-gallery-wrap .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 1rem !important;
}
.cs-gallery-wrap figure { margin: 0 0 1.5rem; }
.cs-gallery-wrap .wp-block-image { margin: 0 0 1.5rem; }
.cs-gallery-wrap .wp-block-image img { width: 100%; height: auto; display: block; }

/* CTA strip */
.cs-cta-strip {
  background: var(--warm);
  border-top: 1px solid var(--border);
  padding: 4rem 2.5rem;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 1.5rem;
}
.cs-cta-q {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  margin: 0; margin-right: 1rem;
}

/* Mobile */
@media (max-width: 900px) {
  .cs-hero { min-height: 70vh; }
  .cs-hero-inner { padding: 2rem 1.25rem 3rem; }
  .cs-title { font-size: clamp(2.2rem, 11vw, 3.5rem); }
  .cs-meta-inner { padding: 1rem 1.25rem; gap: 1.25rem; }
  .cs-stat-item { padding: 1.75rem 1.25rem; }
  .cs-body { padding: 3rem 1.25rem; }
  .cs-cols { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; padding-bottom: 3rem; }
  .cs-cta-strip { padding: 3rem 1.25rem; flex-direction: column; text-align: center; }
  .cs-cta-q { margin-right: 0; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PORTFOLIO LIGHTBOX MODAL
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.modal-wrap {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; transition: opacity .3s ease;
}
.modal-wrap.open { opacity: 1; }
.modal-wrap[hidden] { display: none !important; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(4px);
}

.modal-box {
  position: relative; z-index: 1;
  background: var(--ink);
  border-radius: 8px;
  width: 100%; max-width: 860px;
  max-height: 92vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(.97);
  transition: transform .3s ease;
}
.modal-wrap.open .modal-box { transform: none; }

.modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: rgba(255,255,255,.1);
  border: none; color: #fff;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  font-size: .95rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,.25); }

.modal-header {
  padding: 1.4rem 1.6rem .8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem; font-weight: 700; color: #fff;
}
.modal-sub {
  font-size: .78rem; color: var(--verde); margin-top: .2rem;
}

.modal-gallery {
  flex: 1; overflow-y: auto;
  padding: 1.2rem 1.6rem .8rem;
  display: flex; flex-direction: column; gap: 1rem;
}

.modal-img-wrap img {
  width: 100%; height: auto; display: block;
  border-radius: 4px;
  max-height: 54vh; object-fit: contain;
  background: rgba(255,255,255,.04);
}

.modal-strip {
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.modal-thumb {
  width: 64px; height: 48px; border-radius: 3px;
  background-size: cover; background-position: center;
  cursor: pointer; opacity: .5; transition: opacity .2s;
  border: 2px solid transparent;
  flex-shrink: 0;
}
.modal-thumb:hover { opacity: .8; }
.modal-thumb.active { opacity: 1; border-color: var(--verde); }

.modal-no-img {
  color: rgba(255,255,255,.4); font-size: .85rem;
  text-align: center; padding: 2rem 0;
}

.modal-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; padding: .9rem 1.6rem;
  border-top: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.modal-nav button {
  background: rgba(255,255,255,.1); border: none; color: #fff;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  font-size: 1rem; cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.modal-nav button:hover { background: rgba(255,255,255,.22); }
.modal-nav button[hidden] { display: none; }
.modal-counter { font-size: .75rem; color: rgba(255,255,255,.45); min-width: 3rem; text-align: center; }

/* Cursor pointer en tarjetas */
.port-card[data-gallery] { cursor: pointer; }

@media (max-width: 600px) {
  .modal-box { max-height: 96vh; border-radius: 12px 12px 0 0; align-self: flex-end; }
  .modal-img-wrap img { max-height: 45vh; }
}

/* Logo personalizado */
.nav-logo-img {
  height: 24px !important;
  width: auto !important;
  max-width: 120px !important;
  display: block;
  mix-blend-mode: screen;
}
.ntvo-nav.scrolled .nav-logo-img {
  filter: none;
}
.footer-logo-img {
  height: 28px !important;
  width: auto !important;
  max-width: 140px !important;
  display: block;
  mix-blend-mode: screen;
  margin-bottom: .5rem;
}