/* Miru Portrait — direction "The name as a monument" (taste-skill seed 100318491).
   Hanken Grotesk 400/500, greys and mint. Mint only on the primary action and the contact field. */

:root {
  --bg: #ffffff;
  --surface: #f3f3f3;
  --ink: #232323;
  --muted: #6e6e6e;
  --accent: #a1ffcb;
  --accent-strong: #7df5b4;
  --accent-ink: #232323;
  --field-2: #232323;
  --field-2-ink: #ffffff;
  --field-2-muted: #b9b9b9;

  --font: "Hanken Grotesk", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(4rem, 10.2vw, 12rem);

  --margin: clamp(1.25rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7.5rem, 12vw, 13rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--field-2); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.45; letter-spacing: -0.005em; font-kerning: normal; -webkit-font-smoothing: antialiased; }
main { position: relative; z-index: 1; background: var(--bg); }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd, dt { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; background: var(--surface); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
:target { scroll-margin-top: 2rem; }
p { max-width: 62ch; text-wrap: pretty; }

.wrap { padding-inline: var(--margin); }
.section { padding-block: calc(var(--section) / 2); }
.head { font-size: var(--step-head); line-height: 1; letter-spacing: -0.04em; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 10; background: var(--accent); padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.5rem; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 500; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .link:hover { text-decoration-color: currentColor; }
  .link-plain:hover { color: var(--muted); }
}

/* ---------- hero: the name with a photograph for a word space ---------- */
.hero { min-height: calc(100svh - 3.5rem); display: grid; grid-template-rows: 1fr auto; padding-block: 0 1.5rem; }
.hero-nav { position: sticky; top: 0; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 3.5rem; background: var(--bg); font-size: var(--step-small); }
.hero-mark { font-weight: 500; font-size: var(--step-body); text-decoration: none; justify-self: start; }
.hero-links { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; }
.hero-links a, .hero-links-mobile { display: inline-flex; align-items: center; min-height: 44px; }
.hero-links-mobile { display: none; justify-self: end; font-size: var(--step-body); }
.hero-name { align-self: center; display: flex; align-items: baseline; justify-content: center; gap: 0.16em; font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.05em; white-space: nowrap; }
.hero-frame { position: relative; display: block; width: 1.85em; height: 0.72em; flex: none; overflow: hidden; background: var(--surface); }
.hero-frame .cara { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--o, 50% 50%); opacity: 0; }
.hero-frame .cara:first-child { opacity: 1; }
.hero-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.hero-sub { grid-column: 6 / 11; max-width: 40ch; font-size: max(1.125rem, var(--step-body)); line-height: 1.35; }
.hero-cta { grid-column: 11 / 13; justify-self: end; }

/* ---------- the live thing: how do you feel ---------- */
.sentir { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.sentir-text { grid-column: 1 / 6; position: sticky; top: 2rem; }
.sentir-intro { margin-top: 1.25rem; font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; }
.sentir-words { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.word { font-size: var(--step-lead); line-height: 1.2; min-height: 44px; padding-block: 0.2rem; color: var(--muted); text-align: left; transition: color var(--t-hover) ease, transform var(--t-ui) var(--ease-out); }
.word[aria-pressed="true"] { color: var(--ink); transform: translateX(0.6rem); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.07em; }
.word:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .word:hover { color: var(--ink); } }
.sentir-figure { grid-column: 7 / 13; }
.sentir-frame { overflow: hidden; background: var(--surface); max-height: 82svh; margin-inline: auto; transition: aspect-ratio 400ms var(--ease-out); }
.sentir-frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity 320ms ease; }
.sentir-frame img.is-swapping { opacity: 0; }
.sentir-cap { margin-top: 0.9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: var(--step-small); color: var(--muted); }
.sentir-cap a { color: var(--ink); }

