:root {
  --amarillo: #fff001;
  --oscuro: #1d120c;
  --medio: #3d2a1a;
  --gris: #6f5f50;
  --linea: #e9e2d8;
  --crema: #faf7f2;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--oscuro); font-family: 'Open Sans', Arial, sans-serif; font-size: 17px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--medio); text-underline-offset: 3px; }

.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 40px; background: var(--oscuro); color: #fff; }
.top nav { display: flex; gap: 22px; }
.top nav a { color: #fff; font-family: 'Syne', sans-serif; font-size: 0.78rem; font-weight: 600; text-decoration: none; }
.top nav a:hover { color: var(--amarillo); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 50%; }

.btn { display: inline-block; padding: 12px 24px; border: 2px solid var(--amarillo); border-radius: 6px; background: var(--amarillo); color: #000; font-family: 'Syne', sans-serif; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.btn:hover { background: transparent; color: var(--amarillo); }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost:hover { border-color: var(--amarillo); color: var(--amarillo); }

.crumbs { max-width: 1120px; margin: 0 auto; padding: 14px 24px 0; font-size: 0.8rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--gris); }
.crumbs li + li::before { content: '/'; margin-right: 6px; }

.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; max-width: 1120px; margin: 14px auto 0; padding: 44px 40px; background: var(--oscuro); color: #fff; border-radius: 14px; }
.hero h1, .prose h1, .blog-head h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 400; line-height: 1.08; margin: 0 0 18px; }
.hero img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.hero .lead { color: #f2ece4; }
.eyebrow { margin: 0 0 12px; color: var(--gris); font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.hero .eyebrow { color: var(--amarillo); }
.lead { font-size: 1.14rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: 0.85rem; color: #ddd3c7; }
.facts li::before { content: '✓ '; color: var(--amarillo); }

.prose { max-width: 780px; margin: 0 auto; padding: 36px 24px 48px; }
.prose h2 { margin: 44px 0 12px; font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3.5vw, 2.3rem); font-weight: 500; line-height: 1.2; }
.prose li { margin-bottom: 7px; }
.post h1 { color: var(--oscuro); }
.byline, .note { color: var(--gris); font-size: 0.85rem; }
.answer { padding: 18px 20px; border-left: 4px solid var(--amarillo); background: var(--crema); }

.table-wrap { overflow-x: auto; margin: 18px 0 8px; }
table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
caption { padding-bottom: 8px; color: var(--gris); font-size: 0.85rem; text-align: left; }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--linea); text-align: left; }
thead th { background: var(--oscuro); color: #fff; font-family: 'Syne', sans-serif; font-size: 0.75rem; letter-spacing: 0.04em; }

details { padding: 12px 0; border-bottom: 1px solid var(--linea); }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; }

.cta { margin-top: 48px; padding: 30px; border-radius: 12px; background: var(--oscuro); color: #fff; }
.cta h2 { margin-top: 0; }
.cta .btn { margin: 6px 8px 0 0; }

.related, .blog-grid, .blog-head { max-width: 1120px; margin: 0 auto; padding: 0 24px 48px; }
.blog-head { padding-top: 30px; padding-bottom: 28px; }
.related h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 500; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: block; padding: 20px; border: 1px solid var(--linea); border-radius: 10px; color: var(--oscuro); font-weight: 700; text-decoration: none; }
.card:hover { border-color: var(--oscuro); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post-card h2 { margin: 0 0 8px; font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 600; line-height: 1.2; }
.post-card p { margin: 0 0 10px; color: var(--gris); font-size: 0.92rem; font-weight: 400; }
.post-card span { font-family: 'Syne', sans-serif; font-size: 0.74rem; }

.foot { padding: 44px 40px 90px; background: var(--oscuro); color: #ddd3c7; font-size: 0.88rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; max-width: 1120px; margin: 0 auto; }
.foot strong { display: block; margin-bottom: 8px; color: #fff; }
.foot .foot-name { color: var(--amarillo); font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; }
.foot a { display: block; margin-bottom: 5px; color: #ddd3c7; }
.foot p { margin-top: 0; }
.legal { max-width: 1120px; margin: 28px auto 0; font-size: 0.78rem; }
.legal a { display: inline; }
.notfound { min-height: 50vh; }

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }

.reserva-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(16, 11, 7, 0.88); }
.reserva-box { position: relative; width: 100%; max-width: 860px; height: min(88vh, 700px); overflow: hidden; border-radius: 12px; background: #fff; }
.reserva-box iframe { width: 100%; height: 100%; border: 0; }
.reserva-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--oscuro); color: #fff; font-size: 20px; cursor: pointer; }

@media (max-width: 920px) {
  .top { padding: 10px 16px; flex-wrap: wrap; }
  .top nav { order: 3; width: 100%; gap: 16px; overflow-x: auto; padding-bottom: 4px; white-space: nowrap; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 12px 16px 0; padding: 28px 20px; }
  .hero img { aspect-ratio: 16 / 10; }
  .btn { white-space: normal; text-align: center; }
  .top .btn { padding: 9px 14px; }
  .top nav { min-width: 0; }
  .foot { padding: 36px 20px 90px; }
  .foot-grid, .cards, .blog-grid { grid-template-columns: 1fr; }
}
