/* ============ RCM College Seminary · Páginas internas ============ */
/* Usa las fuentes, colores, cabecera, pie y botones de home.css */

/* ---------- Portada de la página ---------- */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); overflow: hidden; background: var(--navy-900); padding: 110px 20px 120px; }
.page-hero-bg { position: absolute; inset: -40px 0; background-image: var(--bg); background-size: cover; background-position: center; will-change: transform; transform: scale(1.05); }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,20,34,.78) 0%, rgba(15,28,46,.86) 55%, rgba(10,20,34,.97) 100%); }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.page-hero .overlay { position: relative; z-index: 2; max-width: 860px; }
.hero-badge { width: 86px; height: 86px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; font-size: 2.1rem; color: var(--gold-light); border: 1px solid rgba(232,207,148,.55); background: rgba(10,20,34,.55); backdrop-filter: blur(6px); box-shadow: 0 0 0 10px rgba(197,160,89,.08), 0 0 50px rgba(197,160,89,.25); }
.hero-badge.roman { font-family: var(--serif); font-weight: 700; font-size: 2.2rem; }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.08; letter-spacing: 1px; margin: 16px 0 18px; }
.page-hero .overlay > p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--gold-light); }
.breadcrumb { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; font-size: .74rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Encabezados de sección ---------- */
.page-body section { padding: 110px 0; }
.content-section { text-align: center; max-width: 820px; margin: 0 auto; padding: 110px 20px 30px; }
.content-section h2, .section-title h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.12; color: var(--navy-700); margin-bottom: 8px; }
.content-section p, .section-title p { color: var(--muted); font-size: 1.06rem; }
.divider { width: 70px; height: 2px; margin: 18px auto 24px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.section-title { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.section-title p { font-style: italic; font-family: var(--serif); font-size: 1.3rem; }

/* ---------- Visión de la facultad ---------- */
.info-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; width: min(1180px, 100% - 40px); margin: 0 auto; padding: 120px 0; }
.info-text h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.12; color: var(--navy-700); }
.info-text .divider { margin: 20px 0 28px; background: linear-gradient(90deg, var(--gold), transparent); }
.info-text p { color: #3c4652; font-size: 1.05rem; margin-bottom: 18px; }
.info-text ul { list-style: none; margin-top: 30px; display: grid; gap: 12px; }
.info-text li { position: relative; padding: 14px 18px 14px 54px; background: var(--white); border-radius: 12px; border: 1px solid rgba(197,160,89,.22); box-shadow: 0 6px 20px rgba(10,20,34,.05); font-weight: 600; font-size: .95rem; color: var(--navy-700); transition: transform .35s var(--ease), border-color .35s; }
.info-text li:hover { transform: translateX(6px); border-color: rgba(197,160,89,.6); }
.info-text li::before { content: ''; position: absolute; left: 16px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)) center / 100% no-repeat; }
.info-text li::after { content: ''; position: absolute; left: 24px; top: 50%; width: 6px; height: 11px; border: solid var(--navy-900); border-width: 0 2px 2px 0; transform: translateY(-65%) rotate(45deg); }
.info-image { position: relative; }
.info-image::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--gold); border-radius: 20px; }
.info-image img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 70px rgba(10,20,34,.25); }

/* ---------- Ruta por niveles (facultades) ---------- */
.route { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.route .content-section { padding-top: 0; }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; width: min(1180px, 100% - 40px); margin: 30px auto 0; counter-reset: step; }
.route-grid .subject-card { position: relative; background: var(--white); border-radius: 18px; padding: 70px 30px 34px; border: 1px solid rgba(197,160,89,.22); box-shadow: 0 14px 36px rgba(10,20,34,.07); transition: transform .45s var(--ease), box-shadow .45s var(--ease); counter-increment: step; text-align: left; }
.route-grid .subject-card::before { content: counter(step, upper-roman); content: attr(data-n); position: absolute; top: 24px; left: 30px; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--gold-dark); letter-spacing: 2px; }
.route-grid .subject-card:hover { transform: translateY(-8px); box-shadow: 0 26px 55px rgba(10,20,34,.14); }
.route-grid .subject-card h4 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: var(--navy-700); margin-bottom: 10px; }
.route-grid .subject-card p { color: var(--muted); font-size: .96rem; }

