/* ============================================
   MVSJ — pages.css: Estilos de páginas internas
   ============================================ */

/* ----------------------------------------
   NOSOTROS — TIMELINE
   ---------------------------------------- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold), var(--coral), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    gap: 0;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) .timeline-item__content { grid-column: 1; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-item__dot     { grid-column: 2; }
.timeline-item:nth-child(even) .timeline-item__empty   { grid-column: 3; }
.timeline-item:nth-child(odd)  .timeline-item__empty   { grid-column: 1; }
.timeline-item:nth-child(odd)  .timeline-item__dot     { grid-column: 2; }
.timeline-item:nth-child(odd)  .timeline-item__content { grid-column: 3; }

.timeline-item__dot {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--dark-card);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    z-index: 1;
    transition: border-color var(--t-base), box-shadow var(--t-base);
    margin: 0 auto;
}

.timeline-item:hover .timeline-item__dot {
    border-color: var(--coral);
    box-shadow: var(--shadow-glow-coral);
}

.timeline-item__card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color var(--t-base), transform var(--t-base);
    margin: 0 1.5rem;
}

.timeline-item:hover .timeline-item__card {
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-2px);
}

.timeline-item__year {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--coral);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.25rem;
}

.timeline-item__title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--light);
    margin-bottom: 0.5rem;
}

.timeline-item__text {
    font-size: 0.9rem;
    color: var(--light-muted);
    line-height: 1.6;
}

/* ----------------------------------------
   PRESIDENTES
   ---------------------------------------- */
.presidentes-timeline { max-width: 900px; margin: 0 auto; }

.presidente-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 2.5rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: border-color var(--t-base), box-shadow var(--t-base);
}

.presidente-card:hover {
    border-color: rgba(212, 168, 83, 0.4);
    box-shadow: var(--shadow-card);
}

.presidente-card--actual {
    border-color: rgba(232, 93, 93, 0.4);
    background: linear-gradient(135deg, var(--dark-card), rgba(232, 93, 93, 0.05));
}

.presidente-card__foto-wrap {
    position: relative;
}

.presidente-card__foto {
    width: 100%; aspect-ratio: 1;
    border-radius: var(--radius);
    object-fit: cover;
    border: 2px solid var(--dark-border);
}

.presidente-card__foto-placeholder {
    width: 100%; aspect-ratio: 1;
    border-radius: var(--radius);
    background: var(--glass);
    border: 2px dashed var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-subtle);
    font-size: 2rem;
}

.presidente-card__periodo {
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    background: var(--grad-brand);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.875rem;
    border-radius: 50px;
    white-space: nowrap;
}

.presidente-card__nombre {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.25rem;
}

.presidente-card__cargo {
    font-size: 0.8rem;
    color: var(--coral);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.presidente-card__logros {
    font-size: 0.9rem;
    color: var(--light-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.presidente-card__directorio {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-size: 0.85rem;
}

.presidente-card__dir-title {
    font-weight: 700;
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.presidente-card__dir-list {
    color: var(--light-muted);
}

/* ----------------------------------------
   FILIALES — ÍNDICE
   ---------------------------------------- */
.filiales-index__map {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
    margin-bottom: 3rem;
}

.filiales-index__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.filial-index-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--t-base);
}

.filial-index-card:hover {
    border-color: rgba(232, 93, 93, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.filial-index-card__img {
    width: 100%; height: 200px;
    object-fit: cover;
    filter: brightness(0.8);
    transition: filter var(--t-base), transform var(--t-base);
}

.filial-index-card:hover .filial-index-card__img {
    filter: brightness(0.7);
    transform: scale(1.03);
}

.filial-index-card__body { padding: 1.5rem; }

.filial-index-card__city {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--light);
    margin-bottom: 0.25rem;
}

.filial-index-card__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--light-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* ----------------------------------------
   FILIALES — DETALLE
   ---------------------------------------- */
.filial-detail__info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}
@media (max-width: 768px) {
    .filial-detail__info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.filial-detail__hero-img {
    width: 100%; height: 500px;
    object-fit: cover;
    filter: brightness(0.5);
}

.filial-detail__map {
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    margin-top: 1.5rem;
}

.coordinadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    gap: 1.5rem;
    justify-content: center;
}

.coordinador-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--t-base);
}

