/* ============================================================
   A. SOLANES 2010 — Landing "Proyectos"
   Clases .as-pl-*  ·  Reutiliza los tokens de main.css (:root)
   ============================================================ */
.as-pl { color: var(--as-black); }
.as-pl *, .as-pl *::before, .as-pl *::after { box-sizing: border-box; }

/* ==================== 1. HERO ==================== */
.as-pl-hero {
	position: relative;
	min-height: 70vh;
	background: linear-gradient(180deg, rgba(26,26,26,.85) 0%, rgba(26,26,26,.65) 50%, rgba(26,26,26,.85) 100%), var(--as-black);
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 80px 5%;
	/* Compensa el header sticky negativo del tema. */
	margin-top: -74px;
	padding-top: 154px;
}
.as-pl-hero__content { position: relative; z-index: 2; max-width: 800px; }
.as-pl-hero__eyebrow {
	display: inline-block;
	font-size: .7rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: 3px;
	color: var(--as-red-light);
	margin-bottom: 16px;
}
.as-pl-hero__title {
	font-family: var(--as-head);
	font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800;
	color: #fff; line-height: 1.1; margin: 0 0 20px;
}
.as-pl-hero__sub {
	font-size: 1.15rem; color: rgba(255,255,255,.78);
	max-width: 600px; margin: 0 auto; line-height: 1.7;
}

/* ==================== 2. STATS BAR ==================== */
.as-pl-stats {
	background: var(--as-black);
	display: grid; grid-template-columns: repeat(4, 1fr);
	padding: 0 5%;
}
.as-pl-stat {
	padding: 32px 10px; text-align: center;
	border-right: 1px solid rgba(255,255,255,.08);
}
.as-pl-stat:last-child { border-right: none; }
.as-pl-stat__value {
	display: block; font-family: var(--as-head);
	font-size: 2.2rem; font-weight: 800; color: var(--as-red-light);
	line-height: 1.1;
}
.as-pl-stat__label {
	display: block; font-size: .7rem;
	text-transform: uppercase; letter-spacing: 1.5px;
	color: rgba(255,255,255,.5); margin-top: 4px;
}

/* ==================== 3. DOS CARDS PRINCIPALES ==================== */
.as-pl-cards {
	display: grid; grid-template-columns: 1fr 1fr;
	min-height: 80vh;
}
.as-pl-card {
	position: relative; overflow: hidden;
	display: flex; align-items: flex-end;
	padding: 60px 50px;
	text-decoration: none; color: #fff;
	min-height: 550px;
}
.as-pl-card__bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	transition: transform .6s ease;
}
.as-pl-card:hover .as-pl-card__bg { transform: scale(1.05); }
/* Overlay: oscuro por defecto, vira a rojo en hover. */
.as-pl-card::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(0deg, rgba(26,26,26,.9) 0%, rgba(26,26,26,.4) 50%, rgba(26,26,26,.55) 100%);
	transition: background .4s ease;
}
.as-pl-card:hover::before {
	background: linear-gradient(0deg, rgba(200,32,43,.85) 0%, rgba(26,26,26,.35) 50%, rgba(26,26,26,.45) 100%);
}
.as-pl-card__content { position: relative; z-index: 2; max-width: 440px; display: block; }
.as-pl-card__badge {
	display: inline-block; padding: 5px 16px; border-radius: 4px;
	font-size: .65rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: 1.5px; margin-bottom: 16px;
	background: var(--as-red); color: #fff;
}
.as-pl-card__title {
	display: block; font-family: var(--as-head);
	font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800;
	line-height: 1.15; margin: 0 0 14px;
}
.as-pl-card__desc {
	display: block; font-size: 1rem; color: rgba(255,255,255,.82);
	line-height: 1.7; margin: 0 0 28px;
}
.as-pl-card__btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 36px;
	background: #fff; color: var(--as-black);
	font-weight: 700; font-size: .8rem; text-transform: uppercase;
	letter-spacing: 2px; border-radius: 6px;
	transition: background .3s ease, transform .3s ease;
}
.as-pl-card:hover .as-pl-card__btn { background: var(--as-bg-soft); transform: translateY(-2px); }
.as-pl-card__btn svg { width: 18px; height: 18px; fill: var(--as-red); }
.as-pl-card__promoters {
	display: block; margin-top: 24px; padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.15);
}
.as-pl-card__promoters-label {
	display: block; font-size: .65rem; text-transform: uppercase;
	letter-spacing: 1.5px; color: rgba(255,255,255,.4); margin-bottom: 8px;
}
.as-pl-card__promoters-list {
	display: block; font-size: .8rem; color: rgba(255,255,255,.6);
	line-height: 1.8;
}

