/* Fuentes autoalojadas (subset latin) */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url(/assets/fonts/figtree-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url(/assets/fonts/sora-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* SekuoIA v3 — Styles */

:root {
  --bg: #080A09;
  --card: #0E1211;
  --fg: #F4F1EA;
  --dim: rgba(244,241,234,.55);
  --faint: rgba(244,241,234,.58);
  --line: rgba(244,241,234,.1);
  --lime: #B4FF39;
  --ink: #080A09;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --error: #ff6b6b;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); }
body { -webkit-font-smoothing: antialiased; font-family: var(--font-body); color: var(--fg); }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--lime); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; border: none; background: none; outline: none; }
button { cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
input, textarea { font-family: inherit; caret-color: var(--lime); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 3px;
}
a:not([class]) { text-underline-offset: .2em; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(244,241,234,.14); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(244,241,234,.22); }
html { scrollbar-color: rgba(244,241,234,.14) var(--bg); scrollbar-width: thin; }

@keyframes sk-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* --- Grid overlay --- */
.page-wrapper {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(244,241,234,.055) 1px, transparent 1px);
  background-size: calc(100% / 5) 100%;
}
.page-content {
  position: relative;
  z-index: 1;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8,10,9,.78);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.header__logo svg { width: 20px; height: 24px; display: block; }
.header__logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.02em;
}
.header__logo-text span { color: var(--lime); }
.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.header__link {
  color: var(--dim);
  padding: 10px 13px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.header__link:hover { color: var(--fg); }
.header__cta {
  margin-left: 14px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 14px 20px;
  transition: opacity .2s;
}
.header__cta:hover { color: var(--ink); opacity: .88; }
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  min-height: 44px;
  padding: 12px 8px;
  margin-left: auto;
}
.header__burger span {
  display: block;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  padding: 40px 28px;
  flex-direction: column;
  gap: 8px;
  z-index: 49;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .header__cta {
  margin-left: 0;
  margin-top: 16px;
  align-self: flex-start;
  padding: 16px 24px;
  font-size: 13px;
}

/* --- Section heading pattern --- */
.sec-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
}
.sec-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 74px);
  line-height: .94;
  letter-spacing: -.04em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
.sec-title .lime { color: var(--lime); }
.sec-desc {
  margin: 0;
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.62;
  max-width: 46ch;
  text-wrap: pretty;
}
.sec-desc .bold { font-weight: 600; }
.sec-desc .dim { color: var(--dim); }

/* --- Buttons --- */
.btn-primary {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 18px 26px;
  transition: opacity .2s;
}
.btn-primary:hover { color: var(--ink); opacity: .88; }

.btn-outline {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  min-width: min(100%, 340px);
  border: 1px solid var(--line);
  background: rgba(244,241,234,.04);
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 20px 28px;
  transition: border-color .2s;
}
.btn-outline:hover { border-color: var(--faint); color: var(--fg); }

.btn-ghost {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 20px 4px;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--fg); }

