/* pixslo · estilos compartidos por todas las páginas
   (paleta, tipografía, menú, sello, redes y pie) */

:root {
  --naranja: #DD4E28;
  --rosa: #FAD2E1;
  --pistacho: #D0D996;
  --burgundy: #770523;
  --petrol: #025054;
  --crema: #F8F5E6;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--burgundy);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
a { color: inherit; }

/* ---------- Menú ---------- */
.nav {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: flex-end; gap: 26px;
  font-weight: 600; font-size: 15px; letter-spacing: .04em;
}
.nav a { text-decoration: none; color: var(--rosa); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--pistacho); }

/* ---------- Barra de arriba de las páginas internas ---------- */
.barra { background: var(--burgundy); padding: 14px 24px; }
.barra-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.barra .logo { display: block; width: 132px; height: auto; }
@media (max-width: 700px) {
  .barra { padding: 12px 16px; }
  .barra .logo { width: 104px; }
}

/* ---------- Sello px (gira despacio) ---------- */
.sello { transform: rotate(-8deg); color: var(--pistacho); }
.sello.gira { animation: girar 24s linear infinite; }
@keyframes girar {
  from { transform: rotate(-8deg); }
  to   { transform: rotate(352deg); }
}

/* ---------- Redes ---------- */
.redes { display: flex; gap: 12px; align-items: center; }
.redes a {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--rosa); color: var(--burgundy);
  display: grid; place-items: center;
  transition: transform .2s;
}
.redes a:hover { transform: translateY(-3px) rotate(-6deg); }
.redes svg { width: 22px; height: 22px; }

/* ---------- Pie ---------- */
.pie { padding: 0 20px 28px; }
.pie-inner {
  max-width: 1100px; margin: 0 auto;
  background-color: var(--burgundy);  /* el pie va liso, sin textura */
  color: var(--rosa);
  position: relative; z-index: 7;
  padding: 28px 32px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.pie-inner::before {
  content: ""; position: absolute; left: 32px; right: 32px; top: 0;
  border-top: 1.5px dashed rgba(250, 210, 225, .35);
}
.pie.suelto .pie-inner { border-radius: 16px; }          /* pie que no cuelga de una carpeta */
.pie.suelto .pie-inner::before { display: none; }
.pie h2 { font-family: "Cherry Bomb One", sans-serif; font-weight: 400; font-size: 26px; margin: 0 0 2px; }
.pie h2 a { color: inherit; text-decoration: none; }
.pie h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.pie p { margin: 0; color: var(--pistacho); font-size: 15.5px; }
.pie .sello { width: 96px; height: 96px; }

@media (max-width: 700px) {
  .nav { gap: 18px; font-size: 14px; }
  .pie { padding: 0 16px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .sello.gira { animation: none; }
}
