/* site-safety */
/* Taberna Siete Tejas. Cal, terracota, verde botella y ocre. Azulejos pintados a mano. */
:root {
  --cal: #f8f1e4;
  --cal-2: #f0e4cf;
  --cal-3: #e7d5b6;
  --ink: #26170f;
  --ink-soft: #5a4334;
  --terra: #b0452a;
  --terra-2: #d0663f;
  --terra-tint: #f3d3c0;
  --verde: #1d4a3a;
  --verde-2: #2f6b52;
  --verde-tint: #d5e3d7;
  --ocre: #e3a33b;
  --ocre-tint: #f7e2b6;
  --tile-flor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='w' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045' numOctaves='2' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Crect width='80' height='80' fill='%23f8f1e4'/%3E%3Cg filter='url(%23w)'%3E%3Cg fill='%231d4a3a'%3E%3Cpath d='M0 0h20a20 20 0 0 1-20 20z'/%3E%3Cpath d='M80 0v20a20 20 0 0 1-20-20z'/%3E%3Cpath d='M0 80v-20a20 20 0 0 1 20 20z'/%3E%3Cpath d='M80 80h-20a20 20 0 0 1 20-20z'/%3E%3C/g%3E%3Cg fill='%23b4492b'%3E%3Cpath d='M40 13c8 9 8 18 0 27-8-9-8-18 0-27z'/%3E%3Cpath d='M40 67c8-9 8-18 0-27-8 9-8 18 0 27z'/%3E%3Cpath d='M13 40c9-8 18-8 27 0-9 8-18 8-27 0z'/%3E%3Cpath d='M67 40c-9-8-18-8-27 0 9 8 18 8 27 0z'/%3E%3C/g%3E%3Ccircle cx='40' cy='40' r='5' fill='%23e3a33b'/%3E%3Cg fill='%23e3a33b'%3E%3Ccircle cx='40' cy='0' r='4'/%3E%3Ccircle cx='40' cy='80' r='4'/%3E%3Ccircle cx='0' cy='40' r='4'/%3E%3Ccircle cx='80' cy='40' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --tile-estrella: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='w' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045' numOctaves='2' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Crect width='80' height='80' fill='%23f8f1e4'/%3E%3Cg filter='url(%23w)'%3E%3Cg fill='%231d4a3a'%3E%3Cpath d='M22 22h36v36H22z'/%3E%3Cpath d='M40 14.5 65.5 40 40 65.5 14.5 40z'/%3E%3C/g%3E%3Ccircle cx='40' cy='40' r='9' fill='%23f8f1e4'/%3E%3Ccircle cx='40' cy='40' r='5' fill='%23b4492b'/%3E%3Cg fill='%23e3a33b'%3E%3Ccircle r='12'/%3E%3Ccircle cx='80' r='12'/%3E%3Ccircle cy='80' r='12'/%3E%3Ccircle cx='80' cy='80' r='12'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --tile-ola: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='w' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045' numOctaves='2' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Crect width='80' height='80' fill='%23f8f1e4'/%3E%3Cg filter='url(%23w)'%3E%3Cg fill='none' stroke-width='6' stroke-linecap='round'%3E%3Cpath d='M-4 22q11-12 22 0t22 0t22 0t22 0' stroke='%23b4492b'/%3E%3Cpath d='M-4 48q11-12 22 0t22 0t22 0t22 0' stroke='%231d4a3a'/%3E%3Cpath d='M-4 74q11-12 22 0t22 0t22 0t22 0' stroke='%23e3a33b'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --tile-verde: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cfilter id='w' x='-5%25' y='-5%25' width='110%25' height='110%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.045' numOctaves='2' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='2.6'/%3E%3C/filter%3E%3Crect width='80' height='80' fill='%231d4a3a'/%3E%3Cg filter='url(%23w)'%3E%3Cg fill='none' stroke='%232f6b52' stroke-width='3'%3E%3Cpath d='M40 8 72 40 40 72 8 40z'/%3E%3Ccircle cx='40' cy='40' r='10'/%3E%3C/g%3E%3Cg fill='%23e3a33b' opacity='.8'%3E%3Ccircle cx='40' cy='40' r='3.5'/%3E%3Ccircle r='5'/%3E%3Ccircle cx='80' r='5'/%3E%3Ccircle cy='80' r='5'/%3E%3Ccircle cx='80' cy='80' r='5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r-xl: 44px;
  --r-lg: 30px;
  --r-md: 20px;
  --gutter: clamp(1.1rem, 4.5vw, 4rem);
  --shadow: 0 30px 60px -30px rgba(60, 28, 12, .45), 0 10px 22px -14px rgba(60, 28, 12, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html, body { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  background: var(--cal);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.02; letter-spacing: -.01em; }
p { margin: 0; }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -.14em; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--ink); color: var(--cal); padding: .75rem 1.1rem; border-radius: 14px; }
:focus { outline: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--terra-2) 60%, transparent); outline-offset: 3px; border-radius: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra);
}
.eyebrow .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--ocre); }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .3s;
  color: var(--cal);
}
.top.scrolled, .top.light {
  color: var(--ink);
}
.top.scrolled{background:color-mix(in srgb, var(--cal) 86%, transparent);backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2);box-shadow:0 8px 24px rgb(60 28 12 / 0.08)}
.brand {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: .6rem; min-height: 48px;
  font-family: var(--serif); font-size: 1.5rem; text-decoration: none; line-height: 1;
}
.brand-mark { width: 44px; height: 44px; flex: none; transition: transform .6s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand em { color: var(--ocre); }
.top.scrolled .brand em, .top.light .brand em { color: var(--terra); }

.menu-toggle {
  position: relative; z-index: 2;
  width: 48px; height: 48px; margin-right: -10px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; color: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle line { stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; transform-origin: 12px 12px; transition: transform .45s var(--spring), opacity .25s; }
.menu-toggle[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .l2 { opacity: 0; transform: scaleX(.2); }
.menu-toggle[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }
.menu-open .top { color: var(--cal); }

#nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; gap: .2rem;
  padding: 6rem var(--gutter) 3rem;
  background: var(--terra);
  background-image: linear-gradient(var(--terra), var(--terra)), var(--tile-flor);
  background-size: 100% calc(100% - 64px), 64px 64px;
  background-repeat: no-repeat, repeat-x;
  background-position: top, bottom;
  color: var(--cal);
  clip-path: circle(0 at calc(100% - 2.6rem) 2.6rem);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
#nav.open { clip-path: circle(150% at calc(100% - 2.6rem) 2.6rem); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
#nav a {
  font-family: var(--serif); font-size: clamp(2.8rem, 13vw, 4.2rem); line-height: 1.08; text-decoration: none;
  min-height: 48px; display: inline-flex; align-items: center; gap: .8rem; align-self: flex-start;
  opacity: 0; transform: translateY(18px);
  transition: opacity .4s, transform .6s var(--spring), color .2s;
}
#nav.open a { opacity: 1; transform: none; }
#nav.open a:nth-child(2) { transition-delay: .05s; }
#nav.open a:nth-child(3) { transition-delay: .1s; }
#nav.open a:nth-child(4) { transition-delay: .15s; }
#nav a[aria-current="page"] { font-style: italic; color: var(--ocre-tint); }
#nav a:hover { color: var(--ocre-tint); }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  #nav {
    position: static; clip-path: none; visibility: visible; background: none; padding: 0; color: inherit;
    flex-direction: row; align-items: center; gap: .3rem; transition: none;
  }
  #nav a { font-family: var(--sans); font-size: 1rem; font-weight: 600; opacity: 1; transform: none; padding: 0 1.05rem; border-radius: 999px; align-self: auto; transition: background .3s, transform .45s var(--spring), color .2s; }
  #nav a:hover { background: color-mix(in srgb, currentColor 12%, transparent); color: inherit; transform: translateY(-2px) rotate(-1.5deg); }
  #nav a[aria-current="page"] { font-style: normal; color: inherit; background: color-mix(in srgb, var(--ocre) 30%, transparent); }
  #nav .nav-cta { background: var(--ocre); color: var(--ink); margin-left: .4rem; padding: 0 1.4rem; }
  #nav .nav-cta:hover { background: var(--cal); color: var(--ink); }
  #nav .nav-cta[aria-current="page"] { background: var(--cal); color: var(--terra); }
  .top.scrolled #nav .nav-cta[aria-current="page"] { background: var(--terra); color: var(--cal); }
}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:56px;padding:0 1.9rem;border:0;border-radius:999px;font:700 1.05rem/1 var(--sans);text-decoration:none;cursor:pointer;background:var(--terra);color:var(--cal);box-shadow:0 8px 24px rgb(176 69 42 / 0.08);transition:transform .5s var(--spring), background .3s}
.btn:hover { transform: translateY(-3px) rotate(-1.5deg) scale(1.03); background: var(--verde); }
.btn:active { transform: scale(.96); }
.btn .icon { transition: transform .45s var(--spring); }
.btn:hover .icon { transform: translateX(5px); }
.btn-ocre{background:var(--ocre);color:var(--ink);box-shadow:0 8px 24px rgb(150 100 20 / 0.08)}
.btn-ocre:hover { background: var(--cal); }

