.firma-page { overflow-x: hidden; background: var(--progreso-white); font-family: "Segoe UI", Arial, sans-serif; }
.firma-page p, .firma-page li { font-family: "Segoe UI", Arial, sans-serif !important; font-size: 15px !important; font-weight: 300 !important; font-synthesis: none; }
.firma-container { width: min(1320px, calc(100% - 96px)); margin: 0 auto; }
.firma-section { --section-divider: var(--progreso-white); position: relative; padding: 112px 0; }
.firma-section > .firma-container { position: relative; z-index: 5; }
.firma-section::after, .firma-section::before { content: ''; position: absolute; left: 0; width: 100%; clip-path: polygon(0 0, 50% 100%, 100% 0); pointer-events: none; }
.firma-section::after { z-index: 6; bottom: calc(0px - var(--progreso-v-depth)); height: var(--progreso-v-depth); background: var(--progreso-gold); }
.firma-section::before { z-index: 7; bottom: calc(var(--progreso-v-line) - var(--progreso-v-depth)); height: calc(var(--progreso-v-depth) - var(--progreso-v-line) + 2px); background: var(--section-divider); }
.firma-section--white { --section-divider: var(--progreso-white); background: var(--progreso-white); color: var(--progreso-ink); }
.firma-section--navy { --section-divider: var(--progreso-ink); background: var(--progreso-ink); color: var(--progreso-white); }
.firma-kicker { display: block; color: var(--progreso-gold-bright); font-size: 13px; font-weight: 900; letter-spacing: .22em; }
.firma-section--white .firma-kicker { color: var(--progreso-bronze); }
.firma-hero { position: relative; z-index: 8; min-height: 720px; margin-bottom: calc(0px - var(--progreso-v-depth)); display: flex; align-items: center; overflow: hidden; isolation: isolate; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--progreso-v-depth)), 50% 100%, 0 calc(100% - var(--progreso-v-depth))); background: var(--progreso-ink) url('/assets/images/hero/firma-progreso-centro.png') center / cover no-repeat; }
.firma-hero::before { display: none; }
.firma-hero::after { content: ''; position: absolute; left: 0; bottom: 0; z-index: 5; width: 100%; height: var(--progreso-v-depth); background: var(--progreso-gold); clip-path: polygon(0 0, 50% 100%, 100% 0, 50% calc(100% - var(--progreso-v-line))); pointer-events: none; }
.firma-hero__overlay { position: absolute; inset: 0; z-index: -1; background: rgba(8,13,23,.48); }
.firma-hero__content { width: min(1050px, calc(100% - 128px)); margin: 0 auto; padding: 130px 0 105px; text-align: center; transform: translateY(-120px); }
.firma-hero__content > span { display: block; margin: 0 auto; color: var(--progreso-gold-bright); font-size: 13px; font-weight: 900; letter-spacing: .24em; }
.firma-hero h1 { max-width: 920px; margin: 30px auto 0; color: var(--progreso-white); font: 700 clamp(74px, 8vw, 122px)/.92 "Segoe UI", Arial, sans-serif; }
.firma-hero__line { width: 94px; height: 4px; margin: 30px auto; border-radius: 4px; background: var(--progreso-gold); }
.firma-hero p { max-width: 900px; margin: 0 auto; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.65; letter-spacing: .01em; }
.firma-hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 32px; height: 46px; border: 1px solid rgba(255,255,255,.6); border-radius: 18px; transform: translateX(-50%); }
.firma-hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 9px; border-radius: 4px; background: var(--progreso-gold); transform: translateX(-50%); }
.firma-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.firma-intro h2, .firma-heading h2, .firma-role h2, .firma-contact h2 { margin: 22px 0 0; font: 700 clamp(42px, 4.5vw, 68px)/1.02 "Segoe UI", Arial, sans-serif; text-wrap: balance; }
.firma-intro__copy { padding-top: 30px; border-top: 1px solid rgba(255,255,255,.24); }
.firma-intro__copy p { margin: 0 0 22px; color: rgba(255,255,255,.79); font-size: 18px; line-height: 1.78; }
.firma-heading { max-width: 720px; }
.firma-heading--center { margin: 0 auto 58px; text-align: center; }
.firma-heading p { margin: 24px 0 0; color: var(--progreso-muted); font-size: 18px; line-height: 1.7; }
.firma-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.firma-card { min-height: 300px; padding: 36px 28px 34px; border: 1px solid rgba(213,165,91,.48); border-top: 7px solid var(--progreso-gold-bright); border-radius: 0 0 32px 32px; background: rgba(242,222,158,.24); box-shadow: 0 16px 34px rgba(8,13,23,.08); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.firma-card:hover { transform: translateY(-6px); border-color: var(--progreso-bronze); border-top-color: var(--progreso-gold); box-shadow: 0 22px 44px rgba(8,13,23,.13); }
.firma-card__number { color: var(--progreso-gold); font: 700 46px/1 "Segoe UI", Arial, sans-serif; }
.firma-card h3 { margin: 38px 0 14px; color: var(--progreso-navy); font-size: 21px; }
.firma-card p { margin: 0; padding: 0; color: var(--progreso-ink); font-size: 17px; line-height: 1.7; text-indent: 0; }
.firma-heading--light h2 { color: var(--progreso-white); }
.firma-heading--light p { color: rgba(255,255,255,.78); }
.firma-team { width: min(900px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.firma-member { position: relative; min-height: 0; padding: 10px 10px 16px; overflow: hidden; border: 1px solid rgba(213,165,91,.58); border-top: 3px solid var(--progreso-gold); border-radius: 16px; background: var(--progreso-white); box-shadow: 0 14px 30px rgba(0,0,0,.2); color: var(--progreso-ink); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.firma-member::after { content: ''; position: absolute; inset: 6px; pointer-events: none; border: 1px solid transparent; border-radius: 11px; transition: border-color .35s ease; }
.firma-member__photo { width: 100%; height: 165px; display: block; object-fit: cover; object-position: center 24%; border-radius: 10px; transition: transform .55s ease, filter .35s ease; }
.firma-member:hover { transform: translateY(-8px); border-color: var(--progreso-gold); box-shadow: 0 24px 46px rgba(0,0,0,.28), 0 0 0 1px rgba(241,201,116,.18); }
.firma-member:hover::after { border-color: rgba(241,201,116,.38); }
.firma-member:hover .firma-member__photo { transform: scale(1.035); filter: saturate(1.05) contrast(1.03); }
.firma-member__eyebrow { position: relative; z-index: 2; width: max-content; max-width: calc(100% - 24px); display: block; margin: -14px 12px 0; padding: 6px 10px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: var(--progreso-gold); box-shadow: 0 6px 16px rgba(8,13,23,.18); color: var(--progreso-ink); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.firma-member h3 { margin: 14px 12px 6px; color: var(--progreso-ink); font: 700 19px/1.15 "Segoe UI", Arial, sans-serif; }
.firma-member p { min-height: 38px; margin: 0 12px; color: var(--progreso-muted); font-size: 14px; font-weight: 300 !important; line-height: 1.35; }
.firma-member__record { display: block; margin: 10px 12px 0; padding-top: 9px; border-top: 1px solid rgba(213,165,91,.34); color: var(--progreso-bronze); font-size: 10px; font-weight: 300; letter-spacing: .05em; }
.firma-identity { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.firma-purpose, .firma-values { padding: 38px 34px; border: 1px solid rgba(213,165,91,.5); border-top: 5px solid var(--progreso-gold); border-radius: 0 0 28px 28px; background: rgba(242,222,158,.2); box-shadow: 0 16px 34px rgba(8,13,23,.08); }
.firma-purpose > span { color: var(--progreso-gold); font: 700 42px/1 "Segoe UI", Arial, sans-serif; }
.firma-purpose h3, .firma-values h3 { margin: 28px 0 16px; color: var(--progreso-navy); font: 700 32px/1.15 "Segoe UI", Arial, sans-serif; }
.firma-purpose p { color: var(--progreso-ink); font-size: 17px; font-weight: 300 !important; font-synthesis: none; line-height: 1.7; }
.firma-values li, .firma-values li * { color: var(--progreso-ink); font-family: "Segoe UI", Arial, sans-serif !important; font-size: 17px; font-style: normal !important; font-weight: 300 !important; font-synthesis: none; line-height: 1.7; }
.firma-purpose p { margin: 0; }
.firma-values { grid-column: 1 / -1; }
.firma-values h3 { margin-top: 18px; }
.firma-values ul { margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 36px; list-style: none; }
.firma-values li { position: relative; padding-left: 22px; }
.firma-values li::before { content: ''; position: absolute; top: .72em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--progreso-gold); }
.firma-section--image { --section-divider: var(--progreso-ink); z-index: 2; min-height: 818px; margin-bottom: calc(0px - var(--progreso-v-depth)); padding-bottom: 170px; display: flex; align-items: center; overflow: visible; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--progreso-v-depth)), 50% 100%, 0 calc(100% - var(--progreso-v-depth))); background-color: var(--progreso-ink); background-image: linear-gradient(90deg, rgba(8,13,23,.98) 0%, rgba(8,13,23,.93) 39%, rgba(8,13,23,.52) 63%, rgba(8,13,23,.2) 100%), url('/assets/images/hero/orientacion-progreso-claro.webp'); background-position: center; background-size: cover; background-repeat: no-repeat; color: var(--progreso-white); }
.firma-section--image::before { display: none; }
.firma-section--image::after { display: block; left: 0; bottom: 0; z-index: 6; width: 100%; height: var(--progreso-v-depth); background: var(--progreso-gold); clip-path: polygon(0 0, 50% 100%, 100% 0, 50% calc(100% - var(--progreso-v-line))); }
.firma-role { position: relative; display: block; }
.firma-role__content { max-width: 650px; }
.firma-role h2 { font-size: clamp(52px, 5.2vw, 82px); line-height: .98; }
.firma-role h2 strong { display: block; color: var(--progreso-gold-bright); font: inherit; }
.firma-role__line { width: 138px; height: 5px; margin: 34px 0; border-radius: 5px; background: var(--progreso-gold-bright); }
.firma-role__content p { max-width: 620px; margin: 0; color: rgba(255,255,255,.86); font-size: 19px; line-height: 1.75; }
.firma-role__actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 38px; }
.firma-button { min-height: 56px; margin-top: 0; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid rgba(255,255,255,.68); border-radius: 30px; color: var(--progreso-white); font-size: 12px; font-weight: 900; letter-spacing: .06em; transition: background .2s ease, color .2s ease; }
.firma-button:hover, .firma-button:focus-visible { background: var(--progreso-gold); color: var(--progreso-ink); }
.firma-journey { display: grid; grid-template-columns: .75fr 1.25fr; gap: 95px; align-items: start; }
.firma-timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.firma-timeline::before { content: ''; position: absolute; top: 30px; bottom: 30px; left: 28px; width: 1px; background: var(--progreso-border); }
.firma-timeline li { position: relative; min-height: 105px; display: grid; grid-template-columns: 58px 1fr; gap: 26px; }
.firma-timeline li > span { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--progreso-gold); border-radius: 50%; background: var(--progreso-white); color: var(--progreso-bronze); font-weight: 900; }
.firma-timeline h3 { margin: 5px 0 8px; color: var(--progreso-navy); font-size: 20px; }
.firma-timeline p { margin: 0; color: var(--progreso-muted); line-height: 1.55; }
.firma-contact { position: relative; z-index: 1; padding: calc(78px + var(--progreso-v-depth)) 0 78px; background: var(--progreso-navy); color: var(--progreso-white); }
.firma-contact__inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.firma-contact h2 { font-size: clamp(36px, 4vw, 58px); }
.firma-contact p { max-width: 720px; margin: 20px 0 0; color: rgba(255,255,255,.75); line-height: 1.7; }
.firma-contact__actions { display: flex; flex-direction: column; align-items: center; }
.firma-button--gold { margin-top: 0; background: var(--progreso-gold); color: var(--progreso-ink); }
.firma-button--gold:hover { background: var(--progreso-white); }
.firma-contact__phone { margin-top: 16px; color: var(--progreso-gold-bright); font-size: 20px; font-weight: 800; }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 1040px) {
    .firma-container { width: min(100% - 56px, 920px); }
    .firma-hero__content { width: min(100% - 56px, 920px); }
    .firma-hero__content > span { margin-left: 150px; }
    .firma-section { padding: 88px 0; }
    .firma-intro, .firma-journey { gap: 55px; }
    .firma-cards { grid-template-columns: repeat(2, 1fr); }
    .firma-team { width: min(660px, 100%); grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .firma-contact__inner { grid-template-columns: 1fr; }
    .firma-contact__actions { align-items: flex-start; }
    .firma-hero__content { transform: translateY(-65px); }
}
@media (max-width: 760px) {
    .firma-container { width: calc(100% - 30px); }
    .firma-section { padding: 72px 0; }
    .firma-hero { min-height: 720px; margin-bottom: calc(0px - var(--progreso-v-depth)); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--progreso-v-depth)), 50% 100%, 0 calc(100% - var(--progreso-v-depth))); background-position: center; }
    .firma-hero__overlay { display: block; background: rgba(8,13,23,.58); }
    .firma-hero__content { width: calc(100% - 30px); padding: 175px 0 90px; text-align: center; transform: translateY(-26px); }
    .firma-hero__content > span { margin: 0 auto; font-size: 10px; line-height: 1.55; }
    .firma-hero h1 { margin-top: 22px; font-size: clamp(62px, 18vw, 92px); }
    .firma-hero__line { margin: 24px auto; }
    .firma-hero p { font-size: 16px; line-height: 1.58; }
    .firma-intro, .firma-journey { grid-template-columns: 1fr; gap: 42px; }
    .firma-intro__copy { padding-top: 24px; }
    .firma-intro h2, .firma-heading h2, .firma-role h2 { font-size: clamp(38px, 11vw, 52px); }
    .firma-heading--center { margin-bottom: 40px; text-align: left; }
    .firma-cards { grid-template-columns: 1fr; }
    .firma-card { min-height: 0; }
    .firma-team { width: min(300px, 100%); grid-template-columns: 1fr; gap: 20px; }
    .firma-member__photo { height: 150px; }
    .firma-member { min-height: 0; }
    .firma-identity { grid-template-columns: 1fr; }
    .firma-values { grid-column: auto; }
    .firma-values ul { grid-template-columns: 1fr; }
    .firma-section--image { min-height: 0; padding-top: 390px; padding-bottom: 128px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--progreso-v-depth)), 50% 100%, 0 calc(100% - var(--progreso-v-depth))); background-image: linear-gradient(180deg, rgba(8,13,23,.04) 0, rgba(8,13,23,.12) 330px, var(--progreso-ink) 390px), url('/assets/images/hero/orientacion-progreso-claro.webp'); background-position: 70% top; background-size: auto 390px; }
    .firma-section--image::before { display: block; left: 0; bottom: 0; z-index: 5; width: 100%; height: var(--progreso-v-depth); background: url('/assets/images/hero/orientacion-progreso-claro.webp') center 76% / cover no-repeat; clip-path: polygon(0 0, 50% 100%, 100% 0); }
    .firma-role__content { max-width: none; }
    .firma-role h2 { font-size: clamp(46px, 13vw, 62px); }
    .firma-role__actions { flex-direction: column; }
    .firma-role__actions .firma-button { width: 100%; }
    .firma-contact__actions, .firma-button--gold { width: 100%; }
    .firma-button--gold { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .firma-hero__scroll { display: none; }
    [data-reveal] { opacity: 1; transform: none; }
    .firma-member, .firma-member__photo { transition: none; }
    .firma-member:hover { transform: none; }
    .firma-member:hover .firma-member__photo { transform: none; }
}
