/* ================================================================
   Mi manera de acompañar — Manifiesto personal editorial
   Diseño: lectura lenta, espacios amplios, tipografía cálida.
   ================================================================ */

/* ─── Layout ─────────────────────────────────────────────────── */
.page-acompanar {
    padding: 0 0 var(--space-3xl);
}

.acompanar-article {
    padding-top: var(--space-xl);
}

/* ─── Hero ──────────────────────────────────────────────────── */
.acompanar-hero {
    text-align: center;
    padding: var(--space-2xl) 0 var(--space-xl);
    margin-bottom: var(--space-lg);
    position: relative;
}

.acompanar-hero::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--sage), var(--lavender));
    margin: var(--space-lg) auto 0;
    border-radius: 2px;
    opacity: 0.4;
}

.acompanar-hero__label {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.acompanar-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 500;
    color: var(--sage-dark);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.acompanar-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--terracotta);
    margin-top: var(--space-sm);
    font-weight: 400;
}

/* ─── Contenido del editor (Gutenberg) ──────────────────────── */
.acompanar-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-medium);
    margin-bottom: var(--space-2xl);
}

.acompanar-content p {
    margin-bottom: var(--space-md);
}

/* ─── Secciones del manifiesto ──────────────────────────────── */
.acompanar-section {
    margin-bottom: var(--space-2xl);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid rgba(168, 181, 160, 0.1);
}

.acompanar-section:last-of-type {
    border-bottom: none;
}

.acompanar-section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 500;
    color: var(--sage-dark);
    margin-bottom: var(--space-md);
    line-height: 1.3;
    position: relative;
    padding-left: var(--space-md);
}

.acompanar-section__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 3px;
    height: 1.1em;
    background: var(--lavender);
    border-radius: 2px;
    opacity: 0.5;
}

.acompanar-section__body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-medium);
}

.acompanar-section__body p {
    margin-bottom: var(--space-md);
}

.acompanar-section__body p:last-child {
    margin-bottom: 0;
}

/* ─── Lista de límites éticos ───────────────────────────────── */
.acompanar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.acompanar-list li {
    padding: var(--space-sm) var(--space-md);
    background: rgba(168, 181, 160, 0.05);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--sage);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-medium);
    transition: background 0.3s ease, transform 0.3s ease;
}

.acompanar-list li:hover {
    background: rgba(168, 181, 160, 0.1);
    transform: translateX(4px);
}

.acompanar-list li strong {
    color: var(--sage-dark);
    font-weight: 600;
}

/* ─── Dropcap en primera sección ────────────────────────────── */
.acompanar-section:first-of-type .acompanar-section__body p:first-child::first-letter {
    font-family: var(--font-heading);
    font-size: 3.5em;
    font-weight: 500;
    float: left;
    line-height: 0.85;
    margin-right: 0.25em;
    color: var(--sage-dark);
    padding-top: 6px;
}

/* ─── Bloque cita de cierre ─────────────────────────────────── */
.acompanar-cierre {
    text-align: center;
    padding: var(--space-2xl) 0;
    margin-top: var(--space-xl);
}

.acompanar-cierre__frase {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--sage-dark);
    line-height: 1.4;
    max-width: 480px;
    margin: 0 auto var(--space-sm);
}

.acompanar-cierre__firma {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--terracotta);
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* ─── CTA final ─────────────────────────────────────────────── */
.acompanar-cta {
    text-align: center;
    padding: var(--space-xl);
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    margin-top: var(--space-lg);
}

.acompanar-cta p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: var(--space-md);
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .acompanar-hero { padding: var(--space-lg) 0; }
    .acompanar-section { padding: var(--space-md) 0; }
    .acompanar-section__title { padding-left: var(--space-sm); }
    .acompanar-list li { padding: var(--space-xs) var(--space-sm); }
}

@media (max-width: 480px) {
    .acompanar-section:first-of-type .acompanar-section__body p:first-child::first-letter {
        font-size: 2.5em;
    }
}

/* ─── prefers-reduced-motion ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .acompanar-list li { transition: none !important; }
}
