/* taste-skill-ignore palette-cream: el cliente pide crema y blanco; el dorado sale del logo */
/* ELIT, maqueta F · D-B pulida: web pública de escaparate */
:root {
  --paper: oklch(97% 0.01 80);
  --paper-2: oklch(92.5% 0.018 80);
  --ink: oklch(19% 0.01 70);
  --ink-soft: oklch(36% 0.012 70);
  --on-ink: oklch(96% 0.01 80);
  --on-ink-soft: oklch(80% 0.016 80);
  --gold: oklch(57% 0.075 72);
  --gold-light: oklch(76% 0.065 76);
  --font: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --step-small: 0.9375rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem);
  --step-hero: clamp(3rem, 1.4rem + 6.4vw, 7.5rem);
  --m: clamp(16px, 2.4vw, 32px);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --chevron: none;
  --cut: none;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; overflow-wrap: break-word; }
h3 { font-weight: 800; font-stretch: 106%; letter-spacing: -0.02em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { padding-inline: var(--m); max-width: 1440px; margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--ink); color: var(--on-ink); font-weight: 800; text-decoration: none; border: 0; font-family: inherit; font-size: inherit; cursor: pointer; clip-path: var(--cut); transition: transform 160ms var(--ease), background-color 200ms var(--ease); }
.btn:active { transform: scale(0.97); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-gold { background: var(--gold-light); color: var(--ink); }
.btn-s { min-height: 44px; padding: 0 18px; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink-soft); }
  .btn-light:hover, .btn-gold:hover { background: var(--on-ink); }
  .btn-line:hover { background: var(--paper-2); }
}

/* the stripe, built from bars */

/* bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px var(--m); }
.bar-logo img { width: 64px; }
.bar nav { display: flex; gap: 24px; align-items: center; }
.bar nav a { text-decoration: none; font-weight: 600; }
.bar nav a.btn { color: var(--ink); }
.bar nav a[aria-current="page"], .bar nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
.bar nav a.hide-s { display: none; }
@media (min-width: 40rem) { .bar nav a.hide-s { display: inline; } }

/* hero: card beside the room */
.hero { padding: 0 var(--m) var(--m); }
.hero-pic { margin: 0; overflow: hidden; }
.hero-pic img { width: 100%; height: 52svh; object-fit: cover; object-position: 50% 22%; }
.card { position: relative; margin: -24px 12px 0; background: var(--paper-2); }
.card-body { display: grid; justify-items: start; gap: 20px; padding: 32px 20px 28px; }
.hero h1 { font-size: clamp(2.75rem, 1.2rem + 5vw, 6.25rem); max-width: 11ch; }
.eyebrow { font-size: var(--step-small); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.lead { font-size: var(--step-lead); line-height: 1.3; max-width: 24ch; }
.card-links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 4px; }
@media (min-width: 60rem) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; min-height: calc(100svh - 84px); }
  .hero-pic { order: 2; }
  .hero-pic img { height: 100%; min-height: 560px; }
  .card { margin: 0; display: flex; flex-direction: column; }
  .card-body { flex: 1; align-content: center; padding: 56px; }
}

/* facts band */
.facts { background: var(--ink); color: var(--on-ink); display: grid; gap: 16px; padding: 28px var(--m); margin-top: var(--m); }
.facts p { font-size: var(--step-lead); font-weight: 800; font-stretch: 106%; line-height: 1.1; }
.facts span { display: block; font-size: var(--step-body); font-weight: 400; font-stretch: 100%; color: var(--on-ink-soft); }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 40px; } }

/* doors: two zones, chevron masks */
.doors { display: grid; gap: 64px; padding-block: 160px; }
.door { display: grid; gap: 16px; text-decoration: none; }
.door img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: var(--chevron); }
.door h2 { font-size: var(--step-head); }
.door p { font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; }
.door .go { font-weight: 800; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 0.25em; }
@media (min-width: 60rem) { .doors { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 40px; } .door:nth-child(2) img { aspect-ratio: 4 / 5; } }

