/* ==========================================================================
   PeopleOps — landing
   Paleta y tipografía del moodboard (Instrument Sans + Caveat).
   ========================================================================== */
:root {
  --ink: #101113;
  --ink-2: #3B3F45;
  --muted: #5F636A;
  --bg: #F5F5F3;
  --surface: #FFFFFF;
  --line: rgba(16, 17, 19, .09);
  --line-strong: rgba(16, 17, 19, .16);
  --green: #1FA97E;
  --green-deep: #157A5C;
  --green-bright: #2DC796;
  --green-soft: #E4F7EF;
  --dark: #0F1113;
  --dark-2: #171A1D;
  --dark-text: #C9CCD1;
  --dark-muted: #8C9198;
  --danger: #D9486A;

  --v-bg: #FDE4EA; --v-fg: #D9486A;
  --s-bg: #ECE4FB; --s-fg: #7A56D6;
  --m-bg: #E2EDFC; --m-fg: #3E7FD9;
  --j-bg: #DDF6EB; --j-fg: #1E9A6C;
  --o-bg: #FDEBD8; --o-fg: #D97C22;
  --e-bg: #FBE3F3; --e-fg: #C94DA3;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-xl: 32px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --z-sticky: 30; --z-float: 40;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Instrument Sans', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-wrap: pretty;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.06; font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; color: var(--ink); }
input, select, button, textarea { font-family: inherit; font-size: inherit; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.accent { color: var(--green); }
.accent-bright { color: var(--green-bright); }
.kicker { font-size: 13px; font-weight: 600; color: var(--green); margin: 0 0 12px; }
.kicker--light { color: var(--green-bright); }
.hand { font-family: Caveat, cursive; font-size: 26px; line-height: 1.1; color: var(--ink-2); display: inline-block; transform: rotate(-4deg); }
.hand--right { text-align: right; align-self: flex-end; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 15px 24px; font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--green); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green-bright); color: var(--ink); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--lg { padding: 17px 26px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); }
.btn.is-loading .btn__label { opacity: .6; }

