/* chrome.css · cabecera y pie compartidos por index.html y resultado.html.
   Copia de paularozados.com (styles/site.css · Nav + Footer) con los tokens
   resueltos a hex. Si cambia la web madre, sincronizar aquí. */

/* --- Nav ------------------------------------------------------------------ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 45; transition: background .3s ease; font-family: Montserrat, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; line-height: 1.72; -webkit-font-smoothing: antialiased; }
.site-header[data-scrolled="1"] {
  background: rgba(245,238,220,.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(90,69,63,.08);
}
.site-nav { max-width: 1240px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header a, .site-footer a { text-decoration: none; }
.brand { display: flex; flex-direction: column; gap: 2px; }
.brand__name { white-space: nowrap; font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif; font-weight: 500; font-size: 22px; color: #2C2320; line-height: 1; }
.brand__tag { white-space: nowrap; font-size: 10px; font-weight: 500; letter-spacing: .14em; color: #6E5C54; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 12px; font-weight: 500; letter-spacing: .12em; color: #6E5C54; white-space: nowrap;
  padding-bottom: 3px; transition: color .22s ease;
}
.nav-link:hover { color: #2C2320; }
/* Hamburguesa (móvil y tablet estrecha). Corte en 860px y no en 720px como la web madre:
   el botón "test del triángulo △" es más largo y la fila completa necesita ~780px. */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; color: #2C2320; }
.nav-toggle span { position: relative; display: block; width: 22px; height: 2px; background: currentColor; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .22s ease; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.site-header[data-menu="open"] .nav-toggle span { background: transparent; }
.site-header[data-menu="open"] .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.site-header[data-menu="open"] .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
.site-header a:focus-visible, .site-header button:focus-visible, .site-footer a:focus-visible { outline: 2px solid #5A453F; outline-offset: 2px; }
@media (max-width: 860px) {
  .site-nav { position: relative; }
  .nav-toggle { display: inline-flex; }
  .site-header[data-menu="open"] { background: #F5EEDC; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #F5EEDC; border-top: 1px solid #E4D9C8; box-shadow: 0 8px 28px rgba(62,42,34,.08); padding: 6px 20px 18px; display: none; }
  .site-header[data-menu="open"] .nav-links { display: flex; }
  .nav-link { display: block; padding: 15px 2px; font-size: 14px; letter-spacing: .06em; border-bottom: 1px solid #E4D9C8; }
  .nav-links .btn { margin-top: 16px; align-self: flex-start; }
}

/* botón del nav (web: .btn .btn--outline) */
.site-header .btn { display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  font-family: Montserrat, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .1em; line-height: 1.72;
  border-radius: 999px; padding: 11px 24px; white-space: nowrap; transition: background .22s ease, color .22s ease, border-color .22s ease; }
.site-header .btn--outline { color: #5A453F; border: 1px solid #5A453F; background: transparent; }
.site-header .btn--outline:hover { background: #3E2A22; color: #F5EEDC; border-color: #3E2A22; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: #3E2A22; color: #F5EEDC; font-family: Montserrat, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; line-height: 1.72; -webkit-font-smoothing: antialiased; }
.site-footer__top { border-top: 1px solid rgba(245,238,220,.15); }
.site-footer__inner { max-width: 1240px; margin: 0 auto; padding: 32px 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer__brand { display: flex; flex-direction: column; gap: 4px; }
.site-footer__name { font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif; font-weight: 500; font-size: 20px; color: #F5EEDC; }
.site-footer__tag { font-size: 11px; letter-spacing: .1em; color: rgba(245,238,220,.65); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-footer a { font-size: 11px; font-weight: 500; letter-spacing: .14em; color: rgba(245,238,220,.8); }
.site-footer a:hover { color: rgba(245,238,220,.8); text-decoration: underline; text-decoration-color: #B99988; text-underline-offset: 3px; }
.site-footer__legal { border-top: 1px solid rgba(245,238,220,.12); }
.site-footer__legal-inner { max-width: 1240px; margin: 0 auto; padding: 18px 24px; display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer__legal a, .site-footer__legal a:hover { font-size: 11px; letter-spacing: .08em; color: rgba(245,238,220,.6); }
.fcredit { flex-basis: 100%; margin: 10px 0 0; font-size: 11px; letter-spacing: .04em; color: rgba(245,238,220,.4); }
.site-footer .fcredit a { font-size: 11px; letter-spacing: .04em; color: rgba(245,238,220,.62); text-decoration: underline; text-underline-offset: 2px; }
.site-footer .fcredit a:hover { color: #E9C4B7; }

@media (prefers-reduced-motion: reduce) {
  .site-header, .nav-link, .nav-toggle span::before, .nav-toggle span::after, .site-header .btn { transition: none !important; }
}
