/* EST Agéntica (aindez.cl/est-agentica): the REPSE Agéntica layout with the Aindez palette (navy, green). */
:root {
    --rosa: #0e8a43;        /* verde Aindez, oscurecido para texto */
    --rosa-soft: #e3f8ec;
    --cempa: #d08a2e;       /* ámbar */
    --cempa-soft: #f8eed8;
    --nopal: #2f7d5b;       /* verde */
    --nopal-soft: #e2f1e9;
    --talavera: #20223F;    /* navy Aindez */
    --talavera-soft: #e4ecf6;
    --tierra: #20223F;
    --ink: #1f2430;
    --ink-2: #4a5160;
    --ink-3: #6b7280;
    --crema: #f7f5f0;
    --line: #e3e0d8;
    --radius: 16px;
    --max: 1180px;
    --serif: "Source Serif 4", Georgia, serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 84px; }
  body { margin: 0; background: var(--crema); color: var(--ink); font: 16px/1.6 Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
  h1, h2, h3 { margin: 0; line-height: 1.1; }
  h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
  p { margin: 0; }
  a { color: inherit; }
  img { display: block; max-width: 100%; }
  button { font: inherit; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
  section { padding: 88px 0; position: relative; }
  .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rosa); }
  .sec-head { max-width: 760px; margin-bottom: 44px; }
  .sec-head h2 { font-size: clamp(34px, 4.4vw, 52px); margin: 10px 0 14px; }
  .sec-head p { font-size: 18px; color: var(--ink-2); }

  /* papel picado */
  .picado { display: none; }
  /* talavera */
  .talavera-bg { background-color: var(--talavera); }
  .greca { height: 4px; background: var(--rosa); opacity: .8; }

  /* botones */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 2px solid transparent; white-space: nowrap; transition: transform .1s, background .15s, color .15s; }
  .btn:active { transform: translateY(1px); }
  .btn-rosa { background: var(--rosa); color: #fff; }
  .btn-rosa:hover { background: #0b6e35; }
  .btn-cempa { background: #17D863; color: var(--tierra); }
  .btn-cempa:hover { background: #3fe27f; }
  .btn-line { border-color: currentColor; background: transparent; }
  .btn-sm { padding: 8px 16px; font-size: 14px; }
  .try { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px dashed var(--rosa); background: #fff; color: var(--rosa); font-weight: 600; font-size: 14px; cursor: pointer; }
  .try:hover { background: var(--rosa-soft); }
  .try::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rosa); box-shadow: 0 0 0 0 rgba(200,0,95,.5); animation: pulse 1.8s infinite; }
  @keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(200,0,95,0); } 100% { box-shadow: 0 0 0 0 rgba(200,0,95,0); } }

  /* barra demo + header */
  .demo-bar { background: var(--tierra); color: #e9e4da; font-size: 13.5px; }
  .demo-bar .wrap { display: flex; justify-content: flex-end; align-items: center; gap: 16px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; }
  .demo-bar b { color: var(--cempa); }
  .demo-bar a { color: #fff; font-weight: 600; white-space: nowrap; }
  header.main { position: sticky; top: 0; z-index: 40; background: rgba(247,245,240,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; white-space: nowrap; }
  .brand img { height: 36px; width: auto; display: block; }
  .brand b { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1; }
  .brand b i { font-style: italic; color: var(--rosa); }
  .brand small { display: block; font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; margin-top: 3px; }
  .nav-links { display: flex; gap: 20px; font-size: 14.5px; font-weight: 500; }
  .nav-links a { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
  .nav > .btn { flex: none; }
  @media (max-width: 1200px) { .nav-links { display: none; } }
  .nav-links a:hover { color: var(--rosa); }

  /* hero */
  .hero { padding: 0 0 80px; background: var(--crema); overflow: hidden; }
  .hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 28px; }
  .hero h1 { font-size: clamp(40px, 5vw, 62px); margin: 12px 0 18px; }
  .hero h1 i { color: var(--rosa); }
  .hero .lead { font-size: 19px; color: var(--ink-2); max-width: 560px; }
  .text-cta { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--rosa); text-decoration: underline; text-underline-offset: 4px; }
  .text-cta:hover { color: #0b6e35; }
  .hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
  .ask { margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: 0 10px 30px rgba(43,29,23,.06); }
  .ask label { font-size: 13px; font-weight: 600; color: var(--ink-3); }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .chip { border: 1px solid var(--line); background: var(--crema); border-radius: 999px; padding: 7px 14px; font-size: 14px; cursor: pointer; color: var(--ink); }
  .chip:hover { border-color: var(--rosa); color: var(--rosa); }
  .hero-art { position: relative; }
  .hero-card { border-radius: 26px; overflow: hidden; height: clamp(380px, calc(100svh - 250px), 520px); position: relative; }
  .hero-card .tile { position: absolute; inset: 0; }
  .hero-card .people { position: absolute; inset: auto 0 0 0; padding: 18px 24px; background: #f7f5f0; color: var(--ink); border-top: 4px solid var(--cempa); }
  .hero-card .people span { color: var(--ink-2); font-size: 15px; }
  .hero-card .people b { font-family: var(--serif); font-weight: 600; font-size: 25px; display: block; line-height: 1.15; }
  .float { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 14px 30px rgba(43,29,23,.18); padding: 12px 14px; font-size: 13.5px; display: flex; gap: 10px; align-items: center; max-width: 250px; }
  .float .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; font-size: 13px; }
  /* Notas escalonadas dentro del fondo de talavera, sin taparse ni tapar el texto de abajo */
  .f1 { top: 9%; left: 28px; } .f2 { top: 31%; right: 28px; } .f3 { top: 53%; left: 52px; }

  /* confianza */
  .trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
  .trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 20px; align-items: center; }
  .trust .k b { font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--talavera); display: block; line-height: 1.1; }
  .trust .k > span { font-size: 13.5px; color: var(--ink-2); }

  /* tarjetas genéricas */
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; }
  .card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--c, var(--rosa)); }
  .card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--rosa)) 14%, #fff); }
  .card .ico svg { width: 26px; height: 26px; stroke: var(--c, var(--rosa)); }
  .card h3 { font-size: 20px; }
  .card p { color: var(--ink-2); font-size: 15px; flex: 1; }
  .card .try { align-self: flex-start; }

  /* cumplimiento */
  .compliance { color: #fff; }
  .compliance::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,38,90,.82), rgba(20,38,90,.6)); }
  .compliance > .wrap { position: relative; }
  .compliance .sec-head p { color: #dde6f3; }
  .compliance .eyebrow { color: var(--cempa); }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .stat { background: rgba(247,245,240,.97); color: var(--ink); border-radius: var(--radius); padding: 24px 20px; }
  .stat .n { font-family: var(--serif); font-size: clamp(36px, 4vw, 50px); line-height: 1; color: var(--talavera); }
  .stats.words .stat .n { font-size: clamp(24px, 2.4vw, 30px); }
  .stat .n.r { color: #c2412d; } .stat .n.g { color: var(--nopal); }
  .stat .t { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
  .stat .s { margin-top: 12px; font-size: 12px; color: var(--ink-3); }
  .stat .s a { color: var(--ink-3); }
  .comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
  .panel { background: rgba(247,245,240,.97); color: var(--ink); border-radius: var(--radius); padding: 26px; }
  .panel h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin-bottom: 8px; }
  .panel p { color: var(--ink-2); font-size: 15px; }
  .panel ul { margin: 14px 0 18px; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
  .evid { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
  .evid li { display: flex; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14.5px; }
  .st { font-size: 12.5px; font-weight: 700; white-space: nowrap; color: var(--ink-3); }
  .st.ok { color: var(--nopal); } .st.go { color: var(--cempa); } .st.no { color: #c2412d; }

  /* nosotros */
  .about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .about p.big { font-size: 19px; color: var(--ink-2); margin-bottom: 18px; }
  .mvv { display: grid; gap: 12px; }
  .mvv div { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: 12px; padding: 18px 20px; }
  .mvv b { font-family: var(--serif); font-weight: 600; font-size: 22px; display: block; margin-bottom: 4px; }
  .mvv span { color: var(--ink-2); font-size: 15px; }

  /* cobertura */
  .cover { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
  .states { display: flex; flex-wrap: wrap; gap: 6px; }
  .states span { font-size: 13px; padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
  .states span.on { background: var(--nopal); border-color: var(--nopal); color: #fff; }
  .cover-ask { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
  .cover-ask select { padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line); font: inherit; background: #fff; min-width: 220px; }
  .cover-out { margin-top: 14px; min-height: 48px; font-size: 15.5px; color: var(--ink-2); }
  .cover-out b { color: var(--ink); }

  /* bolsa */
  .jobs { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
  .job { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 10px; }
  .job h3 { font-size: 17px; margin-bottom: 4px; }
  .job p { font-size: 14px; color: var(--ink-3); }
  .phone { background: var(--tierra); border-radius: 36px; padding: 12px; max-width: 360px; margin: 0 auto; box-shadow: 0 30px 60px rgba(43,29,23,.25); }
  .phone .scr { background: #e9e4da; border-radius: 26px; overflow: hidden; height: 540px; display: flex; flex-direction: column; }
  .wa-top { background: var(--nopal); color: #fff; padding: 14px 16px; display: flex; gap: 10px; align-items: center; font-size: 14px; }
  .wa-top .av { width: 34px; height: 34px; border-radius: 50%; background: var(--cempa); color: var(--tierra); display: grid; place-items: center; font-weight: 800; }
  .wa-top small { display: block; opacity: .8; font-size: 12px; }
  .wa-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
  .wa-opts { padding: 10px; display: flex; flex-wrap: wrap; gap: 6px; background: #f1eee8; min-height: 56px; }

  /* mensajes (compartidos) */
  .msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; animation: in .2s ease; }
  .msg.a { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
  .msg.u { background: #d9f5c9; align-self: flex-end; border-top-right-radius: 4px; }
  .msg.sys { align-self: center; background: rgba(43,29,23,.08); font-size: 12.5px; color: var(--ink-2); max-width: 95%; text-align: center; }
  .msg .doc { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--crema); font-size: 13.5px; }
  .msg .doc b { display: block; }
  .typing { align-self: flex-start; background: #fff; border-radius: 14px; padding: 10px 14px; display: flex; gap: 4px; }
  .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: blink 1s infinite; }
  .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
  @keyframes blink { 50% { opacity: .25; } }
  @keyframes in { from { opacity: 0; transform: translateY(4px); } }
  .opt { border: 1.5px solid var(--nopal); color: var(--nopal); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
  .opt:hover { background: var(--nopal); color: #fff; }
  .free { display: flex; gap: 6px; width: 100%; }
  .free input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 14px; }

  /* contacto + voz */
  .contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .voice { background: var(--tierra); color: #fff; border-radius: 22px; padding: 32px; position: relative; overflow: hidden; }
  .voice .eyebrow { color: var(--cempa); }
  .voice h3 { font-family: var(--serif); font-weight: 600; font-size: 34px; margin: 10px 0 10px; }
  .voice p { color: #dfe5ef; }
  .seller { display: flex; gap: 14px; align-items: center; margin: 22px 0; }
  .seller .av { width: 64px; height: 64px; border-radius: 50%; background: var(--rosa); display: grid; place-items: center; font-family: var(--serif); font-size: 28px; position: relative; flex: none; }
  .voice.live .seller .av::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid var(--cempa); animation: ring 1.2s infinite; }
  @keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
  .wave { display: flex; gap: 3px; align-items: center; height: 34px; }
  .wave i { width: 4px; height: 6px; background: var(--cempa); border-radius: 2px; }
  .voice.speaking .wave i { animation: wv .7s infinite ease-in-out; }
  .wave i:nth-child(2n) { animation-delay: .1s; } .wave i:nth-child(3n) { animation-delay: .25s; } .wave i:nth-child(5n) { animation-delay: .4s; }
  @keyframes wv { 50% { height: 30px; } }
  .transcript { background: rgba(255,255,255,.06); border-radius: 14px; padding: 14px; height: 200px; overflow-y: auto; font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
  .transcript .l b { color: var(--cempa); } .transcript .l.u b { color: #9fe0c4; }
  .voice .fine { font-size: 12px; color: #aeb9cc; margin-top: 12px; }
  .taken { margin-top: 12px; background: rgba(242,154,14,.1); border: 1px solid rgba(242,154,14,.35); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; }
  .taken b { color: var(--cempa); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
  .taken ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
  .taken li { animation: in .3s ease; } .taken li span { color: #aeb9cc; }
  .vopts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; min-height: 38px; }
  .vopts button { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; padding: 7px 14px; cursor: pointer; font-size: 13.5px; }
  .vopts button:hover { border-color: var(--cempa); color: var(--cempa); }
  .other { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
  .other h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; margin-bottom: 18px; }
  .ch { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
  .ch:first-of-type { border-top: 0; }
  .ch .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; flex: none; font-weight: 800; }
  .ch b { display: block; } .ch span { font-size: 14px; color: var(--ink-3); }

  /* prensa */
  .press { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
  .press p { color: var(--ink-2); font-size: 17px; margin-bottom: 14px; }
  .press .box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
  .press .box img { height: 30px; width: auto; margin-bottom: 14px; }

  /* drawer de chat */
  .drawer { position: fixed; right: 20px; bottom: 20px; width: 400px; max-width: calc(100vw - 24px); height: 580px; max-height: calc(100svh - 40px); background: #fff; border-radius: 22px; box-shadow: 0 30px 70px rgba(43,29,23,.35); display: none; flex-direction: column; overflow: hidden; z-index: 60; }
  .drawer.open { display: flex; }
  .dr-top { background: var(--rosa); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
  .dr-top .av { width: 36px; height: 36px; border-radius: 50%; background: var(--cempa); color: var(--tierra); display: grid; place-items: center; font-weight: 800; flex: none; }
  .dr-top b { display: block; font-size: 15px; } .dr-top small { font-size: 12px; opacity: .85; }
  .dr-top button { margin-left: auto; background: rgba(255,255,255,.2); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; font-size: 18px; }
  .dr-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--crema); }
  .dr-opts { padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line); min-height: 58px; }
  .dr-foot { font-size: 11.5px; color: var(--ink-3); padding: 0 14px 10px; }
  .fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; }

  footer { background: var(--tierra); color: #cfd5df; padding: 0 0 36px; font-size: 13.5px; }
  footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding: 40px 0 26px; }
  footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
  footer a { color: #e9e4da; }
  footer ol, footer ul { margin: 0; padding-left: 18px; } footer li { margin-bottom: 6px; }
  footer .legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

  @media (max-width: 980px) {
    section { padding: 68px 0; }
    .hero .grid, .about, .cover, .jobs, .contact, .press, .comp-grid { grid-template-columns: 1fr; }
    .cards, .stats { grid-template-columns: 1fr 1fr; }
    .trust .wrap { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .f1 { left: 8px; } .f3 { left: 8px; } .f2 { right: 8px; }
    .hero-card { height: auto; aspect-ratio: 4/3.4; }
  }
  @media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .demo-bar .wrap { gap: 8px; font-size: 12.5px; white-space: nowrap; }
    .cards, .stats { grid-template-columns: 1fr; }
      .brand small { display: none; }
  .nav .btn { padding: 9px 14px; font-size: 14px; }
    .hero-card { height: auto; aspect-ratio: 1/1.15; }
    .float { font-size: 12.5px; max-width: 220px; }
    .f2 { display: none; }
    .f1 { top: 18px; left: 14px; } .f3 { top: 108px; left: auto; right: 14px; }
    .drawer { right: 12px; bottom: 12px; height: calc(100svh - 24px); }
    .job { flex-direction: column; align-items: flex-start; }
    .voice, .other { padding: 24px; }
    .fab { right: 12px; bottom: 12px; padding: 10px 16px; font-size: 14px; }
  }

  .hero > .picado, .guide-hero > .picado { display: none; }
  .dr-top .dr-voz { width: auto; height: 34px; padding: 0 12px; margin-left: auto; border-radius: 999px; background: #fff; color: var(--rosa); font-size: 13px; font-weight: 700; white-space: nowrap; }
  .dr-top .dr-voz + button { margin-left: 8px; }
  .voice.wide { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
  .voice.wide .v-live { display: flex; flex-direction: column; }
  .voice.wide .transcript { height: auto; min-height: 280px; flex: 1; }
  .voice.wide h3 { font-size: 40px; margin: 6px 0 8px; }
  #canales .other { max-width: 760px; }
  @media (max-width: 980px) { .voice.wide { grid-template-columns: 1fr; gap: 20px; } .voice.wide .transcript { min-height: 200px; } }
  .fab.hide { opacity: 0; pointer-events: none; transform: translateY(12px); }
  .fab { transition: opacity .2s, transform .2s; }
  .itzel-sec { padding: 64px 0 80px; }
  .voice.wide { padding: 44px 44px; gap: 40px; min-height: min(560px, calc(100svh - 180px)); }
  .voice.wide .seller { margin: 16px 0; }
  .voice.wide .transcript { min-height: 300px; }
  .voice.wide .v-info { display: flex; flex-direction: column; justify-content: center; }
  .voice.wide h3 { font-size: 48px; }
  .taken .sent, .v-live .sent { margin-top: 10px; color: #9fe0c4; flex: none; }
  section { padding: 64px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
  .cards.compact { gap: 14px; }
  .cards.compact .card { display: grid; grid-template-columns: 44px 1fr; align-items: center; column-gap: 14px; row-gap: 8px; padding: 20px 22px; }
  .cards.compact .card .ico { width: 44px; height: 44px; }
  .cards.compact .card h3 { font-size: 18px; }
  .cards.compact .card p { grid-column: 1 / -1; font-size: 14.5px; }
  .cards.compact .card .try { grid-column: 1 / -1; }
  .entregables { background: var(--crema); }
  .entregables .comp-grid { margin-top: 0; }
  .entregables .panel { background: #fff; border: 1px solid var(--line); }
  section { padding: 52px 0; }
  .itzel-sec { padding: 44px 0 48px; }
  .voice.wide { min-height: min(540px, calc(100svh - 200px)); }
  .cards.compact .card { padding: 16px 20px; row-gap: 6px; }
  .cards.compact .card p { line-height: 1.45; }
  .job { padding: 12px 18px; margin-bottom: 8px; }
  .jobs h2 + p { margin-bottom: 16px !important; }
  .phone .scr { height: 470px; }
  section { padding: 44px 0; }
  .hero { padding-bottom: 44px; }
  .link-form { background: none; border: 0; padding: 0; margin-top: 14px; color: #e9e4da; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: 500 14.5px Inter, sans-serif; text-align: left; }
  .link-form:hover { color: var(--cempa); }
  .v-form { display: grid; gap: 12px; align-content: start; }
  .v-form-t { font-size: 17px; color: #fff; }
  .v-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .v-form label { display: grid; gap: 5px; font-size: 13px; color: #dfe5ef; }
  .v-form input, .v-form select, .v-form textarea { font: 15px Inter, sans-serif; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.08); color: #fff; }
  .v-form select option { color: var(--ink); }
  .v-form .chk { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
  .v-form .chk input { margin-top: 3px; }
  .v-form .chk a { color: #fff; }
  .v-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
  .v-form .f-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
  .v-form .f-actions .link-form { margin: 0; }
  .f-msg { font-size: 14px; color: #9fe0c4; min-height: 20px; } .f-msg a { color: #fff; }
  @media (max-width: 640px) { .v-form .row2 { grid-template-columns: 1fr; } }
  .hero-card .people span { display: block; font-size: 15px; margin-bottom: 2px; }
  .hero-card .people b { font-size: 32px; }
  .hero-card .people b i { color: var(--rosa); }
  .voice [hidden] { display: none !important; }
  .hero-card .people span { margin: 4px 0 0; }
  .hero-card .people b { font-size: 30px; }
  .big-num { display: flex; gap: 16px; align-items: center; margin-top: 4px; padding: 16px 18px; border-radius: 14px; background: var(--rosa-soft); }
  .big-num b { font-family: var(--serif); font-weight: 600; font-size: 58px; line-height: 1; color: var(--rosa); flex: none; }
  .big-num span { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.35; }
  a.try { text-decoration: none; }
  .nav .sm { display: none; }
  @media (max-width: 640px) { .nav .lg { display: none; } .nav .sm { display: inline; } .brand b { font-size: 22px; } .brand .sun { width: 32px; height: 32px; } }
  @media (max-width: 640px) { .nav > .btn { display: none; } }

  /* Redes sociales: en el header (junto al botón) y en el pie */
  .social { display: flex; gap: 6px; align-items: center; }
  @media (max-width: 1200px) { .nav .social { margin-left: auto; } }
  .social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); transition: color .15s, background .15s; }
  .social a:hover { color: var(--rosa); background: rgba(14,138,67,.1); }
  .social svg { width: 18px; height: 18px; fill: currentColor; }
  .social-foot { margin-top: 14px; gap: 8px; }
  .social-foot a { color: #e9e4da; border: 1px solid rgba(255,255,255,.18); }
  .social-foot a:hover { color: #fff; background: rgba(255,255,255,.1); }
  /* Nota pequeña bajo el párrafo de entrada (fecha de actualización de una guía) */
  .lead-note { font-size: 14px; color: var(--ink-3); margin: 8px 0 18px; }
  .lead-note a { color: inherit; }
  /* Llamada con Itzel: alturas fijas para que la tarjeta no crezca mientras llega la conversación */
  /* La columna tiene alto fijo: la transcripción usa lo que deje libre la tarjeta de datos */
  .voice.wide .v-live { height: 460px; }
  .voice.wide .transcript { height: auto; min-height: 0; flex: 1; }
  .voice.wide .taken, .voice.wide .vopts, .voice.wide .v-send { flex: none; }
  .taken { max-height: 170px; overflow-y: auto; }
  @media (max-width: 980px) { .voice.wide .v-live { height: 400px; } .taken { max-height: 150px; } }
  /* Botón de envío de la llamada con Itzel, con la autorización a la vista */
  .v-send { margin-top: 12px; display: grid; gap: 8px; }
  .v-send .btn { width: 100%; }
  .v-send p { margin: 0; font-size: 12.5px; color: #aeb9cc; }
  .v-send a { color: inherit; }

  /* aindez.cl landing: contact block (text and form) */
  .voice.wide.contact { grid-template-columns: .9fr 1.1fr; }
  @media (max-width: 980px) { .voice.wide.contact { grid-template-columns: 1fr; } }

  /* Video del hero de aindez.cl: botón de reproducir en la tarjeta y modal (igual que repseagentica.mx, en verde Aindez) */
  .play-video { position: absolute; left: 80%; top: 61%; transform: translate(-50%, -50%); z-index: 2; border: 0; background: none; padding: 0; cursor: pointer; display: grid; justify-items: center; gap: 8px; }
  .play-video span { width: 72px; height: 72px; border-radius: 50%; background: #17D863; box-shadow: 0 0 0 10px rgba(247, 245, 240, .3), 0 12px 30px rgba(0, 0, 0, .3); display: grid; place-items: center; transition: transform .2s ease; }
  .play-video span::before { content: ""; margin-left: 6px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--tierra); }
  .play-video small { white-space: nowrap; font: 600 14px Inter, sans-serif; color: var(--ink); background: #f7f5f0; padding: 6px 12px; border-radius: 999px; }
  .play-video:hover span, .play-video:focus-visible span { transform: scale(1.08); }
  .play-video:focus-visible { outline: 3px solid #17D863; outline-offset: 6px; border-radius: 20px; }
  @media (max-width: 700px) { .play-video { left: 50%; top: 51%; grid-auto-flow: column; align-items: center; gap: 10px; } .play-video span { width: 46px; height: 46px; box-shadow: 0 0 0 5px rgba(247, 245, 240, .3), 0 8px 20px rgba(0, 0, 0, .3); } .play-video span::before { margin-left: 4px; border-width: 9px 0 9px 14px; } }
  .video-modal { border: 0; padding: 0; background: transparent; width: min(1100px, 92vw); max-height: 92vh; overflow: visible; }
  .video-modal::backdrop { background: rgba(20, 22, 48, .85); }
  .video-modal video { display: block; width: 100%; max-height: 88vh; border-radius: 18px; background: #000; }
  .video-modal video::cue { font-family: Inter, sans-serif; background: rgba(20, 22, 48, .8); color: #fff; }
  .vm-close { position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f7f5f0; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
  @media (max-width: 700px) { .video-modal { width: 92vw; } .video-modal video { max-height: 80vh; } }

  /* En celular y tablet, la tarjeta del hero (con el video) va antes que el titular, como en repseagentica.mx */
  @media (max-width: 980px) { .hero .hero-art { order: -1; } }

  /* Celular: tarjeta del hero compacta (menos de la mitad del alto) para que el titular se vea sin bajar.
     Una sola nota a la izquierda, el botón del video a la derecha y la frase en dos líneas cortas. */
  @media (max-width: 640px) {
    .hero .grid { gap: 22px; padding-top: 16px; }
    .hero-card { aspect-ratio: auto; height: 190px; border-radius: 20px; }
    .hero-card .people { padding: 10px 16px 12px; border-top-width: 3px; }
    .hero-card .people b { font-size: 18px; line-height: 1.2; }
    .hero-card .people span { font-size: 13px; margin: 2px 0 0; }
    .hero-art .float { display: none; }
    .hero-art .f1 { display: flex; top: 14px; left: 12px; max-width: 182px; }
    /* Sin botón de video (EST Agéntica), una segunda nota ocupa la derecha. */
    .hero-art:not(:has(.play-video)) .f1 { max-width: calc(50% - 18px); }
    .hero-art:not(:has(.play-video)) .f2 { display: flex; top: 14px; right: 12px; left: auto; max-width: calc(50% - 18px); }
    .hero-art .f1, .hero-art .f2 { padding: 9px 11px; font-size: 12px; gap: 8px; line-height: 1.3; }
    .hero-art .f1 .dot, .hero-art .f2 .dot { width: 24px; height: 24px; font-size: 12px; }
    .hero-art .float br, .hero-art .float small { display: none; }
    .play-video { left: auto; right: 14px; top: 14px; transform: none; grid-auto-flow: row; justify-items: center; gap: 6px; }
    .play-video small { font-size: 12px; padding: 4px 10px; }
  }

  /* Tarjeta de voz en celular: compacta, se habla con un toque y, durante la llamada, una barra fija
     abajo con el tiempo y «Terminar» (y el envío de la solicitud justo encima). En pantallas anchas no cambia. */
  .fine-sm { display: none; }
  @media (max-width: 640px) {
    .voice.wide { padding: 20px; gap: 14px; min-height: 0; border-radius: 18px; }
    .voice .eyebrow { display: none; }
    .voice.wide h3 { font-size: 26px; margin: 0 0 4px; }
    .voice .v-info > p { font-size: 14.5px; }
    .voice.wide .seller { margin: 12px 0; gap: 10px; }
    .seller .av { width: 44px; height: 44px; font-size: 20px; }
    .voice #vfine, .voice #open-form { display: none; }
    .fine-sm { display: block; margin: 10px 0 0; font-size: 12.5px; color: #aeb9cc; }
    .voice .fine-sm a, .fine-sm .link-form { color: inherit; font-size: 12.5px; margin: 0; }
    .voice:not(.used) .v-live { display: none; }
    .voice.wide .v-live { height: auto; }
    .voice.wide .transcript { min-height: 0; height: 150px; flex: none; font-size: 13.5px; padding: 10px 12px; gap: 6px; }
    .voice.live .v-ctrl { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; justify-content: space-between; background: var(--tierra); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(0, 0, 0, .25); }
    .voice.live .v-send { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; margin: 0; background: var(--tierra); border: 1px solid rgba(255, 255, 255, .15); border-radius: 14px; padding: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
    body:has(.voice.live) { padding-bottom: 170px; }
    .voice.live #call { background: #c2412d; color: #fff; }
    body:has(.voice.live) .fab { display: none; }
  }

/* En celular se oculta la línea de rubros del hero para que se vean los dos botones sin bajar */
@media (max-width: 640px) { .hero .rubros { display: none; } }

/* Desde el botón del hero en celular: destaca «Hablar con…» para que se toque ahí (Safari pide el micrófono en ese toque) */
.llamame { animation: llamame 1s ease-out .4s 3; }
@keyframes llamame { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); } }

/* En celular, cuando la solicitud está lista, «Enviar mi solicitud» va en la barra de abajo junto a «Terminar»
   (en vez del tiempo), con la autorización en letra chica justo encima. Las dos cajas fijas comparten el borde
   inferior, así que los dos botones quedan alineados. */
@media (max-width: 640px) {
  .voice.live:has(.v-send) .v-ctrl { padding-top: 58px; }
  .voice.live:has(.v-send) #vtimer { display: none; }
  .voice.live:has(.v-send) #call { width: 116px; padding-left: 0; padding-right: 0; justify-content: center; }
  .voice.live .v-send { left: 0; right: 0; bottom: 0; z-index: 61; background: none; border: 0; border-radius: 0; box-shadow: none;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); grid-template-columns: 116px 1fr; column-gap: 10px; row-gap: 10px; pointer-events: none; }
  .voice.live .v-send > * { pointer-events: auto; }
  .voice.live .v-send p { grid-column: 1 / -1; grid-row: 1; font-size: 11.5px; line-height: 1.35; }
  .voice.live .v-send .btn { grid-column: 2; grid-row: 2; }
}

/* En celular la tarjeta de voz va sin bajada: basta el título y el botón */
@media (max-width: 640px) { .voice .v-info > p { display: none; } }

/* En celular el pie va en dos columnas (la primera, Aindez, a lo ancho): con tres se salía de la pantalla */
@media (max-width: 640px) { footer .cols { grid-template-columns: 1fr 1fr; gap: 24px 20px; } footer .cols > div:first-child { grid-column: 1 / -1; } }

/* Each section fits one laptop screen (≈1440×800) without scrolling */
@media (min-width: 981px) {
  .hero .grid { padding-top: 16px; }
  .hero h1 { margin: 8px 0 12px; }
  .hero .ctas { margin-top: 20px; }
  #servicios .sec-head { max-width: none; }
}
