/* ===========================================================================
   Integratec — Descargas (Folletos y Reportes) · nuevo diseño
   Reutiliza tokens.css + landing.css (header.site, footer.site, .shell).
   =========================================================================== */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.dl-hero { position: relative; text-align: center; padding: 60px 32px 44px; overflow: hidden; background: linear-gradient(180deg, var(--brand-softer) 0%, transparent 72%); }
.dl-hero::after { content: ""; position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 880px; height: 540px; background: radial-gradient(ellipse, var(--brand-soft), transparent 62%); opacity: .7; pointer-events: none; z-index: 0; }
.dl-hero > * { position: relative; z-index: 1; }
.dl-hero__eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 16px; }
.dl-hero h1 { font-weight: 800; font-size: clamp(34px, 5vw, 54px); line-height: 1.04; letter-spacing: -.035em; color: var(--ink); margin-bottom: 16px; text-wrap: balance; }
.dl-hero h1 em { font-style: normal; background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dl-hero p { font-size: clamp(16px, 2vw, 19px); font-weight: 500; line-height: 1.55; color: var(--muted); max-width: 560px; margin: 0 auto; text-wrap: balance; }

/* ── Grid de tarjetas ─────────────────────────────────────────────────────── */
.downloads-grid { max-width: 1160px; margin: 0 auto; padding: 16px 32px 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.download-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(24, 24, 27, .04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.download-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 40px -22px rgba(24, 24, 27, .2); }
.download-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: var(--bg-2); border-bottom: 1px solid var(--line); display: block; }
.download-card__content { display: flex; flex-direction: column; gap: 16px; padding: 22px; flex: 1; }
.download-card__title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.download-card__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.download-card__link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; font-size: 13.5px; font-weight: 600; color: var(--brand-deep); background: var(--brand-soft); border: 1px solid rgba(217, 127, 58, .22); border-radius: 9px; text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.download-card__link:hover { color: var(--brand-deep); border-color: var(--brand-deep); background: #fbe5cf; }
.download-card__link svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.downloads-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.dl-hero { padding: 40px 20px 32px; }
	.downloads-grid { padding: 8px 20px 56px; gap: 18px; }
}
@media (max-width: 560px) {
	.downloads-grid { grid-template-columns: 1fr; max-width: 420px; }
}
