/* Tipografía: Sora (SIL Open Font License 1.1), servida desde nuestro propio dominio */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/fonts/sora.woff2) format("woff2-variations"), url(/fonts/sora.woff2) format("woff2"); }
body { font-family: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-feature-settings: "ss01" 0; letter-spacing: -0.01em; }
.btn, .pill, .kicker, .badge, .chip { letter-spacing: 0.1em; }
/* ---------- Versión simplificada ---------- */
.pill--cta { text-decoration: none; color: var(--blanco); border-color: rgba(245, 181, 27, 0.45); transition: background-color 200ms ease, color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .pill--cta:hover { background: var(--amarillo); color: var(--negro); } }
.hero__title { max-width: 12ch; }
.hero__cta { margin-top: 40px; }
.section--alt.form-section { max-width: none; }
.form-section > * { max-width: 760px; }
.form-section .lead-form { background: var(--negro); }
.servicios__claim { max-width: 22ch; margin-inline: auto; }
.step h3 .y { color: var(--amarillo); }
@media (min-width: 720px) and (max-width: 1039px) { .steps--5 .step:last-child { grid-column: 1 / -1; } }
@media (min-width: 1040px) {
  .steps--5 { grid-template-columns: repeat(6, 1fr); }
  .steps--5 .step { grid-column: span 2; }
  .steps--5 .step:nth-child(4) { grid-column: 2 / 4; }
  .steps--5 .step:nth-child(5) { grid-column: 4 / 6; }
}
.hero__sub { margin: 26px auto 0; max-width: 34ch; font-size: clamp(16px, 2.2vw, 20px); line-height: 1.5; color: var(--texto-2); text-wrap: balance; }
/* ---------- Lista de servicios ---------- */
.servicios__grupos { display: grid; gap: 20px; margin-top: 56px; text-align: left; max-width: 1080px; margin-inline: auto; }
@media (min-width: 900px) { .servicios__grupos { grid-template-columns: repeat(3, 1fr); } }
.sgrupo { border: 1px solid var(--linea); border-radius: var(--radius); padding: 28px 24px; background: var(--negro); }
.sgrupo__tit { margin: 0 0 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blanco); }
.sgrupo__tit .y { color: var(--amarillo); margin-right: 8px; }
.sgrupo__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sgrupo__lista li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.sgrupo__lista li:first-child { border-top: 0; padding-top: 0; }
.sgrupo__lista h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--blanco); }
.sgrupo__lista p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--texto-2); }
/* ---------- Animación de entrada del titular ---------- */
@keyframes neo-rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes neo-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes neo-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes neo-fade { from { opacity: 0; } to { opacity: 1; } }
.hero__title .w { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; padding: 0.14em 0.02em 0.1em; margin: -0.14em -0.02em -0.1em; }
.hero__title .wi { display: inline-block; animation: neo-rise 1000ms cubic-bezier(0.77, 0, 0.175, 1) both; }
.hero__title .w:nth-child(1) .wi { animation-delay: 100ms; }
.hero__title .w:nth-child(2) .wi { animation-delay: 170ms; }
.hero__title .w:nth-child(3) .wi { animation-delay: 240ms; }
.hero__title .w:nth-child(4) .wi { animation-delay: 310ms; }
.hero__title .w:nth-child(5) .wi { animation-delay: 380ms; }
.hero__title .w:nth-child(6) .wi { animation-delay: 450ms; }
.hero__title .w:nth-child(7) .wi { animation-delay: 560ms; text-align: center; }
.hero__title .w.y::after { content: ""; position: absolute; left: 0.02em; right: 0.3em; bottom: 0.02em; height: 0.07em; background: var(--amarillo); border-radius: 0.04em; transform: scaleX(0); transform-origin: left; animation: neo-line 700ms var(--ease-out) 1450ms both; }
.intro--sub { animation: neo-up 800ms var(--ease-out) 1250ms both; }
.intro--cta { animation: neo-up 800ms var(--ease-out) 1400ms both; }
.hero__lines { animation: neo-fade 1600ms ease 200ms both; }
/* ---------- 00 · Problemas: carrusel automático ---------- */
.problemas { max-width: none; padding-inline: 0; overflow: hidden; }
.problemas > :not(.carrusel) { max-width: var(--max); margin-left: auto; margin-right: auto; padding-inline: var(--pad); }
.carrusel { position: relative; margin-top: 48px; display: grid; gap: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee { overflow: hidden; }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: neo-marquee 65s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 74s; }
@keyframes neo-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
.prob { flex: 0 0 auto; width: clamp(230px, 64vw, 300px); min-height: 104px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; text-align: left;
  padding: 20px 22px; background: var(--grafito); border: 1px solid var(--linea); border-radius: var(--radius); font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--blanco); }
.prob__x { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--amarillo); position: relative; flex: none; }
.prob__x::before, .prob__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.5px; background: var(--amarillo); transform: translate(-50%, -50%) rotate(45deg); }
.prob__x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.problemas__cierre { margin-top: 56px; margin-bottom: 0; font-size: clamp(30px, 6.4vw, 52px); line-height: 1.08; font-weight: 500; letter-spacing: -0.025em; text-wrap: balance; }
@media (prefers-reduced-motion: reduce) {
  .hero__title .wi, .intro--sub, .intro--cta, .hero__lines { animation: neo-fade 400ms ease both; animation-delay: 0ms; }
  .hero__title .w.y::after { animation: none; transform: none; }
  .marquee { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--pad); }
  .marquee__track { animation: none; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .prob { scroll-snap-align: start; }
  .carrusel { mask-image: none; -webkit-mask-image: none; }
}