/* today: gold field */
.today { background: var(--gold-light); padding-block: 120px; }
.today-in { display: grid; gap: 40px; }
.today h2 { font-size: var(--step-head); }
.today-head p { font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; margin-block: 16px 24px; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.slots li { display: grid; grid-template-columns: 4rem minmax(0, 1fr) auto; align-items: center; gap: 16px; background: var(--paper); padding: 16px 20px; clip-path: var(--cut); }
.slots time { font-weight: 800; font-variant-numeric: tabular-nums; }
.slots b { font-size: var(--step-lead); font-weight: 800; font-stretch: 106%; line-height: 1.1; }
.slots b span { display: block; font-size: var(--step-small); font-weight: 400; font-stretch: 100%; color: var(--ink-soft); }
.slots .p { font-weight: 800; font-variant-numeric: tabular-nums; }
.slots .full { color: var(--ink-soft); }
.note { font-size: var(--step-small); color: var(--ink-soft); }
@media (min-width: 60rem) { .today-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .note { grid-column: 2; } }

/* team */
.team { padding-block: 160px; display: grid; gap: 40px; align-items: center; }
.team-pic img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 22%; clip-path: var(--chevron); }
.team h2 { font-size: var(--step-head); }
.team-text { display: grid; gap: 20px; }
.team p { font-size: var(--step-lead); line-height: 1.35; max-width: 32ch; }
@media (min-width: 60rem) { .team { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }

/* wod: ink field */
.wod { background: var(--ink); color: var(--on-ink); padding-block: 120px; }
.wod-in { display: grid; gap: 32px; }
.wod h2 { font-size: var(--step-head); }
.wod p { font-size: var(--step-lead); line-height: 1.35; color: var(--on-ink-soft); max-width: 30ch; }
.wod-card { background: var(--paper); color: var(--ink); display: grid; gap: 12px; justify-items: start; padding: 32px 28px; }
.wod-card h3 { font-size: var(--step-lead); }
.wod-card p { color: var(--ink-soft); font-size: var(--step-body); }
@media (min-width: 60rem) { .wod-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; } }

/* tiles close */
.tiles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding-top: 160px; }
.tile { min-height: 140px; }
.tile-main { grid-column: 1 / -1; order: -1; background: var(--paper-2); padding: 32px 20px; display: grid; gap: 16px; align-content: center; justify-items: start; min-height: 300px; margin-inline: var(--m); }
.tile-main h2 { font-size: var(--step-head); }
.tile-pic img { width: 100%; height: 100%; object-fit: cover; }
.tile-flat { background: var(--gold); }
@media (min-width: 60rem) { .tiles { grid-template-columns: minmax(0, 2fr) minmax(0, 8fr) minmax(0, 2fr); } .tile { min-height: 380px; } .tile-main { grid-column: auto; order: 0; margin: 0; padding: 56px; } }

/* footer */
.foot { background: var(--paper-2); margin-top: 10px; }
.foot-in { padding: 64px var(--m) 40px; display: grid; gap: 48px; }
.foot-mark { width: 100%; max-width: 1000px; }
.foot-cols { display: grid; gap: 24px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.credit { color: var(--ink-soft); }
.credit a { text-decoration: underline; }
@media (min-width: 60rem) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* MMA page */
.mma-hero { display: grid; }
.mma-hero > * { grid-area: 1 / 1; }
.mma-hero img { width: 100%; height: 72svh; object-fit: cover; }
.mma-title { position: relative; align-self: end; background: var(--paper); margin: 0 var(--m); padding: 28px 24px 0; display: grid; gap: 16px; justify-items: start; padding-top: 32px; }
.mma-title h1 { font-size: var(--step-hero); }
.mma-title p { font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; }
@media (min-width: 60rem) { .mma-title { max-width: 760px; padding: 72px 56px 0; } }

.disc { padding-block: 120px; display: grid; gap: 12px; }
.disc article { display: grid; gap: 8px; padding: 28px 24px; background: var(--paper-2); }
.disc article img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; clip-path: var(--chevron); margin-bottom: 12px; }
.disc article:nth-child(2) { background: var(--ink); color: var(--on-ink); }
.disc article:nth-child(2) p { color: var(--on-ink-soft); }
.disc article:nth-child(3) { background: var(--gold-light); }
.disc h2 { font-size: var(--step-head); }
.disc .what { font-weight: 800; }
.disc p { max-width: 36ch; }
@media (min-width: 60rem) { .disc { grid-template-columns: repeat(3, minmax(0, 1fr)); } .disc article { min-height: 420px; align-content: start; padding: 40px; } }

