/* =====================================================
   SAYEGH STUDIO — SUBPÁGINAS (blog, privacidad, 404)
   Capa aditiva sobre main.css: alinea las páginas internas
   con el diseño oficial del home (nav fijo, tipografía,
   tokens, footer, banner de consentimiento).
   No redefine tokens; solo usa los de main.css.
   ===================================================== */

/* Nav fijo: sin héroe oscuro detrás, siempre con el fondo "scrolled" del home */
body.subpage .nav {
  background: var(--overlay-crema);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(46,42,36,.08);
}

/* ── ARTÍCULO DE BLOG ── */
body.subpage .blog-wrapper { max-width: 100%; padding: clamp(104px, 12vw, 140px) 24px var(--section-v); }
body.subpage .blog-article { max-width: 720px; margin: 0 auto; }
body.subpage .blog-article h1 {
  font-family: var(--font-display); font-size: clamp(32px, 4.6vw, 52px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--ink);
}
body.subpage .blog-article h2 {
  font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 32px); font-weight: 700;
  line-height: 1.2; letter-spacing: -0.02em; margin-top: 48px; margin-bottom: 16px; color: var(--ink);
}
body.subpage .article-meta { font-size: 13px; letter-spacing: 0.04em; margin-bottom: 0; }
body.subpage .blog-article img { margin: 32px 0 40px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
body.subpage .article-content { color: var(--texto); line-height: 1.75; }
body.subpage .article-content p { font-size: clamp(16px, 1.3vw, 18px); margin-bottom: 22px; }
body.subpage .article-content p:first-child { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink); }
body.subpage .article-cta { background: transparent; padding: 0; text-align: left; margin: 48px 0; }
body.subpage .article-cta .btn { padding: 14px 28px; font-size: 13px; }
body.subpage .article-related { border-top: 1px solid rgba(46,42,36,0.12); }
body.subpage .article-related a { color: var(--brass); transition: color 0.18s; }
body.subpage .article-related a:hover { color: var(--brass-hover); }

@media (max-width: 768px) {
  body.subpage .blog-wrapper { padding: 96px 20px 64px; }
}

/* ── PÁGINA LEGAL (privacidad) ── */
.legal-page { max-width: 760px; margin: 0 auto; padding: clamp(112px, 12vw, 148px) 24px var(--section-v); }
.legal-page .section-tag { text-align: center; }
.legal-page h1 { text-align: center; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 8px; }
.legal-page .legal-updated { text-align: center; font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 48px; }
.legal-page h2 { font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin: 40px 0 12px; }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.75; }
.legal-page p { margin-bottom: 14px; }
.legal-page ul, .legal-page ol { margin: 0 0 14px 22px; }
.legal-page li { margin-bottom: 6px; color: var(--texto); }
.legal-page strong { color: var(--ink); }
.legal-page a { color: var(--brass); }
.legal-page a:hover { text-decoration: underline; }

/* ── BANNER DE CONSENTIMIENTO (idéntico al del home) ── */
.consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: rgba(15,15,15,0.95);
  backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,0.1); padding: 20px;
  display: flex; align-items: center; justify-content: center; z-index: 9999;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.3);
}
.consent-banner.hidden { display: none !important; }
.consent-banner-content { max-width: 900px; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.consent-banner-text { flex: 1; min-width: 0; }
.consent-banner-text h3 { font-size: 15px; font-weight: 600; color: white; margin: 0 0 8px 0; letter-spacing: -0.02em; }
.consent-banner-text p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; margin: 0; }
.consent-banner-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.consent-banner-actions .btn { font-size: 13px; padding: 8px 16px; white-space: nowrap; }
@media (prefers-color-scheme: light) {
  .consent-banner { background: rgba(245,245,245,0.95); border-top-color: rgba(0,0,0,0.1); }
  .consent-banner-text h3 { color: #1a1a1a; }
  .consent-banner-text p { color: rgba(0,0,0,0.65); }
  .consent-banner-actions .btn-ghost { color: #1a1a1a; border-color: rgba(0,0,0,0.35); }
}
@media (max-width: 640px) {
  .consent-banner-content { flex-direction: column; align-items: stretch; gap: 16px; }
  .consent-banner-actions { justify-content: stretch; }
  .consent-banner-actions .btn { flex: 1; }
}

/* main.css (.article-content a) subraya y pinta en latón cualquier enlace del artículo; los botones conservan el estilo del home */
body.subpage .article-content a.btn { text-decoration: none; }
body.subpage .article-content a.btn-primary,
body.subpage .article-content a.btn-primary:hover { color: var(--crema); }
