/* ============================================
   ESTILOS GLOBALES – PAOLA REWA
   ============================================ */

/* TIPOGRAFÍAS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    /* PALETA PRINCIPAL */
    --color-fondo: #FAFAF6;
    --color-fondo-secundario: #EAE5DF;
    --color-texto: #222222;
    --color-texto-secundario: #5A5A5A;
    --color-beige: #C1A78F;
    --color-piedra: #8A7B6D;
    --color-turquesa: #3EC0D2;
    --color-linea: #EAE5DF;
    /* TIPOGRAFÍA */
    --fuente-texto: 'Jost', sans-serif;
    /* DIMENSIONES */
    --ancho-texto: 72ch;
    /* URLs */
    --color-urlover: #C1A78F;
}

/* ============================================
   ESTRUCTURA BASE
   ============================================ */

html, body {
    font-family: var(--fuente-texto);
    background-color: var(--color-fondo);
    color: var(--color-texto);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ============================================
   TITULARES Y TEXTOS
   ============================================ */

h1, h2, h3, h4 {
    font-family: var(--fuente-texto);
    color: var(--color-texto);
    font-weight: 600;
    margin: 0 0 0.5em 0;
}

h1 {
    font-size: 2.8rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
}

h3 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    font-family: var(--fuente-texto);
    font-size: 1.05rem;
    line-height: 1.7em;
    color: var(--color-texto-secundario);
    margin: 0 0 1.5em 0;
    max-width: var(--ancho-texto);
}

.cita {
    font-style: italic;
    color: var(--color-piedra);
    font-size: 1.2rem;
}

/* ============================================
   ENLACES
   ============================================ */

a {
    color: var(--color-texto);
    text-decoration: none;
    text-underline-offset: 4px;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

    a:hover {
        color: var(--color-urlover);
        text-decoration-color: var(--color-urlover);
    }

/* ============================================
   BOTONES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 5px;
    font-family: var(--fuente-texto);
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid var(--color-beige);
    background-color: white;
    color: var(--color-texto);
    transition: all 0.3s ease;
    text-decoration: none;
}

    .btn:hover {
        background-color: var(--color-turquesa);
        color: white;
        border-color: var(--color-turquesa);
    }

.btn-secundario {
    border: 1px solid var(--color-linea);
    background-color: var(--color-fondo-secundario);
    color: var(--color-texto);
}

    .btn-secundario:hover {
        border-color: var(--color-turquesa);
        color: var(--color-turquesa);
    }

/* ============================================
   CONTENEDORES GENÉRICOS
   ============================================ */

.section {
    padding: 15px 15px;
    max-width: 1400px;
    margin: 0 auto;
}

    .section h2 {
        text-align: center;
        margin-bottom: 1.5em;
    }

.divisor {
    width: 100%;
    height: 1px;
    background-color: var(--color-linea);
    margin: 60px 0;
}

/* ============================================
   PIE DE PÁGINA
   ============================================ */

footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-piedra);
    padding: 10px 0;
    border-top: 1px solid var(--color-linea);
}

/* ============================================
   MICROINTERACCIONES
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BLOQUE SOCIAL (GLOBAL)
   ============================================ */

.social-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.social-icons {
    display: flex;
    gap: 14px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

    .social-icon:hover {
        transform: scale(1.14);
    }

.social-title {
    font-size: 1.3rem;
    margin: 0;
}

/* ============================================
   CABECERA GLOBAL
   ============================================ */

.pr-header {
    width: 100%;
    background: #F7F5EF;
    border-bottom: 1px solid #e6e1d6;
}

.pr-header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 4px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pr-header-logo img {
    height: clamp(70px, 8vw, 110px);
    display: block;
    cursor: pointer;
}

.pr-page-title {
    text-align: center;
    font-size: 2.1rem;
    font-weight: 400;
    margin: 22px 0 10px;
    color: #222;
    letter-spacing: 0.4px;
}

.pr-header-icons {
    display: flex;
    gap: 24px;
    align-items: center;
}

    .pr-header-icons svg {
        width: 46px !important;
        height: 46px !important;
        transition: opacity 0.2s ease;
    }

    .pr-header-icons a:hover svg {
        opacity: 0.7;
    }

@media (max-width: 700px) {
    .pr-header-inner {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .pr-header-logo img {
        height: 60px;
    }
}









.ai-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin-top: 10px;
    border-radius: 6px;
    background: #f5f5f5;
    font-size: 14px;
    color: #333;
}

    .ai-status.hidden {
        display: none;
    }

.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #ccc;
    border-top: 2px solid #555;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}




