@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --ink: #141410;
  --panel: #1d1d18;
  --line: #45443b;
  --paper: #f5f1e6;
  --muted: #c4c0b3;
  --yellow: #ffed00;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 500 1rem/1.5 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
button, select { font: inherit; }
button, select, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
em { color: var(--yellow); font-style: normal; }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 20; top: 8px; left: 8px; padding: 12px; background: var(--yellow); color: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; align-items: center; min-height: 76px; gap: 20px; }
.brand { flex: 0 0 auto; }
.brand img { width: 85px; height: 54px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.8vw, 40px); font-size: .88rem; }
.nav a { text-decoration: none; }
.nav-links a:hover, .nav-links [aria-current="page"] { color: var(--yellow); }
.nav-cta { border: 1px solid var(--line); padding: 10px 14px; white-space: nowrap; font-size: .82rem; font-weight: 800; }
.nav-cta span { color: var(--yellow); margin-left: 8px; }
.hero { min-height: 570px; padding-block: 56px 64px; display: grid; grid-template-columns: 1fr 1.14fr; align-items: center; gap: 40px; }
.hero h1, .booking h1 { font: 900 clamp(5rem, 10.5vw, 10.5rem)/.76 var(--display); letter-spacing: -.028em; text-transform: uppercase; }
.hero h1 { margin-block: 22px 26px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--yellow); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.dot { width: 8px; height: 8px; display: inline-block; background: var(--yellow); border-radius: 50%; flex: 0 0 auto; }
.hero-description { color: var(--muted); max-width: 36ch; font-size: clamp(1rem, 1.4vw, 1.18rem); }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 47px; padding: 11px 16px; text-decoration: none; font-weight: 800; font-size: .88rem; border: 1px solid transparent; transition: background .15s, color .15s, transform .15s; }
.button:active { transform: translateY(2px); }
.primary { color: var(--ink); background: var(--yellow); }
.primary:hover { background: var(--paper); }
.secondary { color: var(--paper); border-color: var(--line); }
.secondary:hover { border-color: var(--yellow); color: var(--yellow); }
.collage { position: relative; width: 100%; padding: 4% 5% 9% 4%; }
.hero-photo { position: relative; transform: rotate(-3deg); border: 8px solid var(--paper); outline: 1px solid #736d51; background: var(--panel); }
.hero-photo .gallery-frame { height: clamp(290px, 34vw, 480px); --photo-position: 50% 58%; }
.entrance-photo { position: absolute; right: -2%; bottom: 0; width: 28%; transform: rotate(9deg); border: 6px solid var(--paper); box-shadow: 0 10px 25px #0007; }
.entrance-photo .gallery-frame { aspect-ratio: 4/5; }
.entrance-photo .gallery-frame img:first-child:not(.gallery-incoming) { --photo-position: 50% 22%; }
.gallery-frame { position: relative; overflow: hidden; background: var(--panel); }
.gallery-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-position, 50% 50%); }
.gallery-incoming { animation: photo-appear .32s ease-out both; }
@keyframes photo-appear { from { opacity: 0; } to { opacity: 1; } }
.gallery-toggle { position: absolute; inset: 0; display: flex; align-items: end; justify-content: start; width: 100%; padding: 6px; border: 0; background: transparent; color: var(--paper); text-align: left; touch-action: manipulation; }
.gallery-toggle span { padding: 3px 6px; border: 1px solid var(--line); background: var(--ink); font-size: .75rem; line-height: 1.25; font-weight: 800; }
.gallery-toggle:hover span, .gallery-toggle:focus-visible span, .gallery-toggle[data-paused] span { color: var(--ink); background: var(--yellow); border-color: var(--ink); }
.gallery-toggle:focus-visible { outline-color: var(--yellow); outline-offset: -4px; }
.photo-note { position: absolute; top: 0; right: 0; transform: rotate(8deg); width: clamp(67px, 10vw, 110px); aspect-ratio: 1; display: grid; place-content: center; gap: 0; background: var(--yellow); color: var(--ink); text-align: center; font: 800 clamp(.6rem, 1.3vw, .94rem)/.9 var(--display); letter-spacing: .08em; box-shadow: 4px 4px #0009; pointer-events: none; }
.photo-note strong { font-size: clamp(2.7rem, 6vw, 4.4rem); letter-spacing: -.05em; }
.visit-bar { background: var(--yellow); color: var(--ink); }
.visit-items { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 13px; text-align: center; font: 800 clamp(1rem, 2.2vw, 1.5rem)/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.visit-items > * + * { border-left: 1px solid #14141065; }
.visit-items :focus-visible, .map-board :focus-visible { outline-color: var(--ink); }
.section { margin-block: 75px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.section-head > p { color: var(--muted); max-width: 35ch; }
h2 { font: 900 clamp(3.3rem, 7vw, 6.8rem)/.83 var(--display); letter-spacing: -.022em; text-transform: uppercase; }
.eyebrow + h2 { margin-top: 10px; }
.event-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); }
.event { padding: 20px 16px; min-width: 0; }
.event + .event { border-left: 1px solid var(--line); }
.event.first { background: var(--panel); }
.event > span { font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); }
.event h3 { font: 900 clamp(2.8rem, 5.6vw, 5.3rem)/1 var(--display); }
.event p { color: var(--muted); font-size: .82rem; margin: 4px 0 12px; }
.event a { font-size: .78rem; font-weight: 800; }
.book-section { display: grid; grid-template-columns: .75fr 1fr; align-items: center; gap: clamp(28px, 7vw, 96px); background: var(--panel); padding: clamp(24px, 5vw, 72px); border: 1px solid var(--line); }
.book-art { justify-self: center; width: min(100%, 380px); overflow: hidden; background: var(--paper); box-shadow: 8px 8px 0 #0006; }
.book-art img { width: 100%; height: auto; transform: scale(1.12); transform-origin: 64% 54%; }
.book-section p:not(.eyebrow), .calculator p:not(.eyebrow) { color: var(--muted); margin-top: 16px; max-width: 48ch; }
.calculator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); align-items: center; gap: clamp(20px, 4vw, 56px); }
.calculator-features { margin: 20px 0 0; padding: 4px 16px; list-style: none; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.calculator-features li { display: grid; grid-template-columns: 8px minmax(0, 1fr); align-items: baseline; gap: 12px; padding-block: 10px; }
.calculator-features li + li { border-top: 1px solid var(--line); }
.calculator-features li::before { content: ""; width: 8px; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); }
.calculator-tag { color: var(--muted); font-size: .88rem; font-weight: 800; }
.calculator-demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.calculator-demo figcaption { margin-top: 10px; color: var(--muted); font-size: .88rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; padding-block: 24px; font-size: .87rem; }
.footer-row address { color: var(--muted); font-style: normal; margin-right: auto; }
.footer-contact, .social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); }
.social-links a:hover { background: var(--paper); }
.privacy { max-width: 740px; }
.privacy h1 { font: 900 clamp(3rem, 8vw, 6rem)/.9 var(--display); text-transform: uppercase; }
.privacy h2 { margin-bottom: 12px; font-size: clamp(1.75rem, 4vw, 2.4rem); line-height: 1; }
.privacy section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.privacy p, .privacy ul { margin-block: 12px; color: var(--muted); }
.privacy ul { padding-inline-start: 22px; }
.privacy li + li { margin-top: 8px; }
.privacy a, .privacy strong { color: var(--paper); }
.privacy a { overflow-wrap: anywhere; }
.privacy-note { margin-top: 14px; color: var(--muted); font-size: .88rem; }
.privacy-note a { color: var(--paper); }
.privacy-note details { margin-top: 6px; }
.privacy-note details p { margin-top: 8px; }
.booking { padding-top: 48px; }
.booking-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.booking h1 { font-size: clamp(4.6rem, 10.4vw, 9.4rem); margin-block: 12px 15px; }
.booking-head p:not(.eyebrow) { color: var(--muted); }
.edition-control { flex: 0 0 min(100%, 292px); }
.filter-control label { display: block; color: var(--muted); font-size: .77rem; font-weight: 800; margin-bottom: 5px; }
.edition-title { display: block; font-size: clamp(1rem, 2.5vw, 1.25rem); line-height: 1.3; letter-spacing: .06em; }
.edition-control .edition-title { margin-bottom: 5px; }
.map-section .edition-title { margin-top: 10px; }
select { background: var(--panel); color: var(--paper); border: 1px solid #777466; border-radius: 0; min-height: 44px; padding: 8px 28px 8px 10px; }
.edition-control select { width: 100%; border-color: var(--yellow); font-weight: 800; }
.edition-control p { font-size: .82rem; margin-top: 5px; }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.price { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--type); padding: 16px; }
.price h2 { font-size: clamp(1.55rem, 3vw, 2.65rem); line-height: .95; margin-top: 8px; }
.price .description { color: var(--muted); font-size: .82rem; min-height: 3.7em; margin-top: 6px; }
.price .total { font: 900 2.55rem/1 var(--display); margin-top: 10px; }
.price .deposit { color: var(--yellow); font-size: .83rem; margin-block: 3px 10px; font-weight: 800; }
.price button { width: 100%; min-height: 38px; color: var(--paper); background: transparent; border: 1px solid var(--line); font-size: .82rem; font-weight: 700; }
.price button:hover { color: var(--yellow); border-color: var(--yellow); }
.included { color: var(--muted); font-size: .87rem; max-width: 100ch; margin-top: 14px; }
.mesa { --type: #f7b754; }
.compartida { --type: #ef79a1; }
.tablon { --type: #a2d452; }
.second { --type: #f7f3ea; }
.carrito { --type: #cf9a5a; }
.diagram { position: relative; height: 76px; overflow: hidden; color: var(--type); border-bottom: 1px solid var(--line); }
.table-top { position: absolute; width: 52%; height: 9px; left: 24%; top: 36px; background: currentColor; }
.table-top::after { content: ''; position: absolute; inset: 9px 7% auto; height: 27px; border-inline: 3px solid; }
.tablon .table-top, .compartida .table-top { width: 78%; left: 11%; }
.compartida .table-top { background: linear-gradient(90deg, currentColor 0 48%, transparent 48% 52%, #897581 52%); }
.chair { position: absolute; left: 37%; top: 14px; width: 13px; height: 29px; border: 2px solid; border-radius: 4px 4px 0 0; }
.chair + .chair { left: 54%; }
.compartida .chair { left: 29%; }
.compartida .chair + .chair { left: 65%; color: #897581; }
.second .rack { position: absolute; top: 14px; left: 27%; width: 46%; height: 50px; border: 2px solid; border-bottom: 0; }
.second .rack::after { content: ''; position: absolute; inset: 8px 11% 18px; background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 9px); opacity: .7; }
.map-section { scroll-margin-top: 18px; }
.map-controls { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 12px; }
.view-toggle { display: flex; border: 1px solid var(--line); }
.view-toggle button { min-width: 60px; min-height: 42px; border: 0; background: var(--panel); color: var(--paper); }
.view-toggle [aria-pressed="true"] { background: var(--yellow); color: var(--ink); font-weight: 800; }
.map-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(240px, 1fr); gap: 16px; }
.map-board { min-width: 0; background: var(--paper); color: var(--ink); }
.map-scroll { overflow: auto; }
.plan { position: relative; width: 100%; min-width: 340px; max-width: 600px; aspect-ratio: 6/9; margin-inline: auto; }
.plan-shape { position: absolute; inset: 3% 13% 2% 8%; background: #e2ded0; clip-path: polygon(0 0, 100% 0, 100% 60%, 40% 60%, 40% 100%, 0 100%); }
.space { position: absolute; transform: translate(-50%, -50%); padding: 0; display: grid; place-items: center; min-width: 30px; min-height: 26px; border: 1px solid #17171370; background: var(--type); color: #171713; font: 800 1rem/1 var(--body); }
.space[aria-pressed="true"] { outline: 3px solid #171713; outline-offset: 2px; z-index: 2; }
.space.fixed { background: #4d4c45; color: var(--paper); }
.space.dim { opacity: .23; }
.landmark { position: absolute; font: 800 .68rem/1 var(--body); text-transform: uppercase; letter-spacing: .045em; color: #22221e; }
.wc { left: 6%; top: 78%; }
.dj { left: 9%; top: 94.5%; }
.access { left: 25%; top: 96%; }
.map-sidebar { display: grid; align-content: start; gap: 12px; }
.space-detail, .legend, .map-rules { border: 1px solid var(--line); background: var(--panel); padding: 16px; }
.space-detail h3 { font: 900 2.3rem/1 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.space-detail p:not(.eyebrow), .map-rules li { color: var(--muted); }
.space-detail .eyebrow { margin-bottom: 8px; }
.space.occupied { color: var(--paper); background: #56544b; border-style: dashed; }
.space-detail dl { display: grid; gap: 6px; margin-block: 14px; }
.space-detail dl div { display: flex; justify-content: space-between; gap: 8px; }
.space-detail dt { color: var(--muted); }
.space-detail dd { margin: 0; font-weight: 800; }
.space-detail .primary { margin-top: 5px; }
.legend h3 { font-size: 1rem; }
.legend ul { list-style: none; padding: 0; display: grid; gap: 8px; margin: 10px 0 0; font-size: .86rem; }
.legend li { display: flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; background: var(--type, #55544e); border: 1px solid #fff5; }
.map-rules summary, .questions summary { font-weight: 800; }
.map-rules ul { margin: 12px 0 0; padding-inline-start: 20px; font-size: .9rem; }
.map-rules li + li { margin-top: 8px; }
.map-rules strong { color: var(--paper); }
.questions details p { margin-top: 8px; }
.space-list { display: grid; align-content: start; gap: 6px; max-height: 680px; overflow: auto; padding: 12px; }
.list-space { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 44px; border: 1px solid #c5bfae; border-left: 8px solid var(--type); background: #fffcf3; color: var(--ink); text-align: left; padding: 7px 10px; }
.list-space[aria-pressed="true"] { background: #fff1a3; border-color: #74680a; }
.list-space small { text-align: right; }
.questions h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 16px; }
.questions details { padding-block: 13px; border-top: 1px solid var(--line); }
.questions details p { color: var(--muted); }
@media (max-width: 850px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 16px; min-height: auto; padding-block: 40px; }
  .hero h1 { font-size: clamp(4.7rem, 11vw, 8rem); }
  .event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .event:nth-child(4) { border-left: 0; }
  .event:nth-child(n+4) { border-top: 1px solid var(--line); }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .shell { width: calc(100% - 32px); }
  .nav { min-height: 61px; }
  .nav-links { display: none; }
  .brand img { height: 42px; width: 68px; }
  .hero { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(4.25rem, 16vw, 6.25rem); }
  .collage { width: calc(100% - 8px); }
  .hero-photo .gallery-frame { height: min(69vw, 365px); }
  .entrance-photo .gallery-toggle { padding: 3px; }
  .entrance-photo .gallery-toggle span { padding-inline: 4px; }
  .visit-items { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .visit-items > :nth-child(3) { border-left: 0; }
  .section { margin-block: 48px; }
  .section-head, .booking-head { display: grid; align-items: start; }
  .calculator { grid-template-columns: minmax(0, 1fr); }
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event:nth-child(n) { border-left: 0; }
  .event:nth-child(even) { border-left: 1px solid var(--line); }
  .event:nth-child(n+3) { border-top: 1px solid var(--line); }
  .book-section { grid-template-columns: 1fr; }
  .book-art { width: min(100%, 280px); }
  .booking { padding-top: 32px; }
  .booking h1 { font-size: clamp(3.35rem, 12vw, 6.15rem); }
  .price { padding: 10px; }
  .price .description { min-height: 4.9em; }
  .map-grid { grid-template-columns: minmax(0, 1fr); }
  .map-controls { flex-wrap: wrap; }
  .map-sidebar { grid-row: 1; }
  .legend, .map-rules { display: none; }
  .space { min-width: 24px; min-height: 22px; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .gallery-incoming { animation: none; }
}
.rack-chair { position: absolute; top: 28px; left: 77%; width: 15px; height: 32px; border: 2px solid; border-radius: 4px 4px 0 0; }
.assigned { margin-top: 10px; font-weight: 800; }
.space.long { height: 4.5%; }
.space.horizontal { height: auto; width: 13%; }
.space.horizontal.mesa { width: 6.5%; }
@media (max-width: 580px) {
  .legend, .map-rules { display: block; }
  .map-sidebar { display: contents; }
  .space-detail { grid-row: 1; }
  .map-board { grid-row: 2; }
}
.space.compartida { min-height: 0; height: 2.65%; }
.plan { width: var(--plan-width, 100%); min-width: var(--plan-min-width, 340px); max-width: var(--plan-max-width, 600px); }
.map-zoom { display: flex; justify-content: end; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid #c5bfae; }
.map-zoom button { min-width: 40px; min-height: 40px; border: 1px solid #b2aa96; color: var(--ink); background: #fffcf3; font-size: 1.15rem; }
.map-zoom button:disabled { opacity: .44; cursor: default; }
.map-zoom output { min-width: 44px; text-align: center; font-size: .8rem; font-weight: 800; }
.checkout-status:not(:empty) { margin-block: 12px; font-weight: 700; }
.checkout-status:empty { display: none; }
.space-detail [data-retry-checkout] { margin: 0 5px 8px 0; }
#stripe-verificacion { max-width: 100%; overflow: auto; }
.payment-dialog { position: fixed; width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: clamp(16px, 4vw, 32px); color: var(--paper); background: var(--panel); border: 1px solid var(--line); overflow: auto; }
.payment-dialog::backdrop { background: #141410cc; }
.payment-dialog h2 { margin: 8px 42px 12px 0; font-size: clamp(2.25rem, 6vw, 3.75rem); line-height: .9; }
.payment-close { position: absolute; top: 12px; right: 12px; min-width: 44px; min-height: 44px; color: var(--paper); background: var(--ink); border: 1px solid var(--line); font-size: 1.5rem; }
.payment-methods { display: grid; gap: 8px; margin-top: 18px; }
.payment-methods button { display: grid; gap: 2px; min-height: 55px; padding: 10px 13px; border: 1px solid var(--line); background: var(--ink); color: var(--paper); font-weight: 800; text-align: left; }
.payment-methods button:hover { border-color: var(--yellow); }
.payment-methods span { color: var(--muted); font-size: .86rem; font-weight: 500; }
.payment-methods button:disabled, .payment-close:disabled { opacity: .55; cursor: wait; }
#pago-modal-cuerpo:not(:empty) { margin-top: 14px; }
#pago-modal-cuerpo p + p { margin-top: 8px; }
.payment-reference { overflow-wrap: anywhere; }
.transfer-details { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--line); background: var(--ink); }
.transfer-details div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
.transfer-details dt { color: var(--muted); }
.transfer-details dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.payment-clock { color: var(--yellow); font-weight: 800; }
.oxxo-notice { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--yellow); background: var(--panel); }
.oxxo-notice img, .payment-methods .payment-oxxo img { flex: none; width: 76px; height: auto; }
.oxxo-notice strong { display: block; color: var(--paper); }
.oxxo-notice p { color: var(--muted); font-size: .91rem; }
.payment-methods .payment-oxxo { display: flex; align-items: center; gap: 12px; }
.payment-oxxo span { display: block; }
#pago-modal-cuerpo > .button + .button { margin-left: 8px; }
