/* ==========================
   EGRESADOS · Urusayhua
   Complemento de estilos (usa tokens globales)
   ========================== */
/* ===== EGRESADOS — HERO con imagen de fondo ===== */
.eg-hero {
    position: relative;
    color: #fff;
    padding: clamp(56px, 7vw, 96px) 0;
    /* mismo tamaño que ya tenías */
    overflow: hidden;

    /* Fondo con imagen configurable por custom property */
    background: var(--eg-hero-bg, url('../images/banner/fotoegresaso.jpg')) center/cover no-repeat fixed;
}

/* Capa de degradado para contraste de textos (igual look que otras páginas) */
.eg-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(1200px 400px at -10% -20%, #ffffff14, transparent 60%),
        linear-gradient(135deg, var(--c-primary-900, #5481f5), var(--c-primary-700, #1b4fd6));
    mix-blend-mode: multiply;
    /* integra con la foto */
}

/* Granulado muy sutil opcional (mejora el banding en degradados) */
.eg-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0 0 0.015'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .35;
    pointer-events: none;
}

/* Mantén todo el contenido por encima */
.eg-hero .container {
    position: relative;
    z-index: 1;
}

/* La figura del lado derecho queda igual (tarjeta con sombra) */
.eg-hero__figure {
    border-radius: 20px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .25);
    background: #fff;
    /* mantiene marco blanco de la foto lateral si lo hay */
}

/* BENEFICIOS */
.eg-benefits {
    padding: clamp(28px, 4.8vw, 48px) 0;
    background: var(--bg, #f7f8fb);
}

.eg-card {
    background: #fff;
    border: 1px solid rgba(20, 20, 43, .06);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .06);
    height: 100%;
}

.eg-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    background: linear-gradient(135deg, var(--c-primary-900, #122a63), var(--c-primary-700, #1b4fd6));
    color: #fff;
}

/* SECCIONES */
.eg-section {
    padding: clamp(34px, 5vw, 64px) 0;
}

.eg-title {
    font-weight: 900;
    font-size: clamp(1.6rem, 3.6vw, 2.2rem);
    margin: 0 0 .4rem;
}

.eg-list {
    list-style: none;
    padding: 0;
    margin: .25rem 0 1rem;
}

.eg-list li {
    margin: .15rem 0;
    color: #3f4961;
}

.eg-list i {
    color: var(--c-primary-700, #1b4fd6);
    margin-right: .4rem;
}

/* CTA */
.eg-cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: clamp(40px, 6vw, 74px) 0;
}

.eg-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--c-primary-900, #122a63), var(--c-primary-700, #1b4fd6));

    z-index: 0;
}

.eg-cta .container {
    position: relative;
    z-index: 1;
}

.eg-cta__lead {
    color: #f2f6ff;
    max-width: 60ch;
    font-size: 16px;
}

/* IMÁGENES UNIFICADAS (Trámites, Titulación, Bolsa) */
.eg-section img,
.eg-cta__img {
    max-width: 250px;
    /* tamaño uniforme */
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}

/* FAQ */
.eg-faq {
    padding: clamp(34px, 5vw, 64px) 0;
    background: var(--bg, #f7f8fb);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(20, 20, 43, .06);
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #1f2742;
    list-style: none;
}

.faq-item[open] summary {
    color: var(--c-primary-700, #1b4fd6);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-body {
    padding-top: 6px;
    color: #47506a;
}