/* --- Hero --- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  left: auto;
  width: min(52%, 760px);
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, var(--bg) 0%, var(--bg) 40%, rgba(8,10,9,.55) 62%, rgba(8,10,9,.35) 100%);
}
.hero__watermark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2%;
  z-index: 1;
  pointer-events: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(90px, 17vw, 270px);
  line-height: .8;
  letter-spacing: -.055em;
  color: rgba(244,241,234,.045);
  white-space: nowrap;
  user-select: none;
  padding-left: 26px;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) 28px 0;
  pointer-events: none;
}
.hero__content {
  pointer-events: auto;
  max-width: min(58%, 720px);
  min-width: min(100%, 320px);
}
.hero__title {
  animation: sk-rise .85s cubic-bezier(.2,.7,.2,1) .06s both;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(42px, 7.4vw, 96px);
  line-height: 1.16;
  letter-spacing: -.042em;
  text-transform: uppercase;
  margin: 0 0 clamp(24px, 2.8vw, 34px);
}
.hero__title-line {
  position: relative;
  display: inline-block;
  padding-bottom: calc(.1em + 5px);
}
.hero__title-line::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: currentColor;
  transform-origin: left center;
}
.hero__title-line--lime {
  color: var(--lime);
}
.hero__desc {
  animation: sk-rise .85s cubic-bezier(.2,.7,.2,1) .2s both;
  font-size: clamp(16px, 1.3vw, 19.5px);
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 clamp(28px, 3.4vw, 40px);
  text-wrap: pretty;
}
.hero__desc .bold { font-weight: 600; }
.hero__desc .dim { color: var(--dim); }
.hero__actions {
  animation: sk-rise .85s cubic-bezier(.2,.7,.2,1) .34s both;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: clamp(56px, 7vw, 104px);
}

/* --- Hero title motion: el humo se disipa --- */
@keyframes sk-failsafe { to { opacity: 1; } }
@keyframes sk-smoke-in {
  from { opacity: 0; filter: blur(var(--sk-blur)); transform: translateY(.35em) scale(1.08); }
  to { opacity: .45; filter: blur(calc(var(--sk-blur) * .55)); transform: translateY(-.04em); }
}
@keyframes sk-smoke-clear {
  from { opacity: .45; filter: blur(calc(var(--sk-blur) * .55)); transform: translateY(-.04em); }
  to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes sk-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sk-word-up { from { transform: translateY(115%); } to { transform: none; } }
@keyframes sk-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes sk-wm { from { opacity: 0; transform: translateX(-6%); } to { opacity: 1; transform: none; } }
@keyframes sk-puff-ch {
  0%, 100% { opacity: 1; filter: blur(0); transform: none; }
  40% { opacity: .5; filter: blur(5px); transform: translateY(-.06em); }
}
@keyframes sk-puff {
  from { opacity: 0; transform: translate(-50%, 0) scale(.4); }
  30% { opacity: .9; }
  to { opacity: 0; transform: translate(calc(-50% + var(--dx)), -1.4em) scale(2); }
}

.sk-motion .hero__title { --sk-blur: 16px; --step: 45ms; }
.sk-motion .hero__title:not(.is-ready) { opacity: 0; animation: sk-failsafe 0s 2.5s forwards; }
.sk-motion .hero__title.is-ready { animation: none; }
.sk-w { display: inline-block; white-space: nowrap; }
.sk-ch { display: inline-block; }
.sk-motion .hero__title.is-ready .sk-ch {
  animation:
    sk-smoke-in .6s cubic-bezier(.2,.7,.3,1) calc(var(--i) * var(--step) + 60ms) both,
    sk-smoke-clear .45s cubic-bezier(.4,0,.2,1) calc(var(--i) * var(--step) + 780ms) forwards;
  will-change: filter, opacity, transform;
}
.sk-motion .hero__title.is-done .sk-ch { animation: none; will-change: auto; }
.sk-motion .hero__title.is-ready .hero__title-line::after {
  animation: sk-underline .7s cubic-bezier(.7,0,.2,1) 1.05s both;
}
.sk-motion .hero__title.is-ready .hero__title-line--lime::after { animation-delay: 1.75s; }
.sk-mask {
  display: inline-block;
  clip-path: inset(-.4em -.2em 0 -.2em);
}
.sk-word { display: inline-block; }
.sk-motion .hero__title.is-ready .sk-word {
  background: linear-gradient(100deg, var(--lime) 0 38%, #F2FFD9 50%, var(--lime) 62% 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    sk-word-up .75s cubic-bezier(.3,1.35,.45,1) calc(1.35s + var(--w) * .13s) both,
    sk-shine 1s cubic-bezier(.4,0,.2,1) calc(2s + var(--w) * .18s) both;
}
.sk-motion .hero__watermark { animation: sk-wm 2.6s cubic-bezier(.2,.7,.2,1) .3s both; }
.sk-motion .hero__desc { animation-delay: 1.7s; }
.sk-motion .hero__actions { animation-delay: 1.85s; }

/* Guiño: el humo vuelve al pasar el mouse por "humo" */
.sk-humo { position: relative; }
.sk-motion .hero__title.is-done .sk-humo.is-puff .sk-ch {
  animation: sk-puff-ch .9s ease calc(var(--j) * 50ms) both;
}
.sk-puff {
  position: absolute;
  bottom: .35em;
  width: .55em;
  height: .55em;
  border-radius: 50%;
  background: rgba(244,241,234,.28);
  filter: blur(10px);
  pointer-events: none;
  animation: sk-puff 1.1s ease-out both;
}
@media (max-width: 767px) {
  .sk-motion .hero__title { --sk-blur: 10px; --step: 32ms; }
}

/* --- Trust strip --- */
.trust-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  background: var(--lime);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 0 28px;
}
.trust-strip__item {
  padding: 18px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.trust-strip__item + .trust-strip__item::before {
  content: '\00a0\00a0\00a0\2022\00a0\00a0\00a0';
  opacity: .4;
}

/* --- Problema --- */
.problema {
  border-bottom: 1px solid var(--line);
}
.problema__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) 28px;
}
.problema__head {
  margin-bottom: clamp(40px, 5vw, 72px);
}
.problema__quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 0;
}
.problema__quote {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: clamp(26px, 2.8vw, 40px) clamp(0px, 2vw, 32px);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(19px, 1.8vw, 27px);
  line-height: 1.28;
  letter-spacing: -.028em;
  text-wrap: pretty;
}

