/* =========================================================
   Task — sitio institucional (task.com.ar)
   Estilos compartidos por la portada, /comandas y /tickets.
   ========================================================= */

:root {
  --ink: #0d1020;
  --ink-2: #1a1f36;
  --ink-soft: #4a5068;
  --muted: #737a93;
  --line: #e6e8f0;
  --bg: #f6f7fb;
  --card: #ffffff;

  --brand: #5b4cf0;
  --brand-2: #8b5cf6;
  --brand-soft: #eeebff;

  /* Acento de cada producto */
  --com: #ef4444;
  --com-2: #f97316;
  --com-soft: #fff0ea;
  --tk: #0ea5e9;
  --tk-2: #14b8a6;
  --tk-soft: #e6f7fb;

  --wa: #25d366;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(13, 16, 32, .04), 0 8px 24px rgba(13, 16, 32, .06);
  --shadow-lg: 0 2px 6px rgba(13, 16, 32, .05), 0 24px 60px rgba(13, 16, 32, .12);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.contenedor { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.seccion { padding: 96px 0; }
.seccion-sm { padding: 64px 0; }
.centrado { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }
.centrado .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--brand);
  margin-bottom: 14px;
}
.eyebrow.com { color: var(--com); }
.eyebrow.tk { color: var(--tk); }

