/* ─────────────────────────────────────────────
   Agustín Macko — Portfolio
   ───────────────────────────────────────────── */

:root {
  --bg: #F6F2EA;
  --card: #FFFDF8;
  --ink: #1E1D1A;
  --ink-2: #5C584F;
  --line: #E2DACB;
  --flow: #9CBF24;
  --accent: #D9F26B;
  --accent-ink: #2E3A06;
  --radius: 22px;
  --wrap: 1120px;
  --font-title: "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round' d='M3 5.5h18v13H3z'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linejoin='round' d='M3.5 6l8.5 7 8.5-7'/%3E%3C/svg%3E");
  --ico-in: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E");
  --ico-be: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.969 16.927a2.561 2.561 0 0 0 1.901.677 2.501 2.501 0 0 0 1.531-.475c.362-.235.636-.584.779-.99h2.567a4.955 4.955 0 0 1-1.888 2.769 5.576 5.576 0 0 1-3.08.841 6.08 6.08 0 0 1-2.25-.389 4.639 4.639 0 0 1-1.7-1.114 5.121 5.121 0 0 1-1.09-1.735 6.426 6.426 0 0 1-.387-2.25 6.103 6.103 0 0 1 .399-2.198 5.1 5.1 0 0 1 2.814-2.934 5.28 5.28 0 0 1 2.198-.425 4.925 4.925 0 0 1 2.349.52 4.746 4.746 0 0 1 1.641 1.402 5.719 5.719 0 0 1 .926 2.007 7.47 7.47 0 0 1 .205 2.354h-7.64c-.041.715.198 1.418.674 1.94zm3.345-5.619a2.107 2.107 0 0 0-1.633-.589 2.688 2.688 0 0 0-1.191.241 2.318 2.318 0 0 0-.758.595 2.227 2.227 0 0 0-.401.753 3.44 3.44 0 0 0-.134.707h4.731a3.2 3.2 0 0 0-.614-1.707zM9.49 6.203c.487-.007.973.04 1.451.141.426.086.83.254 1.19.495.339.235.608.557.779.931.203.465.299.97.285 1.478a2.752 2.752 0 0 1-.433 1.566c-.315.458-.753.822-1.264 1.052.694.178 1.304.598 1.72 1.187.387.587.588 1.279.575 1.983a3.4 3.4 0 0 1-.36 1.609 3.141 3.141 0 0 1-.972 1.109c-.418.29-.884.502-1.377.626-.502.13-1.02.195-1.539.194H0V6.203h9.49zm-.338 4.992a1.58 1.58 0 0 0 .999-.305c.28-.228.43-.578.4-.936a1.18 1.18 0 0 0-.125-.588.949.949 0 0 0-.339-.36 1.307 1.307 0 0 0-.485-.18 3.15 3.15 0 0 0-.572-.049H3.157v2.418h5.995zm.233 5.23c.21.002.419-.019.624-.063a1.602 1.602 0 0 0 .52-.22c.153-.105.275-.247.357-.412.095-.217.138-.453.126-.689a1.371 1.371 0 0 0-.465-1.169 1.853 1.853 0 0 0-1.166-.347H3.157v2.9h6.228zm6.018-9.616h5.898v1.428h-5.898V6.809z'/%3E%3C/svg%3E");
  --wa-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1EBE5B; }
.btn-wa::before,
.ico::before {
  content: ""; width: 20px; height: 20px; flex-shrink: 0; background: currentColor;
  -webkit-mask: var(--ico, var(--wa-icon)) center / contain no-repeat;
  mask: var(--ico, var(--wa-icon)) center / contain no-repeat;
}
.ico { display: inline-flex; align-items: center; gap: 10px; }
.ico::before { width: 18px; height: 18px; }
.ico-wa { --ico: var(--wa-icon); }
.ico-mail { --ico: var(--ico-mail); }
.ico-in { --ico: var(--ico-in); }
.ico-be { --ico: var(--ico-be); }
.nav .ico::before { width: 16px; height: 16px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Header ── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font: 700 20px/1 var(--font-title); letter-spacing: -0.02em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) { font-size: 16px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ink); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu { display: none; }

