/* ── Layout base ── */

body {
  background-color: var(--cream);
  color: var(--navy);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

/* Grain texture sutil en fondos cream — overlay 4-6% */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Contenedor principal */
.container {
  width: 100%;
  padding-left: var(--pad-mobile);
  padding-right: var(--pad-mobile);
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem; /* 1280px */
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--pad-desktop);
    padding-right: var(--pad-desktop);
  }
}

/* Ancla para secciones (scroll target) */
.section-anchor {
  display: block;
  height: 0;
  visibility: hidden;
}
