:root {
  --cream: #F3EEE6;
  --cream-2: #efe8dc;
  --paper: #faf7f1;
  --ink: #2B2623;
  --ink-soft: #5a4d42;
  --muted: #8a7b6e;
  --brown: #6B5348;
  --brown-deep: #4f3d35;
  --sage: #6d7358;
  --sage-deep: #4f5540;
  --line: rgba(43, 38, 35, 0.12);
  --shadow: 0 18px 40px rgba(43, 38, 35, 0.08);
  --radius: 22px;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Figtree", system-ui, sans-serif;
  --folio-cream: url("img/cloth/cloth-linen.webp");
  --folio-kraft: url("img/cloth/cloth-brown-v.webp");
  --folio-ivory: url("img/cloth/cloth-white.webp");
  --folio-crease: url("img/cloth/cloth-white.webp");
  --folio-parchment: url("img/cloth/cloth-white.webp");
  --folio-sand: url("img/cloth/cloth-white.webp");
  --folio-tile: 22rem;
  --folio-tile-btn: 140px;
  --folio-card-clara-bg: #efe6d8;
  --folio-card-kraft-bg: #e5d9c8;
  --page-gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: auto;
  background-color: #e8dfd2;
  overflow-x: clip;
  scroll-padding-top: calc(var(--head-h, 4.6rem) + 12px);
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
  --head-h: 4.6rem;
  --p: 0;
}
html::-webkit-scrollbar { display: none; width: 0; height: 0; }
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  background-color: #e8dfd2;
}
.site-head::before {
  content: "";
  position: absolute;
  inset: 0 0 -1px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.72;
  background-color: #e8dfd2;
  background-image: url("img/cloth/cloth-linen.webp");
  background-size: 22rem;
  background-repeat: repeat;
  background-position: 0 0;
}
.site-head > * { position: relative; z-index: 1; }
section[id], #hero, #contenido { scroll-margin-top: 6.5rem; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: #e8dfd2;
  background-image: url("img/cloth/cloth-page.webp");
  background-size: 22rem;
  background-repeat: repeat;
  background-position: 0 0;
  background-attachment: scroll;
  line-height: 1.55;
  font-size: 17px;
  overflow-x: clip;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
  min-height: 100%;
  -webkit-tap-highlight-color: transparent;
}
body::-webkit-scrollbar { display: none; width: 0; height: 0; }
@media (min-width: 768px) {
  body { background-size: 28rem; }
}
@media (min-width: 1024px) {
  body { background-size: 32rem; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { font-family: inherit; cursor: pointer; }

.linen {
  background-color: transparent;
}

.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 20; }

.topbar {
  background-color: #5c2e22;
  background-image:
    linear-gradient(180deg, rgba(44, 28, 20, 0.35), rgba(44, 28, 20, 0.28)),
    url("img/cloth/cloth-brown-v.webp");
  background-size: auto, 22rem;
  background-position: center, 0 0;
  background-repeat: no-repeat, repeat;
  color: #F9F6F1;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .topbar {
    background-image:
      linear-gradient(180deg, rgba(44, 28, 20, 0.35), rgba(44, 28, 20, 0.28)),
      url("img/cloth/cloth-brown-h.webp");
    background-size: auto, 28rem;
  }
}

.header {
  position: relative;
  z-index: 1;
  background-color: transparent;
  background-image: none;
  border-bottom: 1px solid rgba(92, 46, 34, 0.14);
}
.header-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 14px var(--page-gutter);
  position: relative;
  min-width: 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.mark {
  width: 38px; height: 38px; border-radius: 50%;
  background-color: #6B5348;
  background-image: url("img/cloth/cloth-brown.webp");
  background-size: 140px;
  background-repeat: repeat;
  background-position: center;
  color: #F9F6F1;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 18px;
}
.nav {
  display: none;
  gap: 16px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-soft);
  min-width: 0;
}
.nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 0;
  outline: none;
  box-shadow: none;
  padding: 12px 20px; font-size: 15px; font-weight: 600;
  min-height: 48px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: none;
  transition: .2s ease;
}
.btn-solid {
  background-color: #6B5348;
  background-image: none;
  color: #F9F6F1;
}
.btn-solid:hover { filter: brightness(0.92); }
.btn-ghost {
  background-color: #f8f4ee;
  background-image: url("img/cloth/cloth-white.webp");
  background-size: 140px;
  background-repeat: repeat;
  background-position: center;
  color: #5c2e22;
}
.btn-ghost:hover { filter: brightness(0.97); }
.btn-wide { width: 100%; }
.header .btn-solid { display: none; white-space: nowrap; }
.menu-btn {
  display: block; margin-left: auto;
  width: 40px; height: 40px; border-radius: 12px;
  background-color: #f3eee6;
  background-image: var(--folio-ivory);
  background-size: cover;
  border: 0; font-size: 22px;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--page-gutter); }
