
/* =================================================================
   InventarioApp — Landing preview v2
   Tipografías: Playfair Display (titulares) + Instrument Sans (body)
   ================================================================= */

:root{
  --cream:        #F5EEE1;
  --cream-deep:   #EDE3CF;
  --paper:        #FBF7EE;
  --ink:          #1E2A23;
  --ink-soft:     #3E4A42;
  --ink-mute:     #6A7067;
  --mate:         #6B7B3F;
  --mate-deep:    #4D5A2B;
  --mate-soft:    #C9D4A3;
  --terracotta:   #C2502F;
  --terra-deep:   #9B3E21;
  --terra-soft:   #F0C4B0;
  --sun:          #E9C46A;
  --sun-soft:     #F7E3A6;
  --gold:         #B89455;
  --gold-deep:    #876A35;
  --line:         #D9CFB8;
  --line-soft:    #E8DFC9;

  --f-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --f-body:    "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --f-hand:    "Caveat", "Bradley Hand", cursive;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;

  --shadow-paper: 0 1px 0 rgba(30,42,35,.04), 0 12px 40px -20px rgba(30,42,35,.25);
  --shadow-card:  0 2px 0 rgba(30,42,35,.04), 0 20px 50px -28px rgba(30,42,35,.35);
}

*,*::before,*::after{ box-sizing:border-box; }

html{
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

html,body{
  margin:0; padding:0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before{
  content:"";
  position: fixed; inset:0;
  pointer-events:none;
  z-index: 1000;
  opacity:.3;
  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='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .12  0 0 0 0 .16  0 0 0 0 .14  0 0 0 .08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

/* ---------- typography ---------- */
.display{
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
}
.serif-italic{ font-family: var(--f-display); font-style: italic; font-weight: 500; }
.hand{ font-family: var(--f-hand); font-weight: 500; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mate-deep);
}
.eyebrow::before{
  content:""; width: 28px; height:1px; background: var(--mate-deep); opacity:.7;
}

/* ---------- layout ---------- */
.wrap{ max-width: 1240px; margin: 0 auto; padding: 0 28px; }
section{ position: relative; }

/* ===============================================================
   NAV
   =============================================================== */
.nav{
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}
.logo{
  display:inline-flex; align-items:center; gap:10px;
  font-family: "Outfit", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo__mark{
  width: 38px; height: 38px; flex: 0 0 38px;
  background: url('/images/logo-inventarioapp.webp') center/contain no-repeat;
}
.logo__word{ letter-spacing: -0.01em; }
.logo__word b{ color: var(--terracotta); font-weight: 700; font-style: normal; }

.nav__links{
  display:flex; gap: 30px;
  font-size: 14.5px;
  color: var(--ink-soft);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 500;
}
.nav__links a{ position:relative; padding: 6px 0; }
.nav__links a:hover{ color: var(--ink); }
.nav__links a:hover::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background: var(--terracotta); border-radius:2px;
}
.nav__cta{ display:flex; gap: 10px; align-items:center; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  will-change: transform;
  font-family: var(--f-body);
}
.btn:hover{ transform: translateY(-1px); }
.btn--primary{
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(0,0,0,.2), 0 10px 24px -12px rgba(30,42,35,.6);
}
.btn--primary:hover{ background: var(--mate-deep); }
.btn--ghost{
  background: transparent; color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover{ background: var(--ink); color: var(--paper); }
.btn--whats{
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn--whats:hover{ border-color: var(--ink); }
.btn--sun{
  background: var(--sun); color: var(--ink); border-color: var(--sun);
}
.btn--sun:hover{ background: #f2cf73; border-color: #f2cf73; }
.btn--sm{ padding: 10px 16px; font-size: 13.5px; }

.btn .arrow{ display:inline-block; transition: transform .2s ease; }
.btn:hover .arrow{ transform: translateX(3px); }

/* ===============================================================
   HERO
   =============================================================== */
.hero{
  padding: 72px 0 48px;
  overflow: hidden;
}
.hero__grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  align-items: stretch;
}
.hero__headline{
  font-size: clamp(44px, 6.2vw, 92px);
  color: var(--ink);
  margin: 22px 0 26px;
  max-width: 14ch;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero__headline .tranq{
  font-style: italic;
  font-weight: 500;
  color: var(--mate-deep);
  position: relative;
  white-space: nowrap;
}
.hero__headline .tranq::after{
  content:"";
  position: absolute; left: 0; right: 0; bottom: -0.05em;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'><path d='M2 8 C 60 2, 120 12, 180 6 S 298 4, 298 8' stroke='%23C2502F' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>") no-repeat center/100% 100%;
}
.hero__sub{
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 0 0 34px;
}
.hero__sub b{ color: var(--ink); font-weight: 600; }
.hero__ctas{ display:flex; flex-wrap: wrap; gap: 12px; align-items:center; }
.hero__meta{
  display:flex; gap: 22px; margin-top: 26px;
  font-size: 13.5px; color: var(--ink-mute);
  flex-wrap: wrap;
}
.hero__meta span{ display:inline-flex; align-items:center; gap: 8px; }
.hero__meta .tick{
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--mate-soft);
  display:inline-flex; align-items:center; justify-content:center;
  color: var(--mate-deep); font-size: 11px; font-weight: 800;
}

/* hero photo */
.hero__photo{
  position: relative;
  aspect-ratio: auto;
  min-height: 640px;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: visible;
}
.hero__photo .frame{
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  background: linear-gradient(140deg, #D7A577 0%, #7A4A2C 100%);
  will-change: transform;
}
.hero__photo .frame img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02);
}

/* Rotated stamp/badge */
.stamp{
  position: absolute;
  right: 16px; top: 16px;
  width: 128px; height: 128px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  text-align: center;
  transform: rotate(-6deg);
  box-shadow: 0 10px 30px -12px rgba(194,80,47,.6);
  z-index: 4;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 12px;
  line-height: 1.1;
  padding: 10px;
}
.stamp::before{
  content:""; position: absolute; inset: 6px;
  border: 1px dashed rgba(255,255,255,.55); border-radius: 50%;
}
.stamp__top, .stamp__bot{
  font-family: var(--f-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: .02em;
}
.stamp__ar{
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-display);
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stamp__ar .flag{
  width: 20px; height: 14px; border-radius: 2px;
  background: linear-gradient(to bottom, #74ACDF 0 33%, #FFFFFF 33% 66%, #74ACDF 66% 100%);
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  flex-shrink: 0;
}
.stamp__ar .flag::after{
  content:"";
  position: absolute;
  left: 50%; top: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #F6B40E;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0.5px #9B6B1A;
}

/* floating mini card */
.float-card{
  position: absolute;
  left: 20px; bottom: 100px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-paper);
  z-index: 3;
  min-width: 180px;
}
.float-card .row{ display:flex; align-items:center; gap: 10px; }
.float-card .dot-g{
  width: 10px; height:10px; border-radius: 50%;
  background: var(--mate); box-shadow: 0 0 0 3px var(--mate-soft);
}
.float-card .label{ font-size: 12px; color: var(--ink-mute); letter-spacing:.04em; text-transform: uppercase; }
.float-card .val{
  font-family: var(--f-display);
  font-size: 24px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-top: 2px;
}
.float-card .delta{
  font-size: 12px; color: var(--mate-deep); font-weight: 600;
}

.hero__photo .caption{
  position: absolute; left: 50%; bottom: 20px;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--f-hand);
  font-size: 20px;
  color: var(--ink);
  box-shadow: var(--shadow-paper);
  z-index: 3;
  white-space: nowrap;
}

/* ---------- trust bar ---------- */
.trust{
  padding: 28px 0 12px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-top: 40px;
}
.trust__inner{
  display:flex; align-items:center; justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust__label{
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); max-width: 260px;
  font-weight: 600;
}
.trust__list{
  display:flex; gap: 30px; flex-wrap: wrap;
  font-family: var(--f-display);
  font-size: 22px; letter-spacing: -0.01em; color: var(--ink-soft);
  font-style: italic;
  font-weight: 500;
}
.trust__list span{ display:inline-flex; align-items:center; gap: 10px; }
.trust__list span::before{
  content:""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta);
}

/* ===============================================================
   SECTION NUMBER HEADERS
   =============================================================== */
.sec-head{
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 90px 0 36px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 48px;
}
.sec-head__num{
  font-family: var(--f-display);
  font-size: 64px;
  font-weight: 400;
  font-style: italic;
  color: var(--terracotta);
  line-height: 1;
}
.sec-head__title{
  font-family: var(--f-display);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  max-width: 22ch;
}
.sec-head__title em{
  font-style: italic;
  color: var(--mate-deep);
  font-weight: 500;
}
.sec-head__meta{
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  max-width: 200px;
  font-weight: 600;
}

/* ===============================================================
   HISTORIA
   =============================================================== */
.historia{ padding-bottom: 40px; }
.historia__grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.historia__photo{
  aspect-ratio: 3/4;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform: rotate(1.2deg);
  position: relative;
  background: linear-gradient(180deg, #8B9A5F, #39431F);
  will-change: transform;
}
.historia__photo img{
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.95);
}
.historia__photo .cap{
  position: absolute; bottom: 18px; left: 18px;
  background: var(--paper);
  font-family: var(--f-hand);
  font-size: 20px;
  padding: 8px 14px; border-radius: 8px;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-paper);
  z-index: 2;
}
.historia__body p{
  font-size: 19px; line-height: 1.55; color: var(--ink-soft);
  margin: 0 0 22px;
}
.historia__body p.lead{
  font-family: var(--f-display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 26px;
  font-weight: 500;
}
.historia__body p.lead em{ font-style: italic; color: var(--mate-deep); }
.historia__quote{
  margin-top: 38px;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--r-md);
  font-family: var(--f-display);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.historia__quote::before{
  content:"“";
  position: absolute; left: 18px; top: -18px;
  font-family: var(--f-display); font-size: 80px; color: var(--terracotta);
  line-height: 1;
}
.historia__quote small{
  display:block; margin-top: 14px;
  font-family: var(--f-body);
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.signatures{
  margin-top: 26px;
  display:flex; gap: 24px; align-items:center;
  font-family: var(--f-hand);
  font-size: 26px;
  color: var(--ink);
}
.signatures span{ opacity: .85; }
.signatures small{
  display:block;
  font-family: var(--f-body); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
}

/* ===============================================================
   CARGA FÁCIL
   =============================================================== */
.carga{ padding-bottom: 60px; }
.carga__intro{
  max-width: 620px;
  margin: 0 0 48px 128px;
  color: var(--ink-soft);
  font-size: 18px;
}
.carga__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.carga__card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-paper);
  display: flex; flex-direction: column;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.carga__card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card); }

