/* ==========================================================================
   WACH — Perfil individual del equipo · Showroom (sesión 12)
   3 layouts switcheables: A (Pérez-Llorca) · B (Creel) · C (WACH propio)
   Depends on wach-b.css custom properties.
   ========================================================================== */

[x-cloak] { display: none !important; }

/* ---------- Floating switcher (showroom only) ---------- */
.showroom-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--wach-navy);
    color: #fff;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.showroom-bar__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.showroom-bar__dot {
    width: 8px;
    height: 8px;
    background: var(--wach-orange);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(232,113,43,0.2);
}

.showroom-bar__sub {
    color: rgba(255,255,255,0.45);
    margin-left: 0.5rem;
    text-transform: none;
    letter-spacing: 0.05em;
}

.showroom-bar__buttons {
    display: flex;
    gap: 0.5rem;
}

.showroom-bar__buttons button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.55rem 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.showroom-bar__buttons button:hover {
    border-color: var(--wach-orange);
    color: #fff;
}

.showroom-bar__buttons button.active {
    background: var(--wach-orange);
    border-color: var(--wach-orange);
    color: #fff;
}

.showroom-bar__person {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 240px;
    max-width: 380px;
}

.showroom-bar__person label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin: 0;
    white-space: nowrap;
}

.showroom-bar__person select {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3e%3cpath fill='none' stroke='%23E8712B' stroke-width='1.5' d='M1 3l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2rem;
}

.showroom-bar__person select:hover {
    border-color: var(--wach-orange);
    background-color: rgba(255,255,255,0.12);
}

.showroom-bar__person select:focus {
    outline: none;
    border-color: var(--wach-orange);
}

.showroom-bar__person select option,
.showroom-bar__person select optgroup {
    background: var(--wach-navy-dark);
    color: #fff;
}


/* ---------- Photo placeholders (Mara, Addy y eventual fallback) ---------- */
.profile-photo-placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--wach-gray-100) !important;
    color: var(--wach-navy);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--wach-gray-200);
}

.profile-c__hero-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wach-gray-100);
    color: var(--wach-navy);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--wach-gray-200);
}


/* ============================================================
   LAYOUT A — Pérez-Llorca-style
   ============================================================ */
.profile-a {
    background: #fff;
    padding: 4rem 0 6rem;
}

.profile-a__container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.profile-a__head {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin: 1rem 0 0;
}

.profile-a__photo {
    width: 180px;
    height: 220px;
    object-fit: cover;
    object-position: center 25%;
    flex-shrink: 0;
    background: var(--wach-gray-100);
}

.profile-a__head-text {
    flex: 1;
    padding-top: 0.5rem;
}

.profile-a__name {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    color: var(--wach-navy);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.profile-a__role {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wach-orange);
    margin-bottom: 1.25rem;
}

.profile-a__contact {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--wach-text);
}

.profile-a__contact a {
    color: var(--wach-navy);
    text-decoration: none;
    border-bottom: 1px solid var(--wach-gray-300);
    transition: border-color 0.25s ease, color 0.25s ease;
}

.profile-a__contact a:hover {
    color: var(--wach-orange);
    border-color: var(--wach-orange);
}

.profile-a__specialty {
    color: var(--wach-gray-600);
}

.profile-a__sep {
    margin: 0 0.5rem;
    color: var(--wach-gray-300);
}

.profile-a__divider {
    height: 1px;
    background: var(--wach-gray-200);
    margin: 3rem 0 2.5rem;
}

.profile-a__subhead {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--wach-navy);
    margin: 2.5rem 0 1rem;
}

.profile-a__paragraph {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.85;
    color: var(--wach-text);
    margin-bottom: 1.1rem;
    text-align: justify;
}

.profile-a__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.profile-a__bullets li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.55rem;
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--wach-text);
}

.profile-a__bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 1px;
    background: var(--wach-orange);
}

.profile-a__bullets--awards li {
    display: flex;
    gap: 1rem;
    padding-left: 0;
    align-items: baseline;
}

.profile-a__bullets--awards li::before {
    display: none;
}

.profile-a__year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--wach-orange);
    flex-shrink: 0;
    width: 50px;
}

.profile-a__award {
    flex: 1;
}

.profile-a__edu {
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.profile-a__edu strong {
    color: var(--wach-navy);
    font-weight: 600;
}

.profile-a__edu-dates {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--wach-gray-500);
    margin-top: 0.15rem;
}


/* ============================================================
   LAYOUT B — Creel-style (paleta WACH: fondo blanco, tipografía navy)
   ============================================================ */
.profile-b {
    background: #fff;
    color: var(--wach-navy);
    padding: 4rem 0 6rem;
    min-height: 100vh;
}

.profile-b__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.profile-b__breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wach-gray-500);
    margin-bottom: 4rem;
}

.profile-b__breadcrumb a {
    color: var(--wach-gray-600);
    text-decoration: none;
    transition: color 0.25s ease;
}

.profile-b__breadcrumb a:hover {
    color: var(--wach-orange);
}

.profile-b__breadcrumb span:not(.current) {
    margin: 0 0.5rem;
    color: var(--wach-gray-300);
}

.profile-b__breadcrumb .current {
    color: var(--wach-orange);
}

.profile-b__name {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    color: var(--wach-navy);
    line-height: 0.95;
    margin: 0 0 5rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--wach-gray-200);
    padding-bottom: 3rem;
    display: flex;
    align-items: baseline;
    gap: 0.05em;
    font-size: clamp(2.4rem, 6.5vw, 5rem);
}

.profile-b__dropcap {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.25em;
    color: var(--wach-navy);
    line-height: 0.85;
}

