/* ============================================
   Gustos Restaurant — V3: Warm Maritime Editorial
   Inspired by: candlelit cantina, stained glass,
   Cozumel night sea, food magazine spreads
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Crimson+Pro:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Stained-glass palette */
  --bg-deep: #12100e;
  --bg-dark: #1a1714;
  --bg-section: #211d19;
  --bg-card: #2b2520;
  --bg-warm: #302920;

  --gold: #c8953e;
  --gold-light: #dbb06a;
  --gold-dim: #8b6a30;
  --teal: #4a7c6f;
  --teal-light: #6a9e8e;
  --ruby: #7a3333;
  --ruby-light: #a04545;

  --cream: #f0e6d6;
  --text: #c9baa6;
  --text-dim: #8a7e72;
  --text-faint: #5c5347;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Crimson Pro', 'Georgia', serif;

  --max-w: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background-color: var(--bg-deep);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--gold-light);
}

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--cream);
  line-height: 1.15;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

h4 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

p {
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  max-width: 65ch;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.editorial-rule {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 3rem 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(18, 16, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 149, 62, 0.1);
  transition: background 0.3s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.nav__brand span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
  letter-spacing: 0.05em;
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav__links a:hover {
  color: var(--cream);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__links a.active {
  color: var(--gold);
}

.nav__cta {
  font-family: var(--font-display) !important;
  font-size: 0.9rem !important;
  background: var(--gold);
  color: var(--bg-deep) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.25s, transform 0.2s !important;
}

.nav__cta:hover {
  background: var(--gold-light);
  color: var(--bg-deep) !important;
  transform: translateY(-1px);
}

.nav__cta::after {
  display: none !important;
}

.nav__lang {
  margin-left: 0.5rem;
}

.nav__lang .lang-toggle {
  margin-top: 0;
}

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(18, 16, 14, 0.3) 0%,
      rgba(18, 16, 14, 0.15) 30%,
      rgba(18, 16, 14, 0.5) 60%,
      rgba(18, 16, 14, 0.92) 85%,
      rgba(18, 16, 14, 1) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: 0 var(--gutter) 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero__kicker {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  display: inline-block;
  background: rgba(18, 16, 14, 0.55);
  padding: 0.45rem 1rem;
  border: 1px solid rgba(200, 149, 62, 0.2);
  border-radius: 2px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero__title {
  font-size: clamp(3.2rem, 8.5vw, 7rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 0.95;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--text);
  font-weight: 300;
  max-width: 45ch;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.0s forwards;
}

.hero__rating .hero__star {
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.1s forwards;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg-deep);
}

.btn--primary:hover {
  background: var(--gold-light);
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 149, 62, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--text-faint);
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.btn--small {
  font-size: 0.9rem;
  padding: 0.65rem 1.5rem;
}

/* --- Sections --- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-dark);
}

.section--warm {
  background: var(--bg-section);
}

.section--deep {
  background: var(--bg-deep);
}

/* --- About / Story --- */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.story__text {
  position: relative;
}

.story__text h2 {
  margin-bottom: 1.5rem;
}

.story__text h2 em {
  font-style: italic;
  color: var(--gold);
}

.story__lead {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  color: var(--cream);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.story__image {
  position: relative;
  overflow: hidden;
}

.story__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: brightness(0.85) contrast(1.05);
}

.story__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 149, 62, 0.15);
  pointer-events: none;
}

/* --- Specialties / Dishes --- */
.dishes-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.dishes-intro h2 {
  margin-bottom: 1rem;
}

.dishes-intro p {
  margin: 0 auto;
  color: var(--text);
  font-style: italic;
  font-size: 1.1rem;
}

.dishes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.5rem, 1vw, 1rem);
}

.dish-card {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dish-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) contrast(1.05) saturate(1.1);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.dish-card:hover > img {
  transform: scale(1.04);
  filter: brightness(0.5) contrast(1.05) saturate(1.1);
}

.dish-card__content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dish-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  color: var(--cream);
  font-weight: 400;
}

.dish-card__name::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold-dim);
  margin-bottom: 0.5rem;
}

.dish-card__desc {
  font-size: 0.95rem;
  color: var(--cream);
  line-height: 1.65;
}

