/* Estilos compartidos del sitio TSL (principal, /leads, /ecommerce).
   Misma paleta que los reels animados de Tomás y que landing.tslcrm.com. */
:root {
  --bg: #061D18;
  --bg-deep: #03130E;
  --surface: #0B2B22;
  --surface-2: #123328;
  --line: #1E4136;
  --text: #F6F6F0;
  --text-2: #C9D3C8;
  --muted: #7E968A;
  --lime: #ACCA14;
  --lime-ink: #0B1F06;
  --radius: 18px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

h1, h2, h3 { font-family: 'Inter Tight', 'Inter', sans-serif; letter-spacing: -0.025em; margin: 0; line-height: 1.05; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--lime); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kicker b { color: var(--lime); font-weight: 600; }
.nw { white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Botones y links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 'Inter', sans-serif; text-decoration: none; transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--lime); color: var(--lime-ink); }
.btn-primary:hover { background: #BBDA1F; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--surface); }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; text-decoration: none; }
.link .icon { width: 18px; height: 18px; transition: transform .15s ease; }
.link:hover .icon, a:hover > .link .icon { transform: translateX(3px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .ctas .btn { width: 100%; } }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(6, 29, 24, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 65, 54, .6);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 28px; width: auto; }
.brand span { font-size: 14px; color: var(--muted); font-weight: 500; }
header nav { display: flex; gap: 28px; font-size: 15px; color: var(--text-2); }
header nav a { text-decoration: none; }
header nav a:hover, header nav a[aria-current] { color: var(--text); }
header .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 900px) { header nav { display: none; } }
@media (max-width: 520px) { .brand span { display: none; } }

/* Hero */
.hero { padding: 64px 0 56px; }
@media (min-width: 960px) { .hero { padding: 104px 0 80px; } }
.hero h1 { font-size: clamp(44px, 8vw, 92px); font-weight: 800; margin: 18px 0 24px; max-width: 12em; }
.hero p.lead { font-size: 20px; color: var(--text-2); max-width: 36em; margin: 0 0 34px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; } .hero-grid h1 { font-size: clamp(44px, 6.4vw, 76px); } }

/* Franja de plataformas */
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.platforms .kicker { margin-right: 4px; }
.platforms .p { font: 700 22px/1 'Inter Tight', sans-serif; letter-spacing: -0.02em; color: var(--text); }
.platforms .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

/* Números */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.proof .wrap { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 860px) { .proof .wrap { grid-template-columns: 1.3fr 1fr 1fr; align-items: start; } .stat.small { padding-top: 10px; } }
.stat .num { font: 800 clamp(48px, 7vw, 72px)/1 'Inter Tight', sans-serif; letter-spacing: -0.04em; }
.stat .num em { font-style: normal; color: var(--lime); }
.stat p { margin: 10px 0 0; color: var(--text-2); font-size: 16px; max-width: 26em; }
.stat .split { margin-top: 12px; font-size: 14px; color: var(--muted); }
.stat.small .num { font-size: clamp(40px, 5vw, 52px); }

/* Secciones */
section.block { padding: 96px 0; }
@media (max-width: 720px) { section.block { padding: 64px 0; } }
.alt { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 48px; }
.head h2 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; margin-top: 14px; }
.head p { color: var(--text-2); font-size: 18px; margin: 18px 0 0; }

/* Tarjetas de servicio (principal) */
.cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none;
  transition: box-shadow .15s ease, background .15s ease;
}
.card:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--lime); }
.card .icon { width: 30px; height: 30px; color: var(--lime); stroke-width: 1.75; }
.card .k { margin-top: 22px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 28px; font-weight: 700; margin: 8px 0 12px; line-height: 1.1; }
.card p { margin: 0 0 24px; color: var(--text-2); }
.card .link { margin-top: auto; }

/* Bloque de contenido (grabación) */
.content-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .content-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.content-grid .head { margin-bottom: 0; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.list li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list li .icon { width: 24px; height: 24px; color: var(--lime); stroke-width: 1.75; margin-top: 2px; }
.list li b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.list li span { color: var(--text-2); }
.soon { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; font-weight: 600; color: var(--muted); }
.soon::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }

