/* Taller Rojo, la web ESTÁTICA de ejemplo (un taller inventado): clara, rotulada y directa. Rojo, negro y blanco. */
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--blanco); color: var(--tinta); font: 400 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased }
img { display: block; max-width: 100%; height: auto }
svg { display: block }
a { color: var(--rojo) }
h1, h2, h3 { margin: 0; font-weight: 400 }
h1, h2 { font-family: var(--rotulo); letter-spacing: .01em; line-height: .95; text-transform: uppercase }
h2 { font-size: clamp(42px, 5vw, 64px) }
h3 { font: 800 19px/1.25 var(--sans); letter-spacing: -.01em }
h1 em, h2 em { font-style: normal; color: var(--rojo) }
p { margin: 0 0 1em } p:last-child { margin-bottom: 0 }
ul, ol { padding: 0; margin: 0; list-style: none }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; border-radius: 6px }
.contenedor { width: min(1160px, 100% - 40px); margin-inline: auto }
.seccion { padding: clamp(64px, 9vw, 104px) 0 }
.seccion-hueso { background: var(--hueso) }
.seccion-negra { background: var(--negro); color: #f2f2f2 }
.seccion-roja { background: var(--rojo); color: #fff }
.antetitulo { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--rojo) }
.antetitulo::before { content: ""; width: 26px; height: 3px; background: currentColor }
.seccion-negra .antetitulo { color: #ff5a5f }
.seccion-roja .antetitulo, .seccion-roja h2 em { color: #fff }
.seccion-roja h2 em { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px }
.cab { max-width: 640px; margin-bottom: 38px }
.cab > p:last-child { margin-top: 14px; color: var(--tinta-2) }
.nota { margin-top: 22px; color: var(--tinta-3); font-size: 14px }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 700 15.5px var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s }
.boton:hover { transform: translateY(-1px) }
.boton svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2 }
.boton-rojo { background: var(--rojo); color: #fff; box-shadow: 0 10px 24px -10px rgba(216,30,38,.75) }
.boton-rojo:hover { background: var(--rojo-osc); color: #fff }
.boton-borde { background: #fff; color: var(--tinta); border-color: var(--tinta) }
.boton-negro { background: var(--negro); color: #fff }
.boton.peq { min-height: 42px; padding: 0 18px; font-size: 14.5px }

/* Cabecera */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea) }
.cabecera-in { display: flex; align-items: center; gap: 28px; height: 72px }
.marca { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--tinta) }
.marca-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--rojo) }
.marca-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linejoin: round }
.marca b { display: block; font: 400 27px/1 var(--rotulo); letter-spacing: .03em; text-transform: uppercase }
.marca small { display: block; font-size: 12px; color: var(--tinta-3); font-weight: 600 }
.menu { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 600 }
.menu a { color: var(--tinta-2); text-decoration: none }
.menu a:hover { color: var(--rojo) }

/* Portada: la foto en arco y dos tarjetas flotando, como en las webs de presentación */
.portada { position: relative; overflow: hidden; padding: 54px 0 84px; background: linear-gradient(180deg, #fff 0%, var(--hueso) 100%) }
.portada::before { content: ""; position: absolute; right: -8%; top: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(216,30,38,.10), transparent 65%) }
.portada-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center }
.portada h1 { font-size: clamp(64px, 8.4vw, 116px); margin-bottom: 20px }
.entrada { font-size: 18px; color: var(--tinta-2); max-width: 520px }
.botones { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px }
.sellos { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 22px; border-top: 1px solid var(--linea); font-size: 14px; font-weight: 600; color: var(--tinta-2) }
.sellos li { display: flex; align-items: center; gap: 8px }
.sellos svg { width: 17px; height: 17px; fill: none; stroke: var(--rojo); stroke-width: 2.2 }
.portada-foto { position: relative; justify-self: center; width: min(420px, 100%) }
.arco { aspect-ratio: 4 / 5; border-radius: 210px 210px 26px 26px; overflow: hidden; background: var(--negro); box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); outline: 6px solid #fff }
.arco img { width: 100%; height: 100%; object-fit: cover }
.flotante { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -16px rgba(0,0,0,.35); font-size: 14px; animation: flota 6s ease-in-out infinite }
.flotante b { display: block } .flotante small { color: var(--tinta-3) }
.flotante-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--rojo) }
.flotante-ico svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2 }
.f1 { left: -16%; bottom: 16% } .f2 { right: -12%; top: 12%; animation-delay: -3s }
@keyframes flota { 50% { transform: translateY(-8px) } }

/* Servicios */
.tarjetas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px }
.tarjeta { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--linea); transition: transform .3s, box-shadow .3s }
.tarjeta:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.35) }
.tarjeta img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--hueso) }
.tarjeta-txt { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 20px 22px; border-top: 4px solid var(--rojo) }
.tarjeta-txt p { color: var(--tinta-2); font-size: 15px; flex: 1 }
.precio { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--negro); color: #fff; font-size: 13px; font-weight: 700 }

