/* Ricardo Buriticá · Hub Legal */
:root {
  --bg: #f4f0eb;
  --card: #ffffff;
  --text: #191714;
  --muted: #555d66;
  --accent: #c79a5a;
  --accent-text: #765528;
  --taupe: #7f6c5b;
  --border: #e4d8cb;
  --max: 880px;
  --max-hub: 1080px;
  --r: 22px;
  --shadow: 0 10px 34px rgba(69,55,42,.09);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 100%; }
img { display: block; max-width: 100%; }
body {
  font-family: system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent-text); }
a:focus-visible { outline: 3px solid rgba(118,85,40,.38); outline-offset: 3px; border-radius: 4px; }

.nav-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  background: var(--taupe);
  border-bottom: 1px solid rgba(255,255,255,.18);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(45,35,27,.08);
}
.nav-top a {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 7px 17px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.nav-top a:hover,
.nav-top a[aria-current="page"] {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
}
.nav-top a.cta-reservar {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-header {
  text-align: center;
  padding: 36px 16px 22px;
  background: linear-gradient(180deg, #faf7f3 0%, var(--bg) 100%);
}
.site-header img {
  height: 88px;
  width: 88px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 12px;
}
.brand-name { font-size: 1.125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.brand-tagline { font-size: 1rem; color: var(--muted); margin-top: 3px; }

main {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 18px 20px 80px;
  flex: 1;
}
.hub-page main { max-width: var(--max-hub); }

.legal-card {
  background: var(--card);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 34px 24px 46px;
}
@media (min-width: 640px) {
  .legal-card { padding: 56px 58px 64px; }
}
@media (min-width: 900px) {
  .hub-page .legal-card { padding: 60px 66px 68px; }
}

.doc-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent-text);
  margin-bottom: 10px;
}
.legal-card h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -.015em;
  margin-bottom: 10px;
}
@media (min-width: 640px) {
  .legal-card h1 { font-size: 2.25rem; }
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.68;
  max-width: 68ch;
}
.doc-meta {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.doc-meta strong { color: var(--text); }

.legal-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 34px 0 10px;
  padding-top: 22px;
  border-top: 1px solid #eee7df;
}
.legal-card h3 { font-size: 1.2rem; font-weight: 700; margin: 20px 0 7px; }
.legal-card p,
.legal-card ul,
.legal-card ol {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 15px;
}
.legal-card ul,
.legal-card ol { padding-left: 24px; }
.legal-card li { margin-bottom: 6px; }
.legal-card a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-card a:hover { text-decoration-thickness: 2px; }

.highlight,
.info-box {
  background: #fcf7f0;
  border: 1px solid rgba(118,85,40,.24);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0 21px;
}
.highlight p,
.info-box p { color: #5d544a; margin-bottom: 8px; }
.highlight p:last-child,
.info-box p:last-child { margin-bottom: 0; }
.info-box { border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; }
.info-box strong { color: var(--text); }

.action-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.action-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 12px;
  background: #fcf7f0;
  border: 1px solid rgba(118,85,40,.30);
  color: var(--accent-text);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
}
.action-link:hover { background: #f5eadb; border-color: var(--accent-text); }

.toc {
  background: #faf8f5;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 10px 0 30px;
}
.toc-title {
  font-size: 0.8125rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #555d66 !important;
  margin-bottom: 10px !important;
}
.toc ol { padding-left: 22px; font-size: 1.0625rem; line-height: 1.9; margin-bottom: 0; }
.toc a { color: inherit; text-decoration: none; }
.toc a:hover { color: var(--accent-text); text-decoration: underline; }

.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}
@media (min-width: 680px) {
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.hub-item {
  min-height: 168px;
  border-radius: 17px;
  border: 1px solid #ddcdbb;
  background: linear-gradient(145deg, #fbf8f4 0%, #ffffff 72%);
  box-shadow: 0 3px 12px rgba(69,55,42,.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.hub-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(69,55,42,.11);
  border-color: rgba(118,85,40,.46);
}
.hub-item a {
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 24px 26px;
  text-decoration: none;
  color: inherit;
}
.hub-tag {
  font-size: 0.8125rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .17em;
  color: var(--accent-text) !important;
  margin-bottom: 8px !important;
}
.hub-title {
  font-size: 1.25rem !important;
  font-weight: 700;
  line-height: 1.3 !important;
  color: var(--text) !important;
  margin-bottom: 8px !important;
}
.hub-text {
  font-size: 1.0625rem !important;
  color: var(--muted) !important;
  line-height: 1.62 !important;
  margin-bottom: 0 !important;
}

.hub-note {
  margin-top: 30px;
  padding: 22px 24px 6px;
  border-top: 1px solid var(--border);
}
.hub-note p { font-size: 1rem; margin-bottom: 7px; }

.site-footer {
  border-top: 1px solid rgba(255,255,255,.16);
  background: var(--taupe);
  padding: 34px 18px 30px;
  text-align: center;
  margin-top: auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 16px;
}
.footer-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.52);
  text-underline-offset: 4px;
}
.footer-nav a:hover { text-decoration-color: #fff; }
.footer-copy { font-size: 1rem; color: #fff; line-height: 1.8; }
.footer-copy a { color: #fff; font-weight: 600; }

@media (max-width: 679px) {
  .nav-top a { padding: 7px 14px; }
  .site-header { padding-top: 28px; }
  .site-header img { height: 76px; width: 76px; }
  main { padding: 14px 12px 56px; }
  .legal-card { border-radius: 17px; padding: 30px 20px 40px; }
  .hub-item { min-height: 0; }
  .hub-item a { padding: 21px 22px; }
  .footer-nav { gap: 10px 16px; }
}
