@font-face {
  font-family: "Playfair Display";
  src: url("playfair-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("playfair-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #090b0d;
  --ink-soft: #0f1316;
  --panel: #151a1e;
  --panel-2: #1a2023;
  --ivory: #f1ecdf;
  --ivory-deep: #ddd4c2;
  --text: #e8e4dc;
  --muted: #bcb7ae;
  --gold: #c9a865;
  --gold-light: #e3ca8e;
  --petrol: #173b3a;
  --petrol-light: #245353;
  --line: rgba(227, 202, 142, .22);
  --line-soft: rgba(232, 228, 220, .12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1220px;
  --pad: clamp(1.2rem, 4vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 6%, rgba(36, 83, 83, .22), transparent 28rem),
    linear-gradient(180deg, var(--ink), #0b0e10 58%, var(--ink));
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
::selection { color: var(--ink); background: var(--gold-light); }

.shell { width: min(100%, calc(var(--max) + var(--pad) * 2)); margin-inline: auto; padding-inline: var(--pad); }
.skip-link {
  position: fixed;
  top: .7rem;
  left: .7rem;
  z-index: 999;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--gold-light);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

/* BORRADOR: retirar el bloque .draft-only completo antes de publicar. */
.draft-only {
  position: relative;
  z-index: 90;
  border-bottom: 1px solid rgba(9, 11, 13, .28);
  padding: .58rem var(--pad);
  color: #17130b;
  background: var(--gold-light);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(9, 11, 13, .98);
}
.nav-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand img { width: 145px; height: 50px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.8rem, 2vw, 1.8rem); }
.site-nav a {
  position: relative;
  padding-block: .7rem;
  color: #d0ccc4;
  font-size: .76rem;
  font-weight: 720;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: .45rem; left: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current="page"] { color: var(--gold-light); }

.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.page-hero::before { content: ""; position: absolute; top: 3rem; right: -8rem; width: 32rem; height: 32rem; border: 1px solid rgba(201,168,101,.1); border-radius: 50%; box-shadow: 0 0 0 6rem rgba(201,168,101,.018), 0 0 0 12rem rgba(23,59,58,.06); }
.hero-grid { min-height: 485px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(3rem, 8vw, 8rem); align-items: center; padding-block: clamp(4.6rem, 8vw, 7rem); }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; color: var(--gold); font-size: .73rem; font-weight: 820; letter-spacing: .17em; line-height: 1.25; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 2.6rem; height: 1px; background: currentColor; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; }
h1 { max-width: 15ch; font-size: clamp(3.5rem, 6.6vw, 6.8rem); line-height: .96; }
h2 { font-size: clamp(2rem, 3.7vw, 3.7rem); line-height: 1.04; }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.15; }
p { margin: 0; }
.hero-lede { max-width: 68ch; margin-top: 1.45rem; color: #cbc7bf; font-size: clamp(1.08rem, 1.45vw, 1.3rem); line-height: 1.65; }
.updated { margin-top: 1.4rem; color: #98948c; font-size: .78rem; }
.hero-mark { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; border-left: 1px solid var(--line); padding: 2rem 0 1rem 2rem; }
.hero-mark strong { color: rgba(227,202,142,.16); font-family: var(--serif); font-size: 7.5rem; font-weight: 400; line-height: .82; }
.hero-mark span { margin-top: 1.2rem; color: var(--gold-light); font-size: .68rem; font-weight: 780; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }

.document { padding-block: clamp(4.8rem, 9vw, 8.5rem); }
.doc-grid { display: grid; grid-template-columns: 245px minmax(0, 830px); gap: clamp(3.2rem, 8vw, 8.5rem); align-items: start; justify-content: center; }
.toc { position: sticky; top: 118px; border-top: 1px solid var(--gold); padding-top: 1.1rem; }
.toc-title { color: var(--gold-light); font-size: .7rem; font-weight: 820; letter-spacing: .16em; text-transform: uppercase; }
.toc ol { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--line-soft); }
.toc a { display: grid; grid-template-columns: 2rem 1fr; gap: .35rem; padding: .8rem 0; color: var(--muted); font-size: .78rem; line-height: 1.4; text-decoration: none; }
.toc a::before { content: "0" counter(toc); color: var(--gold); font-family: var(--serif); }
.toc a:hover { color: var(--text); }

.reading { min-width: 0; }
.reading > .intro-panel { margin-bottom: 4.5rem; }
.intro-panel { border-block: 1px solid var(--line); padding: 1.5rem 0; color: var(--ivory-deep); font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.45; }
.legal-section { position: relative; margin-top: 4.8rem; border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 4vw, 3.2rem); }
.legal-section:first-of-type { margin-top: 0; }
.section-index { display: block; margin-bottom: .8rem; color: var(--gold); font-size: .7rem; font-weight: 820; letter-spacing: .16em; text-transform: uppercase; }
.legal-section h2 { max-width: 19ch; }
.legal-section h3 { margin-top: 2rem; color: var(--ivory); }
.legal-section p, .legal-section li { max-width: 76ch; color: #d1cdc5; }
.legal-section p { margin-top: 1.25rem; }
.legal-section ul, .legal-section ol { margin: 1.25rem 0 0; padding-left: 1.25rem; }
.legal-section li + li { margin-top: .65rem; }
.legal-section a { color: var(--gold-light); }

.identity-list { margin-top: 1.6rem; border-top: 1px solid var(--line-soft); }
.identity-row { display: grid; grid-template-columns: 185px 1fr; gap: 1.5rem; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
.identity-row dt { color: var(--gold); font-size: .74rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.identity-row dd { margin: 0; color: var(--text); }

.callout { margin-top: 1.7rem; border: 1px solid rgba(201,168,101,.34); border-left: 3px solid var(--gold); padding: 1.35rem 1.5rem; color: var(--ivory-deep); background: rgba(201,168,101,.055); }
.callout strong { display: block; margin-bottom: .35rem; color: var(--gold-light); font-size: .73rem; letter-spacing: .11em; text-transform: uppercase; }
.draft-panel { margin: 1.7rem 0 0; border: 2px solid var(--gold-light); padding: 1.4rem 1.5rem; color: #18130a; background: var(--gold-light); font-size: 1rem; font-weight: 780; line-height: 1.55; letter-spacing: .01em; text-transform: none; }

.summary-wrap, .table-wrap { margin-top: 1.8rem; overflow-x: auto; border-top: 1px solid var(--gold); }
.summary-wrap:focus-visible, .table-wrap:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }
.table-hint { display: none; margin: 1.2rem 0 -.8rem; color: var(--gold-light); font-size: 1rem; font-weight: 700; line-height: 1.5; }
.table-hint::after { content: "  →"; }
.summary-table, .data-table { width: 100%; border-collapse: collapse; }
.summary-table { min-width: 620px; }
.data-table { min-width: 720px; }
.summary-table th, .summary-table td, .data-table th, .data-table td { padding: 1rem .85rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; text-align: left; }
.summary-table th, .data-table th { color: var(--gold-light); font-size: 1rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; }
.summary-table td, .data-table td { color: #d1cdc5; font-size: 1rem; }
.summary-table th:first-child, .summary-table td:first-child { width: 25%; }
.status { color: var(--gold-light); font-weight: 750; }

.rights-list { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.rights-list span { padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ivory-deep); }
.rights-list span:nth-child(even) { border-left: 1px solid var(--line-soft); padding-left: 1rem; }

.control-preview { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.control-token { min-width: 150px; display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid var(--gold); padding: .7rem 1rem; color: var(--gold-light); font-size: .74rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.control-note { margin-top: .9rem !important; color: #9d9991 !important; font-size: 1rem; }
.disabled-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; margin-top: 1.3rem; border: 1px solid #76726b; padding: .8rem 1.15rem; color: #aaa59d; background: transparent; font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: not-allowed; }

.contact-document { padding-block: clamp(4.4rem, 8vw, 7.5rem); }
.arrival-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(400px, 1.08fr); gap: clamp(3rem, 7vw, 7rem); align-items: stretch; }
.arrival-copy { display: flex; flex-direction: column; justify-content: center; }
.arrival-copy .eyebrow { margin-bottom: 1.2rem; }
.address-large { max-width: 18ch; color: var(--ivory); font-family: var(--serif); font-size: clamp(2.1rem, 4vw, 4.2rem); line-height: 1.06; }
.arrival-copy > p { max-width: 58ch; margin-top: 1.3rem; color: var(--muted); }
.arrival-photo { position: relative; min-height: 610px; margin: 0; padding: 10px; border: 1px solid rgba(227,202,142,.48); }
.arrival-photo::before { content: ""; position: absolute; inset: -1.4rem 1.4rem 1.4rem -1.4rem; z-index: -1; background: rgba(23,59,58,.64); }
.arrival-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.72) brightness(.78) contrast(1.04); }
.arrival-photo figcaption { position: absolute; right: 10px; bottom: 10px; left: 10px; padding: 3.5rem 1rem 1rem; color: var(--ivory); background: linear-gradient(transparent, rgba(9,11,13,.86)); font-size: .78rem; }
.arrival-photo.arrival-photo-documentary { min-height: 0; align-self: start; }
.arrival-photo-documentary img { height: auto; object-fit: contain; filter: none; }
.arrival-photo-documentary figcaption { position: static; padding: .9rem 1rem; background: #101518; }
.practical-band { border-block: 1px solid var(--line); background: linear-gradient(120deg, #12181b, #101719 60%, #132727); }
.practical-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; padding-block: clamp(4.5rem, 8vw, 7rem); }
.practical-grid h2 { max-width: 11ch; }
.travel-lines { border-top: 1px solid var(--line); }
.travel-line { display: grid; grid-template-columns: 165px 1fr; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.travel-line strong { color: var(--gold-light); font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; }
.travel-line span { color: #d3cfc6; }
.map-button, .contact-action { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border: 1px solid var(--gold); padding: .78rem 1.1rem; color: var(--gold-light); font-size: .76rem; font-weight: 820; letter-spacing: .06em; text-align: center; text-decoration: none; text-transform: uppercase; }
.map-button { margin-top: 1.5rem; }
.map-button:hover, .contact-action:hover { color: var(--ink); background: var(--gold-light); }
.before-visit { padding-block: clamp(4.5rem, 8vw, 7rem); }
.visit-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.visit-grid h2 { max-width: 9ch; }
.step-line { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visit-step { min-height: 210px; padding: 1.4rem; }
.visit-step + .visit-step { border-left: 1px solid var(--line); }
.visit-step b { display: block; color: var(--gold); font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.visit-step strong { display: block; margin-top: 2rem; color: var(--ivory); font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.visit-step p { margin-top: .6rem; color: var(--muted); font-size: 1rem; }
.contact-section { padding-block: clamp(4.5rem, 8vw, 7rem); color: var(--ink); background: var(--ivory); }
.contact-section .eyebrow { color: #735c2f; }
.contact-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.contact-head p:last-child { max-width: 58ch; color: #51545a; }
.contact-actions { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.6rem; border-top: 1px solid rgba(9,11,13,.25); border-bottom: 1px solid rgba(9,11,13,.25); }
.contact-action { min-height: 92px; border: 0; color: #173b3a; }
.contact-action + .contact-action { border-left: 1px solid rgba(9,11,13,.25); }
.contact-action:hover { color: var(--ivory); background: var(--petrol); }
.attention-note { margin-top: 1.3rem; color: #5a5c61; font-size: 1rem; }

.site-footer { border-top: 1px solid var(--line-soft); padding-block: 3.5rem 4rem; background: #07090a; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1.35fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.footer-logo { width: 145px; height: auto; }
.footer-title { display: block; margin-bottom: .75rem; color: var(--gold-light); font-size: .7rem; font-weight: 820; letter-spacing: .13em; text-transform: uppercase; }
.footer-copy, .footer-contact a { color: #aaa69f; font-size: .8rem; line-height: 1.8; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: .55rem 1rem; }
.footer-links a { color: #b6b1a8; font-size: .76rem; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); color: #7f7b75; font-size: .7rem; }

@media (max-width: 900px) {
  .site-nav { gap: .8rem; }
  .site-nav a { font-size: .7rem; }
  .hero-grid { grid-template-columns: 1fr 190px; }
  .doc-grid { grid-template-columns: 205px minmax(0, 1fr); gap: 3rem; }
  .arrival-layout { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .table-hint { display: block; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 150px; }
  body { font-size: 16px; }
  .draft-only:not(.draft-panel) { font-size: .72rem; }
  .draft-panel { font-size: 1rem; }
  .site-header { position: relative; }
  .nav-row { display: grid; grid-template-columns: 1fr; gap: .55rem; padding-block: .65rem .8rem; }
  .brand { justify-content: center; }
  .brand img { width: 132px; height: 43px; }
  .site-nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 1px; border: 1px solid var(--line-soft); background: var(--line-soft); }
  .site-nav a { min-height: 42px; display: grid; place-content: center; padding: .45rem; color: #d4d0c8; background: #0b0e10; font-size: .75rem; text-align: center; }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--gold-light); background: #111719; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 2.2rem; padding-block: 3.8rem 4rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.1rem); }
  h2 { font-size: clamp(2.05rem, 10vw, 3rem); }
  .hero-lede { font-size: 1rem; }
  .hero-mark { min-height: 115px; align-self: auto; border-top: 1px solid var(--line); border-left: 0; padding: 1rem 0 0; }
  .hero-mark strong { position: absolute; right: 0; bottom: 0; font-size: 6rem; }
  .hero-mark span { max-width: 19ch; }
  .document { padding-block: 4.6rem; }
  .doc-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .toc { position: static; }
  .toc ol { display: grid; grid-template-columns: 1fr 1fr; }
  .toc li:nth-child(odd) { padding-right: .8rem; }
  .toc li:nth-child(even) { border-left: 1px solid var(--line-soft); padding-left: .8rem; }
  .toc a { grid-template-columns: 1.7rem 1fr; font-size: .76rem; }
  .reading > .intro-panel { margin-bottom: 3.6rem; }
  .legal-section { margin-top: 4rem; padding-left: 1.35rem; }
  .legal-section p, .legal-section li { line-height: 1.7; }
  .identity-row { grid-template-columns: 1fr; gap: .25rem; }
  .rights-list { grid-template-columns: 1fr; }
  .rights-list span:nth-child(even) { border-left: 0; padding-left: 0; }
  .summary-wrap, .table-wrap { margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .arrival-layout, .practical-grid, .visit-grid, .contact-head { grid-template-columns: 1fr; }
  .arrival-photo { min-height: 500px; }
  .practical-grid, .before-visit { padding-block: 4.5rem; }
  .travel-line { grid-template-columns: 1fr; gap: .35rem; }
  .step-line, .contact-actions { grid-template-columns: 1fr; }
  .visit-step { min-height: 0; padding: 1.4rem 0; }
  .visit-step + .visit-step, .contact-action + .contact-action { border-top: 1px solid var(--line); border-left: 0; }
  .contact-action + .contact-action { border-color: rgba(9,11,13,.25); }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
  .toc ol { grid-template-columns: 1fr; }
  .toc li:nth-child(odd), .toc li:nth-child(even) { border-left: 0; padding-right: 0; padding-left: 0; }
  .arrival-photo { min-height: 430px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
