:root {
  --bg: #111214;
  --bg-soft: #18181b;
  --panel: #ffffff;
  --panel-dark: #1b1719;
  --wine: #731822;
  --wine-deep: #571118;
  --wine-soft: #98303f;
  --cream: #f7f1ea;
  --cream-2: #fffaf5;
  --sand: #dcc5a7;
  --ink: #1f1b1b;
  --muted: #6c625f;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(31, 27, 27, 0.1);
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.14);
  --shadow-soft: 0 14px 32px rgba(0, 0, 0, 0.08);
  --radius: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --container: 1180px;
  --header-h: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  padding-bottom: 82px;
}

body.no-scroll {
  overflow: hidden;
}

img, video {
  display: block;
  width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

figure {
  margin: 0;
  padding: 0;
  display: block;
}

dialog {
  border: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  z-index: 400;
}

.skip-link:focus {
  top: 1rem;
}

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

.container {
  width: min(calc(100% - 1.4rem), var(--container));
  margin-inline: auto;
}

.section {
  padding: 4.75rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-white {
  background: var(--cream-2);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(152, 48, 63, 0.16), transparent 34%),
    radial-gradient(circle at left bottom, rgba(115, 24, 34, 0.28), transparent 46%),
    var(--bg);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(17, 18, 20, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  flex: 0 0 auto;
}

.brand-copy {
  display: grid;
  gap: 0.06rem;
  min-width: 0;
}

.brand-kicker,
.brand-location {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.brand-name,
.footer-brand,
h1,
h2,
h3,
summary {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.02em;
}

.brand-name {
  color: var(--white);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  line-height: 0.95;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-content: center;
  gap: 5px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
  background: rgba(17, 18, 20, 0.98);
  border-bottom: 1px solid var(--line);
  transform: translateY(-120%);
  transition: transform 0.28s ease;
}

.site-nav.is-open {
  transform: translateY(0);
}

.site-nav a {
  color: var(--white);
  font-weight: 600;
  padding: 0.92rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--wine), var(--wine-soft));
}

.hero {
  position: relative;
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(17, 18, 20, 0.88), rgba(17, 18, 20, 0.84)),
    var(--bg);
  color: var(--white);
  padding: 3rem 0 4.5rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.72), rgba(17, 18, 20, 0.45)),
    url("assets/hero-bg.webp") center/cover no-repeat;
  opacity: 0.42;
}

.hero-grid,
.delegation-layout,
.atmosphere-grid,
.location-grid,
.intro-grid,
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

.hero-copy {
  padding-top: 1rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--sand);
}

.eyebrow-dark {
  color: var(--wine);
}

h1 {
  margin: 0.55rem 0 0;
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.92;
  max-width: 12ch;
}

h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
}

h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2rem);
  line-height: 1;
}

.hero-text,
.section-heading p:last-child,
.info-card p,
.location-copy p,
.history-card p,
.signature-card p,
.menu-preview-card p,
.detail-grid p,
.delegation-table,
.location-list dd {
  color: rgba(255, 255, 255, 0.78);
}

.section-cream .section-heading p:last-child,
.section-white .section-heading p:last-child,
.section-cream .location-copy p,
.section-white .location-copy p,
.section-cream .history-card p,
.section-white .history-card p,
.section-cream .signature-card p,
.section-white .signature-card p,
.section-cream .menu-preview-card p,
.section-white .menu-preview-card p,
.section-cream .detail-grid p,
.section-white .detail-grid p,
.section-cream .delegation-table,
.section-white .delegation-table,
.section-cream .location-list dd,
.section-white .location-list dd,
.section-cream .info-card p,
.section-white .info-card p {
  color: var(--muted);
}

.hero-text {
  max-width: 58ch;
  font-size: 1.03rem;
}