/* --- Servicios --- */
.servicios {
  border-bottom: 1px solid var(--line);
}
.servicios__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) 28px clamp(20px, 2vw, 32px);
}
.servicios__head {
  margin-bottom: clamp(30px, 3.6vw, 48px);
}
.servicios__list {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(30px, 3.6vw, 48px) 28px 0;
}
.srv-row {
  border-top: 1px solid var(--line);
  padding: clamp(22px, 2.6vw, 34px) 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(14px, 2.4vw, 34px);
  align-items: baseline;
  color: var(--fg);
  transition: color .2s;
}
.srv-row:last-child {
  border-bottom: 1px solid var(--line);
}
.srv-row:hover { color: var(--lime); }
.srv-row__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--lime);
  letter-spacing: -.02em;
}
.srv-row__body {
  display: grid;
  gap: 10px;
}
.srv-row__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(23px, 2.8vw, 40px);
  line-height: 1;
  letter-spacing: -.036em;
  text-transform: uppercase;
}
.srv-row__desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--dim);
  max-width: 56ch;
  text-wrap: pretty;
}
.srv-row__arrow {
  font-size: 17px;
  transition: transform .2s;
}
.srv-row:hover .srv-row__arrow { transform: translateX(4px); }

/* --- Origen (light section) --- */
.origen {
  background: #EFEFEA;
  color: #080A09;
  border-bottom: 1px solid var(--line);
}
.origen__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) 28px;
}
.origen__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), auto));
  gap: clamp(20px, 4vw, 60px);
  margin-bottom: clamp(36px, 4.6vw, 64px);
}
.origen__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 68px);
  line-height: .95;
  letter-spacing: -.042em;
  text-transform: uppercase;
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  max-width: 18ch;
  text-wrap: balance;
}
.origen__text {
  margin: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
  max-width: 46ch;
  text-wrap: pretty;
}
.origen__text .bold { font-weight: 600; }
.origen__text .dim { color: rgba(8,10,9,.62); }
.origen__statement {
  margin: 0 0 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.24;
  letter-spacing: -.02em;
}
.origen__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #080A09;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.origen__cta:hover { color: #080A09; opacity: .7; }
.origen__portrait {
  max-width: 400px;
}
.origen__portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* --- Portfolio --- */
.portfolio {
  border-bottom: 1px solid var(--line);
}
.portfolio__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) 28px;
}
.portfolio__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.portfolio__card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.portfolio__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.portfolio__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,10,9,.8) 100%);
  pointer-events: none;
}
.portfolio__card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
}

/* --- Contact CTA --- */
.contacto {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.contacto__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contacto__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.contacto__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8,10,9,.96) 0%, rgba(8,10,9,.86) 48%, rgba(8,10,9,.88) 100%);
}
.contacto__inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) 28px;
  pointer-events: none;
}
.contacto__grid {
  pointer-events: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.contacto__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 74px);
  line-height: .94;
  letter-spacing: -.042em;
  text-transform: uppercase;
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}
.contacto__title .lime { color: var(--lime); }
.contacto__body {
  max-width: 480px;
}
.contacto__desc {
  margin: 0 0 clamp(22px, 2.6vw, 32px);
  font-size: clamp(16px, 1.2vw, 18.5px);
  line-height: 1.62;
  max-width: 42ch;
  text-wrap: pretty;
}
.contacto__desc .bold { font-weight: 600; }
.contacto__desc .dim { color: var(--dim); }
.contacto__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-contact-outline {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 17px 24px;
  transition: border-color .2s;
}
.btn-contact-outline:hover { border-color: var(--faint); color: var(--fg); }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) 28px clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(28px, 4vw, 64px);
}
.footer__brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.footer__brand-name span { color: var(--lime); }
.footer__brand-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--dim);
  max-width: 34ch;
  margin-bottom: 24px;
}
.footer__brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color .2s;
}
.footer__brand-cta:hover { color: var(--lime); }
.footer__col {
  display: grid;
  gap: 12px;
  align-content: start;
  font-size: 13px;
}
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.footer__col a {
  color: var(--dim);
  padding: 8px 0;
  transition: color .2s;
}
.footer__col a:hover { color: var(--fg); }
.footer__bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 28px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy {
  font-size: 13px;
  color: var(--faint);
}
.footer__tagline {
  font-size: 13px;
  color: var(--faint);
}