/* ==================== 4. HIGHLIGHTS STRIP ==================== */
.as-pl-highlights { background: var(--as-bg-soft); padding: 70px 5%; }
.as-pl-highlights__inner {
	max-width: var(--as-maxw); margin: 0 auto;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
	text-align: center;
}
.as-pl-hl__icon {
	width: 56px; height: 56px; margin: 0 auto 16px;
	background-color: var(--as-black); border-radius: 50%;
	background-repeat: no-repeat; background-position: center;
	background-size: 26px 26px;
	display: flex; align-items: center; justify-content: center;
	color: #fff;
}
.as-pl-hl__icon svg { width: 26px; height: 26px; }
.as-pl-hl__title {
	font-family: var(--as-head);
	font-size: .95rem; font-weight: 800; margin: 0 0 6px;
	color: var(--as-black);
}
.as-pl-hl__text { font-size: .85rem; color: #666; line-height: 1.6; margin: 0; }

/* ==================== 5. GALLERY PREVIEW ==================== */
.as-pl-preview { padding: 80px 5%; max-width: 1400px; margin: 0 auto; }
.as-pl-preview__header { text-align: center; margin-bottom: 48px; }
.as-pl-preview__eyebrow {
	display: inline-block; font-size: .7rem; font-weight: 700;
	text-transform: uppercase; letter-spacing: 2px; color: var(--as-red);
	margin-bottom: 8px;
}
.as-pl-preview__title {
	font-family: var(--as-head);
	font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
	color: var(--as-black); margin: 0;
}
.as-pl-preview__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: auto;
	gap: 12px;
}
.as-pl-preview__item {
	border-radius: 10px; overflow: hidden; position: relative;
	aspect-ratio: 3 / 2;
	display: block; text-decoration: none; color: inherit; cursor: pointer;
}
.as-pl-preview__item img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform .5s ease;
}
.as-pl-preview__item:hover img { transform: scale(1.05); }
/* Cuadrícula uniforme (aspect-ratio 3/2), sin items "wide" en span:
   evita huecos en blanco sea cual sea el nº de fotos. */
.as-pl-preview__item--wide { grid-column: auto; aspect-ratio: 3 / 2; }
.as-pl-preview__label {
	position: absolute; bottom: 0; left: 0; right: 0;
	padding: 30px 20px 16px;
	background: linear-gradient(0deg, rgba(0,0,0,.7), transparent);
	font-size: .75rem; font-weight: 700; color: #fff;
	text-transform: uppercase; letter-spacing: 1px;
}
.as-pl-preview__label small {
	display: block; font-weight: 400; color: rgba(255,255,255,.6);
	text-transform: none; letter-spacing: 0; margin-top: 2px; font-size: .7rem;
}

/* ==================== 6. CTA FINAL ==================== */
.as-pl-cta {
	background: var(--as-black); padding: 80px 5%; text-align: center;
	position: relative; overflow: hidden;
}
.as-pl-cta::before {
	content: ""; position: absolute;
	width: 600px; height: 600px; border-radius: 50%;
	background: radial-gradient(circle, rgba(200,32,43,.12), transparent 70%);
	top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.as-pl-cta__content { position: relative; z-index: 2; }
.as-pl-cta h2 {
	font-family: var(--as-head);
	font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
	color: #fff; margin: 0 0 12px;
}
.as-pl-cta p {
	color: rgba(255,255,255,.65); font-size: 1.05rem; margin: 0 auto 36px;
	max-width: 560px;
}
.as-pl-cta__btn {
	display: inline-block; padding: 16px 48px;
	background: var(--as-red); color: #fff;
	text-decoration: none; font-weight: 700; font-size: .9rem;
	text-transform: uppercase; letter-spacing: 2px;
	border-radius: 6px; transition: background .3s ease, transform .3s ease;
}
.as-pl-cta__btn:hover { background: var(--as-red-dark); transform: translateY(-2px); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
	.as-pl-hero { min-height: 55vh; }
	.as-pl-stats { grid-template-columns: repeat(2, 1fr); }
	.as-pl-stat:nth-child(2) { border-right: none; }
	.as-pl-stat:nth-child(3),
	.as-pl-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); }
	.as-pl-cards { grid-template-columns: 1fr; min-height: auto; }
	.as-pl-card { min-height: 480px; }
	.as-pl-highlights__inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
	.as-pl-preview__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
	.as-pl-hero { min-height: 50vh; padding: 60px 5%; padding-top: 120px; }
	.as-pl-hero__title { font-size: 2rem; }
	.as-pl-stats { grid-template-columns: 1fr 1fr; }
	.as-pl-card { min-height: 420px; padding: 40px 28px; }
	.as-pl-card__title { font-size: 1.6rem; }
	.as-pl-highlights__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
	.as-pl-preview__grid { grid-template-columns: 1fr; }
	.as-pl-preview__item--wide { grid-column: auto; aspect-ratio: 3 / 2; }
}