.hero-actions,
.menu-actions,
.delegation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-actions {
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--wine), var(--wine-soft));
  color: #fff;
  box-shadow: 0 12px 26px rgba(115, 24, 34, 0.28);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.dark-secondary {
  color: var(--ink) !important;
  border-color: rgba(31, 27, 27, 0.14) !important;
  background: #fff !important;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.hero-points li {
  display: grid;
  gap: 0.18rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.hero-points strong {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}

.hero-points span {
  color: #fff;
}

.hero-media,
.hero-side-grid,
.atmosphere-cards,
.signature-grid,
.menu-summary-grid,
.gallery-grid,
.history-stats {
  display: grid;
  gap: 1rem;
}

.photo-card,
.info-card,
.signature-card,
.menu-preview-card,
.delegation-card,
.feature-photo,
.gallery-item,
.map-frame,
.history-card,
.menu-accordion details {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-card,
.feature-photo,
.gallery-item {
  background: #0e0d0e;
  position: relative;
  display: flex;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-card img,
.feature-photo img,
.gallery-item img {
  height: 100%;
  object-fit: cover;
}

/* MEJORA TRANSICIÓN: Ahora el video cambiará su opacidad lentamente (0.8s) para un fundido suave */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: opacity 0.8s ease-in-out; 
}

.video-live-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.1);
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #ff3b30;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px rgba(255, 59, 48, 0.8);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 59, 48, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

.mini-card img {
  aspect-ratio: 16 / 11;
}

.info-card {
  padding: 1.2rem 1.2rem 1.3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-card-label {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 800;
}

.compact-head {
  max-width: 760px;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.light-head p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.signature-grid,
.menu-summary-grid,
.gallery-grid {
  grid-template-columns: 1fr;
}

.signature-card {
  padding: 1.3rem 1.25rem 1.2rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(115, 24, 34, 0.1);
}

.signature-card .tag {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: rgba(115, 24, 34, 0.08);
  color: var(--wine);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signature-card strong {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 1.15rem;
  color: var(--wine);
}

.menu-summary-grid {
  margin-top: 1.1rem;
}

.menu-preview-card {
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(115, 24, 34, 0.08);
}

.menu-preview-card h3 {
  margin-bottom: 0.3rem;
  color: var(--wine);
}

.delegation-card {
  background: rgba(255, 255, 255, 0.98);
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

.delegation-card .delegation-table {
  color: var(--muted);
}

.price-badge {
  display: inline-grid;
  gap: 0.1rem;
  margin-bottom: 1.2rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--wine), var(--wine-soft));
  color: #fff;
  width: fit-content;
}

.price-badge span {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-badge strong {
  font-size: 2.1rem;
  line-height: 1;
}

.delegation-table-wrap {
  overflow-x: auto;
}

.delegation-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.delegation-table th,
.delegation-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(31, 27, 27, 0.09);
  text-align: left;
  vertical-align: top;
}

.delegation-table thead th {
  color: var(--wine);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.delegation-table tbody td:first-child {
  width: 30%;
  font-weight: 700;
  color: var(--ink);
}

.menu-layout {
  display: grid;
  gap: 1.25rem;
}

.menu-accordion {
  display: grid;
  gap: 0.9rem;
}

.menu-accordion details {
  background: #fff;
  border: 1px solid rgba(115, 24, 34, 0.08);
}

.menu-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.2rem;
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-accordion summary::-webkit-details-marker {
  display: none;
}

.menu-accordion summary::after {
  content: "+";
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--wine);
}

.menu-accordion details[open] summary::after {
  content: "−";
}

.detail-grid {
  display: grid;
  gap: 0.75rem;
  padding: 0 1.2rem 1.2rem;
}

.detail-grid p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(31, 27, 27, 0.08);
}

.detail-grid p:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-grid strong {
  color: var(--ink);
  font-weight: 700;
}

.detail-grid span {
  color: var(--wine);
  font-weight: 800;
  white-space: nowrap;
}

.center-actions {
  justify-content: center;
}

.atmosphere-cards {
  grid-template-columns: 1fr;
}

.feature-photo img {
  aspect-ratio: 4 / 3;
}

.feature-photo-large img {
  aspect-ratio: 16 / 10;
}

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

.gallery-item {
  position: relative;
  min-height: 240px;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
}

.gallery-item img {
  min-height: 240px;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.03);
}

.gallery-item-large {
  min-height: 340px;
}

.gallery-item-large img {
  min-height: 340px;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
  font-weight: 700;
  text-align: left;
}

.location-grid,
.intro-grid {
  grid-template-columns: 1fr;
}

.location-list {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.location-list div {
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(31, 27, 27, 0.1);
}

.location-list dt {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.location-list dd {
  margin: 0;
}

.map-frame {
  min-height: 360px;
  background: #fff;
  border: 1px solid rgba(31, 27, 27, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.history-card {
  padding: 1.4rem;
  background: #fff;
  border: 1px solid rgba(115, 24, 34, 0.08);
}

.history-card p {
  margin-top: 0;
}

.history-stats {
  grid-template-columns: 1fr;
  margin-top: 1.4rem;
}

.history-stats article {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--cream-2);
  border: 1px solid rgba(115, 24, 34, 0.08);
}

.history-stats strong {
  display: block;
  font-size: 1.15rem;
  color: var(--wine);
}

.history-stats span {
  color: var(--muted);
}

.site-footer {
  background: #121214;
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0 6.2rem;
}

.footer-grid {
  gap: 0.6rem 2rem;
}

.footer-brand {
  margin: 0 0 0.2rem;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}

.site-footer p {
  margin: 0.3rem 0;
}

.mobile-cta-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 130;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0.75rem;
  background: rgba(17, 18, 20, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.mobile-cta-bar a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
}

.mobile-cta-bar a:first-child {
  color: #fff;
  background: linear-gradient(135deg, var(--wine), var(--wine-soft));
}

.mobile-cta-bar a:last-child {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lightbox {
  width: min(92vw, 1080px);
  max-width: none;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox-image {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 18px;
  background: #111;
}

.lightbox-caption {
  margin: 0.75rem auto 0;
  max-width: 90%;
  text-align: center;
  color: #fff;
}

.lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 18, 20, 0.78);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .signature-grid,
  .menu-summary-grid,
  .gallery-grid,
  .history-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item-large {
    grid-column: span 2;
  }

  .atmosphere-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-photo-large {
    grid-column: span 2;
  }

  .history-stats {
    gap: 1rem;
  }

  .mobile-cta-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 2rem;
  }
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    transform: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: 0;
  }

  .site-nav a {
    background: transparent;
    padding: 0.7rem 0.9rem;
  }

  .site-nav .nav-cta {
    padding-inline: 1.1rem;
  }

  .hero {
    padding: 4rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: center;
  }

  .hero-media {
    align-self: stretch;
    grid-template-columns: minmax(0, 1fr) 210px;
    display: grid;
    gap: 1rem;
  }

  .hero-side-grid {
    grid-template-rows: 1fr 1fr auto; 
    align-content: start;
  }

  .signature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .delegation-layout,
  .location-grid,
  .intro-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: start;
  }

  .atmosphere-grid {
    grid-template-columns: 0.34fr 0.66fr;
    align-items: start;
  }

  .atmosphere-cards {
    gap: 1.1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .gallery-item-large {
    grid-column: span 6;
    grid-row: span 2;
  }

  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) {
    grid-column: span 3;
  }

  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) {
    grid-column: span 4;
  }

  .history-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1220px) {
  .hero-video {
    aspect-ratio: 1 / 1.12;
  }
}