.dish-card__tag {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Featured dish - large image card */
.dish-featured {
  position: relative;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  border-left: 3px solid var(--gold);
}

.dish-featured > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) contrast(1.1);
  transition: transform 0.6s ease;
}

.dish-featured:hover > img {
  transform: scale(1.04);
}

.dish-featured__content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4vw, 3rem);
  width: 100%;
}

.dish-featured .dish-card__name {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.dish-featured .dish-card__desc {
  font-size: 1.05rem;
  color: var(--cream);
  font-weight: 300;
}

/* --- Image Mosaic --- */
.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mosaic__item {
  overflow: hidden;
  position: relative;
}

.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.05) saturate(1.1);
  transition: all 0.5s ease;
}

.mosaic__item:hover img {
  filter: brightness(0.9) contrast(1.05) saturate(1.1);
  transform: scale(1.03);
}

.mosaic__item--wide {
  grid-column: span 2;
}

.mosaic__item--wide img {
  aspect-ratio: 21/9;
}

/* --- Reviews --- */
.reviews-header {
  margin-bottom: 3.5rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.review-card {
  position: relative;
  padding: 2rem;
  padding-left: 2.5rem;
  border-left: 2px solid var(--gold-dim);
  background: var(--bg-card);
}

.review-card__quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-style: italic;
  color: var(--cream);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.review-card__quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--gold-dim);
  line-height: 0;
  position: absolute;
  top: 2.2rem;
  left: 0.6rem;
}

.review-card__author {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.review-card__author span {
  color: var(--gold);
}


/* --- Info Bar (Hours + Location) --- */
.info-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.info-block {
  position: relative;
}

.info-block h3 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--text-faint);
}

.info-block p {
  color: var(--text);
  margin-bottom: 0.4rem;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(200, 149, 62, 0.08);
  font-size: 1rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list__day {
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
}

.hours-list__time {
  color: var(--text);
}

.hours-list__time--closed {
  color: var(--ruby-light);
  font-style: italic;
}

/* Dietary badges */
.dietary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.badge {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  border: 1px solid var(--teal);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) var(--gutter);
  background:
    radial-gradient(ellipse at center, rgba(200, 149, 62, 0.06) 0%, transparent 70%),
    var(--bg-deep);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  font-style: italic;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--text-faint);
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer__brand span {
  color: var(--gold);
}

.footer__tagline {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__social {
  display: flex;
  gap: 1.25rem;
}

.footer__social a {
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer__social a:hover {
  color: var(--gold);
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 149, 62, 0.08);
  text-align: center;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.footer__copy a {
  color: var(--text-dim);
}

/* --- Menu Page --- */
.menu-hero {
  padding-top: 8rem;
  padding-bottom: 3rem;
  text-align: center;
  background: var(--bg-dark);
}

.menu-hero h1 {
  font-weight: 300;
}

.menu-hero p {
  margin: 1rem auto 0;
  font-style: italic;
  font-size: 1.1rem;
}

.menu-section {
  margin-bottom: 3.5rem;
}

.menu-section__header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--text-faint);
}

.menu-section__header h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
}

.menu-section__header span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(200, 149, 62, 0.05);
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  font-weight: 500;
}

.menu-item__desc {
  font-size: 0.92rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.5;
}

.menu-item__tag {
  font-size: 0.78rem;
  color: var(--teal-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.menu-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--text-faint);
}

.menu-cta p {
  margin: 0 auto 1.5rem;
  font-style: italic;
}

/* --- Contact Page --- */
.contact-hero {
  padding-top: 8rem;
  padding-bottom: 3rem;
  background: var(--bg-dark);
}

.contact-hero h1 {
  font-weight: 300;
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-block {
  padding: 2rem;
  background: var(--bg-section);
  border-left: 2px solid var(--gold-dim);
}

.contact-block h3 {
  margin-bottom: 1rem;
}

.contact-block p {
  margin-bottom: 0.75rem;
}

.contact-block a {
  word-break: break-all;
}

.map-container {
  width: 100%;
  margin-top: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 2px;
  filter: brightness(0.85) contrast(1.1) saturate(0);
  transition: filter 0.3s ease;
}

.map-container iframe:hover {
  filter: brightness(0.9) contrast(1.1) saturate(0.5);
}

.map-container__link {
  display: block;
  padding: 0.75rem 1.5rem;
  margin-top: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--text-faint);
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--cream);
  transition: all 0.25s ease;
}

