/* Mesa Viva — capa visual del proyecto 001. */
:root {
  --cream: #f7f0e5;
  --cream-light: #fffaf2;
  --ink: #201914;
  --terracotta: #b84e2f;
  --gold: #d8a45c;
  --olive: #69735a;
  --soft-line: rgba(66, 47, 35, .14);
  --restaurant-shadow: 0 24px 70px rgba(50, 33, 21, .12);
}

html { scroll-padding-top: 92px; }
body { overflow-x: clip; background: var(--cream); }
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: '';
  opacity: .26;
  background-image: radial-gradient(rgba(67, 45, 31, .13) .7px, transparent .7px);
  background-size: 9px 9px;
  pointer-events: none;
}

.container { width: min(1180px, calc(100% - 40px)); }
.announcement { color: #fff7ee; background: var(--terracotta); letter-spacing: .02em; }
.announcement .container { justify-content: center; gap: 18px; }
.announcement a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.site-header {
  border-bottom: 1px solid var(--soft-line);
  background: rgba(255, 250, 242, .92);
  box-shadow: 0 8px 30px rgba(42, 28, 19, .05);
  backdrop-filter: blur(16px);
}
.site-header__inner { min-height: 80px; }
.brand { gap: 11px; }
.brand > span {
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 8px 50%;
  color: #fff;
  background: var(--terracotta);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.brand strong { font-family: Georgia, serif; font-size: 1.25rem; letter-spacing: -.025em; }
.site-nav { gap: 4px; }
.site-nav a { padding: 10px 11px; border-radius: 999px; font-size: .82rem; font-weight: 720; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--terracotta); background: rgba(184,78,47,.08); }
.header-cta { border-radius: 999px; }

.section { padding-block: clamp(72px, 8vw, 118px); }
.section:nth-child(even) { background: rgba(255, 253, 248, .56); }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading h2, .split__content h2, .standalone-form h2, .cta h2 { font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.04; letter-spacing: -.045em; }
.eyebrow { color: var(--terracotta); font-size: .69rem; letter-spacing: .18em; }
.button { border-radius: 999px; box-shadow: 0 14px 30px rgba(184,78,47,.18); }
.button:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(184,78,47,.24); }
.button--ghost { color: var(--ink); border-color: rgba(32,25,20,.2); background: rgba(255,255,255,.62); box-shadow: none; }

