:root {
  color-scheme: light;
  --ink: #272e40;
  --paper: #fff8ef;
  --accent: #ae4231;
  --muted: #5c5863;
  --line: #e9d9cf;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.shell { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.demo-ribbon { padding: .55rem 1rem; background: var(--ink); color: #fff8ee; font-size: .75rem; }
.demo-ribbon span { margin-inline: .35rem; color: #ffd166; }
.site-header { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: .75rem; }
.header-link, .text-link { color: var(--accent); font-weight: 700; font-size: .9rem; }
.header-link:hover, .text-link:hover, footer a:hover { text-decoration: underline; }

.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.eyebrow { color: var(--accent); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin-block: .6rem 1rem; font-size: clamp(2.55rem, 6.1vw, 5.15rem); line-height: 1; letter-spacing: -.065em; font-weight: 850; }
.hero em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 34ch; color: var(--muted); margin-bottom: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .8rem 1.1rem; background: var(--accent); color: white; border-radius: .75rem; font-weight: 750; }
.button:hover { background: #8b3427; }
.hero-art { position: relative; padding: .4rem; border-radius: 1.5rem; background: white; box-shadow: 0 18px 48px #633c2a26; }
.hero-art img { border-radius: 1.15rem; aspect-ratio: 1.48; height: auto; }
.hero-art figcaption { position: absolute; inset: auto .95rem .95rem auto; background: #ffd785; color: #392822; padding: .55rem .8rem; border-radius: .55rem; font-size: .78rem; font-weight: 750; }

.catalog { background: #fffdf9; border-block: 1px solid var(--line); padding-block: clamp(2.25rem, 6vw, 4.75rem); }
.catalog h2, .modal h2 { font-weight: 850; letter-spacing: -.045em; line-height: 1.1; }
.catalog h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
output, .features, .card-location, .description, .contact-note { color: var(--muted); }
.filters { margin-block: 1.25rem 1.65rem; }
.filters label { display: grid; gap: .3rem; flex: 0 1 13rem; font-weight: 700; font-size: .82rem; }
.filters select { min-height: 2.75rem; padding: .4rem .65rem; border: 1px solid #d9c4b7; border-radius: .65rem; background: white; }
.text-link { cursor: pointer; padding: .65rem .35rem; }
#sin-resultados { padding: 1rem; border: 1px dashed var(--line); border-radius: .75rem; }

.card { background: white; border: 1px solid var(--line); border-radius: 1.15rem; box-shadow: 0 8px 22px #633c2a0c; }
.card:hover, .card:focus-within { border-color: #c86f5b; box-shadow: 0 12px 28px #633c2a22; }
.card-media, .modal > img, .hero-art { background-color: #efded1; }
.card-media img { height: auto; aspect-ratio: 16/10; }
.operation { position: absolute; top: .8rem; left: .8rem; background: #fff8ec; color: #803426; border-radius: .5rem; padding: .28rem .58rem; font-size: .75rem; font-weight: 800; }
.card-body, .modal-body { padding: 1.15rem; }
.card-location { font-size: .82rem; }
.card h3 { margin-top: .3rem; font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.price { margin-block: .55rem; color: var(--accent); font-size: 1.1rem; font-weight: 800; }
.features { border-top: 1px solid var(--line); padding-top: .65rem; font-size: .86rem; }
.card-action { margin-top: .8rem; color: var(--accent); font-size: .88rem; font-weight: 750; cursor: pointer; }
.card-action::after { position: absolute; inset: 0; content: ""; }

dialog { position: fixed; inset: 0; margin: auto; width: min(760px, 100% - 2rem); max-height: calc(100% - 2rem); overflow: auto; background: #fffdf9; color: var(--ink); border-radius: 1.25rem; box-shadow: 0 24px 70px #24171444; }
dialog::backdrop { background: #202333a8; }
body:has(dialog[open]) { overflow: hidden; }
.modal > img { height: 100%; min-height: 12rem; }
.modal-body { padding: clamp(1.25rem, 4vw, 2rem); }
.modal h2 { margin-top: .35rem; font-size: 1.9rem; }
.modal .eyebrow { margin-bottom: .3rem; }
.description { margin-block: .8rem 1rem; }
.dialog-close { position: absolute; z-index: 1; top: .6rem; right: .6rem; width: 2.5rem; height: 2.5rem; background: white; border: 1px solid var(--line); border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.whatsapp { background: #176646; }
.whatsapp:hover { background: #114c34; }
.contact-note { margin-top: .55rem; font-size: .8rem; }
.site-footer { background: var(--ink); color: #fff8ef; padding-block: 1.3rem; font-size: .86rem; }
.site-footer a { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #2d755f; outline-offset: 3px; }

@media (max-width: 639px) {
  .modal > img { height: 13rem; }
  .filters label { flex: 1 1 9rem; }
  .header-link { font-size: .78rem; }
}
@media (max-width: 360px) {
  .header-link { display: none; }
}

.profile { background: #f7eadd; padding-block: clamp(1.75rem, 4vw, 3rem); }
.profile h2 { font-size: clamp(1.55rem, 3.5vw, 2.35rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 850; margin-block: .45rem .6rem; }
.profile p { color: var(--muted); }
.profile .eyebrow { color: var(--accent); }
.profile-grid { margin-top: 1.15rem; }
.profile-grid > div { border-top: 1px solid #d9c4b7; padding-top: .65rem; }
.profile h3 { font-size: .95rem; font-weight: 800; margin-bottom: .2rem; }
.duration { color: var(--muted); font-weight: 650; margin-left: .4rem; white-space: nowrap; }
.modalidad { display: grid; gap: .35rem; font-weight: 750; font-size: .85rem; margin-bottom: 1rem; }
.modalidad select { min-height: 2.6rem; padding: .4rem .65rem; border: 1px solid #d9c4b7; border-radius: .65rem; background: white; }