.coordinador-card:hover {
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-2px);
}

.coordinador-card__foto--clickable {
    cursor: zoom-in;
    transition: transform 0.25s, box-shadow 0.25s;
}
.coordinador-card__foto--clickable:hover {
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(212,168,83,0.45);
}

/* Modal foto coordinador */
.coord-foto-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.coord-foto-modal.is-open {
    display: flex;
}
.coord-foto-modal__img {
    max-width: min(420px, 90vw);
    max-height: 90vh;
    border-radius: var(--radius);
    border: 3px solid var(--gold);
    object-fit: contain;
    box-shadow: 0 8px 48px rgba(0,0,0,0.7);
    animation: coordModalIn 0.22s ease;
}
.coord-foto-modal__caption {
    position: absolute;
    bottom: calc(50% - 260px);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--light);
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: none;
}
.coord-foto-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 1.75rem;
    color: var(--light);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.coord-foto-modal__close:hover { opacity: 1; }
@keyframes coordModalIn {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}

.coordinador-card__foto {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid var(--gold);
}

.coordinador-card__foto-placeholder {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--glass);
    border: 3px dashed var(--dark-border);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--light-muted);
}

.coordinador-card__nombre {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--light);
    margin-bottom: 0.25rem;
}

.coordinador-card__cargo {
    font-size: 0.8rem;
    color: var(--coral);
    font-weight: 600;
}

.coordinador-card__area {
    font-size: 0.75rem;
    color: var(--light-subtle);
    margin-top: 0.125rem;
}

/* ----------------------------------------
   TRAJES — TIMELINE HORIZONTAL
   ---------------------------------------- */
.trajes-timeline {
    position: relative;
    padding: 4rem 0 2rem;
    overflow-x: auto;
}

.trajes-timeline__track {
    display: flex;
    gap: 3rem;
    padding: 0 2rem;
    position: relative;
    min-width: max-content;
}

.trajes-timeline__line {
    position: absolute;
    top: calc(2rem + 20px);
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--coral), var(--gold), transparent);
}

.traje-node {
    position: relative;
    text-align: center;
    cursor: pointer;
    min-width: 200px;
}

.traje-node__dot {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--dark-card);
    border: 3px solid var(--gold);
    margin: 0 auto 1.5rem;
    transition: all var(--t-base);
    position: relative;
    z-index: 1;
}

.traje-node:hover .traje-node__dot,
.traje-node--active .traje-node__dot {
    border-color: var(--coral);
    background: var(--coral);
    box-shadow: var(--shadow-glow-coral);
}

.traje-node__img {
    width: 160px; height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 0 auto 1rem;
    border: 2px solid var(--dark-border);
    transition: all var(--t-base);
}

.traje-node:hover .traje-node__img {
    border-color: var(--coral);
    box-shadow: 0 8px 30px rgba(232, 93, 93, 0.3);
    transform: scale(1.02);
}

.traje-node__year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--coral);
    margin-bottom: 0.25rem;
}

.traje-node__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--light);
}

.traje-node__colors {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.5rem;
}

.traje-node__color-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid var(--dark-border);
}

/* ----------------------------------------
   TRAJES — DETALLE
   ---------------------------------------- */
.traje-detail__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 768px) {
    .traje-detail__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.traje-detail__swiper {
    border-radius: var(--radius);
    overflow: hidden;
    height: 500px;
}

.traje-detail__swiper .swiper-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.traje-detail__ficha {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 2rem;
}

.ficha-row {
    display: flex;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--dark-border);
}