.degrade {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.degrade.com { background-image: linear-gradient(100deg, var(--com), var(--com-2)); }
.degrade.tk { background-image: linear-gradient(100deg, var(--tk), var(--tk-2)); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primario { background: var(--ink); color: #fff; box-shadow: 0 8px 20px rgba(13, 16, 32, .18); }
.btn-wa { background: var(--wa); color: #07361b; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn-com { background: linear-gradient(100deg, var(--com), var(--com-2)); color: #fff; box-shadow: 0 8px 20px rgba(239, 68, 68, .3); }
.btn-tk { background: linear-gradient(100deg, var(--tk), var(--tk-2)); color: #fff; box-shadow: 0 8px 20px rgba(14, 165, 233, .3); }
.btn-borde { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-borde:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-claro { background: #fff; color: var(--ink); }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }
.centrado .botones { justify-content: center; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 251, .8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.con-borde { border-color: var(--line); }
.nav .contenedor { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.45rem; letter-spacing: -.04em; }
.logo-icono {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 14px rgba(91, 76, 240, .35);
}
.logo-icono svg { width: 20px; height: 20px; }
.logo small { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.activo { color: var(--ink); }
.nav-links .btn { padding: 10px 18px; font-size: .92rem; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav-links.abierto { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links .btn { margin-top: 16px; border: 0; padding: 14px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 720px; z-index: -1;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(139, 92, 246, .18), transparent 70%),
    radial-gradient(35% 45% at 80% 20%, rgba(14, 165, 233, .16), transparent 70%),
    radial-gradient(35% 45% at 60% 70%, rgba(249, 115, 22, .12), transparent 70%);
}
.hero.com::before {
  background:
    radial-gradient(40% 50% at 15% 30%, rgba(239, 68, 68, .16), transparent 70%),
    radial-gradient(35% 45% at 80% 30%, rgba(249, 115, 22, .16), transparent 70%);
}
.hero.tk::before {
  background:
    radial-gradient(40% 50% at 15% 30%, rgba(14, 165, 233, .18), transparent 70%),
    radial-gradient(35% 45% at 80% 30%, rgba(20, 184, 166, .16), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .lead { margin-bottom: 32px; }
.pastilla {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-size: .88rem; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.pastilla b { white-space: nowrap; background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 2px 10px; font-size: .78rem; }
.hero.com .pastilla b { background: var(--com-soft); color: var(--com); }
.hero.tk .pastilla b { background: var(--tk-soft); color: #0284c7; }
.url-demo {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: .92rem; color: var(--muted);
}
.url-demo code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88rem;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; color: var(--ink);
}
.url-demo code em { font-style: normal; color: var(--com); font-weight: 700; }
.hero.tk .url-demo code em { color: #0284c7; }

@media (max-width: 960px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Tarjetas de producto (portada) ---------- */
.productos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.producto {
  position: relative; overflow: hidden;
  background: var(--card); border-radius: 28px; padding: 36px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.producto:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.producto .chip {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.producto.com .chip { background: var(--com-soft); color: var(--com); }
.producto.tk .chip { background: var(--tk-soft); color: #0284c7; }
.producto h3 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.producto p { color: var(--ink-soft); }
.producto ul { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 10px; }
.producto li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .98rem; }
.producto li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.producto.com li svg { color: var(--com); }
.producto.tk li svg { color: var(--tk); }
.producto .ir { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.producto .ir svg { width: 18px; height: 18px; transition: transform .2s; }
.producto:hover .ir svg { transform: translateX(4px); }
.producto.com .ir { color: var(--com); }
.producto.tk .ir { color: #0284c7; }
.producto .visual { margin: 0 -36px 28px; height: 250px; position: relative; overflow: hidden; }
.producto.com .visual { background: linear-gradient(160deg, #fff5f0, #ffe4dc); }
.producto.tk .visual { background: linear-gradient(160deg, #eefaff, #dbf3f7); }
@media (max-width: 860px) {
  .productos { grid-template-columns: 1fr; }
  .producto { padding: 28px 22px; }
  .producto .visual { margin: 0 -22px 24px; }
}

/* ---------- Grilla de funciones ---------- */
.funciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.funcion {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.funcion .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.funcion .ico svg { width: 24px; height: 24px; }
.funciones.com .ico { background: var(--com-soft); color: var(--com); }
.funciones.tk .ico { background: var(--tk-soft); color: #0284c7; }
.funcion h3 { margin-bottom: 8px; }
.funcion p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
@media (max-width: 960px) { .funciones { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .funciones { grid-template-columns: 1fr; } }

/* ---------- Pasos ---------- */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; counter-reset: paso; }
.paso { position: relative; padding: 28px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.paso::before {
  counter-increment: paso; content: counter(paso);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  font-weight: 800; font-size: .95rem; color: #fff; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.pasos.com .paso::before { background: linear-gradient(135deg, var(--com), var(--com-2)); }
.pasos.tk .paso::before { background: linear-gradient(135deg, var(--tk), var(--tk-2)); }
.paso h3 { font-size: 1.05rem; }
.paso p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .pasos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pasos { grid-template-columns: 1fr; } }

/* ---------- Bloque texto + visual ---------- */
.dividido { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.dividido.invertido > :first-child { order: 2; }
.lista-check { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.lista-check li b { color: var(--ink); }
.lista-check li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--brand); }
.com .lista-check li svg, .lista-check.com li svg { color: var(--com); }
.tk .lista-check li svg, .lista-check.tk li svg { color: var(--tk); }
@media (max-width: 960px) {
  .dividido { grid-template-columns: 1fr; gap: 40px; }
  .dividido.invertido > :first-child { order: 0; }
}

/* ---------- Sección oscura ---------- */
.oscuro { background: var(--ink); color: #fff; }
.oscuro .lead, .oscuro p { color: #b4b9cf; }
.oscuro .eyebrow { color: #a99dff; }
.oscuro .funcion { background: var(--ink-2); border-color: #2a3050; box-shadow: none; }
.oscuro .funcion p { color: #a3a9c2; }
.oscuro .funcion .ico { background: rgba(139, 92, 246, .16); color: #b3a6ff; }

/* ---------- Teléfonos con capturas ---------- */
.telefono {
  position: relative; width: 280px; aspect-ratio: 390 / 844;
  border-radius: 44px; padding: 10px; background: #0d0f16;
  box-shadow: 0 0 0 2px #2b2f3d inset, var(--shadow-lg);
}
.telefono::after {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; border-radius: 999px; background: #0d0f16; z-index: 2;
}
.telefono .pantalla { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #fff; position: relative; }
.telefono .pantalla img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.telefonos { position: relative; height: 600px; }
.telefonos .telefono { position: absolute; }
.telefonos .t1 { left: 0; top: 60px; transform: rotate(-6deg); z-index: 1; }
.telefonos .t2 { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
.telefonos .t3 { right: 0; top: 60px; transform: rotate(6deg); z-index: 2; }
@media (max-width: 1100px) {
  .telefonos { height: 560px; }
  .telefonos .telefono { width: 240px; }
}
@media (max-width: 620px) {
  .telefonos { height: 470px; max-width: 360px; margin: 0 auto; }
  .telefonos .telefono { width: 200px; border-radius: 34px; padding: 7px; }
  .telefonos .telefono .pantalla { border-radius: 27px; }
  .telefonos .telefono::after { width: 60px; height: 18px; top: 14px; }
  .telefonos .t1 { left: -20px; top: 50px; }
  .telefonos .t3 { right: -20px; top: 50px; }
}

.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.galeria figure { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.galeria .telefono { width: 100%; max-width: 280px; }
.galeria figcaption { margin-top: 24px; max-width: 280px; }
.galeria figcaption b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.galeria figcaption span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) {
  .galeria { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 24px; margin: 40px -20px 0; }
  .galeria figure { scroll-snap-align: center; }
}

/* ---------- Ventana de navegador (maquetas) ---------- */
.ventana {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  font-size: 13px; line-height: 1.4;
}
.ventana-barra { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #f1f2f7; border-bottom: 1px solid var(--line); }
.puntos { display: flex; gap: 6px; }
.puntos i { width: 10px; height: 10px; border-radius: 50%; background: #d4d6e0; }
.puntos i:nth-child(1) { background: #ff5f57; } .puntos i:nth-child(2) { background: #febc2e; } .puntos i:nth-child(3) { background: #28c840; }
.ventana-url { flex: 1; background: #fff; border-radius: 8px; padding: 4px 12px; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ventana-url b { color: var(--ink); font-weight: 600; }
.ventana-cuerpo { padding: 16px; }
.maqueta-nota { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }

/* Maqueta: tablero de comandas */
.tablero { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.columna { min-width: 0; background: #f6f7fb; border-radius: 12px; padding: 10px; }
.columna h5 { margin: 2px 4px 10px; font-size: 12px; display: flex; justify-content: space-between; align-items: center; }
.columna h5 span { background: #fff; border-radius: 999px; padding: 1px 8px; font-size: 11px; color: var(--muted); }
.comanda { background: #fff; border-radius: 10px; padding: 10px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.06); border-left: 3px solid var(--com); }
.comanda.prep { border-left-color: #f59e0b; }
.comanda.listo { border-left-color: #10b981; }
.comanda .cab { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 4px; }
.comanda .cab small { font-weight: 600; color: var(--muted); }
.comanda ul { margin: 0 0 6px; padding: 0; list-style: none; color: var(--ink-soft); font-size: 12px; }
.comanda .comanda-pie { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 11px; }
.etq { display: inline-block; white-space: nowrap; border-radius: 999px; padding: 1px 8px; font-weight: 700; font-size: 10.5px; }
.etq.env { background: #eef2ff; color: #4f46e5; }
.etq.ret { background: #ecfdf5; color: #059669; }
.etq.mp { background: #e0f2fe; color: #0369a1; }
.etq.ef { background: #fef9c3; color: #854d0e; }
@media (max-width: 620px) {
  .tablero { grid-template-columns: 1fr 1fr; }
  .tablero .columna:nth-child(3) { display: none; }
}

/* Maqueta: listado de tickets */
.tk-filtros { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.tk-filtros span { border-radius: 8px; padding: 4px 10px; font-weight: 700; font-size: 11.5px; border: 1.5px solid; }
.f-nuevo { color: #059669; border-color: #a7f3d0; background: #ecfdf5; }
.f-prog { color: #b45309; border-color: #fde68a; }
.f-lib { color: #0369a1; border-color: #bae6fd; }
.f-cer { color: #475569; border-color: #e2e8f0; }
.tk-fila { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 10px 8px; border-top: 1px solid var(--line); }
.tk-fila .num { font-weight: 800; color: var(--muted); }
.tk-fila .asunto { font-weight: 700; }
.tk-fila .cli { color: var(--muted); font-size: 12px; }
.tk-fila .der { display: flex; gap: 6px; align-items: center; }
.b { border-radius: 999px; padding: 2px 9px; font-weight: 700; font-size: 11px; white-space: nowrap; }
.b-nuevo { background: #d1fae5; color: #047857; }
.b-prog { background: #fef3c7; color: #92400e; }
.b-lib { background: #e0f2fe; color: #075985; }
.b-alta { background: #fee2e2; color: #b91c1c; }
.b-media { background: #ffedd5; color: #9a3412; }
.b-r { background: #dc2626; color: #fff; }

/* Maqueta: chat de WhatsApp */
.wa-tel .pantalla { background: #efeae2; display: flex; flex-direction: column; }
.wa-cab { background: #075e54; color: #fff; padding: 44px 14px 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.wa-cab .av { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #075e54; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.wa-cab small { display: block; opacity: .8; font-size: 11px; }
.wa-chat { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; line-height: 1.35; overflow: hidden; }
.msj { max-width: 82%; padding: 6px 9px 4px; border-radius: 10px; box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; }
.msj small { display: block; text-align: right; font-size: 9.5px; color: #667781; margin-top: 2px; }
.msj.in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.msj.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.msj.sis { align-self: center; background: #fff8c5; font-size: 11px; color: #54656f; text-align: center; max-width: 90%; }

/* ---------- Tarjeta de cliente / testimonio ---------- */
.cliente {
  display: flex; gap: 20px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow); margin-top: 32px;
}
.cliente img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.cliente p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.cliente b { color: var(--ink); }

/* ---------- Rubros ---------- */
.rubros { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.rubros span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: .92rem; color: var(--ink-soft);
}
.centrado .rubros { justify-content: center; }

/* ---------- Ventajas generales (portada) ---------- */
.ventajas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.ventaja .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(139, 92, 246, .16); color: #b3a6ff; margin-bottom: 16px; }
.ventaja .ico svg { width: 22px; height: 22px; }
.ventaja h3 { font-size: 1.08rem; color: #fff; }
.ventaja p { font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .ventajas { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .ventajas { grid-template-columns: 1fr; } }

/* ---------- Llamado a la acción ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: 32px; padding: 64px 40px; text-align: center; color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
}
.cta.com { background: linear-gradient(120deg, var(--com), var(--com-2)); }
.cta.tk { background: linear-gradient(120deg, #0284c7, var(--tk-2)); }
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 22px 22px;
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .88); max-width: 560px; margin: 0 auto 32px; font-size: 1.1rem; }
@media (max-width: 620px) { .cta { padding: 48px 22px; border-radius: 24px; } }

/* ---------- Contacto ---------- */
.contactos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.contacto {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s;
  min-width: 0;
}
.contacto:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contacto .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; }
.contacto .ico svg { width: 24px; height: 24px; }
.contacto.wa .ico { background: var(--wa); }
.contacto.mail .ico { background: var(--brand); }
.contacto.ig .ico { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.contacto small { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; }
.contacto b { display: block; font-size: 1rem; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contactos { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.pie { border-top: 1px solid var(--line); padding: 48px 0 40px; background: #fff; }
.pie-grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.pie p { color: var(--muted); font-size: .92rem; margin: 12px 0 0; max-width: 320px; }
.pie-links { display: flex; gap: 48px; flex-wrap: wrap; }
.pie-links h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.pie-links a { display: block; text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: .95rem; padding: 3px 0; }
.pie-links a:hover { color: var(--ink); }
.pie-final { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.pie-final a { color: var(--ink); font-weight: 700; text-decoration: none; }

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .15s;
}
.wa-flotante:hover { transform: scale(1.08); }
.wa-flotante svg { width: 32px; height: 32px; }

/* ---------- Animación de aparición ---------- */
.aparecer { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.aparecer.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aparecer { opacity: 1; transform: none; transition: none; }
  .btn, .producto, .contacto { transition: none; }
}

/* ---------- Ajustes de grillas y visual del hero ---------- */
.hero-grid > *, .dividido > * { min-width: 0; }

.hero-visual { position: relative; min-height: 540px; }
.hero-visual .hv-ventana { position: absolute; width: 78%; max-width: 500px; }
.hero-visual .hv-tel { position: absolute; z-index: 2; }
.hv-der .hv-ventana { right: 0; top: 30px; }
.hv-der .hv-tel { left: 0; top: 120px; width: 215px; }
.hv-izq .hv-ventana { left: 0; top: 60px; width: 76%; }
.hv-izq .hv-tel { right: 0; top: 0; width: 235px; }

@media (max-width: 620px) {
  .hero-visual { min-height: 0; }
  .hero-visual .hv-ventana { position: relative; width: 100%; top: 0; left: 0; right: 0; }
  .hero-visual .hv-tel { position: relative; top: 0; left: 0; right: 0; margin: -70px auto 0; }
  .hv-der .hv-tel { width: 200px; }
  .hv-izq .hv-tel { width: 260px; margin-top: -40px; }
}

/* ---------- Marca Task (tickets) ---------- */
:root { --brand: #0284c7; --brand-2: #14b8a6; --brand-soft: #e6f7fb; }
.logo-icono { box-shadow: 0 6px 14px rgba(2, 132, 199, .35); }
.oscuro .eyebrow { color: #7dd3fc; }
