/* J&B ProService — sitio público
   Estética de los folletos: negro, rojo, blanco; bandas inclinadas; tipografía condensada itálica. */
:root {
  color-scheme: dark;
  --ink: #0d0d0f;
  --panel: #17171a;
  --line: #2a2a2f;
  --paper: #f3f2f0;
  --soft: #d0ced3;
  --muted: #a3a1a6;
  --red: #e3141b;
  --red-deep: #a80d12;
  --wa: #2fd35a;
  --warn: #ffcf5c;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; line-height: .95; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: rgba(13,13,15,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.mark { display: flex; flex-direction: column; text-decoration: none; line-height: .85; }
.mark b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 30px; letter-spacing: -.5px; }
.mark b span { color: var(--red); }
.mark i { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: 2px; }
.mark img { height: 44px; width: auto; }
.site-nav { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover { color: var(--paper); }
@media (max-width: 760px) { .site-nav { display: none; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .5px; text-decoration: none; padding: 12px 20px; border: 0; cursor: pointer; font-size: 18px; transform: skewX(-8deg); transition: transform .15s, background .15s; color: inherit; }
.btn > * { transform: skewX(8deg); }
.btn:hover { transform: skewX(-8deg) translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn.small { font-size: 15px; padding: 9px 14px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 64px 80px; }
.hero::before, .hero::after { content: ""; position: absolute; right: -10%; height: 46px; width: 70%; transform: skewY(-6deg); z-index: 0; }
.hero::before { top: 22%; background: var(--red); }
.hero::after { top: calc(22% + 58px); height: 14px; background: var(--red-deep); width: 52%; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 26px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.hero h1 { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(52px, 11vw, 128px); letter-spacing: -1px; max-width: 11ch; }
.hero h1 em { font-style: italic; color: var(--ink); background: var(--paper); padding: 0 .12em; display: inline-block; transform: skewX(-6deg); }
.hero .lede { max-width: 52ch; font-size: 18px; color: var(--soft); }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--muted); padding-top: 6px; }
.facts strong { color: var(--paper); font-weight: 700; }

/* Secciones */
section { padding-block: 72px; }
.sec-head { display: grid; gap: 12px; margin-bottom: 36px; }
.sec-head h2, .h2 { font-weight: 900; font-style: italic; text-transform: uppercase; font-size: clamp(38px, 6vw, 64px); }
.tag { justify-self: start; display: inline-block; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 1px; font-size: 17px; padding: 3px 14px; transform: skewX(-10deg); }
.note { color: var(--muted); font-size: 14.5px; max-width: 62ch; }

/* Promos */
.promos { padding-block: 0 8px; }
.promo-list { display: grid; gap: 16px; }
.promo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border: 2px solid var(--red); background: var(--panel); }
.promo.has-img { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .promo.has-img { grid-template-columns: 280px minmax(0, 1fr); } }
.promo img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; }
.promo-body { padding: 22px 24px; display: grid; gap: 10px; align-content: center; min-width: 0; }
.promo-body h3 { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(28px, 4vw, 38px); }
.promo-body p { color: var(--soft); white-space: pre-line; }
.promo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.promo-price { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 40px; line-height: 1; }
.promo-price::before { content: "$ "; color: var(--red); font-size: .6em; }
.promo-until { font-family: var(--mono); font-size: 12px; color: var(--warn); text-transform: uppercase; letter-spacing: 1px; }

