/* ============================================
   PÁGINA — ACERCA DE NOSOTROS
   ============================================ */
.conteiner-logo-nosotros{
    display: flex;
    align-items: center;
    justify-content: center;

}
.logo-armarlapalabra{
    width: 200px;
    height: 200px;

}
.contenido-acerca {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
.acerca-seccion {
    margin-bottom: 90px;
}

.seccion-titulo {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 32px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 2px solid #E8B200;
    display: inline-block;
    position: relative;
}

.seccion-titulo::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #C8102E;
}

/* ============================================
   SECCIÓN EDITORIAL — Quiénes somos
   ============================================ */
.acerca-editorial {
    max-width: 820px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.editorial-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 35px;
    position: relative;
}

.editorial-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background: linear-gradient(
        to right,
        #C8102E 0%, #C8102E 33%,
        #E8B200 33%, #E8B200 66%,
        #0B6E4F 66%, #0B6E4F 100%
    );
    border-radius: 2px;
}

.editorial-header h1 {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 42px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 1.2;
}

.editorial-header p {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 17px;
    color: #888;
    font-style: italic;
    letter-spacing: 0.5px;
}

.editorial-subtitulo {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 27px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
    margin: 60px 0 25px;
    padding-left: 22px;
    border-left: 4px solid #C8102E;
    letter-spacing: 1.3px;
}

.editorial-subtitulo:first-of-type {
    margin-top: 0;
}

.editorial-texto {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.9;
    letter-spacing: 1.3px;
    color: #333;
    text-align: justify;
    hyphens: auto;
    margin-bottom: 22px;
}

.editorial-texto strong {
    color: #1A1A1A;
    font-weight: 700;
}

.editorial-cita {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 24px;
    font-style: italic;
    color: #1A1A1A;
    line-height: 1.5;
    text-align: center;
    margin: 55px auto;
    padding: 35px 45px;
    max-width: 720px;
    border-left: 5px solid #C8102E;
    border-right: 5px solid #0B6E4F;
    background: #F8F8F5;
    border-radius: 4px;
    position: relative;
}

.editorial-cita::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 20px;
    font-family: Georgia, serif;
    font-size: 90px;
    color: #C8102E;
    opacity: 0.18;
    line-height: 1;
}

.editorial-cierre {
    margin-top: 70px;
    padding-top: 45px;
    border-top: 1px solid #EEE;
    text-align: center;
}

.editorial-firma {
    display: inline-block;
    font-family: 'Beau Rivage', cursive;
    font-size: 48px;
    color: black;
    letter-spacing: 2px;
    line-height: 1;
}

/* ============================================
   AVISO ELEGANTE DE COMPRA
   ============================================ */
.aviso-compra {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px 35px;
    margin-bottom: 45px;
    background: linear-gradient(135deg, #F8F8F5 0%, #FFFFFF 100%);
    border-radius: 12px;
    border-left: 5px solid #C8102E;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.aviso-compra::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        to right,
        #C8102E 0%, #C8102E 33%,
        #E8B200 33%, #E8B200 66%,
        #0B6E4F 66%, #0B6E4F 100%
    );
}

.aviso-icono {
    font-size: 38px;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(200, 16, 46, 0.15));
}

.aviso-contenido {
    flex: 1;
}

.aviso-titulo {
    font-family: 'Cambria', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.aviso-texto {
    font-family: 'Cambria', Georgia, serif;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 18px;
}

.aviso-texto strong {
    color: #C8102E;
    font-weight: 700;
}

.aviso-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cambria', Georgia, serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #1A1A1A;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.3s ease, gap 0.3s ease;
}

.aviso-btn span {
    font-size: 16px;
    line-height: 1;
}

.aviso-btn:hover {
    background: #C8102E;
    transform: translateY(-2px);
    gap: 12px;
}

/* ============================================
   LIBROS — GRID Y CARDS
   ============================================ */
.libros-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.libro-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #F0F0F0;
}

.libro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

