/* ============================================================
   El Reino Perdido — estilos
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --stone-darkest: #0e0d0b;
  --stone-dark: #1a1814;
  --stone-mid: #2c2820;
  --stone-light: #4a4238;
  --parchment-deep: #c9b48a;
  --parchment-mid: #d9c9a3;
  --parchment-light: #ede0c4;
  --parchment-pale: #f5edd8;
  --gold: #c8a84b;
  --gold-bright: #e2c06a;
  --gold-dim: #8a6f30;
  --text-body: #d4c4a0;
  --text-muted: #7a6e5a;
  --text-accent: #e8d5a8;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--stone-darkest);
  color: var(--text-body);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Grain overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1000;
}

/* ── Radial vignette ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 999;
}

/* ── Background texture ── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(200,168,75,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(42,34,22,0.8) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(42,34,22,0.8) 0%, transparent 70%),
    linear-gradient(180deg, #0e0d0b 0%, #141210 40%, #1a1814 70%, #0e0d0b 100%);
}

/* ── Main wrapper (landing) ── */
.wrapper {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

/* ── Ornamentos compartidos ── */
.ornament-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.ornament-line::before,
.ornament-line::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--parchment-mid), transparent);
}

.ornament-diamond {
  width: 6px;
  height: 6px;
  background: var(--parchment-mid);
  transform: rotate(45deg);
}

/* ── Top ornament (landing) ── */
.top-ornament {
  text-align: center;
  margin-bottom: 0.9rem;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards 0.2s;
}

.label-coming {
  font-family: 'Cormorant SC', serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--parchment-mid);
  text-transform: uppercase;
}

/* ── Logo (landing) ── */
.logo-container {
  margin-bottom: 1.8rem;
  text-align: center;
}

.logo-container img {
  width: 3cm;
  height: auto;
  opacity: 0.9;
}

/* ── Site title (landing) ── */
.site-title {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1.4s ease forwards 0.5s;
}

.site-title h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--parchment-light);
  margin-bottom: 0.3em;
}

.site-title h1 em {
  font-style: italic;
  color: var(--gold);
}

.site-title p {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-style: italic;
  color: var(--parchment-deep);
  line-height: 1.8;
}

.site-title p strong {
  font-style: normal;
  color: var(--text-body);
}

.title-rule {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.2rem auto 0;
}

/* ── Central question (landing) ── */
.central-question {
  max-width: 680px;
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1.4s ease forwards 0.8s;
}

.question-eyebrow {
  font-family: 'Cormorant SC', serif;
  font-size: clamp(0.75rem, 1.4vw, 1.2rem);
  letter-spacing: 0.8em;
  color: var(--parchment-deep);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.question-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.2;
  color: var(--parchment-light);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
  text-align: center;
}

.question-text strong {
  font-style: normal;
  font-weight: 500;
  color: var(--parchment-light);
}

/* ── Scripture block (landing) ── */
.scripture-block {
  max-width: 600px;
  text-align: center;
  margin-bottom: 3.5rem;
  padding: 0;
  border: none;
  background: none;
  position: relative;
  opacity: 0;
  animation: fadeUp 1.4s ease forwards 1.0s;
}

.scripture-block::before,
.scripture-block::after {
  display: none;
}

.scripture-block p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--parchment-deep);
  margin-bottom: 0.6rem;
}

.scripture-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--parchment-deep);
  margin-bottom: 0.6rem;
}

.scripture-ref {
  font-family: 'Cormorant SC', serif;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  color: var(--parchment-mid);
}

/* ── Article card (landing) ── */
.article-card {
  display: block;
  width: 100%;
  max-width: 560px;
  margin-bottom: 4rem;
  padding: 2rem 2.2rem 1.8rem;
  border: 1px solid rgba(200,168,75,0.18);
  background: rgba(200,168,75,0.025);
  text-decoration: none;
  position: relative;
  opacity: 0;
  animation: fadeUp 1.4s ease forwards 1.25s;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.article-card::before,
.article-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold-dim);
  border-style: solid;
  transition: border-color 0.4s ease;
}

