/* PIEL (25 nov) — el aspecto «limpio» de la propuesta crema. Va en TODAS las páginas, después de
   portada.css o paginas.css. Solo cambia colores y letras: quitar su <link> devuelve el fondo Soft Sky.
   Sale de outputs/xochimilco-v4-completo/estilo-v2.css (propuesta del 24 nov).

   - El fondo deja de ser Soft Sky y pasa a papel cálido #f7f5ed. Pine Teal y Sunflower siguen igual,
     pero el amarillo se usa en un solo lugar por pantalla, no en tres.
   - Letras: Barlow Condensed (títulos) + DM Sans (texto), de la propuesta aprobada.
   Las reglas de la portada (héroe, tarjetas, cifras) viven en piel-portada.css.
*/
:root {
  --color-paper: #f7f5ed;
  --color-paper-2: #e9efea;
  --color-paper-3: #dbe7e0;
  --color-paper-hover: #e0eae3;
  --color-ink: #1d5c63;
  --color-ink-2: #2b6f77;
  --color-muted: #4c696a;
  --color-rule: #d7e0d9;
  --color-card: #fffefa;
  --color-card-ink: #17494f;
  --color-card-muted: #506e70;
  --color-card-rule: #d7e0d9;
  --color-card-well: #f1f5ee;
  --color-accent: #f7b538;
  --color-accent-2: #eaa21a;
  --color-scrim-0: rgb(247 245 237 / 0);
  --radius-card: 18px;
  --radius-control: 10px;
  --shadow-card: 0 6px 24px rgb(29 92 99 / .06);
  --page: 1200px;
  --page-gutter: 40px;
}
body { background: var(--color-paper); }

/* --- Letras de la propuesta (alojadas aquí, sin Google) --- */
@font-face { font-family: "Barlow Condensed"; src: url("letras/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("letras/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("letras/dm-sans-variable.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
:root {
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: var(--font-display);
  --display-weight: 700;
  --tracking-display: -.01em;
}
body { font-optical-sizing: auto; }

/* --- Pie de la propuesta: el verde hondo con columnas (va en todas las páginas).
   Sale de outputs/xochimilco-v4-completo/estilo-v2.css + marca-footer-v4.css. El HTML lo pone
   herramientas/paginas_pueblo.py (función poner_pie), así que se cambia en un solo lugar. */
footer.pie-v2 { padding: 36px 0 24px; background: #174f54; color: #f7f5ed; }
.pie-v2 .pie-columnas { display: grid; grid-template-columns: 1.4fr 1fr 1.15fr 1fr; gap: 30px; padding-bottom: 28px; }
/* El nombre va en blanco sobre el verde, sin recuadro: el logo trae sus colores. */
.pie-v2 .pie-marca img { width: 210px; max-width: 100%; height: auto; padding: 0; border: 0; border-radius: 0; background: transparent; }
.pie-v2 .pie-marca p { margin-top: 15px; max-width: 25ch; color: #cfdfdc; font-size: 12px; line-height: 1.8; }
.pie-v2 h2 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0; margin: 5px 0 13px; color: #f7b538; }
.pie-v2 ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.pie-v2 li a { display: inline-flex; align-items: center; min-height: 32px; color: #f7f5ed; text-decoration: none; font-size: 12px; font-weight: 400; }
.pie-v2 li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pie-v2 .pie-datos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px 30px; padding: 20px 0; border-top: 1px solid #ffffff26; }
.pie-v2 .pie-datos p { margin: 0; font-size: 11px; line-height: 1.9; color: #cfdfdc; }
.pie-v2 .pie-datos a { color: #f7f5ed; font-weight: 400; }
.pie-v2 nav.legal { margin-top: 0; padding-top: 18px; gap: 8px 20px; border-color: #ffffff26; font-size: 11px; }
.pie-v2 nav.legal a { color: #f7f5ed; font-weight: 400; min-height: 36px; }
.pie-v2 nav.legal span { margin-left: auto; font-size: 11px; }

/* Banda de pueblos arriba de las columnas: el camino por el que Google llega a /pueblos/…
   (Gelbe Seiten tiene una sección entera de ciudades; Yelp, una página por ciudad). */
.pie-v2 .pie-pueblos { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px;
  padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid #ffffff26; }
.pie-v2 .pie-pueblos b { width: 100%; margin-bottom: 4px; color: #f7b538; font-size: 13px; font-weight: 600; }
.pie-v2 .pie-pueblos a { display: inline-flex; align-items: center; min-height: 32px;
  color: #f7f5ed; font-size: 12px; font-weight: 400; text-decoration: none; }
.pie-v2 .pie-pueblos a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 761px) and (max-width: 1040px) {
  .pie-v2 .pie-columnas { gap: 24px; }
}
@media (max-width: 760px) {
  footer.pie-v2 { padding-top: 28px; padding-bottom: 22px; }
  .pie-v2 .pie-columnas { grid-template-columns: 1fr 1fr; gap: 25px 20px; }
  .pie-v2 .pie-marca { grid-column: 1 / -1; }
  .pie-v2 .pie-marca p { max-width: 37ch; }
  .pie-v2 .pie-columnas > nav:last-child { grid-column: 1 / -1; }
  .pie-v2 .pie-columnas > nav:last-child ul { grid-template-columns: 1fr 1fr; gap: 4px 20px; }
  .pie-v2 h2 { font-size: 12px; margin-top: 0; margin-bottom: 9px; }
  .pie-v2 li a { min-height: 44px; font-size: 11px; }
  .pie-v2 .pie-datos { grid-template-columns: 1fr; gap: 12px; }
  .pie-v2 .pie-datos p { font-size: 11px; }
  .pie-v2 nav.legal { gap: 4px 15px; }
  .pie-v2 nav.legal a { min-height: 42px; font-size: 11px; }
  .pie-v2 nav.legal span { width: 100%; margin-left: 0; margin-top: 8px; font-size: 11px; }
  .pie-v2 .pie-pueblos { gap: 0 14px; padding-bottom: 18px; margin-bottom: 20px; }
  .pie-v2 .pie-pueblos a { min-height: 38px; font-size: 11px; }
}