/* ---------- series: loose scatter with pauses ---------- */
.series { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.series > .head { grid-column: 1 / -1; }
.pieza-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.pieza { margin-top: 24vh; }
.series > .pieza:first-of-type { margin-top: 4rem; }
.pieza-a { grid-column: 1 / 7; }
.pieza-b { grid-column: 9 / 13; margin-top: -5rem; }
.pieza-c { grid-column: 3 / 10; }
.pieza-row { margin-top: 18vh; }
.pieza-row .pieza-b { margin-top: 0; }
.pieza-row + .pieza { margin-top: 22vh; }
.pieza-a.is-tall { grid-column: 1 / 5; }
.pieza-c.is-tall { grid-column: 5 / 9; }
.pieza-name { color: var(--muted); font-weight: 400; margin-bottom: 0.6rem; }
.pieza-frame { display: block; overflow: hidden; background: var(--surface); }
.pieza-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-soft); }
.r-3x2 { aspect-ratio: 3 / 2; }
.r-4x5 { aspect-ratio: 4 / 5; }
.r-16x9 { aspect-ratio: 16 / 9; }
.pieza-desc { margin-top: 0.8rem; }
.pieza-remark { grid-column: 2 / 6; font-size: var(--step-lead); line-height: 1.3; max-width: 22ch; }
@media (hover: hover) and (pointer: fine) { .pieza:hover .pieza-frame img { transform: scale(1.03); } }

/* ---------- what she does: index with preview ---------- */
.servicios-grid { margin-top: 3rem; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.servicios-list { grid-column: 1 / 8; }
.servicio { padding-block: 1.5rem; }
.servicio + .servicio { margin-top: 3.5rem; }
.servicio-h { font-size: var(--step-head); line-height: 1; letter-spacing: -0.04em; color: var(--muted); transition: color var(--t-ui) ease; }
.servicio.is-active .servicio-h { color: var(--ink); }
.servicio p { margin-top: 1rem; max-width: 46ch; }
.servicio a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0.35rem; }
.servicio-img { display: none; }
.servicios-preview { grid-column: 9 / 13; position: sticky; top: 5rem; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.servicios-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 500ms ease; }
.servicios-preview img.is-on { opacity: 1; }

/* ---------- index: line-up at one type size ---------- */
.indice { background: var(--surface); }
.tabla { width: 100%; margin-top: 3rem; border-collapse: collapse; font-size: var(--step-lead); line-height: 1.5; font-variant-numeric: tabular-nums; }
.tabla td { padding: 0; vertical-align: baseline; }
.tabla td:nth-child(1) { width: 33%; }
.tabla td:nth-child(2) { width: 33%; }
.tabla td:nth-child(4) { text-align: right; }
.tabla td:nth-child(2), .tabla td:nth-child(3) { color: var(--muted); }
.tabla .link { text-decoration-color: currentColor; text-decoration-thickness: 0.05em; }
.tabla-parte th { text-align: left; font-weight: 500; padding: 3rem 0 0.8rem; }
.tabla tbody tr:first-child th { padding-top: 0.5rem; }

