/* ==========================================================
   JESUSILLAN.COM
   ENTRE AZULES E INVENCIBLES
   Identidad visual propia · v1.0
   ========================================================== */


/* ==========================================================
   VARIABLES — CIELO / AZUL / GLOBO
   ========================================================== */

.azules-page {
    --azules-sky: #6fa9d8;
    --azules-blue: #3d7fb5;
    --azules-deep: #173b5b;
    --azules-light: #dcecf8;
    --azules-cloud: rgba(255,255,255,.82);
    --azules-text: rgba(255,255,255,.86);
    --azules-soft: rgba(225,239,249,.70);
    --azules-red: #c84e48;
    --azules-bg: #07131f;
    --azules-panel: rgba(255,255,255,.055);
    --azules-border: rgba(181,220,247,.20);
}


/* ==========================================================
   PÁGINA
   ========================================================== */

.azules-page {
    position: relative;
    overflow-x: hidden;
    background:
        linear-gradient(
            180deg,
            #071522 0%,
            #0b1e2f 34%,
            #10283b 62%,
            #081722 100%
        );
    color: var(--azules-text);
}

.azules-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .55;
    background:
        radial-gradient(circle at 12% 16%, rgba(111,169,216,.13), transparent 28%),
        radial-gradient(circle at 85% 22%, rgba(255,255,255,.07), transparent 24%),
        radial-gradient(circle at 50% 80%, rgba(61,127,181,.10), transparent 30%);
}

/* ==========================================================
   HERO
   ========================================================== */

.azules-hero {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 70px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(
            180deg,
            rgba(24,73,108,.94) 0%,
            rgba(39,99,143,.82) 44%,
            rgba(7,21,34,.98) 100%
        );
}

.azules-cloud-layer {
    position: absolute;
    inset: -10%;
    z-index: -3;
    pointer-events: none;
    opacity: .60;
    background:
        radial-gradient(ellipse at 18% 28%, rgba(255,255,255,.30) 0 5%, transparent 17%),
        radial-gradient(ellipse at 72% 20%, rgba(255,255,255,.20) 0 6%, transparent 19%),
        radial-gradient(ellipse at 48% 52%, rgba(255,255,255,.10) 0 7%, transparent 23%),
        radial-gradient(ellipse at 86% 64%, rgba(255,255,255,.12) 0 5%, transparent 18%);
    filter: blur(14px);
}

/* ==========================================================
   HERO — FONDO DEL GLOBO
   ========================================================== */
.azules-balloon-bg {
    display: none;
}

/* ==========================================================
   HERO — LUZ INFERIOR
   ========================================================== */

.azules-hero::after {
    content: "";
    position: absolute;
    left: 42%;
    bottom: -300px;
    width: 900px;
    height: 600px;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse,
            rgba(126,188,231,.18),
            transparent 68%
        );
    filter: blur(45px);
}

/* ==========================================================
   HERO — MOCKUP
   ========================================================== */

.azules-hero .hero-book-image {
    min-height: 720px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;

    /*
       CAMBIO:
       Mantiene su propio contexto de apilado para que
       el fondo quede perfectamente detrás del libro.
    */
    isolation: isolate;
}

/* ==========================================================
   HERO — FONDO DEL GLOBO DETRÁS DEL MOCKUP
   ========================================================== */

/*
   CAMBIO:
   El fondo de nubes/globo se coloca directamente dentro
   de la zona del mockup.

   Queda:
   fondo → globo → brillos → libro
*/

.azules-hero .hero-book-image::before {
    content: "";
    position: absolute;
    left: calc(50% + 120px);
    top: 50%;

    width: 780px;
    height: 780px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        linear-gradient(
            180deg,
            rgba(23,59,91,.05),
            rgba(7,19,31,.18)
        ),
        url("../images/Azules-bg-globo.png")
        center / contain
        no-repeat;

    opacity: .28;
    filter:
        saturate(.90)
        blur(.2px);

    z-index: 0;

    pointer-events: none;
}

/* ==========================================================
   HERO — HALO EXTERIOR DEL MOCKUP
   ========================================================== */

