/* Home por problemas: loaded after home-nuevo.css (tokens, .btn, .tag, footer). */
.hp-hero{padding-top:calc(var(--nav-h) + 28px);padding-bottom:48px;display:grid;gap:28px;align-items:center}
.hp-hero h1{font-size:clamp(34px,6vw,64px);line-height:1.04;max-width:16ch}
.hp-hero .sub{margin-top:18px;font-size:clamp(18px,2.2vw,21px);color:var(--soft);max-width:38ch}
.hp-hero .acciones{margin-top:26px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hp-hero .nota{margin-top:14px;font-size:15px;color:var(--soft)}
.hp-hero .foto{border-radius:28px;overflow:hidden;background:var(--frost);aspect-ratio:4/3;max-width:520px;justify-self:center;width:100%}
.hp-hero .foto img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 45%}
@media (min-width:900px){.hp-hero{grid-template-columns:1.1fr .9fr;gap:48px}.hp-hero .foto{aspect-ratio:4/5;max-width:400px;justify-self:end}}

.hp-sec{padding:40px 0}
.hp-sec h2{font-size:clamp(28px,4.2vw,44px);line-height:1.08}
.hp-sec .lead{margin-top:12px;color:var(--soft);max-width:52ch;font-size:18px}
.hp-grid{display:grid;gap:16px;margin-top:28px;grid-template-columns:1fr}
@media (min-width:700px){.hp-grid--3{grid-template-columns:repeat(3,1fr)}.hp-grid--2{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){.hp-grid--4{grid-template-columns:repeat(4,1fr)}}
@media (min-width:700px) and (max-width:959px){.hp-grid--4{grid-template-columns:repeat(2,1fr)}}
.hp-card{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px}
.hp-card h3{font-size:21px;line-height:1.2}
.hp-card p{color:var(--soft);font-size:16px}
.hp-card .grow{flex:1}
.hp-card .tag{background:var(--frost)}
.hp-card .btn{min-height:48px;padding:0 22px;font-size:15px;margin-top:6px}
.hp-link{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:var(--brand);text-decoration:none}
.hp-link:hover{text-decoration:underline}
.hp-lista{display:grid;gap:6px;color:var(--soft);font-size:16px;padding-left:0}
.hp-lista li{padding-left:22px;position:relative}
.hp-lista li::before{content:"";position:absolute;left:4px;top:.62em;width:8px;height:8px;border-radius:50%;background:var(--brand)}
.hp-scan{margin-top:20px;background:var(--t-seo);border-radius:24px;padding:26px;display:grid;gap:10px}
.hp-scan h3{font-size:24px}
.hp-scan p{color:var(--soft);max-width:60ch}
.hp-precio{font:700 28px/1.1 var(--display);color:var(--ink)}
.hp-pasos{counter-reset:p;display:grid;gap:16px;margin-top:28px}
@media (min-width:760px){.hp-pasos{grid-template-columns:repeat(3,1fr)}}
.hp-pasos li{counter-increment:p;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px}
.hp-pasos li::before{content:counter(p);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fff;font:700 15px/1 var(--display);margin-bottom:12px}
.hp-pasos h3{font-size:20px}
.hp-pasos p{margin-top:6px;color:var(--soft);font-size:16px}
.hp-precio-plan{font:700 24px/1.1 var(--display)}
.hp-precio-plan small{font:500 14px var(--body);color:var(--soft)}
.hp-empresas{margin-top:18px;background:var(--t-mail);border-radius:20px;padding:22px}
.hp-empresas p{color:var(--soft);margin-top:6px}
.hp-caso{margin-top:24px;background:var(--frost);border-radius:24px;padding:26px;max-width:760px}
.hp-caso p{margin-top:10px;color:var(--soft)}
.hp-faq{margin-top:24px;display:grid;gap:10px;max-width:820px}
.hp-faq details{background:#fff;border:1px solid var(--line);border-radius:16px;padding:0 20px}
.hp-faq summary{cursor:pointer;min-height:56px;display:flex;align-items:center;font-weight:600;font-size:17px}
.hp-faq details p{padding:0 0 18px;color:var(--soft)}
.hp-contacto{margin-top:24px;background:var(--t-seo);border-radius:32px;padding:34px 28px}
.hp-contacto p{margin-top:12px;color:var(--soft);max-width:48ch;font-size:18px}
.hp-contacto .btn{margin-top:22px}
.hp-contacto a:not(.btn){color:var(--brand)}
.hp-legal{display:flex;flex-wrap:wrap;gap:0 14px}
.hp-fin{height:40px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hp-scan .tag{justify-self:start}
.hp-caso{margin-top:0;max-width:none}
.hp-logos{position:relative;margin-top:28px}
/* One line, no wrap: each li grows by its logo aspect ratio so every logo gets the same height */
.hp-logos ul{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:clamp(10px,3vw,40px);max-width:1000px}
.hp-logos li{flex:var(--w,3) 1 0;min-width:0;position:relative;display:flex;justify-content:center}
.hp-logos img{display:block;width:100%;height:auto;max-height:56px;object-fit:contain}
.hp-logos li:nth-child(1){--w:3.6}
.hp-logos li:nth-child(2){--w:2.6}
.hp-logos li:nth-child(3){--w:3}
.hp-logos li:nth-child(4){--w:2.6}
.hp-logos li:nth-child(5){--w:3}
.hp-logos li:nth-child(6){--w:5}
/* Qantta file is white on transparent: dark silhouette on the light page */
.hp-logos img.hp-logo-qantta{filter:brightness(0);opacity:.8}
.hp-tip{cursor:help;outline-offset:6px;border-radius:8px}
/* Floating note: absolute, out of flow, nothing reserved */
.hp-tip-t{position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%);width:max-content;max-width:min(280px,80vw);background:var(--ink);color:#fff;border-radius:12px;padding:10px 14px;font-size:14px;line-height:1.4;text-align:left;z-index:20;opacity:0;visibility:hidden;transition:opacity .15s;pointer-events:none}
.hp-tip-t::before{content:"";position:absolute;bottom:100%;left:50%;margin-left:-7px;border:7px solid transparent;border-bottom-color:var(--ink)}
.hp-tip:hover .hp-tip-t,.hp-tip:focus .hp-tip-t,.hp-tip:focus-visible .hp-tip-t{opacity:1;visibility:visible}
.hp-logos li:first-child .hp-tip-t{left:0;transform:none}
.hp-logos li:first-child .hp-tip-t::before{left:24px}
.hp-logos li:last-child .hp-tip-t{left:auto;right:0;transform:none}
.hp-logos li:last-child .hp-tip-t::before{left:auto;right:24px;margin-left:0}
@media (max-width:700px){
  .hp-logos li.hp-tip{position:static}
  .hp-tip-t{top:calc(100% + 12px);left:8px!important;right:8px!important;transform:none!important;width:auto;max-width:none}
  .hp-tip-t::before{display:none}
  .hp-logos ul{position:relative}
}
/* Phones: 2 rows x 3 logos. 20-column grid, spans follow each logo's aspect ratio so heights stay even */
@media (max-width:600px){
  .hp-logos ul{display:grid;grid-template-columns:repeat(20,1fr);gap:22px 0;align-items:center;justify-items:center;max-width:none}
  .hp-logos li{grid-column:span 6;width:100%;padding:0 7px;flex:none}
  .hp-logos li:nth-child(1){grid-column:span 9}
  .hp-logos li:nth-child(2){grid-column:span 4}
  .hp-logos li:nth-child(3){grid-column:span 7}
  .hp-logos li:nth-child(4){grid-column:span 5}
  .hp-logos li:nth-child(5){grid-column:span 6}
  .hp-logos li:nth-child(6){grid-column:span 9}
  .hp-logos img{max-height:44px}
  /* Venture49 file has empty bands above and below the mark: crop them so it is not tiny */
  .hp-logos li:nth-child(6) img{aspect-ratio:640/84;object-fit:cover;object-position:50% 46%;height:auto}
}