.article-card::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.article-card::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

.article-card:hover {
  border-color: rgba(200,168,75,0.4);
  background: rgba(200,168,75,0.05);
}

.article-card:hover::before,
.article-card:hover::after {
  border-color: var(--gold);
}

.article-card__eyebrow {
  display: block;
  font-family: 'Cormorant SC', serif;
  font-size: 0.9rem;
  letter-spacing: 0.28em;
  color: var(--parchment-deep);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.article-card:hover .article-card__eyebrow {
  color: var(--gold);
}

.article-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--parchment-light);
  margin-bottom: 1rem;
}

.article-card__excerpt {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.4rem;
}

.article-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cormorant SC', serif;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--parchment-deep);
  transition: color 0.3s ease, gap 0.3s ease;
}

.article-card:hover .article-card__cta {
  color: var(--gold);
  gap: 0.8rem;
}

.article-card__cta svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card__cta svg {
  transform: translateX(3px);
}

/* ── Tagline (landing) ── */
.tagline {
  max-width: 540px;
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp 1.4s ease forwards 1.4s;
}

.tagline p {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-style: italic;
  color: var(--parchment-deep);
  line-height: 1.8;
}

.tagline p strong {
  font-style: normal;
  color: var(--text-body);
}

/* ── En construcción ── */
.en-construccion {
  max-width: 980px;
  text-align: center;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 1.4s ease forwards 0.8s;
}

/* ── Email form (landing) ── */
.email-section {
  width: 100%;
  max-width: 440px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1.4s ease forwards 1.5s;
}

.form-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--parchment-light);
  display: block;
  text-align: center;
  margin-bottom: 1.2rem;
}

.form-row {
  display: flex;
  gap: 0;
}

.email-input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,168,75,0.2);
  border-right: none;
  color: var(--parchment-light);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  padding: 0.85rem 1.2rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  min-width: 0;
}

.email-input::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.email-input:focus {
  border-color: rgba(200,168,75,0.5);
  background: rgba(200,168,75,0.04);
}

.submit-btn {
  background: transparent;
  border: 1px solid rgba(200,168,75,0.4);
  color: var(--gold);
  font-family: 'Cormorant SC', serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.submit-btn:hover {
  background: rgba(200,168,75,0.08);
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* ── Success state ── */
.success-message {
  display: none;
  text-align: center;
  padding: 1.2rem 1.5rem;
  border: 1px solid rgba(200,168,75,0.2);
  background: rgba(200,168,75,0.03);
}

.success-message.visible {
  display: block;
  animation: fadeUp 0.6s ease forwards;
}

.success-message p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  color: var(--parchment-mid);
  font-size: 1.05rem;
}

.success-message span {
  display: block;
  font-family: 'Cormorant SC', serif;
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  color: var(--gold-dim);
  margin-top: 0.5rem;
}

/* ── Share buttons (landing) ── */
.share-section {
  opacity: 0;
  animation: fadeUp 1.4s ease forwards 1.7s;
  text-align: center;
}

.share-label {
  font-family: 'Cormorant SC', serif;
  font-size: 0.88rem;
  letter-spacing: 0.3em;
  color: var(--parchment-mid);
  margin-bottom: 1rem;
  display: block;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(200,168,75,0.3);
  background: transparent;
  color: var(--parchment-deep);
  font-family: 'Cormorant SC', serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-btn:hover {
  border-color: var(--gold);
  color: var(--parchment-light);
}

.share-btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex-shrink: 0;
}

.copy-btn.copied {
  border-color: rgba(200,168,75,0.4);
  color: var(--gold);
}

/* ── Bottom ornament (landing) ── */
.bottom-ornament {
  margin-top: 4rem;
  text-align: center;
  opacity: 0;
  animation: fadeUp 1.4s ease forwards 1.9s;
}

.bottom-ornament .ornament-line::before,
.bottom-ornament .ornament-line::after {
  width: 40px;
}

/* ── Floating particles ── */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 1px;
  height: 1px;
  background: var(--gold-dim);
  border-radius: 50%;
  opacity: 0;
  animation: float linear infinite;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.1; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ── Tooltip ── */
.tooltip-container { position: relative; }

.tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--stone-mid);
  border: 1px solid rgba(200,168,75,0.2);
  color: var(--parchment-mid);
  font-family: 'Cormorant SC', serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  padding: 0.35rem 0.7rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.tooltip.show { opacity: 1; }

