/* ==========================================================================
   Expande — Escuela Católica (Figma 9b52zRyUknU4bCxGlM23fa · sección 295:102 · página 324:129)
   Página clara con acento amarillo. Medidas en px de diseño (1440); --k = escala (js/catolica.js).
   ========================================================================== */
.page-cat {
  --c-blue: #ffbc00;          /* botones primarios amarillos con texto oscuro (Figma) */
  --c-blue-ink: #212121;
  --c-yellow: #ffbf10;
  --c-gold: #f2b200;
  --c-ink: #212121;
  --k: 1;
  background: #f8f8f8;
}
.page-cat .btn-primary:hover { box-shadow: 0 10px 24px -10px rgba(255, 188, 0, .9); }
.page-cat .nav-cta { --c-blue: #037afc; --c-blue-ink: #e8f3ff; }        /* el "Hablemos" del header sigue azul (Figma) */
.page-cat .site-footer { --c-blue: #037afc; --c-blue-ink: #e8f3ff; }    /* footer original del sitio */
.c-btn-outline { border: 1px solid #000; color: var(--c-ink); background: transparent; }
.c-btn-outline:hover { background: rgba(0, 0, 0, .04); }
.c-btn-white { background: #fff; color: var(--c-ink); font-weight: 700; padding: 0 24px; height: 52px; box-shadow: 0 6px 20px -10px rgba(120, 90, 0, .35); }
.c-btn-white:hover { box-shadow: 0 12px 26px -12px rgba(120, 90, 0, .5); }

/* ==========================================================================
   Hero
   ========================================================================== */
.c-hero { position: relative; isolation: isolate; overflow: hidden; padding: min(233px, 16.2vw) 0 48px;
  background: linear-gradient(180deg, #fff 0%, #fff 34%, #fff4d6 56%, #ffdc78 82%, #ffc93a 100%); }
.c-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.c-rays { position: absolute; left: 50%; top: 0; width: max(1920px, 100%); height: 100%; transform: translateX(-50%) rotate(180deg); object-fit: cover; mix-blend-mode: soft-light; opacity: .75; max-width: none; }
.c-sparkles { position: absolute; inset: 0; width: 100%; height: 100%; }
.c-hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--gutter); }
.c-area-logo { width: min(187px, 13vw); height: auto; }
.c-hero h1 { margin-top: 7px; font: 700 clamp(34px, 3.594vw, 51.75px)/1.26 var(--f-lexend); letter-spacing: -0.015em; color: #1e1e1e; }
.c-hero-sub { max-width: 820px; margin-top: 14px; font: 500 clamp(16px, 1.39vw, 20px)/1.5 var(--f-lexend); color: var(--c-ink); }
.c-hero-sub b { font-weight: 700; }
.c-hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 45px; }
.c-hero-ctas .btn-primary { width: 291px; }
.c-hero-ctas .c-btn-outline { width: 153px; }
.c-panel {
  position: relative; width: min(887px, calc(100% - 2 * var(--gutter))); margin: 40px auto 0; padding: 10px; border-radius: 25px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 40px 110px -30px rgba(160, 110, 0, .45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); will-change: transform;
}
.c-panel img { width: 100%; aspect-ratio: 868 / 440; object-fit: cover; border-radius: 17px; }

/* ==========================================================================
   ¿Por qué? (desafío, respuesta y franja amarilla)
   ========================================================================== */
.c-why { padding: 102px 0 120px; background: linear-gradient(180deg, #ffc93a 0, #ffe7a5 70px, #fff3d6 220px, #f8f8f8 620px); }
.c-why .container { max-width: calc(1144px + var(--gutter) * 2); }
.c-why-title { font: 500 clamp(22px, 2.083vw, 30px)/1.3 var(--f-lexend); text-align: center; color: var(--c-ink); }
.c-why-grid { display: grid; grid-template-columns: 638fr 484fr; gap: 22px; margin-top: 76px; align-items: stretch; }
.c-card { position: relative; overflow: hidden; min-height: 563px; padding: 38px 38px 0; border-radius: 23px; color: var(--c-ink); }
.c-card--challenge { border: 1px solid #cb9500; background: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.c-card--answer { background: #fff; box-shadow: 0 20px 58px -30px rgba(0, 0, 0, .18); }
.c-card h3 { font: 500 28.13px/1.25 var(--f-lexend); }
.c-card p { max-width: 563px; margin-top: 35px; font: 400 15.94px/25.3px var(--f-lexend); }
.c-card--answer p { margin-top: 27px; }
.c-card b { font-weight: 700; }
/* distancia declara → enseña → vive */
.c-steps { position: absolute; left: 0; bottom: 0; width: 638px; height: 296px; }
.c-step {
  position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px); display: flex; align-items: center; gap: 12px;
  height: 62px; padding: 0 20px 0 15px; border-radius: 14px; background: #fff; border: 1px solid rgba(33, 33, 33, .1);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .12); white-space: nowrap;
}
.c-step b { display: block; font: 600 15px/1.3 var(--f-lexend); }
.c-step small { display: block; font: 400 12.5px/1.3 var(--f-lexend); color: #555; }
.c-step-n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff4d6; font: 700 12px/1 var(--f-lexend); }
.c-step--on { background: var(--c-yellow); border-color: transparent; box-shadow: 0 12px 26px -10px rgba(255, 191, 16, .9); }
.c-step--on .c-step-n { background: #fff; }
.c-step--on small { color: #4a3a00; }
.c-link { position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px); width: 124px; height: 59px; border-left: 1.5px dashed #212121; border-bottom: 1.5px dashed #212121; transform-origin: 0 0; }
.c-gap { position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px); padding: 5px 11px; border-radius: 999px; background: #fff; border: 1.5px solid var(--c-yellow); font: 500 11px/1.25 var(--f-lexend); white-space: nowrap; }
/* identidad en el centro */
.c-hub { position: absolute; left: 0; bottom: 30px; width: 484px; height: 240px; }
.c-halo { position: absolute; left: 177px; top: 45px; width: 130px; height: 130px; border-radius: 50%; border: 1.5px dashed rgba(255, 190, 16, .7); }
.c-center { position: absolute; left: 194px; top: 62px; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--c-yellow); box-shadow: 0 10px 24px -8px rgba(255, 191, 16, .9); font: 700 13px/1 var(--f-lexend); }
.c-node {
  position: absolute; left: calc(var(--x) * 1px); top: calc(var(--y) * 1px); display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 13px;
  border-radius: 999px; background: #fff; border: 1px solid rgba(33, 33, 33, .1); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .18);
  font: 500 13px/1 var(--f-lexend); white-space: nowrap;
}
.c-node::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-yellow); }
/* franja amarilla */
.c-declara { position: relative; overflow: hidden; isolation: isolate; min-height: 360px; margin-top: 13px; border-radius: 20px; background: var(--c-yellow); }
.c-rings { position: absolute; left: 839.5px; top: 395.5px; z-index: -1; }
.c-rings i { position: absolute; left: calc(var(--d) * -0.5px); top: calc(var(--d) * -0.5px); width: calc(var(--d) * 1px); height: calc(var(--d) * 1px); border-radius: 50%; border: 1px dashed rgba(255, 255, 255, var(--o, 1)); }
.c-declara-copy { position: relative; z-index: 1; max-width: 520px; padding: 63px 0 50px 59px; }
.c-declara h3 { max-width: 341px; font: 700 33.4px/1.3 var(--f-lexend); color: var(--c-ink); }
.c-declara ul { display: grid; gap: 14px; margin-top: 30px; }
.c-declara li { position: relative; padding-left: 20px; font: 400 18px/1.4 var(--f-lexend); color: var(--c-ink); }
.c-declara li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.c-declara li b { font-weight: 700; }
.c-declara-photo { position: absolute; left: 550px; top: -18px; width: 580px; max-width: none; height: auto; }

/* ==========================================================================
   Fondo dorado: preguntas, lo académico/humano/espiritual y carrusel
   ========================================================================== */
.c-gold { position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #f8f8f8 0%, #fff4d6 14%, #ffe6a4 30%, #ffd86d 44%, #ffd86d 52%, #ffe7a5 66%, #fff4dc 84%, #f8f8f8 100%); }
.c-rays--mid { top: 0; height: 1080px; opacity: .4; z-index: -1; mix-blend-mode: soft-light; }
.c-questions { padding-top: 100px; text-align: center; }
.c-questions h2 { font: 500 clamp(30px, 3.61vw, 52px)/1.15 var(--f-lexend); color: var(--c-ink); }
.c-q-sub { margin-top: 31px; font: 400 clamp(16px, 1.39vw, 20px)/1.5 var(--f-lexend); color: #666; }
.c-q-list { display: grid; gap: 16px; max-width: 820px; margin: 46px auto 0; text-align: left; }
.c-q {
  display: flex; align-items: center; gap: 22px; min-height: 90px; padding: 14px 40px 14px 24px; border-radius: 12px;
  background: rgba(255, 255, 255, .52); border: 1px solid rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .45s ease, transform .45s ease, box-shadow .45s ease;
}
.c-q-n { flex: none; width: 24px; font: 700 20px/1 var(--f-lexend); color: var(--c-gold); transition: transform .45s ease; }
.c-q p { font: 400 16px/1.5 var(--f-lexend); color: var(--c-ink); }
.c-q.is-active { background: rgba(255, 255, 255, .95); transform: scale(1.02); box-shadow: 0 18px 40px -22px rgba(160, 110, 0, .55); }
.c-q.is-active .c-q-n { transform: scale(1.15); }
.c-questions .center { margin-top: 54px; }

.c-venn-sec { padding: 120px 0 40px; }
.c-venn-grid { display: grid; grid-template-columns: minmax(0, 443px) minmax(0, 745px); justify-content: space-between; align-items: center; max-width: calc(1214px + var(--gutter) * 2); }
.c-venn-copy h2 { font: 500 clamp(32px, 3.61vw, 52px)/1.15 var(--f-lexend); color: var(--c-ink); }
.c-venn-copy p { max-width: 336px; margin-top: 38px; font: 400 15.94px/25.3px var(--f-lexend); color: var(--c-ink); }
.c-venn-copy .btn { margin-top: 34px; }
.c-venn { position: relative; width: 743px; height: 597px; transform: scale(var(--vk, 1)); transform-origin: 0 0; }
.c-circle { position: absolute; width: 465px; height: 465px; border-radius: 50%; will-change: transform; }
.c-circle--a { left: 0; top: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .85)); }
.c-circle--h { left: 278px; top: 0; background: linear-gradient(225deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .85)); }
.c-circle--e { left: 144px; top: 132px; background: linear-gradient(0deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .9)); }
.c-venn-l { position: absolute; z-index: 1; font: 400 22px/1.27 var(--f-lexend); color: var(--c-ink); white-space: nowrap; }
.c-venn-l--a { left: 50px; top: 153px; }
.c-venn-l--h { left: 543px; top: 137px; font-size: 23px; }
.c-venn-l--e { left: 301px; top: 491px; font-size: 24.6px; }
.c-venn-l--c { left: 318px; top: 224px; font-size: 20px; text-align: center; }

.c-skills { padding-top: 120px; overflow-x: clip; }
.c-skills-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; max-width: calc(1125px + var(--gutter) * 2); }
.c-skills-head h2 { max-width: 395px; font: 500 clamp(34px, 3.61vw, 52px)/1.15 var(--f-lexend); color: #000; }
.c-skills-head p { max-width: 318px; margin-top: 26px; font: 400 clamp(17px, 1.39vw, 20px)/1.5 var(--f-lexend); color: #000; }
.c-wheel { height: 1000px; margin-top: 90px; overflow: visible; }
.c-wheel .wheel-arc { top: 418px; border-width: 12px; background: linear-gradient(180deg, #ffbf10 0%, rgba(255, 191, 16, .5) 18%, rgba(255, 255, 255, 0) 42%) border-box; }
.c-wheel::after {
  content: ""; position: absolute; inset: auto calc(50% - 50vw) -40px; height: 520px; z-index: 6; pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 248, 248, 0) 0%, rgba(255, 255, 255, .7) 45%, #f8f8f8 100%);
}
.ccard { top: 0; border-radius: 25px; background: radial-gradient(90% 60% at 50% 100%, #ffbf10 26%, rgba(244, 241, 255, 0) 100%), #fafdff; box-shadow: 0 40px 90px -50px rgba(120, 90, 0, .5); }
.ccard::before { display: none; }
.ccard > * { opacity: 1; }
.ccard-text { position: relative; z-index: 2; padding: 64px 49px 0; }
.ccard-n { display: block; font: 500 52px/1.2 var(--f-lexend); color: var(--c-ink); }
.ccard h3 { max-width: 400px; margin-top: 18px; font: 400 26px/1.6 var(--f-lexend); color: var(--c-ink); }
.ccard-photo { position: absolute; z-index: 1; left: 0; bottom: 0; width: 100%; height: auto; }

/* ==========================================================================
   Soluciones: Creo
   ========================================================================== */
.c-solutions { padding-top: 70px; }
.c-solutions .container { max-width: calc(1144px + var(--gutter) * 2); }
.c-sol-title { max-width: 931px; margin: 0 auto; font: 500 clamp(32px, 4.25vw, 61.25px)/1.143 var(--f-lexend); text-align: center; color: var(--c-ink); }
.c-sol { display: grid; grid-template-columns: minmax(0, 486px) minmax(0, 540px); justify-content: space-between; margin-top: 67px; padding-left: 20px; }
.c-sol h3 { max-width: 436px; font: 700 clamp(34px, 3.61vw, 52px)/1.15 var(--f-lexend); color: var(--c-ink); }
.c-sol-desc { margin-top: 28px; font: 400 18px/28.8px var(--f-lexend); color: var(--c-ink); }
.c-acc { margin-top: 30px; }
.page-cat .t-acc details { border-bottom-color: rgba(33, 33, 33, .08); }
.page-cat .t-acc summary { color: var(--c-ink); font-weight: 700; }
.page-cat .t-acc details p { color: #555; }
.page-cat .t-acc details.is-empty summary { cursor: default; }
.page-cat .t-acc details.is-empty summary::after { opacity: .35; }
.c-sol-media { position: relative; }
.c-sol-media img { width: 100%; aspect-ratio: 540 / 857; object-fit: cover; border-radius: 36px; }
.c-sol-media .btn { position: absolute; right: 24px; bottom: 39px; width: 230px; gap: 12px; background: #fec21d; }

/* ==========================================================================
   Banner, FAQ y formulario (versión clara)
   ========================================================================== */
.c-banner-zone { padding-top: 70px; padding-bottom: 0; max-width: calc(1276px + var(--gutter) * 2); }
.c-banner { aspect-ratio: 1276 / 405; background: #fff; box-shadow: 0 30px 70px -45px rgba(0, 0, 0, .25); }
.c-banner .banner-copy { left: calc(77 / 1276 * 100cqw); top: 50%; transform: translateY(-50%); width: calc(501 / 1276 * 100cqw); color: var(--c-ink); }
.c-banner .banner-copy h2 { font: 700 clamp(22px, calc(44.5 / 1276 * 100cqw), 44.5px)/1.15 var(--f-lexend); }
.c-banner .banner-copy p { margin-top: calc(24 / 1276 * 100cqw); font: 500 clamp(14px, calc(18 / 1276 * 100cqw), 18px)/1.75 var(--f-lexend); }
.c-banner .banner-photo { left: calc(694 / 1276 * 100cqw); top: calc(-40 / 1276 * 100cqw); width: calc(582 / 1276 * 100cqw); }
.c-faq { padding-top: 220px; background: linear-gradient(180deg, #f8f8f8 0%, #ffe39a 18%, #ffe9b0 42%, #fff4da 72%, #f8f8f8 100%); }
.c-faq .faq-head h2 { color: var(--c-ink); }
.c-faq .faq-list { padding-top: 160px; }
.c-faq .faq-list summary { font-size: clamp(19px, 1.67vw, 24px); line-height: 39px; font-weight: 700; color: var(--c-ink); }
.c-faq .faq-list details[open] summary { font-size: clamp(22px, 2.083vw, 30px); line-height: 1.3; }
.c-faq .faq-list details p { color: var(--c-ink); }
.c-contact { background: #f8f8f8; color: var(--c-ink); }
.c-contact .contact-glow { background: radial-gradient(32% 56% at 50% 70%, #fec21d 0%, #fec21d 30%, rgba(254, 194, 29, .35) 58%, rgba(255, 255, 255, 0) 100%); opacity: .9; }
.c-contact .contact-petal { left: -64px; top: 516px; width: 897px; height: auto; }
.c-contact .contact-title { color: var(--c-ink); }
.c-contact .contact-title .grad-text { background-image: linear-gradient(90deg, #fec21d, #f2b200); }
.c-contact .contact-form { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #fec21d, #ffdf6b 50%, #fec21d) border-box; }
.c-contact .field label { color: var(--c-ink); }
.c-contact .field input:focus, .c-contact .field textarea:focus { border-color: #fec21d; box-shadow: 0 0 0 3px rgba(254, 194, 29, .4); }
.c-contact .form-foot .btn { background: #fec21d; color: var(--c-ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .c-why-grid { grid-template-columns: 1fr; max-width: 680px; margin-left: auto; margin-right: auto; }
  .c-declara-photo { left: auto; right: -160px; }
  .c-venn-grid { grid-template-columns: 1fr; gap: 40px; }
  .c-venn { --vk: .8; margin-bottom: -120px; }
  .c-sol { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; padding: 0; }
}
@media (max-width: 860px) {
  .c-hero { padding-top: 120px; }
  .c-area-logo { width: 150px; }
  .c-hero-ctas .btn-primary, .c-hero-ctas .c-btn-outline { width: 100%; max-width: 340px; }
  .c-panel { padding: 6px; border-radius: 18px; }
  .c-why { padding: 72px 0 72px; }
  .c-why-grid { margin-top: 32px; }
  .c-card { min-height: 0; padding: 28px 22px 0; }
  .c-card p { margin-top: 18px; }
  .c-card--challenge { padding-bottom: 300px; }
  .c-card--answer { padding-bottom: 270px; }
  .c-steps { transform: scale(.78); transform-origin: 0 100%; }
  .c-hub { left: 50%; margin-left: -242px; transform: scale(.74); transform-origin: 50% 100%; bottom: 16px; }
  .c-declara-copy { padding: 32px 22px 260px; }
  .c-declara h3 { font-size: 26px; }
  .c-declara li { font-size: 16px; }
  .c-declara-photo { left: 50%; right: auto; top: auto; bottom: -60px; width: 380px; margin-left: -150px; }
  .c-rings { left: 70%; top: 85%; }
  .c-questions { padding-top: 72px; }
  .c-q { padding: 14px 18px; gap: 14px; min-height: 0; }
  .c-q p { font-size: 15px; }
  .c-venn-sec { padding-top: 80px; }
  .c-venn { --vk: .48; margin-bottom: -310px; }
  .c-skills { padding-top: 72px; }
  .c-skills-head { flex-direction: column; gap: 12px; }
  .c-skills-head p { margin-top: 0; }
  .c-wheel { height: 560px; margin-top: 36px; }
  .c-wheel .wheel-arc { top: 300px; }
  .c-wheel::after { height: 240px; }
  .ccard { width: 300px; height: 404px; margin-left: -150px; }
  .ccard-text { padding: 26px 22px 0; }
  .ccard-n { font-size: 32px; }
  .ccard h3 { font-size: 17px; margin-top: 8px; line-height: 1.45; }
  .c-solutions { padding-top: 56px; }
  .c-sol { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  .c-sol-desc, .page-cat .t-acc details p { font-size: 16px; line-height: 1.6; }
  .c-sol-media img { aspect-ratio: 4 / 4.8; border-radius: 24px; }
  .c-banner-zone { padding-top: 56px; }
  .c-banner { aspect-ratio: auto; }
  .c-banner .banner-copy { left: auto; top: auto; transform: none; width: auto; }
  .c-faq { padding-top: 96px; }
  .c-faq .faq-list { padding-top: 24px; }
  .c-faq .faq-list summary { line-height: 1.35; padding: 12px 0; }
}

/* rayos de luz: en Figma la imagen solo aporta su luminosidad sobre el amarillo */
.c-rays { filter: grayscale(1) brightness(1.15) contrast(1.1); mix-blend-mode: screen; opacity: .5; }
.c-rays--mid { opacity: .3; }
.c-hero-bg::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 62%; background: linear-gradient(180deg, #fff 0%, #fff 45%, rgba(255, 255, 255, 0) 100%); pointer-events: none; }
.c-sparkles { z-index: 1; }
/* sombra de la foto más luminosa: no ensucia el amarillo del fondo */
.c-panel { box-shadow: 0 30px 80px -40px rgba(255, 170, 0, .55); }
/* el fondo no crea contexto propio: los rayos se funden (screen) con el amarillo del hero */
.c-hero-bg { z-index: auto; }
.c-hero-copy, .c-panel { position: relative; z-index: 2; }
/* empalme sin corte entre el hero y "¿Por qué?" */
.c-why { background: linear-gradient(180deg, #ffe7a0 0, #fff0c8 140px, #fff6e0 320px, #f8f8f8 640px); }
@media (max-width: 860px) {
  /* el diagrama del desafío cabe entero en la tarjeta */
  .c-steps { transform: scale(.54); }
  .c-card--challenge { padding-bottom: 190px; }
  /* el título del formulario se lee sobre el fondo amarillo */
  .c-contact .contact-title .grad-text { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #a87400; }
}
@media (min-width: 861px) {
  /* el fondo y la foto del formulario se anclan abajo: la persona llega justo al footer */
  .c-contact .contact-art { top: auto; bottom: 0; }
}

/* Fotos completas (recortes con fondo transparente): entran enteras, apoyadas abajo, sin cortar cabezas */
.ccard-photo { left: 0; right: 0; bottom: 0; width: 100%; height: 64%; object-fit: contain; object-position: 50% 100%; }
.c-declara-photo { left: auto; right: 40px; top: auto; bottom: 0; width: auto; height: 96%; max-width: 560px; object-fit: contain; object-position: 50% 100%; }
.c-banner .banner-photo { left: auto; right: calc(30 / 1276 * 100cqw); top: auto; bottom: 0; width: auto; height: 104%; }
@media (max-width: 860px) {
  .ccard-photo { height: 58%; }
  .c-declara-photo { right: 50%; transform: translateX(50%); height: 250px; margin: 0; left: auto; }
  .c-banner .banner-photo { height: 100%; right: 4%; }
}
.ccard-photo { height: auto; max-height: none; object-fit: fill; }
@media (max-width: 860px) { .ccard-photo { height: auto; } }

/* ==========================================================================
   Fondo dorado continuo (colores medidos del Figma): blanco → amarillo #ffdb74 entre
   preguntas y "Lo académico…" → vuelve a blanco en el carrusel. Cada sección empalma
   con la siguiente en el mismo color: no hay cortes.
   ========================================================================== */
.c-gold { background: none; }
.c-questions { background: linear-gradient(180deg, #f8f8f8 0%, #fffcf6 45%, #fff5dc 68%, #ffe6a2 86%, #ffdb74 100%); padding-bottom: 90px; }
.c-venn-sec { background: linear-gradient(180deg, #ffdb74 0%, #ffdc7a 35%, #ffe28f 70%, #ffe59c 100%); }
.c-skills { background: linear-gradient(180deg, #ffe59c 0%, #ffedbd 18%, #fff4d8 34%, #fffaf0 52%, #f8f8f8 72%); }
.c-gold > section { position: relative; z-index: 1; }
.c-gold > section:not(.c-skills) { isolation: isolate; }
.c-gold-fx { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.c-gold > section > .container, .c-wheel { position: relative; z-index: 3; }
/* círculos más blancos, como en Figma */
.c-circle--a { background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .92)); }
.c-circle--h { background: linear-gradient(225deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .92)); }
.c-circle--e { background: linear-gradient(0deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .95)); }
/* capas: fondos de las secciones < puntos animados < contenido */
.c-gold > section, .c-gold > section:not(.c-skills) { position: static; z-index: auto; isolation: auto; }
.c-gold-fx { z-index: 0; }
.c-gold > section > .container, .c-wheel { position: relative; z-index: 1; }
.c-skills-head h2 { max-width: 470px; }

/* ==========================================================================
   Hero + "¿Por qué?" con UN solo fondo continuo (colores medidos del render de Figma 324:129, en px desde arriba)
   ========================================================================== */
.page-cat main {
  background:
    linear-gradient(180deg, #ffffff 0, #fffaee 160px, #fff7e0 320px, #fff4d6 400px, #fff0c4 520px, #ffe9ab 640px, #ffe18b 800px, #ffd768 880px, #ffd766 960px, #ffdc7e 1040px, #ffe395 1120px, #ffeab0 1200px, #fff2ce 1280px, #fcf5dd 1360px, #faf8f1 1480px, #f8f8f8 1560px) top / 100% 1600px no-repeat,
    #f8f8f8;
}
.c-hero, .c-why { background: none; }
.c-hero { overflow: visible; }
.c-hero-bg { overflow: hidden; bottom: -260px; }
.c-hero-bg::after { display: none; }
/* brillo dorado de los costados (Figma: más saturado a los lados de la foto) */
.c-hero-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(30% 34% at 0% 66%, rgba(255, 196, 40, .5), rgba(255, 196, 40, 0) 100%),
    radial-gradient(30% 34% at 100% 66%, rgba(255, 196, 40, .5), rgba(255, 196, 40, 0) 100%);
}
/* rayos suaves que bajan desde arriba, sin bordes visibles */
.c-rays { opacity: .3; -webkit-mask: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%); mask: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%); }
.c-why { padding-top: 53px; }
.c-hero { isolation: auto; }
.c-hero-bg { z-index: 0; }
.c-hero-bg { z-index: auto; }
.c-rays { opacity: .7; }
.c-rays { opacity: .45; }
.c-hero-bg::before {
  background:
    radial-gradient(34% 40% at 0% 70%, rgba(255, 190, 30, .7), rgba(255, 190, 30, 0) 100%),
    radial-gradient(34% 40% at 100% 70%, rgba(255, 190, 30, .7), rgba(255, 190, 30, 0) 100%);
}
.c-hero-bg::before {
  background:
    radial-gradient(34% 26% at 0% 62%, rgba(255, 190, 30, .7), rgba(255, 190, 30, 0) 100%),
    radial-gradient(34% 26% at 100% 62%, rgba(255, 190, 30, .7), rgba(255, 190, 30, 0) 100%);
}

/* brillo animado detrás de la foto del hero (Figma: "light rays with shimmering particles", programado) */
.c-rays { transform-origin: 50% 62%; animation: c-rays 7s ease-in-out infinite alternate; }
@keyframes c-rays {
  0%   { transform: translateX(-50%) rotate(180deg) scale(1);    opacity: .35; }
  50%  { opacity: .6; }
  100% { transform: translateX(-50%) rotate(181.6deg) scale(1.06); opacity: .42; }
}
.c-panel::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: -1; width: 130%; height: 150%; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 214, 90, .75), rgba(255, 214, 90, .3) 55%, rgba(255, 214, 90, 0) 100%);
  filter: blur(10px); animation: c-halo 4.5s ease-in-out infinite alternate;
}
@keyframes c-halo { from { opacity: .55; transform: translate(-50%, -50%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } }
.c-panel { isolation: isolate; }
@media (prefers-reduced-motion: reduce) { .c-rays, .c-panel::before { animation: none; } }
.c-creo-logo { width: min(200px, 14vw); height: auto; }
@media (max-width: 860px) { .c-creo-logo { width: 150px; } }
/* barra superior: solo "Escuela Católica", sin el logo de expande */
.page-cat .nav-logo img { display: none; }
.page-cat .nav-area { padding-left: 0; border-left: 0; font-size: 24px; font-weight: 500; opacity: 1; }
@media (max-width: 1100px) { .page-cat .nav-area { font-size: 20px; } }
@media (max-width: 860px) { .page-cat .nav-area { font-size: 18px; max-width: none; white-space: nowrap; } }
