@font-face { font-family: QS-Jost; src: url("assets/quienes-somos/fonts/Jost-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: QS-Jost; src: url("assets/quienes-somos/fonts/Jost-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: QS-Jost; src: url("assets/quienes-somos/fonts/Jost-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
body { margin: 0; }
.QS-page { --QS-ink: #15324e; --QS-paper: #fbfcfe; color: var(--QS-ink); background: var(--QS-paper); font: 400 clamp(17px, 1.55vw, 30px)/1.35 QS-Jost, Arial, sans-serif; overflow: hidden; }
.QS-page *, .QS-page *::before, .QS-page *::after { box-sizing: border-box; }
.QS-page p { margin: 0; }
.QS-page img { display: block; max-width: 100%; height: auto; }
.QS-container { width: 88%; max-width: 1690px; margin-inline: auto; }
.QS-intro { position: relative; min-height: 38.5vw; padding: 6.5vw 0 5.5vw; isolation: isolate; }
.QS-intro::before { content: ""; position: absolute; z-index: -1; right: 0; top: 0; width: 51.5%; height: 100%; background: url("assets/quienes-somos/img-banner.jpg") center / cover no-repeat; border-bottom-left-radius: 8vw; }
.QS-intro-inner { position: relative; }
.QS-intro-copy { width: 35%; }
.QS-intro h1 { width: 145%; margin: 0 0 1.7vw; font-size: clamp(32px, 4vw, 77px); font-weight: 500; line-height: 1.15; letter-spacing: .01em; white-space: nowrap; }
.QS-lead { font-weight: 500; margin-bottom: 1.7vw !important; }
.QS-services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.4vw; width: 65%; padding: 0; margin: 0; list-style: none; position: absolute; right: 0; top: 6.3vw; }
.QS-service { position: relative; border-radius: 15px; background: #e6e6e6; overflow: hidden; box-shadow: 4px 9px 5px #0003; }
.QS-service img { width: 100%; }
.QS-service h2 { position: absolute; bottom: 9%; left: 4%; right: 4%; margin: 0; text-align: center; font-size: 1em; font-weight: 500; line-height: 1.15; }
.QS-heading { font-size: clamp(34px, 3.7vw, 71px); font-weight: 600; line-height: 1.15; margin: 0 0 1.7vw; }
/* Proporciones de la maqueta original de 1920 px. */
.QS-mission { position: relative; z-index: 1; padding-top: 4.5vw; }
.QS-mission-layout { position: relative; display: grid; grid-template-columns: 1fr; row-gap: 2.5vw; }
.QS-mission-image { position: absolute; left: 0; bottom: 0; width: 50%; border-radius: 0 3vw 0 0; }
.QS-mission-copy { width: 42%; margin-left: 51%; text-align: right; position: relative; }
.QS-callout { background: var(--QS-ink); color: #fff; padding: 1.5vw 2.2vw; border-radius: 2vw; box-shadow: 0 4px 12px rgba(21,50,78,.10); }
.QS-mission-callout { position: relative; width: 56%; margin: 0 0 -4.5vw 33.5% !important; }
.QS-vision { background: url("assets/quienes-somos/fondo.jpg") center / 100% 100% no-repeat; padding: 7.2vw 0 4.5vw; }
.QS-vision-layout { width: 80%; display: grid; grid-template-columns: 49% 42%; column-gap: 6.5%; align-items: start; }
.QS-vision-copy { padding-top: 3vw; }
.QS-vision-copy > p:not(.QS-callout) { max-width: 100%; }
.QS-vision-callout { position: relative; z-index: 1; width: 45vw; max-width: 786px; margin: 3.7vw 0 0 7.5vw !important; }
.QS-team { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: .8vw; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.QS-team a { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.QS-team img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.QS-closing { grid-column: 1 / -1; text-align: center; margin-top: 4vw !important; }
@media(min-width:1921px) { .QS-intro-copy { width: 35%; } }
@media(max-width:1000px) {
 .QS-intro { padding-top: 48px; min-height: 520px; }
 .QS-intro-copy { width: 47%; }
 .QS-intro h1 { font-size: clamp(30px,4.3vw,44px); white-space: normal; width: 105%; }
 .QS-services { width: 100%; position: relative; top: auto; margin-top: 28px; gap: 20px; }
 .QS-service { max-width: 280px; }
 .QS-mission-layout { row-gap: 24px; }
 .QS-mission-copy { width: 44%; margin-left: 50%; }
 .QS-mission-callout { width: 62%; margin-left: 32% !important; margin-bottom: -45px !important; }
 .QS-callout { padding: 20px 24px; border-radius: 22px; }
 .QS-vision { padding-top: 80px; }
 .QS-vision-layout { width: 84%; grid-template-columns: 49% 44%; column-gap: 7%; }
 .QS-vision-callout { width: 100%; margin-left: 0 !important; }

}
@media(max-width:650px) {
 .QS-intro { padding: 40px 0 36px; }
 .QS-intro::before { width: 100%; top: 235px; height: calc(100% - 235px); border-radius: 50px 0 0 0; }
 .QS-intro-copy { width: 100%; }
 .QS-intro h1 { width: 100%; font-size: clamp(28px,7.5vw,42px); margin-bottom: 20px; }
 .QS-intro-copy p { max-width: 440px; }
 .QS-lead { margin-bottom: 18px !important; }
 .QS-services { grid-template-columns: 1fr; justify-items: center; gap: 24px; margin-top: 34px; }
 .QS-service { width: 100%; max-width: 300px; }
 .QS-service h2 { font-size: 22px; }
 .QS-mission { padding-top: 36px; }
 .QS-mission-layout { display: flex; flex-direction: column; padding: 0 6%; gap: 24px; }
 .QS-mission-copy { order: -1; width: 100%; margin-left: 0; text-align: left; }
 .QS-heading { font-size: 36px; margin-bottom: 18px; }
 .QS-mission-image { position: static; order: 1; width: calc(100% + 13.64%); max-width: none !important; align-self: center; border-radius: 0 28px 0 0; }
 .QS-mission-callout { width: 100%; margin: 0 !important; }
 .QS-vision { padding: 38px 0; background-size: cover; }
 .QS-vision-layout { display: flex; flex-direction: column; gap: 30px; }
 .QS-vision-copy { padding-top: 0; }
 .QS-vision-callout { width: 100%; margin: 24px 0 0 !important; }
 .QS-team { width: min(100%,420px); align-self: center; gap: 7px; }
 .QS-closing { margin-top: 0 !important; }

}

/* Pulso automático y escalonado de las tres tarjetas superiores. */
.QS-service { animation: QS-opacity-pulse 4.8s ease-in-out infinite; }
.QS-service:nth-child(2) { animation-delay: -1.6s; }
.QS-service:nth-child(3) { animation-delay: -3.2s; }
@keyframes QS-opacity-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}
@media (prefers-reduced-motion: reduce) {
  .QS-service { animation: none; opacity: 1; }
}

.QS-team a:focus-visible { outline: 4px solid #00b8c5; outline-offset: -5px; }
.QS-team a:hover img { filter: brightness(1.08); }