/* ── Error state ── */
.form-error {
  display: none;
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 0.9rem;
  color: #c4926a;
  text-align: center;
  margin-top: 0.6rem;
}

.form-error.visible { display: block; }

/* ── Responsive (landing) ── */
@media (max-width: 480px) {
  .form-row { flex-direction: column; }
  .email-input { border-right: 1px solid rgba(200,168,75,0.2); border-bottom: none; }
  .submit-btn { border-top: none; }
  .share-buttons { gap: 0.5rem; }
  .article-card { padding: 1.6rem 1.4rem; }
}


/* ============================================================
   Artículo — header minimal, contenido, footer editorial
   ============================================================ */

/* ── Header minimal ── */
.art-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 0;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.1s;
}

.art-header__ornament {
  margin-bottom: 1rem;
}

.art-header__ornament .ornament-line::before,
.art-header__ornament .ornament-line::after {
  width: 40px;
}

.art-header__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.art-header__logo {
  width: 1.6cm;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.art-header__identity:hover .art-header__logo {
  opacity: 1;
}

.art-header__site-name {
  font-family: 'Cormorant SC', serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--parchment-deep);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.art-header__identity:hover .art-header__site-name {
  color: var(--parchment-mid);
}

/* ── Página del artículo ── */
.article-page {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* ── Cabecera del artículo ── */
.article-header {
  text-align: center;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.3s;
}

.article-meta {
  font-family: 'Cormorant SC', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--parchment-deep);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.article-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--parchment-light);
  margin-bottom: 1.8rem;
  letter-spacing: 0.01em;
}

.article-header__rule {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 0 auto;
}

/* ── Cuerpo del artículo ── */
.article-content {
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.5s;
}

.article-content p {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 1.6em;
}

.article-content p:first-child {
  font-size: clamp(1.15rem, 2.2vw, 1.32rem);
  color: var(--parchment-mid);
}

.article-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--parchment-light);
  text-align: center;
  margin: 3.5rem 0 2rem;
}

.article-content h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--parchment-light);
  text-align: left;
  margin: 3rem 0 1.4rem;
}

.article-content cite {
  font-style: normal;
  color: var(--parchment-deep);
}

.article-content blockquote {
  margin: 2.2rem 0 3rem;
  padding: 1.5rem 1.8rem;
  border-left: 1px solid rgba(200,168,75,0.3);
  background: rgba(200,168,75,0.025);
  position: relative;
}

.article-content blockquote::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--parchment-mid);
  border-left: 1px solid var(--parchment-mid);
}

.article-content blockquote,
.article-content blockquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--parchment-mid);
  margin-bottom: 0;
}

.article-content blockquote cite {
  display: block;
  margin-top: 0.7rem;
  font-family: 'Cormorant SC', serif;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  color: var(--parchment-deep);
  font-style: normal;
}

.article-content .blockquote-final {
  border-left-color: rgba(200,168,75,0.5);
  background: rgba(200,168,75,0.04);
}

.article-content a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,168,75,0.3);
  transition: color 0.3s, border-color 0.3s;
}

.article-content a:hover {
  color: var(--gold-bright);
  border-bottom-color: var(--gold-bright);
}

