/* =========================================================
   PSM – Landing NOSOTROS (Fase 4A.2)
   Solo se carga en la plantilla templates/page-about.php. Prefijo: .psm-about-
   ========================================================= */
.psm-about { overflow-x: clip; }
.psm-about-line { display: block; }
.psm-about-amber { color: var(--psm-performance-amber); }
.psm-about-blue { color: #1E88E5; }
.psm-about-eyebrow { margin: 0 0 12px; font-size: .8125rem; font-weight: 600; line-height: 1.6; letter-spacing: .38em; text-transform: uppercase; color: var(--psm-deep-navy); }
.psm-about-eyebrow--light { color: rgba(255,255,255,.92); font-weight: 500; }
.psm-about-eyebrow--bar::before, .psm-about-bar::before { content: ""; display: block; width: 52px; height: 4px; margin-bottom: 18px; background: var(--psm-performance-amber); border-radius: 2px; }
.psm-about-side { position: relative; flex-shrink: 0; max-width: calc(20em + 34px); margin: 0; padding-left: 34px; font-size: .8125rem; font-weight: 600; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.psm-about-side::before { content: ""; position: absolute; left: 8px; top: 3px; width: 5px; height: 34px; background: var(--psm-performance-amber); transform: skewX(-22deg); }

/* ---------- Hero ---------- */
.psm-about-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(120deg, #0B1626 0%, #0E1B2D 45%, #143459 100%); }
.psm-about-hero-media { position: absolute; inset: 0; z-index: -2; }
.psm-about-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.psm-about-hero.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,22,38,.96) 0%, rgba(11,22,38,.86) 40%, rgba(14,27,45,.35) 64%, rgba(14,27,45,.1) 100%); }
.psm-about-hero-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; min-height: 350px; padding-top: 34px; padding-bottom: 46px; }
.psm-about-hero-content { max-width: 700px; }
.psm-about-hero-title { margin: 0; font-family: var(--font-headings); font-weight: 700; font-size: clamp(2.125rem, 3.3vw, 2.875rem); line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.psm-about-hero-highlight { display: block; color: var(--psm-performance-amber); }
.psm-about-hero-text { margin: 20px 0 0; max-width: 62ch; font-size: 1.0625rem; line-height: 1.5; color: rgba(255,255,255,.94); }
.psm-about-hero .psm-about-side { margin-top: 42px; }

/* ---------- Cómo se construye una máquina ---------- */
.psm-about-machine { background: #fff; }
.psm-about-machine-inner { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: 20px; align-items: center; padding-top: 50px; padding-bottom: 46px; }
.psm-about-machine-text { position: relative; z-index: 2; }
.psm-about-machine-title { margin: 0; font-family: var(--font-headings); font-weight: 700; font-size: clamp(1.875rem, 2.7vw, 2.375rem); line-height: 1.12; letter-spacing: -.015em; color: var(--psm-deep-navy); }
.psm-about-machine-desc { margin: 22px 0 0; max-width: 42ch; font-size: 1.0625rem; line-height: 1.55; color: #4A5563; }
.psm-about-machine-visual { position: relative; padding: 46px 120px 56px 70px; }
.psm-about-machine-figure { margin: 0; position: relative; }
.psm-about-machine-img { display: block; width: 100%; height: auto; }
.psm-about-machine-figure.is-fallback { aspect-ratio: 2 / 1; border: 1px dashed #C9D6E4; border-radius: 6px; background:
    linear-gradient(rgba(14,27,45,.05) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(14,27,45,.05) 1px, transparent 1px) 0 0 / 22px 100%, #F8FAFC; display: flex; align-items: center; justify-content: center; }
.psm-about-machine-placeholder { color: rgba(14,27,45,.18); }
.psm-about-callouts { list-style: none; margin: 0; padding: 0; }
.psm-about-callout { position: absolute; display: flex; align-items: center; gap: 10px; }
.psm-about-callout-icon { flex-shrink: 0; display: flex; color: #1E88E5; }
.psm-about-callout-label { max-width: 11em; font-family: var(--font-headings); font-size: .8125rem; font-weight: 700; line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; color: var(--psm-deep-navy); }
/* Posiciones del diseño aprobado (relativas al bloque visual) */
.psm-about-callout.is-pos-1 { left: 6%;  top: 0; }
.psm-about-callout.is-pos-2 { left: 42%; top: 0; }
.psm-about-callout.is-pos-3 { right: 4%; top: 6%; }
.psm-about-callout.is-pos-4 { right: 0;  top: 30%; }
.psm-about-callout.is-pos-5 { right: 0;  bottom: 2%; }
.psm-about-callout.is-pos-6 { left: 38%; bottom: 0; }
.psm-about-callout.is-pos-7 { left: -6%; bottom: 2%; }

/* ---------- Ahí entra PSM ---------- */
.psm-about-role { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(110deg, #0B1626 0%, #0E1B2D 55%, #13294A 100%); }
.psm-about-role-media { position: absolute; inset: 0; z-index: -2; }
.psm-about-role-img { width: 100%; height: 100%; object-fit: cover; }
.psm-about-role.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,22,38,.86); }
.psm-about-role-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 36px; align-items: center; padding-top: 38px; padding-bottom: 38px; }
.psm-about-role-title { margin: 0; font-family: var(--font-headings); font-weight: 700; font-size: clamp(2.25rem, 3.8vw, 3.25rem); line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.psm-about-role-desc { margin: 14px 0 0; max-width: 58ch; font-size: 1rem; line-height: 1.55; color: rgba(255,255,255,.92); }
.psm-about-axes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); }
.psm-about-axis { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 14px; }
.psm-about-axis::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.22); }
.psm-about-axis-icon { display: flex; color: #2F9BFF; margin-bottom: 14px; }
.psm-about-axis:nth-child(4) .psm-about-axis-icon { color: var(--psm-performance-amber); }
.psm-about-axis-icon img { width: 40px; height: 40px; object-fit: contain; }
.psm-about-axis-title { margin: 0; font-family: var(--font-headings); font-size: .9375rem; font-weight: 700; line-height: 1.3; color: #fff; }
.psm-about-axis-text { margin: 6px 0 0; font-size: .8125rem; line-height: 1.4; color: rgba(255,255,255,.78); }

/* ---------- Proceso técnico ---------- */
.psm-about-process { background: #fff; padding: 38px 0 30px; }
.psm-about-process-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: end; margin-bottom: 28px; }
.psm-about-process-title { margin: 0; font-family: var(--font-headings); font-weight: 700; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.15; color: var(--psm-deep-navy); }
.psm-about-process-intro { margin: 0 0 12px; font-size: 1.0625rem; line-height: 1.55; color: #4A5563; }
.psm-about-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; counter-reset: none; }
.psm-about-step { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #E3E8EE; border-radius: 4px; box-shadow: 0 6px 18px rgba(14,27,45,.06); }
.psm-about-step-media { position: relative; aspect-ratio: 2.3 / 1; overflow: hidden; border-radius: 4px 4px 0 0; background: #E9EEF4; }
.psm-about-step-img { width: 100%; height: 100%; object-fit: cover; }
.psm-about-step-media.is-fallback { background:
    linear-gradient(rgba(14,27,45,.05) 1px, transparent 1px) 0 0 / 100% 20px,
    linear-gradient(90deg, rgba(14,27,45,.05) 1px, transparent 1px) 0 0 / 20px 100%, linear-gradient(135deg, #F4F7FA 0%, #E3EAF2 100%); }
.psm-about-step-placeholder { position: absolute; right: 14px; bottom: 10px; color: rgba(14,27,45,.16); }
.psm-about-step-num { position: absolute; left: 0; top: 0; padding: 4px 14px 6px; background: rgba(255,255,255,.95); border-radius: 0 0 6px 0; font-family: var(--font-headings); font-weight: 700; font-size: 1.75rem; line-height: 1.1; color: #6B7785; }
.psm-about-step-body { padding: 16px 18px 20px; }
.psm-about-step-title { margin: 0 0 8px; font-family: var(--font-headings); font-size: 1.0625rem; font-weight: 700; line-height: 1.25; color: var(--psm-deep-navy); }
.psm-about-step-text { margin: 0; font-size: .875rem; line-height: 1.45; color: #4A5563; }
.psm-about-step-arrow { position: absolute; right: -32px; top: 42%; display: flex; color: #1E88E5; }

/* ---------- Respaldo operativo ---------- */
.psm-about-support { position: relative; overflow: hidden; isolation: isolate; color: #fff; margin-top: 30px; background: linear-gradient(110deg, #0B1626 0%, #0E1B2D 50%, #1B3350 100%); }
.psm-about-support-media { position: absolute; inset: 0; z-index: -2; }
.psm-about-support-img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.psm-about-support.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,22,38,.97) 0%, rgba(11,22,38,.88) 40%, rgba(14,27,45,.3) 66%, rgba(14,27,45,.1) 100%); }
.psm-about-support-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-top: 30px; padding-bottom: 38px; }
.psm-about-support-content { max-width: 620px; }
.psm-about-support .psm-about-eyebrow { letter-spacing: .3em; font-size: .75rem; }
.psm-about-support-title { margin: 0; font-family: var(--font-headings); font-weight: 700; font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.1; letter-spacing: -.015em; color: #fff; }
.psm-about-support-text { margin: 16px 0 0; max-width: 56ch; font-size: 1rem; line-height: 1.5; color: rgba(255,255,255,.94); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .psm-about-side { display: none; }
    .psm-about-machine-inner { grid-template-columns: minmax(0, 1fr); }
    .psm-about-machine-visual { padding: 50px 110px 56px; }
    .psm-about-callout.is-pos-7 { left: 0; }
    .psm-about-role-inner { grid-template-columns: minmax(0, 1fr); }
    .psm-about-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .psm-about-step-arrow { display: none; }
}
@media (max-width: 767px) {
    .psm-about-eyebrow { letter-spacing: .24em; font-size: .75rem; }
    .psm-about-hero.has-bg::before { background: linear-gradient(180deg, rgba(11,22,38,.8) 0%, rgba(11,22,38,.92) 60%, rgba(11,22,38,.96) 100%); }
    .psm-about-hero-inner { min-height: 0; padding-top: 22px; padding-bottom: 34px; }
    .psm-about-hero-title { font-size: 1.875rem; }
    .psm-about-hero-text { font-size: 1rem; }
    .psm-about-machine-inner { padding-top: 36px; padding-bottom: 34px; }
    .psm-about-machine-desc { font-size: 1rem; }
    /* Diagrama móvil: imagen + lista de sistemas (mismas llamadas, sin posiciones absolutas) */
    .psm-about-machine-visual { padding: 0; }
    .psm-about-callouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
    .psm-about-callout, .psm-about-callout[class*="is-pos-"] { position: static; padding: 10px 12px; border: 1px solid #E3E8EE; border-radius: 4px; background: #F8FAFC; }
    .psm-about-callout-icon svg { width: 24px; height: 24px; }
    .psm-about-callout-label { font-size: .75rem; }
    .psm-about-role-inner { padding-top: 34px; padding-bottom: 30px; gap: 22px; }
    .psm-about-axes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .psm-about-axis:nth-child(odd)::before { display: none; }
    .psm-about-axis:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
    .psm-about-process-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .psm-about-process-intro { font-size: 1rem; margin: 0; }
    .psm-about-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .psm-about-support { margin-top: 20px; }
    .psm-about-support-inner { padding-top: 32px; padding-bottom: 38px; }
}
