/* =====================================================================
   Perfil · Adrián Morín — CSS scoped a .gd-page.profile-page
   Carga junto a:
   - soluciones-gestion-digital.css (vars · fonts · hero · contact-wrap)
   - soluciones-seo-tecnico.css

   Componentes específicos:
   - parallax foto + glass dark
   - bio-split (01 · foto Adrián + texto)
   - stack-block (02 · stack técnico)
   - origin-block (03 · trayectoria Inditex + statement + aprendizajes)
   - partner-grid (04 · enfoque partner · 4 puntos)
   ===================================================================== */


/* ═══ HERO H1 · reducido ═══════════════════════════════════════════ */
.gd-page.profile-page .hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
}


/* ═══ FONDO · FOTO + GLASS DARK ════════════════════════════════════ */
.gd-page.profile-page {
  background-image: url('../img/pexels-pixabay-159299.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.gd-page.profile-page .aurora-mesh {
  position: absolute;
  inset: 0;
  background: rgba(28, 32, 36, 0.66);
  backdrop-filter: blur(4px) saturate(95%);
  -webkit-backdrop-filter: blur(4px) saturate(95%);
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  animation: none;
}
.gd-page.profile-page > section,
.gd-page.profile-page .hero {
  position: relative;
  z-index: 1;
}


/* ═══ TÍTULOS BICOLOR + TEXTOS SUELTOS CLAROS ══════════════════════ */
.gd-page.profile-page .section-title .muted,
.gd-page.profile-page .hero h1 .muted {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}
.gd-page.profile-page .hero-meta { color: rgba(255, 255, 255, 0.6); }
.gd-page.profile-page .hero h1 { color: rgba(255, 255, 255, 0.97); }
.gd-page.profile-page .hero-summary { color: rgba(255, 255, 255, 0.78); }
.gd-page.profile-page .section-num { color: rgba(255, 255, 255, 0.55); }
.gd-page.profile-page .section-title { color: rgba(255, 255, 255, 0.97); }
.gd-page.profile-page .section-intro { color: rgba(255, 255, 255, 0.78); }


/* ═══ BIO SPLIT · 01 · QUIÉN ═══════════════════════════════════════ */
.gd-page.profile-page .bio-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.gd-page.profile-page .bio-photo {
  position: relative;
  min-height: 420px;
  background: var(--bg-2);
}
.gd-page.profile-page .bio-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.gd-page.profile-page .bio-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.gd-page.profile-page .bio-content__name {
  font-family: var(--sans);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}
.gd-page.profile-page .bio-content__role {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.gd-page.profile-page .bio-content p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}
.gd-page.profile-page .bio-content p strong {
  color: var(--ink);
  font-weight: 500;
}


/* ═══ STACK BLOCK · 02 · CÓMO TRABAJO ══════════════════════════════ */
.gd-page.profile-page .stack-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 36px;
}
.gd-page.profile-page .stack-block__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
}
.gd-page.profile-page .stack-block__row:last-child { border-bottom: none; }
.gd-page.profile-page .stack-block__layer {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.gd-page.profile-page .stack-block__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gd-page.profile-page .stack-chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 13px;
}
.gd-page.profile-page .stack-chip.is-strong {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}


/* ═══ ORIGIN BLOCK · 03 · DE DÓNDE VENGO ═══════════════════════════ */
.gd-page.profile-page .origin-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 44px;
}
.gd-page.profile-page .origin-block__lead {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 16px;
}
.gd-page.profile-page .origin-block__lead a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity 200ms ease;
}
.gd-page.profile-page .origin-block__lead a:hover { opacity: 0.7; }
.gd-page.profile-page .origin-block__lead strong { color: var(--ink); font-weight: 500; }

.gd-page.profile-page .origin-quote {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--ink);
  color: white;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.gd-page.profile-page .origin-quote span { color: rgba(255, 255, 255, 0.55); }

.gd-page.profile-page .origin-learnings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  margin-top: 8px;
}
.gd-page.profile-page .origin-learning {
  padding: 26px 28px 26px 0;
  border-bottom: 1px solid var(--line-2);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: baseline;
}
.gd-page.profile-page .origin-learning:nth-child(odd) {
  border-right: 1px solid var(--line-2);
  padding-right: 32px;
}
.gd-page.profile-page .origin-learning:nth-child(even) {
  padding-left: 32px;
}
.gd-page.profile-page .origin-learning__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.gd-page.profile-page .origin-learning__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.gd-page.profile-page .origin-learning__text strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}


/* ═══ PARTNER GRID · 04 · CÓMO ENTIENDO LA RELACIÓN ════════════════ */
.gd-page.profile-page .partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.gd-page.profile-page .partner-item {
  padding: 38px 36px;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.gd-page.profile-page .partner-item:nth-child(2n) { border-right: none; }
.gd-page.profile-page .partner-item:nth-last-child(-n+2) { border-bottom: none; }
.gd-page.profile-page .partner-item__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.gd-page.profile-page .partner-item__title {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 10px;
}
.gd-page.profile-page .partner-item__desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.gd-page.profile-page .partner-item__desc strong { color: var(--ink); font-weight: 500; }

@media (max-width: 900px) {
  .gd-page.profile-page .partner-grid { grid-template-columns: 1fr; }
  .gd-page.profile-page .partner-item { border-right: none; border-bottom: 1px solid var(--line-2); }
  .gd-page.profile-page .partner-item:last-child { border-bottom: none; }
}


/* ═══ RESPONSIVE ══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .gd-page.profile-page .bio-split { grid-template-columns: 1fr; }
  .gd-page.profile-page .bio-photo { min-height: 340px; }
  .gd-page.profile-page .origin-learnings { grid-template-columns: 1fr; }
  .gd-page.profile-page .origin-learning:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }
  .gd-page.profile-page .origin-learning:nth-child(even) {
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .gd-page.profile-page .bio-content { padding: 36px 28px; }
  .gd-page.profile-page .origin-block { padding: 36px 28px; }
  .gd-page.profile-page .stack-block { padding: 28px 24px; }
  .gd-page.profile-page .stack-block__row { grid-template-columns: 1fr; gap: 10px; }
  .gd-page.profile-page .partner-item { padding: 30px 26px; }
}
