/* gualda.ai · página de conversión.
   Modo claro, pensado para dueños de pyme, con la paleta de la marca de Axel:
   blanco menta, verde casi negro, turquesa de acento. Titulares en serif
   (Fraunces), texto en Inter Tight. Botones redondeados, sin mayúsculas. */

:root {
  /* Paleta de la marca personal de Axel (reels, carruseles, Chatty), llevada a
     modo claro: verde casi negro para decidir, turquesa como acento, verde
     WhatsApp para los botones de WhatsApp y naranja Claude para su insignia. */
  --bg: #fafdfc;
  --cream: #eef7f4;          /* menta muy suave: secciones alternas */
  --cream-2: #dcefe9;
  --blue-tint: #e6f5f0;      /* sección del formulario */
  --navy: #0b1f1b;           /* botones y bordes fuertes */
  --navy-2: #06110f;         /* titulares y bloques oscuros (#06110f de la marca) */
  --ink: #0d1f1b;
  --muted: #4c625b;
  --muted-2: #73877f;
  --rule: #dbe7e3;
  --rule-strong: #c3d6cf;
  --accent: #0a7a6b;         /* turquesa legible sobre claro (AA) */
  --accent-bright: #14c8b0;  /* turquesa Chatty #14c8b0: relleno, hover, sobre oscuro */
  --accent-soft: #d6f4ec;
  --claude: #d97757;
  --wa: #25d366;             /* verde WhatsApp */
  --wa-hover: #1fb858;
  --ok: #0a7a6b;
  --neg: #c9433b;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 12px;
  --rb: 10px;
  --shadow: 0 1px 2px rgba(6, 17, 15, 0.06), 0 8px 24px rgba(6, 17, 15, 0.08);
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1200px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--navy); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- tipografía ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy-2); letter-spacing: -0.015em; margin: 0; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; max-width: 22ch; }
h2.wide { max-width: 28ch; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
h3 { font-size: clamp(20px, 2vw, 25px); line-height: 1.22; font-weight: 600; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 60ch; }
h2 + .lede, h2 + .press-count { margin-top: 16px; }

section { padding: clamp(64px, 8vw, 108px) 0; }
.alt { background: var(--cream); }
.tint-blue { background: var(--blue-tint); }
.sec-head { margin-bottom: clamp(32px, 4.5vw, 56px); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0;
  text-decoration: none; text-transform: none;
  border: 2px solid var(--navy);
  border-radius: var(--rb);
  background: var(--navy); color: #fff;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--navy-2); box-shadow: 0 6px 16px rgba(20, 200, 176, 0.3); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.wa { background: var(--wa); border-color: var(--wa); color: #04210f; }
.btn.wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); color: #04210f; box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3); }
.btn.sm { padding: 10px 18px; font-size: 15px; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 253, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav .row { max-width: 1320px; margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mark { display: flex; align-items: baseline; gap: 12px; text-decoration: none; white-space: nowrap; }
.mark .it { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--navy-2); letter-spacing: -0.01em; }
.mark .sub { font-size: 14px; color: var(--muted); }
.nav .links { display: flex; align-items: center; gap: 26px; font-size: 16px; font-weight: 500; }
.nav .links a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav .links a:not(.btn):hover { color: var(--accent); }
.nav .links a.btn { color: #fff; padding: 10px 18px; font-size: 15px; }
.nav .links a.btn:hover { color: var(--navy-2); }

/* ---------- hero: el video es lo principal ---------- */
.hero { background: linear-gradient(180deg, var(--bg) 0%, var(--cream) 100%); padding: 0; }
.hero-inner { max-width: 1040px; margin: 0 auto; padding: clamp(20px, 2.6vw, 34px) var(--gutter) clamp(36px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.hero .kicker { font-size: 15px; font-weight: 600; color: var(--accent); margin: 0; letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(28px, 3.5vw, 46px); line-height: 1.1; max-width: none; }
.hero .sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 52ch; margin: 0; }

.vsl { width: 100%; max-width: 900px; margin-top: 4px; }
.vsl-label { margin: 0 auto 12px; max-width: 46ch; font-size: clamp(16px, 1.5vw, 18.5px); font-weight: 700; line-height: 1.35; color: var(--navy-2); }
.vsl-card { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 2px 4px rgba(6, 17, 15, 0.1), 0 28px 60px rgba(6, 17, 15, 0.28); }
.vsl-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border: 0; }
.vsl-poster { all: unset; box-sizing: border-box; position: absolute; inset: 0; cursor: pointer; display: block; }
.vsl-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.vsl-poster:hover img { transform: scale(1.02); }
.vsl-poster:focus-visible { outline: 4px solid var(--accent-bright); outline-offset: -4px; }
.vsl-play { position: absolute; left: 50%; top: 50%; width: clamp(68px, 9vw, 104px); height: clamp(68px, 9vw, 104px); transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 10px rgba(20, 200, 176, 0.28), 0 14px 34px rgba(6, 17, 15, 0.4); display: grid; place-items: center; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.vsl-poster:hover .vsl-play { transform: translate(-50%, -50%) scale(1.07); box-shadow: 0 0 0 14px rgba(20, 200, 176, 0.3), 0 14px 34px rgba(6, 17, 15, 0.4); }
.vsl-play i { width: 0; height: 0; margin-left: 8%; border-left: clamp(22px, 3vw, 34px) solid var(--navy-2); border-top: clamp(14px, 1.9vw, 21px) solid transparent; border-bottom: clamp(14px, 1.9vw, 21px) solid transparent; }

.hero .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.btn.big { padding: 17px 30px; font-size: 18px; border-radius: 12px; }
.hero .fine { font-size: 15px; color: var(--muted-2); margin: 0; max-width: 62ch; }
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 3vw, 40px); width: 100%; max-width: 720px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--rule-strong); }
.facts-row .n { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 38px); color: var(--navy-2); line-height: 1.1; }
.facts-row .l { display: block; font-size: 14px; color: var(--muted); line-height: 1.3; margin-top: 3px; }