.azules-hero .hero-book-image::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;

    width: 650px;
    height: 650px;

    transform: translate(-50%, -50%);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(213,238,253,.20),
            rgba(102,170,215,.08) 40%,
            transparent 72%
        );

    filter: blur(35px);

    z-index: 1;

    pointer-events: none;
}

/* ==========================================================
   HERO — BRILLO DEL LIBRO
   ========================================================== */

.azules-hero .book-glow {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 470px;
    height: 470px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.14),
            rgba(155,207,237,.08) 38%,
            transparent 72%
        );

    filter: blur(38px);

    z-index: 2;

    pointer-events: none;
}

/* ==========================================================
   HERO — LIBRO
   ========================================================== */

.azules-hero .book-mockup {
    position: relative;

    z-index: 3;

    width: min(560px, 96%);
    height: auto;

    filter:
        drop-shadow(0 38px 58px rgba(0,0,0,.48))
        drop-shadow(0 0 34px rgba(140,203,241,.13));

    transition:
        transform .6s ease,
        filter .6s ease;
}

.azules-hero .book-mockup:hover {
    transform: translateY(-9px) scale(1.02);

    filter:
        drop-shadow(0 48px 72px rgba(0,0,0,.58))
        drop-shadow(0 0 42px rgba(150,213,248,.20));
}

/* ==========================================================
   HERO — TEXTO
   ========================================================== */

.azules-hero .hero-content {
    position: relative;
    z-index: 5;
    max-width: 620px;
}

.azules-hero .book-category {
    color: #c5e5fa;
}

.azules-hero .book-category::before {
    background: rgba(197,229,250,.65);
}

.azules-hero .hero-content h1 {
    color: #ffffff;
    text-shadow: 0 12px 30px rgba(0,0,0,.28);
    letter-spacing: -.045em;
}

.azules-hero .hero-content h1 span {
    color: #c8e9fb;
}

.azules-hero .hero-divider {
    background:
        linear-gradient(
            90deg,
            #a9d5f1,
            rgba(255,255,255,.12),
            transparent
        );
}

.azules-hero .hero-claim {
    margin: 0;
    color: #eef8ff;
    font-family: var(--font-serif);
    font-size: clamp(1.55rem, 2.6vw, 2.35rem);
    line-height: 1.35;
}

.azules-hero .hero-claim strong {
    color: #c9eafa;
    font-weight: 500;
}

.azules-hero .hero-description {
    color: rgba(240,248,255,.82);
}

/* ==========================================================
   BOTONES
   ========================================================== */

.azules-page .hero-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 44px;
    flex-wrap: wrap;
}

.azules-page .hero-buttons .btn-amazon {
    position: relative;
    overflow: hidden;
    min-width: 280px;
    height: 64px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.18),
            rgba(92,154,200,.12)
        );

    border: 1px solid rgba(183,222,247,.38);

    box-shadow:
        0 18px 45px rgba(0,0,0,.25),
        0 0 30px rgba(99,171,218,.10);

    backdrop-filter: blur(14px);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.azules-page .hero-buttons .btn-amazon:hover {
    transform: translateY(-5px);

    border-color: rgba(205,235,253,.78);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.25),
            rgba(84,155,207,.18)
        );

    box-shadow:
        0 22px 50px rgba(0,0,0,.34),
        0 0 35px rgba(100,181,230,.20);
}

.azules-page .btn-amazon img {
    width: 205px;
    height: auto;
}

.azules-page .btn-amazon span {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding-left: 20px;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
}

.azules-page .btn-amazon span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 24px;
    transform: translateY(-50%);
    background: rgba(197,229,250,.45);
}

.azules-page .btn-amazon span::after {
    content: "→";
    font-size: 1rem;
    transition: transform .3s ease;
}

.azules-page .btn-amazon:hover span::after {
    transform: translateX(4px);
}

.azules-page .btn-share {
    height: 68px;
    min-width: 280px;
    padding: 0 24px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(190,224,245,.20);
    color: rgba(237,248,255,.78);

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease,
        color .35s ease;
}

