/* nachoparietti.com: consultoría y charlas. Misma familia visual que thebehavioralstartup.com. */
:root {
  --paper: #F6F4EF; --white: #FFFFFF; --deep: #EEEBE4;
  --ink: #161412; --ink-soft: #3B3631; --mute: #6E665B;
  --coral: #E4403F; --coral-deep: #B92E2F; --hl: #F2968C;
  --line: rgba(22, 20, 18, 0.1);
  --sans: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: Lora, Georgia, 'Times New Roman', serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { background: var(--white); color: var(--ink); font-family: var(--serif); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--hl); }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .wrap { padding: 0 2rem; } }
.sans { font-family: var(--sans); }
mark { background: linear-gradient(transparent 48%, var(--hl) 48%, var(--hl) 90%, transparent 90%); color: inherit; padding: 0 0.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dark mark { background: linear-gradient(transparent 68%, var(--coral) 68%, var(--coral) 90%, transparent 90%); }

/* nav */
nav.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
nav.top .wrap { height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { font-weight: 600; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.links { display: flex; align-items: center; gap: 0.25rem; font-family: var(--sans); font-size: 0.92rem; }
.links a.l { text-decoration: none; padding: 0.5rem 0.75rem; border-radius: 999px; display: none; }
.links a.l:hover { background: rgba(22,20,18,0.05); }
@media (min-width: 820px) { .links a.l { display: inline-block; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; border-radius: 999px; padding: 0.8rem 1.5rem; text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s; cursor: pointer; border: 0; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--coral-deep); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-deep); }
.btn-line { border: 1px solid rgba(22,20,18,0.6); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-lang { border: 1px solid rgba(22,20,18,0.2); color: var(--ink-soft); padding: 0.45rem 0.8rem; font-size: 0.75rem; letter-spacing: 0.08em; }
nav .btn-ink { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* hero */
.hero { padding: 4rem 0 3rem; }
@media (min-width: 900px) { .hero { padding: 6rem 0 5rem; } }
.hero .wrap { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.25fr 1fr; gap: 4rem; } }
.hero .who { font-family: var(--sans); color: var(--mute); font-size: 0.98rem; margin-bottom: 1.25rem; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); line-height: 1.04; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 1.5rem; }
.hero p.sub { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 34rem; margin-bottom: 2rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.portrait { position: relative; width: min(78vw, 24rem); aspect-ratio: 1; margin: 0 auto; order: -1; }
@media (min-width: 900px) { .portrait { order: 0; } }
.portrait img.face { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.portrait .e { position: absolute; width: 13%; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ojos que miran (eyes.js los rota hacia el cursor) */
.watch { display: inline-block; }
.watch img { width: 100%; transition: transform 0.15s ease-out; }
.blink { animation: blink 7s infinite; }
@keyframes blink { 0%, 96%, 100% { transform: scaleY(1); } 98% { transform: scaleY(0.12); } }
@media (prefers-reduced-motion: reduce) { .blink, .portrait .e { animation: none; } }

/* credenciales */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.proof .wrap { display: grid; gap: 1.5rem; padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 760px) { .proof .wrap { grid-template-columns: repeat(3, 1fr); } }
.proof b { display: block; font-size: 1.9rem; line-height: 1.1; }
.proof span { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); }

/* secciones */
section.block { padding: 5rem 0; }
@media (min-width: 900px) { section.block { padding: 7rem 0; } }
section.paper { background: var(--paper); }
section.dark { background: var(--ink); color: #fff; }
.head { max-width: 44rem; margin-bottom: 3rem; }
.head .watch { width: 3.2rem; margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.015em; font-weight: 600; margin-bottom: 1.1rem; }
h3 { font-size: 1.35rem; line-height: 1.25; font-weight: 600; margin-bottom: 0.5rem; }
p { color: var(--ink-soft); font-size: 1.08rem; }
.dark p { color: rgba(255,255,255,0.75); }
.lead { font-size: 1.2rem; }

.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.doodle { mix-blend-mode: multiply; width: 100%; }
/* en el celular, que ninguna imagen ensanche la columna de la grilla (cortaba el texto a la derecha) */
.split > *, .talk > *, .feature > *, .hero .wrap > * { min-width: 0; }

.four { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .four { grid-template-columns: repeat(2, 1fr); } }
.four div { border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.25rem 1.4rem; background: var(--white); }
.four .n { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; color: var(--coral-deep); display: block; margin-bottom: 0.25rem; }
.four strong { font-size: 1.25rem; display: block; }
.four small { font-family: var(--sans); color: var(--mute); font-size: 0.88rem; }

.steps { counter-reset: s; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.steps li { list-style: none; display: grid; gap: 0.5rem 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .steps li { grid-template-columns: 4rem 16rem 1fr; align-items: baseline; } }
.steps .k { font-family: var(--sans); font-weight: 700; color: var(--coral-deep); font-size: 0.9rem; }
.steps h3 { margin: 0; }
.steps p { margin: 0; }
.note { margin-top: 1.5rem; font-family: var(--sans); font-size: 0.95rem; color: var(--mute); }

/* cómo arrancamos: fila compacta de 3 pasos debajo de los servicios */
.start { margin-top: 2.5rem; }
.start h3 { margin-bottom: 1rem; }
.start ol { list-style: none; display: grid; gap: 0.75rem; }
@media (min-width: 760px) { .start ol { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.start li { border: 1px solid var(--line); border-radius: 1.25rem; padding: 1.1rem 1.3rem; background: var(--white); font-family: var(--sans); font-size: 0.98rem; color: var(--ink-soft); }
.start li .n { display: block; font-weight: 700; font-size: 0.8rem; color: var(--coral-deep); margin-bottom: 0.25rem; }
.start p.test { margin-top: 1rem; font-size: 1rem; }

.cards { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards.c4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.75rem; box-shadow: 0 12px 30px -20px rgba(22,20,18,0.3); }
.card p { font-size: 1rem; }
.card .tag { font-family: var(--sans); font-size: 0.8rem; color: var(--mute); display: block; margin-bottom: 0.75rem; }
.card.wide { border-radius: 2rem; padding: 2rem; }
@media (min-width: 900px) { .card.wide { padding: 2.25rem 2.75rem; } }
.card.wide p { max-width: 48rem; }

.feature { display: grid; gap: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: 2rem; padding: 2rem; margin-bottom: 1.25rem; }
@media (min-width: 900px) { .feature { grid-template-columns: 1.3fr 1fr; padding: 2.75rem; align-items: center; } }
.stats { display: grid; gap: 1rem; }
.stats div { border-left: 3px solid var(--coral); padding-left: 1rem; }
.stats b { display: block; font-size: 2rem; line-height: 1.1; }
.stats span { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); }
.fine { font-family: var(--sans); font-size: 0.82rem; color: var(--mute); margin-top: 1rem; }
.fine a { text-decoration-color: rgba(22,20,18,0.3); text-underline-offset: 3px; }
.fine a:hover { color: var(--ink); text-decoration-color: var(--coral); }

.talk { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .talk { grid-template-columns: 1.3fr 1fr; } }
.talk .meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0 1.5rem; }
.talk .meta span { font-family: var(--sans); font-size: 0.85rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.85rem; color: var(--ink-soft); }
.qs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 1.5rem 0; }
.qs span { font-size: 1.15rem; font-weight: 600; background: var(--paper); border-radius: 1rem; padding: 0.8rem 1rem; }

.method { display: grid; gap: 1.5rem; align-items: center; border: 1px solid var(--line); border-radius: 2rem; padding: 2rem; background: var(--paper); }
@media (min-width: 560px) { .method { grid-template-columns: 7rem 1fr; padding: 2rem 2.25rem; } .method a.more { grid-column: 2; } }
.method img { width: 7rem; border-radius: 3px; transform: rotate(-3deg); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.4); }
.method a.more { font-family: var(--sans); font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 5px; }

.contact { text-align: center; }
.contact .watch { width: 4rem; margin: 0 auto 1.5rem; }
.contact h2 { color: #fff; max-width: 40rem; margin-left: auto; margin-right: auto; }
.contact p { max-width: 36rem; margin: 0 auto 2rem; }
.contact .ctas { justify-content: center; }
.contact .mail { display: block; margin-top: 1.5rem; font-family: var(--sans); color: rgba(255,255,255,0.7); }
.contact .mail a { color: #fff; }

footer { background: var(--ink); color: rgba(255,255,255,0.55); border-top: 1px solid rgba(255,255,255,0.12); padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); font-family: var(--sans); font-size: 0.85rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; }
footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
footer a:hover { color: #fff; }
footer .fl { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
