/* ==========================================================================
   PAGINAS S — Página «Páginas web para restaurantes»
   Se apoya en styles.css (tokens, botones, secciones, planes, FAQ y pie).
   Aquí solo van las piezas propias de esta página, con prefijo rs-.
   ========================================================================== */

/* ---------- Portada ---------- */
.rs-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(36px, 5vw, 72px)) 0 clamp(80px, 9vw, 128px);
  background: radial-gradient(70% 60% at 100% 0%, rgba(224,190,163,.35), transparent 70%), var(--cream); }
.rs-hero-inner { display: grid; gap: clamp(56px, 7vw, 88px); align-items: center; }
.rs-hero-copy { max-width: 660px; }
.rs-crumbs { margin-bottom: 36px; color: var(--muted); }
.rs-crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; }
.rs-crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.rs-crumbs li + li::before { content: "/"; opacity: .5; }
.rs-crumbs a { text-decoration: none; transition: color .2s; }
.rs-crumbs a:hover { color: var(--terra); }
.rs-crumbs [aria-current] { color: var(--cacao); }
.rs-title { color: var(--cacao); font-size: clamp(2.7rem, 6.4vw, 5.1rem); line-height: .98; margin-bottom: 32px; max-width: 13ch; }
.rs-title em { color: var(--terra); }

.rs-hero-visual { position: relative; margin: 0 0 24px; }
.rs-browser { position: relative; border-radius: 10px; overflow: hidden; background: #1A100B; border: 1px solid rgba(59,33,23,.18);
  box-shadow: 0 40px 80px -36px rgba(46,27,19,.55), 0 12px 28px -18px rgba(46,27,19,.35); }
.rs-browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F4E9DF; border-bottom: 1px solid var(--line); }
.rs-browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(59,33,23,.2); }
.rs-browser-bar i { margin-left: auto; margin-right: auto; padding: 2px 14px; border-radius: 20px; background: var(--white); font-style: normal; font-size: 10.5px; letter-spacing: .04em; color: var(--muted); }
.rs-browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rs-phone { position: absolute; right: -6px; bottom: -40px; width: 27%; min-width: 96px; padding: 5px; border-radius: 22px; background: #22140E;
  box-shadow: 0 30px 50px -24px rgba(46,27,19,.7); }
.rs-phone img { width: 100%; aspect-ratio: 560 / 1100; object-fit: cover; object-position: top; border-radius: 17px; }
.rs-tag { position: absolute; left: 16px; bottom: -40px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 30px;
  background: var(--white); border: 1px solid var(--line); color: var(--cacao); font-size: 11px; letter-spacing: .12em; box-shadow: 0 10px 24px -14px rgba(46,27,19,.4); max-width: 64%; }
.rs-tag-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #B8935A; box-shadow: 0 0 0 4px rgba(184,147,90,.18); }

/* Tableta: el titular aprovecha mejor el ancho disponible */
@media (min-width: 600px) and (max-width: 1039px) { .rs-title { max-width: 16ch; } }
@media (min-width: 1040px) {
  .rs-hero-inner { grid-template-columns: 1.02fr 1fr; }
  .rs-hero-visual { margin-right: calc(var(--gutter) * -0.4); }
  /* Ordenador: titular algo más compacto para que los botones queden a la vista sin desplazarse */
  .rs-hero { padding-top: calc(var(--header-h) + clamp(28px, 3vw, 48px)); }
  .rs-crumbs { margin-bottom: 24px; }
  .rs-hero .eyebrow { margin-bottom: 20px; }
  .rs-title { font-size: clamp(3rem, 4.6vw, 4.4rem); max-width: 15ch; margin-bottom: 24px; }
  .rs-hero .hero-lead { max-width: 50ch; }
  .rs-hero .hero-actions { margin-top: 32px; }
  .rs-hero .hero-location { margin-top: 28px; }
}
@media (max-width: 599px) {
  .rs-phone { width: 30%; bottom: -28px; border-radius: 16px; padding: 4px; }
  .rs-phone img { border-radius: 12px; }
  .rs-tag { left: 10px; bottom: -48px; max-width: 70%; font-size: 10.5px; padding: 8px 12px; }
}

