/* ══════════════════════════════════════════════════
   WMR — Partner Detail page styles
   Pagina dedicata ai singoli partner con molti progetti
   ══════════════════════════════════════════════════ */

/* ── HERO ── */
.pd-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--page-pad);
  overflow: hidden;
}
.pd-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
}
.pd-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(123,47,255,0.15) 0%,
    rgba(13,13,13,0.95) 60%
  );
}
.pd-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
  max-width: 700px;
}
.pd-hero-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.pd-hero-partner-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.pd-hero-wmr-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
}
.pd-hero-x {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent);
  opacity: 0.6;
}
.pd-hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 24px;
}
.pd-hero-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,245,245,0.55);
  max-width: 480px;
}

/* ── INTRO ── */
.pd-intro {
  padding: var(--space-2xl) var(--page-pad);
  background: var(--bg);
}
.pd-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.pd-intro-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 20px 0 32px;
}
.pd-intro-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245,245,245,0.6);
  max-width: 480px;
}

/* Intro stats */
.pd-intro-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  align-self: center;
}
.pd-stat {
  background: var(--surface);
  padding: 40px 32px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.pd-stat-num {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--white);
  line-height: 1;
}
.pd-stat-num span {
  color: var(--accent);
}
.pd-stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── PROJECTS GALLERY ── */
.pd-projects {
  padding: var(--space-2xl) var(--page-pad);
  background: var(--bg-alt);
}
.pd-projects-header {
  margin-bottom: 60px;
}
.pd-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.pd-project-card {
  background: var(--surface);
  overflow: hidden;
}
.pd-project-large {
  grid-column: span 2;
}
.pd-project-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.pd-project-large .pd-project-img {
  aspect-ratio: 21/9;
}
.pd-project-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.3;
}
.pd-project-info {
  padding: 28px 32px;
}
.pd-project-info h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 8px;
}
.pd-project-info p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,245,245,0.5);
}

/* ── CTA (shared from components) ── */
.cta-section {
  padding: 140px var(--page-pad);
  background: var(--bg);
  text-align: center;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 80px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 20px 0 24px;
}
.cta-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,245,245,0.5);
  max-width: 500px;
  margin: 0 auto 48px;
}

/* ── FOOTER (shared pattern) ── */
.footer {
  background: var(--bg-deep);
  padding: 80px var(--page-pad) 40px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}
.footer-brand .nav-logo { display: inline-flex; margin-bottom: 20px; }
.footer-brand .nav-logo img { height: 40px; }
.footer-brand p { font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--muted); max-width: 280px; }
.footer-actions { display: flex; gap: 24px; margin-top: 20px; }
.footer-action-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; color: var(--muted); transition: color var(--transition); }
.footer-action-link:hover { color: var(--accent); }
.footer-action-link svg { opacity: 0.5; transition: opacity var(--transition); }
.footer-action-link:hover svg { opacity: 1; }
.footer-col { border-left: 1px solid var(--border); padding-left: 40px; }
.footer-legal { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 300; color: rgba(245,245,245,0.3); padding: 20px 0 0; margin-bottom: 24px; flex-wrap: wrap; }
.footer-legal-sep { opacity: 0.3; }
.footer-col h4 { font-family: var(--font-display); font-size: 18px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; font-weight: 300; color: var(--muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 12px; color: var(--muted); }
.footer-frd { font-size: 12px; color: var(--muted); }
.footer-frd a { color: var(--accent); }
.footer-frd a:hover { text-decoration: underline; }

/* ── DESKTOP WIDE ── */
@media (min-width: 1440px) {
  .pd-hero { padding: 0 8vw; }
  .pd-intro { padding: var(--space-2xl) 8vw; }
  .pd-projects { padding: var(--space-2xl) 8vw; }
  .cta-section { padding: 160px 8vw; }
  .footer { padding: 80px 8vw 40px; }
}

/* ── ULTRA WIDE ── */
@media (min-width: 1920px) {
  .pd-hero { padding: 0 12vw; }
  .pd-intro { padding: var(--space-2xl) 12vw; }
  .pd-projects { padding: var(--space-2xl) 12vw; }
  .cta-section { padding: 160px 12vw; }
  .footer { padding: 80px 12vw 40px; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .pd-hero {
    min-height: 60vh;
    padding: 0 var(--page-pad-mobile);
  }
  .pd-hero-title { font-size: 56px; }
  .pd-hero-logos { gap: 14px; }
  .pd-hero-partner-logo { height: 40px; }
  .pd-hero-wmr-logo { height: 28px; }
  .pd-hero-content { padding-bottom: 60px; }

  .pd-intro { padding: 80px var(--page-pad-mobile); }
  .pd-intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .pd-stat-num { font-size: 48px; }

  .pd-projects { padding: 80px var(--page-pad-mobile); }
  .pd-projects-grid { grid-template-columns: 1fr; }
  .pd-project-large { grid-column: span 1; }
  .pd-project-large .pd-project-img { aspect-ratio: 16/9; }

  .cta-section { padding: 80px var(--page-pad-mobile); }

  .footer { padding: 60px var(--page-pad-mobile) 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; }
  .footer-col { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .footer-actions { flex-direction: column; gap: 12px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-legal-sep { display: none; }
}
