/* Páginas de servicio de Kalarca: mismo sistema que la página principal (curvas de nivel, verdes, Bricolage + Instrument Sans). */
:root {
  --suelo: #eef3ec; --papel: #ffffff; --tinta: #0d2a1c; --tenue: #4d6a5a; --bosque: #0f5132; --ladera: #2f8f5b; --lima: #9be15d;
  --borde: rgba(13, 42, 28, .12); --curva: rgba(15, 81, 50, .07); --sobre-bosque: #ffffff;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --texto: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --dato: "JetBrains Mono", ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --suelo: #0a1d14; --papel: #10291d; --tinta: #e8f3ea; --tenue: #9dbba8; --bosque: #9be15d; --ladera: #6cc488;
  --borde: rgba(232, 243, 234, .12); --curva: rgba(155, 225, 93, .07); --sobre-bosque: #0a1d14; color-scheme: dark } }
:root[data-theme="dark"] {
  --suelo: #0a1d14; --papel: #10291d; --tinta: #e8f3ea; --tenue: #9dbba8; --bosque: #9be15d; --ladera: #6cc488;
  --borde: rgba(232, 243, 234, .12); --curva: rgba(155, 225, 93, .07); --sobre-bosque: #0a1d14; color-scheme: dark }

* { box-sizing: border-box; }
body { margin: 0; color: var(--tinta); font-family: var(--texto); font-size: 16px; line-height: 1.5;
       background: repeating-radial-gradient(circle at 92% 0%, transparent 0 44px, var(--curva) 44px 46px) fixed, var(--suelo); }
.hoja { max-width: 760px; margin: 0 auto; padding-block: 24px 40px; padding-left: max(16px, env(safe-area-inset-left, 0px));
        padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; gap: 34px; }
a { color: var(--ladera); }
a:focus-visible { outline: 3px solid var(--lima); outline-offset: 3px; border-radius: 6px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); font: 800 22px var(--display); letter-spacing: -.5px; }
.marca img { width: 40px; height: 40px; border-radius: 11px; }

header { display: grid; gap: 12px; }
.eti { font: 500 12px var(--dato); letter-spacing: 3px; color: var(--ladera); }
h1 { margin: 0; font: 800 clamp(38px, 8vw, 60px)/1 var(--display); letter-spacing: -1.5px; text-wrap: balance; }
.gancho { margin: 0; font: 600 clamp(19px, 3.6vw, 24px)/1.3 var(--display); color: var(--tenue); max-width: 34ch; text-wrap: balance; }
.datos { display: flex; flex-wrap: wrap; gap: 8px; }
.datos span { font: 500 12px var(--dato); padding: 6px 10px; border: 1px dashed var(--borde); border-radius: 8px; color: var(--tenue); }

h2 { margin: 0 0 14px; font: 500 12.5px var(--dato); letter-spacing: 3px; text-transform: uppercase; color: var(--tenue); }

/* Ejemplos: captura + QR que se toca */
.ejs { display: grid; gap: 16px; }
.ej { display: grid; grid-template-columns: minmax(0, 200px) 1fr; gap: 20px; background: var(--papel); border: 1px solid var(--borde); border-radius: 20px; padding: 16px; }
@media (max-width: 520px) { .ej { grid-template-columns: 1fr; } .cap { max-width: 240px; } }
.cap { display: block; border-radius: 22px; overflow: hidden; border: 8px solid #0b0f0d; aspect-ratio: 390 / 640; max-width: 100%; }
.cap img { width: 100%; display: block; }
.ejt { display: grid; gap: 8px; align-content: start; min-width: 0; }
.ejt b { font: 600 24px/1.1 var(--display); }
.ejt > span { color: var(--tenue); }
.qr { display: block; width: 168px; max-width: 100%; aspect-ratio: 1; background: #ffffff; border-radius: 14px; padding: 10px; margin-top: 6px;
      border: 2px solid var(--lima); box-shadow: 0 6px 18px rgba(15, 81, 50, .15); }
.qr svg { width: 100%; height: 100%; display: block; }
.qr:hover { transform: translateY(-2px); }
.ejt small { font-size: 12.5px; color: var(--tenue); }
@media (prefers-reduced-motion: reduce) { .qr:hover { transform: none; } }

.para, .incluye { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 520px) { .para { grid-template-columns: repeat(2, 1fr); } }
.para li { background: var(--papel); border: 1px solid var(--borde); border-radius: 12px; padding: 12px 14px; font-weight: 500; }
.incluye li { padding-left: 28px; position: relative; }
.incluye li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--ladera); border-bottom: 2.5px solid var(--ladera); transform: rotate(-45deg); }

