/* JRI Digital — hoja de estilos
   Concepto: el lenguaje de la imprenta. Papel blanco, tinta de proceso (CMYK),
   marcas de corte y la película de transferencia del DTF. */

:root {
  --paper:   #FFFFFF;
  --film:    #EEF3F7;   /* película DTF / fondo alterno */
  --ink:     #1A1C29;   /* negro de proceso */
  --ink-2:   #4A5063;   /* texto secundario */
  --line:    #D3D9E3;
  --magenta: #E5007D;
  --magenta-d: #B8005F;
  --cyan:    #009FE3;
  --yellow:  #FFE600;
  --wa:      #128C3F;
  --wa-d:    #0E7033;
  --radius:  6px;
  --wrap:    1180px;
  --font:    "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-d); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-stretch: 75%; font-weight: 850; line-height: 1.02; letter-spacing: -.01em; margin: 0 0 var(--s2); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 var(--s2); }
ul, ol { padding-left: 1.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }
.narrow { max-width: 780px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -5000px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.section-lead { color: var(--ink-2); max-width: 62ch; margin-bottom: var(--s4); }
.fine { font-size: .875rem; color: var(--ink-2); }
.empty { color: var(--ink-2); font-style: italic; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .6em 1.25em;
  border-radius: var(--radius); border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-big { min-height: 54px; padding-inline: 1.6em; font-size: 1.06rem; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--magenta-d); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { background: transparent; color: #fff; border-color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0; }

/* ---------- Barra de promoción y encabezado ---------- */
.promo { background: var(--yellow); font-size: .94rem; }
.promo p { margin: 0; padding: .55rem 0; font-weight: 600; }
.promo a { color: var(--ink); font-weight: 800; }
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: var(--s2); }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--s3); font-weight: 600; }
.nav > a { color: var(--ink); text-decoration: none; }
.nav > a:hover, .nav > a[aria-current] { color: var(--magenta-d); text-decoration: underline; text-decoration-thickness: 2px; }
.nav > a.btn-wa, .nav > a.btn-wa:hover { color: #fff; text-decoration: none; }
.dd { position: relative; }
.dd summary { cursor: pointer; list-style: none; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after { content: ""; display: inline-block; margin-left: .4em; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.dd ul { list-style: none; margin: 0; padding: .5rem 0; position: absolute; top: calc(100% + 14px); left: -1rem; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(26,28,41,.12); }
.dd a { display: block; padding: .5rem 1rem; color: var(--ink); text-decoration: none; }
.dd a:hover { background: var(--film); color: var(--magenta-d); }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after {
  position: absolute; left: 11px; width: 24px; height: 2.5px; background: var(--ink); content: ""; transition: transform .2s; }
.menu-btn span:first-child { top: 22px; }
.menu-btn span:first-child::before { left: 0; top: -7px; }
.menu-btn span:first-child::after { left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] span:first-child { background: transparent; }
.menu-btn[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: var(--s1) 16px var(--s3); max-height: calc(100vh - 72px); overflow: auto; }
  .nav.open { display: flex; }
  .nav > a, .dd summary { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .dd ul { position: static; box-shadow: none; border: 0; padding: 0 0 .5rem 1rem; }
  .nav > .btn-wa { margin-top: var(--s2); }
}

.crumbs { font-size: .875rem; color: var(--ink-2); padding-top: var(--s2); display: flex; flex-wrap: wrap; gap: .4em; }
.crumbs a { color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: var(--s4); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.25fr .9fr; gap: var(--s5); } }
.hero-copy h1 { max-width: 13ch; }
.hero-serv h1 { max-width: 16ch; font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
.proof { list-style: none; padding: 0; margin: var(--s3) 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.proof li::before { content: ""; display: inline-block; width: .6em; height: .6em; background: var(--magenta); margin-right: .5em; transform: translateY(-1px); }
.proof li:nth-child(2)::before { background: var(--cyan); }
.proof li:nth-child(3)::before { background: var(--yellow); outline: 1px solid #d8c200; }
.hero-art img { width: 100%; max-width: 520px; margin-inline: auto; }

/* Titular con "fuera de registro": las capas cian y magenta se alinean al cargar, como una prensa que entra en registro */
.misreg { text-shadow: .045em .03em 0 rgba(0,159,227,.55), -.035em -.02em 0 rgba(229,0,125,.5); animation: registro 1.1s cubic-bezier(.2,.7,.2,1) .15s both; }
@keyframes registro {
  from { text-shadow: .22em .12em 0 rgba(0,159,227,.55), -.18em -.08em 0 rgba(229,0,125,.5); }
  to   { text-shadow: .045em .03em 0 rgba(0,159,227,.55), -.035em -.02em 0 rgba(229,0,125,.5); }
}

/* Etiqueta de precio con marcas de corte */
.ticket { position: relative; background: var(--film); padding: var(--s4) var(--s3) var(--s3); border-radius: 2px; }
.crop { position: absolute; width: 22px; height: 22px; border-color: var(--ink); border-style: solid; border-width: 0; }
.crop.tl { top: -10px; left: -10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.crop.tr { top: -10px; right: -10px; border-top-width: 1.5px; border-right-width: 1.5px; }
.crop.bl { bottom: -10px; left: -10px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.crop.br { bottom: -10px; right: -10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.ticket-k { font-weight: 800; font-size: 1.1rem; margin-bottom: .25rem; }
.ticket-price { font-stretch: 75%; font-weight: 900; font-size: clamp(4rem, 9vw, 6.2rem); line-height: .9; margin: 0; }
.ticket-price span { font-stretch: 100%; font-size: 1.05rem; font-weight: 700; margin-left: .35rem; color: var(--ink-2); }
.ticket-size { display: inline-block; background: var(--yellow); padding: .15rem .5rem; font-weight: 700; margin: var(--s2) 0; }
.ticket img { margin: var(--s1) auto var(--s2); }
.ticket-fine { font-size: .875rem; color: var(--ink-2); margin: 0; }
.cmyk { display: flex; gap: 4px; position: absolute; right: var(--s3); top: var(--s3); }
.cmyk i { width: 14px; height: 14px; display: block; }
.cmyk i:nth-child(1) { background: var(--cyan); } .cmyk i:nth-child(2) { background: var(--magenta); }
.cmyk i:nth-child(3) { background: var(--yellow); } .cmyk i:nth-child(4) { background: var(--ink); }

/* ---------- Secciones ---------- */
.services, .steps, .reviews, .faq, .benefits, .prose-sec, .price-sec, .gal-prev, .other, .contact, .price-all, .gal-full { padding: var(--s5) 0; }
.page-head { padding: var(--s4) 0 var(--s3); }
.head-split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s2); margin-bottom: var(--s3); }
.head-split h2 { margin: 0; }

/* Lista de servicios en filas, como un catálogo */
.serv-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.serv-row a { display: grid; grid-template-columns: 110px 1fr; gap: var(--s2) var(--s3); align-items: center; padding: var(--s3) 0;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.serv-row img { width: 110px; height: auto; }
.serv-name { display: block; font-stretch: 75%; font-weight: 850; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1; }
.serv-hook { display: block; color: var(--ink-2); margin-top: .35rem; max-width: 60ch; }
.serv-price { grid-column: 2; justify-self: start; font-size: .95rem; }
.serv-price b { background: var(--yellow); padding: .1rem .4rem; font-size: 1.1rem; }
.serv-row a:hover .serv-name { color: var(--magenta-d); }
@media (min-width: 760px) {
  .serv-row a { grid-template-columns: 160px 1fr auto; }
  .serv-row img { width: 160px; }
  .serv-price { grid-column: 3; justify-self: end; white-space: nowrap; }
}

/* Cotizador */
.cotiz { background: var(--film); padding: var(--s5) 0; }
.cotiz-grid { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .cotiz-grid { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.cotiz-form, .card-form { background: #fff; padding: var(--s3); border-radius: var(--radius); border: 1px solid var(--line); }
@media (min-width: 600px) { .cotiz-form, .card-form { padding: var(--s4); } }
.card-form h2 { font-size: 2rem; }
.field { margin-bottom: var(--s2); }
.field label, .rate legend { display: block; font-weight: 700; margin-bottom: .3rem; font-size: .95rem; }
.unit { font-weight: 500; color: var(--ink-2); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input:not([type]), select, textarea {
  width: 100%; min-height: 48px; padding: .6rem .8rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #B7BFCC; border-radius: var(--radius); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); outline: 2px solid rgba(0,159,227,.25); outline-offset: 0; }
.two { display: grid; gap: 0 var(--s2); }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.stepper { display: flex; max-width: 220px; }
.stepper input { text-align: center; border-radius: 0; border-inline: 0; font-weight: 700; }
.stepper button { width: 52px; flex: none; font-size: 1.4rem; background: var(--film); border: 1.5px solid #B7BFCC; cursor: pointer; color: var(--ink); }
.stepper button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stepper button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; margin: var(--s2) 0; }
.check input { width: 20px; height: 20px; flex: none; margin-top: .15rem; accent-color: var(--magenta); }
.cotiz-total { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: var(--s2) 0; margin: var(--s2) 0 var(--s3); }
.cotiz-total div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); }
.cotiz-total .lbl { font-weight: 700; }
.cotiz-total strong { font-stretch: 75%; font-weight: 900; font-size: 2.8rem; line-height: 1; }
.cotiz-total p { margin: .3rem 0 0; font-size: .9rem; color: var(--ink-2); }
.form-msg { margin: var(--s2) 0 0; font-weight: 600; min-height: 1.4em; }
.form-msg.ok { color: var(--wa-d); }
.form-msg.err { color: #B3261E; }
form .btn-big { width: 100%; }

/* Proceso (secuencia real, por eso va numerado) */
.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); counter-reset: paso; }
@media (min-width: 760px) { .step-list { grid-template-columns: repeat(4, 1fr); } }
.step-list li { counter-increment: paso; border-top: 2px solid var(--ink); padding-top: var(--s2); }
.step-list li::before { content: counter(paso); display: block; font-stretch: 75%; font-weight: 900; font-size: 3.4rem; line-height: 1; color: var(--magenta); margin-bottom: .4rem; }
.step-list li:nth-child(2)::before { color: var(--cyan); }
.step-list li:nth-child(3)::before { color: #C9B400; }
.step-list li:nth-child(4)::before { color: var(--ink); }
.step-list p { color: var(--ink-2); margin: 0; }

/* Galería */
.gal-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .gal-grid { grid-template-columns: repeat(4, 1fr); } }
.gal-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.gal-grid figure { margin: 0; }
.gal-grid figcaption { font-size: .875rem; color: var(--ink-2); padding-top: .3rem; }

/* Opiniones */
.reviews { background: var(--paper); }
.rev-list { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: var(--s3); }
@media (min-width: 760px) { .rev-list:not(.stack) { grid-template-columns: repeat(3, 1fr); } }
.rev { border-top: 3px solid var(--magenta); padding-top: var(--s2); }
.rev:nth-child(3n+2) { border-top-color: var(--cyan); }
.rev:nth-child(3n) { border-top-color: var(--yellow); }
.rev blockquote { margin: .5rem 0; font-size: 1.05rem; }
.rev blockquote p { margin: 0; }
.rev-who { font-weight: 700; font-size: .95rem; margin: 0; }
.rev-reply { background: var(--film); padding: .7rem .9rem; margin: .7rem 0 0; font-size: .95rem; border-left: 3px solid var(--ink); }
.stars { color: #E0A800; letter-spacing: .08em; font-size: 1.1rem; }
.stars .off { color: #CED4DE; }
.rating { margin: 0; }
.rating.big { font-size: 1.25rem; }
.rev-layout { align-items: start; }
.rate { border: 0; padding: 0; margin: 0 0 var(--s2); display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.rate legend { width: 100%; }
.rate input { position: absolute; opacity: 0; }
.rate label { font-size: 2.1rem; line-height: 1; color: #CED4DE; cursor: pointer; padding: 0 .1rem; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: #E0A800; }
.rate input:focus-visible + label { outline: 3px solid var(--cyan); }

/* FAQ */
.faq { background: var(--film); }
.faq details { border-bottom: 1px solid var(--line); background: transparent; }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; font-weight: 700; font-size: 1.1rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .8rem; font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 68ch; padding-bottom: 1rem; margin: 0; }

/* Banda final */
.band { background: var(--ink); color: #fff; padding: var(--s5) 0; }
.band p { color: #D5D9E4; }

/* Páginas de servicio */
.two-col { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.4fr 1fr; } }
.prose p { font-size: 1.12rem; max-width: 66ch; }
.ideal { border-left: 3px solid var(--magenta); padding-left: var(--s3); }
.ideal h2 { font-size: 1.8rem; }
.ideal ul { padding-left: 1.1em; margin: 0; }
.ideal li { margin-bottom: .4rem; }
.benefits { background: var(--film); }
.ben-list { display: grid; gap: var(--s3); margin: 0; }
@media (min-width: 760px) { .ben-list { grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s5); } }
.ben-list dt { font-weight: 800; font-size: 1.25rem; margin-bottom: .2rem; }
.ben-list dd { margin: 0; color: var(--ink-2); }
.chips { list-style: none; padding: 0; margin: var(--s2) 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .45rem .9rem; border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.chips a:hover, .chips a[aria-current] { background: var(--ink); color: #fff; }

/* Tablas de precios */
.table-wrap { overflow-x: auto; }
.prices { width: 100%; border-collapse: collapse; min-width: 520px; }
.prices th, .prices td { text-align: left; padding: .9rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices thead th { border-bottom: 2px solid var(--ink); font-size: .9rem; color: var(--ink-2); }
.prices tbody th { font-weight: 700; }
.prices small { display: block; font-weight: 400; color: var(--ink-2); font-size: .875rem; }
.prices small.extra { color: var(--magenta-d); }
.prices td b { font-size: 1.15rem; }
.per { color: var(--ink-2); font-size: .875rem; white-space: nowrap; }
.price-all .price-sec { padding: var(--s3) 0; }

/* Contacto */
.info-list { margin: var(--s3) 0; }
.info-list div { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.info-list dd { margin: 0; }
.map { background: var(--film); padding: var(--s3); border-radius: var(--radius); }
.map p { font-size: .9rem; color: var(--ink-2); }
.map a { margin-left: var(--s2); }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Legales */
.legal-doc { padding-block: var(--s3) var(--s5); }
.legal-doc h2 { font-size: 1.7rem; margin-top: var(--s4); }
.legal-doc li { margin-bottom: .4rem; }

/* ---------- Pie ---------- */
.site-foot { background: var(--ink); color: #D5D9E4; padding: var(--s5) 0 var(--s3); font-size: .95rem; }
.site-foot a { color: #fff; }
.site-foot h2 { font-size: 1.35rem; color: #fff; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .45rem; }
.foot-grid { display: grid; gap: var(--s4); }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; } }
.foot-brand img { height: 48px; width: auto; margin-bottom: var(--s2); background: #fff; padding: 6px 10px; border-radius: 4px; }
.foot-brand address { font-style: normal; line-height: 1.8; }
.hours { margin-top: var(--s2); }
.news .inline { display: flex; gap: .5rem; }
.news input { min-width: 0; }
.news .btn-ink { background: var(--magenta); flex: none; }
.news .btn-ink:hover { background: var(--magenta-d); }
.news .check a { color: #fff; }
.social a { margin-right: var(--s2); }
.legal { border-top: 1px solid #3A3E52; margin-top: var(--s4); padding-top: var(--s3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); font-size: .875rem; }
.legal p { margin: 0; }
.legal a, .legal .linklike { margin-right: var(--s2); color: #D5D9E4; }

/* Botón flotante de WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float:hover { color: #fff; background: #1EBE5A; }

/* Aviso de cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 520px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-top: 4px solid var(--magenta); border-radius: var(--radius); padding: var(--s3); box-shadow: 0 12px 40px rgba(26,28,41,.25); }
.cookie h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.cookie p { font-size: .95rem; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.cookie-opts .check { margin: .5rem 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
