/*
 * pages.css — shared styles for all inner pages
 * Requires styles.css to be loaded first.
 *
 * TABLE OF CONTENTS
 * 1.  Page Hero
 * 2.  Page Main & Intro
 * 3.  Feature (image + text) Block
 * 4.  Timeline
 * 5.  Chapters (biography)
 * 6.  Pull Quote
 * 7.  Steps Grid
 * 8.  Miracle List
 * 9.  Pillars (mensaje)
 * 10. Words List (mensaje)
 * 11. Team / Members
 * 12. Participation Cards
 * 13. Programme
 * 14. Prices
 * 15. Inscription
 * 16. Noticias
 * 17. Estatutos
 * 18. Page Nav Footer
 * 19. Shared Utilities
 * 20. Media Queries
 */

html {
    scroll-behavior: smooth;
}

/* ── 1. PAGE HERO ── */

.page-hero {
    min-height: 65vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 6rem;
    max-width: 900px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.page-breadcrumb a:hover { color: var(--gold-light); }

.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

.page-title em {
    font-style: italic;
    color: var(--gold-light);
}

.page-lead {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    max-width: 550px;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s 0.55s forwards;
}

.page-hero-ornament {
    position: absolute;
    bottom: 3rem;
    right: 5rem;
    font-size: 4rem;
    opacity: 0.06;
    z-index: 1;
    pointer-events: none;
    animation: fadeIn 1s 1s forwards;
}


/* ── 2. PAGE MAIN & INTRO ── */

.page-main { background: var(--cream); }

.page-intro {
    padding: 6rem 6rem 5rem;
    background: var(--cream);
}

.page-intro-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 5rem;
    align-items: start;
}

.page-intro-text p {
    font-size: 0.97rem;
    color: var(--text-mid);
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 1.4rem;
}

/* Drop cap */
.dropcap::first-letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--gold);
    float: left;
    line-height: 0.75;
    margin-right: 0.12em;
    margin-top: 0.1em;
}

.aside-card {
    background: var(--blue-deep);
    padding: 2rem;
    border-left: 2px solid var(--gold);
}

.aside-card-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.aside-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.aside-list li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.aside-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--gold-light);
    font-weight: 400;
}


/* ── 3. FEATURE BLOCK ── */

.page-feature {
    padding: 7rem 6rem;
    background: var(--cream);
}

.page-feature-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.page-feature-text p {
    font-size: 0.97rem;
    color: var(--text-mid);
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 1.2rem;
    margin-top: 1.2rem;
}

.feature-img-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(145deg, #1a3060, #0d1f3c);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border: 1px solid rgba(184, 151, 90, 0.2);
}

.feature-img-placeholder span {
    font-size: 3.5rem;
    color: rgba(184, 151, 90, 0.4);
}

.feature-img-placeholder small {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
}


/* ── 4. TIMELINE ── */

.timeline-section {
    padding: 7rem 6rem;
    background: var(--cream-dark);
}

.timeline-inner {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-inner .section-title { margin-bottom: 4rem; }

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1.4rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold), rgba(184, 151, 90, 0.1));
}

.timeline-item {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.timeline-num {
    width: 2.8rem;
    height: 2.8rem;
    background: var(--blue-deep);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    color: var(--gold-light);
    font-weight: 400;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content {
    padding-top: 0.3rem;
    padding-bottom: 1rem;
}

.timeline-date {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
    font-weight: 300;
}


/* ── 5. CHAPTERS (biography) ── */

.chapters-section {
    padding: 6rem 6rem;
    background: var(--cream);
}

.chapters-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.chapter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.chapter-reverse { direction: rtl; }
.chapter-reverse > * { direction: ltr; }

.chapter-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 300;
    color: rgba(184, 151, 90, 0.12);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.chapter-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.chapter-text p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 1rem;
}


/* ── 6. PULL QUOTE ── */

.page-quote-section {
    background: var(--blue-mid);
    padding: 6rem;
}

.page-quote-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.page-pullquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-style: italic;
    font-weight: 300;
    color: var(--white);
    line-height: 1.6;
    position: relative;
}