.carga__card .num{
  font-family: var(--f-body); font-size: 11px;
  color: var(--ink-mute); letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700;
}
.carga__card h3{
  font-family: var(--f-display);
  font-size: 32px; font-weight: 500; line-height: 1.05;
  margin: 10px 0 14px;
  letter-spacing: -0.015em;
}
.carga__card h3 em{ color: var(--terracotta); font-style: italic; }
.carga__card p{ color: var(--ink-soft); margin: 0 0 20px; }

.carga__card .visual{
  margin-top: auto;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  min-height: 320px;
  display: grid; place-items: center;
}

/* card 1 — masiva */
.card--masiva{ background: linear-gradient(180deg, var(--paper) 0%, #FAF0DC 100%); }
.card--masiva .visual{
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(30,42,35,.05) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(30,42,35,.05) 24px 25px),
    #FFF8EA;
  border: 1px solid var(--line);
  padding: 0;
  align-items: start;
  min-height: 380px;
  max-height: 380px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 90%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 90%, transparent 100%);
}
.excel{
  width: 100%;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--ink);
  padding: 16px 20px;
  animation: excelScroll 18s linear infinite;
  will-change: transform;
}
@keyframes excelScroll{
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.card--masiva .visual:hover .excel{ animation-play-state: paused; }
.excel .row{
  display:grid; grid-template-columns: 24px 1.2fr .8fr .7fr; gap: 8px;
  padding: 6px 8px; border-radius: 4px;
  align-items:center;
}
.excel .row.head{ background: var(--mate-soft); color: var(--mate-deep); font-weight: 700; letter-spacing:.05em; }
.excel .row.row-0{ background: #fff; }
.excel .row.row-1{ background: #FFFBF2; }
.excel .row.hl{ background: var(--sun-soft); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{ background: var(--sun-soft);} 50%{ background:#FFE8A3;} }
.excel .cell-ok{ color: var(--mate-deep); font-weight:700; }
.excel .cell-n{ color: var(--ink-mute); }
.card--masiva .pill{
  position: absolute; right: 14px; top: 14px;
  background: var(--ink); color: var(--paper);
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  padding: 6px 10px; border-radius: 999px;
}
.card--masiva .pill .spin{
  display:inline-block; width: 8px; height:8px; border-radius: 50%;
  background: var(--mate-soft); margin-right: 6px;
  animation: blink 1s infinite;
}
@keyframes blink{ 50%{ background: var(--sun); } }

/* card 2 — mobile */
.card--mobile{ background: linear-gradient(180deg, var(--paper) 0%, #F0E4D0 100%); }
.card--mobile .visual{
  padding: 0;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  min-height: 320px;
}
.mobile-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.92);
  z-index: 0;
}
.card--mobile .visual::after{
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.phone{
  position: absolute;
  right: 22px; bottom: -10px;
  width: 148px; height: 272px;
  background: #1E2A23;
  border-radius: 24px 24px 6px 6px;
  padding: 7px;
  box-shadow: 0 22px 44px -14px rgba(0,0,0,.7), inset 0 0 0 2px #0E140F;
  z-index: 2;
}
.phone .screen{
  width: 100%; height: 100%;
  background: var(--paper);
  border-radius: 18px 18px 2px 2px;
  overflow: hidden;
  display:flex; flex-direction: column;
  position: relative;
}
.phone .top{
  display:flex; justify-content: space-between; align-items:center;
  padding: 6px 10px; font-size: 9px; color: var(--ink);
  background: var(--cream-deep);
  z-index: 3;
}
.phone .cam{
  flex: 1;
  background: #0A0A0A;
  position: relative;
  overflow: hidden;
}
.phone .cam img{
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.phone .cam::before{
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.15) 100%);
  pointer-events: none;
  z-index: 2;
}
.cam-corners{
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
}
.cam-corners i{
  position: absolute;
  width: 12px; height: 12px;
  border: 2px solid #fff;
  box-shadow: 0 0 8px rgba(0,0,0,.4);
}
.cam-corners i:nth-child(1){ top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.cam-corners i:nth-child(2){ top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.cam-corners i:nth-child(3){ bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.cam-corners i:nth-child(4){ bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.cam-focus{
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border: 1.5px solid rgba(255,255,255,.9);
  border-radius: 4px;
  z-index: 3;
  animation: camFocus 2.2s ease-in-out infinite;
}
@keyframes camFocus{
  0%, 100%{ width: 48px; height: 48px; opacity: .95; }
  50%{ width: 56px; height: 56px; opacity: .6; }
}
.phone .foot{
  display:flex; justify-content:center; padding: 8px;
  background: var(--cream-deep);
}
.phone .shutter{
  width: 28px; height:28px; border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--terracotta);
}
.flash{
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.8) 0%, transparent 60%);
  animation: flash 3s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
  z-index: 4;
}
@keyframes flash{ 0%,85%,100%{opacity:0;} 90%{opacity:.85;} }
.mobile-steps{
  position: absolute; left: 18px; bottom: 22px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px; color: var(--ink);
  z-index: 2;
  max-width: 150px;
}
.mobile-steps span{
  background: var(--paper); border:1px solid var(--line);
  padding: 5px 12px; border-radius: 999px;
  display: inline-flex; align-items:center; gap:8px;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,.4);
  font-weight: 500;
  width: max-content;
  max-width: 100%;
}
.mobile-steps span b{ font-weight:700; color: var(--terracotta); }

/* card 3 — IA */
.card--ia{ background: linear-gradient(180deg, var(--paper) 0%, #E8E9D4 100%); }
.card--ia .visual{
  background: #FBF7EE;
  border: 1px solid var(--line);
  padding: 18px 18px 0;
  align-items: start;
  justify-content: start;
  min-height: 380px;
  overflow: hidden;
  max-height: 440px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 88%, transparent 100%);
}
.chat{
  width: 100%; display: flex; flex-direction: column; gap: 10px;
  animation: chatLoop 42s linear infinite;
  will-change: transform;
}
.card--ia .visual:hover .chat{ animation-play-state: paused; }
/* loop perfecto: duplicamos el set completo, translateY -50% vuelve a inicio */
@keyframes chatLoop{
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.msg{
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.45;
}
.msg.user{
  align-self: flex-end;
  background: var(--ink);
  color: var(--paper);
  border-bottom-right-radius: 4px;
}
.msg.ai{
  align-self: flex-start;
  background: var(--mate-soft);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  position: relative;
}
.msg.ai::before{
  content:"◦";
  position:absolute; left:-18px; top:8px;
  color: var(--mate-deep); font-size: 18px;
}
.msg.ai b{ color: var(--mate-deep); }
.msg code{
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  background: rgba(30,42,35,.08);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--ink);
}
.msg.user code{ background: rgba(255,255,255,.15); color: var(--paper); }
.typing{
  align-self: flex-start;
  background: var(--mate-soft);
  border-radius: 14px;
  padding: 10px 14px;
  display:inline-flex; gap:4px;
}
.typing i{
  width: 5px; height: 5px; border-radius:50%;
  background: var(--mate-deep);
  animation: type 1.2s infinite ease-in-out;
}
.typing i:nth-child(2){ animation-delay: .15s; }
.typing i:nth-child(3){ animation-delay: .3s; }
@keyframes type{ 0%,60%,100%{ transform: translateY(0); opacity:.4;} 30%{ transform: translateY(-4px); opacity:1; } }
.card--ia .sparkle{
  position:absolute; right: 20px; top: 20px;
  font-family: var(--f-hand); color: var(--terracotta);
  font-size: 22px; transform: rotate(-8deg);
}

/* card 4 — PREMIUM (edición IA imágenes) */
.card--premium{
  background: linear-gradient(155deg, #1E2A23 0%, #2A3A31 60%, #3D5040 100%);
  color: var(--paper);
  border-color: rgba(184,148,85,.4);
  position: relative;
}
.card--premium::before{
  /* premium sparkle glow */
  content:"";
  position:absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 20%, rgba(184,148,85,.22), transparent 70%);
  pointer-events:none;
}
.card--premium .num{ color: var(--gold); }
.card--premium h3{ color: var(--paper); }
.card--premium h3 em{ color: var(--gold); }
.card--premium p{ color: #D9CFB8; }
.card--premium .ribbon{
  position: absolute; top: 24px; right: 24px;
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #1E2A23;
  font-family: var(--f-body);
  font-size: 11px; font-weight: 800; letter-spacing: .18em;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(184,148,85,.5);
  text-transform: uppercase;
}
.card--premium .ribbon svg{ width: 11px; height: 11px; }
.card--premium .visual{
  background: #0E140F;
  border: 1px solid rgba(184,148,85,.25);
  padding: 16px;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.ia-compare{
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1.15fr;
  gap: 14px;
  align-items: center;
}
/* BEFORE: foto "del celu" — mala luz, producto sobre ambiente sucio */
.ia-shot{
  aspect-ratio: 1;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background: #2A1F18;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6);
}
.ia-shot img{
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.58) contrast(0.95) saturate(0.75);
  transform: rotate(-2deg) scale(1.08);
}
.ia-shot::after{
  content:"";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 80%, rgba(0,0,0,.5), transparent 60%),
    linear-gradient(160deg, rgba(50,20,0,.2), rgba(0,0,0,.35));
  pointer-events: none;
}
.ia-shot__tag{
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.72);
  color: #fff;
  font-family: var(--f-hand);
  font-size: 16px;
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 2;
}

/* ARROW */
.ia-arrow{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #1E2A23;
  display: grid; place-items: center;
  font-weight: 800;
  box-shadow: 0 0 0 4px rgba(184,148,85,.2);
  animation: pulseGold 2s ease-in-out infinite;
}
@keyframes pulseGold{
  0%, 100%{ box-shadow: 0 0 0 4px rgba(184,148,85,.2);}
  50%{ box-shadow: 0 0 0 10px rgba(184,148,85,0);}
}

/* AFTER: ecommerce listing card */
.ia-listing{
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.55), 0 0 0 1px rgba(184,148,85,.25);
  display: flex; flex-direction: column;
  color: var(--ink);
  font-family: var(--f-body);
}
.ia-listing__img{
  aspect-ratio: 1;
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
}
.ia-listing__img img{
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  padding: 8%;
  background: #FFFFFF;
}
.ia-listing__disc{
  position: absolute;
  top: 8px; left: 8px;
  background: #00A650;
  color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.ia-listing__dim{
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(30,42,35,.08);
  color: var(--ink);
  font-family: ui-monospace, monospace;
  font-size: 9px; font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: .04em;
}
.ia-listing__body{
  padding: 10px 12px 12px;
}
.ia-listing__title{
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 500;
}
.ia-listing__rating{
  font-size: 11px;
  color: #FFB400;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.ia-listing__rating small{
  color: var(--ink-mute);
  font-size: 10px;
  letter-spacing: normal;
  margin-left: 4px;
  font-family: var(--f-body);
}
.ia-listing__price{
  display: flex; gap: 6px; align-items: baseline;
}
.ia-listing__price .old{
  font-size: 10px;
  text-decoration: line-through;
  color: var(--ink-mute);
}
.ia-listing__price .now{
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
}
.ia-listing__ship{
  font-size: 10px;
  color: #00A650;
  font-weight: 700;
  margin-top: 3px;
  letter-spacing: .02em;
}

.ia-caption{
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  letter-spacing: .02em;
  margin-top: 14px;
}
.ia-caption b{ color: var(--sun); }

.ia-platforms{
  margin-top: 10px;
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
}
.ia-platforms span{
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(251,247,238,.08);
  border: 1px solid rgba(251,247,238,.15);
  color: var(--paper);
}

/* ===============================================================
   OPERATIVA — con Parallax + Before/After + Stats animadas
   =============================================================== */
.operativa{
  padding-bottom: 80px;
  position: relative;
}
.operativa::before{
  /* parallax blob backgrounds */
  content:"";
  position: absolute;
  left: -200px; top: 200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,123,63,.1), transparent 70%);
  pointer-events: none;
  transform: translateY(var(--p1, 0px));
  will-change: transform;
}
.operativa::after{
  content:"";
  position: absolute;
  right: -150px; top: 600px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,80,47,.08), transparent 70%);
  pointer-events: none;
  transform: translateY(var(--p2, 0px));
  will-change: transform;
}

/* Before/After slider */
.compare{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--paper);
  user-select: none;
  margin-bottom: 80px;
}
.compare__layer{
  position: absolute; inset: 0;
  display: grid; place-items: center;
  overflow: hidden;
}
.compare__layer--before{
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.4), transparent 60%),
    linear-gradient(135deg, #F4ECD4 0%, #E4D5B0 100%);
}
.compare__layer--after{
  background: linear-gradient(180deg, #1E2A23, #2A3A31);
  clip-path: inset(0 0 0 var(--split, 50%));
}
.compare__label{
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
}
.compare__label--before{
  left: 20px;
  background: rgba(255,255,255,.85);
  color: var(--terra-deep);
  border: 1px solid var(--line);
}
.compare__label--after{
  right: 20px;
  background: rgba(233,196,106,.95);
  color: var(--ink);
}
.compare__handle{
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split, 50%);
  width: 3px;
  background: var(--paper);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(0,0,0,.3);
}
.compare__handle::after{
  content:"";
  position: absolute;
  left: 50%; top: 50%;
  width: 48px; height: 48px;
  transform: translate(-50%, -50%);
  background: var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--ink), 0 10px 24px -6px rgba(0,0,0,.4);
}
.compare__handle::before{
  content:"‹ ›";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  z-index: 1;
  letter-spacing: 2px;
}
.compare__range{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  margin: 0;
}
.compare__range::-webkit-slider-thumb{
  -webkit-appearance: none; appearance: none;
  width: 48px; height: 100%;
  cursor: ew-resize;
}
.compare__range::-moz-range-thumb{
  width: 48px; height: 100%;
  cursor: ew-resize;
  border: none;
  background: transparent;
}

