/* Segunda versión: identidad en la portada y prioridad para las fotos principales. */
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 5%;
  padding-block: 58px 70px;
  max-width: 1280px;
}
.hero-identity { min-width: 0; width: 100%; }
.identity-grid {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 12px;
  align-items: start;
}
.identity-grid > img { width: 100%; height: auto; }
.identity-brand {
  background: var(--teal);
  color: white;
  align-self: stretch;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: clamp(18px, 2.6vw, 40px);
  min-width: 0;
}
.identity-brand img { width: 78%; max-width: 240px; height: auto; margin-bottom: 24px; }
.identity-rule { width: 30px; height: 2px; background: var(--sand); margin-bottom: 14px; }
.identity-brand p { font-size: clamp(.875rem, 1.25vw, 1.125rem); line-height: 1.55; font-weight: 400; }
.hero-identity figcaption { margin-top: 15px; color: var(--muted); font-size: .8125rem; line-height: 1.6; }

.category-cocinas .category-photos {
  grid-template-columns: 2fr 1fr;
  align-items: start;
}
.category-cocinas .work-photo:first-child { grid-row: span 2; grid-column: auto; }
.category-vestidores .category-photos { grid-template-columns: 1.15fr .85fr; max-width: none; }

@media (max-width: 1100px) and (min-width: 761px) {
  .hero { gap: 5%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .identity-grid { gap: 8px; }
  .identity-brand { padding: 16px; }
  .identity-brand img { margin-bottom: 12px; }
  .identity-rule { margin-bottom: 10px; }
  .identity-brand p { font-size: .8125rem; }
  .category-cocinas .category-photos { grid-template-columns: 1fr 1fr; }
  .category-cocinas .work-photo:first-child { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 27px; padding-block: 32px 40px; }
  .hero-identity { max-width: 580px; justify-self: center; }
  .identity-grid { gap: 8px; }
  .identity-brand { padding: 18px; }
  .identity-brand img { width: 90%; margin-bottom: 14px; }
  .identity-rule { width: 22px; margin-bottom: 10px; }
  .identity-brand p { font-size: .8125rem; }
  .hero-identity figcaption { font-size: .75rem; }
  .category-cocinas .category-photos,
  .category-vestidores .category-photos { grid-template-columns: 1fr 1fr; }
  .category-cocinas .work-photo:first-child { grid-row: auto; grid-column: 1 / -1; }
  .category-vestidores .work-photo:first-child,
  .category-living .work-photo:first-child { grid-column: 1 / -1; }
  .category-vestidores .work-photo:last-child,
  .category-living .work-photo:last-child {
    grid-column: 1 / -1;
    width: 76%;
    justify-self: end;
    margin-top: 6px;
  }
}
/* Con texto ampliado, la tarjeta de marca puede crecer sin recortar contenido. */
.identity-brand { min-height: auto; }

/* Ajuste de presentación leve y reversible. No cambia los archivos ni reconstruye detalles. */
img[src*="vestidores-01-"] { filter: brightness(1.035) saturate(.88); }
img[src*="comercial-03-"] { filter: brightness(1.04) saturate(.9); }
