:root {
  --crema: #f5eee4;
  --papel: #fbf7f1;
  --espresso: #2f2119;
  --tostado: #6d5446;
  --barro: #c4562f;
  --hoja: #55684a;
  --line: rgba(47, 33, 25, .14);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}
body { background: var(--crema); color: var(--espresso); font: 400 17px/1.6 var(--sans); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; line-height: 1.04; font-variation-settings: 'opsz' 96; }
h1 em, h2 em { font-style: italic; color: var(--barro); }
p { margin: 0; }
.wrap { width: min(100% - 48px, 1180px); margin-inline: auto; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hoja); margin-bottom: 14px; }
.lede { font-size: 18px; color: var(--tostado); max-width: 520px; }
:focus-visible { outline-color: var(--barro); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--sans); transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-accent { background: var(--barro); color: #fff; }
.btn-accent:hover { background: #ab4826; box-shadow: 0 10px 22px -10px rgba(196, 86, 47, .8); }
.btn-dark { background: var(--espresso); color: var(--crema); }
.btn-line { border-color: rgba(47, 33, 25, .3); }
.btn-line:hover { background: var(--papel); }
.btn-wa { background: #1f9d55; color: #fff; width: 100%; }
.btn-wa:hover:not(:disabled) { background: #188546; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px max(24px, calc((100vw - 1180px) / 2)); background: color-mix(in srgb, var(--crema) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { font: italic 600 25px/1 var(--serif); letter-spacing: -.03em; }
.logo span { font: 500 12px/1 var(--sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--barro); margin-left: 4px; }
.site-header nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; margin-left: auto; }
.site-header nav a:hover { color: var(--barro); }
.open-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--tostado); white-space: nowrap; }
.open-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c0503b; }
.open-badge.is-open { color: #2f6b3c; }
.open-badge.is-open::before { background: #2fae5d; box-shadow: 0 0 0 4px rgba(47, 174, 93, .18); }
.header-cta { min-height: 42px; font-size: 14px; }

/* Hero */
.hero { width: min(100% - 48px, 1180px); margin: 0 auto; padding: 64px 0 90px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(46px, 5.6vw, 82px); margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 40px; }
.facts { list-style: none; padding: 22px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 28px; border-top: 1px solid var(--line); justify-content: start; }
.facts b { display: block; font-size: 15px; }
.facts span { font-size: 13px; color: var(--tostado); }
.hero-art { position: relative; }
.arch { border-radius: 300px 300px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -24px rgba(47, 33, 25, .45); }
.arch img, .bubble img, .origin-photo img { width: 100%; height: 100%; object-fit: cover; }
.arch picture, .bubble picture, .origin-photo picture { display: block; height: 100%; }
.bubble { position: absolute; left: -48px; bottom: 40px; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--crema); box-shadow: 0 20px 40px -16px rgba(47, 33, 25, .5); }
.stamp { position: absolute; right: -16px; top: 32px; background: var(--hoja); color: #f4f1e6; padding: 14px 18px; border-radius: 16px; font-size: 13px; line-height: 1.35; transform: rotate(4deg); box-shadow: 0 14px 30px -12px rgba(47, 33, 25, .5); }
.stamp b { font: italic 600 18px/1.2 var(--serif); }

/* Menu */
.menu { background: var(--papel); padding: 100px 0; border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2, .origin h2, .visit h2 { font-size: clamp(38px, 4.4vw, 60px); margin-bottom: 14px; }
.section-head p:last-child { color: var(--tostado); }
.menu-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 600; color: var(--tostado); transition: background .15s, color .15s; }
.tab[aria-selected="true"] { background: var(--espresso); color: var(--crema); border-color: var(--espresso); }
.items { display: grid; gap: 12px; }
.item { display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; align-items: center; background: #fff; border-radius: 18px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.item:hover { border-color: rgba(47, 33, 25, .3); box-shadow: 0 10px 24px -16px rgba(47, 33, 25, .4); }
.item-photo { width: 88px; height: 88px; border-radius: 14px; overflow: hidden; background: var(--crema); display: grid; place-items: center; font: italic 500 30px/1 var(--serif); color: var(--barro); }
.item-photo img { width: 100%; height: 100%; object-fit: cover; }
.item h3 { font-size: 21px; margin-bottom: 4px; }
.item p { font-size: 14px; color: var(--tostado); }
.item-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hoja); margin-bottom: 4px; }
.item-buy { display: flex; flex-direction: column; align-items: end; gap: 8px; }
.item-buy strong { font-size: 17px; }
.add { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--barro); color: #fff; font-size: 22px; line-height: 1; transition: transform .15s, background .15s; }
.add:hover { transform: scale(1.08); background: #ab4826; }
.add.is-added { animation: pop .35s ease-out; }
@keyframes pop { 50% { transform: scale(1.3); } }

.order { position: sticky; top: 96px; background: #fff; border-radius: 22px; padding: 24px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(47, 33, 25, .35); }
.order-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.order-head h3 { font-size: 26px; }
.order-head span { font-size: 13px; color: var(--tostado); }
.order-items { display: grid; gap: 10px; padding: 16px 0; max-height: 260px; overflow: auto; }
.order-empty { text-align: center; color: var(--tostado); font-size: 14px; padding: 16px 0; }
.order-empty b { display: block; font: italic 500 22px/1.2 var(--serif); color: var(--espresso); margin-bottom: 4px; }
.order-line { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; font-size: 15px; }
.qty { display: inline-flex; align-items: center; gap: 8px; background: var(--crema); border-radius: 999px; padding: 3px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: #fff; font-size: 15px; line-height: 1; }
.qty span { min-width: 14px; text-align: center; font-weight: 600; font-size: 14px; }
.order-line strong { font-size: 15px; min-width: 52px; text-align: right; }
.order-form { display: grid; gap: 12px; padding: 16px 0; border-top: 1px dashed var(--line); }
.order-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--tostado); }
.order-form select, .order-form input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--papel); font-size: 15px; color: var(--espresso); }
.order-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 16px; border-top: 1px solid var(--line); }
.order-total strong { font: 600 30px/1 var(--serif); }
.order-note { text-align: center; font-size: 12px; color: var(--tostado); margin-top: 10px; }