/* Before scene: paper notebook with messy handwriting */
.notebook{
  width: 85%;
  height: 85%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.04) 100%),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(180,130,70,.25) 28px 29px),
    #FAF0DC;
  border-radius: 8px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.35), inset 0 0 0 1px rgba(180,130,70,.15);
  padding: 28px 32px;
  position: relative;
  transform: rotate(-1.2deg);
  font-family: var(--f-hand);
  color: #3D2A17;
  overflow: hidden;
}
.notebook::after{
  /* coffee ring stain */
  content:"";
  position: absolute;
  right: 40px; bottom: 40px;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 6px solid rgba(115,75,30,.2);
  box-shadow: inset 0 0 0 1px rgba(115,75,30,.3);
}
.notebook h4{
  font-family: var(--f-hand);
  font-size: 24px;
  margin: 0 0 16px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(194,80,47,.5);
}
.notebook ul{
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}
.notebook ul li{
  display: flex; justify-content: space-between;
  padding: 2px 0;
}
.notebook ul li.crossed{
  text-decoration: line-through;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 2px;
  opacity: .65;
}
.notebook .q{ color: var(--terracotta); font-size: 28px; transform: rotate(3deg); position:absolute; right: 80px; top: 40px; }

/* Before scene: Excel caótico */
.before-excel{
  width: 88%; height: 88%;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.35);
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: rotate(-0.8deg);
}
.bx-bar{
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: #E8E8E8;
  border-bottom: 1px solid #D0D0D0;
}
.bx-dot{ width: 10px; height: 10px; border-radius: 50%; }
.bx-name{
  margin-left: 10px;
  font-family: ui-monospace, monospace;
  font-size: 11px; color: #666;
}
.bx-table{
  width: 100%; border-collapse: collapse;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; color: #333;
  flex: 1;
}
.bx-table thead{ background: #F0F0F0; }
.bx-table th{
  padding: 5px 10px; text-align: center;
  font-weight: 600; font-size: 11px; color: #888;
  border: 1px solid #E0E0E0;
}
.bx-table td{
  padding: 5px 10px;
  border: 1px solid #E8E8E8;
}
.bx-table .rn{ color: #AAA; text-align: center; background: #FAFAFA; width: 30px; }
.bx-table .bld{ font-weight: 700; background: #F5F5F5; }
.bx-table .wrn{ color: #D4A84E; font-weight: 600; }
.bx-table .er{ color: #C2502F; font-weight: 700; background: rgba(194,80,47,.08); }
.bx-table .nt{ color: #999; font-style: italic; font-family: var(--f-body); font-size: 11px; }
.bx-table .xd td{ text-decoration: line-through; opacity: .6; }
.bx-foot{
  display: flex; gap: 0;
  background: #F0F0F0;
  border-top: 1px solid #D0D0D0;
}
.bx-tab{
  padding: 6px 14px;
  font-size: 11px; color: #888;
  border-right: 1px solid #D0D0D0;
  cursor: default;
}
.bx-tab.act{ background: #fff; color: #333; font-weight: 600; }

/* After scene: dashboard moderno */
.after-dash{
  width: 90%; height: 88%;
  background: #1E2A23;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 48px 1fr;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.ad-sidebar{
  background: #151E19;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 14px;
}
.ad-logo{ opacity: .7; }
.ad-nav-i{
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-size: 14px; color: #8A9C84;
  cursor: default;
}
.ad-nav-i.act{ background: rgba(107,123,63,.3); color: var(--mate-soft); }
.ad-main{ padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ad-head{ display: flex; justify-content: space-between; align-items: center; }
.ad-title{ font-family: var(--f-display); font-size: 16px; font-weight: 600; color: var(--paper); }
.ad-date{ font-size: 11px; color: #8A9C84; letter-spacing: .08em; }
.ad-stats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ad-st{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 10px;
}
.ad-st-k{ display: block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #8A9C84; font-weight: 700; }
.ad-st-v{ display: block; font-family: var(--f-display); font-size: 18px; font-weight: 600; color: var(--paper); margin-top: 3px; }
.ad-st-d{ display: block; font-size: 10px; color: #8A9C84; margin-top: 2px; }
.ad-st-d.up{ color: var(--mate-soft); }
.ad-chart{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 10px;
}
.ad-chart-t{ display: block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #8A9C84; font-weight: 700; margin-bottom: 6px; }

/* Gastos ticker dinámico */
.gastos-ticker{
  margin-top: 14px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.08);
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.gastos-ticker__track{
  display: flex; gap: 12px;
  width: max-content;
  animation: gastosTick 22s linear infinite;
}
@keyframes gastosTick{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.gt-item{
  flex: 0 0 auto;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
  background: rgba(255,255,255,.08);
  color: #D4DDB8;
  border: 1px solid rgba(255,255,255,.1);
}
.gt-ok{ background: rgba(201,212,163,.2); color: var(--paper); }
.gt-pend{ background: rgba(233,196,106,.15); color: var(--sun); }

/* After scene: modern dashboard (legacy fallback) */
.dashboard{
  width: 88%;
  height: 88%;
  background: var(--paper);
  border-radius: 12px;
  padding: 18px;
  color: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.dashboard__stat{
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.dashboard__stat .k{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.dashboard__stat .v{
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.1;
  margin-top: 4px;
  color: var(--ink);
}
.dashboard__stat .d{
  font-size: 11px; color: var(--mate-deep); font-weight: 600;
  margin-top: 2px;
}
.dashboard__chart{
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  position: relative;
}
.dashboard__chart .title{
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  color: var(--ink-mute); text-transform: uppercase;
  margin-bottom: 8px;
}
.dashboard__chart svg{ width: 100%; height: calc(100% - 22px); }

/* Animated stats grid */
.stats-block{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0 80px;
  padding: 36px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-paper);
  position: relative;
  transition: border-color .9s cubic-bezier(.2,.7,.2,1),
              box-shadow .9s cubic-bezier(.2,.7,.2,1);
  will-change: border-color, box-shadow;
}
.stats-block.reveal{
  border-color: var(--mate-soft);
  box-shadow:
    var(--shadow-paper),
    0 0 0 4px rgba(201, 212, 163, 0.35),
    0 0 40px -8px rgba(107, 123, 63, 0.35);
}
.stats-block.reveal::before{
  content:"";
  position: absolute; inset: -1px;
  border-radius: var(--r-lg);
  pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(201,212,163,.45) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: sweep 2.4s ease-out 1;
  opacity: .6;
  mix-blend-mode: overlay;
}
@keyframes sweep{
  from{ background-position: 200% 0; }
  to  { background-position: -100% 0; }
}
.stat{
  text-align: left;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1),
              transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
  position: relative;
  padding-right: 8px;
}
.stats-block .stat + .stat{
  padding-left: 18px;
  border-left: 1px solid var(--line-soft);
}
.stats-block.reveal .stat{
  opacity: 1;
  transform: translateY(0);
}
.stats-block.reveal .stat:nth-child(1){ transition-delay: .05s; }
.stats-block.reveal .stat:nth-child(2){ transition-delay: .18s; }
.stats-block.reveal .stat:nth-child(3){ transition-delay: .31s; }
.stats-block.reveal .stat:nth-child(4){ transition-delay: .44s; }

/* head: label + live pill */
.stat-head{
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.stat .live{
  display: inline-flex; align-items: center;
  flex-shrink: 0;
  padding: 0;
  background: none;
}
.stat .live-dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mate);
  position: relative;
  box-shadow: 0 0 0 0 rgba(107,123,63,.7);
  animation: livePulse 1.6s ease-out infinite;
}
/* ocultamos el texto "en vivo" visualmente pero lo dejamos accesible */
.stat .live .sr-only{
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
@keyframes livePulse{
  0%   { box-shadow: 0 0 0 0    rgba(107,123,63,.65); transform: scale(1); }
  70%  { box-shadow: 0 0 0 8px  rgba(107,123,63,0);    transform: scale(1.15); }
  100% { box-shadow: 0 0 0 0    rgba(107,123,63,0);    transform: scale(1); }
}

/* big number: shimmer al completar */
.stat .v{
  position: relative;
}
.stat .v .count,
.stat .v em{
  display: inline-block;
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.stat .v.count-done .count,
.stat .v.count-done em,
.stat .v em.count-done,
.stat .v.count-done{
  animation: numberPulse .75s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes numberPulse{
  0%   { transform: scale(1); }
  40%  { transform: scale(1.09); }
  100% { transform: scale(1); }
}

/* mini progress bar por stat */
.stat-bar{
  --bar-fill: 0%;
  height: 4px;
  background: rgba(30,42,35,.08);
  border-radius: 3px;
  overflow: hidden;
  margin: 12px 0 8px;
  position: relative;
}
.stat-bar i{
  display: block;
  height: 100%;
  width: 0;
  background: var(--mate);
  border-radius: 3px;
  box-shadow: 0 0 0 0 rgba(107,123,63,0);
  transition: width 2.2s cubic-bezier(.34, 1.1, .25, 1);
  will-change: width;
  position: relative;
}
.stat-bar i::after{
  content:"";
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 10px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75));
  opacity: 0;
}
.stats-block.reveal .stat-bar i{ width: var(--bar-fill); }
.stats-block.reveal .stat-bar i::after{
  animation: barShimmer 1.4s ease-out 1.8s 1;
}
@keyframes barShimmer{
  0%   { opacity: 0; transform: translateX(-20px);}
  60%  { opacity: .9;}
  100% { opacity: 0; transform: translateX(10px);}
}

/* color overrides por stat */
.stat--terra .stat-bar i{ background: var(--terracotta); }
.stat--mate  .stat-bar i{ background: var(--mate); }

/* trend delta with animated arrow */
.stat .d{
  display: inline-flex; align-items: center; gap: 6px;
}
.stat .trend{
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700;
  color: var(--mate-deep);
}
.stat--terra .trend{ color: var(--terracotta); }
.stat .trend svg{ width: 10px; height: 10px; }
.stats-block.reveal .stat .trend svg{
  animation: arrowBob 1.8s ease-in-out 1.6s infinite;
}
@keyframes arrowBob{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.stat .k{
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700;
}
.stat .v{
  font-family: var(--f-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  margin: 10px 0 6px;
  color: var(--ink);
  display: block;
}
.stat .v em{ color: var(--terracotta); font-style: italic; font-weight: 600; }
.stat .d{ font-size: 14px; color: var(--ink-soft); }
.stat--mate .v{ color: var(--mate-deep); }
.stat--terra .v{ color: var(--terracotta); }

/* op cards */
.op-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.op-card{
  --theme: var(--mate);
  --theme-soft: var(--mate-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition:
    transform .5s cubic-bezier(.34,1.2,.64,1),
    border-color .5s cubic-bezier(.2,.7,.2,1),
    box-shadow .5s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
}
.op-card::after{
  /* Glass-scan diagonal shine */
  content:"";
  position: absolute;
  top: -60%; left: -60%;
  width: 60%; height: 220%;
  background: linear-gradient(110deg,
    transparent 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,0) 65%,
    transparent 100%);
  transform: translateX(-150%) rotate(8deg);
  pointer-events: none;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
  z-index: 1;
}
.op-card:hover{
  transform: translateY(-4px);
  border-color: var(--theme);
  box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--theme) 50%, transparent);
}
.op-card:hover::after{
  transform: translateX(360%) rotate(8deg);
}
.op-card > *{ position: relative; z-index: 2; }

.op-card h4{
  font-family: var(--f-display);
  font-size: 26px; font-weight: 500;
  margin: 14px 0 8px;
  letter-spacing: -0.01em;
}
.op-card p{ color: var(--ink-soft); margin: 0; font-size: 15.5px; }
.op-card .icon{
  width: 44px; height:44px; border-radius: 12px;
  display:grid; place-items:center;
  background: var(--theme-soft); color: var(--theme);
  transition: transform .55s cubic-bezier(.34, 1.8, .64, 1),
              background .3s ease, color .3s ease;
  will-change: transform;
}
.op-card:hover .icon{
  transform: rotate(5deg) scale(1.1);
}
.op-card .tag{
  position: absolute; top: 22px; right: 22px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700;
  z-index: 2;
}

/* themed accent per card (en tema oscuro) */
.op-card--stock{
  grid-column: span 7;
  --theme: var(--mate-soft);
  --theme-soft: rgba(201,212,163,.2);
}
.op-card--fact{
  grid-column: span 5;
  --theme: var(--terra-soft);
  --theme-soft: rgba(240,196,176,.2);
}
.op-card--gastos{
  grid-column: span 5;
  --theme: var(--sun);
  --theme-soft: rgba(233,196,106,.2);
}
.op-card--variantes{
  grid-column: span 7;
  --theme: #D9BCEA;
  --theme-soft: rgba(217,188,234,.2);
}

/* ==================================================================
   DARK GREEN THEME — las 4 op-cards (estilo sección 06)
   ================================================================== */
/* Banda oscura full-width que envuelve el op-grid (los 4 op-cards),
   mismo look infinito horizontal que el .feedback section */
.op-grid-band{
  position: relative;
  margin-top: 60px;
  padding: 64px 0 80px;
  background: var(--ink);
  overflow: hidden;
}
.op-grid-band::before{
  content:""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 400px at 20% 30%, rgba(194,80,47,.18), transparent 70%),
    radial-gradient(700px 400px at 80% 70%, rgba(107,123,63,.22), transparent 70%);
}
.op-grid-band .wrap{ position: relative; z-index: 1; }
.op-grid{
  position: relative;
}
.op-grid::before{
  content:""; position: absolute; inset: 0; pointer-events: none;
}
.op-card{
  background: rgba(255,255,255,.08);
  color: #F5F1E3;
  border-color: rgba(255,255,255,.14);
}
.op-card::before{
  /* ambient glow layer */
  content:"";
  position: absolute; inset: 0;
  background:
    radial-gradient(300px 150px at 20% 0%, rgba(201,212,163,.08), transparent 70%),
    radial-gradient(300px 150px at 80% 100%, rgba(255,255,255,.04), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.op-card > *{ position: relative; z-index: 2; }
.op-card h4{ color: var(--paper); }
.op-card p{ color: #D9CFB8; }
.op-card .tag{ color: var(--sun); }
.op-card .icon{
  background: rgba(255,255,255,.1);
  color: var(--paper);
}
.op-card::after{
  background: linear-gradient(110deg,
    transparent 0%, rgba(255,255,255,0) 35%,
    rgba(255,255,255,.08) 50%, rgba(255,255,255,0) 65%, transparent 100%);
}

/* STOCK chart green */
.stock-chart-wrap{
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(201,212,163,.15);
}
.stock-chart-wrap::before{
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.04) 39px 40px);
}
.stock-chart-title{ color: var(--paper); }
.stock-chart-title small{ color: #C9D4A3; }
.stock-chart-title svg{ color: var(--mate-soft); }
.chart-grid line{ stroke: rgba(255,255,255,.08); }
.y-label, .x-label{ fill: #C9D4A3; }
.x-label.now{ fill: var(--paper); }
.now-line{ stroke: rgba(255,255,255,.4); }
.now-label{ fill: var(--paper); }
.stock-chart-legend span{ color: #D4DDB8; }
.band{ fill: rgba(201,212,163,.2); }
.hist-line{ stroke: #E97546; }
.hist-area{ fill: url(#histGrad); }
.hist-dot{ fill: #E97546; }
.pred-line{ stroke: var(--paper); }
.pred-dot{ fill: #3D5A2B; stroke: var(--paper); }
.marker{ fill: #E97546; }
.now-indicator{ fill: #E97546; }

/* Stock chart foot stats (dentro del wrap) */
.stock-chart-foot{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 14px;
  padding: 14px 4px 4px;
  border-top: 1px solid rgba(216,207,184,.1);
  position: relative;
  z-index: 1;
}
.sf-stat{
  display: flex; flex-direction: column;
  padding: 0 14px;
  border-left: 1px solid rgba(255,255,255,.08);
}
.sf-stat:first-child{ border-left: 0; padding-left: 4px; }
.sf-k{
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: #C9D4A3; font-weight: 700;
}
.sf-v{
  font-family: var(--f-display);
  font-size: 26px; font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 6px 0 3px;
}
.sf-v--terra{ color: var(--terra-soft); }
.sf-v--mate{ color: var(--mate-soft); }
.sf-d{
  font-size: 11px; font-weight: 600;
  color: #C9D4A3;
}
.sf-d.up{ color: var(--mate-soft); }
.sf-d.warn{ color: var(--terra-soft); }

/* AFIP green — alto contraste extremo */
.ring-num{
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 40px !important;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
}
.ring-sub{
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 10px !important;
  letter-spacing: .16em;
  opacity: .95;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.afip-stream li{
  background: rgba(0,0,0,.35);
  border-color: rgba(255,255,255,.2);
  color: #FFFFFF;
  font-weight: 500;
}
.afip-stream li b{ color: #FFFFFF; font-weight: 700; }
.afip-cae{
  background: rgba(255,255,255,.18);
  color: #FFFFFF;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.stream-status.ok{
  background: #C9D4A3;
  color: #1E2A23;
  font-weight: 800;
}

/* GASTOS green — alto contraste extremo */
.gastos-head{
  border-bottom-color: rgba(255,255,255,.2);
}
.gastos-head .k{
  color: #FFFFFF !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
  opacity: .95;
}
.gastos-head .big-num{
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 38px !important;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.gbar{
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 14px !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.gbar .bar{ background: rgba(0,0,0,.35); }
.gbar .bar-v{
  color: #FFFFFF !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
}
.trend-tag.trend-up{
  background: rgba(255,255,255,.28);
  color: #FFFFFF;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.trend-tag.trend-down{
  background: rgba(194,80,47,.45);
  color: #FFFFFF;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* ==================================================================
   VARIANTES — Product switcher animado (redesign completo)
   ================================================================== */
.variant-switcher{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(216,207,184,.1);
  border-radius: 14px;
  align-items: start;
}
.variant-switcher__top{
  display: contents;
}
.variant-switcher__top-info{
  display: none;
}
.variant-switcher__img{
  position: relative;
  aspect-ratio: 1;
  grid-row: 1 / -1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--vc, #C2502F);
  transition: background .7s cubic-bezier(.34, 1.05, .64, 1);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08),
              0 20px 40px -14px rgba(0,0,0,.5);
}
.variant-switcher__img::before{
  /* soft highlight */
  content:"";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.25), transparent 60%);
  pointer-events: none;
}
.product-icon{
  width: 60%; height: 60%;
  color: rgba(255,255,255,.85);
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.35));
  transition: transform .5s cubic-bezier(.34, 1.3, .64, 1);
}
.variant-switcher__img.switching .product-icon{
  animation: productFlip .7s cubic-bezier(.34, 1.3, .64, 1);
}
@keyframes productFlip{
  0%   { transform: scale(1) rotate(0); opacity: 1; }
  45%  { transform: scale(.85) rotate(-6deg); opacity: .5; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.variant-switcher__price{
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(30,42,35,.85);
  color: var(--paper);
  padding: 5px 11px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -.01em;
  backdrop-filter: blur(4px);
}
.variant-switcher__info{
  display: flex; flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.vs-title{
  font-family: var(--f-display);
  font-size: 20px; font-weight: 500;
  color: var(--paper);
  letter-spacing: -.01em;
  line-height: 1.1;
}
.vs-subtitle{
  font-size: 11px;
  color: #C9D4A3;
  margin: 2px 0 10px;
  letter-spacing: .02em;
}
.vs-field{
  display: flex; flex-direction: column;
  gap: 5px;
  margin-bottom: 4px;
}
.vs-field-head{
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px;
}
.vs-label{
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: #C9D4A3; font-weight: 700;
}
.vs-value{
  font-family: var(--f-display);
  font-size: 14px; font-weight: 600;
  color: var(--paper);
  letter-spacing: -.01em;
  transition: opacity .3s ease;
}
.vs-value.switching{
  animation: valueFlip .55s ease;
}
@keyframes valueFlip{
  0%, 100% { opacity: 1; transform: translateY(0); }
  50%      { opacity: 0; transform: translateY(-4px); }
}
.vs-colors, .vs-sizes{
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.vs-color{
  width: 22px; height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid rgba(255,255,255,.18);
  cursor: pointer;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), border-color .3s, box-shadow .3s;
  padding: 0;
  position: relative;
}
.vs-color:hover{ transform: scale(1.12); }
.vs-color.active{
  border-color: var(--paper);
  transform: scale(1.2);
  box-shadow: 0 0 0 3px rgba(251,247,238,.15);
}
.vs-color.active::after{
  content:"";
  position: absolute; inset: -6px;
  border: 1.5px solid rgba(251,247,238,.35);
  border-radius: 50%;
  animation: ringExpand 1.8s ease-out infinite;
}
@keyframes ringExpand{
  0%   { transform: scale(.7); opacity: .9; }
  100% { transform: scale(1.4); opacity: 0; }
}
.vs-size{
  min-width: 30px;
  flex: 0 0 auto;
  padding: 5px 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  color: #D4DDB8;
  font-size: 11px; font-weight: 600;
  cursor: pointer;
  transition: all .3s cubic-bezier(.34, 1.3, .64, 1);
  font-family: var(--f-body);
}
.vs-size:hover:not(.sold-out){
  background: rgba(255,255,255,.12); color: var(--paper);
  transform: translateY(-1px);
}
.vs-size.active{
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  transform: scale(1.05);
}
.vs-size.sold-out{
  opacity: .35;
  text-decoration: line-through;
  cursor: not-allowed;
}
.vs-stock{
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(216,207,184,.1);
  display: flex; align-items: baseline; gap: 10px;
  justify-content: space-between;
}
.vs-stock__left{ display: flex; align-items: baseline; gap: 10px; }
.vs-stock__num{
  font-family: var(--f-display);
  font-size: 30px; font-weight: 600;
  color: var(--mate-soft);
  letter-spacing: -.02em;
  line-height: 1;
  transition: color .4s ease;
}
.vs-stock__num.pulse{
  animation: numberPulse .6s cubic-bezier(.34, 1.56, .64, 1);
}
.vs-stock__num.low{ color: #F0C4B0; }
.vs-stock__label{
  font-size: 11px; letter-spacing: .08em;
  color: #C9D4A3; font-weight: 600;
  text-transform: uppercase;
}
.vs-stock__sku{
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  color: #C9D4A3;
  background: rgba(255,255,255,.05);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: .04em;
}

.mini-dash{
  margin-top: 12px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  padding: 14px 16px;
  background: rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
}
.mini-dash .stat{ text-align: left; }
.mini-dash .stat .k{
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: #C9D4A3; font-weight: 700;
}
.mini-dash .stat .v{
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 4px 0 2px;
  color: var(--paper);
  display: block;
}
.mini-dash .stat .v em{
  color: var(--terracotta);
  font-style: italic;
  font-weight: 600;
}
.mini-dash .stat .d{ font-size: 11px; color: #C9D4A3; font-weight: 500; }
.mini-dash .stat--mate .v{ color: var(--mate-deep); }
.mini-dash .stat--terra .v{ color: var(--terracotta); }

.variantes-chips{ display:flex; flex-wrap: wrap; gap:8px; margin-top: 18px; }
.chip{
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 12px;
  font-size: 13px; color: var(--ink-soft);
  display:inline-flex; gap:8px; align-items:center;
}
.chip .sw{ width: 10px; height: 10px; border-radius: 50%; }
.chip.active{ border-color: var(--ink); background: var(--ink); color: var(--paper); }

.invoice{
  margin-top: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; font-family: ui-monospace, Menlo, monospace; font-size: 12px;
}
.invoice .line{ display:flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line-soft); }
.invoice .line:last-child{ border: none; font-weight: 700; padding-top: 10px; }
.invoice .afip{
  display:inline-flex; align-items:center; gap: 6px;
  font-family: var(--f-body);
  background: var(--mate-soft); color: var(--mate-deep);
  font-size: 11px; padding: 4px 8px; border-radius: 6px; font-weight: 700;
  margin-top: 8px; letter-spacing: .08em;
}

.gastos-bars{ margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.gbar{
  display:grid; grid-template-columns: 110px 1fr 70px; gap:10px; align-items: center;
  font-size: 13px; color: var(--ink-soft);
}
.gbar .bar{
  height: 10px; border-radius: 6px;
  background: rgba(30,42,35,.08);
  overflow: visible;
  position: relative;
}
.gbar .bar i{
  display:block; height:100%; border-radius: 6px; width: 0;
  transition: width 1.7s cubic-bezier(0.34, 1.35, 0.25, 1);
  will-change: width;
  position: relative;
}
.gbar .bar i::after{
  /* "pulse head" at the end of each bar */
  content:"";
  position: absolute; right: -5px; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: inherit;
  transform: translateY(-50%) scale(0);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1) 1.4s;
}
.op-card.in-view .gbar .bar i::after{ transform: translateY(-50%) scale(1); }
.gbar .bar-v{
  text-align: right;
  font-family: var(--f-display); font-weight: 600;
  font-size: 14px; color: var(--ink);
  letter-spacing: -.01em;
}

/* stagger de las barras: se disparan una tras otra */
.op-card.in-view .gbar:nth-child(1) .bar i{ transition-delay: .10s; }
.op-card.in-view .gbar:nth-child(2) .bar i{ transition-delay: .25s; }
.op-card.in-view .gbar:nth-child(3) .bar i{ transition-delay: .40s; }
.op-card.in-view .gbar:nth-child(4) .bar i{ transition-delay: .55s; }

/* ==================================================================
   4 SUBSECCIONES OP-CARDS — experiencias visuales animadas
   ================================================================== */

/* ==================================================================
   STOCK — SUPERGRÁFICO: histórico + predicción + banda + markers
   ================================================================== */
.stock-chart-wrap{
  margin: 20px 0 18px;
  background: linear-gradient(180deg, #FFFCF5 0%, #FBF7EE 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 14px 10px;
  position: relative;
  overflow: hidden;
}
.stock-chart-wrap::before{
  /* subtle grid texture behind chart */
  content:"";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(30,42,35,.035) 39px 40px);
  pointer-events: none;
}
.stock-chart-head{
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.stock-chart-title{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700;
  color: var(--ink);
  letter-spacing: .02em;
}
.stock-chart-title svg{
  width: 14px; height: 14px;
  color: var(--mate-deep);
}
.stock-chart-title small{
  font-family: var(--f-body);
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 9.5px;
}
.stock-chart-legend{
  display: flex; gap: 14px;
  font-size: 11px;
  font-weight: 600;
}
.stock-chart-legend span{
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-soft);
}
.stock-chart-legend .s-hist::before{
  content:""; width: 18px; height: 2.5px;
  background: var(--terracotta); border-radius: 2px;
}
.stock-chart-legend .s-pred::before{
  content:""; width: 18px; height: 0;
  border-top: 2.5px dashed var(--mate-deep);
}
.stock-chart-legend .s-band::before{
  content:""; width: 14px; height: 10px;
  background: rgba(107,123,63,.28);
  border-radius: 3px;
}

.stock-chart{
  width: 100%;
  height: 220px;
  display: block;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.chart-grid line{
  stroke: var(--line-soft);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  opacity: 0;
  transition: opacity .5s ease .2s;
}
.op-card.in-view .chart-grid line{ opacity: 1; }

.y-label, .x-label{
  font-family: var(--f-body);
  font-size: 9.5px;
  fill: var(--ink-mute);
  font-weight: 600;
  letter-spacing: .02em;
}
.x-label.now{ fill: var(--ink); font-weight: 800; }

.now-line{
  stroke: var(--ink);
  stroke-width: 1;
  stroke-dasharray: 2 3;
  opacity: 0;
  transition: opacity .5s ease 1.3s;
}
.op-card.in-view .now-line{ opacity: .55; }
.now-label{
  font-family: var(--f-body);
  font-size: 9.5px; font-weight: 800;
  fill: var(--ink);
  letter-spacing: .14em;
  opacity: 0;
  transition: opacity .4s ease 1.4s;
}
.op-card.in-view .now-label{ opacity: 1; }

/* Confidence band */
.band{
  fill: rgba(107,123,63,.22);
  opacity: 0;
  transform: scaleY(.4);
  transform-origin: center;
  transition: opacity 1s ease 2.0s, transform 1s cubic-bezier(.34, 1.05, .64, 1) 2.0s;
}
.op-card.in-view .band{ opacity: 1; transform: scaleY(1); }

/* Historic line + area */
.hist-area{
  fill: url(#histGrad);
  opacity: 0;
  transition: opacity 1.2s ease 1s;
}
.op-card.in-view .hist-area{ opacity: 1; }
.hist-line{
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2s cubic-bezier(.34, 1.05, .64, 1);
}
.op-card.in-view .hist-line{ stroke-dashoffset: 0; }

/* Prediction dashed line */
.pred-line{
  fill: none;
  stroke: var(--mate-deep);
  stroke-width: 2.5;
  stroke-dasharray: 7 4;
  stroke-linejoin: round;
  stroke-linecap: round;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 1s ease 2.1s, transform 1s cubic-bezier(.34, 1.05, .64, 1) 2.1s;
}
.op-card.in-view .pred-line{ opacity: 1; transform: translateX(0); }

/* Dots */
.hist-dot, .pred-dot{
  opacity: 0;
  transition: opacity .4s ease;
  transition-delay: calc(var(--d, 0) * 100ms + .6s);
}
.op-card.in-view .hist-dot,
.op-card.in-view .pred-dot{ opacity: 1; }
.hist-dot{ fill: var(--terracotta); }
.pred-dot{ fill: #FBF7EE; stroke: var(--mate-deep); stroke-width: 1.8; }

/* Red anomaly markers (triangles) */
.marker{
  fill: var(--terracotta);
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  transform: scale(0);
  transition: opacity .4s ease, transform .5s cubic-bezier(.34, 1.8, .64, 1);
  transition-delay: calc(var(--md, 0) * 200ms + 2.3s);
}
.op-card.in-view .marker{ opacity: 1; transform: scale(1); }
.op-card.in-view .marker{
  animation: markerPulse 2.2s ease-in-out 3.2s infinite;
}
@keyframes markerPulse{
  0%, 100% { filter: drop-shadow(0 0 0 rgba(194,80,47,0)); }
  50%      { filter: drop-shadow(0 0 7px rgba(194,80,47,.7)); }
}

/* Now indicator */
.now-indicator{
  fill: var(--terracotta);
  opacity: 0;
  transition: opacity .5s ease 1.7s;
  filter: drop-shadow(0 0 0 rgba(194,80,47,0));
  animation: nowPulse 2s ease-in-out 2s infinite;
}
.op-card.in-view .now-indicator{ opacity: 1; }
@keyframes nowPulse{
  0%, 100% { filter: drop-shadow(0 0 0 rgba(194,80,47,.4)); }
  50%      { filter: drop-shadow(0 0 9px rgba(194,80,47,.9)); }
}

/* ---- AFIP: progress ring + invoice stream + CAE pulse ---- */
.afip-live{
  display: flex; gap: 20px; align-items: center;
  margin: 18px 0 14px;
}
.ring-wrap{
  position: relative;
  width: 138px; height: 138px;
  flex-shrink: 0;
}
.progress-ring{ width: 100%; height: 100%; display: block; }
.ring-track{ stroke: rgba(194,80,47,.14); }
.ring-fill{
  stroke: var(--terracotta);
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 2.1s cubic-bezier(.34, 1.05, .25, 1);
  filter: drop-shadow(0 0 0 rgba(194,80,47,0));
  animation: ringGlow 2.6s ease-in-out 2.4s infinite;
}
.op-card.in-view .ring-fill{ stroke-dashoffset: 53; /* ~80% */ }
@keyframes ringGlow{
  0%, 100% { filter: drop-shadow(0 0 0 rgba(194,80,47,0)); }
  50%      { filter: drop-shadow(0 0 6px rgba(194,80,47,.55)); }
}
.ring-center{
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 0 8px;
  line-height: 1;
}
.ring-num{
  font-family: var(--f-display);
  font-size: 34px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
}
.ring-sub{
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700;
  margin-top: 6px;
  display: block;
  white-space: nowrap;
}
.afip-stream{
  flex: 1;
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12.5px;
  min-width: 0;
}
.afip-stream li{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateX(14px);
  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(.34, 1.3, .64, 1);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--ink);
}
.op-card.in-view .afip-stream li{ opacity: 1; transform: translateX(0); }
.op-card.in-view .afip-stream li:nth-child(1){ transition-delay: .35s; }
.op-card.in-view .afip-stream li:nth-child(2){ transition-delay: .60s; }
.op-card.in-view .afip-stream li:nth-child(3){ transition-delay: .85s; }
.afip-stream li b{ margin-left: auto; color: var(--ink); white-space: nowrap; font-family: var(--f-display); font-size: 13.5px; font-weight: 600; }
.stream-status{
  width: 15px; height: 15px; border-radius: 50%;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 800;
}
.stream-status.ok{
  background: var(--mate-soft);
  color: var(--mate-deep);
}
.stream-status.processing{
  background: var(--sun-soft);
  position: relative;
}
.stream-status.processing::after{
  content:"";
  position: absolute; inset: 3px;
  border: 1.5px solid var(--sun);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin{ to { transform: rotate(360deg); } }
.afip-cae{
  margin-top: 4px;
  padding: 10px 14px;
  background: var(--mate-soft);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mate-deep);
  letter-spacing: .04em;
  display: flex; align-items: center; gap: 10px;
}
.cae-dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mate);
  box-shadow: 0 0 0 0 rgba(107,123,63,.6);
  animation: livePulse 1.8s ease-out infinite;
}

/* ---- GASTOS: header stat + trend tag + elastic bars ---- */
.gastos-head{
  display: flex; justify-content: space-between; align-items: flex-end;
  margin: 18px 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.gastos-head .k{
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700;
}
.gastos-head .big-num{
  display: block;
  font-family: var(--f-display);
  font-size: 32px; font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 6px;
}
.trend-tag{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  transition: background .6s ease, color .6s ease;
}
.trend-tag.trend-up{
  background: rgba(107,123,63,.15);
  color: var(--mate-deep);
}
.trend-tag.trend-down{
  background: rgba(194,80,47,.15);
  color: var(--terracotta);
}
.trend-tag svg{ width: 10px; height: 10px; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.op-card.in-view .trend-tag svg{ animation: arrowBob 1.8s ease-in-out 1.4s infinite; }

/* (matrix obsoleto eliminado — reemplazado por variant-switcher) */

/* ===============================================================
   REPORTES
   =============================================================== */
.reportes{
  background:
    linear-gradient(180deg, transparent 0%, var(--cream-deep) 40%, var(--cream-deep) 60%, transparent 100%);
  padding: 80px 0;
  margin-top: 40px;
}
.reportes__inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
.reportes__text h2{
  font-family: var(--f-display);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 500; margin: 14px 0 20px;
  letter-spacing: -0.02em; line-height: 1;
}
.reportes__text h2 em{ font-style: italic; color: var(--mate-deep); }
.reportes__text p{ color: var(--ink-soft); font-size: 18px; margin: 0 0 14px; max-width: 46ch; }
.reportes__list{ margin-top: 26px; display:flex; flex-direction: column; gap: 10px; }
.reportes__list li{
  list-style: none;
  display:flex; align-items:center; gap: 14px;
  padding: 14px 18px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px; color: var(--ink);
  transition: transform .2s ease, border-color .2s ease;
}
.reportes__list li:hover{ transform: translateX(4px); border-color: var(--terracotta); }
.reportes__list .dl{
  margin-left: auto;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mate-deep); font-weight: 700;
}
.laptop{
  position: relative;
  aspect-ratio: 16/10;
  height: auto;
  max-height: 500px;
  background: linear-gradient(180deg, #2A3330, #1E2A23);
  border-radius: 14px 14px 6px 6px;
  padding: 14px 14px 0;
  box-shadow: var(--shadow-card);
  transform: perspective(1400px) rotateX(4deg) rotateY(-3deg);
  align-self: center;
}
/* Cuando hay screenshot: la laptop se auto-aligna al tamaño del body
   (que usa la aspect-ratio exacta de la imagen subida), así la foto
   se ve COMPLETA sin crop ni letterbox. Requiere :has() (Chrome 105+,
   Safari 15.4+, Firefox 121+). */
.laptop:has(.laptop__body.has-screenshot){
  aspect-ratio: auto;
  max-height: none;
}
.laptop:has(.laptop__body.has-screenshot) .laptop__screen{
  grid-template-rows: auto auto;
  height: auto;
}
.laptop::after{
  content:""; position: absolute; left:-6%; right:-6%; bottom:-12px; height: 14px;
  background: linear-gradient(180deg, #1E2A23, #0E140F);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,.4);
}
.laptop__screen{
  width: 100%; height: 100%;
  background: var(--paper);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.laptop__bar{
  display:flex; align-items:center; gap: 6px;
  padding: 8px 12px;
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
}
.laptop__bar i{ width: 10px; height: 10px; border-radius: 50%; }
.laptop__bar i:nth-child(1){ background: #E96B5E; }
.laptop__bar i:nth-child(2){ background: #F4BF5B; }
.laptop__bar i:nth-child(3){ background: #6BC168; }
.laptop__bar .url{
  margin-left: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 6px; padding: 3px 10px; font-size: 11px; color: var(--ink-mute);
  font-family: ui-monospace, monospace;
}
.laptop__body{ padding: 18px; display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.laptop__body.has-screenshot{
  padding: 0;
  display: block;
  background: #F5F5F7;
  overflow: hidden;
  /* JS setea --ss-aspect con la proporción exacta (width/height) de
     la imagen subida. Así la foto calza exacto, sin crop ni letterbox. */
  aspect-ratio: var(--ss-aspect, 16/10);
  width: 100%;
  height: auto;
}
.laptop__body.has-screenshot img{
  width: 100%; height: 100%;
  object-fit: fill;
  display: block;
}
.dashboard.has-screenshot{ padding: 0; display: block; overflow: hidden; }
.dashboard.has-screenshot img{ width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; border-radius: inherit; }
/* Slider Antes/Después — dashboard after hecho imagen real */
.after-dash.has-screenshot{
  display: block !important;
  padding: 0;
  /* Mantiene el frame 90%/88% y border-radius del mockup original */
  background: #0E140F;
  overflow: hidden;
}
.after-dash.has-screenshot img{
  width: 100%; height: 100%;
  object-fit: cover; object-position: top left;
  display: block; border-radius: inherit;
}
.dash-card{
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px;
}
.dash-card.big{ grid-column: 1/-1; }
.dash-card .t{ font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 700; }
.dash-card .n{ font-family: var(--f-display); font-size: 26px; font-weight: 600; letter-spacing: -.01em; margin-top: 2px; }
.dash-card .d{ color: var(--mate-deep); font-size: 11.5px; font-weight: 600; }

/* ===============================================================
   IMPLEMENTACIÓN — texto izquierda, foto derecha
   =============================================================== */
.impl{
  padding: 90px 0 40px;
}
.impl__inner{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
.impl__photo{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: linear-gradient(135deg, #D8C8A8, #8A6E4B);
  transform: rotate(1.5deg);
  will-change: transform;
}
.impl__photo img{
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.95);
}
.impl__photo .overlay-time{
  position: absolute;
  left: 20px; bottom: 24px;
  background: var(--terracotta);
  color: var(--paper);
  padding: 14px 18px;
  border-radius: 12px;
  transform: rotate(-2deg);
  font-family: var(--f-display);
  font-weight: 500;
  box-shadow: 0 10px 30px -6px rgba(194,80,47,.6);
  z-index: 3;
}
.impl__photo .overlay-time b{
  display:block;
  font-size: 44px; line-height: 1;
  font-style: italic; font-weight: 600;
}
.impl__photo .overlay-time small{
  display:block;
  font-family: var(--f-body); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
  opacity: .9;
}
.impl__photo .overlay-chat{
  position: absolute;
  right: 20px; top: 24px;
  left: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-paper);
  transform: rotate(-1.5deg);
  z-index: 3;
  display: flex; gap: 10px; align-items: center;
  max-width: none;
}
.impl__photo .overlay-chat .av{
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mate), var(--mate-deep));
  color: var(--paper); flex: 0 0 32px;
  display: grid; place-items:center;
  font-family: var(--f-display); font-weight: 700; font-size: 13px;
}
.impl__photo .overlay-chat .t{
  font-size: 12.5px; color: var(--ink); line-height: 1.35;
}
.impl__photo .overlay-chat .t b{ color: var(--mate-deep); }

.impl__text h3.impl__headline{
  font-family: var(--f-display);
  font-size: clamp(60px, 9vw, 136px);
  line-height: .9;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 500;
  margin: 14px 0 0;
}
.impl__text h3.impl__headline em{
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
}
.impl__text h3.impl__headline .m{
  display: inline-block; font-size: 0.42em; vertical-align: super;
  color: var(--ink-mute); font-style: normal;
  font-weight: 400;
}
.impl__sub{ font-size: 19px; color: var(--ink-soft); margin-top: 14px; max-width: 42ch; }
.impl__sub b{ color: var(--ink); font-weight: 600; }

.steps{
  margin-top: 26px;
  display:flex; flex-direction: column; gap: 12px;
}
.step{
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 18px;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  align-items:center;
  transition: transform .2s ease, border-color .2s ease;
}
.step:hover{ transform: translateX(6px); border-color: var(--terracotta); }
.step__n{
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display:grid; place-items:center;
  font-family: var(--f-display); font-weight: 600; font-size: 16px;
}
.step:nth-child(1) .step__n{ background: var(--terracotta); }
.step:nth-child(2) .step__n{ background: var(--mate); }
.step:nth-child(3) .step__n{ background: var(--sun); color: var(--ink); }
.step:nth-child(4) .step__n{ background: var(--ink); }
.step h5{ font-family: var(--f-display); font-size: 19px; margin: 0 0 3px; font-weight: 500; letter-spacing: -.01em; }
.step p{ margin:0; color: var(--ink-soft); font-size: 14px; }
.step .time{
  font-family: var(--f-hand); font-size: 19px; color: var(--terracotta);
  white-space: nowrap;
}

.impl__assist{
  margin-top: 26px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(107,123,63,.1), rgba(194,80,47,.08));
  border: 1px solid var(--mate-soft);
  border-radius: var(--r-md);
  display: flex; align-items:center; gap: 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.impl__assist svg{ flex: 0 0 36px; width: 36px; height: 36px; color: var(--mate-deep); }
.impl__assist b{ color: var(--ink); font-weight: 600; }

/* ===============================================================
   FEEDBACK LOOP
   =============================================================== */
.feedback{
  position: relative;
  padding: 100px 0 110px;
  margin-top: 60px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.feedback::before{
  content:""; position: absolute; inset: 0; pointer-events:none;
  background:
    radial-gradient(800px 400px at 20% 30%, rgba(194,80,47,.18), transparent 70%),
    radial-gradient(700px 400px at 80% 70%, rgba(107,123,63,.22), transparent 70%);
}
.feedback .wrap{ position: relative; z-index: 1; }
.feedback .eyebrow{ color: var(--sun); }
.feedback .eyebrow::before{ background: var(--sun); }
.feedback h2{
  font-family: var(--f-display);
  font-size: clamp(42px, 5.4vw, 84px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: .98;
  max-width: 16ch;
  margin: 20px 0 20px;
}
.feedback h2 em{
  font-style: italic;
  color: var(--sun);
  position: relative;
}
.feedback h2 em .circle{
  position: absolute; inset: -10px -14px;
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  transform: rotate(-3deg) scaleX(1.1);
  opacity: .9;
}
.feedback__lead{
  max-width: 54ch; font-size: 19px; color: #D9CFB8; margin: 0 0 46px;
}
.feedback__lead b{ color: var(--paper); }

/* Ticker */
.ticker{
  position: relative;
  margin: 38px -28px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__row{
  display: flex; gap: 14px;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.ticker__row + .ticker__row{ animation-duration: 62s; animation-direction: reverse; margin-top: 14px; }
.ticker:hover .ticker__row{ animation-play-state: paused; }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
.ticket{
  flex: 0 0 auto;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex; gap: 14px; align-items:flex-start;
  max-width: 400px;
  width: 400px;
}
.ticket .av{
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--sun));
  flex: 0 0 38px;
  display:grid; place-items:center;
  font-family: var(--f-display); font-weight: 600; color: var(--ink);
  font-size: 14px;
}
.ticket .txt{ font-size: 14.5px; color: #E8DFC9; line-height: 1.45; }
.ticket .txt b{ color: var(--paper); font-weight: 600; }
.ticket .stars{ color: var(--sun); font-size: 12px; letter-spacing: 2px; margin-bottom: 2px; }
.ticket .meta{
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sun); margin-top: 6px; font-weight: 600;
}

.feedback__bottom{
  display:flex; justify-content: space-between; align-items: end;
  gap: 30px; margin-top: 60px; flex-wrap: wrap;
}
.feedback__cta{ display:flex; gap: 12px; flex-wrap: wrap; }
.feedback__note{
  font-family: var(--f-hand); font-size: 24px; color: var(--sun);
  transform: rotate(-2deg);
  max-width: 18ch;
}

/* ===============================================================
   FINAL CTA — mate + ver planes
   =============================================================== */
.mate{
  padding: 110px 0 100px;
  text-align: center;
  position: relative;
}
.mate h2{
  font-family: var(--f-display);
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: .95;
  margin: 12px auto 24px;
  max-width: 14ch;
}
.mate h2 em{
  font-style: italic;
  color: var(--mate-deep);
  position: relative;
  display: inline-block;
}
.mate h2 em::after{
  content:"🧉";
  position: absolute; right: -0.8em; top: -0.3em;
  font-size: 0.6em; font-style: normal;
  transform: rotate(8deg);
}
.mate p{ color: var(--ink-soft); font-size: 19px; max-width: 48ch; margin: 0 auto 32px; }
.mate__ctas{ display:flex; gap: 12px; justify-content:center; flex-wrap: wrap; margin-bottom: 22px; }
.mate__fine{
  margin-top: 72px; font-size: 13px; color: var(--ink-mute);
  max-width: 52ch; margin-left: auto; margin-right: auto;
}
.mate__whats{
  margin-top: 50px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.mate__whats-label{
  font-family: var(--f-hand);
  font-size: 22px;
  color: var(--ink-soft);
}

/* ===============================================================
   FOOTER
   =============================================================== */
.footer{
  background: var(--cream-deep);
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
}
.footer__grid{
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer h6{
  font-family: var(--f-body);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700; margin: 0 0 14px;
}
.footer ul{ list-style: none; margin:0; padding: 0; display:flex; flex-direction: column; gap: 8px; }
.footer ul a{ color: var(--ink-soft); font-size: 15px; }
.footer ul a:hover{ color: var(--ink); }
.footer__intro{ color: var(--ink-soft); font-size: 15px; margin: 14px 0 0; max-width: 36ch; }
.footer__bottom{
  display:flex; justify-content: space-between; align-items:center;
  margin-top: 56px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-mute);
  flex-wrap: wrap; gap: 10px;
}
.footer__bottom .made{ font-family: var(--f-hand); font-size: 18px; color: var(--terracotta); }

/* ===============================================================
   RESPONSIVE
   =============================================================== */
@media (max-width: 1024px){
  .hero__grid{ grid-template-columns: 1fr; gap: 80px; }
  .hero__photo{ max-width: 520px; margin: 0 auto; width: 100%; aspect-ratio: 4/5; height: auto; min-height: 0; }
  .historia__grid{ grid-template-columns: 1fr; }
  .historia__photo{ max-width: 420px; }
  .carga__grid{ grid-template-columns: 1fr; }
  .carga__card{ min-height: 420px; }
  .carga__intro{ margin-left: 0; }
  .op-grid > *{ grid-column: span 12 !important; }
  .reportes__inner{ grid-template-columns: 1fr; }
  .impl__inner{ grid-template-columns: 1fr; gap: 40px; }
  .impl__photo{ max-width: 460px; margin: 0 auto; }
  .stats-block{ grid-template-columns: repeat(2, 1fr); }
  .footer__grid{ grid-template-columns: 1fr 1fr; }
  .sec-head{ grid-template-columns: 60px 1fr; }
  .sec-head__num{ font-size: 44px; }
  .sec-head__meta{ display:none; }
  .nav__links{ display:none; }
}
@media (max-width: 640px){
  .wrap{ padding: 0 20px; }
  .hero{ padding: 40px 0 24px; }
  .hero__headline{ font-size: 52px; }
  .stamp{ width: 108px; height: 108px; font-size: 13px; right: -10px; top: -10px; }
  .stamp b{ font-size: 22px; }
  .float-card{ left: -10px; }
  .trust__list{ font-size: 17px; gap: 16px; }
  .reportes__text h2{ font-size: 38px; }
  .impl__text h3.impl__headline{ font-size: 74px; }
  .feedback h2{ font-size: 46px; }
  .mate h2{ font-size: 52px; }
  .footer__grid{ grid-template-columns: 1fr; }
  .op-card{ padding: 22px; }
  .stats-block{ grid-template-columns: 1fr 1fr; padding: 24px; }
  .compare{ aspect-ratio: 4/3; }
  .notebook, .dashboard{ width: 92%; height: 92%; }
  .dashboard{ padding: 10px; gap: 6px; }
  .dashboard__stat{ padding: 10px; }
  .dashboard__stat .v{ font-size: 20px; }
  .ticket{ max-width: 320px; width: 320px; }
}

/* ===============================================================
   FADE-IN on load
   =============================================================== */
.fade-up{
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.fade-up.d1{ animation-delay: .08s; }
.fade-up.d2{ animation-delay: .18s; }
.fade-up.d3{ animation-delay: .28s; }
.fade-up.d4{ animation-delay: .38s; }
.fade-up.d5{ animation-delay: .5s; }
@keyframes fadeUp{ to{ opacity:1; transform: none; } }
