/* Canvas 90 · fichas editoriales Origen y Pulso
 * Alcance exclusivo de estas dos páginas. Sin dependencias de framework.
 */
body.spacePage{
  --space-ink:#171717;
  --space-paper:#fffefb;
  --space-rule:#e8e2d8;
  background:var(--space-paper);
  color:var(--space-ink);
}
body.spaceOrigen{--space-accent:#E0A51E;--space-soft:#fff4d5;--space-kicker:#735215}
body.spacePulso{--space-accent:#E8644F;--space-soft:#fff0eb;--space-kicker:#57251e}
.spacePage main{overflow:clip}
.spacePage h1,.spacePage h2{letter-spacing:-.025em}
.spacePage h1{max-width:14ch}
.spacePage h2{max-width:22ch}
.spacePage a:focus-visible,.spacePage button:focus-visible,.spacePage video:focus-visible{
  outline:3px solid #171717;outline-offset:4px
}
.spacePage ::selection{background:var(--space-accent);color:#171717}

/* Imagen real y llamada a la acción, visibles al entrar. */
.spaceHero{background:var(--space-soft)}
.spaceHeroGrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:545px}
.spaceHeroMedia{margin:0;min-height:545px;overflow:hidden;background:#e3dbcf}
.spaceHeroMedia img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.spaceHeroCopy{
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  padding:clamp(38px,5vw,90px);background:var(--space-accent);
}
.spaceHero--media-right .spaceHeroCopy{order:1}
.spaceHero--media-right .spaceHeroMedia{order:2}
.spaceBrandLine{display:flex;align-items:center;gap:14px;margin:0 0 20px;font-size:.77rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--space-ink)}
/* Emblemas originales: sobre marfil, con dimensión legible (no se retoca la marca). */
.spaceBrandLine img{
  display:block;width:125px;height:auto;max-height:none;aspect-ratio:140/88;
  object-fit:contain;flex:0 0 auto;box-sizing:border-box;
  padding:9px 12px;background:#fffefb;border-radius:6px;
  box-shadow:0 5px 18px #17171715;
}
.spaceHeroCopy h1{
  font:600 clamp(3.05rem,4.9vw,5.4rem)/.93 "Cormorant Garamond",Georgia,serif;
  letter-spacing:-.025em;max-width:12ch;margin:0 0 22px
}
.spacePulso .spaceHeroCopy h1{max-width:11.5ch}
.spaceHeroCopy .spaceIntro{font-size:clamp(.97rem,1.3vw,1.12rem);line-height:1.63;max-width:37rem;margin:0 0 28px}
.spaceHeroActions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.spaceButton{
  min-height:46px;padding:11px 20px;border:1.5px solid #171717;display:inline-flex;
  align-items:center;justify-content:center;text-align:center;line-height:1.3;
  font-weight:700;font-size:.89rem;transition:background .18s ease,color .18s ease,transform .18s ease;
}
.spaceButton--primary{background:#171717;color:white}
.spaceButton--primary:hover{background:#30302f;transform:translateY(-2px)}
.spaceButton--secondary{background:transparent;color:#171717}
.spaceButton--secondary:hover{background:#171717;color:#fff}
.spaceHeroFootnote{font-size:.75rem;margin:15px 0 0;color:#322e26}

/* Los usos se leen sin tarjetas de aspecto comercial genérico. */
.spaceUses{padding:72px 0 76px;background:var(--space-paper)}
.spaceUses h2,.spaceGallery h2,.spacePricing h2,.spaceFinish h2{
  font:600 clamp(2.85rem,5vw,4.75rem)/.98 "Cormorant Garamond",Georgia,serif;
  margin:0 0 16px
}
.spaceUses h2{text-align:center;max-width:none;margin:0 auto 34px}
.spaceUsesIntro{text-align:center;max-width:56rem;margin:0 auto 32px;color:#4b4841}
.spaceUseList{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;list-style:none;padding:0;margin:0}
.spaceUseList li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:14px 16px;line-height:1.35;font-size:.94rem;font-weight:500}
.spaceUseList li+li{border-left:1px solid var(--space-rule)}
.spaceUseGlyph{width:64px;height:64px;display:grid;place-items:center;border-radius:50%;background:var(--space-soft)}
.spaceUseGlyph svg{width:27px;height:27px;fill:none;stroke:#171717;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* Fotografías originales; galería accesible también desde el hero. */
.spaceGallery{padding:58px 0 76px;background:#f9f7f1}
.spaceGalleryHead{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:22px}
.spaceGalleryHead h2{margin:0 0 6px}
.spaceGalleryHead p{margin:0;color:#5b584f}
.spaceGalleryMore{font-size:.88rem;font-weight:700;border-bottom:1px solid currentColor;line-height:1.7;white-space:nowrap}
.spaceGalleryMore:hover{text-decoration:none;border-bottom-width:2px}
.spaceGalleryRail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.spaceGalleryRail--four{grid-template-columns:repeat(4,minmax(0,1fr))}
.spaceGalleryShot{display:block;overflow:hidden;background:#e9e2d6}
.spaceGalleryShot img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .3s ease}
.spaceGalleryShot:hover img{transform:scale(1.03)}

/* Recorrido existente y explicación; no simular un video si no reproduce. */
.spaceTour{background:#211e1a;color:#fffefb;padding:58px 0}
.spaceTourGrid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:50px;align-items:center}
.spaceTourVideo{width:100%;max-height:480px;display:block;aspect-ratio:16/9;background:#121212;object-fit:contain}
.spaceTourCopy h2{font:600 clamp(2.75rem,4.3vw,4.2rem)/.98 "Cormorant Garamond",Georgia,serif;margin:0 0 15px;max-width:13ch}
.spaceTourCopy p{color:#ece7de;line-height:1.7;max-width:35rem;margin:0 0 20px}
.spaceTourLink{font-size:.88rem;text-decoration:underline;text-underline-offset:5px;font-weight:700}

/* Tarifas sin ocultar las condiciones comerciales. */
.spacePricing{padding:78px 0;background:var(--space-paper)}
.spacePricingLead{color:#575249;max-width:57rem;line-height:1.65;margin:0 0 30px}
.spaceRates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.spaceRate{background:var(--space-soft);padding:26px 24px;min-height:158px}
.spaceRateLabel{display:block;font-size:.89rem;font-weight:700;margin-bottom:14px}
.spaceRateValue{display:block;font:600 clamp(2.2rem,3.2vw,3.05rem)/1 "Cormorant Garamond",Georgia,serif;letter-spacing:-.02em;margin-bottom:12px}
.spaceRateDesc{font-size:.82rem;line-height:1.55;color:#504b43}
.spaceRate--featured{background:color-mix(in srgb,var(--space-accent) 20%,#fff)}
.spaceRatesFine{margin:17px 0 0;color:#60594f;font-size:.8rem}

/* Cierre enfocado en una única acción. */
.spaceFinish{background:var(--space-accent);padding:64px 0 70px;color:#171717}
.spaceFinishInner{max-width:840px;margin:auto;text-align:center}
.spaceFinish h2{max-width:none;margin-bottom:16px}
.spaceFinish p{margin:0 auto 28px;max-width:48rem;line-height:1.65}
.spaceFinish .spaceButton{min-width:240px}
.spaceCrossLink{margin-top:20px;font-size:.86rem}
.spaceCrossLink a{text-decoration:underline;text-underline-offset:4px}
.spacePage footer.canvasSiteFooter{margin-top:0}

/* Tablet y móvil: decisión comercial antes de exploración de fotos. */
@media(max-width:1000px){
  .spaceHeroGrid{min-height:500px}
  .spaceHeroMedia{min-height:500px}
  .spaceHeroCopy{padding:40px}
  .spaceHeroCopy h1{font-size:clamp(2.85rem,5.5vw,4.3rem)}
  .spaceTourGrid{gap:30px}
  .spaceUseList li{padding:12px 10px}
}
@media(max-width:780px){
  .spaceHeroGrid{grid-template-columns:1fr}
  .spaceHeroCopy,.spaceHero--media-right .spaceHeroCopy{order:1;padding:36px max(20px,5vw)}
  .spaceHeroMedia,.spaceHero--media-right .spaceHeroMedia{order:2;min-height:0;height:300px}
  .spaceHeroCopy h1{font-size:clamp(2.8rem,8vw,4.2rem);max-width:14ch}
  .spaceUseList{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:22px}
  .spaceUseList li+li{border-left:0}
  .spaceUses,.spaceGallery,.spacePricing{padding:54px 0}
  .spaceGalleryRail,.spaceGalleryRail--four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .spaceTourGrid{grid-template-columns:1fr}
  .spaceTourCopy h2{max-width:none}
  .spaceRates{grid-template-columns:1fr}
  .spaceRate{min-height:0;padding:20px 22px}
  .spaceGalleryHead{align-items:start}
}
@media(max-width:520px){
  .spaceHeroCopy{padding:28px 20px 32px}
  .spaceBrandLine{font-size:.7rem;margin-bottom:14px}
  .spaceBrandLine img{height:auto;width:101px;padding:7px 9px}
  .spaceHeroCopy h1{font-size:clamp(2.75rem,11.5vw,3.6rem);margin-bottom:15px}
  .spaceHeroCopy .spaceIntro{font-size:.95rem;line-height:1.48;margin-bottom:20px}
  .spaceHeroActions{width:100%;gap:8px}
  .spaceHeroActions .spaceButton{font-size:.82rem;padding:10px 12px;min-width:0;flex:1}
  .spaceHeroMedia{height:230px}
  .spaceUses h2,.spaceGallery h2,.spacePricing h2,.spaceFinish h2{font-size:clamp(2.65rem,10vw,3.4rem)}
  .spaceUses h2{margin-bottom:24px}
  .spaceUseList{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px}
  .spaceUseList li{font-size:.86rem}
  .spaceUseGlyph{width:53px;height:53px}
  .spaceGalleryHead{display:block}
  .spaceGalleryMore{display:inline-block;margin-top:12px}
  .spaceGalleryRail,.spaceGalleryRail--four{gap:7px}
  .spaceTour{padding:42px 0}
  .spaceTourVideo{aspect-ratio:4/3}
  .spaceFinish{padding:48px 0 54px}
}
@media(prefers-reduced-motion:reduce){
  .spaceButton,.spaceGalleryShot img{transition:none}
  .spaceButton--primary:hover,.spaceGalleryShot:hover img{transform:none}
}