.page-pullquote::before {
    content: '\201C';
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.2;
    position: absolute;
    top: -2.5rem;
    left: -1rem;
    line-height: 1;
    font-style: normal;
}

.page-pullquote cite {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    font-style: normal;
    margin-top: 1.5rem;
}


/* ── 7. STEPS GRID ── */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5px;
    background: rgba(184, 151, 90, 0.1);
    border: 1px solid rgba(184, 151, 90, 0.1);
    margin-top: 3rem;
}

.step-card {
    background: rgba(10, 22, 40, 0.9);
    padding: 2.5rem 2rem;
}

.step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: rgba(184, 151, 90, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: 0.8rem;
}

.step-card p {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
    font-weight: 300;
}


/* ── 8. MIRACLE LIST ── */

.miracle-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--cream-dark);
}

.miracle-item {
    display: grid;
    grid-template-columns: 6rem 1fr;
    border-bottom: 1px solid var(--cream-dark);
    transition: background 0.2s;
}

.miracle-item:last-child { border-bottom: none; }
.miracle-item:hover { background: var(--white); }

.miracle-year {
    padding: 2rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 400;
    border-right: 1px solid var(--cream-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.miracle-content {
    padding: 1.5rem 2rem;
}

.miracle-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.miracle-content p {
    font-size: 0.87rem;
    color: var(--text-mid);
    line-height: 1.7;
    font-weight: 300;
}


/* ── 9. PILLARS ── */

.pillars-section {
    padding: 7rem 6rem;
    background: var(--cream);
}

.pillars-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    padding: 3rem 2.5rem;
    background: var(--white);
    border-bottom: 3px solid var(--cream-dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: border-color 0.25s, transform 0.25s;
}

.pillar-card:hover {
    border-bottom-color: var(--gold);
    transform: translateY(-4px);
}

.pillar-card.pillar-center {
    background: var(--blue-deep);
    border-bottom-color: var(--gold);
}

.pillar-card.pillar-center h3 { color: var(--gold-light); }
.pillar-card.pillar-center p { color: rgba(255, 255, 255, 0.55); }

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: block;
}

.pillar-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
    font-weight: 300;
}


/* ── 10. WORDS LIST ── */

.words-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.word-item {
    border-left: 2px solid var(--gold);
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
}

.word-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 300;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.word-context {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}


/* ── 11. TEAM / MEMBERS ── */

.team-section {
    padding: 7rem 6rem;
    background: var(--cream);
}

.team-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-intro-text {
    font-size: 0.97rem;
    color: var(--text-mid);
    line-height: 1.8;
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 3rem;
}

.team-grid-directors {
    grid-template-columns: repeat(4, 1fr);
}

.consiliario-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2.5rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(184, 151, 90, 0.2);
    padding: 2rem;
    max-width: 700px;
}

.consiliario-photo {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
}
.member-card {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s, box-shadow 0.25s;
    overflow: hidden;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.member-photo {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.member-photo-sm { aspect-ratio: 4/3; }

.member-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a3060, #0d1f3c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.6;
}

.member-card-sm .member-photo-placeholder { font-size: 2rem; }

.member-info {
    padding: 1.5rem;
}

.member-role {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.member-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.member-bio {
    font-size: 0.83rem;
    color: var(--text-light);
    line-height: 1.65;
    font-weight: 300;
}


/* ── 12. PARTICIPATION CARDS ── */

/* Participation card hover effect */
.participation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.participation-card {
    background: #fff;
    border-bottom: 2px solid #f5f0e6; /* subtle base border */
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.participation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    border-bottom-color: #d4af37; /* gold accent on hover */
}

.participation-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.participation-card p {
    font-size: 0.87rem;
    line-height: 1.75;
    color: #555;
    margin-bottom: 1.2rem;
}

.participation-list {
    list-style: none;
    padding-left: 0;
}

.participation-list li {
    font-size: 0.8rem;
    font-weight: 300;
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.3rem;
}

.participation-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #d4af37; /* gold dot */
}


/* ── 13. PROGRAMME ── */

.programme-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
    background: rgba(184, 151, 90, 0.1);
    border: 1px solid rgba(184, 151, 90, 0.1);
    margin-top: 1rem;
}