.azules-page .btn-share:hover {
    transform: translateY(-4px);
    color: #d1ecfb;
    border-color: rgba(190,224,245,.48);
    background: rgba(255,255,255,.08);
}

/* ==========================================================
   TRANSICIÓN / CLAIM
   ========================================================== */

.azules-transition {
    position: relative;
    padding: 115px 0 105px;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #0b2031,
            #0c2639 50%,
            #102c40
        );
}

.azules-transition::before {
    content: "";
    position: absolute;
    left: 10%;
    top: 20%;
    width: 500px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    filter: blur(65px);
    pointer-events: none;
}

.azules-quote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    font-family: var(--font-serif);
}

.azules-quote .quote-small {
    color: #b8d9ee;
    font-size: clamp(1.45rem, 2.7vw, 2.2rem);
}

.azules-quote .quote-rule {
    width: 80px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(176,220,245,.85),
            transparent
        );
}

.azules-quote strong {
    color: #f3fbff;
    font-size: clamp(2rem, 3.8vw, 3.3rem);
    line-height: 1.15;
    font-weight: 500;
}

/* ==========================================================
   SINOPSIS
   ========================================================== */

.azules-synopsis {
    position: relative;

    background:
        linear-gradient(
            180deg,
            #102c40,
            #0b1f30
        );
}

.synopsis-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    align-items: start;
}

.azules-synopsis .synopsis-grid {
    column-gap: clamp(70px, 8vw, 125px);
    row-gap: 20px;
}

.azules-synopsis .section-header h2,
.azules-page h2 {
    color: #f2f9fd;
}

.azules-synopsis .section-kicker {
    color: #91c8e8;
}

.azules-synopsis .synopsis-content p {
    color: rgba(226,239,248,.77);
    font-size: 1.18rem;
    line-height: 2;
}

.azules-synopsis .synopsis-content .lead {
    color: #f5fbff;
    font-size: 1.18rem;
}

.azules-synopsis .highlight-text {
    grid-column: 1 / -1;
    position: relative;
    margin-top: 0;
    padding-left: 28px;
    border-left: 3px solid #86c6ea;
    color: #c4e7fa;
    font-family: var(--font-title);
    font-size: clamp(1.7rem, 2.8vw, 1.8rem);
    line-height: 1.55;
}

.azules-synopsis .book-cover-panel img {
    box-shadow:
        0 28px 60px rgba(0,0,0,.42),
        0 0 35px rgba(116,184,224,.10);
}


/* ==========================================================
   ENTRE AZULES — BAJAR ÚNICAMENTE LA PORTADA DE LA SINOPSIS
   ========================================================== */

.synopsis .book-cover-panel {
    padding-top: 35px;
}

/* ==========================================================
   POR QUÉ LEERLO
   ========================================================== */

.azules-why {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #0b1f30,
            #0d2437
        );
}

.azules-why::after {
    content: "";
    position: absolute;
    right: -160px;
    bottom: -180px;
    width: 620px;
    height: 420px;
    border-radius: 50%;
    background: rgba(117,187,227,.08);
    filter: blur(70px);
    pointer-events: none;
}

/* Contenedor específico de esta sección.
   Sobrescribe .container.narrow de base.css
   sin afectar al resto de la web. */

.azules-why .container.narrow {
    width: min(var(--container), 92%);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================
   CONTENEDOR DEL TEXTO
   ========================================================== */

.azules-why-copy {
    width: 100%;
    max-width: none;
    margin: 55px 0 0;
    text-align: justify;
    text-justify: inter-word;
}

/* ==========================================================
   PÁRRAFOS
   ========================================================== */

.azules-why-copy p {
    margin: 0 0 27px;
    color: rgba(229,241,249,.78);
    font-size: 1.08rem;
    line-height: 1.95;
}

/* ==========================================================
   FRASE FINAL
   ========================================================== */

.azules-why-copy .azules-why-final {
    margin-top: 48px;
    text-align: center;
    color: #c8e9fa;
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .azules-why .container.narrow {
        width: 92%;
    }
}
/* ==========================================================
   PRIMERAS PÁGINAS — LIBRO ABIERTO
   ========================================================== */

.azules-fragments {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #0d2437,
            #081925
        );
}

