.solutions-intro { padding-block: clamp(1.75rem, 4vw, 3.25rem); }
.solutions-intro img { width: 100%; height: auto; }
.solutions-hero-slogan { color: var(--coffee); font-family: "Roboto Serif", Georgia, serif; font-size: clamp(1.2rem, 2.4vw, 1.65rem); }
.solutions-section { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.solutions-section > h2 { margin-bottom: .85rem; }
.solutions-grid { display: grid; grid-auto-rows: 1fr; gap: .85rem; }
.solution-card { display: flex; flex-direction: column; min-width: 0; border-top: 3px solid var(--amber); }
.solution-slogan { color: var(--coffee); }
.solution-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .6rem; padding-top: .85rem; }
.solution-card > .solution-actions { margin-top: auto; }
.solution-unavailable:disabled { background: transparent; border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.solution-instructions { flex-basis: 100%; }
.solution-dialog { width: min(100% - 2rem, 38rem); max-height: calc(100dvh - 2rem); overflow: auto; padding: clamp(1rem, 3vw, 1.65rem); border: 1px solid var(--line); background: var(--cream); color: var(--ink); }
.solution-dialog::backdrop { background: rgb(26 19 13 / .8); }
.solution-dialog-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .85rem; }
.solution-dialog h4 { margin: 1rem 0 0; }
.solution-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.solutions-philosophy { margin-top: 1rem; color: var(--muted); }
.solutions-closing { background: #eee4d6; }
.solutions-closing .button { margin-top: .85rem; }

@media (min-width: 42rem) {
  .solutions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.solution-card-content { display: grid; align-items: start; gap: .85rem; }
.solution-card-content h3 { margin-top: .85rem; }
.solution-card .status { margin: .45rem 0; }
.solution-icon { width: clamp(4.25rem, 7vw, 5rem); height: auto; }
.solution-preview { width: min(100%, 19rem); margin: 0 auto; text-align: center; }
.solution-preview img { display: block; width: 100%; height: auto; }
.solution-preview figcaption { margin-top: .4rem; color: var(--muted); font-size: .875rem; }
.solution-dialog .solution-preview { width: min(100%, 28rem); margin: .85rem auto 0; }
.solution-pillar > img { margin-bottom: .65rem; }

@media (min-width: 35rem) {
  .solution-card-content:has(.solution-preview) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (42rem <= width < 64rem) {
  #nuestras-soluciones + .solutions-grid { grid-template-columns: 1fr; }
}

@media (width < 35rem) {
  .solution-card-content .solution-preview { width: min(100%, 15rem); }
  .solution-dialog { width: min(100% - 1rem, 38rem); }
}

@media (width < 42rem) {
  .solutions-intro { padding-block: 1.5rem; }
  .solutions-section { margin-bottom: 1.5rem; }
  .solution-card-content { gap: .72rem; }
  .solution-card-content h3 { margin-top: .7rem; }
  .solution-card .solution-icon { width: 3.1875rem; }
  .solution-actions { gap: .5rem; padding-top: .72rem; }
  .solution-dialog { padding: .85rem; }
}