/* Portada */
.libro-portada-wrapper {
    position: relative;
    background: linear-gradient(135deg, #F8F8F5 0%, #F0F0EB 100%);
    padding: 30px 25px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    border-bottom: 1px solid #F0F0F0;
}

.libro-portada {
    width: 70%;
    height: 230px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.libro-card:hover .libro-portada {
    transform: scale(1.05) rotate(-1.5deg);
}

/* Info del libro */
.libro-info {
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.libro-titulo {
    font-family: 'Cambria', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.3;
    margin-bottom: 12px;
    display: -webkit-box;
    
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.libro-card:hover .libro-titulo {
    color: #C8102E;
}

.libro-desc {
    font-family: 'Cambria', Georgia, serif;
    font-size: 13.5px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
    display: -webkit-box;
    
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Datos: páginas, tapa, etc. */
.libro-datos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #F0F0F0;
}

.libro-dato {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Cambria', Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    color: #222;
    background: #F5F5F5;
    padding: 5px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* PRECIO ÚNICO — destacado */
.libro-precios {
    display: flex;
    justify-content: flex-start;
    padding-top: 4px;
}

.precio-item {
    display: flex;
    flex-direction: column;
    padding: 14px 18px;
    background: linear-gradient(135deg, #FFF8E5 0%, #FFFDF5 100%);
    border-left: 4px solid #E8B200;
    border-radius: 6px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.libro-card:hover .precio-item {
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(232, 178, 0, 0.2);
}

.precio-label {
    font-family: 'Cambria', Georgia, serif;
    font-size: 10px;
    color: #8B6F1F;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 700;
}

.precio-valor {
    font-family: 'Cambria', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1;
}

.precio-valor small {
    font-size: 14px;
    color: #8B6F1F;
    font-weight: 600;
    margin-left: 3px;
    letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {

    .contenido-acerca {
        padding: 50px 20px 80px;
    }

    .editorial-header h1 {
        font-size: 34px;
    }

    .editorial-subtitulo {
        font-size: 24px;
    }

    .editorial-texto {
        font-size: 17px;
    }

    /* Libros tablet */
    .libros-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .libro-portada-wrapper {
        min-height: 260px;
        padding: 25px 20px 20px;
    }

    .libro-portada {
        height: 210px;
        width: 70%;
    }

    .libro-titulo {
        font-size: 18px;
    }

    .precio-valor {
        font-size: 26px;
    }

    /* Aviso */
    .aviso-compra {
        padding: 25px 28px;
        gap: 20px;
    }

    .aviso-titulo {
        font-size: 18px;
    }
}

/* ============================================
   RESPONSIVE — MÓVIL (max 768px)
   ============================================ */
@media (max-width: 768px) {

    .contenido-acerca {
        padding: 35px 15px 60px;
    }

    .acerca-seccion {
        margin-bottom: 60px;
    }

    .seccion-titulo {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .acerca-editorial {
        padding: 0 5px;
        margin-bottom: 70px;
    }

    .editorial-header {
        margin-bottom: 45px;
        padding-bottom: 28px;
    }

    .editorial-header h1 {
        font-size: 26px;
        letter-spacing: 1.5px;
    }

    .editorial-header p {
        font-size: 14px;
    }

    .editorial-subtitulo {
        font-size: 20px;
        margin: 45px 0 18px;
        padding-left: 16px;
        border-left-width: 3px;
    }

    .editorial-texto {
        font-size: 16px;
        line-height: 1.8;
        text-align: left;
    }

    .editorial-cita {
        font-size: 17px;
        padding: 25px 25px;
        margin: 40px auto;
    }

    .editorial-cita::before {
        font-size: 65px;
        top: -10px;
        left: 15px;
    }

    .editorial-cierre {
        margin-top: 50px;
        padding-top: 30px;
    }

    .editorial-firma {
        font-size: 36px;
    }

    /* Aviso */
    .aviso-compra {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
        gap: 15px;
        align-items: center;
    }

    .aviso-icono {
        font-size: 34px;
    }

    .aviso-titulo {
        font-size: 18px;
    }

    .aviso-texto {
        font-size: 14px;
    }

    .aviso-btn {
        font-size: 13px;
        padding: 10px 20px;
    }

    /* Libros móvil */
    .libros-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .libro-portada-wrapper {
        min-height: 260px;
        padding: 25px;
    }

    .libro-portada {
        height: 210px;
        width: 60%;
    }

    .libro-titulo {
        font-size: 18px;
    }

    .libro-desc {
        font-size: 14px;
    }

    .precio-valor {
        font-size: 26px;
    }
}

/* ============================================
   RESPONSIVE — MÓVIL PEQUEÑO (max 480px)
   ============================================ */
@media (max-width: 480px) {

    .editorial-header h1 {
        font-size: 22px;
    }

    .editorial-subtitulo {
        font-size: 18px;
    }

    .editorial-texto {
        font-size: 15px;
    }

    .editorial-cita {
        font-size: 15px;
        padding: 20px 20px;
    }

    .editorial-firma {
        font-size: 30px;
    }

    .aviso-titulo {
        font-size: 16px;
    }

    .aviso-texto {
        font-size: 13px;
    }

    /* Libros móvil pequeño */
    .libro-titulo {
        font-size: 17px;
    }

    .libro-desc {
        font-size: 13px;
    }

    .precio-valor {
        font-size: 24px;
    }

    .precio-label {
        font-size: 9px;
    }

    .libro-portada {
        height: 190px;
        width: 65%;
    }
}