/* ── Bloque de navegación hacia la parte anterior ── */
.prev-part {
  margin-bottom: 3rem;
  text-align: center;
}

.prev-part__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 1.6rem 2.5rem;
  border: 1px solid rgba(200,168,75,0.15);
  background: rgba(200,168,75,0.015);
  position: relative;
  transition: border-color 0.4s ease, background 0.4s ease;
  max-width: 480px;
  width: 100%;
}

.prev-part__link::before,
.prev-part__link::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--gold-dim);
  border-style: solid;
  transition: border-color 0.4s ease;
  opacity: 0.6;
}

.prev-part__link::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.prev-part__link::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

.prev-part__link:hover {
  border-color: rgba(200,168,75,0.3);
  background: rgba(200,168,75,0.04);
}

.prev-part__link:hover::before,
.prev-part__link:hover::after {
  border-color: var(--gold);
  opacity: 1;
}

.prev-part__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
  color: var(--gold-dim);
  transition: color 0.3s ease, transform 0.3s ease;
}

.prev-part__arrow svg {
  width: 18px;
  height: 18px;
}

.prev-part__link:hover .prev-part__arrow {
  color: var(--gold);
  transform: translateX(-4px);
}

.prev-part__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.prev-part__link:hover .prev-part__title {
  color: var(--parchment-mid);
}

.prev-part__sub {
  font-family: 'Cormorant SC', serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--parchment-deep);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.prev-part__link:hover .prev-part__sub {
  color: var(--gold);
}

/* ── Bloque de continuación (siguiente parte) ── */
.next-part {
  margin-top: 5rem;
  text-align: center;
}

.next-part__rule {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 0 auto 2.5rem;
}

.next-part__label {
  font-family: 'Cormorant SC', serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--parchment-deep);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.next-part__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(200,168,75,0.2);
  background: rgba(200,168,75,0.02);
  position: relative;
  transition: border-color 0.4s ease, background 0.4s ease;
  max-width: 480px;
  width: 100%;
}

.next-part__link::before,
.next-part__link::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--gold-dim);
  border-style: solid;
  transition: border-color 0.4s ease;
}

.next-part__link::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.next-part__link::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

.next-part__link:hover {
  border-color: rgba(200,168,75,0.4);
  background: rgba(200,168,75,0.05);
}

.next-part__link:hover::before,
.next-part__link:hover::after {
  border-color: var(--gold);
}

.next-part__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  color: var(--parchment-light);
  line-height: 1.3;
  transition: color 0.3s ease;
}

.next-part__link:hover .next-part__title {
  color: var(--parchment-pale);
}

.next-part__sub {
  font-family: 'Cormorant SC', serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--parchment-deep);
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.next-part__sub.numero, .prev-part__sub.numero {
	font-size: 1.1rem;
}

.next-part__link:hover .next-part__sub {
  color: var(--gold);
}

.next-part__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  color: var(--gold-dim);
  transition: color 0.3s ease, transform 0.3s ease;
}

.next-part__arrow svg {
  width: 18px;
  height: 18px;
}

.next-part__link:hover .next-part__arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ── Footer editorial ── */
.art-footer {
  margin-top: 4rem;
  text-align: center;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.7s;
}

.art-footer__ornament {
  margin-bottom: 1.8rem;
}

.art-footer__ornament .ornament-line::before,
.art-footer__ornament .ornament-line::after {
  width: 40px;
}

.art-footer__nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.art-footer__link {
  font-family: 'Cormorant SC', serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--parchment-deep);
  text-decoration: none;
  transition: color 0.3s ease;
}

.art-footer__link:hover {
  color: var(--parchment-light);
}

/* ── Highlight inline ── */
.highlight-inline {
  display: inline;
  padding: 0.15em 0.4em;
  border: 1px solid rgba(200,168,75,0.35);
  background: rgba(200,168,75,0.05);
  font-style: italic;
  color: var(--parchment-mid);
}

