/* about.css — Pagina "Sobre Nosaltres" (diseño limpio vs-, contenido real) */

/* Anula la colisión con la sección .vs-about de la home (site.css): padding Y fondo oscuro heredados */
.vs-about { color: #20202e; padding: 0 !important; background: #fff !important; }
.vs-about section { padding: 84px 0; }
.vs-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.vs-about .eyebrow {
    display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: #c4365a; margin-bottom: 14px;
}
.vs-about h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; color: #14141f; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
.vs-about .section-intro { font-size: 1.12rem; line-height: 1.7; color: #555; max-width: 720px; margin: 0 0 8px; }
.vs-about .center { text-align: center; }
.vs-about .center .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- HERO ---------- */
.vs-about-hero {
    color: #fff; position: relative; overflow: hidden;
    padding: 140px 0 0 !important;
    background: linear-gradient(180deg, rgba(16,16,26,.86) 0%, rgba(16,16,26,.7) 45%, rgba(16,16,26,.9) 100%),
        url('https://campusversailles.com/wp-content/uploads/2026/03/academia-versailles-cursos-formatius-17.jpeg');
    background-size: cover; background-position: center;
}
/* (línea magenta superior eliminada) */
.vs-about-hero .badge {
    display:inline-block; padding:7px 16px; border-radius:50px; font-size:0.8rem; font-weight:700;
    letter-spacing:1px; text-transform:uppercase; background:rgba(196,54,90,0.2); color:#f3aebf; margin-bottom:22px;
}
.vs-about-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height:1.1; letter-spacing:-0.02em; margin:0 0 20px; max-width: 880px; }
.vs-about-hero p { font-size: 1.18rem; line-height:1.75; color: rgba(255,255,255,0.8); max-width: 760px; margin:0 auto 0 0; }
.vs-hero-stats {
    display:grid; grid-template-columns: repeat(3,1fr); gap:0; margin-top:64px;
    border-top:1px solid rgba(255,255,255,0.12);
}
.vs-hero-stats .stat { padding: 34px 20px; text-align:center; border-right:1px solid rgba(255,255,255,0.12); }
.vs-hero-stats .stat:last-child { border-right:none; }
.vs-hero-stats .num { font-size: clamp(2rem,5vw,3rem); font-weight:800; color:#fff; line-height:1; background:linear-gradient(135deg,#fff,#f3aebf); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.vs-hero-stats .lbl { font-size:0.92rem; color:rgba(255,255,255,0.65); margin-top:10px; }
@media (max-width:600px){ .vs-hero-stats{grid-template-columns:1fr; } .vs-hero-stats .stat{border-right:none;border-bottom:1px solid rgba(255,255,255,.12);} }

/* ---------- TIMELINE ---------- */
.vs-timeline { max-width: 820px; margin: 40px auto 0; position: relative; }
.vs-timeline::before { content:""; position:absolute; left:26px; top:6px; bottom:6px; width:2px; background: linear-gradient(#c4365a, #f3d3db); }
.vs-tl-item { position:relative; padding:0 0 38px 78px; }
.vs-tl-item:last-child { padding-bottom:0; }
.vs-tl-year {
    position:absolute; left:0; top:0; width:54px; height:54px; border-radius:50%;
    background: var(--vs-gradient,#c4365a); color:#fff; display:flex; align-items:center; justify-content:center;
    font-weight:800; font-size:0.82rem; box-shadow:0 6px 16px rgba(196,54,90,0.35); z-index:1;
}
.vs-tl-item h3 { font-size:1.2rem; font-weight:700; color:#14141f; margin:6px 0 8px; }
.vs-tl-item p { color:#555; line-height:1.7; margin:0; }

/* ---------- TARJETAS (MVV / features / arees) ---------- */
.vs-grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:44px; }
.vs-grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:44px; }
@media (max-width:900px){ .vs-grid-3{grid-template-columns:1fr;} .vs-grid-4{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .vs-grid-4{grid-template-columns:1fr;} }

.vs-card2 {
    background:#fff; border:1px solid #eceaf0; border-radius:18px; padding:34px 30px;
    box-shadow:0 6px 24px rgba(0,0,0,0.05); transition:transform .25s ease, box-shadow .25s ease;
}
.vs-card2:hover { transform:translateY(-6px); box-shadow:0 16px 40px rgba(196,54,90,0.12); }
.vs-card2 .mark {
    width:56px; height:56px; border-radius:14px; background:var(--vs-rose,#fdf2f4); color:#c4365a;
    display:flex; align-items:center; justify-content:center; font-size:1.4rem; font-weight:800; margin-bottom:20px;
}
.vs-card2.dark .mark { background:var(--vs-gradient,#c4365a); color:#fff; }
.vs-card2 h3 { font-size:1.25rem; font-weight:700; color:#14141f; margin:0 0 12px; }
.vs-card2 p { color:#555; line-height:1.7; margin:0; font-size:0.98rem; }

.vs-bg-soft { background:#faf7f8; }

/* ---------- FLIP CARDS (giran al fer clic / hover) ---------- */
.vs-flips { perspective:1600px; }
.vs-flip { position:relative; cursor:pointer; outline:none; }
.vs-flip-inner { position:relative; transform-style:preserve-3d; transition:transform .6s cubic-bezier(.4,0,.2,1); min-height:248px; }
.vs-flip.flipped .vs-flip-inner { transform:rotateY(180deg); }
@media (hover:hover){ .vs-flip:hover .vs-flip-inner { transform:rotateY(180deg); } }
.vs-flip:focus-visible .vs-flip-inner { transform:rotateY(180deg); }
.vs-flip-face { position:absolute; inset:0; -webkit-backface-visibility:hidden; backface-visibility:hidden; display:flex; flex-direction:column; border-radius:18px; padding:32px 30px; }
.vs-flip-front { background:#fff; border:1px solid #eceaf0; box-shadow:0 6px 24px rgba(0,0,0,.05); align-items:flex-start; }
.vs-flip-front .mark { width:56px; height:56px; border-radius:14px; background:var(--vs-rose,#fdf2f4); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.vs-flip-front .mark svg { width:28px; height:28px; fill:#c4365a; }
.vs-flip-front h3 { font-size:1.25rem; font-weight:700; color:#14141f; margin:0; }
.vs-flip-hint { margin-top:auto; display:inline-flex; align-items:center; gap:6px; color:#c4365a; font-weight:700; font-size:.85rem; padding-top:18px; }
.vs-flip-back { background:linear-gradient(150deg,#1a1a2e,#3a2230); color:#fff; transform:rotateY(180deg); justify-content:center; border:1px solid transparent; }
.vs-flip-back p { color:rgba(255,255,255,.92); line-height:1.65; margin:0; font-size:.98rem; }
.vs-flip-back .back-t { font-weight:700; color:#fff; margin:0 0 8px; font-size:1.05rem; }

/* ---------- CITA ---------- */
.vs-quote-band { background: var(--vs-dark,#1a1a2e); color:#fff; text-align:center; position:relative; }
.vs-quote-band::before {
    content:"\201C"; font-family:Georgia,serif; font-size:7rem; color:rgba(196,54,90,0.4);
    line-height:1; display:block; margin-bottom:-20px;
}
.vs-quote-band blockquote { font-size: clamp(1.4rem,3.2vw,2rem); font-weight:600; line-height:1.4; max-width:880px; margin:0 auto 22px; font-style:italic; }
.vs-quote-band cite { font-style:normal; color:#f3aebf; font-weight:700; letter-spacing:.5px; }

/* ---------- GALERIA ---------- */
.vs-gallery { display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:200px; gap:14px; margin-top:44px; }
.vs-gallery figure { position:relative; overflow:hidden; border-radius:14px; margin:0; }
.vs-gallery img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.vs-gallery figure:hover img { transform:scale(1.06); }
.vs-gallery figcaption {
    position:absolute; left:0; right:0; bottom:0; padding:16px 14px 12px; color:#fff; font-size:0.82rem; font-weight:600;
    background:linear-gradient(transparent, rgba(20,20,31,0.82)); opacity:0; transform:translateY(8px); transition:all .3s ease;
}
.vs-gallery figure:hover figcaption { opacity:1; transform:translateY(0); }
.vs-gallery .big { grid-column:span 2; grid-row:span 2; }
@media (max-width:900px){ .vs-gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:160px;} .vs-gallery .big{grid-column:span 2;grid-row:span 1;} }

/* ---------- XIFRES ---------- */
.vs-numbers { background: var(--vs-gradient, linear-gradient(135deg,#c4365a,#9e2b48)); color:#fff; }
.vs-numbers .grid { display:grid; grid-template-columns:repeat(4,1fr); gap:30px; text-align:center; }
.vs-numbers .num { font-size: clamp(2.2rem,5vw,3.2rem); font-weight:800; line-height:1; }
.vs-numbers .lbl { font-size:0.95rem; color:rgba(255,255,255,0.85); margin-top:12px; line-height:1.4; }
@media (max-width:760px){ .vs-numbers .grid{grid-template-columns:repeat(2,1fr); gap:34px 20px;} }

/* ---------- ON SOM ---------- */
.vs-location-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; margin-top:36px; }
@media (max-width:880px){ .vs-location-grid{grid-template-columns:1fr;} }
.vs-loc-list { display:grid; gap:18px; margin-top:24px; }
.vs-loc-list .row { display:flex; gap:14px; align-items:flex-start; }
.vs-loc-list .k { width:46px; height:46px; min-width:46px; border-radius:12px; background:var(--vs-rose,#fdf2f4); color:#c4365a; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:0.72rem; letter-spacing:.5px; }
.vs-loc-list .v { color:#2b2b38; line-height:1.55; padding-top:3px; }
.vs-loc-list .v a { color:#9e2b48; font-weight:600; text-decoration:none; }
.vs-loc-map { border-radius:18px; overflow:hidden; box-shadow:0 12px 40px rgba(0,0,0,.12); line-height:0; }
.vs-loc-map iframe { width:100%; height:340px; border:0; }

/* ---------- CTA FINAL ---------- */
.vs-about-cta { text-align:center; }
.vs-about-cta .box {
    background: var(--vs-gradient, linear-gradient(135deg,#c4365a,#9e2b48)); color:#fff;
    border-radius:26px; padding:60px 40px; box-shadow:0 20px 50px rgba(196,54,90,0.3);
}
.vs-about-cta h2 { color:#fff; }
.vs-about-cta p { color:rgba(255,255,255,0.9); max-width:620px; margin:0 auto 28px; font-size:1.1rem; line-height:1.6; }
.vs-about-cta .actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.vs-btn-light, .vs-btn-outline {
    display:inline-flex; align-items:center; gap:9px; padding:15px 30px; border-radius:50px; font-weight:700;
    text-decoration:none; transition:transform .2s ease, box-shadow .2s ease; font-size:1rem;
}
.vs-btn-light { background:#fff; color:#9e2b48; }
.vs-btn-outline { background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.7); }
.vs-btn-light:hover, .vs-btn-outline:hover { transform:translateY(-3px); box-shadow:0 10px 26px rgba(0,0,0,0.22); }
