/* Amor & Cielo — shared styles */

:root {
  --bg: #f1e8d6;
  --bg-2: #ece1cb;
  --card: #f5ebd9;
  --cream: #f6e2c1;
  --green-900: #3a4d28;
  --green-800: #4d6335;
  --green-700: #5d7544;
  --green-500: #7a8f60;
  --ink: #2a2a26;
  --muted: #7a7468;
  --line: #d8c9a8;
  --gold: #b88a3e;
  --accent: #c25a3a;

  --serif: "Cormorant Garamond", "Source Serif Pro", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "JetBrains Mono", monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(45, 50, 35, 0.06);
  --shadow-md: 0 12px 32px -16px rgba(45, 50, 35, 0.25);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-800);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
.eyebrow::after {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--cream); }
.eyebrow.on-dark::after { background: var(--cream); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--green-900);
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.05;
}

h1 { font-size: clamp(44px, 6vw, 76px); }
h2 { font-size: clamp(32px, 3.6vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }

p { margin: 0 0 1em; color: var(--ink); }
.lede { color: #4a4740; max-width: 46ch; }
em, .italic { font-style: italic; font-family: var(--serif); }

/* Decorative gold wave under headlines */
.wave {
  width: 86px; height: 14px;
  display: block;
  stroke: var(--gold);
  overflow: visible;
}
.wave path {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
}
[data-reveal].in-view .wave path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 700ms var(--ease-out) 280ms;
}

/* ───── Scroll progress bar ───── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(184, 138, 62, 0.5) 100%);
  z-index: 200;
  pointer-events: none;
  transition: width 80ms linear;
  border-radius: 0 2px 2px 0;
}

/* ───── Skip to content ───── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--green-800);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 0 10px 0;
  transition: top 150ms var(--ease-out);
}
.skip-link:focus { top: 0; }

/* ───── Header ───── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms var(--ease-out), background 250ms var(--ease-out);
}
.site-header.scrolled { border-color: rgba(0,0,0,0.06); }
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img { height: 84px; width: auto; }

.nav {
  display: flex;
  gap: 36px;
}
.nav .nav-cta-mobile {
  display: none;
  padding: 13px 22px;
  color: var(--cream);
}
.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
  transition: color 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--green-800); }
}
.nav a.active {
  color: var(--green-900);
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 150ms var(--ease-out), background 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45, 50, 35, 0.16); }
  .btn-primary:hover { background: var(--green-900); }
  .btn-outline:hover { background: var(--green-900); color: var(--cream); border-color: var(--green-900); }
  .btn-cream:hover { background: oklch(96% 0.02 85); }
}
.btn-primary { background: var(--green-800); color: var(--cream); }
.btn-outline { background: transparent; color: var(--green-900); border-color: var(--green-900); }
.btn-cream { background: #f5ebd9; color: var(--green-900); }

.mobile-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.mobile-toggle svg { width: 22px; height: 22px; stroke: var(--green-900); }

/* ───── Footer ───── */
.site-footer {
  background: var(--green-800);
  color: var(--cream);
  padding: 64px 0 32px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.site-footer .leaf {
  position: absolute;
  right: -20px; bottom: -10px;
  width: 200px; opacity: 0.18;
  pointer-events: none;
}
.site-footer .inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.site-footer .brand img { height: 110px; }
.site-footer .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  margin-top: 18px;
  color: #e7d6b3;
  max-width: 22ch;
}
.site-footer h5 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 18px;
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; overflow-wrap: break-word; word-break: break-word; }
.site-footer li a { color: #e7d6b3; font-size: 14px; transition: color 160ms var(--ease-out); overflow-wrap: break-word; word-break: break-word; }
@media (hover: hover) and (pointer: fine) {
  .site-footer li a:hover { color: oklch(97% 0.008 85); }
}
.site-footer .copy {
  border-top: 1px solid rgba(246,226,193,0.18);
  margin-top: 56px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #c8b78a;
  letter-spacing: 0.05em;
}

/* ───── Hero ───── */
.hero {
  padding: 80px 0 60px;
  position: relative;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin: 18px 0 22px; line-height: 1.0; }
.hero h1 em { font-weight: 400; color: var(--gold); }
.hero .image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  filter: drop-shadow(0 28px 52px rgba(45, 50, 35, 0.20));
}
.hero .image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 18px;
  /* curved/wavy left edge */
  -webkit-clip-path: url(#hero-curve);
          clip-path: url(#hero-curve);
}
.hero .ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ───── Hero carousel ───── */
.hero-carousel {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  -webkit-clip-path: url(#hero-curve);
          clip-path: url(#hero-curve);
  cursor: grab;
  user-select: none;
}
.hero-carousel:active { cursor: grabbing; }
.hero-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(241, 232, 214, 0.15) 0%,
    transparent 40%
  );
  pointer-events: none;
  z-index: 1;
}
.hero .image-wrap img { border-radius: 0; -webkit-clip-path: none; clip-path: none; }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 750ms cubic-bezier(0.45, 0, 0.55, 1);
}
.hero-slide.active { opacity: 1; }
.hero-dots {
  position: absolute;
  bottom: 16px;
  right: 22px;
  display: flex;
  gap: 7px;
  z-index: 2;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: oklch(97% 0.008 85 / 0.45);
  cursor: pointer;
  transition: background 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.hero-dot.active {
  background: oklch(97% 0.008 85);
  transform: scale(1.35);
}

/* ───── Feature strip ───── */
.features {
  background: var(--bg-2);
  padding: 52px 0;
}
.features .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feat {
  text-align: left;
  padding: 28px 32px;
  border-left: 1px solid var(--line);
}
.feat:first-child { border-left: none; }
.feat svg { width: 30px; height: 30px; stroke: var(--gold); margin: 0 0 18px; display: block; }
.feat[data-reveal] svg {
  transform: scale(0.7);
  transition: transform 450ms var(--ease-out) 150ms;
}
.feat[data-reveal].in-view svg {
  transform: scale(1);
}
.feat h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--green-900);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.feat p { font-size: 13px; color: var(--muted); max-width: 26ch; margin: 0; line-height: 1.6; }