.hero { padding: 48px var(--page-gutter) 28px; max-width: 1180px; margin: 0 auto; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.photo-card {
  border-radius: 1.15rem;
  overflow: hidden;
  min-height: 340px;
  position: relative;
}
.tpl-slot {
  background:
    linear-gradient(165deg, rgba(43, 38, 35, 0.08) 0%, rgba(43, 38, 35, 0.18) 100%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(43, 38, 35, 0.05) 11px,
      rgba(43, 38, 35, 0.05) 12px
    ),
    #E8DFD4;
  border: 1px solid #D9CFC4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.15rem 1.2rem 1.2rem;
  position: relative;
  overflow: hidden;
}
.tpl-photo__badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F9F6F1;
  background: #6B5348;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  margin-bottom: 0.55rem;
}
.tpl-photo__label {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 14ch;
  color: #2B2623;
}
.tpl-slot--map {
  min-height: 140px;
  width: min(100%, 280px);
  border-radius: 1.15rem;
}
.kicker {
  display: inline-flex; gap: 8px; align-items: center;
  background-color: #f7f5f2;
  background-image: var(--folio-ivory);
  background-size: var(--folio-tile-btn);
  background-position: center top;
  background-repeat: repeat;
  background-origin: border-box;
  background-clip: border-box;
  border-radius: 999px;
  overflow: hidden;
  padding: 6px 12px; font-size: 13px; color: var(--ink-soft);
  margin-bottom: 16px;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h1 em { font-style: italic; color: #6b5344; font-weight: 450; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 14px; margin: 18px 0; }
.lead { color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 12px; }
.hours { color: var(--muted); font-size: 13.5px; }

.consult-card {
  background-color: #f7f4ee;
  background-image: url("img/cloth/cloth-white.webp");
  background-size: 22rem;
  background-repeat: repeat;
  background-position: 0 0;
  border: 0;
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}
.consult-card .label {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brown); font-weight: 700; margin-bottom: 8px;
}
.consult-card h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; }
.consult-card .sub { color: var(--muted); font-size: 14px; margin: 8px 0 14px; }
.consult-card ul { padding-left: 18px; color: var(--ink-soft); font-size: 15px; }
.consult-card li { margin: 7px 0; }
.consult-card .btn { margin-top: 16px; }

.chips {
  display: none;
  flex-wrap: wrap; gap: 8px 10px;
  padding: 22px 0 8px; margin-top: 18px;
  overflow: hidden;
}
@media (min-width: 1280px) {
  .chips { display: flex; }
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 24px 7px 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(62, 48, 38, 0.72);
  background-color: rgba(245, 236, 220, 0.22);
  background-image: url("img/cloth/cloth-white.webp");
  background-size: 160px;
  background-repeat: repeat;
  background-position: center;
  background-blend-mode: overlay;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  opacity: 0;
  animation: chip-slide 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.chip:nth-child(1) { animation-delay: 0.08s; }
.chip:nth-child(2) { animation-delay: 0.22s; }
.chip:nth-child(3) { animation-delay: 0.36s; }
.chip:nth-child(4) { animation-delay: 0.5s; }
@keyframes chip-slide {
  from { opacity: 0; transform: translateX(-52px) rotate(-1.5deg); }
  to { opacity: 1; transform: translateX(0) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .chip { animation: none; opacity: 1; transform: none; }
}

.section { padding: 84px 0; }
.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 10px;
}
h2.display {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.1;
}
.muted { color: var(--ink-soft); }

.equipo-grid {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start;
}
.portrait {
  border-radius: 1.15rem;
  min-height: 360px;
  aspect-ratio: 4 / 5;
}
#carta {
  background-color: transparent;
}
#carta .wrap {
  background-color: transparent;
  padding-top: 0;
  padding-bottom: 0;
}
.role { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brown); font-weight: 700; }
.equipo h3 { font-family: var(--serif); font-size: 36px; font-weight: 500; margin: 6px 0 12px; }
.bullets { margin: 16px 0 20px; padding-left: 18px; color: var(--ink-soft); }
.quote {
  font-family: var(--serif); font-style: italic; font-size: 22px;
  line-height: 1.35; margin: 22px 0 8px;
}
.solo-note {
  margin-top: 28px; padding: 18px 20px; border-radius: 16px;
  background-color: var(--folio-card-clara-bg);
  background-image: var(--folio-parchment);
  background-size: var(--folio-tile);
  color: var(--ink-soft); font-size: 15px;
}

