@font-face { font-family: "Lexend"; src: url("/assets/Lexend.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

/* Colores de inotary.ar: fondo blanco, texto negro, botones verde oliva, bloques oliva y mostaza,
   amarillo como resaltador. El verde del video es el del flyer del taller. */
:root {
  --fondo: #ffffff;
  --fondo-alt: #f7f6f2;
  --tinta: #111111;
  --tinta-suave: #4a4a46;
  --verde: #525f48;
  --verde-hover: #434e3a;
  --verde-video: #3e4a32;
  --oliva: #847748;
  --mostaza: #9e8139;
  --amarillo: #f7b718;
  --amarillo-suave: #fdf1cf;
  --borde: #e6e3da;
  --blanco: #ffffff;
  --radio: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lexend", system-ui, sans-serif;
  color: var(--tinta);
  background: var(--fondo);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Botones: píldora verde como los de inotary.ar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--verde); color: var(--blanco); font: inherit; font-weight: 600;
  border: 0; border-radius: 999px; padding: 14px 26px; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--verde-hover); box-shadow: 0 8px 22px rgba(82, 95, 72, .28); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }
.btn-sm { padding: 9px 20px; font-size: 15px; }
.btn-lg { padding: 17px 34px; font-size: 18px; }
.btn-negro { background: var(--tinta); }
.btn-negro:hover { background: #2a2a2a; }

/* Nav: barra blanca en píldora, como la del sitio */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--borde); }
@supports (backdrop-filter: blur(8px)) { .nav { backdrop-filter: blur(8px); } }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--tinta); text-decoration: none; font-weight: 700; letter-spacing: .3px; font-size: 18px; }
.brand img { border-radius: 7px; }

/* Hero */
.hero { padding: 44px 0 64px; background: var(--fondo); }
.pill {
  display: inline-block; border: 1.5px solid var(--verde); color: var(--verde); border-radius: 999px;
  padding: 6px 16px; font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
}
h1 { font-size: clamp(36px, 7vw, 66px); line-height: 1.05; margin: 18px 0 14px; font-weight: 700; letter-spacing: -.5px; }
h1 em { font-style: normal; display: block; }
.marca { -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(transparent 58%, var(--amarillo) 58%, var(--amarillo) 92%, transparent 92%); padding: 0 4px; margin: 0 -4px; }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--tinta-suave); max-width: 660px; margin: 0 0 28px; }

/* Player. Ningún contenedor del video lleva transform ni filter: rompería el position fixed al flotar. */
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radio); background: var(--verde-video); box-shadow: 0 24px 60px rgba(30, 36, 24, .22); }
.player-box { position: absolute; inset: 0; border-radius: var(--radio); overflow: hidden; background: #000; }
.player-box video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.sound {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, .96); color: var(--tinta); border: 0;
  border-radius: 18px; padding: 18px 26px; font: inherit; cursor: pointer; text-align: center;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .3);
}
.sound-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--verde); color: var(--blanco); display: grid; place-items: center; margin-bottom: 6px; }
.sound-ico svg { width: 24px; height: 24px; }
.sound-t { font-weight: 700; font-size: 18px; }
.sound-a { color: var(--verde); font-size: 15px; font-weight: 600; }
.sound-mini, .play, .cerrar, .flota-cta { display: none; }
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 50%;
  border: 0; background: var(--blanco); color: var(--verde); cursor: pointer; place-items: center;
}
.play svg { width: 36px; height: 36px; margin-left: 4px; }
.player[data-estado="portada"] .play { display: grid; }
.player:not([data-estado="mudo"]) .sound { display: none; }

/* Flotando */
.player.flota .player-box {
  position: fixed; inset: auto; right: 20px; bottom: 20px; width: 320px; z-index: 40;
  border: 1px solid var(--borde); box-shadow: 0 16px 44px rgba(0, 0, 0, .28); background: var(--blanco);
}
.player.flota .player-box video { height: auto; aspect-ratio: 16 / 9; }
.player.flota .sound { display: none; }
.player.flota[data-estado="mudo"] .sound-mini {
  display: block; position: absolute; left: 50%; top: 8px; translate: -50% 0; white-space: nowrap;
  background: rgba(255, 255, 255, .95); color: var(--verde); border: 0; border-radius: 999px;
  font: inherit; font-size: 12px; font-weight: 600; padding: 5px 12px; cursor: pointer;
}
.player.flota .cerrar {
  display: grid; place-items: center; position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, .6); color: var(--blanco); cursor: pointer;
}
.player.flota .cerrar svg { width: 16px; height: 16px; }
.player.flota .flota-cta { display: flex; margin: 10px; padding: 11px 14px; font-size: 15px; }

