/* Páginas de soluciones: plantilla centrada en el problema, con cifras calculadas por el visitante.
   Reutiliza la calculadora (.vc), la banda de contacto (.cb) y el modal (.ld) de lead.css. */

.sl-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.sl-sec { padding: 44px 0; }
@media (min-width: 1024px) { .sl-sec { padding: 60px 0; } }

.sl-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.sl-kicker { display: inline-block; margin-bottom: 18px; padding: 8px 16px; border-radius: 999px; background: rgba(81, 217, 214, 0.14); font-size: 0.85rem; font-weight: 600; color: #0b6f6c; }
.sl-h2 { margin: 0 0 14px; font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: #202020; text-wrap: balance; }
.sl-h2 em { font-style: normal; background: linear-gradient(90deg, #2fb5b2, #51D9D6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sl-lead { margin: 0; font-size: 1.1rem; line-height: 1.55; color: rgba(32, 32, 32, 0.75); }

/* ---------- Migas ---------- */
.sl-crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin: 0 0 22px; padding: 0; list-style: none; font-size: 0.85rem; color: rgba(32, 32, 32, 0.6); }
.sl-crumbs a { color: inherit; text-decoration: none; }
.sl-crumbs a:hover { color: #0b6f6c; text-decoration: underline; }
.sl-crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(32, 32, 32, 0.3); }

/* ---------- Hero ---------- */
.sl-hero { position: relative; padding: 150px 0 40px; overflow: hidden; text-align: center; }
@media (min-width: 1025px) { .sl-hero { padding-top: 190px; } }
.sl-hero::before, .sl-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.sl-hero::before { top: -120px; left: -100px; width: 420px; height: 420px; background: rgba(81, 217, 214, 0.35); }
.sl-hero::after { top: 40px; right: -120px; width: 380px; height: 380px; background: rgba(184, 138, 255, 0.2); }
.sl-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid #dfe4eb; font-size: 0.85rem; font-weight: 700; color: #0b6f6c; box-shadow: 0 8px 20px -14px rgba(20, 32, 31, 0.5); }
.sl-badge i { width: 8px; height: 8px; border-radius: 50%; background: #51D9D6; box-shadow: 0 0 0 0 rgba(81, 217, 214, 0.7); animation: sl-pulse 2.2s ease-out infinite; }
@keyframes sl-pulse { 70% { box-shadow: 0 0 0 10px rgba(81, 217, 214, 0); } 100% { box-shadow: 0 0 0 0 rgba(81, 217, 214, 0); } }
.sl-h1 { max-width: 900px; margin: 0 auto 20px; font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; color: #202020; text-wrap: balance; }
.sl-h1 em { font-style: normal; background: linear-gradient(90deg, #2fb5b2, #51D9D6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sl-sub { max-width: 640px; margin: 0 auto 30px; font-size: 1.2rem; line-height: 1.5; color: rgba(32, 32, 32, 0.78); }
.sl-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 14px; }
.sl-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border: 2px solid transparent; border-radius: 999px; font: inherit; font-size: 1.05rem; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease; }
.sl-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
.sl-btn--main { background: #51D9D6; color: #14201f; box-shadow: 0 16px 30px -14px #2fb5b2; }
.sl-btn--main:hover, .sl-btn--main:focus-visible { background: #45C9C6; transform: translateY(-2px); outline: none; }
.sl-btn--main:hover svg { transform: translateX(4px); }
.sl-btn--ghost { background: #fff; border-color: #dfe4eb; color: #202020; }
.sl-btn--ghost:hover, .sl-btn--ghost:focus-visible { border-color: #51D9D6; background: #f2f8f8; outline: none; }
.sl-note { margin: 0; font-size: 0.88rem; color: rgba(32, 32, 32, 0.6); }

.sl-stat { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; max-width: 760px; margin: 44px auto 0; padding: 24px 30px; overflow: hidden; border-radius: 28px; background: linear-gradient(150deg, #0b6f6c, #0a4f4d); color: #fff; text-align: left; box-shadow: 0 30px 60px -34px rgba(11, 111, 108, 0.9); }
.sl-stat::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(81, 217, 214, 0.5), transparent 70%); animation: sl-breathe 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes sl-breathe { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.25); opacity: 1; } }
.sl-stat__n { position: relative; font-size: clamp(2.6rem, 7vw, 4.2rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, #fff, #51D9D6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sl-stat__t { position: relative; font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.sl-stat__t span { display: block; margin-top: 6px; font-size: 0.82rem; font-weight: 500; line-height: 1.4; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 560px) { .sl-stat { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 22px; text-align: center; } }

/* ---------- Problemas ---------- */
.sl-pains { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.sl-pain { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; overflow: hidden; border: 1px solid #dfe4eb; border-radius: 24px; background: #fff; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.sl-pain::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #8d98a5, #5b6672); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.sl-pain:hover { transform: translateY(-6px); border-color: rgba(229, 96, 77, 0.55); box-shadow: 0 18px 40px -22px rgba(229, 96, 77, 0.5); }
.sl-pain:hover::before { transform: scaleX(1); }
.sl-pain__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: #eef1f5; color: #5b6672; }
.sl-pain__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sl-pain__t { font-size: 1.15rem; font-weight: 800; line-height: 1.25; color: #202020; }
.sl-pain__d { font-size: 0.95rem; line-height: 1.5; color: rgba(32, 32, 32, 0.72); }
@media (max-width: 1000px) { .sl-pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sl-pains { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Calculadora (usa .vc de lead.css) ---------- */
.sl-calc .vc__kicker { max-width: 30em; }
.sl-calc .vc__unit { position: relative; margin-top: -8px; font-size: 0.95rem; font-weight: 700; line-height: 1.35; color: rgba(32, 32, 32, 0.65); }
.sl-assume { max-width: 1100px; margin: 18px auto 0; padding: 14px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.7); border: 1px dashed #c9d3de; font-size: 0.85rem; line-height: 1.5; color: rgba(32, 32, 32, 0.7); }
.sl-assume b { color: #202020; }

/* ---------- Cómo lo resolvemos ---------- */
.sl-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: sl; }
.sl-step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 24px; overflow: hidden; border: 1px solid #dfe4eb; border-radius: 26px; background: #fff; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.sl-step:hover { transform: translateY(-6px); border-color: rgba(81, 217, 214, 0.9); box-shadow: 0 18px 40px -22px rgba(11, 111, 108, 0.5); }
.sl-step::after { content: counter(sl); counter-increment: sl; position: absolute; right: 18px; top: 8px; font-size: 4.6rem; font-weight: 900; line-height: 1; color: rgba(81, 217, 214, 0.18); }
.sl-step__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(81, 217, 214, 0.2); color: #0b6f6c; }
.sl-step__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sl-step__t { position: relative; font-size: 1.25rem; font-weight: 800; line-height: 1.25; color: #202020; }
.sl-step__d { position: relative; font-size: 0.97rem; line-height: 1.55; color: rgba(32, 32, 32, 0.75); }
.sl-step__link { margin-top: auto; padding-top: 6px; font-size: 0.9rem; font-weight: 800; color: #0b6f6c; text-decoration: none; }
.sl-step__link:hover { text-decoration: underline; }
@media (max-width: 900px) { .sl-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Hoy vs. con Fonia ---------- */
.sl-cmp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.sl-cmp__col { padding: 28px 28px 24px; border-radius: 28px; }
.sl-cmp__col--now { background: #fff; border: 1px solid #dfe4eb; }
.sl-cmp__col--fonia { position: relative; overflow: hidden; background: linear-gradient(155deg, #0b6f6c, #0a4f4d); color: #fff; box-shadow: 0 30px 60px -36px rgba(11, 111, 108, 0.9); }
.sl-cmp__col--fonia::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(81, 217, 214, 0.45), transparent 70%); animation: sl-breathe 4.5s ease-in-out infinite; pointer-events: none; }
.sl-cmp__t { display: inline-block; margin-bottom: 16px; padding: 5px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.sl-cmp__col--now .sl-cmp__t { background: #eef1f5; color: #5b6672; }
.sl-cmp__col--fonia .sl-cmp__t { background: #51D9D6; color: #14201f; }
.sl-cmp ul { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.sl-cmp li { position: relative; padding-left: 32px; font-size: 1.02rem; font-weight: 600; line-height: 1.4; }
.sl-cmp li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.sl-cmp__col--now li::before { background-color: #eef1f5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6672' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
.sl-cmp__col--fonia li::before { background-color: #51D9D6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314201f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
@media (max-width: 800px) { .sl-cmp { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Caso ---------- */
.sl-case { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 36px 40px; overflow: hidden; border: 1px solid #dfe4eb; border-radius: 32px; background: linear-gradient(120deg, #e8f8f7, #fff 62%); box-shadow: 0 24px 50px -34px rgba(32, 32, 32, 0.5); }
.sl-case::before { content: "“"; position: absolute; left: 22px; top: -18px; font-size: 9rem; font-weight: 900; line-height: 1; color: rgba(81, 217, 214, 0.28); }
.sl-case__tag { position: relative; display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; background: #dff6f5; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: #0b6f6c; }
.sl-case__q { position: relative; margin: 0 0 16px; font-size: clamp(1.15rem, 2.3vw, 1.55rem); font-weight: 700; line-height: 1.4; color: #202020; }
.sl-case__who { position: relative; margin-top: 4px; font-size: 0.92rem; color: rgba(32, 32, 32, 0.65); }
.sl-case__who b { color: #202020; }
.sl-case__n { position: relative; min-width: 190px; padding: 22px 24px; border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 18px 36px -24px rgba(11, 111, 108, 0.6); }
.sl-case__n b { display: block; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: #0b6f6c; }
.sl-case__n span { display: block; margin-top: 8px; font-size: 0.85rem; font-weight: 700; line-height: 1.35; color: rgba(32, 32, 32, 0.72); }
@media (max-width: 800px) { .sl-case { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; } }

/* ---------- FAQ ---------- */
.sl-faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.sl-faq details { border: 1px solid #dfe4eb; border-radius: 20px; background: #fff; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.sl-faq details[open] { border-color: rgba(81, 217, 214, 0.9); box-shadow: 0 16px 34px -24px rgba(11, 111, 108, 0.5); }
.sl-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 1.08rem; font-weight: 800; line-height: 1.35; color: #202020; list-style: none; cursor: pointer; }
.sl-faq summary::-webkit-details-marker { display: none; }
.sl-faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid #0b6f6c; border-bottom: 2.5px solid #0b6f6c; transform: rotate(45deg); transition: transform 0.3s ease; }
.sl-faq details[open] summary::after { transform: rotate(-135deg); }
.sl-faq__a { padding: 0 24px 22px; font-size: 1rem; line-height: 1.6; color: rgba(32, 32, 32, 0.78); }

/* ---------- Otras soluciones ---------- */
.sl-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sl-more a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid #dfe4eb; border-radius: 999px; background: #fff; font-size: 0.95rem; font-weight: 700; color: #202020; text-decoration: none; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
.sl-more a:hover, .sl-more a:focus-visible { border-color: #51D9D6; background: #dff6f5; transform: translateY(-2px); outline: none; }
.sl-more svg { width: 16px; height: 16px; fill: none; stroke: #0b6f6c; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Entrada al hacer scroll ---------- */
.sl-js .sl-reveal { opacity: 0; transform: translateY(24px); }
.sl-js .sl-reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  .sl-badge i, .sl-stat::after, .sl-cmp__col--fonia::after { animation: none; }
  .sl-js .sl-reveal { opacity: 1; transform: none; }
  .sl-pain, .sl-step, .sl-btn { transition: none; }
}