.ficha-row:last-child { border-bottom: none; }

.ficha-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    min-width: 120px;
    flex-shrink: 0;
}

.ficha-value {
    font-size: 0.9rem;
    color: var(--light-muted);
    flex: 1;
}

/* ----------------------------------------
   GALERÍA — FOTOS (Masonry)
   ---------------------------------------- */
.galeria-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--light-muted);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: all var(--t-base);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(232, 93, 93, 0.15);
    border-color: var(--coral);
    color: var(--coral);
}

.galeria-masonry {
    column-count: 3;
    column-gap: 1rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.masonry-item:hover img {
    transform: scale(1.03);
    filter: brightness(0.7);
}

.masonry-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,5,8,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--t-base);
    flex-direction: column;
    gap: 0.5rem;
}

.masonry-item:hover .masonry-item__overlay { opacity: 1; }

.masonry-item__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    text-align: center;
    padding: 0 1rem;
}

/* ----------------------------------------
   GLIGHTBOX — caption de fotos (tema MVSJ)
   Las reglas usan !important porque el CSS de GLightbox se carga
   después de pages.css y gana en la cascada con igual especificidad.
   ---------------------------------------- */

/* Overlay de fondo */
.glightbox-clean .goverlay {
    background: rgba(5, 5, 8, 0.97) !important;
}

/* Contenedor del caption — fondo oscuro + línea superior degradada */
.glightbox-clean .gslide-description {
    background: #0d0d14 !important;
    padding: 0 !important;
    position: relative;
}
/* Línea superior coral→gold mediante pseudo-elemento */
.glightbox-clean .gslide-description::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #E85D5D 0%, #D4A853 100%);
    border-radius: 0;
    pointer-events: none;
}

/* Inner wrapper con padding generoso */
.glightbox-clean .gdesc-inner {
    padding: 1rem 1.75rem 1.25rem !important;
    font-family: 'Outfit', sans-serif !important;
}

/* Título: gradiente coral → gold */
.glightbox-clean .gslide-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    margin: 0 0 0.4rem !important;
    line-height: 1.35 !important;
    /* Gradiente de texto */
    background: linear-gradient(90deg, #FF7B7B 0%, #D4A853 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: #E85D5D !important; /* fallback navegadores sin clip */
}

/* Descripción (categoría): texto pequeño en mayúsculas */
.glightbox-clean .gslide-desc,
.glightbox-clean .gslide-desc p {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: rgba(245, 240, 234, 0.45) !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Botones de navegación ← → */
.glightbox-clean .gnext,
.glightbox-clean .gprev {
    background: rgba(13, 13, 20, 0.85) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    transition: background 0.3s ease, border-color 0.3s ease !important;
}
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
    background: rgba(232, 93, 93, 0.25) !important;
    border-color: #E85D5D !important;
}
.glightbox-clean .gnext svg path,
.glightbox-clean .gprev svg path {
    stroke: #F5F0EA !important;
}

/* Botón cerrar ✕ */
.glightbox-clean .gclose {
    background: rgba(13, 13, 20, 0.85) !important;
    border-radius: 50% !important;
    transition: background 0.3s ease !important;
}
.glightbox-clean .gclose:hover {
    background: rgba(232, 93, 93, 0.35) !important;
}
.glightbox-clean .gclose svg path {
    stroke: #F5F0EA !important;
}

/* ----------------------------------------
   GALERÍA — VIDEOS
   ---------------------------------------- */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--t-base);
    cursor: pointer;
}

.video-card:hover {
    border-color: rgba(232, 93, 93, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.video-card__thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: filter var(--t-base);
}

.video-card:hover .video-card__thumb img { filter: brightness(0.7); }

.video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card__play-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(232, 93, 93, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--t-base), background var(--t-base);
}

.video-card:hover .video-card__play-btn {
    background: var(--coral);
    transform: scale(1.1);
}