/* Rubros */
.rubros { display: grid; gap: 12px; }
@media (min-width: 640px) { .rubros { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .rubros { grid-template-columns: repeat(3, 1fr); } }
.rubro { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; display: block; }
.rubro .icon { width: 26px; height: 26px; color: var(--lime); stroke-width: 1.75; }
.rubro h3 { font-size: 21px; font-weight: 700; margin: 16px 0 8px; }
.rubro p { margin: 0; color: var(--text-2); font-size: 15px; }
.rubro.more { background: transparent; box-shadow: inset 0 0 0 1px var(--line); border: 1px dashed transparent; }

/* Plataformas (detalle) */
.plats { display: grid; gap: 40px; }
@media (min-width: 900px) { .plats { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.plat h3 { font-size: 28px; font-weight: 700; margin: 0 0 12px; }
.plat .tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--lime-ink); background: var(--lime); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.plat .tag.off { background: var(--surface-2); color: var(--text-2); }
.plat p { margin: 0; color: var(--text-2); }

/* Pasos */
.steps { display: grid; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
.step { padding: 24px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .step { padding: 28px 0 0; } }
.step .icon { width: 26px; height: 26px; color: var(--lime); stroke-width: 1.75; }
.step .n { font: 600 14px/1 'Inter', sans-serif; color: var(--lime); letter-spacing: .08em; }
.step h3 { font-size: 21px; font-weight: 700; margin: 16px 0 10px; line-height: 1.2; }
.step p { margin: 0; color: var(--text-2); font-size: 16px; }

/* Frase grande */
.quote-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: 1.4fr .6fr; gap: 72px; } }
.quote { margin: 18px 0 28px; font: 700 clamp(44px, 7vw, 84px)/1 'Inter Tight', sans-serif; letter-spacing: -0.035em; }
.quote-grid p { color: var(--text-2); font-size: 18px; max-width: 36em; margin: 0 0 14px; }

/* Verdades */
.truths { display: grid; gap: 40px; }
@media (min-width: 900px) { .truths { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.truth .icon { width: 28px; height: 28px; color: var(--lime); stroke-width: 1.75; }
.truth h3 { font-size: 24px; font-weight: 700; margin: 18px 0 12px; line-height: 1.15; }
.truth p { margin: 0; color: var(--text-2); }

/* Videos verticales */
.reel {
  position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px rgba(0,0,0,.7);
}
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .play {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 20px; border: 0; cursor: pointer; text-align: left; color: var(--text);
  background: linear-gradient(180deg, rgba(3,19,14,0) 45%, rgba(3,19,14,.88) 100%);
}
.reel .play .disc {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--lime-ink);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .15s ease;
}
.reel .play:hover .disc { transform: translate(-50%, -50%) scale(1.06); }
.reel .play .disc .icon { width: 24px; height: 24px; fill: currentColor; stroke: none; margin-left: 4px; }
.reel .play strong { font: 700 18px/1.25 'Inter Tight', sans-serif; letter-spacing: -0.01em; }
.reel .play small { font-size: 13px; color: var(--text-2); }
.reel.playing .play { display: none; }
.hero .reel, .quote-grid .reel { max-width: 320px; width: 100%; margin: 0 auto; }
.reels { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 20px; margin: 0 -16px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
@media (min-width: 720px) { .reels { margin: 0; padding: 4px 0 20px; } }
.reels .reel { flex: 0 0 min(72vw, 250px); scroll-snap-align: start; box-shadow: 0 0 0 1px var(--line); }

/* CTA final + footer */
.final { padding: 96px 0; text-align: center; background: radial-gradient(80% 120% at 50% 0%, #123328 0%, var(--bg) 70%); border-top: 1px solid var(--line); }
.final h2 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; max-width: 14em; margin: 14px auto 18px; }
.final p { color: var(--text-2); font-size: 18px; margin: 0 auto 32px; max-width: 32em; }
.final .ctas { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Botón flotante en mobile */
.float-cta { display: none; }
@media (max-width: 720px) {
  body { font-size: 18px; }
  .float-cta {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30;
    box-shadow: 0 12px 30px rgba(0,0,0,.45); transform: translateY(140%); transition: transform .25s ease;
  }
  .float-cta.show { transform: none; }
  footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