/* ---------- quién soy + respaldo ---------- */
.backing { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.who-text h2 { max-width: 20ch; margin-bottom: 18px; }
.who-text p { font-size: clamp(17px, 1.4vw, 19px); }
.who-side { display: flex; flex-direction: column; gap: 14px; }
.portrait { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.portrait .shot { aspect-ratio: 1000 / 840; overflow: hidden; background: radial-gradient(70% 70% at 62% 30%, #123a33 0%, #06110f 72%); }
.portrait .shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.portrait figcaption { padding: 12px 18px 14px; display: flex; flex-direction: column; }
.portrait figcaption b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--navy-2); }
.portrait figcaption span { font-size: 14.5px; color: var(--muted); }
.logos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.logo-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 120px; text-align: center; }
.logo-card img { height: 64px; width: auto; object-fit: contain; }
.logo-card.meta img { height: 84px; }
.logo-card.utn { grid-column: 1 / -1; flex-direction: row; gap: 22px; text-align: left; padding: 18px 22px; }
.logo-card.utn img { height: 92px; flex: none; }
.logo-card.utn span { font-size: 15.5px; }
.logo-card svg { width: 38px; height: 38px; }
.logo-card span { font-size: 14.5px; color: var(--muted); line-height: 1.3; }
.logo-card span b { color: var(--navy-2); font-weight: 700; }
.press { margin-top: clamp(36px, 5vw, 56px); }
.press-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.press-head h3 { font-size: 22px; }
.press-count { font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- qué hacemos ---------- */
.tenets { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-bottom: 28px; }
.tenet { border-top: 3px solid var(--navy); padding-top: 16px; }
.tenet h3 { margin-bottom: 6px; font-size: clamp(19px, 1.8vw, 22px); }
.tenet p { color: var(--muted); margin: 0; font-size: 16.5px; }
.chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--cream); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15.5px; color: var(--navy); }
.rubros { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- proyectos a medida ---------- */
.projects { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
.proj { display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: 18px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.proj .proj-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.proj .rubro { font-size: 13px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.proj .status { border: 1px solid var(--rule-strong); border-radius: 999px; padding: 2px 9px; color: var(--muted); letter-spacing: 0.02em; text-transform: none; font-weight: 600; }
.proj h3 { font-size: clamp(21px, 2vw, 26px); margin: 8px 0 10px; }
.proj p { margin: 0 0 8px; font-size: 16px; color: var(--ink); }
.proj p b { color: var(--navy-2); }
.proj .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 14px; }
.peek { position: relative; background: var(--cream); aspect-ratio: 16 / 10; overflow: hidden; cursor: pointer; width: 100%; border-bottom: 1px solid var(--rule); }
.peek iframe { position: absolute; top: 0; left: 0; width: 1280px; max-width: none; height: 960px; border: 0; transform-origin: 0 0; transform: scale(var(--peek-scale, 0.4)); pointer-events: none; }
.peek .veil { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px; background: linear-gradient(180deg, transparent 62%, rgba(6, 17, 15, 0.5)); }
.peek .veil span { font-size: 14px; font-weight: 600; background: #fff; color: var(--navy); padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow); }
.peek.chat-peek { background: #0b141a; }
.peek.chat-peek .bubbles { position: absolute; inset: 0; padding: 18px 22px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.bub { max-width: 82%; padding: 8px 12px; border-radius: 12px; font-size: 14px; line-height: 1.35; color: #e9edef; }
.bub.in { background: #202c33; align-self: flex-start; border-top-left-radius: 3px; }
.bub.out { background: #005c4b; align-self: flex-end; border-top-right-radius: 3px; }

/* ---------- visor ---------- */
dialog.viewer { width: min(1480px, 98vw); height: min(92vh, 960px); padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #fff; color: var(--ink); display: none; flex-direction: column; box-shadow: 0 24px 80px rgba(6, 17, 15, 0.4); }
dialog.viewer[open] { display: flex; }
dialog.viewer::backdrop { background: rgba(6, 17, 15, 0.7); }
.viewer .bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--rule); background: var(--cream); }
.viewer .bar .t { font-weight: 600; font-size: 16px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy-2); }
.viewer .bar a, .viewer .bar button { font-size: 15px; font-weight: 600; color: var(--navy); background: #fff; border: 1.5px solid var(--navy); border-radius: var(--rb); padding: 8px 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.viewer .bar a:hover, .viewer .bar button:hover { background: var(--navy); color: #fff; }
.viewer iframe { flex: 1; width: 100%; border: 0; background: #fff; }

/* ---------- cómo trabajamos ---------- */
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--cream); border: 1px solid var(--rule); border-radius: var(--r); padding: 20px 20px 22px; }
.steps .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-2); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.steps h3 { font-size: clamp(18px, 1.6vw, 21px); margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.inperson { background: var(--navy-2); color: #fff; border-radius: 18px; padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 24px 36px; align-items: center; }
.inperson .eyebrow { color: #5fe3cf; }
.inperson h3 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 10px; }
.inperson p { margin: 0; color: #c6ddd6; max-width: 62ch; }
.inperson .btn { background: var(--accent-bright); border-color: var(--accent-bright); color: var(--navy-2); }
.inperson .btn:hover { background: #fff; border-color: #fff; color: var(--navy-2); }

/* ---------- servicios y precios ---------- */
.discovery { background: var(--navy-2); color: #fff; border-radius: 18px; padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 36px); display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: center; margin-bottom: 18px; }
.discovery .tag { font-size: 13.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #5fe3cf; }
.discovery h3 { color: #fff; font-size: clamp(21px, 2.2vw, 26px); }
.discovery p { margin: 4px 0 0; color: #c6ddd6; max-width: 64ch; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier { background: #fff; border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; }
.tier .n { font-size: 13px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); }
.tier h3 { margin: 8px 0 8px; font-size: clamp(19px, 1.8vw, 22px); }
.tier p { color: var(--muted); font-size: 16px; }
.tier .price { margin-top: auto; border-top: 2px solid var(--navy); padding-top: 12px; }
.tier .price .v { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.15; color: var(--navy-2); }
.tier .price .v small { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--muted); }
.pricing-note { margin: 16px 0 28px; font-size: 14.5px; color: var(--muted); }

/* ---------- para quién ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit .col { background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--ok); border-radius: var(--r); padding: 18px 22px 8px; }
.fit .col.no { border-top-color: var(--neg); }
.fit h3 { margin-bottom: 6px; font-size: 20px; }
.fit ul { margin: 0; padding: 0; list-style: none; }
.fit li { padding: 11px 0 11px 30px; border-top: 1px solid var(--rule); position: relative; font-size: 16.5px; }
.fit li::before { content: '✓'; position: absolute; left: 0; top: 10px; color: var(--ok); font-weight: 800; }
.fit .no li::before { content: '×'; color: var(--neg); font-size: 22px; line-height: 1.1; top: 8px; }

/* ---------- prensa ---------- */
.wm { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1; color: var(--navy-2); letter-spacing: -0.02em; }
.wm.tn { font-family: var(--sans); font-weight: 800; letter-spacing: 0.02em; }
.wm.perfil { font-family: var(--sans); font-weight: 700; letter-spacing: 0.2em; font-size: 17px; }
.wm.ambito { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; }
.wm.ipro { font-family: var(--sans); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; }
.notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.note { background: #fff; border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease; }
.note:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--rule-strong); }
.note .wm { font-size: 24px; }
.note .quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 18.5px; line-height: 1.3; color: var(--navy-2); }
.note .title { font-size: 14.5px; color: var(--muted); line-height: 1.35; flex: 1; }
.note .meta { font-size: 13.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.note .meta .go { color: var(--accent); font-weight: 700; }

/* ---------- formulario ---------- */
.apply { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.apply .why ul { list-style: none; padding: 0; margin: 22px 0 0; }
.apply .why li { padding: 12px 0 12px 28px; border-top: 1px solid var(--rule-strong); position: relative; color: var(--ink); font-size: 16.5px; }
.apply .why li::before { content: '✓'; position: absolute; left: 0; top: 11px; color: var(--ok); font-weight: 800; }
.formbox { background: #fff; border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 38px); }
form.lead { display: grid; gap: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: 15.5px; font-weight: 600; color: var(--navy-2); margin-bottom: 6px; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--rule-strong); border-radius: var(--rb);
  padding: 12px 14px; appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(20, 200, 176, 0.22); }
.field .help { font-size: 14.5px; color: var(--muted-2); margin-top: 6px; }
.field .err { font-size: 15px; color: var(--neg); margin-top: 6px; display: none; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--neg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted-2); font-size: 14.5px; max-width: 46ch; }
.form-error { border: 1.5px solid var(--neg); border-radius: var(--rb); background: #fdf1f0; padding: 12px 14px; color: var(--neg); display: none; }
.form-error.show { display: block; }

.result { background: #fff; border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(26px, 3.4vw, 44px); display: none; }
.result.show { display: block; }
.result h3 { font-size: clamp(25px, 2.8vw, 34px); margin-bottom: 12px; }
.result p { color: var(--muted); max-width: 54ch; }
.result .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.result .small { font-size: 15px; color: var(--muted-2); margin-top: 16px; }

/* Con un lead que encaja, el calendario ocupa todo el ancho. */
.apply.wide { grid-template-columns: 1fr; }
.apply.wide .why { display: none; }
.result-cal { padding: clamp(18px, 2.4vw, 32px); }
.cal-frame { margin-top: 18px; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: #fff; }
.cal-frame iframe { width: 100%; height: 740px; max-width: none; border: 0; display: block; }
.result-cal p { max-width: none; }

/* ---------- conector ---------- */
section.slim { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--rule); }
.connector { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.connector h2 { font-size: clamp(22px, 2.4vw, 30px); max-width: 30ch; }
.connector .lede { margin: 8px 0 0; font-size: 17px; }

/* ---------- pie ---------- */
footer { background: var(--navy-2); color: #fff; padding: 52px 0 36px; }
footer .row { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; align-items: flex-start; }
footer .who { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; }
footer .who small { display: block; font-family: var(--sans); font-weight: 400; font-size: 15.5px; color: #b8d0c8; margin-top: 8px; max-width: 46ch; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
footer ul a { color: #e4f2ee; text-decoration: none; }
footer ul a:hover { color: #fff; text-decoration: underline; }
footer .legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 14px; color: #94b0a6; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav .links a:not(.btn) { display: none; }
  .mark .sub { display: none; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .mark .sub { display: none; }
  .hero .grid, .apply, .fit { grid-template-columns: 1fr; }
  .tenets, .tiers, .projects, .backing { grid-template-columns: 1fr; }
  .discovery, .connector { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav .row { gap: 12px; }
  .cal-frame iframe { height: 680px; }
  .mark .it { font-size: 19px; }
  .nav .links a.btn { padding: 9px 14px; font-size: 14px; white-space: nowrap; }
  .row2 { grid-template-columns: 1fr; }
  .logo-card.utn { flex-direction: column; text-align: center; }
  dialog.viewer { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; border-radius: 0; }
  .viewer .bar a.full { display: none; }
}

/* CTA fijo en celular: aparece al salir del hero y se va cuando se ve el formulario */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: none; text-align: center; background: var(--navy-2); color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; padding: 15px 20px; border-radius: 14px; box-shadow: 0 10px 30px rgba(6, 17, 15, 0.35); }
@media (max-width: 900px) {
  .sticky-cta:not([hidden]) { display: block; }
  .steps { grid-template-columns: 1fr 1fr; }
  .inperson { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .facts-row .l { font-size: 12.5px; }
}

/* ---------- guía de atención: marca UN solo lugar por vez (próximo paso) ---------- */
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.vsl-ring { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; animation: rise 0.7s ease backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
[data-guia] { position: relative; }
.guia-on { z-index: 2; }
.guia-on::before {
  content: ''; position: absolute; inset: -7px; border-radius: 24px; padding: 4px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--ang), rgba(20, 200, 176, 0) 0 50%, var(--accent-bright) 78%, #ffffff 88%, rgba(20, 200, 176, 0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ang 2.6s linear infinite;
  filter: drop-shadow(0 0 8px rgba(20, 200, 176, 0.55));
}
@keyframes ang { to { --ang: 360deg; } }
.btn.guia-on::before, .field.guia-on::before { border-radius: 16px; inset: -5px; }
.vsl-ring.guia-on .vsl-play::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 3px solid var(--accent-bright);
  animation: ping 1.8s ease-out infinite;
}
@keyframes ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.6); opacity: 0; } }
.vsl.guia-active .vsl-label { visibility: hidden; }

.guia-tip {
  position: absolute; left: 50%; transform: translateX(-50%); z-index: 6; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-2); color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1;
  padding: 8px 8px 8px 14px; border-radius: 999px; box-shadow: var(--shadow);
}
.guia-tip[data-pos="above"] { bottom: calc(100% + 12px); }
/* sobre el video: el cartel cabalga el borde superior y no tapa el texto */
.vsl-ring > .guia-tip[data-pos="above"] { bottom: calc(100% - 14px); }
.guia-tip[data-pos="below"] { top: calc(100% + 12px); }
/* al lado de un botón: la posición la calcula el JS (left/top) */
.guia-tip.sib { bottom: auto; }
.guia-tip.sib[data-pos="above"] { transform: translate(-50%, -100%); }
.guia-tip.sib[data-pos="below"] { transform: translate(-50%, 0); }
.guia-tip::after { content: ''; position: absolute; left: 50%; width: 10px; height: 10px; background: var(--navy-2); transform: translateX(-50%) rotate(45deg); }
.guia-tip[data-pos="above"]::after { bottom: -4px; }
.guia-tip[data-pos="below"]::after { top: -4px; }
.guia-tip button { all: unset; cursor: pointer; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #b8d0c8; background: rgba(255, 255, 255, 0.1); }
.guia-tip button:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.linklike { all: unset; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: #b8d0c8; font-size: 14px; }
.linklike:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .vsl-ring { animation: none; }
  .guia-on::before { animation: none; background: var(--accent-bright); filter: none; }
  .vsl-ring.guia-on .vsl-play::after { animation: none; display: none; }
}
@media (max-width: 560px) { .guia-tip { font-size: 13.5px; } }

/* ---------- "ingeniero industrial" resaltado ---------- */
.hl { background: linear-gradient(transparent 60%, rgba(20, 200, 176, 0.42) 60%); padding: 0 0.08em; border-radius: 4px; }

/* ---------- pestañas: cómo trabajo ---------- */
.tabs { background: #fff; border: 1px solid var(--rule); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.tablist { display: flex; gap: 6px; padding: 10px; background: var(--cream); border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab { all: unset; box-sizing: border-box; cursor: pointer; white-space: nowrap; padding: 12px 20px; border-radius: 12px; font-size: 16.5px; font-weight: 600; color: var(--muted); }
.tab:hover { color: var(--navy-2); background: rgba(6, 17, 15, 0.05); }
.tab[aria-selected="true"] { background: var(--navy-2); color: #fff; }
.tab:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.tabpanel { padding: clamp(22px, 3vw, 36px); animation: fadein 0.25s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-title { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; max-width: 28ch; }
.panel-title em { font-style: italic; color: var(--accent); font-weight: 500; }
.tabpanel .lede { margin-bottom: 22px; }
.tabpanel .steps { margin-bottom: 20px; }
.tabpanel .discovery { margin-bottom: 18px; }
.tabpanel .pricing-note { margin-bottom: 0; }
.tabpanel .fit { margin-top: 4px; }
.next { all: unset; cursor: pointer; display: inline-block; margin-top: 22px; font-weight: 700; color: var(--accent); font-size: 16px; }
.next:hover { text-decoration: underline; text-underline-offset: 4px; }
.next:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .tabpanel { animation: none; } }

/* resultado: variante café */
.result:not(.is-coffee) .coffee-only { display: none; }
.result.is-coffee .video-only, .result.is-coffee .cal-frame, .result.is-coffee > .actions { display: none; }

/* ---------- botón flotante de WhatsApp ---------- */
.fab-wa { position: fixed; right: 18px; bottom: 18px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #04210f; text-decoration: none; font-weight: 700; font-size: 16px; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(6, 17, 15, 0.2); transition: transform 0.18s ease, opacity 0.2s ease; }
.fab-wa:hover { transform: translateY(-2px); background: var(--wa-hover); }
.fab-wa svg { width: 26px; height: 26px; flex: none; }
.fab-wa.hide { opacity: 0; pointer-events: none; transform: translateY(8px); }
@media (max-width: 900px) { .fab-wa { bottom: 84px; right: 14px; padding: 12px; } .fab-wa span { display: none; } .fab-wa svg { width: 28px; height: 28px; } }

/* ---------- pasos de la guía, más notorios ---------- */
.guia-on::before { padding: 5px; inset: -9px; filter: drop-shadow(0 0 14px rgba(20, 200, 176, 0.75)); }
.btn.guia-on::before, .field.guia-on::before { inset: -7px; }
.guia-tip {
  background: var(--accent-bright); color: var(--navy-2);
  font-size: 16.5px; font-weight: 700; line-height: 1.25;
  padding: 10px 10px 10px 12px; gap: 10px;
  white-space: normal; width: max-content; max-width: min(340px, 80vw); text-align: left; border-radius: 18px;
  box-shadow: 0 10px 28px rgba(6, 17, 15, 0.28);
  animation: bob 1.6s ease-in-out infinite;
}
.guia-tip::after { background: var(--accent-bright); }
.guia-tip .n { flex: none; background: var(--navy-2); color: #fff; font-size: 12.5px; font-weight: 800; padding: 5px 8px; border-radius: 999px; letter-spacing: 0.02em; }
.guia-tip button { background: rgba(6, 17, 15, 0.14); color: var(--navy-2); }
.guia-tip button:hover { background: rgba(6, 17, 15, 0.28); color: var(--navy-2); }
.guia-tip[data-pos="above"] { animation-name: bob-up; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(4px); } }
@keyframes bob-up { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-4px); } }
.guia-tip.sib[data-pos="above"] { animation-name: bob-sib-up; }
.guia-tip.sib[data-pos="below"] { animation-name: bob-sib-down; }
@keyframes bob-sib-up { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, calc(-100% - 4px)); } }
@keyframes bob-sib-down { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 4px); } }
@media (prefers-reduced-motion: reduce) { .guia-tip { animation: none !important; } }
@media (max-width: 560px) {
  .nav .links a.btn { font-size: 13.5px; padding: 9px 12px; }
}

/* ---------- video acoplado: sigue visible mientras se navega ---------- */
.vsl-x { display: none; position: absolute; top: 6px; right: 6px; z-index: 4; width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(6, 17, 15, 0.78); color: #fff; font-size: 14px; cursor: pointer; place-items: center; }
.vsl-x:hover { background: #000; }
.vsl-card.docked { position: fixed; inset: auto auto 18px 18px; width: min(380px, 40vw); height: auto; aspect-ratio: 16 / 9; z-index: 60; border-radius: 14px; box-shadow: 0 18px 44px rgba(6, 17, 15, 0.5); animation: dockin 0.25s ease both; }
.vsl-card.docked .vsl-x { display: grid; }
.vsl-card.docked.away { display: none; }
@keyframes dockin { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .vsl-card.docked { inset: auto auto 84px 12px; width: 58vw; } }
@media (prefers-reduced-motion: reduce) { .vsl-card.docked { animation: none; } }

/* ---------- video con autoplay (mudo) ---------- */
.vsl-sound { display: none; position: absolute; left: 14px; top: 14px; z-index: 4; border: 0; cursor: pointer; background: #fff; color: var(--navy-2); font-weight: 800; font-size: 15px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 6px 18px rgba(6, 17, 15, 0.35); }
.vsl-sound:hover { background: var(--accent-bright); }
.vsl-card.muted .vsl-sound { display: block; }
.vsl-card.docked .vsl-sound { left: 8px; top: 8px; font-size: 12.5px; padding: 6px 11px; }

/* ---------- hero en dos columnas: video a la izquierda, texto a la derecha ---------- */
.hero-inner { max-width: 1340px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; text-align: left; padding: clamp(20px, 3vw, 44px) var(--gutter) clamp(30px, 4vw, 56px); }
.hero-inner .vsl { max-width: none; margin-top: 0; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero h1 { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; }
.hero .sub { max-width: 40ch; }
.hero .ctas { justify-content: flex-start; margin-top: 4px; }
.vsl-label { margin: 12px 2px 0; font-size: 15.5px; font-weight: 600; color: var(--muted); max-width: none; }
.hero .facts-row { max-width: 100%; margin-top: 6px; padding-top: 18px; }
@media (max-width: 960px) {
  /* En celular el video va justo después del titular, antes de los botones. */
  .hero-inner { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .hero-text { display: contents; }
  .hero-text .kicker { order: 1; }
  .hero-text h1 { order: 2; }
  .hero-text .sub { order: 3; justify-self: center; }
  .hero-inner > .vsl { order: 4; }
  .hero-text .ctas { order: 5; justify-content: center; }
  .hero-text .fine { order: 6; justify-self: center; }
  .hero-text .facts-row { order: 7; }
  .hero .sub { max-width: 52ch; }
  .vsl-label { text-align: center; }
}

/* ---------- hero parejo: video + números a la izquierda, texto a la derecha ---------- */
.hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: clamp(24px, 4vw, 60px); row-gap: 8px; align-items: center; }
.hero-inner > .vsl { grid-column: 1; grid-row: 1; align-self: end; }
.hero-inner > .facts-row { grid-column: 1; grid-row: 2; align-self: start; max-width: none; width: 100%; margin: 6px 0 0; padding: 16px 4px 0; border-top: 1px solid var(--rule-strong); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2.4vw, 32px); }
.hero-text { grid-column: 2; grid-row: 1 / span 2; }
.hero h1 { font-size: clamp(30px, 3.3vw, 46px); }
.hero .ctas { margin-top: 8px; }
.hero .fine { margin-top: 2px; }

/* el video se acopla con una animación (FLIP); sin transiciones propias de la tarjeta */
.vsl-card { will-change: transform; }
.vsl-card.docked { animation: none; }
.vsl-ghost { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 20px; color: var(--navy-2); font-weight: 700; font-size: 17px; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; background: var(--cream); border: 2px dashed var(--rule-strong); }
.vsl-ghost img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.16; filter: blur(2px) saturate(0.7); }
.vsl-ghost > * { position: relative; }
.vsl-ring.has-dock .vsl-ghost { opacity: 1; pointer-events: auto; }
.vsl-back { all: unset; cursor: pointer; background: var(--navy-2); color: #fff; font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 999px; box-shadow: var(--shadow); }
.vsl-back:hover { background: var(--accent-bright); color: var(--navy-2); }
@media (prefers-reduced-motion: reduce) { .vsl-ghost { transition: none; } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; grid-template-rows: none; }
  .hero-inner > .vsl, .hero-inner > .facts-row, .hero-text { grid-column: 1; grid-row: auto; }
  .hero-inner > .facts-row { order: 7; margin-top: 8px; }
}

/* ---------- franja de logos ---------- */
.logobar { background: #fff; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 0 18px; }
.lb-row { display: flex; align-items: center; justify-content: center; gap: 14px 34px; flex-wrap: wrap; padding: 8px 0; }
.lb-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-2); min-width: 150px; text-align: right; }
.lb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 34px; }
.lb-list li { display: flex; align-items: center; gap: 9px; }
.lb-list img { display: block; height: 28px; width: auto; max-width: none; filter: grayscale(1) contrast(1.05); opacity: 0.8; transition: filter 0.2s ease, opacity 0.2s ease; }
.lb-list img.big { height: 44px; }
.lb-list img.meta { height: 52px; }
.lb-list.media img { height: 24px; }
.lb-list.media img[alt="iProfesional"] { height: 22px; }
.lb-list img:hover, .lb-list li:hover img { filter: none; opacity: 1; }
.lb-list .chatty img { height: 36px; filter: none; opacity: 1; border-radius: 50%; }
.lb-list .chatty span { font-weight: 800; font-size: 20px; color: var(--navy-2); letter-spacing: -0.02em; }
.lb-list .wa svg { width: 30px; height: 30px; flex: none; }
.lb-list .wa span { display: flex; flex-direction: column; line-height: 1.15; font-size: 14px; color: var(--navy-2); }
.lb-list .wa b { font-size: 16px; }
.lb-list .wa small { font-size: 11.5px; color: var(--muted); }
.m-logo { display: block; height: 24px; width: auto; max-width: none; }
@media (max-width: 760px) {
  .lb-label { text-align: center; min-width: 0; width: 100%; }
  .lb-list { gap: 14px 24px; }
  .lb-list img.big { height: 36px; }
  .lb-list img.meta { height: 44px; }
}

/* logos de las notas: tamaño propio, sin estirarse a lo ancho de la tarjeta */
.note .m-logo { align-self: flex-start; width: auto; max-width: 70%; height: 26px; object-fit: contain; object-position: left center; }
.note .m-logo[alt="Ámbito"], .note .m-logo[alt="Perfil"] { height: 22px; }
.note .m-logo[alt="iProfesional"] { height: 20px; }
.lb-list.media img[alt="Clarín"] { height: 24px; }

/* ---------- ajustes mobile ---------- */
@media (max-width: 640px) {
  /* las 4 pestañas a la vista, en 2 x 2, sin scroll horizontal escondido */
  .tablist { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; }
  .tab { text-align: center; padding: 11px 8px; font-size: 15.5px; white-space: normal; }
  .tabpanel { padding: 20px 16px; }
  .steps li { padding: 16px; }
  .vsl-card.docked { width: 46vw; }
}
.guia-tip::after { left: calc(50% + var(--ax, 0px)); }
