/* Puntada Kantuta, taller de bordados (demo con marca ficticia). Colores y letras en :root.
   Pensado primero para celular. Las tarjetas llevan una "costura" punteada, como un parche. */
:root {
  --fondo: #F8F2E6;
  --fondo-2: #EFE4CF;
  --tinta: #26182B;
  --tinta-2: #5A4A5E;
  --rojo: #B0123A;
  --rojo-2: #8C0E2E;
  --amarillo: #F2BE2C;
  --verde: #1E6B45;
  --wa: #0F7B4A;
  --wa-2: #0B6139;
  --borde: #E0D0B4;
  --letra: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --letra-titulos: "Avenir Next Condensed", "Bahnschrift Condensed", "sans-serif-condensed", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --radio: .9rem;
  --sombra: 0 16px 36px -18px rgba(58, 42, 26, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 3rem; }
body {
  margin: 0; color: var(--tinta); font: 1.0625rem/1.6 var(--letra);
  background-color: var(--fondo);
  background-image: repeating-linear-gradient(0deg, rgba(120, 90, 40, .035) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(120, 90, 40, .03) 0 1px, transparent 1px 5px);
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--letra-titulos); font-weight: 800; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7vw + .6rem, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.85rem, 3.6vw + .9rem, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
a { color: var(--rojo); text-underline-offset: .15em; }
a:hover { color: var(--rojo-2); }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.contenedor { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; top: -5rem; left: 1rem; z-index: 50; padding: .75rem 1rem; border-radius: .5rem; background: var(--tinta); color: #fff; }
.saltar:focus { top: 3rem; color: #fff; }

.franja-demo { position: sticky; top: 0; z-index: 40; padding: .45rem 1rem; background: var(--tinta); color: #FBF2E2; font-size: .875rem; line-height: 1.35; text-align: center; }
.franja-demo p { margin: 0; }
.franja-demo a { color: #F7D46B; }

.boton { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .75rem 1.4rem; border: 2px solid transparent; border-radius: .6rem; font: 700 1rem/1.2 var(--letra); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; }
.boton:active { transform: translateY(1px); }
.boton-wa { background: var(--wa); color: #fff; }
.boton-wa:hover { background: var(--wa-2); color: #fff; }
.boton-claro { border-color: var(--tinta); background: transparent; color: var(--tinta); }
.boton-claro:hover { background: var(--fondo-2); color: var(--tinta); }
.boton-chico { min-height: 2.75rem; padding: .5rem 1.05rem; }
.icono { width: 1.35em; height: 1.35em; flex: none; }

.cabecera { border-bottom: 2px dashed var(--borde); background: rgba(248, 242, 230, .96); }
.cabecera-fila { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; padding-top: .75rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--tinta); font: 800 1.5rem/1 var(--letra-titulos); text-decoration: none; }
.logo svg { width: 2.6rem; height: 2.6rem; }
.logo em { color: var(--rojo); font-style: normal; }
.cabecera-fila > .boton { display: none; }
.menu-sitio { flex: 1 0 100%; }
.menu-sitio ul { display: flex; flex-wrap: wrap; gap: .25rem; margin: .4rem -.6rem 0; padding: 0 0 .5rem; list-style: none; }
.menu-sitio a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .25rem .6rem; font-size: 1rem; border-radius: .6rem; color: var(--tinta); font-weight: 600; text-decoration: none; white-space: nowrap; }
.menu-sitio a:hover { background: var(--fondo-2); color: var(--tinta); }
@media (min-width: 52rem) {
  .cabecera-fila { flex-wrap: nowrap; padding-block: .75rem; }
  .menu-sitio { flex: 0 1 auto; margin-left: auto; }
  .menu-sitio ul { margin: 0; padding: 0; }
  .cabecera-fila > .boton { display: inline-flex; margin-left: .5rem; }
}

.portada { padding-block: 1.75rem 3.5rem; }
.portada-grilla { display: grid; gap: 2rem; align-items: center; }
.estado { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.25rem; margin-bottom: 1.1rem; padding: .3rem .9rem; border: 1px dashed var(--tinta-2); border-radius: 999px; background: #FFFBF3; font-size: .9375rem; font-weight: 600; }
.estado::before { content: ""; width: .65rem; height: .65rem; flex: none; border-radius: 50%; background: var(--amarillo); }
.estado.abierto::before { background: #2E8B4F; box-shadow: 0 0 0 4px rgba(46, 139, 79, .2); }
.estado.cerrado::before { background: #B23B1E; }
.antetitulo { margin-bottom: .35rem; color: var(--rojo); font-size: .875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.entrada { max-width: 36rem; color: var(--tinta-2); font-size: 1.15rem; }
.acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.chips li { padding: .35rem .8rem; border-radius: .5rem; background: var(--tinta); color: #FBF2E2; font-size: .9375rem; font-weight: 600; }
.portada-imagen { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radio); box-shadow: var(--sombra); }
@media (min-width: 60rem) {
  .portada { padding-block: 3.5rem 5rem; }
  .portada-grilla { grid-template-columns: 1fr 1.05fr; gap: 3.5rem; }
}

.seccion { padding-block: 3.75rem; }
.seccion-oscura { background: var(--tinta); color: #FBF2E2; }
.seccion-oscura .antetitulo { color: var(--amarillo); }
.seccion-oscura .nota { color: #E4D6E6; }
.seccion-clara { background: #FFFBF3; }
.intro { max-width: 42rem; color: var(--tinta-2); }
.nota { color: var(--tinta-2); font-size: .9375rem; }

.trabajos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.trabajos figure { margin: 0; }
.trabajos img { width: 100%; aspect-ratio: 1; border-radius: var(--radio); box-shadow: var(--sombra); }
.trabajos figcaption { margin-top: .55rem; font-weight: 700; line-height: 1.3; }
@media (min-width: 52rem) { .trabajos { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); gap: 1rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.servicios li { padding: 1.5rem; border-radius: var(--radio); background: #FFFBF3; outline: 2px dashed rgba(176, 18, 58, .4); outline-offset: -.6rem; box-shadow: var(--sombra); }
.servicios h3 { display: flex; align-items: center; gap: .6rem; }
.servicios h3 svg { width: 1.7rem; height: 1.7rem; flex: none; color: var(--rojo); }
.servicios p { margin: 0; color: var(--tinta-2); }

.tabla-precios { width: 100%; margin-top: 1.5rem; border-collapse: collapse; background: #FFFBF3; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); font-size: .975rem; }
.tabla-precios caption { padding-bottom: .75rem; text-align: left; font-weight: 600; color: var(--tinta-2); }
.tabla-precios th, .tabla-precios td { padding: .8rem .45rem; border-bottom: 1px dashed var(--borde); text-align: right; white-space: nowrap; }
.tabla-precios th:first-child, .tabla-precios td:first-child { text-align: left; white-space: normal; }
.tabla-precios thead th { background: var(--rojo); color: #fff; font-size: .875rem; }
.tabla-precios tbody th { font-weight: 600; }
.tabla-precios td { font-weight: 800; color: var(--rojo-2); }
@media (min-width: 40rem) { .tabla-precios th, .tabla-precios td { padding: .95rem 1.1rem; } }

.pasos { display: grid; gap: 1rem; margin: 1.75rem 0 2rem; padding: 0; list-style: none; counter-reset: paso; }
.pasos li { position: relative; padding: 1.3rem 1.3rem 1.3rem 4.4rem; border-radius: var(--radio); background: rgba(255, 255, 255, .07); outline: 2px dashed rgba(242, 190, 44, .45); outline-offset: -.5rem; counter-increment: paso; }
.pasos li::before { content: counter(paso); position: absolute; top: 1.2rem; left: 1.2rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--amarillo); color: var(--tinta); font-weight: 800; }
.pasos h3 { margin-bottom: .25rem; }
.pasos p { margin: 0; color: #E4D6E6; }
.seccion-oscura .boton-wa { background: #fff; color: var(--wa-2); }
.seccion-oscura .boton-wa:hover { background: #E9F6EF; color: var(--wa-2); }
@media (min-width: 52rem) { .pasos { grid-template-columns: repeat(4, 1fr); } }

.clientes { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.clientes li { padding: .55rem 1rem; border: 2px dashed var(--borde); border-radius: 999px; background: #FFFBF3; font-weight: 600; }

.preguntas { display: grid; gap: .75rem; max-width: 50rem; margin-top: 1.5rem; }
.preguntas details { border: 1px solid var(--borde); border-radius: var(--radio); background: #FFFBF3; }
.preguntas summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.25rem; padding: .85rem 1.25rem; font-weight: 700; list-style: none; cursor: pointer; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; flex: none; color: var(--rojo); font-size: 1.6rem; font-weight: 400; line-height: 1; }
.preguntas details[open] summary::after { content: "−"; }
.preguntas details p { margin: 0; padding: 0 1.25rem 1.15rem; color: var(--tinta-2); }

.dos-columnas { display: grid; gap: 3rem; }
@media (min-width: 52rem) { .dos-columnas { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.horario { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.horario th, .horario td { padding: .85rem .25rem; border-bottom: 1px dashed var(--borde); text-align: left; }
.horario th { font-weight: 500; }
.horario td { font-weight: 700; text-align: right; }
.horario tr.hoy th, .horario tr.hoy td { color: var(--rojo-2); font-weight: 800; }
.horario tr.hoy th::after { content: " · hoy"; }
.direccion { font-size: 1.1rem; font-weight: 600; }
.direccion .nota { font-weight: 400; }
.mapa { margin: 1rem 0 1.25rem; overflow: hidden; border: 1px solid var(--borde); border-radius: var(--radio); }

.pie { padding: 3rem 0 6.5rem; background: var(--tinta); color: #EFE3F0; }
.pie a { color: #F7D46B; }
.pie-grilla { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .pie-grilla { grid-template-columns: 2fr 1fr; } }
.pie .logo { margin-bottom: 1rem; color: #FBF2E2; }
.pie .logo em { color: #FF9DB5; }
.pie-titulo { margin-bottom: .75rem; font: 700 1.1rem/1.3 var(--letra); }
.pie p { margin-bottom: .5rem; }
.redes { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.redes a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .25rem 1rem; border: 1px dashed rgba(255, 255, 255, .45); border-radius: .6rem; text-decoration: none; }
.redes a:hover { background: rgba(255, 255, 255, .08); }
.pie-demo { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dashed rgba(255, 255, 255, .25); color: #D9C9DB; font-size: .875rem; }

.wa-flotante { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; display: inline-flex; align-items: center; gap: .45rem; min-height: 3.25rem; padding: .6rem 1.15rem .6rem .95rem; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); }
.wa-flotante:hover { background: var(--wa-2); color: #fff; }
.wa-flotante { transition: opacity .2s, transform .2s, visibility .2s; }
.wa-flotante.oculto { visibility: hidden; opacity: 0; transform: translateY(1rem); }

.aviso { width: min(100% - 2rem, 28rem); padding: 1.5rem; border: 0; border-radius: var(--radio); background: #FFFBF3; color: var(--tinta); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.aviso::backdrop { background: rgba(38, 24, 43, .6); }
.aviso h2 { font-size: 1.5rem; }
.aviso-mensaje { padding: .75rem 1rem; border-left: 4px solid var(--wa); border-radius: .5rem; background: var(--fondo); font-style: italic; }
.aviso .boton { width: 100%; background: var(--tinta); color: #fff; }

.error { padding-block: 4rem 5rem; text-align: center; }
.error svg { width: 6.5rem; margin: 0 auto 1.5rem; }
.error .entrada { margin-inline: auto; }
.error .acciones { justify-content: center; }
.cabecera-fila > .logo:only-child { margin-bottom: .9rem; }