.profile-b__rest {
    font-family: var(--font-heading);
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.5em;
    color: var(--wach-navy);
}

.profile-b__layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 5rem;
    align-items: start;
}

.profile-b__main {
    color: var(--wach-text);
}

.profile-b__lede {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.85;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--wach-navy);
    margin-bottom: 3rem;
    text-align: justify;
}

.profile-b__lede strong {
    font-weight: 600;
    color: var(--wach-navy);
}

.profile-b__lede em {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--wach-orange);
    font-size: 1.1em;
}

.profile-b__paragraph {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.9;
    color: var(--wach-text);
    margin-bottom: 1.2rem;
    text-align: justify;
    text-indent: 2em;
}

.profile-b__paragraph--first {
    text-indent: 0;
}

.profile-b__paragraph em {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--wach-navy);
}

.profile-b__aside {
    border-left: 1px solid var(--wach-gray-200);
    padding-left: 2.5rem;
}

.profile-b__photo {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center 25%;
    background: var(--wach-gray-100);
    margin-bottom: 2.5rem;
    display: block;
    filter: grayscale(0.15) contrast(1.02);
}

.profile-b__block {
    margin-bottom: 2.5rem;
}

.profile-b__block-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wach-orange);
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--wach-gray-200);
    padding-bottom: 0.6rem;
    text-decoration: underline;
    text-underline-offset: 0.4em;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--wach-gray-300);
}

.profile-b__block-item {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    line-height: 1.8;
    color: var(--wach-text);
    margin-bottom: 0.15rem;
}

.profile-b__block-item--email a {
    color: var(--wach-navy);
    text-decoration: none;
    transition: color 0.25s ease;
}

.profile-b__block-item--email a:hover {
    color: var(--wach-orange);
}

.profile-b__block-item--award {
    text-transform: none;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--wach-text);
}

.profile-b__block-item--award span {
    color: var(--wach-orange);
    font-weight: 600;
    margin-right: 0.5em;
}

@media (max-width: 900px) {
    .profile-b__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .profile-b__aside {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--wach-gray-200);
        padding-top: 2rem;
    }
}


/* ============================================================
   LAYOUT C — WACH propio (híbrido)
   ============================================================ */
.profile-c {
    background: #fff;
}

/* Hero */
.profile-c__hero {
    background: var(--wach-white);
    padding: 3rem 0 3.5rem;
    border-bottom: 1px solid var(--wach-gray-200);
}

.profile-c__hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.profile-c__hero-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3.5rem;
    align-items: center;
}

.profile-c__hero-photo img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center 25%;
    background: var(--wach-gray-100);
}

.profile-c__role {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: var(--wach-orange);
    display: block;
    margin-bottom: 1rem;
}

.profile-c__name {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
    color: var(--wach-navy);
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}

.profile-c__name-accent {
    display: block;
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--wach-orange);
    font-size: 0.9em;
    margin-top: 0.15em;
}

.profile-c__contact-line a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--wach-text);
    text-decoration: none;
    border-bottom: 1px solid var(--wach-gray-300);
    padding-bottom: 0.25rem;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.profile-c__contact-line a:hover {
    color: var(--wach-orange);
    border-color: var(--wach-orange);
}

@media (max-width: 800px) {
    .profile-c__hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .profile-c__hero-photo img {
        max-width: 280px;
    }
}

/* Datos clave (banda navy) */
.profile-c__keydata {
    background: var(--wach-navy);
    padding: 2.5rem 0;
}

.profile-c__keydata-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.profile-c__keydata-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.profile-c__keydata-item {
    color: rgba(255,255,255,0.85);
}

.profile-c__keydata-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wach-orange);
    margin-bottom: 0.5rem;
}

.profile-c__keydata-value {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

@media (max-width: 800px) {
    .profile-c__keydata-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Body */
.profile-c__body {
    padding: 5rem 0 6rem;
    background: #fff;
}

.profile-c__body-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.profile-c__body-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    align-items: start;
}

.profile-c__main {
    max-width: 720px;
}

.profile-c__heading {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--wach-navy);
    margin: 3rem 0 1.5rem;
    line-height: 1.1;
}

.profile-c__heading:first-child {
    margin-top: 0;
}

.profile-c__paragraph {
    font-family: var(--font-body);
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--wach-text);
    margin-bottom: 1.3rem;
}

.profile-c__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.profile-c__chip {
    background: var(--wach-gray-100);
    color: var(--wach-navy);
    border: 1px solid var(--wach-gray-200);
    padding: 0.45rem 0.95rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.profile-c__chip:hover {
    background: var(--wach-navy);
    color: #fff;
    border-color: var(--wach-navy);
}

.profile-c__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.profile-c__list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.55rem;
    font-size: 0.97rem;
    line-height: 1.7;
}

.profile-c__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 1px;
    background: var(--wach-orange);
}

/* Aside */
.profile-c__aside {
    position: sticky;
    top: 120px;
}

.profile-c__aside-block {
    background: var(--wach-gray-100);
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--wach-orange);
}

.profile-c__aside-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wach-orange);
    margin: 0 0 1rem;
}

.profile-c__edu {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.profile-c__edu strong {
    display: block;
    color: var(--wach-navy);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.profile-c__edu span {
    display: block;
    color: var(--wach-text-light);
}

.profile-c__edu-dates {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--wach-gray-500) !important;
    margin-top: 0.1rem;
}

.profile-c__award {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
    line-height: 1.5;
}

.profile-c__award-year {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--wach-orange);
    flex-shrink: 0;
    padding-top: 0.15rem;
}

.profile-c__award-text {
    color: var(--wach-text);
}

@media (max-width: 1000px) {
    .profile-c__body-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .profile-c__aside {
        position: static;
    }
}