/* Origin */
.origin { padding: 110px 0; }
.origin-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.origin-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; }
.origins { display: flex; gap: 8px; margin: 28px 0 18px; flex-wrap: wrap; }
.origin-btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 600; color: var(--tostado); }
.origin-btn[aria-pressed="true"] { background: var(--hoja); color: #fff; border-color: var(--hoja); }
.origin-card { background: #fff; border-radius: 20px; padding: 24px; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 18px; }
.origin-card h3 { font-size: 26px; margin-bottom: 6px; }
.origin-card p { font-size: 15px; color: var(--tostado); }
.notes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.notes span { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--crema); }
.meter { display: grid; gap: 10px; align-content: start; min-width: 150px; font-size: 12px; color: var(--tostado); }
.meter div { display: grid; gap: 4px; }
.meter i { display: block; height: 6px; border-radius: 6px; background: var(--crema); overflow: hidden; }
.meter i::after { content: ''; display: block; height: 100%; width: var(--v); background: var(--barro); border-radius: 6px; transition: width .4s; }

/* Visit */
.visit { background: var(--espresso); color: var(--crema); padding: 100px 0; }
.visit .eyebrow { color: #c9d4b6; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.address { font-size: 19px; margin: 6px 0 20px; }
.address span { font-size: 14px; color: #bfae9f; }
.amenities { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.amenities li { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(245, 238, 228, .25); }
.hours { width: 100%; max-width: 440px; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid rgba(245, 238, 228, .14); font-weight: 400; font-size: 16px; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-today th, .hours .is-today td { color: #fff; font-weight: 700; }
.hours .is-today th::after { content: ' · hoy'; color: var(--barro); font-weight: 600; filter: brightness(1.3); }
.map { position: relative; aspect-ratio: 1; border-radius: 28px; background: #3b2b22; overflow: hidden; background-image: linear-gradient(90deg, transparent 47%, #4d3a2e 47% 53%, transparent 53%), linear-gradient(0deg, transparent 47%, #4d3a2e 47% 53%, transparent 53%), linear-gradient(90deg, transparent 18%, #45342a 18% 21%, transparent 21% 78%, #45342a 78% 81%, transparent 81%), linear-gradient(0deg, transparent 20%, #45342a 20% 23%, transparent 23% 74%, #45342a 74% 77%, transparent 77%), radial-gradient(circle at 74% 26%, #4f6043 0 11%, transparent 11.5%); }
.map-pin { position: absolute; left: 53%; top: 47%; translate: 0 -100%; display: grid; justify-items: center; }
.map-pin span { background: var(--barro); color: #fff; padding: 9px 14px; border-radius: 12px; font: italic 600 17px/1 var(--serif); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); }
.map-pin::after { content: ''; width: 14px; height: 14px; background: var(--barro); transform: rotate(45deg); margin-top: -8px; }
.map-pin::before { content: ''; position: absolute; bottom: -14px; width: 16px; height: 16px; border-radius: 50%; background: rgba(196, 86, 47, .35); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(196, 86, 47, 0); } 0% { box-shadow: 0 0 0 0 rgba(196, 86, 47, .5); } }

/* Footer, mobile bar, dialog */
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px max(24px, calc((100vw - 1180px) / 2)); }
.site-footer p { max-width: 460px; font-size: 14px; color: var(--tostado); }
.footer-cta { font-weight: 600; border-bottom: 2px solid var(--barro); padding-bottom: 2px; }
.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; background: var(--espresso); color: var(--crema); border-radius: 999px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); font-weight: 600; font-size: 15px; }
.mobile-bar .btn { min-height: 42px; }
.wa-dialog { width: min(400px, calc(100vw - 32px)); border: 0; padding: 0; border-radius: 22px; overflow: hidden; background: #efeae2; box-shadow: 0 40px 90px rgba(0, 0, 0, .35); }
.wa-dialog::backdrop { background: rgba(30, 20, 15, .55); }
.wa-head { display: flex; align-items: center; gap: 12px; background: #075e54; color: #fff; padding: 14px 16px; }
.wa-head h2 { font: 600 16px/1.2 var(--sans); letter-spacing: 0; }
.wa-head small { opacity: .8; font-size: 12px; }
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--crema); color: var(--espresso); display: grid; place-items: center; font: italic 600 15px/1 var(--serif); }
.wa-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: 26px; }
.wa-chat { padding: 22px 16px; min-height: 180px; background: #efeae2 radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px) 0 0 / 14px 14px; }
.wa-bubble { margin-left: auto; max-width: 88%; background: #d9fdd3; border-radius: 12px 0 12px 12px; padding: 10px 12px 8px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.wa-bubble small { display: block; text-align: right; font-size: 11px; color: #667781; margin-top: 4px; }
.wa-foot { padding: 16px; background: #fff; display: grid; gap: 12px; font-size: 13px; color: #54656f; }

@media (max-width: 980px) {
  .hero, .origin-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero { gap: 50px; padding-top: 40px; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .bubble { left: -10px; }
  .stamp { right: 0; }
  .menu-layout { grid-template-columns: 1fr; }
  .order { position: static; }
  .site-header nav { display: none; }
  .open-badge { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap, .hero { width: min(100% - 32px, 1180px); }
  .site-header { padding: 12px 16px; gap: 12px; }
  .header-cta { display: none; }
  .logo { font-size: 21px; }
  .hero h1 { font-size: clamp(40px, 11vw, 52px); }
  .lede { font-size: 16px; }
  .hero-actions .btn { flex: 1; }
  .facts { grid-template-columns: 1fr 1fr; gap: 18px; }
  .menu, .origin, .visit { padding: 70px 0; }
  .item { grid-template-columns: 64px 1fr; padding: 10px; gap: 14px; }
  .item-photo { width: 64px; height: 64px; }
  .item h3 { font-size: 18px; }
  .item-buy { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding-left: 78px; }
  .origin-card { grid-template-columns: 1fr; }
  .mobile-bar:not([hidden]) { display: flex; }
  .site-footer { padding: 30px 16px 90px; }
}