.azules-fragments .section-intro {
    max-width: 650px;
    margin: 18px auto 0;
    color: var(--azules-soft);
    line-height: 1.8;
}

.azules-book-spread {
    max-width: 1050px;
    margin: 65px auto 0;
    display: grid;
    grid-template-columns: 1fr 18px 1fr;
    align-items: stretch;
    min-height: 520px;
    perspective: 1600px;
}

.azules-book-page {
    position: relative;
    min-height: 520px;
    padding: 55px 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: #17364c;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f8fcfe,
            #eaf4f9
        );

    box-shadow:
        0 28px 65px rgba(0,0,0,.34);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.azules-book-page:first-child {
    transform-origin: right center;
    border-radius: 10px 2px 2px 10px;
}

.azules-book-page:last-child {
    transform-origin: left center;
    border-radius: 2px 10px 10px 2px;
}

.azules-book-page::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .34;
    pointer-events: none;

    background:
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 28px,
            rgba(65,118,149,.06) 29px
        );
}

.azules-book-page::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 13%;
    height: 100px;
    border-radius: 50%;
    background: rgba(104,169,202,.08);
    filter: blur(30px);
    pointer-events: none;
}

.azules-book-page:hover {
    transform: translateY(-10px) rotateY(-2deg);
    box-shadow:
        0 38px 75px rgba(0,0,0,.43);
}

.azules-book-page:last-child:hover {
    transform: translateY(-10px) rotateY(2deg);
}

.azules-book-page > span {
    position: relative;
    z-index: 2;
}

.azules-book-page .page-number {
    font-family: var(--font-title);
    font-size: 4.8rem;
    line-height: .8;
    color: rgba(64,119,153,.16);
}

.azules-book-page .page-kicker {
    margin-top: 50px;
    color: #4e8eb5;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
}

.azules-book-page .page-title {
    margin-top: 10px;
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1;
    color: #193b54;
}

.azules-book-page .page-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 35px;
    color: #3979a4;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
}

.azules-book-page .page-action b {
    transition: transform .3s ease;
}

.azules-book-page:hover .page-action b {
    transform: translateX(4px);
}

.azules-book-spread .book-spine {
    position: relative;
    z-index: 4;

    background:
        linear-gradient(
            90deg,
            rgba(15,36,51,.55),
            rgba(255,255,255,.45) 50%,
            rgba(15,36,51,.55)
        );

    box-shadow:
        inset 0 0 8px rgba(0,0,0,.30);
}

.pages-note {
    margin: 25px auto 0;
    text-align: center;
    color: rgba(207,228,240,.55);
    font-size: .78rem;
}

 /* ==========================================================
   RESEÑAS
   ========================================================== */

.azules-reviews {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #081925 0%,
            #0b2031 100%
        );
}

/* ==========================================================
   GRID DE RESEÑAS
   ========================================================== */

.azules-reviews .reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    max-width: 1120px;
    margin: 65px auto 0;
    align-items: stretch;
}

/* ==========================================================
   TARJETA
   ========================================================== */

.azules-review-card {
    position: relative;
    display: flex;
    flex-direction: column;

    min-width: 0;
    padding: 42px 42px 36px;

    background:
        linear-gradient(
            145deg,
            rgba(176,216,239,.075),
            rgba(255,255,255,.025)
        );

    border: 1px solid rgba(175,219,243,.16);
    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.20),
        inset 0 1px 0 rgba(255,255,255,.045);

    backdrop-filter: blur(10px);

    transition:
        transform .4s ease,
        border-color .4s ease,
        box-shadow .4s ease,
        background .4s ease;
}

/* Línea luminosa superior */

.azules-review-card::after {
    content: "";
    position: absolute;
    left: 42px;
    right: 42px;
    top: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(143,201,235,.55),
            transparent
        );

    opacity: .65;
}

/* ==========================================================
   HOVER
   ========================================================== */