.criteria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.crit {
  --card-wash: url("img/cloth/cloth-historia.webp");
  position: relative;
  overflow: hidden;
  background-color: #7d845a;
  background-image: url("img/cloth/cloth-historia.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
  border-radius: 1.15rem;
  padding: 22px;
  color: #e8e4d4;
}
.crit.band-slide:nth-child(n) { --card-wash: url("img/cloth/cloth-historia.webp"); }
.crit.band-slide::before {
  background-image:
    linear-gradient(155deg, rgba(46, 54, 34, 0.38) 0%, rgba(46, 54, 34, 0.22) 48%, rgba(38, 46, 28, 0.44) 100%),
    url("img/cloth/cloth-historia.webp");
  background-size: cover, cover;
  background-position: center, center;
}
.crit h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 8px; color: #fbf7f0; }
.crit p,
.crit .muted { color: #e8e4d4 !important; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0; }
.tab {
  border: 0;
  background-color: #f8f4ee;
  background-image: url("img/cloth/cloth-white.webp");
  background-size: 140px;
  background-position: center;
  background-repeat: repeat;
  border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--ink-soft);
}
.tab.active {
  background-color: #f8f4ee;
  background-image: url("img/cloth/cloth-white.webp");
  background-size: 140px;
  background-repeat: repeat;
  color: #5c2e22;
  font-weight: 700;
}
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.service {
  background-color: var(--folio-card-clara-bg);
  background-image: var(--folio-parchment);
  background-size: var(--folio-tile);
  border: 0;
  border-radius: 18px; padding: 20px;
}
.service h4 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 6px; }
.service p { color: var(--ink-soft); font-size: 15px; }
.service .meta { color: var(--muted); font-size: 13px; margin: 6px 0 10px; }
.service .btn-ghost {
  background-color: #4f5540;
  background-image: url("img/cloth/cloth-historia.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fbf7f0;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

.fold {
  margin: 12px 0;
  border: 0;
  border-radius: 1rem;
  background-color: #f7f4ee;
  background-image: url("img/cloth/cloth-white.webp");
  background-size: 22rem;
  background-repeat: repeat;
  background-position: 0 0;
  overflow: hidden;
}
@media (max-width: 1279px) {
  .service .fold,
  .visit-box .fold {
    background-color: #eeeae4;
  }
}
.fold-block { margin-top: 18px; }
.fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink);
}
.fold summary::-webkit-details-marker,
.fold summary::marker { display: none; content: none; }
.fold summary::after {
  content: "";
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%238C5A4A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 42% no-repeat,
    rgba(197, 162, 111, 0.16);
  transition: transform 0.25s ease;
}
.fold[open] summary::after { transform: rotate(180deg); }
.fold p,
.fold .fold-body {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.fold .fold-body p { padding: 0 0 10px; }
.fold .bullets { margin: 0 0 10px; }
.fold .solo-note { margin-top: 4px; }

@media (min-width: 1280px) {
  .wa { display: none !important; }
  .fold,
  .service .fold,
  .visit-box .fold {
    border: 0;
    background: transparent;
    background-image: none;
    border-radius: 0;
    margin: 14px 0 16px;
  }
  .fold summary { display: none; }
  .fold p,
  .fold .fold-body { padding: 0; }
}

.hidden { display: none; }
.note-box {
  margin-top: 16px; color: var(--muted); font-size: 14.5px;
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case {
  position: relative;
  background-color: var(--folio-card-clara-bg);
  background-image: var(--folio-parchment);
  background-size: var(--folio-tile);
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 1.15rem; overflow: hidden;
  border: 0;
}
.case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #D9CFC4; }
.ba-slot {
  margin: 0;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.9rem 0.95rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(43, 38, 35, 0.08) 0%, rgba(43, 38, 35, 0.18) 100%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(43, 38, 35, 0.05) 11px,
      rgba(43, 38, 35, 0.05) 12px
    ),
    #E8DFD4;
}
.ba-slot strong {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B5348;
}
.ba-slot .tpl-slot__hint {
  margin-top: 0.3rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  color: #2B2623;
  max-width: 10ch;
}
.case figcaption { padding: 12px 14px 16px; font-size: 14px; }
.case figcaption strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review {
  position: relative;
  overflow: hidden;
  background-color: var(--folio-card-clara-bg);
  background-image: var(--folio-parchment);
  background-size: var(--folio-tile);
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
  border-radius: 1.15rem; padding: 20px;
  display: flex;
  flex-direction: column;
}
.review p { font-size: 15.5px; color: var(--ink-soft); }
.stars {
  color: var(--brown);
  letter-spacing: 0.14em;
  font-size: 13px;
  margin: 0 0 10px;
}
.who { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background-color: #6B5348;
  background-image: var(--folio-kraft);
  background-size: cover;
  color: #F9F6F1;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.who small { display: block; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.step {
  position: relative;
  overflow: hidden;
  background-color: var(--folio-card-clara-bg);
  background-image: var(--folio-parchment);
  background-size: var(--folio-tile);
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
  border-radius: 1.15rem; padding: 18px;
}
.num { font-family: var(--serif); color: var(--brown); font-size: 22px; }
.step h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 6px 0; }