.star-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 2rem; border-radius: 999px;
  background: var(--terra); color: var(--cal); font-weight: 700; font-size: 1.08rem; text-decoration: none;
}
.star-cta[data-ai-code-use-state="ready"] { background: none; padding: 0; min-height: 0; }
.star-cta .star-border{min-height:58px;padding:0 2.1rem;font-weight:700;font-size:1.08rem;box-shadow:0 8px 24px rgb(17 24 39 / 0.08);transition:transform .5s var(--spring)}
.star-cta .star-border:hover { transform: translateY(-3px) rotate(-1.5deg) scale(1.03); }
.star-cta .star-border:active { transform: scale(.96); }

.text-link {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  font-weight: 700; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px;
  transition: background-size .5s var(--ease);
}
.text-link:hover { background-size: 100% 2px; }
.text-link .icon { transition: transform .45s var(--spring); }
.text-link:hover .icon { transform: translateX(6px); }

/* ---------- Hero: the tiled wall and its sign ---------- */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--verde);
  background-image: var(--tile-verde);
  background-size: 72px 72px;
  color: var(--cal);
  padding: 6.2rem var(--gutter) 3.2rem;
  display: grid; gap: 2rem; justify-items: center; text-align: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, rgba(14, 40, 30, .62) 0, rgba(14, 40, 30, .42) 55%, rgba(8, 26, 19, .7) 100%);
}
.hero > * { position: relative; z-index: 1; }
.sign{position:relative;width:min(100%, 780px);padding:22px;background-image:var(--tile-flor);background-size:44px 44px;border-radius:34px;box-shadow:0 8px 24px rgb(17 24 39 / 0.08);transform:rotate(-1.2deg);transition:transform .8s var(--spring)}
.sign:hover { transform: rotate(0deg) scale(1.01); }
.sign-inner {
  background: var(--cal); color: var(--ink); border-radius: 20px;
  padding: clamp(1.6rem, 6vw, 3.4rem) clamp(1rem, 5vw, 3rem) clamp(1.4rem, 5vw, 2.8rem);
  background-image: radial-gradient(circle at 50% 0, var(--ocre-tint), transparent 60%);
}
.sign .tejas { width: clamp(150px, 40vw, 230px); margin: 0 auto .6rem; display: block; }
.sign .kicker { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 5vw, 2.2rem); color: var(--terra); line-height: 1; }
.sign h1 { font-size: clamp(3.9rem, 19vw, 9.6rem); line-height: .9; margin: .2rem 0 .3em; color: var(--verde); }
.sign h1 span { display: block; color: var(--terra); font-style: italic; }
.sign .sub { font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: clamp(.72rem, 2.6vw, .9rem); color: var(--ink-soft); display: flex; justify-content: center; flex-wrap: wrap; gap: .3rem 1rem; }
.sign .sub span { display: inline-flex; align-items: center; gap: 1rem; }
.sign .sub span + span::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--ocre); }
.hero-lede { max-width: 34rem; font-size: 1.12rem; color: color-mix(in srgb, var(--cal) 90%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.6rem; }
.hero .text-link { color: var(--cal); }
.open-now { display: inline-flex; align-items: center; gap: .55rem; background: rgba(0, 0, 0, .22); border-radius: 999px; padding: .45rem 1rem; font-size: .95rem; }
.open-now .pulse { width: .6rem; height: .6rem; border-radius: 50%; background: var(--ocre); box-shadow: 0 0 0 0 rgba(227, 163, 59, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(227, 163, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(227, 163, 59, 0); } }
@media (min-width: 900px) { .hero { padding-top: 7.5rem; min-height: 100svh; align-content: center; } }

/* ---------- Ribbon ---------- */
.ribbon { position: relative; overflow: hidden; height: clamp(150px, 22vw, 300px); display: flex; align-items: center; justify-content: center; z-index: 2; }
.ribbon [data-ai-code-use] { width: 100%; min-height: 110px; display: flex; align-items: center; justify-content: center; font: 700 1.2rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--terra); padding: 0 var(--gutter); text-align: center; }
.ribbon [data-ai-code-use-state="ready"] { padding: 0; height: 100%; display: block; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 10vw, 8rem) var(--gutter); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head h2 { font-size: clamp(2.6rem, 11vw, 5.4rem); margin-top: .6rem; text-wrap: balance; }
.section-head h2 em { color: var(--terra); }
.section-head p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-soft); max-width: 38rem; font-size: 1.1rem; }