.azules-review-card:hover {
    transform: translateY(-8px);

    border-color: rgba(162,213,241,.38);

    background:
        linear-gradient(
            145deg,
            rgba(176,216,239,.10),
            rgba(255,255,255,.035)
        );

    box-shadow:
        0 30px 65px rgba(0,0,0,.30),
        0 0 30px rgba(116,184,224,.06);
}

/* ==========================================================
   ESTRELLAS
   ========================================================== */

.azules-review-card .stars {
    margin-bottom: 22px;

    color: #8fc9eb;
    font-size: 1rem;
    letter-spacing: .16em;

    text-shadow:
        0 0 16px rgba(143,201,235,.18);
}

/* ==========================================================
   TÍTULO
   ========================================================== */

.azules-review-card .review-title {
    margin: 0 0 22px;

    color: #c2e5f7;

    font-family: var(--font-serif);
    font-size: clamp(1.45rem, 2vw, 1.8rem);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -.01em;
}

/* ==========================================================
   TEXTO
   ========================================================== */

.azules-review-card .review-text-wrap {
    position: relative;
    flex: 1;
}

.azules-review-card .review-text {
    margin: 0 0 18px;

    color: rgba(229,241,249,.76);

    font-size: 1rem;
    line-height: 1.85;
}

/* ==========================================================
   BOTÓN +
   ========================================================== */

.azules-review-card .review-expand {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin-top: 8px;

    border: 1px solid rgba(143,201,235,.35);
    border-radius: 50%;

    background: rgba(143,201,235,.035);

    color: #8fc9eb;

    font-size: 1.25rem;
    line-height: 1;

    cursor: pointer;

    transition:
        transform .3s ease,
        color .3s ease,
        background .3s ease,
        border-color .3s ease;
}

.azules-review-card .review-expand:hover {
    transform: rotate(90deg);

    color: #d4f0ff;

    background: rgba(143,201,235,.08);

    border-color: rgba(143,201,235,.65);
}

/* ==========================================================
   AUTOR
   ========================================================== */

.azules-review-card .review-author {
    margin-top: 32px;
    padding-top: 20px;

    border-top: 1px solid rgba(175,219,243,.10);

    color: #93c8e5;

    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ==========================================================
   FUENTE
   ========================================================== */

.azules-reviews .reviews-source {
    margin: 35px 0 0;

    text-align: center;

    color: rgba(207,228,240,.45);

    font-size: .76rem;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {

    .azules-reviews .reviews-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 45px;
    }

    .azules-review-card {
        padding: 34px 30px 30px;
    }

    .azules-review-card::after {
        left: 30px;
        right: 30px;
    }
}

@media (max-width: 480px) {

    .azules-review-card {
        padding: 30px 25px 27px;
        border-radius: 15px;
    }

    .azules-review-card .review-title {
        font-size: 1.4rem;
    }

    .azules-review-card .review-text {
        font-size: .96rem;
        line-height: 1.8;
    }
}
/* ==========================================================
   FICHA DEL LIBRO
   ========================================================== */

.azules-data {
    background:
        linear-gradient(
            180deg,
            #0b2031,
            #0d2639
        );
}

/* ==========================================================
   CONTENEDOR DE LA FICHA
   ========================================================== */

.azules-book-data {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 80px;
    align-items: center;

    padding: 70px 80px;

    background:
        linear-gradient(
            135deg,
            rgba(157,205,232,.07),
            rgba(255,255,255,.018)
        );

    border: 1px solid rgba(158,209,236,.18);
    border-radius: 22px;

    box-shadow:
        0 28px 70px rgba(0,0,0,.28);
}

/* ==========================================================
   FONDO DEL GLOBO
   ========================================================== */

.azules-book-data::before {
    content: "";
    position: absolute;

    width: 520px;
    height: 520px;

    right: -140px;
    top: 50%;

    transform: translateY(-50%);

    background:
        url("../images/Azules-bg-globo.png")
        center / contain
        no-repeat;

    opacity: .10;
    filter: saturate(.7);

    pointer-events: none;
}

/* ==========================================================
   PORTADA
   ========================================================== */

.azules-book-data .book-data-cover {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;
}

.azules-book-data .book-data-cover img {
    display: block;

    width: min(330px, 100%);
    height: auto;

    filter:
        drop-shadow(0 28px 45px rgba(0,0,0,.45))
        drop-shadow(0 0 28px rgba(116,184,224,.10));

    transition:
        transform .45s ease,
        filter .45s ease;
}

.azules-book-data .book-data-cover img:hover {
    transform: translateY(-8px);

    filter:
        drop-shadow(0 36px 55px rgba(0,0,0,.52))
        drop-shadow(0 0 35px rgba(116,184,224,.16));
}

/* ==========================================================
   INFORMACIÓN DEL LIBRO
   ========================================================== */

.azules-book-data .book-data-info {
    position: relative;
    z-index: 2;

    min-width: 0;
}

/* ==========================================================
   FILAS DE DATOS
   ========================================================== */

.azules-book-data .book-data-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 25px;

    padding: 18px 0;

    border-bottom: 1px solid rgba(159,210,236,.12);
}

