/* =============================================
   QUIÉNES SOMOS — CSS v6
   Fondo unificado con orbes, sin cintas, sin amarillo
   ============================================= */

/* ── FONDO COMPARTIDO: hero + misión ─────────
   Círculos reales y definidos sobre crema    */
.qs-main {
    position: relative;
    background-color: #FFF8E0;
}

/* Contenedor de círculos */
.qs-bg-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

/* Base de todos los círculos — SIN blur, forma definida */
.qs-circle {
    position: absolute;
    border-radius: 50%;
}

/* Rosa — arriba derecha, grande */
.qsc-1 {
    width: 380px;
    height: 380px;
    background: rgba(255, 150, 180, 0.18);
    top: -80px;
    right: -80px;
}

/* Mint — abajo centro */
.qsc-2 {
    width: 320px;
    height: 320px;
    background: rgba(100, 210, 180, 0.18);
    top: 72%;
    left: 35%;
}

/* Amarillo — abajo izquierda */
.qsc-3 {
    width: 280px;
    height: 280px;
    background: rgba(255, 220, 60, 0.18);
    top: 82%;
    left: -60px;
}

/* Azul cielo — arriba izquierda */
.qsc-4 {
    width: 240px;
    height: 240px;
    background: rgba(120, 180, 255, 0.18);
    top: 5%;
    left: -50px;
}

/* Naranja — centro derecha */
.qsc-5 {
    width: 220px;
    height: 220px;
    background: rgba(255, 160, 70, 0.18);
    top: 45%;
    right: -50px;
}

/* Violeta — centro */
.qsc-6 {
    width: 200px;
    height: 200px;
    background: rgba(190, 140, 255, 0.18);
    top: 30%;
    left: 62%;
}

/* Durazno — izquierda media */
.qsc-7 {
    width: 180px;
    height: 180px;
    background: rgba(255, 180, 140, 0.18);
    top: 52%;
    left: 5%;
}

/* Teal — arriba centro */
.qsc-8 {
    width: 160px;
    height: 160px;
    background: rgba(60, 210, 200, 0.18);
    top: 3%;
    left: 48%;
}

/* Secciones 1 y 2: transparentes → ven el fondo de .qs-main */
.qs-hero,
.qs-mision {
    background: transparent;
}

/* Sección 3: fondo oscuro propio — se estira hasta llenar la pantalla */
.qs-diferenciadores {
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(255, 59, 124, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 80% 30%, rgba(0, 80, 255, 0.10) 0%, transparent 50%),
        linear-gradient(160deg, #12082A 0%, #1C1040 50%, #0D1B3E 100%);
}

.qs-diferenciadores .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.qs-diferenciadores::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.qs-diferenciadores .container {
    position: relative;
    z-index: 1;
}

.qs-diferenciadores .qs-section-title {
    color: #fff;
}

.qs-diferenciadores .qs-overline {
    color: rgba(255, 255, 255, 0.55);
}

/* ── HERO ─────────────────────────────────── */
.qs-hero {
    height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* ── MISIÓN ───────────────────────────────── */
.qs-mision {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.qs-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .qs-hero-inner {
        grid-template-columns: 1fr 1fr;
    }
}

.qs-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1.0;
    color: var(--text-dark);
    margin-bottom: 1.8rem;
}

.qs-title-accent {
    color: var(--accent-blue);
    text-shadow:
        -2px -2px 0 var(--text-dark),
         2px -2px 0 var(--text-dark),
        -2px  2px 0 var(--text-dark),
         2px  2px 0 var(--text-dark),
         5px  5px 0 rgba(0, 0, 0, 0.08);
    display: block;
}

.qs-lead {
    font-size: 1.15rem;
    line-height: 1.85;
    color: #3a3550;
    max-width: 560px;
    margin-bottom: 2.5rem;
}

.qs-lead em {
    color: var(--accent-blue);
    font-style: italic;
    font-weight: 700;
}

.qs-lead strong {
    color: var(--accent-pink);
    font-weight: 800;
}

.qs-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.qs-hero-ctas .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 50px;
    border-width: 3px;
    text-transform: none;
    letter-spacing: normal;
}