/* Datos del taller */
.datos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.dato { background: var(--fondo-alt); border: 1px solid var(--borde); border-radius: var(--radio); padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; font-size: 17px; font-weight: 500; }
.lab { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--oliva); }
.dato-full { background: var(--amarillo); border-color: var(--amarillo); }
.dato-full .lab { color: var(--tinta); }
.hero-cta { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.micro { margin: 0; color: var(--tinta-suave); font-size: 14px; }

/* Secciones */
.sec { padding: 72px 0; }
.sec-alt { background: var(--fondo-alt); }
.sec-oliva { background: var(--oliva); color: var(--blanco); }
h2 { font-size: clamp(28px, 4.4vw, 42px); line-height: 1.12; margin: 0 0 28px; font-weight: 700; }
h3 { font-size: 19px; margin: 0 0 6px; line-height: 1.3; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 760px; }
.checks li { position: relative; padding: 16px 18px 16px 56px; background: var(--fondo); border: 1px solid var(--borde); border-radius: var(--radio); font-size: 17px; }
.sec:not(.sec-alt) .checks li { background: var(--fondo-alt); }
.checks li::before {
  content: ""; position: absolute; left: 18px; top: 17px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
/* Pasos: bloques de color como las tarjetas de inotary.ar */
.pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pasos li { border-radius: var(--radio); padding: 26px; color: var(--blanco); background: var(--oliva); }
.pasos li:nth-child(2) { background: var(--verde); }
.pasos li:nth-child(3) { background: var(--mostaza); }
.pasos p { margin: 0; color: rgba(255, 255, 255, .88); }
.num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blanco); color: var(--tinta); font-weight: 700; margin-bottom: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { border-left: 3px solid var(--amarillo); padding: 4px 0 4px 18px; display: flex; flex-direction: column; }
.stat strong { font-size: clamp(40px, 6vw, 60px); line-height: 1; color: var(--blanco); }
.stat span { color: rgba(255, 255, 255, .85); margin-top: 6px; }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-copy p { color: var(--tinta-suave); font-size: 17px; }
.form-copy h2 { margin-top: 18px; margin-bottom: 12px; }
.mini-datos { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.mini-datos li { display: flex; flex-direction: column; font-weight: 500; }
.form { background: var(--fondo); border: 1px solid var(--borde); border-radius: 18px; padding: 26px; display: grid; gap: 14px; box-shadow: 0 18px 50px rgba(30, 36, 24, .08); }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--tinta); background: var(--fondo);
  border: 1.5px solid #d6d2c6; border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(82, 95, 72, .15); }
.form input[aria-invalid="true"], .form select[aria-invalid="true"] { border-color: #c4472b; }
.form .btn { width: 100%; margin-top: 4px; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.form-msg { margin: 0; min-height: 1.2em; font-size: 15px; }
.form-msg.error { color: #b23a20; }
.legal { margin: 0; font-size: 12.5px; color: var(--tinta-suave); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--fondo-alt); border: 1px solid var(--borde); border-radius: var(--radio); padding: 4px 18px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 17px; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 24px; color: var(--verde); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 16px; color: var(--tinta-suave); }

/* Pie mostaza, como el de inotary.ar */
.foot { padding: 30px 0 34px; background: var(--mostaza); color: var(--blanco); font-size: 14px; }
.foot .brand { color: var(--blanco); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Botón fijo del celular: aparece recién después del video */
.sticky { display: none; }

@media (max-width: 760px) {
  .hero { padding-top: 28px; }
  .datos { grid-template-columns: 1fr 1fr; }
  .pasos, .stats { grid-template-columns: 1fr; }
  .stats { gap: 22px; }
  .form-wrap { grid-template-columns: 1fr; gap: 24px; }
  .pill { font-size: 11px; letter-spacing: 1.8px; padding: 6px 12px; }
  .sound { padding: 8px 14px; border-radius: 12px; gap: 1px; white-space: nowrap; }
  .sound-ico { display: none; }
  .sound-t { font-size: 13px; }
  .sound-a { font-size: 12px; }
  .sticky {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 35;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3); padding: 16px; font-size: 17px;
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
  }
  body.ver-sticky .sticky { display: flex; opacity: 1; pointer-events: auto; }
  body.ver-sticky .foot { padding-bottom: 96px; }
  .player.flota .player-box { width: 176px; right: 12px; bottom: 84px; }
  .player.flota .flota-cta { display: none; }
  .player.flota[data-estado="mudo"] .sound-mini { font-size: 10px; padding: 3px 8px; top: auto; bottom: 6px; }
  .player.flota .cerrar { width: 26px; height: 26px; top: 4px; right: 4px; }
  body:not(.ver-sticky) .player.flota .player-box { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* WhatsApp: el código de país arranca vacío y es obligatorio (regla del motor de eventos) */
.tel { display: grid; grid-template-columns: 112px 1fr; gap: 10px; }