/* --- Contact page form --- */
.form {
  display: grid;
  gap: 16px;
  max-width: 480px;
  background: rgba(244,241,234,.04);
  border: 1px solid rgba(244,241,234,.12);
  border-radius: 22px;
  padding: 30px 28px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }
.form__group { display: grid; gap: 7px; }
.form__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.form__input,
.form__textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(244,241,234,.14);
  border-radius: 11px;
  background: rgba(14,26,21,.6);
  color: var(--fg);
  font-size: 15px;
  transition: border-color .2s;
}
.form__input:focus,
.form__textarea:focus { border-color: var(--lime); }
.form__input::placeholder,
.form__textarea::placeholder { color: var(--faint); }
.form__textarea { min-height: 84px; resize: vertical; }
.form__input:-webkit-autofill,
.form__input:-webkit-autofill:hover,
.form__input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--fg);
  -webkit-box-shadow: 0 0 0 1000px #0e1a15 inset;
  caret-color: var(--fg);
  transition: background-color 9999s ease-out;
}
.form__captcha { min-height: 78px; margin-top: 4px; }
.form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.form__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form__success .check-icon {
  width: 56px;
  height: 56px;
  background: rgba(180,255,57,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--lime);
  font-size: 1.5rem;
}

/* --- Page hero (inner pages) --- */
.page-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 60px);
}
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(36px, 5.6vw, 78px);
  line-height: .94;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

/* --- Container utility (inner pages) --- */
.container { max-width: 1440px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 860px; }

/* --- Scroll targets for service anchors --- */
.srv-detail[id] {
  scroll-margin-top: 80px;
}

/* --- Servicios detail page --- */
.servicios__intro {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.62;
  color: var(--dim);
  max-width: 64ch;
  margin-bottom: clamp(48px, 6vw, 80px);
  text-wrap: pretty;
}
.srv-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
}
.srv-detail:nth-of-type(even) .srv-detail__img {
  order: 1;
}
.srv-detail__img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
}
.srv-detail__img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.srv-detail__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--lime);
  margin-bottom: 14px;
}
.srv-detail__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  margin-bottom: clamp(14px, 1.6vw, 20px);
}
.srv-detail__desc {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.62;
  color: var(--dim);
  max-width: 46ch;
  text-wrap: pretty;
}
.srv-detail__desc + .srv-detail__desc { margin-top: 12px; }
.servicios__cierre {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.62;
  color: var(--dim);
  max-width: 64ch;
  margin-top: clamp(20px, 3vw, 40px);
  padding-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line);
  text-wrap: pretty;
}
.servicios__cta {
  margin-top: clamp(28px, 3vw, 40px);
  padding-bottom: clamp(20px, 2vw, 32px);
}
/* --- Preguntas frecuentes --- */
.faq {
  margin-top: clamp(48px, 6vw, 96px);
  padding-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line);
  max-width: 820px;
}
.faq__title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-weight: 600;
  font-size: clamp(16px, 1.25vw, 18px);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--lime); font-family: var(--font-mono); transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--lime); }
.faq__a {
  color: var(--dim);
  line-height: 1.62;
  max-width: 68ch;
  padding-bottom: 22px;
  text-wrap: pretty;
}
.contacto__nap { font-size: 15px; margin-top: 12px; }
.contacto__nap a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.srv-card__badge {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
}