/* Vinilo giratorio */
.qs-hero-deco {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.qs-deco-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.qs-vinyl {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: conic-gradient(#1E1B2E 0deg, #2a263e 30deg, #1E1B2E 60deg,
            #2a263e 90deg, #1E1B2E 120deg, #2a263e 150deg,
            #1E1B2E 180deg, #2a263e 210deg, #1E1B2E 240deg,
            #2a263e 270deg, #1E1B2E 300deg, #2a263e 330deg, #1E1B2E 360deg);
    border: 6px solid var(--text-dark);
    box-shadow: 0 0 0 3px var(--accent-pink), 8px 8px 0 #C0BDCF;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: vinyl-spin 8s linear infinite;
}

@keyframes vinyl-spin {
    to {
        transform: rotate(360deg);
    }
}

.qs-vinyl-inner {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-pink);
    border: 4px solid var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: vinyl-spin 8s linear infinite reverse;
}

/* Ecualizador */
.qs-waveform {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
}

.qs-waveform span {
    width: 8px;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(to top, var(--accent-pink), var(--accent-yellow));
    animation: qs-bar var(--d, 0.6s) ease-in-out infinite alternate;
}

.qs-waveform span:nth-child(1) {
    height: 20px;
    --d: 0.50s;
}

.qs-waveform span:nth-child(2) {
    height: 40px;
    --d: 0.70s;
}

.qs-waveform span:nth-child(3) {
    height: 55px;
    --d: 0.40s;
}

.qs-waveform span:nth-child(4) {
    height: 35px;
    --d: 0.65s;
}

.qs-waveform span:nth-child(5) {
    height: 50px;
    --d: 0.55s;
}

.qs-waveform span:nth-child(6) {
    height: 25px;
    --d: 0.45s;
}

.qs-waveform span:nth-child(7) {
    height: 60px;
    --d: 0.60s;
    background: linear-gradient(to top, var(--accent-blue), var(--accent-mint));
}

.qs-waveform span:nth-child(8) {
    height: 45px;
    --d: 0.50s;
}

.qs-waveform span:nth-child(9) {
    height: 30px;
    --d: 0.70s;
}

.qs-waveform span:nth-child(10) {
    height: 55px;
    --d: 0.40s;
    background: linear-gradient(to top, var(--accent-mint), var(--accent-yellow));
}

.qs-waveform span:nth-child(11) {
    height: 20px;
    --d: 0.60s;
}

.qs-waveform span:nth-child(12) {
    height: 48px;
    --d: 0.55s;
}

.qs-waveform span:nth-child(13) {
    height: 38px;
    --d: 0.45s;
}

.qs-waveform span:nth-child(14) {
    height: 58px;
    --d: 0.70s;
    background: linear-gradient(to top, var(--accent-pink), var(--accent-blue));
}

.qs-waveform span:nth-child(15) {
    height: 28px;
    --d: 0.50s;
}

.qs-waveform span:nth-child(16) {
    height: 42px;
    --d: 0.60s;
}

.qs-waveform span:nth-child(17) {
    height: 52px;
    --d: 0.40s;
}

.qs-waveform span:nth-child(18) {
    height: 18px;
    --d: 0.65s;
}

.qs-waveform span:nth-child(19) {
    height: 46px;
    --d: 0.55s;
}

.qs-waveform span:nth-child(20) {
    height: 32px;
    --d: 0.50s;
}

@keyframes qs-bar {
    0% {
        transform: scaleY(0.3);
        opacity: 0.7;
    }

    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* ── MISIÓN ───────────────────────────────── */
.qs-mision {
    padding: 4rem 0 6rem;
}

.qs-mision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .qs-mision-grid {
        grid-template-columns: 340px 1fr;
        gap: 5rem;
    }
}

/* Tarjeta izquierda — contorno negro, sombra gris pastel */
.qs-icon-card {
    background: rgba(255, 255, 255, 0.85);
    border: 3px solid #1E1B2E;
    border-radius: var(--diy-radius-1);
    box-shadow: 6px 6px 0px #D0D2DB;
    padding: 1.2rem;
    text-align: center;
    overflow: hidden;
}

/* Imagen del colegio dentro del recuadro */
.qs-icon-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Placeholder visible cuando no hay imagen */
.qs-card-placeholder {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    background: linear-gradient(135deg, #E8F0FF, #C8DBFF);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #888;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.qs-card-placeholder i {
    font-size: 2.5rem;
    opacity: 0.5;
}

.qs-stat-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    color: var(--accent-pink);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.qs-stat-label {
    font-weight: 700;
    color: #888;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.qs-tag-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2rem;
    justify-content: center;
}

.qs-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    border: 2px solid var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    box-shadow: 2px 2px 0 #C0BDCF;
    transition: transform 0.15s;
}

.qs-tag:hover {
    transform: translate(-1px, -1px);
}

.qs-overline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 0.8rem;
}