/* Cómo trabajamos */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.pasos li { padding: 28px 24px; border-radius: 20px; background: var(--negro-2); border: 1px solid var(--negro-3) }
.pasos span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%; background: var(--rojo); color: #fff; font: 400 28px/1 var(--rotulo) }
.pasos h3 { margin-bottom: 8px; color: #fff } .pasos p { color: #b9b9be; font-size: 15px }

/* El taller */
.taller { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center }
.taller-fotos { position: relative; padding: 0 0 60px 0 }
.taller-fotos img:first-child { width: 88%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px }
.taller-fotos img:last-child { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; outline: 6px solid #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.45) }
.taller-txt > p { color: var(--tinta-2); margin-top: 14px }
.lista { display: grid; gap: 10px; margin-top: 18px }
.lista li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600 }
.lista li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; background: var(--rojo); transform: rotate(45deg) }

/* Dónde */
.donde { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center }
.datos { display: grid; gap: 14px; margin-top: 24px }
.datos li { padding-bottom: 14px; border-bottom: 1px solid #dddbd7 }
.datos b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rojo) }
.mapa { border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(0,0,0,.4) }
.mapa svg { width: 100%; height: auto }

/* Preguntas */
.lista-preguntas { display: grid; gap: 10px; max-width: 820px }
.lista-preguntas details { padding: 0 22px; border-radius: 16px; background: #fff; border: 1px solid var(--linea) }
.lista-preguntas details[open] { border-color: var(--tinta) }
.lista-preguntas summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700 }
.lista-preguntas summary::-webkit-details-marker { display: none }
.lista-preguntas summary::after { content: "+"; font: 400 28px/.8 var(--rotulo); color: var(--rojo); transition: transform .2s }
.lista-preguntas details[open] summary::after { transform: rotate(45deg) }
.lista-preguntas p { padding-bottom: 18px; color: var(--tinta-2) }

/* Cita */
.cita { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center }
.cita-txt p:last-child { color: #ffe3e4; margin-top: 14px }
.formulario { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 26px; border-radius: 24px; background: #fff; color: var(--tinta); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5) }
.formulario label { display: grid; gap: 6px; font-size: 14px; font-weight: 700 }
.formulario .ancho { grid-column: 1 / -1 }
.formulario input, .formulario textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--linea); background: var(--hueso); color: var(--tinta); font: 400 16px var(--sans) }
.formulario input:focus, .formulario textarea:focus { border-color: var(--tinta); outline: none; background: #fff }
.formulario-aviso { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 12px; background: #fff4d6; color: #5a4a1a; font-size: 14px }

/* Pie y WhatsApp */
.pie { padding: 36px 0 90px; background: var(--negro); color: #a9a9ae; font-size: 14px }
.pie-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px }
.pie-marca { color: #fff }
.pie-marca .marca-ico { width: 34px; height: 34px; border-radius: 10px }
.pie-marca b { font-size: 24px }
.pie nav { display: flex; gap: 18px; margin-left: auto }
.pie a { color: #e7e7ea }
.pie p { flex-basis: 100%; margin: 0 }
.wasap { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--rojo); box-shadow: 0 12px 28px -8px rgba(216,30,38,.6) }
.wasap svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2 }

/* Aparecer al bajar */
.aparece { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1) }
.aparece:not(.visto) { opacity: 0; transform: translateY(18px) }
@media (prefers-reduced-motion: reduce) { .aparece { opacity: 1 !important; transform: none !important } .flotante { animation: none } html { scroll-behavior: auto } }

@media (max-width: 1000px) {
  .menu { display: none }
  .cabecera-in .boton { margin-left: auto }
  .portada-in, .donde, .cita, .taller { grid-template-columns: 1fr }
  .portada-foto { width: min(360px, 84%) }
  .tarjetas { grid-template-columns: 1fr 1fr }
}
@media (max-width: 640px) {
  body { font-size: 16px }
  .cabecera-in { height: 64px; gap: 12px }
  .marca small { display: none }
  .marca b { font-size: 24px }
  .portada { padding: 34px 0 60px }
  .portada h1 { font-size: 66px }
  .entrada { font-size: 16.5px }
  .botones .boton { flex: 1 1 100% }
  .f1 { left: -6%; bottom: 8% } .f2 { right: -6%; top: 6% }
  .tarjetas, .pasos { grid-template-columns: 1fr }
  .formulario { grid-template-columns: 1fr; padding: 18px }
  .pie nav { margin-left: 0 }
  .wasap { bottom: 74px; right: 14px; width: 52px; height: 52px }
}