.visit-box {
  margin-top: 28px;
  background-color: var(--folio-card-kraft-bg);
  background-image: var(--folio-sand);
  background-size: var(--folio-tile);
  border-radius: 22px; padding: 24px;
  display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start;
}
.wa-ask {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 18px;
  border-radius: 18px;
  background-color: #f8f4ee;
  background-image: url("img/cloth/cloth-white.webp");
  background-size: 140px;
  background-repeat: repeat;
  background-position: center;
}
.wa-ask__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-deep);
}
.wa-ask__text {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}
.wa-ask__note {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
@media (min-width: 1280px) {
  .visit-box { grid-template-columns: 1fr 1fr; align-items: center; }
}

.space-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.space-photo { border-radius: 1.15rem; min-height: 280px; }
.space-cards { display: grid; gap: 12px; }
.wrap-narrow { max-width: 820px; }

.faq-head {
  text-align: center;
  margin: 56px 0 28px;
}
.faq-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: #4f3d35;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.faq-heading-line { display: block; }
.faq-heading-line--accent { color: #8c5a4a; font-style: italic; }
.heading-slice {
  display: block;
  width: min(4rem, 18vw);
  height: 1px;
  margin: 0.5rem auto 0.625rem;
  background: linear-gradient(90deg, transparent 0%, #c5a26f 50%, transparent 100%);
}
.section-punch {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 34rem;
  margin-inline: auto;
}
.faq-item {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: #e4d8c8;
  background-image: url("img/cloth/cloth-white.webp");
  background-size: 22rem;
  background-position: 0 0;
  background-repeat: repeat;
  align-self: start;
}
.faq-item::before {
  content: none;
}
.faq-item > * { position: relative; z-index: 1; }
.faq-item[open] {
  box-shadow: none;
  box-shadow: 0 12px 32px rgba(92, 46, 34, 0.08);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  min-height: 3.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  background: none;
}
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; content: none; }
.faq-item summary:focus { outline: none; }
.faq-item summary:focus-visible { outline: 2px solid rgba(107, 83, 72, 0.35); outline-offset: -2px; }
.faq-item-index {
  flex: 0 0 auto;
  min-width: 1.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8c5a4a;
  font-variant-numeric: tabular-nums;
}
.faq-item-q {
  flex: 1 1 auto;
  min-width: 0;
}
.faq-item summary::after {
  content: "";
  width: 2.125rem;
  height: 2.125rem;
  margin-left: auto;
  flex-shrink: 0;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath stroke='%238C5A4A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 42% no-repeat,
    rgba(197, 162, 111, 0.16);
  transition: transform 0.28s ease;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
}
.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem 3.4rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4A423D;
  max-width: none;
}
@media (min-width: 768px) {
  .faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 1.125rem;
    max-width: 56rem;
    align-items: start;
  }
}

