:root {
  --valle-pine: #152a20;
  --valle-night: #102319;
  --valle-gold: #e5bc76;
  --valle-ivory: #faf5e9;
  --valle-rule: #d8ceba;
  --valle-gutter: max(5vw, calc((100vw - 1280px) / 2));
  --valle-header: 76px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.announcement {
  height: auto;
  min-height: 38px;
  gap: 10px;
  padding: 0 max(12px, 2vw);
  background: var(--valle-night);
  color: var(--valle-ivory);
  border-bottom: 1px solid #e5bc7645;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .09em;
}

.announcement-window { flex: 1; min-width: 0; }
.announcement-track { padding: 8px 0; }
.announcement-track b { color: var(--valle-gold); }
.announcement-echo { display: none; }
.announcement-toggle[hidden] { display: none; }
.announcement-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border: 1px solid #e5bc7660;
  border-radius: 4px;
  background: transparent;
  color: var(--valle-gold);
  cursor: pointer;
}
.announcement-toggle:hover { background: #e5bc7620; }
.announcement-toggle:focus-visible { outline-offset: 2px; }
.announcement-toggle svg { width: 16px; height: 16px; fill: currentColor; stroke: currentColor; stroke-width: 1.6; }
.announcement-toggle .announcement-play,
.announcement-toggle[aria-pressed="true"] .announcement-pause { display: none; }
.announcement-toggle[aria-pressed="true"] .announcement-play { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .announcement-window {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 16px), transparent);
  }
  .announcement-track[data-ready] { display: flex; width: max-content; animation: announcement-scroll var(--announcement-duration, 20s) linear infinite; }
  .announcement-track[data-ready] .announcement-echo { display: flex; }
  .announcement-track[data-ready] .announcement-copy { display: block; flex: none; white-space: nowrap; padding-right: 2rem; }
  .announcement-paused .announcement-track { animation-play-state: paused; }
  @keyframes announcement-scroll { to { transform: translateX(var(--announcement-distance, 0px)); } }
}

@media (prefers-reduced-motion: reduce) {
  .announcement-toggle { display: none; }
}