/* ── Hero ── */
.hero { padding: 64px 0 0px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.hello {
  display: inline-block; margin-bottom: 20px;
  font: 600 18px/1 var(--font-title); color: var(--ink-2);
}
.hello::after { content: " 👋"; }
.hero h1 { font-size: clamp(40px, 5vw, 62px); letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-text { font-size: 20px; color: var(--ink-2); max-width: 34em; margin-bottom: 32px; }

.mark {
  background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%);
  padding: 0 .08em;
}

.hero-shots { position: relative; margin: 0; aspect-ratio: 1 / 1; }
.shot {
  position: absolute;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(30, 29, 26, .14);
}
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.shot-back { top: 4%; right: 0; width: 88%; transform: rotate(2deg); }
.shot-front { bottom: 6%; left: 0; width: 80%; transform: rotate(-2.5deg); }
.sticker {
  position: absolute; right: 4%; bottom: 0; z-index: 2;
  background: var(--accent); color: var(--accent-ink);
  font: 600 16px/1.2 var(--font-title);
  padding: 12px 18px; border-radius: 999px;
  transform: rotate(-4deg);
  box-shadow: 0 8px 24px rgba(30, 29, 26, .12);
}

/* ── Ticker ── */
.ticker { margin-top: 72px; }
.ticker-label {
  font: 400 13px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink-2); margin-bottom: 16px;
}
.ticker-row {
  overflow: hidden;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; width: max-content;
  animation: ticker 40s linear infinite;
}
@media (hover: hover) {
  .ticker-row:hover .ticker-track { animation-play-state: paused; }
}
.ticker-track li { display: flex; align-items: center; white-space: nowrap; }
.ticker-track li::after { content: "✦"; margin-inline: 28px; font-size: .7em; opacity: .5; }
.ticker-solutions li { font: 600 26px/1 var(--font-title); letter-spacing: -0.02em; padding: 22px 0; }
.ticker-solutions li::after { color: #9DB53A; opacity: 1; }
@keyframes ticker {
  to { transform: translateX(-50%); }
}

.only-mobile { display: none; }

/* ── Secciones ── */
.section { padding: 112px 0; }
.section-warm { background: var(--bg); }
.section-tint { background: white; }
.title { font-size: clamp(34px, 4.2vw, 52px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head p { font-size: 20px; color: var(--ink-2); margin-top: 12px; }
.lead { font-size: 21px; color: var(--ink-2); max-width: 36em; }

/* ── ¿Te suena? ── */
.thread { margin-top: 56px; display: flex; flex-direction: column; }
.thread-in { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.thread-in .msg:nth-child(2) { margin-left: 22%; }
.thread-in .msg:nth-child(3) { margin-left: 6%; }
.thread-in .msg:nth-child(4) { margin-left: 38%; }
.thread-in .msg:nth-child(5) { margin-left: 14%; }
.thread-in .msg:nth-child(6) { margin-left: 30%; }

.msg {
  max-width: min(30em, 100%);
  padding: 16px 22px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px 20px 20px 6px;
  font-size: 18px; line-height: 1.45; color: var(--ink);
}

.msg-reply {
  align-self: flex-end; margin-top: 44px;
  display: flex; align-items: flex-end; gap: 14px;
  background: #D9FDD3; border-color: transparent; color: #111B21;
  border-radius: 20px 20px 6px 20px;
  font-weight: 500;
  max-width: none; white-space: nowrap;
}
.msg-meta { font: 400 11px/1.6 var(--font-mono); letter-spacing: -0.08em; color: #7C8B7E; white-space: nowrap; }

.thread-cta {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px;
}
.thread-cta p { font-size: 20px; color: var(--ink-2); white-space: nowrap; }

.js .thread .reveal { transition-delay: calc(var(--i, 0) * 90ms); }

/* ── Proyectos ── */
.section-head > div { max-width: 44em; }
.carousel-nav { display: flex; gap: 10px; }
html:not(.js) .carousel-nav { display: none; }
.carousel-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font: 500 20px/1 var(--font-body); cursor: pointer;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.carousel-btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.carousel-btn:disabled { opacity: .3; cursor: default; }

.carousel {
  --edge: max(24px, calc((100vw - var(--wrap)) / 2));
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding: 8px var(--edge) 24px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: -3px; }
.project {
  flex: 0 0 min(540px, 86vw);
  scroll-snap-align: start;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.project:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(30, 29, 26, .08); }
.project { position: relative; }
.project-status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 4px;
  font: 500 12.5px/1.4 var(--font-mono); color: var(--ink-2);
}
.project-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #F2B544; flex-shrink: 0; }
.project-badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  font: 500 11px/1 var(--font-mono); letter-spacing: .02em; color: var(--ink-2);
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
  padding: 7px 10px; border-radius: 999px;
}
.project-visual { aspect-ratio: 16 / 10; background: #E7E0D1; overflow: hidden; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-body { padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project-tag { font: 500 12.5px/1.4 var(--font-mono); color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.project-stack {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.project-stack li {
  font: 500 12.5px/1 var(--font-mono);
  color: var(--chip-ink, var(--ink));
  background: var(--chip-bg, var(--bg));
  border: 1px solid color-mix(in srgb, var(--chip-ink, var(--line)) 14%, transparent);
  padding: 7px 11px; border-radius: 999px;
}
.project h3 { font-size: 24px; }
.project-body > p:not(.project-tag):not(.project-status) { color: var(--ink-2); font-size: 17px; flex: 1; }
.project-body > p strong { color: var(--ink); font-weight: 600; }

.link {
  align-self: flex-start; margin-top: 12px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  padding: 9px 18px; border: 1.5px solid var(--ink); border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.link:hover { background: var(--ink); color: var(--card); }


/* Visual recreado · panel */
.mini-row {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--card); border-radius: 10px; padding: 12px 16px; font: 400 14px/1.2 var(--font-mono);
}
.mini-head { background: transparent; font-size: 12px; font-weight: 500; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; padding-block: 4px; }
.pill { font: 500 12px/1 var(--font-mono); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.pill-blue { background: #DCE7FF; color: #1F4FB8; }
.pill-amber { background: #FFEDC7; color: #8A5A00; }
.pill-green { background: #DDF3D8; color: #2D6A21; }

.panel { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: #EEF0F4; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.panel-title { font: 600 17px/1 var(--font-title); letter-spacing: -0.01em; }
.panel-search {
  flex: 0 1 45%; padding: 8px 12px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--line);
  font: 400 12px/1 var(--font-mono); color: #9A968C;
}
.panel-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.panel-filters span {
  font: 400 11.5px/1 var(--font-mono); padding: 6px 10px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
}
.panel-filters .is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.panel .mini-row { padding: 10px 14px; font-size: 13px; }

/* ── Otros trabajos ── */

/* ── Cómo trabajo ── */
.steps {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px;
}
.step::before {
  content: ""; position: absolute; top: 19px; left: 56px; right: -38px;
  height: 2px; border-radius: 2px; background: var(--flow);
  transform-origin: left; transition: transform .7s ease;
}
.step::after {
  content: ""; position: absolute; top: 15px; right: -38px; width: 10px; height: 10px;
  border-top: 2px solid var(--flow); border-right: 2px solid var(--flow);
  transform: rotate(45deg); transition: opacity .3s ease;
}
.js .step.reveal:not(.is-visible)::before { transform: scaleX(0); }
.js .step.reveal:not(.is-visible)::after { opacity: 0; }
.js .step.reveal::before { transition-delay: calc(var(--i, 0) * 120ms + .3s); }
.js .step.reveal::after { transition-delay: calc(var(--i, 0) * 120ms + .9s); }
.step:last-child::before { right: 4px; }
.step:last-child::after { right: 4px; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.step-label {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 4px;
  font: 500 13px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2);
}
.step-n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--ink); color: var(--bg); font: 500 13px/1 var(--font-mono);
}
.step h3 { font-size: 26px; }
.step > p:not(.step-label) { color: var(--ink-2); font-size: 17px; max-width: 26em; }
.js .steps .reveal { transition-delay: calc(var(--i, 0) * 120ms); }
/* ── Sobre mí ── */
.about-kicker {
  font: 400 13px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink-2); margin-bottom: 20px;
}
.about-statement { font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.03em; max-width: 16em; }

.about-lead { font-size: 21px; color: var(--ink-2); max-width: 38em; margin-top: 28px; }
.about-intro .about-statement { font-size: clamp(36px, 4.2vw, 56px); }
.about-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.about-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.about-facts li {
  font: 500 13px/1 var(--font-mono); color: var(--ink);
  padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
}

.duo { position: relative; margin: 0; aspect-ratio: 5 / 4; }
.duo-card { position: absolute; width: 66%; border-radius: 16px; padding: 16px 18px 20px; box-shadow: 0 24px 48px rgba(30, 29, 26, .12); }
.duo-card p { margin: 0; }
.duo-design { top: 0; left: 0; background: #FFFFFF; border: 1px solid var(--line); transform: rotate(-3deg); }
.duo-code { right: 0; bottom: 36px; background: var(--ink); color: #E8E3D8; transform: rotate(2.5deg); }
.duo-bar { display: flex; align-items: center; gap: 5px; margin-bottom: 14px !important; font: 400 11.5px/1 var(--font-mono); color: var(--ink-2); }
.duo-code .duo-bar { color: #A8A194; }
.duo-bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.duo-code .duo-bar span { background: #3A3833; }
.duo-bar span:last-of-type { margin-right: 6px; }
.duo-title { font: 600 20px/1.2 var(--font-title); margin-bottom: 12px !important; }
.duo-row {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px;
  background: var(--bg); font-size: 14px;
}
.duo-row span { font: 500 13px/1.4 var(--font-mono); color: var(--ink-2); }
.duo-btn {
  margin-top: 12px !important; text-align: center; padding: 11px; border-radius: 999px;
  background: var(--ink); color: var(--card); font-weight: 600; font-size: 14px;
}
.duo-code pre { margin: 0; font: 400 13px/1.7 var(--font-mono); white-space: pre; overflow: hidden; }
.duo-code i { font-style: normal; color: #9CC4F2; }
.duo-code b { font-weight: 400; color: #D9F26B; }
.duo-code s { text-decoration: none; color: #F2B8A0; }
.duo-arrow { position: absolute; top: 52%; left: 6%; width: 84px; transform: rotate(35deg); z-index: 1; }
.duo-arrow path { fill: none; stroke: var(--flow); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.duo figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; text-align: center;
  font: 500 13px/1.4 var(--font-mono); color: var(--ink-2);
}

.steps-kicker { margin: 72px 0 24px; padding-top: 40px; border-top: 1px solid var(--line); }


/* ── Contacto ── */
.contact { background: var(--ink); color: var(--bg); }
.contact .lead { color: #BDB6A8; margin: 16px 0 32px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list a { color: #D8D2C4; text-decoration: none; font-size: 17px; }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.contact-list .ico-wa,
.contact-list .ico-wa:hover { color: #25D366; }

.form {
  background: var(--card); color: var(--ink); border-radius: var(--radius);
  padding: 36px; display: flex; flex-direction: column;
}
.form-title { font: 600 24px/1.2 var(--font-title); margin-bottom: 20px; }
.form label { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.form input,
.form textarea {
  width: 100%; margin-bottom: 18px; padding: 13px 16px;
  font: 400 17px/1.4 var(--font-body); color: var(--ink);
  background: white; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s;
}
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--ink); }
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { margin-top: 4px; }

/* ── Footer ── */
.footer { background: var(--ink); color: #9C9587; border-top: 1px solid #34322D; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 28px 0; font-size: 15px; }

/* ── Reveal ── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-shots { max-width: 560px; width: 100%; aspect-ratio: 5 / 4; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step:not(:last-child)::before { top: 52px; bottom: -26px; left: 19px; right: auto; width: 2px; height: auto; transform-origin: top; }
  .js .step.reveal:not(.is-visible)::before { transform: scaleY(0); }
  .step:last-child::before,
  .step:last-child::after { display: none; }
  .step:not(:last-child)::after { top: auto; bottom: -26px; left: 15px; right: auto; transform: rotate(135deg); }
  .step { padding-left: 64px; }
  .step-label { flex-direction: row; align-items: center; min-height: 40px; }
  .step-n { position: absolute; left: 0; top: 0; }
  .thread-cta { flex-wrap: wrap; }
  .thread-cta p { white-space: normal; }
  .section { padding: 88px 0; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu {
    display: flex; flex-direction: column; gap: 4px;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu[aria-hidden="true"] { display: none; }
  .mobile-menu a:not(.btn) { padding: 12px 0; font-size: 20px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 16px; }

  body { font-size: 17px; }
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
  .hero { padding-top: 40px; }
  .hero-text { font-size: 18px; }
  .sticker { right: 8px; bottom: -8px; font-size: 14px; }
  .ticker { margin-top: 56px; }
  .ticker-solutions li { font-size: 20px; padding: 18px 0; }
  .ticker-track li::after { margin-inline: 18px; }
  .thread { margin: 36px 0 0; }
  .thread-in { gap: 10px; }
  .thread-in .msg:nth-child(n) { margin-left: 0; }
  .thread-in .msg:nth-child(even) { margin-left: 6%; }
  .msg { max-width: 90%; padding: 14px 18px; font-size: 17px; }
  .msg-reply { margin-top: 32px; white-space: normal; max-width: 90%; }
  .thread-cta { margin-top: 40px; flex-direction: column; align-items: flex-start; }
  .thread-cta p { font-size: 18px; white-space: normal; }
  .section { padding: 72px 0; }
  .carousel-nav { display: none; }
  .carousel { gap: 16px; }
  .project-body { padding: 24px; }
  .about-lead { font-size: 18px; }
  .about-intro { grid-template-columns: 1fr; gap: 48px; }
  .duo { aspect-ratio: auto; display: flex; flex-direction: column; gap: 0; padding-bottom: 36px; }
  .duo-card { position: relative; width: 88%; }
  .duo-design { align-self: flex-start; }
  .duo-code { align-self: flex-end; bottom: auto; margin-top: -12px; }
  .duo-arrow { top: 42%; left: auto; right: 6%; transform: rotate(60deg); width: 60px; }
  .steps-kicker { margin-top: 48px; padding-top: 32px; }
  .step h3 { font-size: 22px; }
  .form { padding: 28px 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .ticker-row { overflow-x: auto; scrollbar-width: none; }
  .ticker-row::-webkit-scrollbar { display: none; }
  .btn, .project { transition: none; }
}