.hero { position: relative; overflow: hidden; min-height: 660px; padding-block: clamp(70px, 8vw, 120px); background: var(--ink); }
.hero::before { position: absolute; inset: 0; content: ''; opacity: .5; background: radial-gradient(circle at 14% 20%, rgba(216,164,92,.18), transparent 33%), linear-gradient(115deg, rgba(184,78,47,.14), transparent 45%); }
.hero .container { position: relative; }
.hero__grid { min-height: 480px; gap: clamp(32px, 6vw, 84px); }
.hero__content { color: #fff8ee; }
.hero__content .eyebrow { color: #e9b777; }
.hero__content h1 { max-width: 720px; font-size: clamp(3.5rem, 7vw, 6.6rem); line-height: .91; letter-spacing: -.065em; text-wrap: balance; }
.hero__lead { max-width: 620px; color: rgba(255,248,238,.74); font-size: clamp(1rem, 1.8vw, 1.25rem); }
.hero__visual { position: relative; }
.hero__visual::before { position: absolute; inset: -14px 26px 26px -14px; content: ''; border: 1px solid rgba(231,183,119,.36); border-radius: 46% 46% 10px 46%; }
.hero__visual img { position: relative; width: 100%; height: min(560px, 56vw); min-height: 420px; border-radius: 46% 46% 10px 46%; object-fit: cover; box-shadow: var(--restaurant-shadow); }
.hero--centered { min-height: 470px; text-align: center; }
.hero--centered .hero__grid { min-height: 300px; }
.hero--centered .hero__content { max-width: 900px; margin-inline: auto; }
.hero--centered .hero__content h1, .hero--centered .hero__lead { margin-inline: auto; }
.hero--centered .actions { justify-content: center; }
.hero--centered .hero__visual { display: none; }

.trust { position: relative; z-index: 2; padding-block: 0; background: transparent !important; }
.trust .container { margin-top: -44px; }
.trust__grid { gap: 0; overflow: hidden; border: 1px solid var(--soft-line); border-radius: 22px; background: var(--cream-light); box-shadow: var(--restaurant-shadow); }
.trust__grid article { min-height: 170px; padding: 28px; border-right: 1px solid var(--soft-line); }
.trust__grid article:last-child { border-right: 0; }
.trust__grid span { color: var(--terracotta); background: rgba(184,78,47,.1); }

.product-grid { gap: 18px; }
.menu-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 28px; }
.menu-filters button { min-height: 42px; padding: 0 16px; border: 1px solid var(--soft-line); border-radius: 999px; color: var(--muted); background: var(--cream-light); font-weight: 780; cursor: pointer; }
.menu-filters button:hover, .menu-filters button.is-active { border-color: var(--terracotta); color: #fff; background: var(--terracotta); }
.product-card[hidden] { display: none; }
.product-card { overflow: hidden; border: 1px solid var(--soft-line); border-radius: 20px; background: var(--cream-light); box-shadow: 0 16px 45px rgba(55,35,22,.07); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 25px 55px rgba(55,35,22,.13); }
.product-card__media { overflow: hidden; aspect-ratio: 4/3; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__body { padding: 22px; }
.product-card__body small { color: var(--terracotta); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.product-card__body h3 { margin-top: 8px; font-size: 1.35rem; }
.product-card__body strong { font-family: Georgia, serif; color: var(--terracotta); font-size: 1.2rem; }

.split__grid { gap: clamp(38px, 7vw, 96px); }
.split__visual { position: relative; }
.split__visual::after { position: absolute; right: -18px; bottom: -18px; z-index: -1; width: 55%; height: 55%; content: ''; border-radius: 10px 10px 50% 10px; background: rgba(216,164,92,.23); }
.split__visual img { min-height: 540px; border-radius: 12px 48% 12px 12px; object-fit: cover; box-shadow: var(--restaurant-shadow); }
.split__grid--reverse .split__visual img { border-radius: 48% 12px 12px 12px; }
.split__content .prose { color: var(--muted); font-size: 1.03rem; }
.check-list li::before { color: var(--terracotta); background: rgba(184,78,47,.1); }

.gallery__grid { gap: 14px; }
.gallery__grid figure { overflow: hidden; min-height: 360px; border-radius: 20px; box-shadow: 0 15px 42px rgba(48,31,20,.1); }
.gallery__grid img { height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__grid figure:hover img { transform: scale(1.035); }
.gallery__grid figcaption { color: #fff; background: linear-gradient(transparent, rgba(20,15,12,.88)); }

.card-grid { gap: 16px; }
.card { overflow: hidden; border-color: var(--soft-line); border-radius: 19px; background: var(--cream-light); box-shadow: 0 12px 36px rgba(54,34,20,.055); }
.card__image { aspect-ratio: 16/10; object-fit: cover; }
.card__body { padding: 24px; }
.card__body small { color: var(--terracotta); font-weight: 850; }
.card__icon { color: var(--terracotta); background: rgba(184,78,47,.1); }
.text-link { color: var(--terracotta); }

.steps__grid article, .timeline__item { border-color: var(--soft-line); background: var(--cream-light); }
.steps__grid article > span { color: #fff; background: var(--terracotta); }
.faq details { border-color: var(--soft-line); background: var(--cream-light); }
.faq summary { font-family: Georgia, serif; font-size: 1.08rem; }

.cta { color: #fff8ee; background: var(--terracotta) !important; }
.cta::before { position: absolute; inset: 0; content: ''; opacity: .16; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 12px 12px; }
.cta .container { position: relative; }
.cta .button { color: var(--terracotta); background: #fff8ee; border-color: #fff8ee; }

.standalone-form__panel { max-width: 860px; border: 1px solid var(--soft-line); border-radius: 24px; background: var(--cream-light); box-shadow: var(--restaurant-shadow); }
.standalone-form form { gap: 18px; }
.standalone-form input, .standalone-form textarea, .contact input, .contact textarea, .newsletter input { border-color: var(--soft-line); border-radius: 12px; background: #fff; }
.standalone-form label { color: var(--ink); font-weight: 760; }

.text-section__content { max-width: 820px; padding: clamp(28px, 5vw, 68px); border: 1px solid var(--soft-line); border-radius: 22px; background: var(--cream-light); box-shadow: 0 16px 50px rgba(55,35,22,.06); }
.text-section__content > h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.05em; }
.prose h2 { margin-top: 2em; color: var(--ink); }
.prose p { color: var(--muted); }

.map__canvas { border-color: var(--soft-line); background: linear-gradient(135deg, #ebe0d3, #f8f3eb); }
.map__pin { color: var(--terracotta); }
.newsletter { background: var(--olive) !important; color: #fff; }
.newsletter .eyebrow { color: #f0c78e; }

.site-footer { padding-top: 78px; color: rgba(255,248,238,.72); background: var(--ink); }
.site-footer h2, .site-footer .brand strong { color: #fff8ee; }
.site-footer a:hover { color: #e7b777; }
.site-footer__bottom { border-color: rgba(255,255,255,.1); }
.whatsapp { right: 24px; bottom: 24px; width: 58px; height: 58px; background: #376c55; box-shadow: 0 16px 35px rgba(24,51,39,.28); }

@media (max-width: 900px) {
  .site-nav { padding: 12px; border: 1px solid var(--soft-line); border-radius: 16px; background: var(--cream-light); box-shadow: var(--restaurant-shadow); }
  .site-nav a { padding: 12px; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content h1 { font-size: clamp(3.2rem, 13vw, 5.4rem); }
  .hero__visual img { height: 62vw; min-height: 390px; }
  .trust .container { margin-top: -20px; }
  .trust__grid { grid-template-columns: repeat(2,1fr); }
  .trust__grid article { border-bottom: 1px solid var(--soft-line); }
  .split__visual img { min-height: 440px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .announcement .container { justify-content: space-between; font-size: .72rem; }
  .site-header__inner { min-height: 70px; }
  .brand > span { width: 38px; height: 38px; }
  .brand strong { font-size: 1.05rem; }
  .section { padding-block: 64px; }
  .hero { padding-top: 52px; }
  .hero__content h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero__visual img { height: 94vw; min-height: 360px; }
  .hero__visual::before { inset: -8px 14px 14px -8px; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__grid article { min-height: auto; border-right: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .split__visual img { min-height: 360px; }
  .gallery__grid figure { min-height: 300px; }
  .whatsapp { right: 16px; bottom: 16px; }
}
