/* GEMA, página temporal. Zola Design 2026. */
:root {
  --plum: #840e5c; --plum-deep: #5c0940; --plum-soft: #f7ecf2;
  --steel: #a9b8c6; --steel-soft: #eef2f6;
  --ink: #18151d; --muted: #5e5866; --line: #e8e4ec; --bg: #fcfbfd; --ok: #1d9a68;
  --r-card: 22px; --pad: clamp(20px, 5vw, 64px);
  --display: "Sora", system-ui, sans-serif; --body: "Figtree", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 8px; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }

.page { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }

/* Columna principal */
.main { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 48px) var(--pad); gap: clamp(40px, 6vh, 72px); }
.logo { width: 168px; }
.intro { margin: auto 0; max-width: 560px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: var(--plum-soft); color: var(--plum); font-weight: 600; font-size: 14px; }
.tag i { font-size: 17px; }
.mark { width: 40px; margin: 28px 0 18px; }
h1 { font-size: clamp(36px, 4.6vw, 60px); max-width: 14ch; }
h1 em { font-style: normal; color: var(--plum); }
.lead { color: var(--muted); font-size: 19px; max-width: 46ch; margin-top: 18px; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 99px; font-weight: 600; font-size: 16px; transition: transform .2s, background .2s, box-shadow .2s; }
.btn i { font-size: 20px; }
.btn--plum { background: var(--plum); color: #fff; box-shadow: 0 10px 28px -12px rgba(132, 14, 92, .7); }
.btn--plum:hover { background: var(--plum-deep); transform: translateY(-2px); }
.btn--line { border: 1.5px solid var(--line); background: #fff; }
.btn--line:hover { border-color: var(--plum); color: var(--plum); }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; max-width: 46ch; }
.note i { color: var(--plum); font-size: 17px; margin-top: 2px; flex: none; }

/* Contacto */
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ci { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-size: 15px; line-height: 1.5; transition: border-color .2s; }
a.ci:hover { border-color: var(--plum); }
.ci > i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--steel-soft); color: var(--plum); font-size: 20px; }
.ci b { display: block; font-family: var(--display); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.ci span { color: var(--muted); }
.ci--wide { grid-column: 1 / -1; }
.phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 20px; }
.phones a { color: var(--muted); white-space: nowrap; }
.phones a:hover { color: var(--plum); }
.phones small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #6b7a89; font-weight: 600; }
.social { display: flex; gap: 8px; margin-top: 6px; }
.social a { width: 36px; height: 36px; border-radius: 99px; display: grid; place-items: center; background: var(--steel-soft); color: var(--plum); font-size: 18px; }
.social a:hover { background: var(--plum); color: #fff; }
.foot { font-size: 13px; color: var(--muted); }

/* Columna de foto + horario */
.side { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: flex-end; padding: var(--pad); background: var(--plum-deep); }
.side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(92, 9, 64, .05) 30%, rgba(92, 9, 64, .78) 100%); }
.hours { position: relative; z-index: 1; width: min(100%, 400px); margin-left: auto; background: #fff; border-radius: var(--r-card); padding: 26px; box-shadow: 0 30px 60px -30px rgba(24, 21, 29, .5); }
.hours h2 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.hours h2 i { color: var(--plum); }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px; border-radius: 99px; background: var(--steel-soft); font-size: 14px; font-weight: 600; color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--steel); }
.status.is-open { background: #e7f5ee; color: #137049; }
.status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(29, 154, 104, .18); }
.hours dl { margin-top: 18px; display: grid; gap: 2px; }
.hours dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 12px; font-size: 15px; }
.hours dt { font-weight: 600; }
.hours dd { text-align: right; color: var(--muted); }
.hours dl div.is-today { background: var(--plum-soft); }
.hours dl div.is-today dt, .hours dl div.is-today dd { color: var(--plum); }
.hours .addr { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.hours .addr i { color: var(--plum); font-size: 18px; flex: none; }
.hours .addr a { color: var(--plum); font-weight: 600; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 10; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 30px; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }

.rise { animation: rise .8s cubic-bezier(.16, 1, .3, 1) both; }
.rise:nth-child(2) { animation-delay: .08s; } .rise:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } .btn, .wa-float { transition: none; } }

.ci span { overflow-wrap: anywhere; }

/* En una columna el horario sube justo después del mensaje, antes del contacto. */
@media (max-width: 960px) {
  .page { display: flex; flex-direction: column; gap: 40px; padding-bottom: 32px; }
  .main { display: contents; }
  .main > * { padding: 0 var(--pad); }
  .logo { box-sizing: content-box; margin-top: 28px; order: 1; }
  .intro { order: 2; margin: 0; }
  .side { order: 3; position: relative; height: auto; min-height: 520px; }
  .main > section:not(.intro) { order: 4; }
  .foot { order: 5; }
  .hours { margin: 0 auto; }
}
@media (max-width: 560px) {
  .logo { width: 140px; }
  .contact { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .side { min-height: 0; padding-top: 220px; }
  .hours { padding: 22px; }
}

/* Página de resultados */
.rpage { max-width: 1080px; margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--pad) 64px; }
.rtop { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--plum); }
.back:hover { text-decoration: underline; }
.rhead { margin: clamp(36px, 6vh, 56px) 0 28px; }
.rhead h1 { max-width: none; }
.rhead .mark { margin: 0 0 18px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; counter-reset: step; }
.steps li { list-style: none; counter-increment: step; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font-size: 15px; color: var(--muted); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 99px; background: var(--plum-soft); color: var(--plum); font-family: var(--display); font-weight: 600; margin-bottom: 10px; }
.steps b { display: block; color: var(--ink); font-family: var(--display); font-weight: 600; }
.portal { border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(24, 21, 29, .35); }
.portal iframe { display: block; width: 100%; height: 640px; border: 0; }
.rhelp { margin-top: 20px; text-align: center; color: var(--muted); font-size: 15px; }
.rhelp a { color: var(--plum); font-weight: 600; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .portal iframe { height: 640px; } }