.qs-section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1.8rem;
    color: var(--text-dark);
}

.qs-body-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #3a3550;
    margin-bottom: 1.4rem;
}

.qs-body-text strong {
    color: var(--text-dark);
    font-weight: 800;
}

/* Pull quote — diseño aprobado */
.qs-pull-quote {
    background: #fff;
    border-radius: 16px;
    border: 2.5px solid #1E1B2E;
    padding: 1.8rem 2rem;
    margin-top: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-dark);
}

.qs-pull-quote em {
    color: var(--accent-pink);
    font-style: italic;
    font-weight: 800;
}

.qs-pull-quote-mark {
    font-size: 2.5rem;
    color: var(--accent-pink);
    font-family: Georgia, serif;
    line-height: 0.8;
    display: block;
    margin-bottom: 0.4rem;
}

.qs-pull-quote-footer {
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 2px dashed rgba(255, 59, 124, 0.3);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.qs-pull-quote-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-pink);
    flex-shrink: 0;
}

.qs-pull-quote-label {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
}

/* ── DIFERENCIADORES ─────────────────────── */
.qs-diferenciadores {
    padding: 6rem 0;
}

.qs-section-header {
    margin-bottom: 3.5rem;
}

.qs-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .qs-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .qs-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Glassmorphism oscuro para los cards — sobre el fondo claro se ve bonito */
.qs-dif-card {
    background: rgba(30, 27, 46, 0.82);
    backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qs-dif-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(192, 189, 207, 0.4);
}

.qs-dif-card--accent {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(30, 27, 46, 0.90);
}

.qs-dif-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 12px rgba(192, 189, 207, 0.6);
}

.qs-dif-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.07);
    position: absolute;
    top: 0.8rem;
    right: 1.2rem;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.qs-dif-card h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.qs-dif-card p {
    font-size: 0.93rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.68);
}

.qs-dif-card p strong {
    color: rgba(255, 255, 255, 0.95);
}

/* ── GALERÍA DE FOTOS ─────────────────────── */
.qs-fotos {
    padding: 6rem 0;
}

.qs-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {

    /* 5 fotos del mismo tamaño en 3 columnas, ninguna se hace grande */
    .qs-photo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.qs-photo-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 3px solid var(--text-dark);
    border-radius: 12px;
    padding: 0.85rem;
    box-shadow: 4px 4px 0 #C0BDCF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qs-photo-card:hover {
    box-shadow: 6px 6px 0 #C0BDCF;
    transform: translateY(-4px) rotate(0deg) !important;
}

.qs-photo-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.38);
    overflow: hidden;
}

.qs-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.qs-photo-caption {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-top: 0.6rem;
    letter-spacing: 0.3px;
}

.qs-photo-hint {
    display: block;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #999;
    background: rgba(0, 0, 0, 0.04);
    border: 1px dashed #ccc;
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
}

.qs-photo-hint code {
    background: rgba(0, 0, 0, 0.07);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* ── CTA FINAL ────────────────────────────── */
.qs-cta {
    padding: 2rem 0 6rem;
}

/* Cambia de amarillo a azul profundo con acento rosa */
.qs-cta-box {
    background: linear-gradient(135deg, #1C1040 0%, #0D1B3E 60%, #12082A 100%);
    border: var(--diy-border);
    border-radius: var(--diy-radius-3);
    box-shadow: var(--shadow-solid);
    padding: 4.5rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Orbe decorativo dentro del CTA */
.qs-cta-box::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 59, 124, 0.25) 0%, transparent 70%);
    top: -100px;
    right: -80px;
    pointer-events: none;
}

.qs-cta-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--diy-radius-3);
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}