:root {
  --member-gold: #e3b341;
  --member-gold-soft: #f6dd91;
  --member-ink: #090a0c;
  --member-panel: #111318;
  --member-line: rgba(255, 255, 255, 0.12);
  --member-muted: #a9adb7;
}

body[data-page="integrante"] {
  margin: 0;
  background: #08090b;
  color: #f8f8f5;
  font-family: "Manrope", sans-serif;
}

.member-profile-shell { min-height: 100vh; background: radial-gradient(circle at 80% 0%, rgba(227,179,65,.12), transparent 34%), #08090b; }
.member-profile { padding-bottom: 96px; }
.member-profile-hero { position: relative; min-height: 680px; display: flex; align-items: flex-end; overflow: hidden; background: #111318; }
.member-profile-hero__background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; filter: saturate(.84) contrast(1.04); }
.member-profile-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,8,.18) 0%, rgba(5,6,8,.3) 38%, rgba(5,6,8,.96) 100%), linear-gradient(90deg, rgba(5,6,8,.7), transparent 66%); }
.member-profile-hero.has-no-image { min-height: 520px; background: radial-gradient(circle at 70% 30%, rgba(227,179,65,.18), transparent 30%), #101216; }
.member-profile-hero__content { position: relative; z-index: 2; width: min(1220px, calc(100% - 48px)); margin: 0 auto; padding: 150px 0 64px; }
.member-profile-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 42px; color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.member-profile-back:hover { color: var(--member-gold-soft); }
.member-profile-identity { display: flex; align-items: flex-end; gap: 34px; }
.member-profile-avatar { width: 190px; aspect-ratio: 4 / 5; margin: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 26px; overflow: hidden; background: #16191f; box-shadow: 0 28px 80px rgba(0,0,0,.48); flex: 0 0 auto; }
.member-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-profile-avatar.has-placeholder { display: grid; place-items: center; color: var(--member-gold); font: 96px/1 "Bebas Neue", sans-serif; }
.member-profile-heading { max-width: 760px; }
.member-profile-kicker, .member-profile-eyebrow { margin: 0 0 12px; color: var(--member-gold); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.member-profile-heading h1 { margin: 0; font: clamp(68px, 9vw, 132px)/.82 "Bebas Neue", sans-serif; letter-spacing: .01em; text-wrap: balance; }
.member-profile-real-name { margin: 18px 0 0; color: rgba(255,255,255,.76); font: 600 22px/1.3 "Cormorant Garamond", serif; }
.member-profile-role-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.member-profile-role-row span { padding: 9px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(8,9,11,.46); backdrop-filter: blur(12px); font-size: 12px; font-weight: 700; }
.member-profile-heading blockquote { margin: 24px 0 0; max-width: 660px; color: #f7e5b2; font: 600 clamp(20px,2.4vw,30px)/1.25 "Cormorant Garamond", serif; }
.member-profile-layout { width: min(1220px, calc(100% - 48px)); margin: 52px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: start; }
.member-profile-main { display: grid; gap: 28px; }
.member-profile-sidebar { display: grid; gap: 20px; position: sticky; top: 100px; }
.member-profile-card { border: 1px solid var(--member-line); border-radius: 24px; background: rgba(17,19,24,.92); box-shadow: 0 24px 70px rgba(0,0,0,.18); }
.member-profile-biography, .member-profile-comments, .member-profile-main > .member-profile-card { padding: clamp(28px, 4vw, 48px); }
.member-profile-card h2 { margin: 0; font: 700 clamp(34px, 4vw, 54px)/.98 "Cormorant Garamond", serif; }
.member-profile-lead { margin: 24px 0 0; color: #f4e4b8; font-size: 19px; line-height: 1.65; }
.member-profile-copy { margin-top: 22px; color: #d6d8dd; font-size: 16px; line-height: 1.85; }
.member-profile-empty-copy { padding: 22px; border: 1px dashed rgba(255,255,255,.16); border-radius: 16px; color: var(--member-muted); }
.member-profile-section-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 30px; }
.member-profile-section-head > span { color: var(--member-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.member-profile-gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.member-profile-gallery figure { position: relative; margin: 0; min-height: 280px; border-radius: 18px; overflow: hidden; background: #0c0d10; }
.member-profile-gallery figure.is-featured { grid-column: 1 / -1; min-height: 480px; }
.member-profile-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.member-profile-gallery figure:hover img { transform: scale(1.025); }
.member-profile-gallery figcaption { position: absolute; inset: auto 12px 12px; padding: 10px 12px; border-radius: 12px; background: rgba(7,8,10,.78); backdrop-filter: blur(8px); color: #ececef; font-size: 12px; }
.member-profile-facts, .member-profile-social-card { padding: 26px; }
.member-profile-facts dl { margin: 20px 0 0; display: grid; gap: 0; }
.member-profile-facts dl div { display: grid; gap: 6px; padding: 15px 0; border-top: 1px solid var(--member-line); }
.member-profile-facts dt { color: var(--member-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.member-profile-facts dd { margin: 0; font-size: 15px; font-weight: 700; }
.member-profile-social-card h2 { font-size: 32px; }
.member-profile-socials { display: grid; gap: 8px; margin-top: 20px; }
.member-profile-socials a { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-radius: 12px; background: rgba(255,255,255,.05); color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; transition: background .2s ease, transform .2s ease; }
.member-profile-socials a:hover { background: rgba(227,179,65,.14); transform: translateX(2px); }
.member-profile-socials b { color: var(--member-gold); }
.member-profile-cta { display: grid; gap: 8px; padding: 25px; border-radius: 22px; background: var(--member-gold); color: #0a0a0b; text-decoration: none; }
.member-profile-cta span { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.member-profile-cta strong { font-size: 19px; line-height: 1.25; }
.member-comment-notice { margin-bottom: 22px; padding: 14px 16px; border-radius: 13px; font-size: 13px; font-weight: 700; }
.member-comment-notice.is-success { background: rgba(60,184,120,.14); border: 1px solid rgba(60,184,120,.36); color: #a6efc8; }
.member-comment-notice.is-error { background: rgba(231,92,92,.13); border: 1px solid rgba(231,92,92,.34); color: #ffc1c1; }
.member-comment-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: 22px; border-radius: 18px; background: rgba(255,255,255,.035); }
.member-comment-form label { display: grid; gap: 8px; }
.member-comment-form label > span { font-size: 12px; font-weight: 800; }
.member-comment-form label small { color: var(--member-muted); font-weight: 500; }
.member-comment-form input, .member-comment-form textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: #0c0e12; color: #fff; padding: 13px 14px; font: inherit; outline: none; }
.member-comment-form input:focus, .member-comment-form textarea:focus { border-color: var(--member-gold); box-shadow: 0 0 0 3px rgba(227,179,65,.12); }
.member-comment-form__wide, .member-comment-form__footer { grid-column: 1 / -1; }
.member-comment-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.member-comment-form__footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.member-comment-form__footer p { margin: 0; color: var(--member-muted); font-size: 12px; }
.member-comment-form button { border: 0; border-radius: 12px; padding: 13px 20px; background: var(--member-gold); color: #090a0c; font: 800 13px/1 "Manrope", sans-serif; cursor: pointer; }
.member-comment-list { display: grid; gap: 12px; margin-top: 24px; }
.member-comment-list article { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 13px; padding: 17px; border: 1px solid var(--member-line); border-radius: 16px; }
.member-comment-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(227,179,65,.14); color: var(--member-gold); font-weight: 900; }
.member-comment-list header { display: flex; justify-content: space-between; gap: 12px; }
.member-comment-list time { color: var(--member-muted); font-size: 11px; }
.member-comment-list p { margin: 7px 0 0; color: #d1d3d8; font-size: 14px; line-height: 1.6; }

@media (max-width: 920px) {
  .member-profile-hero { min-height: 620px; }
  .member-profile-layout { grid-template-columns: 1fr; }
  .member-profile-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .member-profile-cta { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .member-profile-hero__content, .member-profile-layout { width: min(100% - 28px, 1220px); }
  .member-profile-hero__content { padding-top: 120px; }
  .member-profile-identity { align-items: flex-start; gap: 20px; flex-direction: column; }
  .member-profile-avatar { width: 132px; border-radius: 20px; }
  .member-profile-heading h1 { font-size: clamp(58px, 20vw, 88px); }
  .member-profile-layout { margin-top: 24px; }
  .member-profile-biography, .member-profile-comments, .member-profile-main > .member-profile-card { padding: 24px 20px; }
  .member-profile-section-head { align-items: flex-start; flex-direction: column; }
  .member-profile-gallery { grid-template-columns: 1fr; }
  .member-profile-gallery figure.is-featured { grid-column: auto; min-height: 360px; }
  .member-profile-sidebar { grid-template-columns: 1fr; }
  .member-profile-cta { grid-column: auto; }
  .member-comment-form { grid-template-columns: 1fr; padding: 16px; }
  .member-comment-form__wide, .member-comment-form__footer { grid-column: auto; }
  .member-comment-form__footer { align-items: stretch; flex-direction: column; }
  .member-comment-form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .member-profile-gallery img, .member-profile-socials a { transition: none; }
}