.map-container__link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* WhatsApp prominent card */
.whatsapp-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 2px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.whatsapp-card:hover {
  background: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

.whatsapp-card__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #25d366;
}

.whatsapp-card__text {
  display: flex;
  flex-direction: column;
}

.whatsapp-card__label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}

.whatsapp-card__number {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #25d366;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Form embed */
.form-embed {
  margin-top: 2rem;
}

.form-embed iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  border-radius: 2px;
  background: var(--bg-section);
}

/* --- Floating WhatsApp --- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* --- Extracted Inline Styles --- */

/* Dishes CTA area (index.html) */
.dishes-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.dishes-cta__sub {
  margin-top: 1rem;
}

.link-subtle {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--text-faint);
  padding-bottom: 2px;
}

.link-subtle:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Flush section (no vertical padding) */
.section--flush {
  padding-top: 0;
  padding-bottom: 0;
}

/* Info block descriptors (index.html) */
.info-block__desc {
  margin-bottom: 1rem;
}

.info-block__contact {
  margin-top: 1.5rem;
}

.info-block__label {
  color: var(--cream);
}

/* Menu CTA buttons (carta.html) */
.menu-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Contact page classes */
.contact-hero__desc {
  max-width: 55ch;
  color: var(--text);
}

.contact-block .btn {
  margin-top: 1rem;
}

.contact-block__note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.contact-block__address {
  color: var(--cream);
  font-weight: 500;
}

.contact-block__detail {
  margin-top: 0.75rem;
}

/* Content width wrappers */
.content-narrow {
  max-width: 520px;
}

.content-narrow h3 {
  margin-bottom: 1.25rem;
}

.content-medium {
  max-width: 700px;
}

.content-medium h2 {
  margin-bottom: 1rem;
}

.event-desc {
  margin-bottom: 1.5rem;
}

.form-embed__hint {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Social links section (contacto.html) */
.social-links-wrap {
  max-width: 600px;
}

.social-links-wrap h3 {
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-link-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-section);
  border: 1px solid var(--text-faint);
  transition: border-color 0.2s;
}

.social-link-card:hover {
  border-color: var(--gold);
}

.social-link-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream);
}

.social-link-card__handle {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* --- Footer Rating --- */
.footer__rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer__rating svg {
  flex-shrink: 0;
}

.footer__rating-sep {
  color: var(--text-faint);
}

/* --- Animations --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Language toggle --- */
.lang-toggle {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.lang-toggle button {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--text-faint);
  color: var(--text-dim);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-toggle button.active {
  border-color: var(--gold);
  color: var(--gold);
}

.lang-toggle button:hover {
  border-color: var(--gold);
  color: var(--cream);
}

[lang="en"] { display: none; }
body.en [lang="en"] { display: block; }
body.en [lang="es"] { display: none; }

/* Inline lang spans */
span[lang="en"] { display: none; }
body.en span[lang="en"] { display: inline; }
body.en span[lang="es"] { display: none; }

/* Lang-aware list items and flex children */
li[lang="en"], div[lang="en"], p[lang="en"], h2[lang="en"], h3[lang="en"], h4[lang="en"] { display: none; }
body.en li[lang="en"], body.en div[lang="en"], body.en p[lang="en"], body.en h2[lang="en"], body.en h3[lang="en"], body.en h4[lang="en"] { display: block; }
body.en li[lang="es"], body.en div[lang="es"], body.en p[lang="es"], body.en h2[lang="es"], body.en h3[lang="es"], body.en h4[lang="es"] { display: none; }

/* Fix for flex/grid items */
body.en .hours-list li[lang="en"] { display: flex; }
body.en .hours-list li[lang="es"] { display: none; }

/* ============================================
   PREMIUM VISUAL ENHANCEMENTS
   Signature: grain, gold accents, editorial depth
   ============================================ */

/* Film grain — warm analog texture (signature detail) */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
html { scrollbar-color: var(--gold-dim) var(--bg-deep); scrollbar-width: thin; }

/* Selection color */
::selection {
  background: rgba(200, 149, 62, 0.3);
  color: var(--cream);
}

/* Gold ornamental hairline between sections */
.section + .section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(40px, 6vw, 80px);
  height: 1px;
  background: var(--gold-dim);
}

.section--flush::before { display: none; }

/* Diamond marker on section labels */
.section-label::before {
  content: '\25C6';
  font-size: 0.45em;
  margin-right: 0.6em;
  vertical-align: middle;
  opacity: 0.5;
}

/* Hero — cinematic title depth */
.hero__title {
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.4);
}