/* ---------- Eje destacado (niveles) ---------- */
.program { width: min(1180px, 100% - 40px); margin: 0 auto; padding: 50px 0 120px; }
.syllabus-block { position: relative; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); color: var(--white); border-radius: 24px; padding: 56px 50px; margin-bottom: 90px; overflow: hidden; box-shadow: 0 30px 70px rgba(10,20,34,.25); }
.syllabus-block::before { content: ''; position: absolute; width: 520px; height: 520px; right: -200px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(197,160,89,.22), transparent 65%); }
.block-title { position: relative; font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); text-align: center; margin-bottom: 40px; }
.block-title::after { content: ''; display: block; width: 70px; height: 2px; margin: 16px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.syllabus-block .subject-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.syllabus-block .subject-card { padding: 28px 26px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(232,207,148,.2); transition: all .4s var(--ease); }
.syllabus-block .subject-card:hover { background: rgba(232,207,148,.08); border-color: rgba(232,207,148,.5); transform: translateY(-6px); }
.syllabus-block .subject-card h4 { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; color: var(--gold-light); margin-bottom: 8px; }
.syllabus-block .subject-card p { color: rgba(255,255,255,.75); font-size: .95rem; }

/* ---------- Tarjetas por facultad (niveles) ---------- */
.facultades-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.facultades-grid > * { grid-column: span 2; }
.facultades-grid > :nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
.facultad-card-premium { background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid rgba(197,160,89,.22); box-shadow: 0 14px 36px rgba(10,20,34,.07); transition: transform .45s var(--ease), box-shadow .45s var(--ease); display: flex; flex-direction: column; }
.facultad-card-premium:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(10,20,34,.15); }
.premium-header { display: flex; align-items: center; gap: 14px; padding: 22px 26px; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); border-bottom: 2px solid var(--gold); }
.premium-header .p-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; font-size: 1.15rem; color: var(--gold-light); background: rgba(232,207,148,.12); }
.premium-header h4 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.2; color: var(--white); }
.premium-content { padding: 26px; flex-grow: 1; }
.premium-content ul { list-style: none; display: grid; gap: 12px; }
.premium-content li { position: relative; padding-left: 22px; color: #3c4652; font-size: .95rem; }
.premium-content li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(197,160,89,.2); }

/* ---------- Llamado final ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 0%, #1d3350, var(--navy-900) 70%); color: var(--white); text-align: center; padding: 100px 20px; }
.cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 14px 0 12px; }
.cta-band p { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 620px; margin: 0 auto 34px; }
.cta-band .hero-btns { margin-top: 0; }

/* ---------- Adaptación ---------- */
@media (max-width: 960px) {
    .info-grid { grid-template-columns: 1fr; gap: 60px; padding: 90px 0; }
    .info-image { max-width: 520px; margin: 0 auto; width: calc(100% - 24px); }
    .route-grid { grid-template-columns: 1fr; max-width: 560px; }
    .facultades-grid { grid-template-columns: 1fr 1fr; }
    .facultades-grid > *, .facultades-grid > :nth-child(4):nth-last-child(2) { grid-column: auto; }
    .facultades-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .page-hero { min-height: 0; padding: 90px 16px 100px; }
    .hero-badge { width: 72px; height: 72px; font-size: 1.8rem; }
    .content-section { padding: 84px 16px 20px; }
    .info-grid { width: calc(100% - 32px); padding: 80px 0; }
    .info-image::before { inset: 14px -14px -14px 14px; }
    .syllabus-block { padding: 40px 22px; border-radius: 18px; margin-bottom: 70px; }
    .program, .route-grid { width: calc(100% - 32px); }
    .facultades-grid { grid-template-columns: 1fr; }
    .facultades-grid > :last-child:nth-child(odd) { grid-column: auto; }
}
.route { padding: 110px 0 120px; }
.route .content-section { padding-bottom: 20px; }
.route-grid .subject-card { padding-top: 40px; }
.route-grid .subject-card::before { content: ''; top: 0; left: 30px; width: 46px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); }