/* La barra */
.barra { display: grid; gap: 2.4rem; align-items: center; }
.barra-art { width: 100%; max-width: 640px; justify-self: center; }
.barra-art svg { width: 100%; height: auto; display: block; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 2.5vw, 1.2rem); margin-top: 2rem; }
.tile-btn {
  appearance: none; border: 0; padding: 0; background: none; cursor: pointer; text-align: center; color: inherit; font: inherit;
  display: grid; gap: .6rem; justify-items: center;
}
.tile-btn .t{width:100%;aspect-ratio:1;border-radius:16px;display:block;background-size:100% 100%;box-shadow:inset 0 0 0 4px rgba(255, 255, 255, .35),0 8px 24px rgb(60 28 12 / 0.08);transition:transform .7s var(--spring);transform:rotate(var(--rot, 0deg))}
.tile-btn:hover .t { transform: rotate(var(--rot, 0deg)) translateY(-6px) scale(1.04); }
.tile-btn:active .t { transform: rotate(var(--rot, 0deg)) scale(.95); }
.tile-btn strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.1rem, 4vw, 1.5rem); line-height: 1.1; }
.tile-btn small { display: block; font-size: .85rem; color: var(--ink-soft); }
.t-flor { background-image: var(--tile-flor); }
.t-estrella { background-image: var(--tile-estrella); }
.t-ola { background-image: var(--tile-ola); }
.tiles-hint { margin-top: 1rem; font-size: .92rem; color: var(--ink-soft); }
@media (min-width: 960px) { .barra { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }

/* Para picar */
.picar { background: var(--cal-2); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.bento { display: grid; gap: 1rem; }
.dish {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 1.6rem 1.5rem 1.4rem;
  background: var(--cal); display: flex; flex-direction: column; gap: .5rem; min-height: 13rem;
  transition: transform .6s var(--spring), box-shadow .4s;
}
.dish:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow); }
.dish h3 { font-size: clamp(1.7rem, 6vw, 2.3rem); }
.dish p { color: var(--ink-soft); }
.dish .price { margin-top: auto; font-family: var(--serif); font-size: 1.6rem; color: var(--terra); }
.dish .kind { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--verde-2); }
.dish svg.dish-art { width: 96px; height: 96px; position: absolute; right: 1rem; top: 1rem; transition: transform .7s var(--spring); }
.dish:hover svg.dish-art { transform: rotate(-12deg) scale(1.08); }
.dish-hero { background: var(--terra); color: var(--cal); min-height: 20rem; }
.dish-hero p, .dish-hero .kind { color: color-mix(in srgb, var(--cal) 86%, transparent); }
.dish-hero .price { color: var(--ocre-tint); font-size: 2.2rem; }
.dish-hero h3 { font-size: clamp(2.2rem, 9vw, 3.4rem); max-width: 10ch; }
.dish-hero svg.dish-art { width: 150px; height: 150px; }
.dish-green { background: var(--verde); color: var(--cal); }
.dish-green p, .dish-green .kind { color: color-mix(in srgb, var(--cal) 84%, transparent); }
.dish-green .price { color: var(--ocre); }
.dish-tile { background-image: var(--tile-ola); background-size: 56px 56px; justify-content: flex-end; }
.dish-tile .card-note { background: var(--cal); border-radius: var(--r-md); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.dish-tile .card-note p { color: var(--ink); font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; }
.dish h3, .dish .kind, .dish > p:not(.price) { max-width: calc(100% - 96px); }
.dish-hero h3, .dish-hero .kind, .dish-hero > p:not(.price) { max-width: calc(100% - 120px); }
.dish-tile > * { max-width: none !important; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .dish-hero { grid-column: span 3; grid-row: span 2; }
  .dish-a, .dish-b { grid-column: span 3; }
  .dish-c, .dish-tile, .dish-d { grid-column: span 2; }
  .dish-hero h3, .dish-hero .kind, .dish-hero > p:not(.price) { max-width: calc(100% - 150px); }
}

/* Vermut band */
.vermut {
  position: relative; overflow: hidden;
  background: var(--verde); color: var(--cal);
  display: grid; gap: 2rem; align-items: center;
  padding: clamp(4rem, 10vw, 7rem) var(--gutter);
}
.vermut::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 34px; background-image: var(--tile-estrella); background-size: 34px 34px; }
.vermut h2 { font-size: clamp(2.8rem, 12vw, 6rem); }
.vermut h2 em { color: var(--ocre); }
.vermut p { color: color-mix(in srgb, var(--cal) 86%, transparent); max-width: 32rem; margin-top: 1rem; font-size: 1.1rem; }
.vermut .stamp { display: inline-flex; align-items: baseline; gap: .6rem; margin-top: 1.6rem; background: var(--ocre); color: var(--ink); padding: .7rem 1.3rem; border-radius: 18px; transform: rotate(-2deg); font-weight: 700; }
.vermut .stamp b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.glass { width: min(70vw, 330px); justify-self: center; }
.glass .swing { transform-origin: 50% 95%; animation: swing 5s ease-in-out infinite alternate; }
@keyframes swing { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@media (min-width: 900px) { .vermut { grid-template-columns: 1.2fr .8fr; } }

/* Visit */
.visit { display: grid; gap: 1.2rem; }
.visit-card { border-radius: var(--r-lg); padding: 1.8rem 1.6rem; background: var(--cal-2); display: grid; gap: .6rem; align-content: start; }
.visit-card h3 { font-size: 1.9rem; display: flex; align-items: center; gap: .6rem; }
.visit-card h3 .icon { color: var(--terra); font-size: 1.6rem; }
.visit-card p { color: var(--ink-soft); }
.visit-card dl { margin: .4rem 0 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.2rem; }
.visit-card dt { font-weight: 700; }
.visit-card dd { margin: 0; color: var(--ink-soft); }
.visit-card a { text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.visit-card a:hover { color: var(--terra); }
.visit-cta { background: var(--terra); color: var(--cal); }
.visit-cta h3 .icon { color: var(--ocre-tint); }
.visit-cta p { color: color-mix(in srgb, var(--cal) 88%, transparent); }
.visit-cta .btn { justify-self: start; margin-top: .8rem; }
@media (min-width: 900px) { .visit { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background-color: var(--terra); color: var(--cal);
  padding: 7.5rem var(--gutter) 4.5rem;
}
.page-hero.green { background-color: var(--verde); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40px; background-image: var(--tile-flor); background-size: 40px 40px; }
.page-hero h1 { font-size: clamp(3.6rem, 16vw, 8.6rem); line-height: .92; margin-top: .8rem; }
.page-hero h1 em { color: var(--ocre-tint); }
.page-hero .eyebrow { color: var(--ocre-tint); }
.page-hero p.lede { max-width: 36rem; margin-top: 1.2rem; font-size: 1.12rem; color: color-mix(in srgb, var(--cal) 90%, transparent); }
.page-hero .hero-ill { position: absolute; right: var(--gutter); bottom: 54px; width: clamp(110px, 24vw, 260px); opacity: .95; }
@media (max-width: 640px) { .page-hero .hero-ill { position: static; margin: 1.6rem 0 0 auto; display: block; width: 140px; } }

/* ---------- Carta ---------- */
.carta-nav { position: sticky; top: 4.2rem; z-index: 20; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 1rem var(--gutter); background: color-mix(in srgb, var(--cal) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.carta-nav a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 1.1rem; border-radius: 999px; background: var(--cal-2); font-weight: 700; text-decoration: none; transition: transform .45s var(--spring), background .2s, color .2s; }
.carta-nav a:hover { transform: translateY(-2px) rotate(-1.5deg); background: var(--ocre); }
.carta { padding: 2rem var(--gutter) clamp(4rem, 9vw, 7rem); display: grid; gap: clamp(3rem, 7vw, 5rem); }
.carta-block { display: grid; gap: 1.6rem; scroll-margin-top: 9rem; }
.carta-block header { display: flex; align-items: center; gap: 1rem; }
.carta-block header .t{width:64px;height:64px;border-radius:14px;background-size:100% 100%;flex:none;box-shadow:0 8px 24px rgb(60 28 12 / 0.08)}
.carta-block h2 { font-size: clamp(2.6rem, 10vw, 4.6rem); }
.carta-block header p { color: var(--ink-soft); }
.items { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem 3rem; }
.item { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1rem 0; align-items: baseline; }
.item + .item { background: radial-gradient(circle, var(--cal-3) 1.5px, transparent 2px) repeat-x top / 10px 4px; }
.item h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.item p { grid-column: 1 / -1; color: var(--ink-soft); font-size: .98rem; }
.item .price { font-family: var(--serif); font-size: 1.5rem; color: var(--terra); white-space: nowrap; }
.item .tag { display: inline-block; margin-left: .4rem; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--verde-tint); color: var(--verde); border-radius: 999px; padding: .1rem .55rem; vertical-align: .15em; }
@media (min-width: 900px) { .items { grid-template-columns: 1fr 1fr; } .item:nth-child(2) { background: none; } }
.carta-note { background: var(--verde-tint); color: var(--verde); border-radius: var(--r-md); padding: 1.2rem 1.4rem; font-weight: 500; }
.vino-board { background: var(--verde); color: var(--cal); border-radius: var(--r-xl); padding: clamp(1.6rem, 5vw, 3rem); }
.vino-board .item h3 { color: var(--cal); }
.vino-board .item p { color: color-mix(in srgb, var(--cal) 80%, transparent); }
.vino-board .item .price { color: var(--ocre); }
.vino-board .item + .item { background: radial-gradient(circle, rgba(248, 241, 228, .3) 1.5px, transparent 2px) repeat-x top / 10px 4px; }
@media (min-width: 900px) { .vino-board .item:nth-child(2) { background: none; } }
.vino-board h2 { color: var(--cal); }
.vino-board header p { color: color-mix(in srgb, var(--cal) 80%, transparent); }

/* ---------- Cocina ---------- */
.story { display: grid; gap: 2.4rem; align-items: center; }
.story p { color: var(--ink-soft); font-size: 1.12rem; max-width: 38rem; }
.story p + p { margin-top: 1rem; }
.story .big-quote { font-family: var(--serif); font-size: clamp(2rem, 7vw, 3.4rem); line-height: 1.1; color: var(--verde); margin: 0; }
.story .big-quote em { color: var(--terra); }
.story-art { width: min(100%, 520px); justify-self: center; }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.loop-band { background: var(--ocre); color: var(--ink); padding: 1rem 0; overflow: hidden; }
.loop { min-height: 110px; display: flex; align-items: center; justify-content: center; font: 400 clamp(1.8rem, 6vw, 3rem)/1.1 var(--serif); text-align: center; padding: .5rem var(--gutter); }
.loop[data-ai-code-use-state="ready"] { padding: 0; display: block; min-height: 0; }
.loop .curved-loop-jacket { min-height: 0; }
.loop .curved-loop-svg { font-family: var(--serif); text-transform: none; }
.day { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.hour {
  display: grid; grid-template-columns: 5.2rem 1fr; gap: .2rem 1.2rem; align-items: start;
  padding: 1.4rem; border-radius: var(--r-lg); background: var(--cal-2);
  transition: transform .6s var(--spring), background .3s;
}
.hour:hover { transform: translateX(6px) rotate(-.4deg); background: var(--ocre-tint); }
.hour time { grid-row: span 2; font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--terra); }
.hour h3 { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; line-height: 1.3; }
.hour p { color: var(--ink-soft); }
@media (min-width: 900px) { .day { grid-template-columns: repeat(2, 1fr); } .hour { padding: 1.8rem; } }
.rules { display: grid; gap: 1rem; }
.rule { border-radius: var(--r-lg); padding: 1.8rem 1.6rem; color: var(--cal); display: grid; gap: .6rem; }
.rule:nth-child(1) { background: var(--terra); }
.rule:nth-child(2) { background: var(--verde); }
.rule:nth-child(3) { background: var(--ocre); color: var(--ink); }
.rule .n { font-family: var(--serif); font-size: 3rem; line-height: 1; }
.rule h3 { font-size: 1.8rem; }
.rule p { opacity: .9; }
@media (min-width: 900px) { .rules { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Reservas ---------- */
.reserve { display: grid; gap: 2rem; padding: clamp(3rem, 8vw, 6rem) var(--gutter); align-items: start; }
.form-card { background: var(--cal-2); border-radius: var(--r-xl); padding: clamp(1.5rem, 5vw, 3rem); display: grid; gap: 1.2rem; position: relative; }
.form-card h2 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
.form-row { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } .form-row.three { grid-template-columns: 1.2fr 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, fieldset legend { font-weight: 700; font-size: 1rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: .8rem 1.1rem;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--cal); border: 0; border-radius: 16px;
  transition: box-shadow .25s, background .25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fffaf2; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--terra-2) 60%, transparent), 0 0 0 5px color-mix(in srgb, var(--terra-2) 16%, transparent); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2326170f' stroke-width='1.8' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 20px; background-position: right 1rem center; padding-right: 2.8rem; }
fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1.2rem; border-radius: 999px; background: var(--cal); font-weight: 600; transition: background .25s, color .25s, transform .45s var(--spring); }
.chips label:hover span { transform: translateY(-2px) rotate(-1.5deg); }
.chips input:checked + span { background: var(--verde); color: var(--cal); }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--terra-2) 35%, transparent); }
.form-card .btn { justify-self: start; }
.site-form-status { margin: 0; font-weight: 700; color: var(--verde); }
.site-form-status:empty { display: none; }
.site-form-status:not(:empty) { background: var(--verde-tint); padding: .8rem 1.1rem; border-radius: 14px; }
.form-fine { font-size: .92rem; color: var(--ink-soft); }
.side { display: grid; gap: 1rem; }
.side-card { border-radius: var(--r-xl); padding: clamp(1.6rem, 5vw, 2.4rem); background: var(--verde); color: var(--cal); }
.side-card h2 { font-size: 2rem; margin-bottom: 1rem; }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.side-card li { display: flex; gap: .8rem; align-items: flex-start; }
.side-card li .icon { color: var(--ocre); font-size: 1.3rem; margin-top: .15rem; }
.side-card a { text-decoration: none; font-weight: 600; }
.side-card a:hover { color: var(--ocre); }
.side-tile { border-radius: var(--r-xl); min-height: 180px; background-image: var(--tile-estrella); background-size: 60px 60px; display: grid; place-items: center; padding: 1.4rem; }
.side-tile p { background: var(--cal); border-radius: var(--r-md); padding: 1rem 1.2rem; font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; text-align: center; box-shadow: var(--shadow); max-width: 18rem; }
@media (min-width: 960px) { .reserve { grid-template-columns: 1.3fr .7fr; gap: 3rem; } .side { position: sticky; top: 6.5rem; } }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--ink); color: var(--cal); padding: 0 0 2rem; overflow: hidden; }
.foot-tiles { height: 56px; background-image: var(--tile-flor); background-size: 56px 56px; }
.foot-in { padding: clamp(3rem, 7vw, 5rem) var(--gutter) 0; }
.foot-word { font-family: var(--serif); font-size: clamp(4.2rem, 19vw, 15rem); line-height: .9; margin-bottom: 2.4rem; }
.foot-word em { color: var(--terra-2); }
.foot-grid { display: grid; gap: 2rem; }
.foot h2 { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ocre); margin-bottom: .6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.foot a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; transition: color .2s; }
.foot a:hover { color: var(--ocre); }
.foot p { color: color-mix(in srgb, var(--cal) 78%, transparent); }
.foot-small { margin: 3rem var(--gutter) 0; padding-top: 1.4rem; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; background: linear-gradient(rgba(248, 241, 228, .14), rgba(248, 241, 228, .14)) no-repeat top / 100% 2px; color: color-mix(in srgb, var(--cal) 70%, transparent); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Reveals ---------- */
@media (scripting:enabled){.js .reveal{opacity:0;transform:translateY(28px) rotate(-.8deg);transition:opacity .8s var(--ease), transform 1s var(--spring);transition-delay:calc(var(--i, 0) * 90ms)}}
.js .reveal.in { opacity: 1; transform: none; }

@supports (corner-shape: squircle) {
  .sign, .sign-inner, .dish, .visit-card, .form-card, .side-card, .side-tile, .vino-board, .hour, .rule, .carta-note { corner-shape: squircle; border-radius: calc(var(--r-lg) * 1.6); }
  .tile-btn .t { corner-shape: squircle; border-radius: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