.site-header {
  height: var(--valle-header);
  padding: 8px var(--valle-gutter);
  gap: clamp(12px, 1.65vw, 25px);
  background: var(--valle-ivory);
  color: var(--valle-pine);
}
.site-header .brand { display: flex; align-items: center; gap: 9px; flex: none; }
.site-header .brand::after { display: none !important; }
.site-header .brand img { width: 52px !important; height: 52px !important; object-fit: cover; border-radius: 50%; }
.brand-name { font: 800 1.12rem/1.05 'Playfair Display', Georgia, serif; white-space: nowrap; }
.brand-name small { display: block; margin-top: 5px; font: 800 .55rem/1 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: .16em; }
.site-header .main-nav { gap: clamp(12px, 1.4vw, 22px); font-size: .72rem; }
.site-header .main-nav a { font-weight: 800; }
.site-header .header-lang { display: inline-flex; flex: none; border: 1px solid #c9cdbd; border-radius: 5px; }
.site-header .header-lang button { padding: 5px 7px; color: var(--valle-pine); font-size: .65rem; }
.site-header .header-lang button.active { color: white; background: var(--valle-pine); }
.site-header .header-lang button:not(.active):hover { color: var(--valle-pine); background: #e9e1ce; }
.site-header .header-cta { min-width: 0; padding: 8px 13px; font-size: .7rem; line-height: 1.3; white-space: nowrap; }
.site-header .header-cta .wa-icon { display: none; }
.site-header .header-cta small { font-size: .64rem; }
section[id] { scroll-margin-top: calc(var(--valle-header) + 8px); }

.hero {
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  min-height: 0;
  background: radial-gradient(ellipse at 10% 100%, #264033 0, transparent 64%), var(--valle-night);
  border-bottom: 1px solid #e5bc7660;
}
.hero-copy {
  max-width: none;
  width: auto;
  margin: 0;
  align-self: center;
  padding: clamp(36px, 5.5vw, 78px) clamp(24px, 4vw, 68px) clamp(36px, 5.5vw, 78px) var(--valle-gutter);
}
.hero-copy .eyebrow { font-size: .69rem; line-height: 1.4; letter-spacing: .16em; color: var(--valle-gold); }
.hero .valle-title {
  margin: 15px 0 16px;
  color: var(--valle-ivory);
  font-size: clamp(3rem, 6vw, 6.6rem);
  line-height: .98;
  text-shadow: none;
  animation: none;
}
.hero .valle-title em { display: block; color: var(--valle-gold); font-weight: inherit; }
.hero .hero-lead { margin: 0; max-width: 36ch; font-size: clamp(.94rem, 1.2vw, 1.13rem); line-height: 1.55; animation: none; }
.hero .hero-actions { flex-direction: row; align-items: center; gap: 10px; margin: 22px 0; animation: none; }
.hero .hero-actions .btn { padding: 11px 15px; font-size: .8rem; box-shadow: none; }
.hero .hero-actions .btn:hover { transform: translateY(-2px); }
.hero .hero-actions .btn-outline:hover { background: var(--valle-ivory); color: var(--valle-pine); }
.hero .hero-location {
  position: static;
  display: inline-grid;
  grid-template-columns: 22px auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 0;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-width: 0;
  backdrop-filter: none;
}
.hero-location svg { grid-row: span 2; width: 22px; color: var(--valle-gold); }
.hero-location strong { font-size: .85rem; font-weight: 800; }
.hero-location small { font-size: .74rem; color: #dadfd2; }
.hero-location:hover small { text-decoration: underline; }
.hero-media {
  position: relative;
  min-width: 0;
  min-height: 300px;
  margin: 12px 12px 12px 0;
  background: var(--valle-pine) url('el-valle-uber.webp') center / cover no-repeat;
}
.hero-food-video { object-position: 54% center; opacity: 1; }
.hero-media .video-toggle { z-index: 1; right: 12px; bottom: 12px; padding: 6px 11px; background: #102319ee; color: var(--valle-ivory); font-size: .71rem; }

.quick-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
  padding: 0 var(--valle-gutter);
  background: var(--valle-ivory);
  border-bottom: 1px solid var(--valle-rule);
}
.quick-bar article {
  align-items: center;
  gap: 11px;
  padding: 18px clamp(11px, 1.5vw, 23px);
  border-color: var(--valle-rule);
}
.quick-bar article:first-of-type { padding-left: 0; }
.quick-bar article:nth-of-type(n+3) { padding: 0; }
.quick-bar article a { display: flex; align-items: center; gap: 10px; width: 100%; height: 100%; padding: 18px clamp(11px, 1.5vw, 23px); }
.quick-bar article a:hover { background: #eee5d2; }
.quick-bar svg { flex: none; width: 34px; color: #866037; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.quick-bar h3 { margin: 0 0 3px; color: var(--valle-pine); font: 800 clamp(1rem, 1.5vw, 1.3rem)/1.18 'Playfair Display', Georgia, serif; }
.quick-bar p { margin: 0; color: #4d5b4f; font-size: .76rem; line-height: 1.4; }
.quick-bar a > span { margin-left: auto; color: #79562d; }

.delivery-strip {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr);
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  padding: 28px var(--valle-gutter);
  background: #f0ebde;
  border-color: var(--valle-rule);
}
.delivery-head { margin: 0; }
.delivery-head h2 { font-size: clamp(1.4rem, 2.05vw, 2rem); }
.delivery-head .eyebrow { font-size: .65rem; margin: 0 0 5px; }
.delivery-head p { font-size: .8rem; line-height: 1.45; }
.delivery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.delivery-grid .delivery-card { gap: 8px; padding: 11px; border-radius: 5px; border-color: var(--valle-rule); box-shadow: none; }
.delivery-card strong { font-size: .96rem; }
.delivery-card .delivery-mark { width: 35px; height: 35px; flex: 0 0 35px; }

.section { padding: clamp(34px, 5vw, 68px) var(--valle-gutter); }
.story-section { gap: clamp(22px, 5vw, 72px); background: #fffdf6; }
.story-media { margin: 0; background: var(--valle-pine); }
.story-media > img { height: clamp(225px, 26vw, 360px); border-radius: 0; box-shadow: none; object-position: center 56%; }
.story-media figcaption { padding: 8px 15px; color: var(--valle-gold); text-transform: uppercase; font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.valle-food-feature > img { height: clamp(225px, 34vw, 480px); }
.food-detail { height: clamp(110px, 16vw, 200px); }

@media (min-width: 1051px) {
  .site-header .header-cta { display: inline-flex; }
}

@media (max-width: 1050px) {
  :root { --valle-header: 66px; }
  .site-header .main-nav { top: 100%; }
  .site-header .menu-toggle { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin: 0; color: var(--valle-pine); cursor: pointer; }
  .menu-toggle svg { width: 24px; height: 24px; }
  .delivery-strip { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 24px var(--valle-gutter) 20px; }
  .hero .valle-title { font-size: clamp(2.85rem, 10vw, 4.75rem); margin: 10px 0 12px; }
  .hero .valle-title em { display: inline; }
  .hero .hero-actions { margin: 14px 0; }
  .hero-media { min-height: 0; aspect-ratio: 16 / 8; margin: 0 var(--valle-gutter) 12px; }
  .quick-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-bar article:nth-of-type(2) { border-right: 0; }
  .quick-bar article:nth-of-type(n+3) { border-top: 1px solid var(--valle-rule); }
  .quick-bar article:nth-of-type(3) a { padding-left: 0; }
  .quick-bar article, .quick-bar article a { padding-block: 13px; }
  .quick-bar svg { width: 27px; }
  .quick-bar p { font-size: .72rem; }
  .story-section { grid-template-columns: 1fr; }
  .story-media { order: 1; }
  .food-detail-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
  .food-detail span { padding: 6px; font-size: .75rem; line-height: 1.25; overflow-wrap: anywhere; }
}

@media (max-width: 580px) {
  .delivery-grid { grid-template-columns: 1fr; }
  .delivery-grid .delivery-card { padding: 7px 12px; }
  .delivery-card .delivery-mark { width: 29px; height: 29px; flex-basis: 29px; }
  .delivery-card .delivery-mark svg { width: 18px; height: 18px; }
  .wa-concierge { bottom: calc(66px + env(safe-area-inset-bottom)); width: 46px; height: 46px; display: grid; place-items: center; padding: 0; }
  .wa-concierge > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

@media (max-width: 360px) {
  .site-header { gap: 8px; }
  .site-header .header-lang button { padding-inline: 5px; }
  .site-header .brand img { width: 38px !important; height: 38px !important; }
  .brand-name { font-size: .94rem; }
  .quick-bar article, .quick-bar article a { gap: 7px; }
  .quick-bar a > span { display: none; }
}

@media print {
  .quick-bar, .delivery-strip { display: none !important; }
}
