/* ===========================================================================
 * RŌNIN — estilos propios de servicios.html
 * Los tokens, la navegación, el footer, los botones y el sistema de reveal
 * viven en styles.css (compartido). Aquí solo va lo específico de esta página.
 * =========================================================================== */

/* ── Hero de servicios: navegación entre bloques ─ */
.services-nav{
  display:flex;flex-wrap:wrap;gap:10px;margin-top:34px;
}
.services-nav a{
  font-size:.82rem;font-weight:800;letter-spacing:.02em;color:#c9c9c9;
  border:1px solid #2c2c2c;border-radius:999px;padding:9px 15px;
  transition:border-color .2s ease,color .2s ease,background .2s ease;
}
.services-nav a:hover,.services-nav a:focus-visible{
  color:#fff;border-color:rgb(var(--red-rgb) / .6);background:rgb(var(--red-rgb) / .07);
}

/* ── Bloque de solución (Presencia / Automatización / IA) ─ */
.sol-block{border-top:1px solid var(--line)}
.sol-head{display:flex;gap:26px;align-items:flex-start;margin-bottom:44px}
.sol-num{
  font-size:clamp(2.2rem,5vw,3.6rem);font-weight:950;line-height:1;color:#2f2f2f;
  letter-spacing:-.04em;flex:0 0 auto;
}
.sol-head h2{margin-top:12px}