.week { padding-bottom: 120px; }
.week h2 { font-size: var(--step-head); margin-bottom: 32px; }
.days { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 20px; }
.days button { flex: 1; min-width: 64px; min-height: 48px; font: inherit; font-weight: 800; background: var(--paper-2); border: 0; cursor: pointer; clip-path: var(--cut); transition: transform 160ms var(--ease); }
.days button:active { transform: scale(0.97); }
.days button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.day-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.day-list li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 18px 20px; background: var(--paper-2); }
.day-list li.str { background: var(--ink); color: var(--on-ink); }
.day-list li.grap { background: var(--gold-light); }
.day-list time { font-variant-numeric: tabular-nums; font-weight: 600; }
.day-list b { font-size: var(--step-lead); font-weight: 800; font-stretch: 106%; }
.spar-note { margin-top: 20px; font-size: var(--step-lead); line-height: 1.3; max-width: 40ch; }

.prices { display: grid; }
.field { display: grid; gap: 16px; padding: 40px 24px; min-height: 60svh; align-content: space-between; }
.field h3 { font-size: var(--step-head); font-stretch: 112%; line-height: 1; }
.field p { max-width: 30ch; }
.price { display: flex; align-items: baseline; gap: 12px; }
.price span { font-size: clamp(4rem, 2rem + 9vw, 9rem); font-weight: 800; font-stretch: 112%; letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; }
.f1 { background: var(--paper-2); }
.f2 { background: var(--ink); color: var(--on-ink); }
.f3 { background: var(--gold-light); }
@media (min-width: 60rem) { .prices { grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); } .field { min-height: 80svh; padding: 48px 40px; } }

/* entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .rise > * { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  .js .rise.in > * { opacity: 1; transform: none; }
  .js .rise.in > :nth-child(2) { transition-delay: 80ms; }
  .js .rise.in > :nth-child(3) { transition-delay: 160ms; }
  .js .rise.in > :nth-child(4) { transition-delay: 240ms; }
  .hero-pic img, .mma-hero img { animation: drift 24s linear infinite alternate; }
  @keyframes drift { to { transform: scale(1.06); } }
}

/* ===== F: piezas nuevas ===== */
img.bw, .hero-pic img, .door img { filter: grayscale(1) sepia(0.14) contrast(1.06); }

/* statement band */
.statement { background: var(--ink); color: var(--on-ink); display: grid; gap: 20px; padding: 36px var(--m); margin-top: var(--m); }
.statement p { color: var(--on-ink-soft); font-size: var(--step-body); }
.statement b { display: block; color: var(--gold-light); font-size: var(--step-lead); font-weight: 800; font-stretch: 106%; line-height: 1.15; }
@media (min-width: 48rem) { .statement { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 48px; } }

/* team tweaks */
.team-text { justify-items: start; }

/* camino: two equal doors on a soft field */
.camino { background: var(--paper-2); padding-block: 120px; }
.camino-h { font-size: var(--step-head); margin-bottom: 48px; }
.camino .doors { padding-block: 0; gap: 56px; }
.door { gap: 14px; justify-items: start; }
.door img { aspect-ratio: 4 / 3; }
.door:nth-child(2) img { aspect-ratio: 4 / 3; }
.door h3 { font-size: var(--step-head); font-stretch: 112%; letter-spacing: -0.035em; line-height: 0.98; }
.door .claim { font-size: var(--step-lead); line-height: 1.25; max-width: 24ch; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { background: var(--paper); padding: 4px 14px; font-size: var(--step-small); font-weight: 600; }
@media (min-width: 60rem) { .camino .doors { grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; } }
@media (hover: hover) and (pointer: fine) { .door img { transition: filter 300ms var(--ease); } .door:hover img { filter: grayscale(0.2) contrast(1.04); } }

/* cta */
.cta { padding-block: 120px; }
.cta-in { background: var(--gold-light); padding: 48px 24px; display: grid; gap: 20px; justify-items: start; }
.cta h2 { font-size: var(--step-head); max-width: 12ch; }
.cta p { font-size: var(--step-lead); line-height: 1.3; }
.cta .btn-gold { background: var(--ink); color: var(--on-ink); }
@media (min-width: 60rem) { .cta-in { padding: 80px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 40px; } .cta-in p { grid-column: 1; } .cta-in .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; } }

/* footer: small logo */
.foot { margin-top: 0; }
.foot-mark { width: 96px; max-width: none; }
.team .eyebrow, .door .eyebrow { font-size: var(--step-small); line-height: 1.4; }