/* ── Responsive artículo ── */
@media (max-width: 600px) {
  .article-content blockquote {
    padding: 1.2rem 1.3rem;
  }

  .art-footer__nav {
    flex-direction: column;
    gap: 1rem;
  }

  .next-part__link,
  .prev-part__link {
    padding: 1.5rem 1.2rem;
  }
}


/* ============================================================
   Contacto — formulario
   ============================================================ */

.contact-intro {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-style: italic;
  line-height: 1.8;
  color: var(--parchment-mid);
  margin-bottom: 3rem;
}

.contact-form__honeypot { display: none; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form__label {
  font-family: 'Cormorant SC', serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--parchment-deep);
  text-transform: uppercase;
}

.contact-form__optional {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--parchment-deep);
  text-transform: none;
}

.contact-form__required { color: var(--gold-dim); }

.contact-form__input {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(200,168,75,0.2);
  color: var(--parchment-light);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
  outline: none;
  width: 100%;
  transition: border-color 0.3s ease, background 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form__input::placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.contact-form__input:focus {
  border-color: rgba(200,168,75,0.5);
  background: rgba(200,168,75,0.04);
}

.contact-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a6f30' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  color: var(--parchment-mid);
}

.contact-form__select option { background: var(--stone-mid); color: var(--parchment-light); }
.contact-form__select option[value=""] { color: var(--text-muted); }

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

.contact-form__note {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--parchment-deep);
}

.contact-form__submit {
  background: transparent;
  border: 1px solid rgba(200,168,75,0.4);
  color: var(--gold);
  font-family: 'Cormorant SC', serif;
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.contact-form__submit:hover {
  background: rgba(200,168,75,0.08);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.contact-success {
  display: none;
  text-align: center;
  padding: 3rem 0;
}

.contact-success--visible {
  display: block;
  animation: fadeUp 0.7s ease forwards;
}

.contact-success__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 300;
  color: var(--parchment-light);
  margin-bottom: 0.6rem;
}

.contact-success__sub {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--parchment-deep);
}

@media (max-width: 480px) {
  .contact-form__footer { flex-direction: column; align-items: flex-start; }
  .contact-form__submit { width: 100%; text-align: center; }
}


/* ============================================================
   Navegación global (site-nav)
   ============================================================ */

/* En la landing: posición fija esquina superior derecha, discreta */
.site-nav {
  position: fixed;
  top: 1.4rem;
  right: 1.8rem;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-nav__link {
  font-family: 'Cormorant SC', serif;
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-dim);
  transition: width 0.3s ease;
}

.site-nav__link:hover {
  color: var(--parchment-mid);
}

.site-nav__link:hover::after {
  width: 100%;
}

/* Página activa */
.site-nav__link--active {
  color: var(--parchment-deep);
}

.site-nav__link--active::after {
  width: 100%;
  background: var(--gold-dim);
}

/* En el art-header: el nav se muestra centrado debajo del logo,
   con posición relativa en lugar de fija */
.art-header .site-nav {
  position: relative;
  top: auto;
  right: auto;
  margin-top: 1.2rem;
  gap: 1.5rem;
}

/* Mobile: simplificar */
@media (max-width: 480px) {
  .site-nav {
    top: 1rem;
    right: 1rem;
    gap: 1.2rem;
  }

  .site-nav__link {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }
}

/* ── Botón mapa ── */
button.site-nav__map-btn {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 0;
  pointer-events: auto;
  position: relative;
  transition: color 0.3s ease;
}

button.site-nav__map-btn svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.site-nav__map-label {
  font-family: 'Cormorant SC', serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

button.site-nav__map-btn:hover .site-nav__map-label,
button.site-nav__map-btn:focus .site-nav__map-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

button.site-nav__map-btn:hover .site-nav__map-label {
  color: var(--parchment-mid);
}

/* ── Asegurar que hidden funcione en el modal ── */
#mapa-modal[hidden] {
  display: none !important;
}