.sol-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:1px;
  background:var(--line);border:1px solid var(--line);border-radius:20px;overflow:hidden;
}
.sol-part{background:#0b0b0b;padding:30px 30px 34px}
.sol-label{
  display:block;color:var(--red);font-size:.74rem;font-weight:900;
  text-transform:uppercase;letter-spacing:.12em;margin-bottom:14px;
}
.sol-part p{color:#a1a1a1;font-size:.98rem;line-height:1.7}
.sol-part ul{list-style:none;display:grid;gap:10px}
.sol-part li{color:#c7c7c7;font-size:.94rem;display:flex;gap:10px;line-height:1.5}
.sol-part li::before{content:"↗";color:var(--red);font-weight:900;flex:0 0 auto}

.sol-case{
  margin-top:22px;border:1px solid var(--line);border-left:3px solid var(--red);
  border-radius:14px;padding:24px 26px;background:linear-gradient(150deg,#131313,#0c0c0c);
}
.sol-case-soon{border-left-color:#3a3a3a}
.sol-case-tag{
  font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em;
  color:#8a8a8a;margin-bottom:10px;
}
.sol-case p{color:#b6b6b6;font-size:.96rem;line-height:1.65}
.sol-case strong{color:#fff}
.link-arrow{
  display:inline-block;margin-top:12px;color:var(--red);font-weight:800;font-size:.9rem;
  transition:transform .2s ease;
}
.link-arrow:hover,.link-arrow:focus-visible{transform:translateX(3px)}

/* ── Precios orientativos ────────────────────────*/
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.price-card{
  border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);
  padding:28px;display:flex;flex-direction:column;gap:14px;
}
.price-card-featured{border-color:rgb(var(--red-rgb) / .45);background:linear-gradient(180deg,rgb(var(--red-rgb) / .07),rgba(255,255,255,.015))}
.price-card h3{font-size:1.3rem;letter-spacing:-.02em}
.price-card-desc{color:#9a9a9a;font-size:.92rem;line-height:1.6}
.price-range{display:flex;flex-direction:column;gap:4px;padding:14px 0;border-top:1px solid #232323;border-bottom:1px solid #232323}
.price-value{font-size:1.5rem;font-weight:950;letter-spacing:-.02em;color:#fff}
.price-unit{font-size:.78rem;color:#8a8a8a;text-transform:uppercase;letter-spacing:.08em;font-weight:700}
.price-card ul{list-style:none;display:grid;gap:8px;margin-top:2px}
.price-card li{color:#c4c4c4;font-size:.88rem;display:flex;gap:9px}
.price-card li::before{content:"·";color:var(--red);font-weight:900}

/* ── Separación de costes + disclaimer ─ */
.pricing-notes{margin-top:26px;display:grid;gap:16px;max-width:82ch}
.pricing-disclaimer{
  color:#d6d6d6;font-size:.98rem;line-height:1.6;font-weight:600;
  border-left:2px solid var(--red);padding-left:14px;
}
.pricing-costs{list-style:none;display:grid;gap:10px}
.pricing-costs li{color:#9a9a9a;font-size:.9rem;line-height:1.6}
.pricing-costs strong{color:#e6e6e6;font-weight:800}

/* ── Estimador ───────────────────────────────────*/
.estimator{
  margin-top:44px;border:1px solid var(--line);border-radius:28px;overflow:hidden;
  background:linear-gradient(150deg,#121212,#0b0b0b);
}
.estimator-head{padding:34px 34px 6px}
.estimator-head h3{font-size:clamp(1.5rem,3.2vw,2.1rem);letter-spacing:-.03em;margin:12px 0 8px}
.estimator-head p{color:#9a9a9a;font-size:.95rem;max-width:56ch}
.estimator-form{padding:22px 34px 34px;display:grid;gap:14px}
.estimator-step{border:1px solid var(--line);border-radius:16px;padding:20px 22px}
.estimator-step legend{
  display:flex;align-items:center;gap:12px;font-weight:800;font-size:1rem;
  letter-spacing:-.01em;padding:0 4px;
}
.estimator-step-num{
  width:26px;height:26px;flex:0 0 auto;border-radius:8px;background:#1b1b1b;border:1px solid #2c2c2c;
  display:grid;place-items:center;color:var(--red);font-size:.8rem;font-weight:900;
}
.estimator-options{display:grid;gap:9px;margin-top:16px}
.estimator-options-grid{grid-template-columns:repeat(2,1fr)}
.estimator-options label{
  display:flex;align-items:flex-start;gap:11px;padding:12px 14px;border:1px solid #2a2a2a;
  border-radius:11px;cursor:pointer;color:#cfcfcf;font-size:.9rem;font-weight:600;line-height:1.45;
  transition:border-color .18s ease,background .18s ease;
}
.estimator-options label:hover{border-color:#454545;background:rgba(255,255,255,.025)}
.estimator-options input{
  accent-color:var(--red);margin-top:2px;flex:0 0 auto;width:16px;height:16px;
}
.estimator-options input:checked ~ span{color:#fff}
.estimator-options label:has(input:checked){border-color:rgb(var(--red-rgb) / .55);background:rgb(var(--red-rgb) / .06)}
.estimator-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:4px}

.estimator-result{
  border-top:1px solid var(--line);padding:30px 34px 34px;
  background:rgba(255,255,255,.015);display:grid;gap:22px;
}
.estimator-verdict{display:grid;gap:8px}
.estimator-verdict .eyebrow{margin-bottom:4px}
.estimator-type{
  font-size:clamp(1.6rem,3.6vw,2.2rem);font-weight:950;letter-spacing:-.03em;
  color:#fff;text-transform:uppercase;line-height:1.1;
}
.estimator-figure{font-size:clamp(1.7rem,4vw,2.5rem);font-weight:950;letter-spacing:-.03em;color:var(--red)}
.estimator-type-desc{color:#c4c4c4;font-size:.98rem;line-height:1.65;max-width:64ch}
.estimator-notes{color:#9a9a9a;font-size:.86rem;line-height:1.6;max-width:64ch;font-style:italic}

.estimator-review,.estimator-maint{display:grid;gap:10px}
.estimator-block-label{
  color:var(--red);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.12em;
}
.estimator-review-list{list-style:none;display:grid;gap:7px}
.estimator-review-list li{color:#d8d8d8;font-size:.95rem;display:flex;gap:10px}
.estimator-review-list li::before{content:"·";color:var(--red);font-weight:900}
.estimator-review-note{color:#9a9a9a;font-size:.85rem;line-height:1.6;max-width:64ch}
.estimator-maint-value{color:#e6e6e6;font-size:1.05rem;font-weight:800}
.estimator-disclaimer{
  color:#8f8f8f;font-size:.85rem;line-height:1.6;border-left:2px solid var(--red);
  padding-left:14px;max-width:64ch;
}
.estimator-result .btn{justify-self:start}

/* ── CTA final ───────────────────────────────────*/
.services-cta-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}

/* ── Responsive ──────────────────────────────────*/
@media(max-width:920px){
  .sol-grid{grid-template-columns:1fr}
  .pricing-grid{grid-template-columns:1fr}
  .estimator-head,.estimator-form,.estimator-result{padding-left:22px;padding-right:22px}
}
@media(max-width:620px){
  .sol-head{gap:16px}
  .estimator-options-grid{grid-template-columns:1fr}
  .sol-part{padding:24px 22px 26px}
}
