:root {
    --bg-start: #f0f9ff;
    --bg-mid: #e0f2fe;
    --bg-end: #dbeafe;
    --text-main: #334155;
    --accent-gold: #d4af37;
    --accent-gold-dark: #b8860b;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-mid) 40%, var(--bg-end) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    font-size: 18px;
}

.serif, .drop-cap::first-letter, .quote-mark, .quote-text {
    font-family: 'Playfair Display', serif;
}

.text-gold-luxury {
    color: var(--accent-gold); 
    background: none; 
    -webkit-text-fill-color: var(--accent-gold);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800; 
    text-transform: uppercase;
    letter-spacing: 0.02em; 
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-size: 2.2rem; 
    color: var(--accent-gold);
}

.section-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 0.6em;
    display: block;
    margin-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent-gold); 
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 5px;
    color: var(--accent-gold);
}

.drop-cap::first-letter {
    font-size: 5.5rem;
    color: var(--accent-gold); 
    background: none;
    -webkit-text-fill-color: var(--accent-gold);
    float: left;
    line-height: 0.8;
    margin-right: 1rem;
    margin-top: 0.5rem;
    font-weight: 700;
}

figcaption {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-style: italic;
    color: #64748b;
    text-align: center;
    margin-top: 0.8rem;
    background: rgba(255, 255, 255, 0.6);
    display: inline-block;
    padding: 6px 20px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0,0,0,0.05);
}

figure { text-align: center; margin-bottom: 3rem; }

.img-soft-blend {
    mask-image: radial-gradient(99% 99% at 50% 50%, black 90%, transparent 100%);
    -webkit-mask-image: radial-gradient(99% 99% at 50% 50%, black 90%, transparent 100%);
    transition: all 0.5s ease;
}

.img-blend-v {
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.95);
    transition: all 1.5s ease-out;
}
.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

.cover-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #e0f2fe;
    overflow: hidden;
}

.cover-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
}

.cover-gradient-bottom {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 30%;
    background: linear-gradient(to top, var(--bg-start) 0%, transparent 100%);
    z-index: 10;
}

.sapo-box {
    background: rgba(255, 255, 255, 0.85); 
    padding: 3rem 4rem;
    position: relative;
    z-index: 30;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); 
    backdrop-filter: blur(15px);
    border-radius: 40px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.sapo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: #1e293b;
    line-height: 1.6;
    text-align: center;
}

.container-reading { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container-media-boxed { max-width: 980px; margin: 3rem auto; padding: 0 1rem; }

.highlight-box-unified {
    border-left: 4px solid var(--accent-gold);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: #1e293b;
    font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.03);
}

.data-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}
.data-list li {
    padding: 1rem 1.5rem;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border-left: 3px solid var(--accent-gold);
    font-size: 1.05rem;
}
.data-list li strong {
    color: #1e293b;
    font-weight: 700;
}

.lightbox { display: none; position: fixed; z-index: 9999; padding-top: 5vh; padding-bottom: 5vh; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); flex-direction: column; align-items: center; justify-content: center; }
.lightbox-content { margin: auto; display: block; max-width: 95%; max-height: 80vh; border: 1px solid var(--accent-gold); box-shadow: 0 0 30px rgba(0,0,0,0.8); object-fit: contain; border-radius: 8px; }

.slider-wrapper {
    position: relative;
    width: 100%;
    margin: 2rem auto;
    padding: 0 40px; 
}
.slider-container {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 1rem 0;
}
.slider-item {
    flex: 0 0 100%; 
    position: relative;
    transition: transform 0.3s;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.5);
}
.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.slider-arrow:hover { background: var(--accent-gold); color: #fff; }
.slider-prev { left: 0; }
.slider-next { right: 0; }

.ending-section {
    position: relative;
    margin-top: 4rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
}
.ending-quote-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 400; 
    font-style: italic; 
    color: #1e293b;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .section-title { font-size: 1.8rem !important; }
    .drop-cap::first-letter { font-size: 4rem; }
    .sapo-box { padding: 2rem 1.5rem; border-radius: 20px; width: 92%; }
    .ending-quote-text { font-size: 1.2rem; }
    .data-list li { font-size: 0.95rem; padding: 1rem; }
    .slider-arrow { display: none; }
    .slider-container { overflow-x: scroll; scroll-snap-type: x mandatory; }
    .slider-item { flex: 0 0 100%; scroll-snap-align: center;}
    .slider-wrapper { padding: 0;}
}