/* Nosotros · Proyectos */

/* Tarjeta destacada (igual en Noticias) */
.ab-feature { display: flex; flex-wrap: wrap; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.ab-feature > img { flex: 1 1 560px; min-width: 0; height: 400px; object-fit: cover; }
.ab-feature__body { flex: 1 1 340px; min-width: 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.ab-feature__title { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.ab-meta { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }

/* Portada */
.pr-hero { padding-bottom: 48px; }
.pr-featured { padding-bottom: 32px; }
.pr-place { font-size: 14px; font-weight: 500; color: var(--muted); }

/* Proyectos */
.pr-grid-wrap { padding-bottom: 88px; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 32px 20px; }
.pr-photo { height: 250px; border-radius: var(--radius); overflow: hidden; background: var(--placeholder); }
.pr-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); }
.project:hover .pr-photo img { transform: scale(1.04); }
.pr-info { display: flex; flex-direction: column; gap: 4px; }
.pr-info .project__tag { text-transform: uppercase; }
.pr-info h2 { font-size: 20px; line-height: 1.3; }
.pr-info p { font-size: 15px; color: var(--muted); }

/* También hemos sido parte de */
.pr-also { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 40px; }
.pr-also__head { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pr-also__list { flex: 2 1 560px; min-width: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--square-off); }
.pr-also__list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--square-off); transition: padding var(--medium) var(--ease), background-color var(--medium) ease; }
.pr-also__list li:hover { padding-left: 12px; padding-right: 12px; background: var(--white); }
.pr-also__list b { font-weight: 700; font-size: 17px; }
.pr-also__list span { font-size: 15px; color: var(--muted); }

/* Clientes: carrusel que avanza un logo cada 2 s y se detiene con el mouse encima */
.pr-clients { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.pr-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.pr-marquee__track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.pr-marquee__track.is-sliding { transition: transform 600ms var(--ease-in-out); }
.pr-logo { flex: none; width: 200px; height: 96px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; align-items: center; justify-content: center; padding: 12px; }
.pr-logo img { max-width: 104px; max-height: 40px; width: auto; height: auto; }

@media (max-width: 720px) {
    .ab-feature > img { height: 260px; }
    .ab-feature__body { padding: 28px 24px; }
    .pr-grid-wrap { padding-bottom: 64px; }
    .pr-also { padding-top: 64px; padding-bottom: 64px; }
    .pr-also__list li:hover { padding-left: 0; padding-right: 0; background: none; }
    .pr-clients { padding-top: 56px; padding-bottom: 56px; }
    .pr-logo { width: 160px; height: 80px; }
}