.programme-day {
    background: rgba(10, 22, 40, 0.9);
    padding: 2.5rem;
}

.programme-day-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(184, 151, 90, 0.15);
}

.programme-day-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--gold);
    font-weight: 400;
    letter-spacing: 0.05em;
    display: block;
}

.programme-day-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    display: block;
    margin-top: 0.2rem;
}

.programme-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.programme-list li {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    line-height: 1.4;
}

.prog-time {
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    flex-shrink: 0;
    width: 3rem;
}


/* ── 14. PRICES ── */

.prices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.price-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border: 1px solid var(--cream-dark);
    position: relative;
}

.price-card-featured {
    background: var(--blue-deep);
    border-color: rgba(184, 151, 90, 0.3);
}

.price-badge {
    position: absolute;
    top: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--blue-deep);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    white-space: nowrap;
}

.price-category {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.price-amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--blue-deep);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.price-card-featured .price-amount { color: var(--gold-light); }

.price-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 300;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--cream-dark);
}

.price-card-featured .price-note { color: rgba(255, 255, 255, 0.4); border-bottom-color: rgba(255,255,255,0.08); }

.price-includes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-includes li {
    font-size: 0.82rem;
    color: var(--text-mid);
    font-weight: 300;
}

.price-card-featured .price-includes li { color: rgba(255, 255, 255, 0.5); }

.link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tos-block {
    background: var(--white);
    padding: 2.5rem;
    border-left: 2px solid var(--gold);
}

.tos-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.tos-content p {
    font-size: 0.87rem;
    color: var(--text-mid);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 0.8rem;
}


/* ── 15. INSCRIPTION ── */

.inscription-section {
    padding: 7rem 6rem;
    background: var(--blue-deep);
    text-align: left;
}

.inscription-inner {
    max-width: 700px;
    margin: 0 auto;
}

.inscription-section .section-title {
    margin-bottom: 0.5rem;
    color: var(--white)
    /* color: rgba(8, 144, 168, 0.45); */
}

.inscription-section .section-title em {
    color: var(--gold-light);
}

.btn-large {
    padding: 1.1rem 2.8rem;
    font-size: 0.8rem;
}

.inscription-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }

.inscription-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

.inscription-note a {
    color: var(--gold-light);
    text-decoration: none;
}

.inscription-note a:hover { text-decoration: underline; }


/* ── 16. BLOG ── */

.blog-section {
    padding: 6rem 6rem;
}

.blog-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 4rem;
    border: 1px solid var(--cream-dark);
    overflow: hidden;
}

.blog-featured-image {
    overflow: hidden;
    min-height: 350px;
}

.blog-featured-content {
    padding: 3rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 1rem;
    margin-top: 0.8rem;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
    font-weight: 300;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.2rem;
}

.blog-tag-pill {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--gold-pale);
    color: var(--gold);
    padding: 0.2rem 0.6rem;
    font-weight: 500;
}

.blog-date {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 300;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.blog-card-image { overflow: hidden; }

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    margin-top: 0.5rem;
    line-height: 1.3;
}

.blog-card-content p {
    font-size: 0.83rem;
    color: var(--text-mid);
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 1rem;
}

.blog-read-more {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
}

.blog-read-more:hover { color: var(--blue-accent); }


/* ── 17. ESTATUTOS ── */