.video-card__body { padding: 1.25rem; }

.video-card__title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--light);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--light-muted);
}

/* ----------------------------------------
   EVENTOS
   ---------------------------------------- */
.eventos-filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    align-items: center;
}

.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.evento-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--t-base);
    display: flex;
    flex-direction: column;
}

.evento-card:hover {
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.evento-card__flyer {
    width: 100%; height: 200px;
    object-fit: cover;
    filter: brightness(0.8);
}

.evento-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.evento-card__date-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.evento-card__title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--light);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.evento-card__meta {
    font-size: 0.85rem;
    color: var(--light-muted);
    margin-bottom: 1rem;
    flex: 1;
}

/* ----------------------------------------
   ÚNETE — INSCRIPCIÓN
   ---------------------------------------- */
.unete-section {
    padding: var(--section-py) var(--section-px);
}

.unete-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: var(--container-max);
    margin: 0 auto;
}

.unete-section__beneficios {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.beneficio {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.beneficio__icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(232, 93, 93, 0.1);
    border: 1px solid rgba(232, 93, 93, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coral);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.beneficio__text strong { display: block; font-size: 0.95rem; color: var(--light); margin-bottom: 0.25rem; }
.beneficio__text p { font-size: 0.875rem; color: var(--light-muted); }

.unete-form {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.unete-form__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ----------------------------------------
   CONTACTO
   ---------------------------------------- */
.contacto-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: var(--container-max);
    margin: 0 auto;
}

.contacto-section__map {
    border-radius: var(--radius);
    overflow: hidden;
    height: 350px;
    margin-top: 2rem;
}

.contacto-filial-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.filial-tab {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--glass-border);
    color: var(--light-muted);
    background: var(--glass);
    cursor: pointer;
    transition: all var(--t-base);
}

.filial-tab:hover,
.filial-tab.active {
    border-color: var(--coral);
    color: var(--coral);
    background: rgba(232,93,93,0.1);
}

/* ----------------------------------------
   JURAMENTO
   ---------------------------------------- */
.juramento-section {
    padding: var(--section-py) var(--section-px);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.juramento-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(123,45,142,0.15) 0%, transparent 70%);
}

.juramento-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.juramento-text {
    font-family: var(--font-elegant);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.8;
    color: var(--light-muted);
    margin-bottom: 2rem;
}

.juramento-grito {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

/* ----------------------------------------
   VALORES
   ---------------------------------------- */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.valor-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all var(--t-base);
}

.valor-card:hover {
    border-color: rgba(212,168,83,0.3);
    transform: translateY(-4px);
}

.valor-card__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(232,93,93,0.15), rgba(123,45,142,0.15));
    border: 2px solid rgba(212,168,83,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--gold);
}

.valor-card__title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--light);
    margin-bottom: 0.75rem;
}

.valor-card__text {
    font-size: 0.9rem;
    color: var(--light-muted);
    line-height: 1.6;
}

/* ----------------------------------------
   ÉXITO DE INSCRIPCIÓN
   ---------------------------------------- */
.success-animation {
    text-align: center;
    padding: 3rem;
}

.success-animation__circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 2rem;
    color: white;
}

@keyframes successPop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.success-animation__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.success-animation__text {
    color: var(--light-muted);
    font-family: var(--font-elegant);
    font-style: italic;
}

/* ----------------------------------------
   PÁGINAS LEGALES
   ---------------------------------------- */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-content h2 {
    font-size: 1.75rem;
    color: var(--light);
    margin: 2rem 0 1rem;
}

.legal-content h3 {
    font-size: 1.15rem;
    color: var(--gold);
    margin: 1.5rem 0 0.75rem;
}

.legal-content p {
    color: var(--light-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    color: var(--light-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.legal-content li { margin-bottom: 0.5rem; list-style: disc; }
.legal-content ol li { list-style: decimal; }