.gesture {
  display: none;
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.gesture-sm { display: none; }

.band { margin-top: 22px; }
.band-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}
.band-viewport {
  --band-card: min(88%, 22.5rem);
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: var(--band-card);
  justify-content: start;
  gap: 0.75rem;
  min-width: 0;
  overflow-x: auto;
  overflow-y: clip;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 0.35rem max(0.5rem, calc(50% - var(--band-card) / 2)) 0.85rem;
  scroll-padding-inline: max(0.5rem, calc(50% - var(--band-card) / 2));
}
.band-viewport::-webkit-scrollbar { display: none; }
.band-slide {
  --card-wash: var(--folio-parchment);
  --card-pos: center;
  isolation: isolate;
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  min-width: 0;
  height: auto;
  opacity: 0.78;
  transform: scale(0.978);
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 16px 34px -24px rgba(44, 36, 32, 0.4);
}
.band-slide:nth-child(3n + 2) { --card-wash: var(--folio-sand); }
.band-slide:nth-child(3n + 3) { --card-wash: var(--folio-ivory); }
.band-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background-image:
    linear-gradient(165deg, rgba(251,247,240,.18), rgba(251,247,240,.06)),
    var(--card-wash);
  background-size: auto, var(--folio-tile);
  background-position: center, 0 0;
  background-repeat: no-repeat, repeat;
}
.band-slide > * { position: relative; z-index: 1; }
.band-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.band-hint {
  position: absolute;
  right: 12px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(44, 36, 32, 0.78);
  color: #f3eee6;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.band-hint.is-gone { opacity: 0; transform: translateY(4px); }
.band-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.band-dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(92, 46, 34, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.band-dot[aria-current="true"] {
  width: 1.35rem;
  background: #4f3d35;
}
.band-btn {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 252, 247, 0.92);
  color: #4f3d35;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  align-self: center;
  box-shadow: 0 10px 22px -16px rgba(44, 36, 32, 0.45);
}
.band-btn:disabled { opacity: 0.35; cursor: default; }
.tpl-rail { }

/* Carrusel esqueleto: peek + snap, como plantilla.zenuva.online */
@media (max-width: 1023px) {
  .reviews.tpl-rail,
  .steps.tpl-rail,
  .criteria.tpl-rail {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: clip;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    margin-inline: -16px;
    padding: 0.15rem 16px 0.45rem;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    grid-template-columns: none;
    align-items: stretch;
  }
  .reviews.tpl-rail::-webkit-scrollbar,
  .steps.tpl-rail::-webkit-scrollbar,
  .criteria.tpl-rail::-webkit-scrollbar { display: none; }
  .reviews.tpl-rail::after,
  .steps.tpl-rail::after,
  .criteria.tpl-rail::after {
    content: "";
    flex: 0 0 0.35rem;
  }
  .reviews.tpl-rail > *,
  .steps.tpl-rail > *,
  .criteria.tpl-rail > * {
    flex: 0 0 min(82vw, 19.5rem);
    width: min(82vw, 19.5rem);
    max-width: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-width: 0;
  }
  .space-grid { grid-template-columns: 1fr; }
  .gesture { display: block; }
}

@media (max-width: 767px) {
  .gesture-sm { display: block; }
}

@media (min-width: 720px) and (max-width: 1279px) {
  .band-stage {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
  }
  .band-btn { display: grid; place-items: center; }
  .band-viewport {
    --band-card: min(72%, 26rem);
    gap: 0.95rem;
    padding-inline: max(0.75rem, calc(50% - var(--band-card) / 2));
    scroll-padding-inline: max(0.75rem, calc(50% - var(--band-card) / 2));
  }
}

@media (min-width: 1280px) {
  .band-viewport {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    gap: 14px;
    scroll-snap-type: none;
  }
  .band[data-cols="3"] .band-viewport { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .band[data-cols="4"] .band-viewport { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .band[data-cols="1"] .band-viewport { grid-template-columns: 1fr; }
  .band-slide,
  .band-slide.is-active { opacity: 1; transform: none; }
  .band-btn,
  .band-hint,
  .band-dots { display: none !important; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .reviews.tpl-rail,
  .steps.tpl-rail,
  .criteria.tpl-rail {
    margin-inline: -28px;
    padding-inline: 28px;
    scroll-padding-inline: 28px;
  }
  .reviews.tpl-rail > *,
  .steps.tpl-rail > *,
  .criteria.tpl-rail > * {
    flex: 0 0 min(58vw, 22rem);
    width: min(58vw, 22rem);
  }
}

@media (min-width: 1280px) {
  .reviews.tpl-rail,
  .steps.tpl-rail,
  .criteria.tpl-rail {
    display: grid;
    overflow: visible;
    scroll-snap-type: none;
    margin-inline: 0;
    padding: 0;
  }
  .reviews.tpl-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .steps.tpl-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .criteria.tpl-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .reviews.tpl-rail > *,
  .steps.tpl-rail > *,
  .criteria.tpl-rail > * {
    flex: none;
    width: auto;
    max-width: none;
  }
  .gesture,
  .gesture-sm { display: none !important; }
}

.cta-final {
  text-align: center; padding: 20px 0 10px;
}
.cta-final h2 { margin: 8px 0 16px; }

footer {
  border-top: 0;
  padding: 48px 0 28px; margin-top: 40px;
  background-color: #1c1614;
  background-image:
    radial-gradient(78% 54% at 50% -8%, rgba(197, 162, 111, 0.1) 0%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(168deg, rgba(22, 12, 8, 0.55) 0%, rgba(36, 22, 16, 0.48) 42%, rgba(14, 8, 6, 0.62) 100%),
    url("img/cloth/cloth-brown-v.webp");
  background-size: auto, auto, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: #F3EEE6;
}
@media (min-width: 768px) {
  footer {
    background-image:
      radial-gradient(78% 54% at 50% -8%, rgba(197, 162, 111, 0.1) 0%, rgba(0, 0, 0, 0) 62%),
      linear-gradient(168deg, rgba(22, 12, 8, 0.55) 0%, rgba(36, 22, 16, 0.48) 42%, rgba(14, 8, 6, 0.62) 100%),
      url("img/cloth/cloth-brown-h.webp");
  }
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer h3 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #cfc3b6; margin-bottom: 10px; }
footer a { display: block; color: #e8ddd2; margin: 6px 0; }
footer .muted { color: #cfc3b6; }
.legal { margin-top: 28px; color: #b7aa9d; font-size: 13px; }
footer .mark { color: #F9F6F1; }

.wa {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 40;
  width: 52px; height: 52px; border-radius: 50%;
  background-color: #61693e;
  background-image: url("img/cloth/cloth-historia.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.wa svg { width: 26px; height: 26px; fill: currentColor; }

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 24px;
  }
  .hero-grid .consult-card { grid-column: 1 / -1; }
  .equipo-grid {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 28px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .foot-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .space-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
}

@media (min-width: 1280px) {
  .nav { display: flex; flex-wrap: wrap; }
  .menu-btn { display: none; }
  .header .btn-solid { display: inline-flex; }
  .hero-grid {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(250px, 300px);
    gap: 36px;
  }
  .hero-grid .consult-card { grid-column: auto; }
  .equipo-grid {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 40px;
  }
  .foot-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); }
  .space-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
}

/* ── Tablet 768–1023: dos columnas, menú compacto ── */
@media (max-width: 1279px) {
  .nav { display: none; }
  .header .btn-solid { display: none; }
  .menu-btn { display: block; }
  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background-color: #F3EEE6;
    background-image: var(--folio-cream);
    background-size: var(--folio-tile);
    padding: 12px 22px 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open a {
    padding: 12px 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root { --page-gutter: 28px; }
  .hero { padding-top: 36px; }
  .section { padding: 64px 0; }
  .hero-grid {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 24px;
  }
  .hero-grid .consult-card { grid-column: 1 / -1; }
  .photo-card { min-height: 280px; }
  .equipo-grid {
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 28px;
  }
  .portrait { min-height: 280px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .criteria, .gallery { grid-template-columns: 1fr; }
  .space-grid { grid-template-columns: 1fr; }
  .visit-box { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1.3fr 1fr; }
  .foot-grid > :last-child { grid-column: 2; }
}

/* ── Móvil ≤767: una columna, toques grandes, menos aire ── */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .topbar { font-size: 10px; letter-spacing: 0.1em; padding: 8px 12px; }
  :root { --page-gutter: 16px; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .hero { padding-top: 24px; padding-bottom: 16px; }
  .section { padding: 56px 0; }
  h1 { font-size: clamp(30px, 9vw, 40px); }
  h2.display { font-size: clamp(24px, 7vw, 32px); line-height: 1.15; }
  .equipo h3 { font-size: 28px; }
  .hero-grid,
  .equipo-grid,
  .service-grid,
  .space-grid,
  .foot-grid,
  .visit-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .photo-card,
  .portrait {
    width: 100%;
    min-height: 17.5rem;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: none;
  }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .chips { gap: 10px 16px; font-size: 13.5px; padding-top: 16px; }
  #carta .muted { max-width: none; }
  .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0 22px;
  }
  .tab {
    width: 100%;
    min-height: 48px;
    text-align: center;
    padding: 12px 10px;
    font-size: 13.5px;
  }
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service { padding: 22px 18px; }
  .service h4 { font-size: 22px; }
  .fold summary { padding: 0.95rem 1rem; }
  .tpl-slot--map { width: 100%; min-height: 160px; }
  .faq-item summary { padding: 0.9rem 1rem; min-height: 3.5rem; }
  .faq-item p { padding: 0 1rem 1.1rem; }
  .cta-final { padding: 8px 0 0; }
  footer { padding: 36px 0 88px; }
  .wa { width: 56px; height: 56px; }
}

@media (max-width: 479px) {
  .photo-card, .portrait { width: 100%; min-height: 16rem; max-height: none; }
  .hero-meta { font-size: 13px; }
}

/* ── Nivel 2: scroll ── */
.site-head {
  transition: box-shadow 0.28s ease;
}
.site-head.is-tight {
  box-shadow: 0 10px 24px -18px rgba(44, 36, 32, 0.45);
}
.site-head .scroll-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  pointer-events: none;
  z-index: 3;
}
.site-head .scroll-line > i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #8c5a4a, #c5a26f);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}

.chips.is-gone {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
}
.chips {
  transition: opacity 0.45s ease, transform 0.45s ease, max-height 0.45s ease, padding 0.45s ease, margin 0.45s ease;
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}
.reveal.is-in > .reveal-item,
.reveal.is-in .reveal-item {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--d, 0ms);
}

@media (min-width: 1280px) {
  .hero .photo-card,
  .hero .consult-card {
    will-change: transform;
  }
}

.hero, .section, .faq-section { content-visibility: visible; }

.tab-panel {
  animation: panel-in 0.32s ease;
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.btn { transition: filter 0.2s ease, transform 0.2s ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
}
.btn:active { transform: translateY(0); }

@media (max-width: 1279px) {
  .reveal-item {
    transform: translate3d(0, 12px, 0);
  }
  .reveal.is-in .reveal-item {
    transition-duration: 0.4s;
  }
  .band-slide.reveal-item {
    opacity: 1;
    transform: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .hero .photo-card,
  .hero .consult-card {
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-item, .chips, .tab-panel, .btn, .site-head, .band-slide, .chip,
  .hero .photo-card, .hero .consult-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }
}

/* ── Scroll, sobre todo en el móvil ── */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.site-head { top: env(safe-area-inset-top); }
.topbar { padding-top: max(9px, env(safe-area-inset-top)); }
section[id], #hero, #contenido {
  scroll-margin-top: calc(var(--head-h, 4.6rem) + env(safe-area-inset-top) + 8px);
}
@media (max-width: 1279px) {
  body.menu-open .nav.open {
    position: fixed;
    top: calc(env(safe-area-inset-top) + var(--head-h, 4.6rem));
    left: 0;
    right: 0;
    z-index: 70;
    max-height: calc(100dvh - env(safe-area-inset-top) - var(--head-h, 4.6rem));
    overflow: auto;
  }
}
.stack-run { display: contents; }
.band-face { display: block; min-width: 0; }
.faq-panel {
  overflow: hidden;
  transition: height 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.band-rail {
  height: 2px;
  width: min(34%, 7.5rem);
  margin: 0.95rem auto 0;
  border-radius: 99px;
  background: rgba(79, 61, 53, 0.16);
  overflow: hidden;
  pointer-events: none;
}
.band-rail > i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(var(--band-p, 0));
  transform-origin: left center;
  background: linear-gradient(90deg, #8c5a4a, #c5a26f);
}
.band-dot { position: relative; }
.band-dot::after {
  content: "";
  position: absolute;
  inset: -14px -8px;
}
.btn, .tab, .menu-btn, summary, .band-dot, .band-btn {
  touch-action: manipulation;
}

@media (min-width: 1280px) {
  .band-rail { display: none; }
}

@media (max-width: 1279px) {
  .band-dots.is-quiet { display: none; }
}

@media (max-width: 767px) {
  .reveal-item:not(.band-slide) {
    transform: translate3d(0, 20px, 0);
  }
  .reveal.is-in .reveal-item:not(.band-slide) {
    transition-duration: 0.9s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  }
  .band:not([data-stack]) .band-stage {
    margin-inline: calc(var(--page-gutter) * -1);
  }
  .band:not([data-stack]) .band-viewport {
    --band-card: min(84%, 22.5rem);
    scroll-snap-type: x proximity;
    padding-inline: max(1.05rem, calc(50% - var(--band-card) / 2));
    scroll-padding-inline: max(1.05rem, calc(50% - var(--band-card) / 2));
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5.5%, #000 94.5%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 5.5%, #000 94.5%, transparent);
  }
  .band:not([data-stack]) .band-hint {
    position: static;
    justify-self: center;
    width: max-content;
    margin: 0.2rem auto 0;
    padding: 0;
    background: transparent;
    color: var(--muted);
    letter-spacing: 0.16em;
    font-weight: 700;
  }
  .faq-item summary:active { background-color: rgba(92, 46, 34, 0.05); }
  .tab:active { transform: scale(0.985); }
  .btn:active { transform: scale(0.985); }

  .band[data-stack] .band-viewport {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    overflow: visible;
    padding: 0 0 0.25rem;
    margin: 0;
    scroll-snap-type: none;
    touch-action: auto;
    user-select: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .band[data-stack] .stack-run { display: contents; }
  .band[data-stack] .band-slide,
  .band[data-stack] .band-slide.is-active,
  .band[data-stack] .band-slide.reveal-item {
    position: relative;
    top: auto;
    z-index: auto;
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
    overflow: visible;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    background-image: none;
    box-shadow: none;
  }
  .band[data-stack] .band-slide::before { content: none; }
  .band[data-stack] .band-face {
    position: relative;
    overflow: hidden;
    border-radius: 1.2rem;
    min-height: 11.25rem;
    padding: 1.45rem 1.35rem 1.5rem;
    box-shadow:
      0 22px 40px -26px rgba(44, 36, 32, 0.55),
      0 0 0 1px rgba(44, 36, 32, 0.05);
  }
  .band[data-stack] .crit .band-face {
    background-color: #6d7548;
    background-image:
      linear-gradient(155deg, rgba(46, 54, 34, 0.42), rgba(38, 46, 28, 0.5)),
      url("img/cloth/cloth-historia.webp");
    background-size: cover;
    background-position: center;
    color: #f3eee6;
  }
  .band[data-stack] .step .band-face {
    background-color: var(--folio-card-clara-bg);
    background-image: var(--folio-parchment);
    background-size: var(--folio-tile);
    background-repeat: repeat;
  }
  .band[data-stack] .band-btn,
  .band[data-stack] .band-hint,
  .band[data-stack] .band-dots,
  .band[data-stack] .band-rail { display: none !important; }
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  html.motion-scrub .hero .photo-card {
    animation: hero-fade 1.05s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  html.motion-scrub .hero-copy > * {
    animation: hero-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  html.motion-scrub .hero-copy > .kicker { animation-delay: 0.05s; }
  html.motion-scrub .hero-copy > h1 { animation-delay: 0.14s; }
  html.motion-scrub .hero-copy > .hero-meta { animation-delay: 0.24s; }
  html.motion-scrub .hero-copy > .lead { animation-delay: 0.34s; }
  html.motion-scrub .hero-copy > .hero-actions { animation-delay: 0.44s; }
  html.motion-scrub .hero-copy > .hours { animation-delay: 0.52s; }
  html.motion-scrub .band:not([data-stack]) .band-hint:not(.is-gone) {
    animation: hint-nudge 1.35s cubic-bezier(0.16, 1, 0.3, 1) 2 both;
  }
}

@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes hero-in {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes hint-nudge {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(5px, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .faq-panel,
  .wa,
  .hero-copy,
  .hero-copy > *,
  .band-face,
  .heading-slice,
  .portrait,
  .space-photo,
  .band-hint {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* La cita: los cuatro pasos se relevan solos, sin bajar la página */
@media (max-width: 1279px) {
  .band[data-play] .band-hint { display: none; }
  .band[data-play] .band-stage { margin-inline: 0; }
  .band[data-play] .band-viewport {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: unset;
    justify-content: stretch;
    gap: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    scroll-snap-type: none;
    touch-action: pan-y;
    user-select: auto;
    mask-image: none;
    -webkit-mask-image: none;
    border-radius: 1.2rem;
  }
  .band[data-play] .band-slide,
  .band[data-play] .band-slide.is-active {
    grid-area: 1 / 1;
    width: auto;
    max-width: none;
    min-height: 11.5rem;
    opacity: 0;
    transform: translate3d(28px, 12px, 0) scale(0.985);
    pointer-events: none;
    z-index: 0;
    scroll-snap-align: none;
    transition:
      opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .band[data-play] .band-slide.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    z-index: 2;
  }
  .band[data-play] .band-slide.is-leaving {
    opacity: 0;
    transform: translate3d(-36px, 0, 0) scale(0.985);
    z-index: 3;
  }
  .band[data-play] .step .num {
    display: block;
  }
  .band[data-play] .step .num::after {
    content: "";
    display: block;
    width: 2rem;
    height: 1px;
    margin-top: 0.45rem;
    background: #c5a26f;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .band[data-play] .step.is-active .num::after {
    transform: scaleX(1);
    transition-delay: 0.15s;
  }
  .band[data-play] .band-rail {
    width: min(46%, 9rem);
    margin-top: 0.85rem;
  }
  .band[data-play] .band-rail > i {
    transform: scaleX(0);
    transform-origin: left center;
  }
  .band[data-play].is-playing .band-rail > i {
    animation: step-meter var(--step-dwell, 4.4s) linear forwards;
  }
}

@media (min-width: 1280px) {
  .band[data-play] .band-slide,
  .band[data-play] .band-slide.is-active,
  .band[data-play] .band-slide.is-leaving {
    grid-area: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    min-height: 0;
  }
  .band[data-play] .step .num::after { content: none; }
}

@media (max-width: 1279px) and (prefers-reduced-motion: reduce) {
  .band[data-play] .band-viewport {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    overflow: visible;
    border-radius: 0;
  }
  .band[data-play] .band-slide,
  .band[data-play] .band-slide.is-active,
  .band[data-play] .band-slide.is-leaving {
    grid-area: auto;
    position: relative;
    width: auto;
    pointer-events: auto;
  }
  .band[data-play] .band-dots,
  .band[data-play] .band-rail,
  .band[data-play] .band-btn { display: none !important; }
  .band[data-play] .step .num::after { content: none; }
}

@keyframes step-meter {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