.azules-book-data .book-data-item:first-child {
    padding-top: 0;
}

.azules-book-data .book-data-item:last-child {
    border-bottom: none;
}

/* ==========================================================
   ETIQUETAS
   ========================================================== */

.azules-book-data .book-data-item strong {
    color: rgba(146,203,234,.75);

    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ==========================================================
   VALORES
   ========================================================== */

.azules-book-data .book-data-item span {
    color: rgba(235,247,253,.84);

    font-size: 1rem;
    line-height: 1.5;
}

/* ==========================================================
   RESPONSIVE — TABLET
   ========================================================== */

@media (max-width: 992px) {

    .azules-book-data {
        grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
        gap: 50px;

        padding: 55px 45px;
    }

    .azules-book-data .book-data-cover img {
        width: min(280px, 100%);
    }

    .azules-book-data .book-data-item {
        grid-template-columns: 125px minmax(0, 1fr);
        gap: 18px;
    }
}

/* ==========================================================
   RESPONSIVE — MÓVIL
   ========================================================== */

@media (max-width: 768px) {

    .azules-book-data {
        grid-template-columns: 1fr;
        gap: 45px;

        padding: 50px 30px;
    }

    .azules-book-data .book-data-cover img {
        width: min(280px, 80vw);
    }

    .azules-book-data .book-data-item {
        grid-template-columns: 1fr;
        gap: 7px;

        padding: 16px 0;
    }

    .azules-book-data .book-data-item:first-child {
        padding-top: 0;
    }

    .azules-book-data .book-data-item strong {
        font-size: .70rem;
    }

    .azules-book-data .book-data-item span {
        font-size: .98rem;
    }

    .azules-book-data::before {
        width: 420px;
        height: 420px;

        right: -180px;
        top: 20%;

        opacity: .07;
    }
}

/* ==========================================================
   RESPONSIVE — MÓVIL PEQUEÑO
   ========================================================== */

@media (max-width: 480px) {

    .azules-book-data {
        padding: 40px 24px;
        border-radius: 18px;
    }

    .azules-book-data .book-data-cover img {
        width: min(250px, 78vw);
    }

    .azules-book-data::before {
        width: 340px;
        height: 340px;
        right: -150px;
        opacity: .06;
    }
}

/* ==========================================================
   RELACIONADOS
   ========================================================== */

.azules-related {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #0d2639,
            #081925
        );
}


/* ==========================================================
   GRID DE LIBROS
   ========================================================== */

.azules-related .related-books-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(50px, 7vw, 100px);

    max-width: 1000px;
    margin: 70px auto 0;

    align-items: start;
}


/* ==========================================================
   LIBRO RELACIONADO
   ========================================================== */

.azules-related .related-book {
    min-width: 0;
}


/* ==========================================================
   MOCKUP
   ========================================================== */

.azules-related .related-book-image {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    min-height: 0;

    text-decoration: none;
}


/*
   AQUÍ CONTROLAMOS REALMENTE EL TAMAÑO
   DE LOS MOCKUPS
*/

