/* =========================================================
   CAPITÁN BETO · Static SEO pages (/carta, /pet-friendly, /eventos,
   /sobre-nosotros, answer pages, /en). Loaded after styles.css and only
   on those pages; the home never loads this file.
   ========================================================= */

.pg { background: var(--bg-cream); min-height: 100vh; }
.pg a:focus-visible, .pg button:focus-visible { outline: 2px solid var(--sunset); outline-offset: 3px; }

/* ---------- Header ---------- */
.pg-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 239, 220, 0.96);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: saturate(140%) blur(10px);
}
.pg-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.pg-header .brand { color: var(--brand-green); }
.pg-header .brand__name small { color: var(--wood); }
.pg-header .brand__logo { width: 44px; height: 44px; }
.pg-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}
.pg-nav a { color: var(--ink-soft); padding: 8px 0; border-bottom: 2px solid transparent; }
.pg-nav a:hover { color: var(--brand-green); }
.pg-nav a[aria-current="page"] { color: var(--brand-green); border-bottom-color: var(--brass); }
.pg-nav .pg-nav__lang { font-weight: 700; letter-spacing: 0.08em; color: var(--wood); }
.pg-header .btn { padding: 10px 18px; font-size: 12px; }
@media (max-width: 760px) {
  .pg-header__inner { gap: 6px 12px; padding: 8px 16px; }
  .pg-nav { order: 3; width: 100%; margin-left: 0; gap: 2px 14px; font-size: 13.5px; }
  .pg-header .btn { margin-left: auto; }
}

/* ---------- Breadcrumb ---------- */
.pg-crumbs {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 22px 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.pg-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.pg-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--wood-light); }
.pg-crumbs a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero / intro ---------- */
.pg-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 26px 22px 10px;
}
.pg-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sunset-deep);
}
.pg-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--brand-green-deep);
  margin: 10px 0 16px;
}
.pg-answer {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 14px;
  max-width: 760px;
}
.pg-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }

/* ---------- Generic content ---------- */
.pg-main { padding-bottom: 40px; }
.pg-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 22px;
}
.pg-section h2 {
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--brand-green-deep);
  margin: 0 0 14px;
  line-height: 1.15;
}
.pg-section h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}
.pg-section p, .pg-section li { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); }
.pg-section p { margin: 0 0 14px; max-width: 760px; }
.pg-section strong { color: var(--ink); }
.pg-section a:not(.btn) { color: var(--brand-green); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.pg-section ul { padding-left: 20px; margin: 0 0 14px; }

.pg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.pg-card {
  background: var(--card);
  border: 1px solid var(--card-border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-1);
}
.pg-card p { margin: 0; font-size: 15px; }

.pg-figure { margin: 0; }
.pg-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  object-fit: cover;
}
.pg-figure figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.pg-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 760px) { .pg-split { grid-template-columns: 1fr; } }

.pg-facts {
  list-style: none;
  padding: 0 !important;
  display: grid;
  gap: 10px;
}
.pg-facts li {
  background: var(--card);
  border-left: 4px solid var(--brass);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* ---------- Menu (carta) ---------- */
.pg-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.pg-toc a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-green);
}
.menu-sec { scroll-margin-top: 90px; }
.menu-list { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 2px; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 18px;
  padding: 14px 4px;
  border-bottom: 1px dashed var(--card-border);
}
.menu-item h3 { font-size: 18px; margin: 0; }
.menu-item__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--brand-green);
  white-space: nowrap;
}
.menu-item__desc { grid-column: 1 / -1; margin: 0 !important; font-size: 15px !important; }
.menu-item__allergens { grid-column: 1 / -1; font-size: 13px !important; color: var(--ink-soft) !important; margin: 2px 0 0 !important; }
.menu-item__allergens span { font-weight: 600; color: var(--wood); }
.pg-note { font-size: 14px !important; color: var(--ink-soft) !important; }

/* ---------- Pets ---------- */
.pg-pets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0 !important;
  margin: 0;
}
.pg-pets figure { margin: 0; background: var(--card); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-1); }
.pg-pets img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pg-pets figcaption { padding: 8px 12px 10px; font-size: 14px; color: var(--ink-soft); }
.pg-pets figcaption strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ink); }

/* ---------- Events ---------- */
.pg-events { display: grid; gap: 16px; }
.pg-event {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--card-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pg-event img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.pg-event__body { padding: 16px 18px 16px 0; }
.pg-event__body h3 { margin-top: 4px; }
.pg-event__date { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sunset-deep); }
.pg-events-empty { font-style: italic; }
@media (max-width: 600px) {
  .pg-event { grid-template-columns: 1fr; }
  .pg-event img { max-height: 260px; }
  .pg-event__body { padding: 0 16px 16px; }
}

/* ---------- FAQ ---------- */
.pg-faq details {
  background: var(--card);
  border: 1px solid var(--card-border-soft);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 10px;
}
.pg-faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 16px; }
.pg-faq details p { margin: 10px 0 0; }

/* ---------- CTA band ---------- */
.pg-cta {
  max-width: 980px;
  margin: 20px auto 10px;
  padding: 28px 26px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--forest) 100%);
  color: var(--bg-cream);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}
.pg-cta h2 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin: 0 0 4px; color: #fff; }
.pg-cta p { margin: 0; color: rgba(247, 239, 220, 0.88); max-width: 520px; }
.pg-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1020px) { .pg-cta { margin-left: 16px; margin-right: 16px; } }

/* ---------- Related links ---------- */
.pg-related ul { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.pg-related a {
  display: block;
  background: var(--card);
  border: 1px solid var(--card-border-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-decoration: none !important;
  font-weight: 600;
}
.pg-related a:hover { border-color: var(--brass); }

/* ---------- Footer ---------- */
.pg .footer--legal { margin-top: 40px; }
.pg .footer__col a { display: block; padding: 3px 0; }
.pg .footer__h {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-green);
  margin: 0 0 12px;
}
.pg .footer__bottom p:last-child { font-family: var(--font-display); font-style: italic; }
/* Contrast: the shared --ink-mute (#948574) is 3.1:1 on cream; use --ink-soft here */
.pg .footer__bottom, .pg .footer__col small { color: var(--ink-soft); }
