/* =========================================================
   CAPÍTULO I
========================================================= */

.chapter-one {
    position: relative;

    min-height: 100vh;

    padding: 150px 25px 180px;

    background:
        radial-gradient(
            circle at 50% 5%,
            rgba(148,76,173,0.14),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #08040d 0%,
            #120817 48%,
            #09050d 100%
        );

    overflow: hidden;
}


/* =========================================================
   CABECERA DEL CAPÍTULO
========================================================= */

.chapter-header {
    max-width: 900px;

    margin: 0 auto 140px;

    text-align: center;
}

.chapter-symbol {
    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 0 auto 30px;

    border-radius: 50%;

    border: 1px solid rgba(240,111,174,0.35);

    color: var(--pink);

    box-shadow:
        0 0 40px rgba(240,111,174,0.12);

    font-size: 22px;
}

.section-label {
    display: block;

    font-size: 11px;

    letter-spacing: 5px;

    color: var(--light-pink);

    margin-bottom: 18px;
}

.chapter-header h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(58px, 8vw, 100px);

    font-weight: 600;

    line-height: 0.95;

    margin-bottom: 28px;
}

.chapter-opening {
    font-family: "Cormorant Garamond", serif;

    font-size: 28px;

    line-height: 1.5;

    color: #cdbdce;
}


/* =========================================================
   TIMELINE
========================================================= */

.timeline {
    position: relative;

    max-width: 1100px;

    margin: 0 auto;
}

.timeline-line {
    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(240,111,174,0.55),
            rgba(141,85,199,0.35),
            transparent
        );
}


/* =========================================================
   TARJETAS DE HISTORIA
========================================================= */

.timeline-card {
    position: relative;

    width: 46%;

    margin-bottom: 150px;

    padding: 40px;

    border-radius: 25px;

    border: 1px solid rgba(255,255,255,0.08);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.065),
            rgba(255,255,255,0.025)
        );

    backdrop-filter: blur(15px);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.25);
}

.timeline-card-right {
    margin-left: auto;
}

.timeline-date {
    display: inline-block;

    margin-bottom: 16px;

    font-size: 11px;

    letter-spacing: 3px;

    color: var(--light-pink);
}

.timeline-dot {
    position: absolute;

    top: 40px;

    right: -74px;

    width: 48px;
    height: 48px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    border: 1px solid rgba(240,111,174,0.4);

    background: #100817;

    color: var(--pink);

    box-shadow:
        0 0 25px rgba(240,111,174,0.12);

    z-index: 2;
}

.timeline-card-right .timeline-dot {
    left: -74px;

    right: auto;
}

.timeline-content h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 43px;

    font-weight: 600;

    line-height: 1;

    margin-bottom: 25px;
}

.timeline-content p {
    margin-bottom: 17px;

    font-family: "Cormorant Garamond", serif;

    font-size: 22px;

    line-height: 1.5;

    color: #d5c8d7;
}


/* =========================================================
   TARJETA DESTACADA
========================================================= */

.highlight-card {
    width: 72%;

    margin-left: auto;
    margin-right: auto;

    text-align: center;

    padding: 70px 60px;

    border-color: rgba(240,111,174,0.18);

    background:
        radial-gradient(
            circle at center,
            rgba(240,111,174,0.10),
            rgba(255,255,255,0.025)
        );
}

.special-date {
    color: var(--light-pink);

    font-size: 13px;

    letter-spacing: 5px;
}

.big-dot {
    position: relative;

    top: auto;
    left: auto;
    right: auto;

    width: 65px;
    height: 65px;

    margin: 0 auto 30px;

    font-size: 25px;
}

.highlight-card h3 {
    font-size: clamp(45px, 6vw, 72px);
}

.quote {
    max-width: 680px;

    margin: 35px auto !important;

    font-style: italic;

    color: #f0d9e8 !important;
}

.us-signature {
    margin-top: 40px;

    font-family: "Cormorant Garamond", serif;

    font-size: 30px;

    color: #e9b6d2;
}

.us-signature span {
    color: var(--pink);

    margin: 0 10px;
}


/* =========================================================
   FOTO DE LA CHIVA
========================================================= */

.memory-photo-card {
    max-width: 850px;

    margin: 0 auto 170px;

    transform: rotate(-1deg);

    background: #f9f5f7;

    padding: 15px 15px 30px;

    box-shadow:
        0 40px 80px rgba(0,0,0,0.45);

    color: #251b27;
}

.memory-image {
    width: 100%;

    aspect-ratio: 3 / 4;
    overflow: hidden;

    background: #140c18;
}

.memory-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.8s ease;
}

.memory-photo-card:hover .memory-image img {
    transform: scale(1.04);
}

.memory-photo-caption {
    padding: 25px 18px 5px;
}

.memory-photo-caption .memory-label {
    color: #8f5b9c;

    margin-bottom: 12px;
}

.memory-photo-caption h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 44px;

    margin-bottom: 10px;
}

.memory-photo-caption p {
    font-family: "Cormorant Garamond", serif;

    font-size: 21px;

    line-height: 1.5;

    color: #584d59;
}


/* =========================================================
   FINAL DEL CAPÍTULO
========================================================= */

.chapter-ending {
    text-align: center;

    padding-top: 20px;
}

.ending-flower {
    font-size: 45px;

    color: var(--pink);

    margin-bottom: 25px;
}

.chapter-ending > p {
    font-family: "Cormorant Garamond", serif;

    font-size: 28px;

    color: #a996aa;
}

.chapter-ending h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(55px, 8vw, 95px);

    font-weight: 600;

    line-height: 0.95;

    margin: 15px 0 25px;
}

.ending-heart {
    display: block;

    color: var(--pink);

    font-size: 25px;

    margin-bottom: 70px;
}

.next-chapter {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;
}

.next-chapter span {
    font-size: 10px;

    letter-spacing: 4px;

    color: #96799d;
}

.next-chapter strong {
    font-family: "Cormorant Garamond", serif;

    font-size: 34px;

    color: #e9cfdf;
}

.next-chapter small {
    font-size: 12px;

    color: #b593b9;
}