/**
 * MCC - Template Escorts CSS
 * Estilos dedicados para single-escorts.php
 * Tipografias fijas: 32px nombre / 22px headings / 19px textos (sin reduccion mobile)
 * Marca: rojo #C10F1B
 *
 * v2 (09/05/2026 manana): Fix N1 auditoria MCP
 *   - Boton CTA primario con !important para vencer al !important global
 *     de la Seccion D del Customizer Divi (a, a:link, a:visited { color: rojo !important })
 *     que es guardian activo de MISION #1 (NO eliminar).
 */

/* VARIABLES Y BASE */
.mcc-escort-profile {
    --brand-red: #C10F1B;
    --brand-red-dark: #A00C16;
    --text-color: #222;
    --text-muted: #666;
    --bg-light: #f8f8f8;
    --border-light: #e0e0e0;
    --max-width: 1200px;

    color: var(--text-color);
    font-size: 19px;
    line-height: 1.5;
}

.mcc-escort-profile .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.mcc-escort-profile img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* SECCION 1 - BANNER NOMBRE */
.mcc-escort-profile .escort-banner {
    background: #000;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 2px solid var(--brand-red);
}

.mcc-escort-profile .escort-banner h1 {
    color: var(--brand-red);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

/* SECCION 2 - HERO */
.mcc-escort-profile .escort-hero {
    padding: 50px 0;
}

.mcc-escort-profile .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.mcc-escort-profile .hero-foto img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.mcc-escort-profile .hero-datos {
    padding: 10px 0;
}

.mcc-escort-profile .hero-tagline {
    font-size: 19px;
    line-height: 1.4;
    color: var(--text-color);
    margin: 0 0 30px 0;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-light);
    text-align: center;
}

/* Datos del perfil - CENTRADOS, 2 por linea */
.mcc-escort-profile .perfil-datos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
    margin-bottom: 40px;
    text-align: center;
}

.mcc-escort-profile .perfil-dato {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.mcc-escort-profile .perfil-dato dt {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mcc-escort-profile .perfil-dato dd {
    margin: 0;
    font-size: 19px;
    color: var(--text-color);
    font-weight: 500;
}

/* Titulo "MIS PRECIOS" */
.mcc-escort-profile .precios-titulo {
    text-align: center;
    font-size: 22px;
    color: var(--text-color);
    margin: 40px 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    position: relative;
    padding-bottom: 18px;
}

.mcc-escort-profile .precios-titulo::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-red);
    margin: 12px auto 0;
}

/* Toggles HTML5 nativos */
.mcc-escort-profile .precio-toggle {
    margin-bottom: 12px;
    border: 2px solid var(--brand-red);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.mcc-escort-profile .precio-toggle summary {
    background: var(--brand-red);
    color: #fff;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 19px;
    letter-spacing: 1px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.mcc-escort-profile .precio-toggle summary::-webkit-details-marker {
    display: none;
}

.mcc-escort-profile .precio-toggle summary::after {
    content: '+';
    font-size: 24px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.mcc-escort-profile .precio-toggle[open] summary {
    background: var(--brand-red-dark);
}

.mcc-escort-profile .precio-toggle[open] summary::after {
    transform: rotate(45deg);
}

.mcc-escort-profile .precio-contenido {
    padding: 20px;
    background: var(--bg-light);
}

.mcc-escort-profile .precio-contenido ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mcc-escort-profile .precio-contenido li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 19px;
}

.mcc-escort-profile .precio-contenido li:last-child {
    border-bottom: none;
}

.mcc-escort-profile .precio-contenido .precio-tipo {
    font-weight: 500;
}

.mcc-escort-profile .precio-contenido .precio-valor {
    font-weight: 700;
    color: var(--brand-red);
    font-size: 19px;
}

@media (max-width: 768px) {
    .mcc-escort-profile .escort-hero {
        padding: 30px 0;
    }
    .mcc-escort-profile .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mcc-escort-profile .perfil-datos {
        gap: 20px;
    }
}

/* SECCION 3 - GALERIA */
.mcc-escort-profile .escort-galeria {
    padding: 40px 0;
    background: var(--bg-light);
}

.mcc-escort-profile .galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mcc-escort-profile .galeria-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.mcc-escort-profile .galeria-grid img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .mcc-escort-profile .galeria-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .mcc-escort-profile .galeria-grid img {
        height: 300px;
    }
}

/* SECCION 4 - DESCRIPCION */
.mcc-escort-profile .escort-descripcion {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.mcc-escort-profile .escort-descripcion p {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.2em;
}

@media (max-width: 768px) {
    .mcc-escort-profile .escort-descripcion {
        padding: 40px 20px;
    }
}

/* SECCION 5 - CTA DUAL */
.mcc-escort-profile .escort-cta {
    padding: 60px 0;
    background: var(--bg-light);
}

.mcc-escort-profile .cta-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 35px;
}

.mcc-escort-profile .cta-intro h2 {
    font-size: 22px;
    color: var(--text-color);
    margin: 0 0 12px 0;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    padding-bottom: 18px;
}

.mcc-escort-profile .cta-intro h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-red);
    margin: 18px auto 0;
}