/* ───── Menu band (green) ───── */
.menu-band {
  background: var(--green-800);
  color: var(--cream);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.menu-band::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 55%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(184, 138, 62, 0.11) 0%, transparent 65%);
  pointer-events: none;
}
.menu-band .grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 48px;
  align-items: center;
}
.menu-band h2 { color: var(--cream); }
.menu-band p { color: #e7d6b3; max-width: 36ch; }
.menu-band .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.menu-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .menu-card:hover { transform: translateY(-4px); }
  .menu-card:hover img { transform: scale(1.07); }
}
.menu-card:active { transform: scale(0.98); transition-duration: 100ms; }
.menu-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms var(--ease-out); }
.menu-card .label {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  background: rgba(28, 40, 18, 0.90);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--cream);
  border: 1px solid rgba(246, 226, 193, 0.08);
}
.menu-card .label h4 {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}
.menu-card .label p { color: #ddc89b; font-size: 12px; margin: 2px 0 0; }

/* ───── Espacio (gallery preview) ───── */
.espacio { padding: 90px 0; }
.espacio .grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.espacio .copy {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  align-self: center;
  padding-right: 24px;
}
.espacio .copy h2 { margin: 18px 0 22px; }
.espacio .gimg { border-radius: 14px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-md); }
.espacio .gimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .espacio .gimg:hover img { transform: scale(1.04); }
}
.espacio .gimg.wide { aspect-ratio: 16/10; grid-column: span 2; }

/* ───── Story block (Nosotros teaser) ───── */
.story {
  background: var(--card);
  padding: 90px 0;
}
.story .grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.story img { border-radius: 18px; aspect-ratio: 5/6; object-fit: cover; width: 100%; }