.azules-related .related-book-image img {
    display: block;

    width: min(280px, 75%);
    max-width: 280px;
    height: auto;

    filter:
        drop-shadow(0 24px 35px rgba(0,0,0,.42))
        drop-shadow(0 0 20px rgba(122,192,228,.08));

    transition:
        transform .45s ease,
        filter .45s ease;
}


/* ==========================================================
   HOVER MOCKUP
   ========================================================== */

.azules-related .related-book-image:hover img {
    transform: translateY(-8px) scale(1.025);

    filter:
        drop-shadow(0 32px 45px rgba(0,0,0,.48))
        drop-shadow(0 0 25px rgba(122,192,228,.13));
}


/* ==========================================================
   INFORMACIÓN
   ========================================================== */

.azules-related .related-book-info {
    max-width: 430px;
    margin: 38px auto 0;

    text-align: center;
}


/* ==========================================================
   CATEGORÍA
   ========================================================== */

.azules-related .related-book-label {
    display: block;

    margin-bottom: 10px;

    color: #82b9d8;

    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

.azules-related .related-book-info h3 {
    margin: 0 0 15px;

    color: #c8e9fa;

    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.1;
    font-weight: 500;
}


/* ==========================================================
   DESCRIPCIÓN
   ========================================================== */

.azules-related .related-book-info p {
    margin: 0;

    color: rgba(229,241,249,.72);

    font-size: 1rem;
    line-height: 1.8;
}


/* ==========================================================
   ENLACE
   ========================================================== */

.azules-related .related-book-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 24px;

    color: #8fc9eb;

    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    text-decoration: none;

    transition:
        color .3s ease,
        transform .3s ease;
}

.azules-related .related-book-link span {
    transition: transform .3s ease;
}

.azules-related .related-book-link:hover {
    color: #e3f5ff;
}

.azules-related .related-book-link:hover span {
    transform: translateX(5px);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {

    .azules-related .related-books-grid {
        grid-template-columns: 1fr;
        gap: 70px;
        margin-top: 50px;
    }

    .azules-related .related-book-image img {
        width: min(280px, 70vw);
        max-width: 280px;
    }

    .azules-related .related-book-info {
        max-width: 520px;
        margin-top: 30px;
    }
}


@media (max-width: 480px) {

    .azules-related .related-book-image img {
        width: min(250px, 72vw);
        max-width: 250px;
    }

    .azules-related .related-book-info h3 {
        font-size: 2rem;
    }

    .azules-related .related-book-info p {
        font-size: .96rem;
        line-height: 1.75;
    }
}
/* ==========================================================
   CTA FINAL
   ========================================================== */

.azules-final-cta {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    text-align: center;

    background:
        linear-gradient(
            180deg,
            #081925,
            #06131e
        );
}

.azules-final-cta::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 52%;
    width: 900px;
    height: 650px;
    transform: translate(-50%, -50%);
    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(94,168,215,.16),
            transparent 70%
        );

    filter: blur(25px);
    pointer-events: none;
}

.azules-final-cta h2 {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto 25px;
    font-size: clamp(2.7rem, 5vw, 4.4rem);
    line-height: 1.05;
}

.azules-final-cta h2 span {
    display: block;
    color: #a9daf5;
}

.azules-final-cta p {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(221,237,247,.70);
    line-height: 1.9;
    font-size: 1.05rem;
}

.azules-final-cta .final-actions {
    position: relative;
    z-index: 2;
    justify-content: center;
    margin-top: 45px;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1200px) {

    .azules-hero .book-mockup {
        width: min(530px, 100%);
    }

    /*
       CAMBIO:
       El fondo ahora acompaña al mockup.
    */

    .azules-hero .hero-book-image::before {
        width: 680px;
        height: 680px;
    }

    .azules-hero .hero-book-image::after {
        width: 580px;
        height: 580px;
    }
}