/* Servicios */
.services { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .grid { grid-template-columns: 1fr 1fr; } .grid > .svc:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.svc { background: var(--ink); padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.svc ul { flex: 1; }
.svc.has-media { padding-top: 0; }
.svc-media { position: relative; margin: 0 -24px -46px; height: 210px; overflow: hidden; background: #000; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .6s ease; }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,15,0) 35%, rgba(13,13,15,.75) 72%, var(--ink) 100%); }
.svc:hover .svc-media img { transform: scale(1.04); }
.has-media .svc-top { position: relative; z-index: 1; }
.has-media .spec { background: rgba(13,13,15,.75); }
.has-media .ico { background: var(--ink); }
@media (min-width: 760px) { .grid > .svc.has-media:last-child:nth-child(odd) .svc-media { height: 260px; } }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ico { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--red); display: grid; place-items: center; }
.ico svg { width: 26px; height: 26px; stroke: var(--paper); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spec { font-family: var(--mono); font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 3px 8px; text-align: right; }
.svc h3 { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 30px; }
.svc > p { color: #c9c7cc; font-size: 15px; }
.svc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; align-content: start; }
.svc li { display: flex; gap: 10px; }
.svc li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; background: var(--red); transform: skewX(-12deg); }
.prices { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 12px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.price-row .veh { font-size: 14px; color: #c9c7cc; min-width: 0; }
.price-row .veh small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.amt { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 28px; line-height: 1; white-space: nowrap; color: var(--paper); font-variant-numeric: tabular-nums; }
.amt::before { content: "$ "; color: var(--red); font-size: .7em; }
.svc .btn { align-self: flex-start; }

.strip { background: var(--red); padding-block: 22px; transform: skewY(-1.5deg); margin-block: 8px; }
.strip .wrap { transform: skewY(1.5deg); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(20px, 3vw, 28px); letter-spacing: .5px; }

/* Pagos */
.pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pay-card { border: 2px solid var(--red); padding: 26px; display: grid; gap: 6px; align-content: start; }
.pay-card .big { font-family: var(--display); font-weight: 900; font-style: italic; font-size: 76px; line-height: .9; }
.pay-card .big small { font-size: .45em; }
.pay-card .lbl { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; color: var(--red); }
.pay-card p { color: var(--muted); font-size: 14.5px; }

/* Taller */
.shop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
.shop.has-photos { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .shop.has-photos { grid-template-columns: 1fr 1.1fr; } }
.shop .copy { display: grid; gap: 16px; min-width: 0; }
.shop .copy p { color: var(--soft); max-width: 60ch; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photos figure { margin: 0; position: relative; }
.photos figure:first-child:nth-last-child(odd) { grid-column: span 2; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photos figure:first-child:nth-last-child(odd) img { aspect-ratio: 16 / 9; }
.photos figcaption { position: absolute; left: 0; bottom: 0; background: rgba(13,13,15,.8); font-size: 12.5px; padding: 4px 10px; }

/* Contacto */
.contact { background: var(--panel); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.box { background: var(--ink); border: 1px solid var(--line); padding: 26px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.box h3 { font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 26px; }
.box.wa { border: 2px solid var(--wa); }
.phone { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(38px, 6vw, 50px); color: var(--wa); letter-spacing: .5px; line-height: 1; font-variant-numeric: tabular-nums; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-btn { background: transparent; color: var(--muted); border: 1px solid var(--line); font: 500 13px var(--body); padding: 8px 12px; cursor: pointer; }
.copy-btn:hover { color: var(--paper); border-color: var(--muted); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 15px; margin: 0; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.addr { font-size: 20px; font-weight: 700; }

.site-foot { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.site-foot .motto { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 1px; color: var(--paper); font-size: 16px; }

.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #06210f; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.5); z-index: 6; }
.wa-float svg { width: 30px; height: 30px; }

/* Formulario de turno */
.turno { padding-block: 48px 72px; }
.turno-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 900px) { .turno-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.form { display: grid; gap: 18px; background: var(--panel); border: 1px solid var(--line); padding: 26px; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 620px) { .fields.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 14.5px; padding: 0; }
.field .hint { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13.5px; color: #ff8a8e; }
.field input, .field select, .field textarea {
  width: 100%; font: 16px var(--body); color: var(--paper); background: var(--ink);
  border: 1px solid #3a3a40; padding: 12px 12px; border-radius: 0; min-height: 48px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 2px rgba(227,20,27,.35); }
.field.has-err input, .field.has-err select { border-color: #ff8a8e; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.slots { display: flex; gap: 10px; }
.slots label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #3a3a40; padding: 12px; cursor: pointer; font-weight: 500; min-height: 48px; }
.slots input { accent-color: var(--red); width: 18px; height: 18px; min-height: 0; }
.slots label:has(input:checked) { border-color: var(--red); background: rgba(227,20,27,.12); }
.form-error { background: rgba(227,20,27,.15); border: 1px solid var(--red); padding: 12px 14px; font-size: 14.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aside { display: grid; gap: 18px; align-content: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; color: var(--soft); font-size: 15px; }
.steps li::before { counter-increment: s; content: counter(s); font-family: var(--display); font-weight: 900; font-style: italic; font-size: 26px; background: var(--red); color: #fff; text-align: center; line-height: 38px; height: 38px; transform: skewX(-10deg); }
.steps strong { color: var(--paper); display: block; }
.done { display: grid; gap: 18px; max-width: 640px; }
.code { font-family: var(--mono); font-size: 22px; background: var(--panel); border: 1px dashed var(--muted); padding: 10px 16px; justify-self: start; letter-spacing: 2px; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; background: var(--panel); border: 1px solid var(--line); padding: 18px 20px; margin: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }

/* Destacado: diálisis */
.feature { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; left: -5%; top: 0; width: 6px; height: 100%; background: var(--red); }
.feature-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 900px) { .feature-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; } }
.feature-media { position: relative; border: 2px solid var(--red); }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-media::after { content: "DIÁLISIS"; position: absolute; left: -2px; bottom: -2px; background: var(--red); color: #fff; font-family: var(--display); font-weight: 900; font-style: italic; letter-spacing: 1px; font-size: 20px; padding: 4px 14px; }
.feature-copy { display: grid; gap: 18px; min-width: 0; }
.lede-sm { color: var(--soft); font-size: 17px; max-width: 56ch; }
.vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 480px) { .vs { grid-template-columns: minmax(0, 1fr); } }
.vs-col { border: 1px solid var(--line); background: var(--ink); padding: 16px; display: grid; gap: 10px; align-content: start; }
.vs-col.on { border-color: var(--red); }
.vs-h { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 20px; color: var(--muted); }
.vs-col.on .vs-h { color: var(--paper); }
.vs-col p { font-size: 14px; color: var(--soft); }
.meter { height: 10px; background: #26262b; transform: skewX(-12deg); }
.meter span { display: block; height: 100%; background: var(--muted); }
.vs-col.on .meter span { background: var(--red); }
.feature-prices { border-top: 1px solid var(--line); }
.feature + .promos { padding-top: 56px; }

/* Sello multimarca en el inicio */
.multi { justify-self: start; display: inline-block; background: var(--paper); color: var(--ink); font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 1.5px; font-size: clamp(20px, 3vw, 28px); padding: 4px 18px; transform: skewX(-10deg); box-shadow: 6px 6px 0 var(--red); }