.estatutos-section {
    padding: 6rem;
}

.estatutos-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 5rem;
    align-items: start;
}

.estatutos-toc {
    position: sticky;
    top: 100px;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    padding: 1.5rem;
}

.toc-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-list a {
    font-size: 0.82rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 300;
    line-height: 1.4;
    transition: color 0.2s;
    display: block;
    padding: 0.2rem 0;
}

.toc-list a:hover { color: var(--blue-accent); }

.estatutos-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.estatuto-chapter {
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--cream-dark);
}

.estatuto-chapter:last-child { border-bottom: none; }

.chapter-roman {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 300;
    color: rgba(184, 151, 90, 0.1);
    line-height: 1;
    margin-bottom: -1.5rem;
}

.estatuto-chapter h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.estatuto-article {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--cream-dark);
}

.article-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--gold);
    font-weight: 400;
    padding-top: 0.2rem;
    flex-shrink: 0;
}

.article-text h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.7rem;
}

.article-text p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.8;
    font-weight: 300;
}


/* ── 18. PAGE NAV FOOTER ── */

.page-nav-footer {
    background: var(--blue-deep);
    border-top: 1px solid rgba(184, 151, 90, 0.15);
    border-bottom: 1px solid rgba(184, 151, 90, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 6rem;
}

.page-nav-back,
.page-nav-next {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.page-nav-back:hover,
.page-nav-next:hover { color: var(--gold-light); }


/* ── 19. SHARED UTILITIES ── */

.page-feature-text .section-title { margin-bottom: 1.5rem; }


/* ── 20. MEDIA QUERIES ── */
/* Responsive: single column on small screens */
@media (max-width: 768px) {
    .participation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .page-hero-content        { padding: 0 2rem; }
    .page-hero-ornament       { display: none; }

    .page-intro               { padding: 4rem 2rem 3rem; }
    .page-intro-inner         { grid-template-columns: 1fr; gap: 2.5rem; }

    .page-feature             { padding: 4rem 2rem; }
    .page-feature-inner       { grid-template-columns: 1fr; gap: 3rem; }

    .timeline-section         { padding: 4rem 2rem; }
    .timeline::before         { left: 1.1rem; }

    .chapters-section         { padding: 4rem 2rem; }
    .chapters-inner           { gap: 4rem; }
    .chapter                  { grid-template-columns: 1fr; gap: 2rem; }
    .chapter-reverse          { direction: ltr; }

    .page-quote-section       { padding: 4rem 2rem; }

    .steps-grid               { grid-template-columns: 1fr 1fr; }

    .pillars-section          { padding: 4rem 2rem; }
    .pillars-grid             { grid-template-columns: 1fr; }

    .team-section             { padding: 4rem 2rem; }
    .team-grid                { grid-template-columns: 1fr 1fr; }
    .team-grid-directors      { grid-template-columns: 1fr 1fr; }
    
    .consiliario-card         { grid-template-columns: 1fr; max-width: 400px; }
    .consiliario-photo        { width: 280px; height: 280px; margin: 0 auto; }

    .participation-grid       { grid-template-columns: 1fr; }

    .programme-grid           { grid-template-columns: 1fr; }

    .prices-grid              { grid-template-columns: 1fr; }

    .blog-section             { padding: 4rem 2rem; }
    .blog-featured            { grid-template-columns: 1fr; }
    .blog-featured-image      { min-height: 220px; }
    .blog-grid                { grid-template-columns: 1fr; }

    .estatutos-section        { padding: 4rem 2rem; }
    .estatutos-inner          { grid-template-columns: 1fr; gap: 3rem; }
    .estatutos-toc            { position: static; }
    .estatuto-article         { grid-template-columns: 4rem 1fr; gap: 1rem; }

    .page-nav-footer          { padding: 1.5rem 2rem; }

    .miracle-item             { grid-template-columns: 4rem 1fr; }
}