.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: p; }
@media (min-width: 640px) { .pasos { grid-template-columns: repeat(3, 1fr); } }
.pasos li { counter-increment: p; background: var(--papel); border: 1px solid var(--borde); border-radius: 16px; padding: 16px; display: grid; gap: 6px; align-content: start; }
.pasos li::before { content: counter(p); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--dato); background: var(--bosque); color: var(--sobre-bosque); }
.pasos b { font-size: 16px; } .pasos span { color: var(--tenue); font-size: 14.5px; }

.boton { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; background: var(--bosque); color: var(--sobre-bosque);
         font: 600 18px var(--texto); padding: 18px 20px; border-radius: 16px; }
.pronto { display: grid; gap: 6px; background: var(--papel); border: 2px dashed var(--ladera); border-radius: 16px; padding: 18px 20px; }
.pronto b { font: 800 22px var(--display); } .pronto span { color: var(--tenue); } .pronto a { font-weight: 600; text-decoration: none; }

.otros div { display: flex; flex-wrap: wrap; gap: 8px; }
.otros a { text-decoration: none; color: var(--tinta); background: var(--papel); border: 1px solid var(--borde); border-radius: 99px; padding: 8px 14px; font-size: 14px; font-weight: 500; }
.otros a:hover { border-color: var(--ladera); }
footer { font: 500 12px var(--dato); color: var(--tenue); border-top: 1px dashed var(--borde); padding-top: 14px; }