/* ---------- Agent badge ---------- */
.ag {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  font-weight: 700; font-size: 13px; background: #E8E8E4; color: var(--ink-2);
}
.ag--v { background: var(--v-bg); color: var(--v-fg); }
.ag--s { background: var(--s-bg); color: var(--s-fg); }
.ag--m { background: var(--m-bg); color: var(--m-fg); }
.ag--j { background: var(--j-bg); color: var(--j-fg); }
.ag--o { background: var(--o-bg); color: var(--o-fg); }
.ag--e { background: var(--e-bg); color: var(--e-fg); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-sticky); background: rgba(245, 245, 243, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.brand__mark--sm { width: 22px; height: 22px; }
.brand__name { font-weight: 600; font-size: 15px; }
.brand__tag { font-size: 13px; color: var(--muted); }
.nav__links { display: flex; gap: 26px; font-size: 14px; color: var(--ink-2); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 80px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; position: relative; }
.pill { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px; background: var(--surface); font-size: 13px; }
.pill__tag { background: var(--green-soft); color: var(--green-deep); border-radius: 999px; padding: 4px 10px; font-weight: 600; white-space: nowrap; }
.pill__text { color: var(--ink-2); padding-right: 8px; }
.hero h1 { font-size: clamp(36px, 4.3vw, 58px); letter-spacing: -.03em; line-height: 1.04; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.hero__meta { font-size: 13px; color: var(--muted); }
.hero__hand { margin-top: 12px; }

.hero__visual { position: relative; }
.hero__photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: #E8E8E4; box-shadow: 0 40px 80px rgba(16, 17, 19, .14); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.feed { position: absolute; right: -8px; bottom: 28px; width: min(300px, 78%); display: flex; flex-direction: column; gap: 6px; z-index: var(--z-float); }
.feed__item {
  display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 14px; padding: 9px 12px; box-shadow: 0 10px 30px rgba(16, 17, 19, .10); font-size: 12.5px;
  animation: feed-in .9s var(--ease) both;
}
.feed__item div { display: flex; flex-direction: column; line-height: 1.25; }
.feed__item strong { font-size: 13px; }
.feed__item span:not(.ag) { color: var(--muted); }
.feed__item--lead { padding: 12px 14px; border-radius: 16px; margin-bottom: 4px; }
.feed__item--lead strong { font-size: 14px; }
.feed__arrow { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; color: var(--ink); }
.feed__item:nth-child(1) { animation-delay: .35s; }
.feed__item:nth-child(2) { animation-delay: .45s; }
.feed__item:nth-child(3) { animation-delay: .55s; }
.feed__item:nth-child(4) { animation-delay: .65s; }
.feed__item:nth-child(5) { animation-delay: .75s; }
.feed__item:nth-child(6) { animation-delay: .85s; }
@keyframes feed-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Section head ---------- */
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 48px); text-align: center; }
.section-head p:not(.kicker) { margin-top: 14px; font-size: 17px; color: var(--muted); line-height: 1.5; }
.section-head--split { max-width: none; text-align: left; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head--split p:not(.kicker) { max-width: 56ch; }

/* ---------- Agents ---------- */
.agents { padding: clamp(56px, 8vw, 96px) 0; }
.agents__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.agent {
  --tint: #F0F0EC;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px 18px;
  display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.agent:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(16, 17, 19, .10); }
.agent__photo { margin: 0 0 6px; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; background: linear-gradient(180deg, var(--tint), #fff 120%); }
.agent__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.agent--v { --tint: var(--v-bg); } .agent--s { --tint: var(--s-bg); } .agent--m { --tint: var(--m-bg); }
.agent--j { --tint: var(--j-bg); } .agent--o { --tint: var(--o-bg); } .agent--e { --tint: var(--e-bg); }
.agent h3 { font-size: 16px; margin-top: 4px; }
.agent__role { font-size: 13px; color: var(--green); font-weight: 500; }
.agent__desc { font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* tablero real */
.board { position: relative; margin: clamp(40px, 6vw, 72px) 0 0; background: var(--dark); border-radius: 28px; padding: 14px; box-shadow: 0 40px 80px rgba(16, 17, 19, .16); }
.board img { width: 100%; height: auto; border-radius: 16px; display: block; }
.board__hand { position: absolute; right: 28px; top: -64px; color: var(--ink); }

/* ---------- Stat band ---------- */
.stat { background: var(--dark); color: var(--bg); padding: clamp(64px, 8vw, 96px) 0; }
.stat__inner { max-width: 820px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.stat__big { font-size: clamp(64px, 9vw, 112px); line-height: .95; font-weight: 600; letter-spacing: -.04em; color: var(--green-bright); }
.stat__of { color: var(--bg); font-size: .5em; letter-spacing: -.02em; }
.stat__claim { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.015em; font-weight: 500; max-width: 24ch; }
.stat__p { font-size: 17px; line-height: 1.6; color: var(--dark-text); max-width: 64ch; }
.stat__p--strong { color: var(--bg); font-weight: 500; }
.stat__p strong { color: #fff; }

/* ---------- Split sections ---------- */
.split { padding: clamp(56px, 8vw, 96px) 0 0; }
.split__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split__copy { display: flex; flex-direction: column; gap: 16px; }
.split__copy h2 { margin-bottom: 4px; }
.split__copy p:not(.kicker) { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.split__copy em { color: var(--ink); }
.split--flip .split__visual { order: -1; }
.recap { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.recap__title { font-size: 13px; font-weight: 600; color: var(--danger); margin-bottom: 8px; }
.recap p:not(.recap__title) { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.recap__flow { margin-top: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.recap__flow span { background: var(--bg); border-radius: 8px; padding: 8px 12px; }
.recap__flow i { font-style: normal; }
.recap__flow .is-error { background: var(--v-bg); color: var(--danger); font-weight: 600; }
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 0; }
.figures > div { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.figures dt { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.figures dd { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.risks { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.risks li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 20px 24px; font-size: 15px; line-height: 1.45; }
.risks li + li { border-top: 1px solid var(--line); }
.risks span { color: var(--ink-2); }

/* ---------- Dark photo section ---------- */
.dark-photo { margin-top: clamp(64px, 8vw, 96px); background: var(--dark); color: var(--bg); padding: clamp(56px, 7vw, 88px) 0; overflow: hidden; }
.dark-photo__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto; gap: clamp(28px, 4vw, 56px); align-items: center; }
.dark-photo__img { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; background: var(--dark-2); }
.dark-photo__img img { width: 100%; height: 100%; object-fit: cover; }
.dark-photo__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.dark-photo__copy h2 { font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -.035em; color: #fff; }
.dark-photo__copy p:not(.kicker) { font-size: 17px; line-height: 1.6; color: var(--dark-text); max-width: 56ch; }
.dark-photo__copy strong { color: #fff; }
.dark-photo__copy .btn { margin-top: 8px; }
.phone { width: 250px; justify-self: end; margin: 0; }
.phone__frame { background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .14); border-radius: 36px; padding: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.phone__frame img { width: 100%; height: auto; border-radius: 26px; display: block; }
.phone__caption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--dark-text); }

/* ---------- Inside (filas texto + captura) ---------- */
.inside { padding: clamp(64px, 8vw, 96px) 0 0; }
.inside .row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 44px) 0; }
.inside .row + .row { border-top: 1px solid var(--line); }
.inside .row--flip .row__shot { order: -1; }
.row__copy { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.row__copy h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; }
.row__copy p { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.row__shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 24px 60px rgba(16, 17, 19, .10); }
.row__shot img { width: 100%; height: auto; display: block; }

/* ---------- Changes list ---------- */
.changes { padding: clamp(64px, 8vw, 96px) 0; }
.changes__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--line-strong); }
.changes__list li { display: flex; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.changes__list h3 { font-size: 17px; margin-bottom: 6px; }
.changes__list p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Proof strip ---------- */
.proof { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0; }
.proof__strip { display: flex; gap: 14px; overflow-x: auto; padding: 8px max(var(--gutter), calc((100% - var(--container)) / 2)) 12px; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2)); scrollbar-width: thin; }
.proof__card { flex: 0 0 min(380px, 84vw); scroll-snap-align: start; background: var(--bg); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.proof__card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.proof__num { font-size: 38px !important; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--ink) !important; }
.proof__num span { font-size: .5em; color: var(--muted); }
.proof__label { font-size: 13px !important; font-weight: 600; color: var(--green) !important; }
.proof__shot { margin: auto 0 0; height: 150px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; font: 11px ui-monospace, Menlo, monospace; color: var(--muted); }
.proof__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }

/* ---------- Offer ---------- */
.offer { padding: clamp(64px, 8vw, 96px) 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; counter-reset: none; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.step__top em { font-style: normal; font-size: 12px; background: var(--green-soft); color: var(--green-deep); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.step h3 { font-size: 22px; }
.step p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.step__list { list-style: decimal; padding-left: 20px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.step--dark { background: var(--dark); color: var(--bg); border-color: transparent; }
.step--dark h3 { color: #fff; }
.step--dark p { color: var(--dark-text); }
.step--dark .step__top { color: var(--dark-muted); }
.step__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px !important; }

/* ---------- Guarantee ---------- */
.guarantee { padding: 0 0 clamp(64px, 8vw, 96px); }
.guarantee__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.guarantee__img { margin: 0; position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; background: #E8E8E4; }
.guarantee__img img { width: 100%; height: 100%; object-fit: cover; }
.guarantee__img figcaption { position: absolute; left: 28px; top: 28px; right: 28px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.02em; font-weight: 500; color: var(--ink); max-width: 14ch; }
.guarantee__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.guarantee__copy p:not(.kicker) { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 58ch; }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(64px, 8vw, 96px); }
.faq__inner { max-width: 840px; }
.faq h2 { text-align: center; margin-bottom: 28px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 18px; font-weight: 600; letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__sign { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); position: relative; transition: transform .35s var(--ease); }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink-2); width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq__item[open] .faq__sign::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item p { padding: 0 44px 24px 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); animation: faq-open .4s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- CTA + form ---------- */
.cta { padding: 0 0 clamp(64px, 8vw, 96px); }
.cta__card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 30px 70px rgba(16, 17, 19, .08); }
.cta__panel { position: relative; overflow: hidden; background: var(--dark); color: var(--bg); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.cta__panel h2 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -.035em; color: #fff; }
.cta__panel p:not(.kicker) { font-size: 16px; line-height: 1.55; color: var(--dark-text); max-width: 46ch; position: relative; }
.cta__panel strong { color: #fff; }
.cta__meta { color: var(--dark-muted) !important; font-size: 14px !important; }
.cta__line { margin-top: auto !important; padding-top: 24px; font-size: 14px !important; color: #fff !important; font-weight: 500; }
.cta__orb { position: absolute; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(45, 199, 150, .55), rgba(45, 199, 150, .08) 55%, transparent 72%); filter: blur(2px); pointer-events: none; }
.form { background: var(--surface); padding: clamp(28px, 4vw, 48px); }
.form__fields { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 400; color: var(--ink);
  background: var(--bg); outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: #6F737A; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(31, 169, 126, .18); }
.field .is-invalid, .field.is-invalid input { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(217, 72, 106, .14); }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.chips legend { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.chips { flex-direction: row; flex-wrap: wrap; }
.chip { border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 9px 14px; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-selected { border-color: var(--ink); background: var(--green-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--green); flex: none; }
.consent a { color: var(--green-deep); text-decoration: underline; }
.consent.is-invalid { color: var(--danger); }
altcha-widget { --altcha-color-base: var(--bg); --altcha-color-border: var(--line-strong); --altcha-color-text: var(--ink); --altcha-color-border-focus: var(--green); --altcha-border-radius: 12px; --altcha-max-width: 100%; display: block; font-size: 14px; }
.form__status { min-height: 1.3em; font-size: 13.5px; text-align: center; color: var(--danger); font-weight: 500; }
.form__status.ok { color: var(--green-deep); }
.form__fine { font-size: 12.5px; color: var(--muted); text-align: center; }
.form__success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 40px 8px; }
.form__success[hidden] { display: none; }
.form__check { width: 52px; height: 52px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.form__success h3 { font-size: 26px; }
.form__success p { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.form__folio { font-size: 14px; background: var(--bg); border-radius: 10px; padding: 10px 16px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 13px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .brand__name { color: var(--ink); }
.footer a:hover { color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero__copy [data-reveal]:nth-child(2) { transition-delay: .06s; }
.js .hero__copy [data-reveal]:nth-child(3) { transition-delay: .12s; }
.js .hero__copy [data-reveal]:nth-child(4) { transition-delay: .18s; }
.js .hero__copy [data-reveal]:nth-child(5) { transition-delay: .24s; }
.js .agents__row [data-reveal]:nth-child(2) { transition-delay: .06s; }
.js .agents__row [data-reveal]:nth-child(3) { transition-delay: .12s; }
.js .agents__row [data-reveal]:nth-child(4) { transition-delay: .18s; }
.js .agents__row [data-reveal]:nth-child(5) { transition-delay: .24s; }
.js .agents__row [data-reveal]:nth-child(6) { transition-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .feed__item { animation: none; }
  .faq__item p { animation: none; }
  .agent, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .agents__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dark-photo__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .phone { grid-column: 1 / -1; justify-self: center; }
  .cta__card { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .brand__tag { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; }
  .feed { right: 8px; bottom: 16px; }
  .hero__hand { display: none; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .hand--right { display: none; }
  .board { padding: 8px; border-radius: 18px; }
  .board img { border-radius: 12px; }
  .board__hand { display: none; }
  .inside .row { grid-template-columns: 1fr; }
  .inside .row--flip .row__shot { order: 0; }
  .split--flip .split__visual { order: 0; }
  .dark-photo__grid { grid-template-columns: 1fr; }
  .dark-photo__img { max-width: 420px; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .hero__actions .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.3; }
  .feed { width: 82%; }
  .feed__item:nth-child(n+5) { display: none; }
  .agents__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .agent { padding: 8px 10px 14px; }
  .agent__desc { display: none; }
  .figures { grid-template-columns: 1fr; }
  .risks li { grid-template-columns: 1fr; gap: 4px; }
  .form__row { grid-template-columns: 1fr; }
  .guarantee__img figcaption { font-size: 20px; }
  .stat__claim { max-width: none; }
}