@media (max-width: 992px) {

    .azules-hero {
        min-height: auto;
        padding: 70px 0 85px;
    }

    .azules-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
    }

    .azules-hero .hero-book-image {
        min-height: 500px;
        order: 1;
    }

    .azules-hero .hero-content {
        order: 2;
        margin: 0 auto;
    }

    .azules-hero .book-category {
        justify-content: center;
    }

    .azules-hero .book-category::before {
        display: none;
    }

    .azules-hero .hero-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .azules-hero .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .azules-page .hero-buttons {
        justify-content: center;
    }

    /*
       CAMBIO:
       Antes aquí se posicionaba .azules-balloon-bg.
       Ya no es necesario porque el fondo está dentro
       de .hero-book-image.
    */

    .azules-hero .hero-book-image::before {
        width: 620px;
        height: 620px;
        opacity: .22;
    }

    .azules-hero .hero-book-image::after {
        width: 520px;
        height: 520px;
    }

    .azules-book-spread {
        max-width: 820px;
        min-height: 440px;
    }

    .azules-book-page {
        min-height: 440px;
        padding: 45px 38px;
    }
}

@media (max-width: 768px) {

    .azules-hero {
        padding: 80px 0 60px;
    }

    .azules-hero .hero-book-image {
        min-height: 370px;
    }

    /*
       CAMBIO:
       Fondo más pequeño y sutil en móvil.
    */

    .azules-hero .hero-book-image::before {
        width: 430px;
        height: 430px;
        opacity: .18;
    }

    .azules-hero .hero-book-image::after {
        width: 360px;
        height: 360px;
    }

    .azules-hero .book-glow {
        width: 320px;
        height: 320px;
    }

    .azules-hero .book-mockup {
        width: min(82vw, 340px);
    }

    .azules-page .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .azules-page .hero-buttons .btn-amazon,
    .azules-page .hero-buttons .btn-share {
        width: 100%;
        max-width: 360px;
        min-width: 0;
    }

    .azules-page .btn-amazon img {
        width: 150px;
    }

    .azules-transition {
        padding: 80px 0;
    }

    .azules-synopsis .synopsis-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .azules-synopsis .synopsis-content {
        width: 100%;
        min-width: 0;
    }

    .azules-synopsis .book-cover-panel {
        justify-content: center;
    }

    .azules-synopsis .book-cover-panel img {
        width: min(78vw, 320px);
    }

    .azules-book-spread {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 560px;
        min-height: 0;
        margin-top: 45px;
    }

    .azules-book-page {
        min-height: 420px;
        padding: 42px 34px;
    }

    .azules-book-page:first-child,
    .azules-book-page:last-child {
        border-radius: 8px;
    }

    .azules-book-page:last-child {
        margin-top: 12px;
    }

    .azules-book-spread .book-spine {
        display: none;
    }

    .azules-book-data {
        grid-template-columns: 1fr;
    }

    .azules-final-cta {
        padding: 100px 0;
    }
}

@media (max-width: 480px) {

    .azules-hero .hero-content h1 {
        font-size: 3rem;
    }

    .azules-hero .hero-claim {
        font-size: 1.35rem;
    }

    .azules-hero .hero-description {
        font-size: .96rem;
        line-height: 1.8;
    }

    .azules-quote strong {
        font-size: 1.85rem;
    }

    .azules-book-page {
        min-height: 360px;
        padding: 34px 27px;
    }

    .azules-book-page .page-number {
        font-size: 4rem;
    }

    .azules-book-page .page-title {
        font-size: 2.4rem;
    }

    .azules-final-cta h2 {
        font-size: 2.35rem;
    }

    .azules-page .btn-amazon span {
        font-size: .72rem;
    }

    /*
       CAMBIO:
       En pantallas muy pequeñas hacemos que el globo
       sea todavía más discreto.
    */

    .azules-hero .hero-book-image::before {
        width: 360px;
        height: 360px;
        opacity: .14;
    }

    .azules-hero .hero-book-image::after {
        width: 300px;
        height: 300px;
    }

    .azules-hero .book-glow {
        width: 270px;
        height: 270px;
    }
}

/* ==========================================================
   ACCESIBILIDAD / REDUCIR MOVIMIENTO
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .azules-page *,
    .azules-page *::before,
    .azules-page *::after {

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;
    }
}