/* ───── CTA visit ───── */
.visit {
  padding: 90px 0;
  background: var(--bg);
}
.visit .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.visit .info-card {
  background: var(--green-800);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.visit .info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(184, 138, 62, 0.25) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.visit .info-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(184, 138, 62, 0.08) 0%, transparent 65%);
  pointer-events: none;
}
.visit .info-card h2 { color: var(--cream); margin-bottom: 22px; }
.visit .info-card .row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(246,226,193,0.18); }
.visit .info-card .row:first-of-type { border-top: 0; }
.visit .info-card .row svg { width: 18px; height: 18px; stroke: var(--cream); margin-top: 4px; flex-shrink: 0; }
.visit .info-card .row strong { display: block; color: var(--cream); font-weight: 600; font-size: 14px; }
.visit .info-card .row span { color: #d8c69a; font-size: 14px; }
.visit .map-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.visit .map-card .pin {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.visit .map-card .pin .ring {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--green-800);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 28px rgba(45,50,35,0.25);
}
.visit .map-card .pin .ring svg { width: 32px; height: 32px; stroke: var(--cream); fill: none; }
.visit .map-card .grid-bg {
  width: 100%; height: 100%;
  background:
    linear-gradient(var(--bg-2) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, var(--bg-2) 1px, transparent 1px) 0 0/40px 40px,
    var(--card);
  min-height: 360px;
}

/* ───── Page hero (subpages) ───── */
.page-hero {
  padding: 72px 0 36px;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { margin-top: 14px; }
.page-hero p.lede { margin: 20px auto 0; max-width: 52ch; }

/* ───── Menú page ───── */
.menu-page { padding: 30px 0 90px; }
.menu-page .grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.menu-section { margin-bottom: 56px; }
.menu-section h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-800);
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  gap: 16px;
}
.menu-list li .name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
}
.menu-list li .dots {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
}
.menu-list li .price {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--green-800);
}
.menu-page aside .photo {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  margin-bottom: 24px;
}
.menu-page aside .photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-page .note {
  background: var(--card);
  padding: 22px 24px;
  border-radius: 14px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--green-800);
  font-size: 18px;
  text-align: center;
}

/* ───── Galería page ───── */
.gallery-page { padding: 24px 0 90px; }
.tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  border: 1.5px solid transparent;
  color: var(--ink);
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out), transform 100ms ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .tab:hover { color: var(--green-800); }
}
.tab:active { transform: scale(0.97); }
.tab.active { background: var(--green-800); color: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid .gimg {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.gallery-grid .gimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .gallery-grid .gimg:hover img { transform: scale(1.05); }
}
.gallery-cta { text-align: center; margin-top: 40px; }

/* ───── Contact 2-col form row ───── */
.contact-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ───── Contacto page ───── */
.contact-page { padding: 24px 0 90px; }
.contact-page .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.contact-form {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form h2 { margin-bottom: 22px; }
.field { display: block; margin-bottom: 16px; }
.field span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-800);
  display: block;
  margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--green-500);
  outline-offset: 1px;
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--green-800);
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out), transform 120ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .socials a:hover { background: var(--green-800); color: var(--cream); }
}
.socials a:active { transform: scale(0.93); transition-duration: 80ms; }
.socials svg { width: 20px; height: 20px; }