/* Hero — warm ambient glow at bottom left */
.hero__content::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(200, 149, 62, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* Dish cards — gold underline reveal on hover */
.dish-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-light), var(--gold-dim));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.dish-card:hover::after {
  transform: scaleX(1);
}

/* Staggered dish grid reveal */
.dishes-grid.fade-in {
  opacity: 1;
  transform: none;
}

.dishes-grid > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.dishes-grid.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.dishes-grid.visible > :nth-child(1) { transition-delay: 0s; }
.dishes-grid.visible > :nth-child(2) { transition-delay: 0.08s; }
.dishes-grid.visible > :nth-child(3) { transition-delay: 0.12s; }
.dishes-grid.visible > :nth-child(4) { transition-delay: 0.18s; }
.dishes-grid.visible > :nth-child(5) { transition-delay: 0.24s; }
.dishes-grid.visible > :nth-child(6) { transition-delay: 0.3s; }

/* Staggered reviews reveal */
.reviews-grid.fade-in {
  opacity: 1;
  transform: none;
}

.reviews-grid > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reviews-grid.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reviews-grid.visible > :nth-child(1) { transition-delay: 0s; }
.reviews-grid.visible > :nth-child(2) { transition-delay: 0.1s; }
.reviews-grid.visible > :nth-child(3) { transition-delay: 0.18s; }
.reviews-grid.visible > :nth-child(4) { transition-delay: 0.26s; }

/* Review cards — warm hover interaction */
.review-card {
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.review-card:hover {
  border-color: var(--gold);
  box-shadow: -6px 0 20px -6px rgba(200, 149, 62, 0.15);
  transform: translateX(3px);
}

/* Primary button — shimmer sweep on hover */
.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transition: left 0.6s ease;
}

.btn--primary:hover::before {
  left: 100%;
}

/* Mosaic items — inner shadow for depth */
.mosaic__item::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(18, 16, 14, 0.4);
  pointer-events: none;
  z-index: 1;
}

/* WhatsApp float — pulse ring */
.wa-float {
  overflow: visible;
}

.wa-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: waPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0; }
}

/* Nav & Footer ampersand — italic refinement */
.nav__brand span,
.footer__brand span {
  font-style: italic;
  font-weight: 300;
}

/* Footer — gold ornamental top border */
.footer {
  border-top-color: var(--gold-dim);
  position: relative;
}

/* CTA section — position for pseudo-elements */
.cta-section {
  position: relative;
  overflow: hidden;
}

/* --- Responsive --- */

/* Tablet+ */
@media (min-width: 640px) {
  .dishes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dish-featured {
    grid-column: span 2;
    min-height: 300px;
  }

  .dishes-grid > .dish-card:last-child {
    grid-column: 1 / -1;
  }

  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-bar {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .menu-items {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 3rem;
  }

  .mosaic {
    grid-template-columns: 2fr 1fr;
    height: clamp(280px, 35vw, 450px);
  }

  .mosaic__item--wide {
    grid-column: auto;
    grid-row: span 2;
  }

  .mosaic__item--wide img {
    aspect-ratio: auto;
  }
}

/* Desktop */
@media (min-width: 960px) {
  .story {
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
  }

  .dishes-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .dish-featured {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 350px;
  }

  .nav__toggle {
    display: none !important;
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  .dish-card {
    min-height: 320px;
  }

  .dish-featured {
    min-height: 400px;
  }

  .hero__content {
    padding-bottom: 6rem;
  }
}

/* Mobile-only */
@media (max-width: 959px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.35s ease;
    border-left: 1px solid var(--text-faint);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links.open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(18, 16, 14, 0.6);
    z-index: -1;
  }

  .nav__links a {
    font-size: 1.2rem;
  }

  .nav__cta {
    margin-top: 1rem;
  }

  .nav__lang {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .hero__title {
    line-height: 1;
  }

  .story {
    gap: 2rem;
  }

  .story__image {
    order: -1;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .dishes-grid > *,
  .reviews-grid > * {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