/* Entrada suave de la portada (solo con JS y sin «reducir movimiento») */
@media (prefers-reduced-motion: no-preference) {
  .js .rs-hero-copy > * { animation: rsUp 1s var(--ease) both; }
  .js .rs-hero-copy > :nth-child(2) { animation-delay: .06s; }
  .js .rs-hero-copy > :nth-child(3) { animation-delay: .12s; }
  .js .rs-hero-copy > :nth-child(4) { animation-delay: .2s; }
  .js .rs-hero-copy > :nth-child(5) { animation-delay: .28s; }
  .js .rs-hero-copy > :nth-child(6) { animation-delay: .34s; }
  .js .rs-browser { animation: rsUp 1.2s .2s var(--ease) both; }
  .js .rs-phone { animation: rsUp 1.2s .42s var(--ease) both; }
  .js .rs-tag { animation: rsFade .9s .8s var(--ease) both; }
}
@keyframes rsUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rsFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Iconos y numeración ---------- */
.rs-ico { width: 26px; height: 26px; fill: none; stroke: var(--terra); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Lo que busca el cliente ---------- */
.rs-needs-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.rs-needs-list li { position: relative; padding: 36px 30px 40px; background: var(--ivory); transition: background-color .5s var(--ease); }
.rs-needs-list li:hover { background: var(--white); }
.rs-n { position: absolute; top: 28px; right: 28px; font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; color: var(--terra); opacity: .8; }
.rs-needs-list .rs-ico { margin-bottom: 44px; }
.rs-needs-list h3, .rs-book-grid h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.55rem, 2vw, 1.85rem); line-height: 1.1; margin-bottom: 12px; color: var(--ink); }
.rs-needs-list p, .rs-book-grid p { color: var(--muted); font-size: 15.5px; }
@media (min-width: 640px) { .rs-needs-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .rs-needs-list { grid-template-columns: repeat(4, 1fr); } .rs-needs-list li { padding: 40px 32px 48px; } }