/* --- Origen inner page --- */
.origen-page { padding-bottom: clamp(60px, 8vw, 100px); }
.origen-page__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.origen-page__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.origen-page__story p {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--dim);
  margin-bottom: clamp(18px, 2vw, 26px);
  max-width: 52ch;
  text-wrap: pretty;
}
.origen-page__h2 { font-family: var(--font-head); font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 700; color: var(--fg); letter-spacing: -0.01em; margin: 2.2em 0 0.6em; }
.origen-page__story p strong { color: var(--fg); font-weight: 600; }
.origen-page__story p.origen-page__highlight {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--lime);
  margin: clamp(28px, 3vw, 44px) 0;
}
.origen-page__portrait {
  position: sticky;
  top: 100px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.origen-page__portrait img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.origen-page__values-section {
  max-width: 720px;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.origen-page__values-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(18px, 1.4vw, 22px);
  margin-bottom: clamp(16px, 2vw, 24px);
}
.origen-page__values { list-style: none; }
.origen-page__values li {
  position: relative;
  padding-left: 24px;
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.62;
  color: var(--dim);
  margin-bottom: 16px;
}
.origen-page__values li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 600;
}
.origen-page__closing {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  color: var(--dim);
  margin-bottom: clamp(24px, 3vw, 36px);
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  padding: 12px 20px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.skip-link:focus-visible {
  top: 8px;
  color: var(--ink);
}

/* --- Active nav indicator --- */
.header__link--active { color: var(--fg); }

/* --- Contact page layout --- */
.contacto--page {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.contacto--page .contacto__inner { width: 100%; }
.contacto--page .contacto__grid { align-items: start; }
.contacto--page .contacto__desc { margin-top: clamp(20px, 2vw, 32px); }
.contacto--page .contacto__actions { margin-top: 24px; }

/* --- Origen homepage preview --- */
.origen__grid--centered { align-items: center; }
.origen__portrait--sm { max-width: 280px; }
.origen__statement { margin-top: clamp(16px, 2vw, 24px); }

/* --- Servicios intro no-top-pad --- */
.servicios-body { padding-top: 0; }

/* --- Form error --- */
.form__error-text { color: var(--error); }

/* --- Fade-up animation --- */
.fade-up {
  animation: sk-rise .85s cubic-bezier(.2,.7,.2,1) both;
}

/* --- Inline form validation --- */
.form__input:invalid:not(:focus):not(:placeholder-shown),
.form__textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: var(--error);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__cta.desktop-only { display: none; }
  .header__burger { display: flex; }

  .trust-strip { padding: 6px 20px; }
  .trust-strip__item { font-size: 11px; padding: 10px 0; }
  .trust-strip__item + .trust-strip__item::before { content: '\00a0\2022\00a0'; }

  .hero__bg { width: 100%; opacity: .35; }
  .hero__gradient { background: linear-gradient(180deg, var(--bg) 0%, rgba(8,10,9,.6) 100%); }
  .hero__content { max-width: 100%; }

  .btn-outline { min-width: 100%; }
  .contacto__actions { flex-direction: column; }
  .contacto__actions .btn-primary,
  .contacto__actions .btn-contact-outline { width: 100%; justify-content: center; }

  .origen__portrait { max-width: 100%; }

  .srv-detail { grid-template-columns: 1fr; }
  .srv-detail:nth-of-type(even) .srv-detail__img { order: 0; }

  .origen-page__grid { grid-template-columns: 1fr; }
  .origen-page__portrait { position: static; max-width: 320px; }

  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .header__inner { padding: 14px 20px; }
  .hero__inner { padding: clamp(40px, 7vw, 104px) 20px 0; }
  .problema__inner,
  .servicios__inner,
  .servicios__list,
  .origen__inner,
  .portfolio__inner,
  .contacto__inner { padding-left: 20px; padding-right: 20px; }
  .footer__inner { padding-left: 20px; padding-right: 20px; }
  .footer__bottom { padding-left: 20px; padding-right: 20px; }
}

/* --- WhatsApp floating button --- */
.wsp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transition: transform .2s, box-shadow .2s;
}
.wsp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,.45);
  color: #fff;
}
.wsp-float svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 480px) {
  .wsp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .wsp-float svg { width: 26px; height: 26px; }
}

/* =========================================================
   Blog, artículos y páginas de servicio generadas (_src)
   ========================================================= */
.page-hero--prose h1 { text-transform: none; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(32px, 4.6vw, 60px); }
.page-hero__lede { margin-top: clamp(18px, 2vw, 28px); color: var(--dim); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; max-width: 62ch; text-wrap: pretty; }
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.crumbs a { color: var(--faint); }
.crumbs a:hover { color: var(--lime); }
.post-meta { margin-top: 22px; font-family: var(--font-mono); font-size: 13px; color: var(--faint); }
.post-meta a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