/* ───── Nosotros page ───── */
.nosotros-page { padding: 24px 0 90px; }
.nosotros-page .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.nosotros-page .row.reverse { direction: rtl; }
.nosotros-page .row.reverse > * { direction: ltr; }
.nosotros-page .row img {
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.values {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}
.value {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--card);
  padding: 28px;
  border-radius: 16px;
  border-left: 2px solid var(--gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value:hover {
  transform: scale(1.025);
  box-shadow: var(--shadow-md);
}
.value .num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.value h4 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 8px;
}
.value p { font-size: 14px; color: var(--muted); margin: 0; }

/* ───── Responsive ───── */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    opacity: 1;
    transform: translateY(0);
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
  }
  @starting-style {
    .nav.open {
      opacity: 0;
      transform: translateY(-6px);
    }
  }
  .mobile-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav .nav-cta-mobile { display: inline-flex; margin-top: 8px; align-self: flex-start; }
  .hero .grid,
  .menu-band .grid,
  .visit .grid,
  .story .grid,
  .menu-page .grid,
  .contact-page .grid,
  .nosotros-page .row { grid-template-columns: 1fr; }
  .features .grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .feat { border-left: none; border-top: 1px solid var(--line); padding: 22px 20px; }
  .feat:nth-child(-n+2) { border-top: none; }
  .menu-band .cards {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    padding-bottom: 6px;
  }
  .menu-band .cards::-webkit-scrollbar { display: none; }
  .menu-card { flex-shrink: 0; width: clamp(200px, 58vw, 260px); }
  .espacio .grid { grid-template-columns: 1fr 1fr; }
  .espacio .copy { grid-column: 1 / -1; grid-row: auto; padding-right: 0; }
  .espacio .gimg.wide { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .value { flex: 0 0 100%; }
  .site-footer .inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer .copy { flex-direction: column; gap: 8px; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gimg.span-2 { grid-column: auto; aspect-ratio: 1; }
  .espacio .grid { grid-template-columns: 1fr; }
  .espacio .gimg.wide { grid-column: auto; }
  h1 { font-size: 38px; }
  .site-footer .inner { grid-template-columns: 1fr; }
  .contact-2col { grid-template-columns: 1fr; }
}

/* WhatsApp floating button */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .wa-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(0,0,0,0.28);
  }
}
.wa-fab:active {
  transform: scale(0.93);
  transition-duration: 80ms;
}

/* ───── Scroll reveal ───── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: 60ms; }
[data-reveal][data-delay="2"] { transition-delay: 120ms; }
[data-reveal][data-delay="3"] { transition-delay: 180ms; }

/* ───── Hero page-load ───── */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes waveDraw {
  from { stroke-dashoffset: 120; }
  to   { stroke-dashoffset: 0; }
}
@keyframes kenBurns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.07); }
}

/* Stagger each hero text element individually */
.hero .grid > div:first-child > * {
  animation: heroIn 500ms var(--ease-out) both;
}
.hero .grid > div:first-child > *:nth-child(1) { animation-delay: 0ms; }
.hero .grid > div:first-child > *:nth-child(2) { animation-delay: 100ms; }
.hero .grid > div:first-child > *:nth-child(3) { animation-delay: 210ms; }
.hero .grid > div:first-child > *:nth-child(4) { animation-delay: 290ms; }
.hero .grid > div:first-child > *:nth-child(5) { animation-delay: 370ms; }

.hero .image-wrap {
  animation: heroIn 580ms var(--ease-out) 120ms both;
}
.hero .wave path {
  animation: waveDraw 700ms var(--ease-out) 640ms both;
}
.page-hero .wave path {
  animation: waveDraw 700ms var(--ease-out) 400ms both;
}

/* Ken Burns zoom on active slide */
.hero-slide.active {
  animation: kenBurns 5500ms ease-in-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .feat[data-reveal] svg { transform: none; transition: none; }
  .hero .grid > div:first-child > *,
  .hero .image-wrap { animation: none; opacity: 1; transform: none; }
  .hero-slide { transition-duration: 200ms; }
  .hero-slide.active { animation: none; }
  .wave path { stroke-dashoffset: 0; transition: none; animation: none; }
  .page-hero .wave path { animation: none; stroke-dashoffset: 0; }
  .scroll-progress { transition: none; }
}

/* ───── GTranslate widget ───── */
.gt_float_switcher {
  background: var(--bg) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 4px 18px rgba(45, 50, 35, 0.14) !important;
  border-radius: 12px !important;
  font-family: var(--sans) !important;
}
.gt_float_switcher a,
.gt_float_switcher span,
.gt_float_switcher .gt-lang-code {
  color: var(--ink) !important;
  font-family: var(--sans) !important;
}
.gt_float_switcher .gt-selected {
  background: var(--bg-2) !important;
  border-radius: 10px !important;
}

/* ───── Footer — legal links not yet available ───── */
.footer-link-soon {
  color: #c8b78a;
  font-size: 14px;
  opacity: 0.45;
  cursor: default;
  user-select: none;
}