/* ---------- La carta ---------- */
.rs-split { display: grid; gap: clamp(56px, 7vw, 96px); align-items: center; }
.rs-points { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--line-strong); }
.rs-points article { padding: 26px 0 28px; border-bottom: 1px solid var(--line-strong); }
.rs-points h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.45rem, 1.9vw, 1.7rem); line-height: 1.15; margin-bottom: 8px; }
.rs-points p { color: var(--muted); font-size: 15.5px; max-width: 58ch; }
.rs-menu-visual { position: relative; margin: 0 0 8px; }
.rs-menu-frame { border-radius: 8px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(46,27,19,.6); background: #1A100B; }
.rs-menu-frame img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 50% 62%; transition: transform 1.2s var(--ease); }
.rs-menu-visual:hover .rs-menu-frame img { transform: scale(1.025); }
.rs-qr-card { position: absolute; left: -14px; top: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px; border-radius: 8px;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 36px -20px rgba(46,27,19,.5); }
.rs-qr-card svg { width: 40px; height: 40px; fill: none; stroke: var(--deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rs-qr-card .mono { font-size: 10.5px; line-height: 1.5; letter-spacing: .14em; color: var(--cacao); }
.rs-menu-visual figcaption { margin-top: 16px; }
@media (min-width: 980px) { .rs-split { grid-template-columns: 1fr 1.05fr; } .rs-qr-card { left: -32px; top: 40px; } }
@media (max-width: 479px) { .rs-qr-card { left: 10px; top: 10px; padding: 10px 14px 10px 10px; } .rs-qr-card svg { width: 30px; height: 30px; } }

/* ---------- Reservas ---------- */
.rs-book-grid { display: grid; gap: 20px; }
.rs-book-grid li { padding: 36px 32px 38px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .5s var(--ease), border-color .5s var(--ease); }
.rs-book-grid li:hover { transform: translateY(-3px); border-color: rgba(167,111,72,.4); }
.rs-book-grid .rs-ico { margin-bottom: 28px; }
@media (min-width: 860px) { .rs-book-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.rs-note { display: flex; gap: 16px; align-items: flex-start; max-width: 720px; margin: 40px auto 0; font-size: 14.5px; color: var(--muted); }
.rs-note .mono, .rs-concept .mono:first-child { flex: none; }
.rs-note .mono { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--terra); border-radius: 50%;
  font-family: var(--f-serif); font-style: italic; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--terra); }

/* ---------- Ejemplo: Bruma ---------- */
.rs-bruma { background: radial-gradient(60% 70% at 85% 30%, rgba(184,147,90,.16), transparent 70%), #1C110C; }
.rs-bruma-inner { display: grid; gap: clamp(56px, 7vw, 88px); align-items: center; }
.rs-bruma .h2 em { color: #D9B77E; }
.rs-bruma-copy .lead { margin-top: 28px; }
.rs-concept { display: grid; gap: 8px; margin-top: 32px; padding: 20px 22px; border: 1px solid rgba(217,183,126,.35); border-radius: var(--radius-lg); max-width: 52ch;
  font-size: 14.5px; color: var(--muted-dark); background: rgba(217,183,126,.05); }
.rs-concept .mono { color: #D9B77E; font-size: 11.5px; }
.rs-bruma .btn-accent { background: linear-gradient(120deg, #B8935A, #E2C68F 55%, #B8935A); color: #1C110C; }
.rs-bruma .btn-accent::before { background: var(--ivory); }
.rs-bruma-visual { margin: 0; }
.rs-bruma-shot { display: block; border-radius: 8px; overflow: hidden; border: 1px solid rgba(217,183,126,.28);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.8); }
.rs-bruma-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.rs-bruma-shot:hover img { transform: scale(1.03); }
.rs-bruma-shot:focus-visible { outline-color: #D9B77E; outline-offset: 4px; }
.rs-bruma-visual figcaption { margin-top: 18px; color: #D9B77E; font-size: 11.5px; }
@media (min-width: 980px) { .rs-bruma-inner { grid-template-columns: .95fr 1.05fr; } }

/* ---------- Qué ofrecemos ---------- */
.rs-scope-grid { display: grid; gap: 24px; }
.rs-scope-col { padding: clamp(32px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ivory); }
.rs-scope-extra { background: transparent; border-style: dashed; border-color: var(--line-strong); }
.rs-scope-kicker { color: var(--terra); font-size: 11.5px; margin-bottom: 12px; }
.rs-scope-title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1.1; margin-bottom: 28px; }
.rs-list li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.rs-list li:first-child { border-top: 0; }
.rs-list svg { flex: none; width: 16px; height: 16px; margin-top: 5px; color: var(--terra); }
.rs-scope-col .fine { margin-top: 20px; }
.rs-extras { display: grid; gap: 4px; }
.rs-extras li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.rs-extras li:first-child { border-top: 0; padding-top: 0; }
.rs-extras .rs-ico { flex: none; width: 22px; height: 22px; margin-top: 3px; }
.rs-extras h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.rs-extras p { font-size: 14.5px; color: var(--muted); }
@media (min-width: 960px) { .rs-scope-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ---------- Precios ---------- */
.rs-maint { display: grid; gap: 18px; align-items: center; margin-top: 28px; padding: 30px 32px; border-radius: var(--radius-lg); background: var(--cacao); color: var(--ivory); }
.rs-maint .mono { color: var(--beige); }
.rs-maint-price { font-family: var(--f-serif); font-size: 3rem; line-height: 1; margin-top: 6px; }
.rs-maint-unit { font-family: var(--f-sans); font-size: 14px; margin-left: 6px; color: var(--beige); }
.rs-maint > p { color: #EBD8CA; font-size: 15.5px; }
.rs-maint .text-link { color: var(--ivory); }
.rs-maint .text-link:hover { color: var(--camel); }
@media (min-width: 860px) { .rs-maint { grid-template-columns: 220px 1fr; gap: 48px; padding: 32px 44px; } }

/* ---------- Preguntas: H3 dentro del resumen ---------- */
.rs-faq { background: var(--cream); }
.faq-list summary h3 { display: inline; font: inherit; color: inherit; margin: 0; }

/* ---------- Llamada final ---------- */
.rs-cta { text-align: center; }
.rs-cta-inner { display: flex; flex-direction: column; align-items: center; }
.rs-cta .display-2 { max-width: 15ch; }
.rs-cta .lead { margin-top: 28px; margin-left: auto; margin-right: auto; }
.rs-cta .hero-actions { justify-content: center; }
.rs-cta-mail { margin-top: 28px; font-size: 14.5px; color: var(--muted-dark); }
.rs-cta-mail .text-link { color: var(--ivory); }
.rs-cta-mail .text-link:hover { color: var(--camel); }

@media (prefers-reduced-motion: reduce) {
  .rs-menu-frame img, .rs-bruma-shot img, .rs-book-grid li, .rs-needs-list li { transition: none; }
  .rs-menu-visual:hover .rs-menu-frame img, .rs-bruma-shot:hover img, .rs-book-grid li:hover { transform: none; }
}

/* El pie sigue a la llamada final oscura: una línea los separa */
.page-restaurantes .site-footer { border-top: 1px solid var(--line-dark); }

/* ---------- Lo esencial: qué debe tener una buena web para un restaurante ---------- */
.rs-essentials-inner { display: grid; gap: clamp(36px, 5vw, 72px); }
.rs-essentials-list { margin: 0; border-top: 1px solid var(--line); }
.rs-essentials-list > div { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rs-essentials-list dt { font-family: var(--f-serif); font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.15; color: var(--cacao); }
.rs-essentials-list dd { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 52ch; }
@media (min-width: 860px) { .rs-essentials-list > div { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: baseline; } }
@media (min-width: 1040px) { .rs-essentials-inner { grid-template-columns: .8fr 1.2fr; align-items: start; } }

/* ---------- Bares y cafeterías ---------- */
.rs-bars-grid { display: grid; gap: 20px; }
.rs-bars-grid li { position: relative; padding: 36px 32px 38px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .5s var(--ease), border-color .5s var(--ease); }
.rs-bars-grid li:hover { transform: translateY(-3px); border-color: rgba(167,111,72,.4); }
.rs-bars-grid h3 { font-family: var(--f-serif); font-weight: 400; font-size: 1.55rem; line-height: 1.15; margin: 0 40px 12px 0; }
.rs-bars-grid p { color: var(--muted); font-size: 15.5px; }
@media (min-width: 860px) { .rs-bars-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (prefers-reduced-motion: reduce) { .rs-bars-grid li { transition: none; } }

/* Enlace discreto a otras páginas de sector */
.rs-cross { margin-top: 10px; }