.prose-section { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 120px); }
.prose__figure { margin: 0 0 clamp(32px, 4vw, 48px); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.prose__figure img { display: block; width: 100%; height: auto; }
.page-hero--prose:has(.page-banner) { padding-bottom: 0; border-bottom: 0; }
.page-banner { margin: clamp(36px, 5vw, 64px) 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.page-banner img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 640px) { .page-banner img { aspect-ratio: 4 / 3; object-position: 70% 50%; } }

.toc { border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-bottom: clamp(32px, 4vw, 48px); background: var(--card); }
.toc__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.toc a { color: var(--dim); }
.toc a:hover { color: var(--lime); }

.prose { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.7; color: rgba(244,241,234,.82); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-head); font-weight: 700; color: var(--fg); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.02em; margin-top: 2.2em; scroll-margin-top: 100px; }
.prose h3 { font-family: var(--font-head); font-weight: 600; color: var(--fg); font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; margin-top: 1.8em; scroll-margin-top: 100px; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose li::marker { color: var(--lime); }
.prose blockquote { border-left: 3px solid var(--lime); padding: 4px 0 4px 20px; color: var(--fg); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose code { font-family: var(--font-mono); font-size: .88em; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.prose__table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9em; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 500; background: var(--card); }
.prose tr:last-child td { border-bottom: 0; }
.prose__cta { margin: 2.2em 0; }
.prose .btn-primary { text-decoration: none; color: var(--ink); }
.prose .faq { margin-top: clamp(48px, 6vw, 80px); max-width: none; }
.faq__a p + p { margin-top: .8em; }

.post-cta { margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.post-cta__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; }
.post-cta__text { color: var(--dim); margin-top: 10px; line-height: 1.6; }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.post-list { border-bottom: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 8px; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--line); }
.post-row__date { grid-column: 1; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.post-row__title { grid-column: 1; font-family: var(--font-head); font-weight: 700; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.2; letter-spacing: -.02em; transition: color .2s; }
.post-row__desc { grid-column: 1; color: var(--dim); line-height: 1.55; max-width: 64ch; }
.post-row__arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; color: var(--lime); font-size: 22px; transition: transform .2s; }
.post-row:hover .post-row__title { color: var(--lime); }
.post-row:hover .post-row__arrow { transform: translateX(4px); }

.home-faq { border-bottom: 1px solid var(--line); }
.home-faq__inner { max-width: 1440px; margin: 0 auto; padding: clamp(60px, 8vw, 120px) 28px; }
.home-faq .faq { margin-top: 0; padding-top: 0; border-top: 0; }
.home-faq__more { margin-top: 28px; }
.home-faq__more a, .srv-detail__link { color: var(--lime); font-family: var(--font-head); font-weight: 600; }
.home-faq__more a:hover, .srv-detail__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   Títulos de páginas internas: motion tipográfico
   (mismo lenguaje que el hero del inicio; solo con .sk-motion)
   ========================================================= */
.page-hero h1::after,
.contacto__title::after {
  content: '';
  display: block;
  width: clamp(56px, 6vw, 96px);
  height: 5px;
  margin-top: .32em;
  background: var(--lime);
  transform-origin: left center;
}
.sk-motion .page-hero h1:not(.is-ready),
.sk-motion .contacto__title:not(.is-ready) { opacity: 0; animation: sk-failsafe 0s 2.5s forwards; }
.sk-motion .sk-kt.is-ready { animation: none; opacity: 1; }
.sk-motion .sk-kt.is-ready .sk-word {
  animation: sk-word-up .75s cubic-bezier(.3,1.35,.45,1) calc(.12s + var(--w) * .07s) both;
}
.sk-motion .sk-kt.is-ready .sk-last,
.sk-motion .sk-kt.is-ready .lime .sk-word {
  background: linear-gradient(100deg, var(--lime) 0 38%, #F2FFD9 50%, var(--lime) 62% 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    sk-word-up .75s cubic-bezier(.3,1.35,.45,1) calc(.12s + var(--w) * .07s) both,
    sk-shine 1s cubic-bezier(.4,0,.2,1) calc(.6s + var(--sk-n) * .07s) both;
}
.sk-motion .sk-kt.is-ready::after {
  animation: sk-underline .7s cubic-bezier(.7,0,.2,1) calc(.45s + var(--sk-n) * .07s) both;
}

.blog-intro { color: var(--dim); font-size: 1.05rem; line-height: 1.7; max-width: 62ch; margin: 0 0 clamp(28px, 4vw, 48px); }
