/* ══════════════════════════════════════════════════
   WMR — About page styles
   Stili specifici per pages/about.html
   ══════════════════════════════════════════════════ */

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  max-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--page-pad) 80px;
  background: var(--bg-deep);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 30%, rgba(123,47,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(123,47,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 110px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin: 16px 0 24px;
}
.page-hero-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,245,245,0.55);
  max-width: 480px;
}

/* ── ORIGIN STORY ── */
.about-origin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding: var(--space-2xl) var(--page-pad);
  background: var(--bg);
  align-items: center;
}
.about-origin-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--surface);
  overflow: hidden;
}
.about-origin-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.origin-badge {
  position: absolute;
  bottom: -1px;
  right: -1px;
  z-index: 2;
  background: var(--accent);
  padding: 20px 28px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--white);
}
.origin-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(245,245,245,0.6);
  margin-top: 28px;
}
.origin-text strong {
  color: var(--white);
  font-weight: 400;
}

/* ── TEAM ── */
.about-team {
  padding: var(--space-2xl) var(--page-pad);
  background: var(--bg-alt);
}
.about-team-header {
  margin-bottom: 60px;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.team-member {
  background: var(--surface);
  padding: 48px 40px;
}
.member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.member-name {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 4px;
}
.member-role {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.member-bio {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245,245,245,0.55);
  max-width: 400px;
}

/* ── METHOD ── */
.about-method {
  padding: var(--space-2xl) var(--page-pad);
  background: var(--bg);
}
.method-header {
  margin-bottom: 80px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.method-item {
  background: var(--surface);
  padding: 40px 32px;
  transition: background 0.3s var(--ease-out);
}
.method-item:hover {
  background: rgba(123,47,255,0.08);
}
.method-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
  transition: opacity 0.3s;
}
.method-item:hover .method-num { opacity: 0.6; }
.method-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 12px;
}
.method-text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,245,245,0.5);
}

/* ── NUMBERS ── */
.about-numbers {
  background: var(--bg-alt);
  padding: 0 var(--page-pad);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.number-item {
  padding: 60px 40px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.number-item:last-child { border-right: none; }
.number-val {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.number-val span { color: var(--accent); }
.number-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── CTA (shared) ── */
.cta-section {
  position: relative;
  padding: 120px var(--page-pad);
  background: var(--accent);
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 20% 0%, rgba(255,255,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(0,0,0,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta-section .section-label { color: rgba(255,255,255,0.7); }
.cta-section .section-label::before { background: rgba(255,255,255,0.5); }
.cta-title { font-family: var(--font-display); font-size: clamp(64px, 8vw, 120px); line-height: 0.9; letter-spacing: 0.02em; margin: 20px 0 28px; color: var(--white); }
.cta-sub { font-size: 16px; font-weight: 300; line-height: 1.7; color: rgba(255,255,255,0.75); max-width: 480px; margin-bottom: 48px; }
.cta-actions { display: flex; align-items: center; gap: 24px; }
.cta-section .btn-primary.btn-xl { background: var(--white); color: var(--accent); font-weight: 600; }
.cta-section .btn-primary.btn-xl:hover { background: #fff; box-shadow: 0 0 40px rgba(255,255,255,0.3); }

/* ── FOOTER (shared) ── */
.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 quick actions */
.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; }
/* Column separators */
.footer-col { border-left: 1px solid var(--border); padding-left: 40px; }
/* Business/legal info row */
.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 (1440px+) ── */
@media (min-width: 1440px) {
  .page-hero { padding: 0 8vw 80px; }
  .about-origin { padding: var(--space-2xl) 8vw; }
  .about-team { padding: var(--space-2xl) 8vw; }
  .about-method { padding: var(--space-2xl) 8vw; }
  .about-numbers { padding: 0 8vw; }
  .cta-section { padding: 160px 8vw; }
  .footer { padding: 80px 8vw 40px; }
}
@media (min-width: 1920px) {
  .page-hero { padding: 0 12vw 80px; }
  .about-origin { padding: var(--space-2xl) 12vw; }
  .about-team { padding: var(--space-2xl) 12vw; }
  .about-method { padding: var(--space-2xl) 12vw; }
  .about-numbers { padding: 0 12vw; }
  .cta-section { padding: 160px 12vw; }
  .footer { padding: 80px 12vw 40px; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .page-hero {
    height: auto;
    min-height: 0;
    padding: calc(var(--nav-height) + 40px) var(--page-pad-mobile) 60px;
  }
  .page-hero-title { font-size: 56px; }

  .about-origin {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px var(--page-pad-mobile);
  }

  .about-team { padding: 80px var(--page-pad-mobile); }
  .team-grid { grid-template-columns: 1fr; }

  .about-method { padding: 80px var(--page-pad-mobile); }
  .method-grid { grid-template-columns: 1fr; }

  .about-numbers { padding: 0 var(--page-pad-mobile); }
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }
  .number-item {
    padding: 40px 20px;
  }
  .number-item:nth-child(2) { border-right: none; }

  .cta-section { padding: 80px var(--page-pad-mobile); }
  .cta-actions { flex-direction: column; width: 100%; gap: 16px; }
  .cta-actions .btn-primary.btn-xl,
  .cta-actions .btn-secondary.btn-xl { width: 100%; text-align: center; }

  .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; }
}