/* Visuales dibujados (servicios sin muestra) */
.fig { max-width: 520px; }
.maps { background: #fff; color: #202124; border-radius: 22px; overflow: hidden; border: 1px solid var(--borde); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.maps .mapa { height: 150px; position: relative; background: linear-gradient(90deg, transparent 47%, #f7d774 47% 53%, transparent 53%),
  linear-gradient(0deg, transparent 60%, #fff 60% 64%, transparent 64%), linear-gradient(35deg, transparent 30%, #fff 30% 33%, transparent 33%), #dfeee2; }
.maps .pin { position: absolute; left: 50%; top: 45%; width: 32px; height: 32px; background: #d93025; border-radius: 50% 50% 50% 0; transform: translate(-50%, -50%) rotate(-45deg); }
.maps .pin::after { content: ""; position: absolute; inset: 10px; background: #fff; border-radius: 50%; }
.mc { padding: 16px 18px 18px; display: grid; gap: 6px; font-size: 14.5px; }
.mc b { font: 600 22px var(--display); } .mc .est { color: #f2a900; } .mc em { color: #70757a; font-style: normal; } .mc .ok { color: #188038; font-style: normal; font-weight: 600; }
.mb { display: flex; flex-wrap: wrap; gap: 6px; } .mb span { border: 1.5px solid #c6dafc; color: #1a73e8; border-radius: 99px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.wa { display: flex; gap: 14px; flex-wrap: wrap; }
.pf { flex: 1 1 180px; background: #fff; color: #111; border-radius: 20px; padding: 18px; display: grid; gap: 6px; justify-items: center; text-align: center; border: 1px solid var(--borde); }
.pf small { font: 600 11px var(--dato); letter-spacing: 2px; } .malo small, .malo p { color: #b3261e; } .bueno small, .bueno p { color: #2f8f5b; }
.pf .ft { width: 74px; height: 74px; border-radius: 50%; background: #e9ecef; display: grid; place-items: center; font-size: 36px; }
.pf .lg { background: #0f5132; color: #9be15d; font: 800 28px var(--display); }
.pf p { margin: 0; font-size: 13.5px; font-weight: 600; }
.ficha { background: #fff; color: #0d2a1c; border-radius: 20px; overflow: hidden; border: 1px solid var(--borde); }
.ficha .fc { background: #0f5132; color: #9be15d; font: 500 12px var(--dato); letter-spacing: 3px; padding: 12px 18px; }
.ficha div:not(.fc) { display: flex; justify-content: space-between; gap: 14px; padding: 11px 18px; border-bottom: 1px dashed #e1e8e2; font-size: 14.5px; }
.ficha span { color: #5c6f63; } .ficha b { font: 500 14px var(--dato); text-align: right; }

.sello { justify-self: start; font: 700 11px var(--dato); letter-spacing: 1.2px; text-transform: uppercase; background: var(--lima); color: #0b2a19; padding: 4px 9px; border-radius: 99px; }

.datos .desde { border: 0; background: var(--bosque); color: var(--sobre-bosque); font-weight: 700; }
.intriga { margin: 6px 0 0; font-size: 14px; color: var(--ladera); font-weight: 600; }
.fig.ia { display: grid; gap: 8px; background: var(--papel); border: 1px solid var(--borde); border-radius: 20px; padding: 16px; }
.fig.ia .msj { max-width: 86%; padding: 10px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; }
.fig.ia .yo { justify-self: end; background: var(--suelo); border-bottom-right-radius: 4px; }
.fig.ia .bot { justify-self: start; background: var(--bosque); color: var(--sobre-bosque); border-bottom-left-radius: 4px; }
.fig.ia .bot small { display: block; font: 500 10.5px var(--dato); letter-spacing: 1px; opacity: .75; margin-bottom: 3px; }
.qr img { width: 100%; height: auto; display: block; border-radius: 6px; }

/* WhatsApp (2026-11-28) */

  .boton.wa { background: #25d366; color: #06301a; margin: 8px 0 28px; }
  .boton.wa .fl { display: inline-flex; }
  .wa-flota { position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: #25d366; color: #06301a; box-shadow: 0 6px 20px rgba(0,0,0,.25); text-decoration: none; }
  .wa-flota:focus-visible { outline: 3px solid var(--lima, #9be15d); outline-offset: 3px; }
  @media print { .wa-flota { display: none; } }
.boton.wa small { display:block; font-weight:400; font-size:13.5px; opacity:.85; }

/* Montaje y paquetes (2026-11-28) */
.plan-nota { color: var(--tenue); margin: 0 0 14px; }
.planes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plan { background: var(--papel); border: 1px solid var(--borde); border-radius: 16px; padding: 14px; display: grid; gap: 4px; }
.plan small { font: 500 11.5px var(--dato); color: var(--tenue); text-transform: uppercase; letter-spacing: .04em; }
.plan b { font-size: 22px; } .plan b i { font-style: normal; font-size: 14px; font-weight: 500; color: var(--tenue); }
.plan span { font-size: 13.5px; color: var(--tenue); }
.plan.top { border: 2px solid var(--lima); }
.boton.wa { flex-wrap: nowrap; } .boton.wa > span { flex: 1; min-width: 0; } .boton.wa > svg { flex: none; }
.desg-t { font-size: 17px; margin: 22px 0 8px; }
.desglose { list-style: none; padding: 0; margin: 0; background: var(--papel); border: 1px solid var(--borde); border-radius: 16px; overflow: hidden; }
.desglose li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--borde); }
.desglose li:first-child { border-top: 0; }
.desglose li b { font-family: var(--dato); white-space: nowrap; }
.desglose li.total { font-weight: 600; background: color-mix(in srgb, var(--lima) 18%, transparent); }
.plan-nota.peque { font-size: 13px; margin-top: 10px; }
.plan .elegir { font-style: normal; font-weight: 600; font-size: 13.5px; color: var(--ladera); margin-top: 4px; }
/* Menú de selección de paquetes (2026-11-28) */
label.plan { cursor: pointer; position: relative; transition: transform .12s, box-shadow .12s, border-color .12s; }
label.plan input { position: absolute; opacity: 0; pointer-events: none; }
label.plan:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(15, 81, 50, .12); }
label.plan:has(input:focus-visible) { outline: 3px solid var(--lima); outline-offset: 3px; }
label.plan .elegir::before { content: "○ "; }
label.plan:has(input:checked) { border: 2px solid var(--ladera); background: color-mix(in srgb, var(--lima) 22%, var(--papel)); box-shadow: 0 6px 18px rgba(15, 81, 50, .18); }
label.plan:has(input:checked) .elegir::before { content: "● "; }
label.plan:has(input:checked) .elegir { color: var(--bosque); }
/* Facturita: montaje fijo + una forma de mantenimiento (2026-11-29) */
.factura { display: grid; gap: 10px; }
.factura .fija { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: color-mix(in srgb, var(--lima) 22%, var(--papel)); border: 2px solid var(--ladera); border-radius: 16px; padding: 14px; }
.factura .fija .chk { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bosque); color: var(--sobre-bosque); font-weight: 700; }
.factura .fija div { display: grid; gap: 2px; }
.factura .fija small { font: 500 11.5px var(--dato); color: var(--tenue); text-transform: uppercase; letter-spacing: .04em; }
.factura .fija b { font-size: 18px; } .factura .fija span { font-size: 13.5px; color: var(--tenue); }
.factura .fija .v { font: 600 18px var(--dato); white-space: nowrap; }
.fact-t { margin: 6px 0 0; font-weight: 600; }
.planes.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) { .planes.tres { grid-template-columns: 1fr; } }
.factura.falta .planes.tres { outline: 3px dashed #d93025; outline-offset: 6px; border-radius: 16px; }
.factura.falta .fact-t { color: #d93025; }
.cuenta li.total b { font-size: 18px; }
.boton.wa.bloq { background: color-mix(in srgb, #25d366 35%, var(--papel)); color: var(--tenue); cursor: not-allowed; }