.mcc-escort-profile .cta-intro p {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.mcc-escort-profile .cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.mcc-escort-profile .cta-boton {
    display: block;
    background: var(--brand-red);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 19px;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

/* FIX N1 - Vencer al !important global del Customizer Divi
   Ver Capital Profesional Hallazgo #18 para contexto.
   El Customizer aplica color rojo !important a todos los <a>.
   Aqui forzamos blanco !important con especificidad superior. */
.mcc-escort-profile .cta-boton:not(.cta-secondary),
.mcc-escort-profile .cta-boton:not(.cta-secondary):link,
.mcc-escort-profile .cta-boton:not(.cta-secondary):visited,
.mcc-escort-profile .cta-boton:not(.cta-secondary):hover,
.mcc-escort-profile .cta-boton:not(.cta-secondary):active {
    color: #fff !important;
}

.mcc-escort-profile .cta-boton:hover {
    background: var(--brand-red-dark);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 15, 27, 0.3);
}

.mcc-escort-profile .cta-boton.cta-secondary {
    background: #fff;
    color: var(--brand-red);
    border: 2px solid var(--brand-red);
}

.mcc-escort-profile .cta-boton.cta-secondary:hover {
    background: var(--brand-red);
    color: #fff !important;
}

@media (max-width: 768px) {
    .mcc-escort-profile .escort-cta {
        padding: 40px 0;
    }
    .mcc-escort-profile .cta-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .mcc-escort-profile .cta-boton {
        padding: 22px 20px;
    }
}

/* SECCION 6 - OTRAS ESCORTS + Boton "Ver todas" */
.mcc-escort-profile .escort-otras {
    padding: 60px 0;
}

.mcc-escort-profile .escort-otras h3 {
    text-align: center;
    font-size: 22px;
    margin: 0 0 35px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 18px;
    font-weight: 700;
}

.mcc-escort-profile .escort-otras h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-red);
    margin: 12px auto 0;
}

.mcc-escort-profile .otras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.mcc-escort-profile .otra-card {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    background: #fff;
}

.mcc-escort-profile .otra-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.mcc-escort-profile .otra-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.mcc-escort-profile .otra-card a:hover {
    text-decoration: none;
    color: inherit;
}

.mcc-escort-profile .otra-card-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-light);
}

.mcc-escort-profile .otra-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mcc-escort-profile .otra-card:hover img {
    transform: scale(1.05);
}

.mcc-escort-profile .otra-card-info {
    padding: 15px;
    text-align: center;
}

.mcc-escort-profile .otra-card-info h4 {
    font-size: 22px;
    color: var(--text-color);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Boton "Ver todas las escorts" centrado debajo del grid */
.mcc-escort-profile .escort-otras-cta {
    text-align: center;
    margin-top: 20px;
}

.mcc-escort-profile .escort-otras-cta .cta-boton {
    display: inline-block;
    padding: 18px 40px;
    width: auto;
    min-width: 280px;
}

@media (max-width: 768px) {
    .mcc-escort-profile .escort-otras {
        padding: 40px 0;
    }
    .mcc-escort-profile .otras-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .mcc-escort-profile .escort-otras-cta .cta-boton {
        min-width: 0;
        width: 100%;
    }
}