/* ---------- la noche: small frames, wide space ---------- */
.noche { min-height: 100svh; display: grid; align-items: center; overflow: clip; background: var(--field-2); color: var(--field-2-ink); }
.noche .muted { color: var(--field-2-muted); }
.noche :focus-visible { outline-color: var(--field-2-ink); }
.noche-inner { position: relative; }
.noche-row { display: flex; gap: 2.5vw; overflow-x: auto; padding: 2rem var(--margin); scrollbar-width: none; scroll-padding-inline: var(--margin); scroll-snap-type: x proximity; }
.noche-row::-webkit-scrollbar { display: none; }
.noche-foto { flex: none; display: block; cursor: zoom-in; scroll-snap-align: start; }
.noche-foto img { width: 17vw; min-width: 9rem; height: 38svh; min-height: 15rem; object-fit: cover; background: #333; transition: opacity var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .noche-row:hover .noche-foto img { opacity: 0.6; } .noche-row .noche-foto:hover img { opacity: 1; } }
.noche-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.noche-title { font-size: var(--step-lead); letter-spacing: -0.02em; }
.noche-nav { display: flex; gap: 0.5rem; }
.noche-btn { width: 44px; height: 44px; display: grid; place-items: center; background: #3a3a3a; color: var(--field-2-ink); font-size: var(--step-body); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.noche-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .noche-btn:hover { background: #4d4d4d; } }

/* ---------- the viewer ---------- */
html.visor-abierto { overflow: hidden; }
.visor { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #141414; color: #fff; }
.visor::backdrop { background: #141414; }
.visor[open] { display: grid; place-items: center; }
.visor-fig { display: grid; justify-items: center; gap: 0.9rem; padding: 4.5rem 5.5rem 1.5rem; }
.visor-fig img { max-width: calc(100vw - 11rem); max-height: calc(100svh - 9rem); width: auto; height: auto; object-fit: contain; background: transparent; transition: opacity 140ms ease; }
.visor-fig img.is-swapping { opacity: 0; }
.visor-cap { font-size: var(--step-small); color: #b9b9b9; display: flex; gap: 1rem; }
.visor-n { font-variant-numeric: tabular-nums; }
.visor-btn { position: absolute; min-width: 48px; height: 48px; padding: 0 0.9rem; display: grid; place-items: center; background: #2b2b2b; color: #fff; font-size: var(--step-body); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.visor-btn:active { transform: scale(0.94); }
.visor-btn:focus-visible { outline-color: #fff; }
@media (hover: hover) and (pointer: fine) { .visor-btn:hover { background: #444; } }
.visor-prev { left: var(--margin); top: 50%; translate: 0 -50%; }
.visor-next { right: var(--margin); top: 50%; translate: 0 -50%; }
.visor-close { right: var(--margin); top: 1rem; }

/* ---------- about: portrait as drop cap ---------- */
.sobre { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding-block: clamp(6rem, 10vw, 9rem); }
.sobre-facts { grid-column: 1 / 3; display: grid; gap: 1.25rem; align-content: start; padding-top: 0.5rem; }
.sobre-facts dt { color: var(--muted); }
.sobre-text { grid-column: 3 / 13; }
.sobre-p { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.02em; max-width: none; color: var(--muted); }
.sobre-text .head { margin-bottom: 2.5rem; }
.sobre-p + .sobre-p { margin-top: 1.2em; }
.sobre-foto { float: left; width: 3.6em; height: 3.6em; object-fit: cover; object-position: 50% 25%; margin: 0.15em 0.5em 0 0; }

/* ---------- a session: itinerary on a slip ---------- */
.sesion { background: var(--field-2); color: var(--field-2-ink); }
.sesion-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.sesion-text { grid-column: 1 / 6; }
.sesion-h { font-size: var(--step-head); line-height: 1; letter-spacing: -0.045em; }
.sesion-text p { margin-top: 1.5rem; max-width: 30ch; font-size: var(--step-lead); line-height: 1.3; color: var(--field-2-muted); }
.slip { grid-column: 7 / 12; background: var(--bg); color: var(--ink); padding: 2rem 1.75rem 2.25rem; font-size: var(--step-body); font-variant-numeric: tabular-nums; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 95% 100%, 90% calc(100% - 14px), 85% 100%, 80% calc(100% - 14px), 75% 100%, 70% calc(100% - 14px), 65% 100%, 60% calc(100% - 14px), 55% 100%, 50% calc(100% - 14px), 45% 100%, 40% calc(100% - 14px), 35% 100%, 30% calc(100% - 14px), 25% 100%, 20% calc(100% - 14px), 15% 100%, 10% calc(100% - 14px), 5% 100%, 0 calc(100% - 14px)); }
.slip-h { font-size: var(--step-body); font-weight: 500; margin-top: 1.75rem; margin-bottom: 0.4rem; }
.slip-h:first-child { margin-top: 0; }
.slip-row { display: flex; align-items: baseline; gap: 0.5rem; max-width: none; padding-block: 0.25rem; }
.slip-row i { flex: 1; min-width: 1.5rem; border-bottom: 4px dotted #c8c8c8; transform: translateY(-0.2em); }
.slip-row span:last-child { color: var(--muted); text-align: right; }
.slip-total { margin: 1.75rem -1.75rem 0; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 1.75rem; background: var(--ink); color: var(--bg); max-width: none; }

/* ---------- faq ---------- */
.faq { overflow-x: clip; }
.faq-h { font-size: var(--step-head); line-height: 0.95; letter-spacing: -0.05em; }
.faq-list { margin-top: 5rem; margin-left: calc((100% - 11 * var(--gutter)) / 12 * 4 + 4 * var(--gutter)); display: grid; gap: 1.25rem; }
.faq details { padding: 0.6rem 1.5rem; margin-inline: -1.5rem; transition: background-color var(--t-ui) ease; }
.faq details[open] { background: var(--surface); padding-block: 1.25rem 1.5rem; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 44px; font-size: var(--step-lead); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 0.6rem; height: 0.6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-25%) rotate(45deg); transition: transform var(--t-ui) var(--ease-out); }
.faq details[open] summary::after { transform: translateY(15%) rotate(-135deg); }
.faq details p { margin-top: 0.9rem; max-width: 48ch; }

/* ---------- contact: the email as display type, on mint ---------- */
.contacto { min-height: 100svh; background: var(--accent); color: var(--accent-ink); display: grid; grid-template-rows: auto 1fr auto; padding-block: 2rem; }
.contacto-h { font-size: var(--step-lead); font-weight: 400; max-width: 24ch; }
.contacto-mail { align-self: end; margin-bottom: 8vh; font-size: clamp(2.6rem, 8.2vw, 9rem); line-height: 0.95; letter-spacing: -0.05em; text-decoration: none; word-break: break-word; transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .contacto-mail:hover { color: #000; text-decoration: underline; text-decoration-thickness: 0.04em; text-underline-offset: 0.08em; } }
.contacto-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.25rem 2rem; }
.contacto-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; max-width: none; }
.button-ink { background: var(--ink); color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .button-ink:hover { background: #000; } }
.contacto-social { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; max-width: none; }
.contacto-social a { display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- footer: columns above, wordmark below (curtain) ---------- */
.pie { position: sticky; bottom: 0; z-index: 0; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto auto; background: var(--field-2); color: var(--field-2-ink); padding-block: 2.5rem 1.25rem; }
.pie-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem var(--gutter); color: var(--field-2-muted); }
.pie-cols p { max-width: none; }
.pie-cols a { display: inline-flex; min-height: 32px; align-items: center; overflow-wrap: anywhere; }
.pie-cols > * { min-width: 0; }
.pie-first { color: var(--field-2-ink); margin-bottom: 0.4rem; }
.pie :focus-visible, .sesion :focus-visible { outline-color: var(--field-2-ink); }
.pie-mark { grid-row: 3; width: 100%; height: auto; overflow: visible; }
.pie-mark text { font-family: var(--font); font-weight: 500; font-size: 150px; fill: var(--field-2-ink); letter-spacing: -6px; }
.pie-legal { grid-row: 4; margin-top: 1.25rem; font-size: var(--step-small); color: var(--field-2-muted); max-width: none; }

/* ---------- motion ---------- */
.shutter { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 300ms); }
  .js .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter img { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in img { transform: none; }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  /* one moving picture: the chosen feeling breathes slowly */
  .sentir-frame img { animation: drift 18s var(--ease-soft) infinite alternate; }
  /* the hidden face in the name changes every few seconds */
  .hero-frame .cara { animation: caras 20s linear infinite; }
  .hero-frame .cara:nth-child(1) { opacity: 0; animation-delay: 0s; }
  .hero-frame .cara:nth-child(2) { animation-delay: 4s; }
  .hero-frame .cara:nth-child(3) { animation-delay: 8s; }
  .hero-frame .cara:nth-child(4) { animation-delay: 12s; }
  .hero-frame .cara:nth-child(5) { animation-delay: 16s; }
}
@keyframes caras { 0% { opacity: 0; } 3% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 100% { opacity: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.06); } }

/* ---------- tablet ---------- */
@media (max-width: 64rem) {
  .sentir-text { grid-column: 1 / 7; }
  .sentir-figure { grid-column: 7 / 13; }
  .hero-sub { grid-column: 1 / 9; }
  .hero-cta { grid-column: 9 / 13; }
  .sobre-facts { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); order: 2; margin-top: 3rem; }
  .sobre-text { grid-column: 1 / -1; }
  .sesion-text { grid-column: 1 / -1; }
  .slip { grid-column: 1 / 9; margin-top: 2.5rem; }
  .faq-list { margin-left: calc((100% - 11 * var(--gutter)) / 12 * 2 + 2 * var(--gutter)); }
}

/* ---------- phone ---------- */
@media (max-width: 47.99rem) {
  .hero-links { display: none; }
  .hero-links-mobile { display: inline-flex; }
  .hero-name { flex-direction: column; align-items: center; gap: 0.08em; font-size: 19vw; white-space: normal; }
  .hero-frame { width: 100%; height: auto; aspect-ratio: 3 / 2; font-size: 1rem; margin-block: 0.75rem; }
  .hero-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .hero-cta { align-self: stretch; }

  .sentir { display: block; }
  .sentir-text { position: static; }
  .sentir-words { flex-direction: row; flex-wrap: wrap; gap: 0 1.1rem; margin-top: 1.5rem; }
  .word[aria-pressed="true"] { transform: none; }
  .sentir-figure { margin-top: 2rem; }

  .series { display: block; }
  .pieza, .pieza-row + .pieza { margin-top: 4.5rem; }
  .pieza-row { display: block; margin-top: 0; }
  .pieza-a { width: 100%; }
  .pieza-b, .pieza-row .pieza-b { width: 68%; margin-left: auto; margin-top: 4.5rem; }
  .pieza-c { width: 82%; }
  .pieza-remark { margin-top: 4.5rem; max-width: none; }

  .tabla, .tabla tbody, .tabla tr, .tabla td, .tabla th { display: block; width: auto !important; }
  .tabla tr:not(.tabla-parte) { display: grid; grid-template-columns: 1fr auto auto; column-gap: 0.75rem; padding-block: 0.55rem; }
  .tabla td:nth-child(1) { grid-column: 1 / -1; font-size: var(--step-lead); }
  .tabla td:nth-child(2), .tabla td:nth-child(3), .tabla td:nth-child(4) { font-size: var(--step-small); color: var(--muted); }
  .tabla td:nth-child(4) { text-align: right; }

  .noche { min-height: 0; padding-block: 4rem 2rem; }
  .noche-row { scroll-snap-type: x mandatory; gap: 0.75rem; }
  .noche-nav { display: none; }
  .noche-foto img { width: 62vw; height: auto; aspect-ratio: 2 / 3; min-height: 0; min-width: 0; }

  .servicios-grid { display: block; margin-top: 1.5rem; }
  .servicios-preview { display: none; }
  .servicio { padding-block: 1.5rem 2rem; }
  .servicio + .servicio { margin-top: 2.5rem; }
  .servicio-h { color: var(--ink); }
  .servicio-img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-top: 1.25rem; }

  .visor-fig { padding: 4rem 0 6rem; }
  .visor-fig img { max-width: 100vw; max-height: calc(100svh - 11rem); }
  .visor-cap { padding-inline: var(--margin); }
  .visor-prev, .visor-next { top: auto; bottom: 1.25rem; translate: none; }
  .visor-prev { left: var(--margin); }
  .visor-next { right: var(--margin); }

  .sobre { display: flex; flex-direction: column; }
  .sobre-p { line-height: 1.25; }
  .sobre-foto { width: 6.9rem; height: 6.9rem; }
  .sobre-facts { margin-top: 2.5rem; gap: 1rem; }

  .sesion-grid { display: block; }
  .slip { margin-top: 2.5rem; padding-inline: 1.25rem; }
  .slip-total { margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .slip-row { flex-direction: column; align-items: flex-start; gap: 0; padding-block: 0.4rem; }
  .slip-row i { display: none; }
  .slip-row span:last-child { text-align: left; font-size: var(--step-small); }
  .slip-total { flex-direction: column; align-items: flex-start; gap: 0; }

  .faq-list { margin-left: 0; margin-top: 2.5rem; gap: 0.75rem; }
  .faq details { margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); }

  .contacto { min-height: 86svh; }
  .contacto-mail { font-size: 8.2vw; margin-bottom: 10vh; }
  .contacto-foot { flex-direction: column; gap: 0.75rem; }

  .pie-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .pie-cols a { word-break: break-all; }
}
