:root {
  --brand-blue: #0A3C84;
  --brand-blue-hover: #082C62;
  --accent-gold: #F59D21;
  --bg-bone-base: #FAF9F5;
  --bg-bone-section: #F2EFEB;
  --bg-card: #FFFFFF;
  --bg-card-hover: #EAECEF;
  --card-border: #E2E8F0;
  --card-border-hover: #94A3B8;
  --text-ink: #172033;
  --text-muted: #475569;
}
html:has(body.nosotros-page) { background: var(--brand-blue-hover); }
html { scroll-behavior: smooth; }
body.nosotros-page { background: var(--bg-bone-base); color: var(--text-ink); overflow-x: hidden; }
body.nosotros-page img { transition: transform .45s cubic-bezier(.22,.61,.36,1); }
body.nosotros-page img:hover { transform: scale(1.08) !important; }
.nosotros-page .editorial-section.bg-white, .nosotros-page .editorial-section.bg-slate-50 { background: var(--bg-bone-base); }
.nosotros-page .editorial-section.bg-slate-100 { background: var(--bg-bone-section); }
.nosotros-shell { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.nosotros-hero { background: linear-gradient(115deg, var(--brand-blue-hover), var(--brand-blue)); min-height: 570px; display: grid; align-items: center; overflow: hidden; }
.nosotros-hero-grid { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-block: 7rem 6rem; }

.display-title { font-family: var(--heading-font); font-size: clamp(3.3rem, 8vw, 7.5rem); line-height: .94; letter-spacing: -.065em; font-weight: 800; max-width: 900px; margin-top: 1.2rem; }
.display-title em { color: var(--bg-bone-base); font-style: normal; }
.hero-copy { color: var(--bg-bone-base); font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.7; max-width: 680px; margin: 2rem 0; }
.editorial-button { display: inline-flex; align-items: center; gap: .7rem; background: var(--brand-blue); color: #fff; border: 0; border-radius: 999px; padding: .9rem 1.3rem; font-size: .8rem; font-weight: 800; transition: transform .2s ease, filter .2s ease; }
.editorial-button:hover { transform: translateY(-2px); filter: brightness(1.12); }
.editorial-button.light { background: #fff; color: var(--brand-blue); }
.hero-mark { width: 190px; height: 190px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-content: center; color: #fff; transform: rotate(12deg); flex-shrink: 0; }
.hero-mark span { font-size: 4rem; font-weight: 800; letter-spacing: -.12em; }.hero-mark i { color: var(--bg-bone-base); margin: .5rem auto 0; }
.panorama { min-height: 360px; position: relative; background: var(--brand-blue-hover); }
.scroll-zoom-frame { position: absolute; inset: 0; overflow: hidden; background: var(--brand-blue-hover); }
.scroll-zoom-media { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.18); transform-origin: center center; will-change: transform; }
.panorama-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,44,98,.68)); pointer-events: none; }
.panorama-caption { position: relative; min-height: 360px; display: flex; align-items: end; gap: 1rem; padding-bottom: 2rem; color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.panorama-line { height: 1px; width: 80px; background: var(--bg-bone-base); }
.editorial-section { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.values-commitment-section { padding-bottom: 0; }
.editorial-two-col, .history-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 8vw, 8rem); }
.editorial-two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.section-title { color: var(--brand-blue-hover); font-family: var(--heading-font); font-size: clamp(2.5rem, 5vw, 5.4rem); letter-spacing: -.06em; line-height: .98; font-weight: 800; max-width: 620px; margin-top: 1rem; }
.section-title, .value-item h3, .benefit-card h3, .agreement-card h3, .founder-item strong { overflow-wrap: anywhere; }
.prose-copy { font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.85; color: var(--text-muted); white-space: pre-line; overflow-wrap: anywhere; }
.event-policy { grid-column: 2; max-width: 760px; padding: 1.6rem 0; margin-top: 2rem; }
.event-policy h3 { color: var(--brand-blue); font-size: 1rem; line-height: 1.3; font-weight: 700; margin: .55rem 0 .7rem; }
.event-policy p:last-child { color: var(--text-muted); font-size: clamp(.875rem, 1.1vw, .9375rem); font-weight: 400; line-height: 1.7; white-space: pre-line; margin: 0; }
.history-panel-inner, .history-panel-inner > *, .value-item, .benefit-card, .agreement-card, .commitment-grid, .founder-item { min-width: 0; }
.editorial-image-story { padding-top: 0; }.editorial-image-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 8vw, 8rem); align-items: center; }.editorial-photo-tall { min-height: 560px; position: relative; overflow: hidden; }.editorial-image-copy { max-width: 520px; }.editorial-image-copy .section-title { margin-bottom: 1.5rem; }
.editorial-photo-divider { min-height: 310px; position: relative; overflow: hidden; background: var(--brand-blue-hover); }
.editorial-photo-bridge { background: var(--bg-bone-section); padding: clamp(4rem, 8vw, 7rem) 0; }.editorial-photo-bridge-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 8vw, 7rem); }.editorial-photo-bridge-media { min-height: 400px; position: relative; overflow: hidden; }
.founders-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; }.founders-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }.founder-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--card-border); }.founder-initials { width: 3.5rem; height: 3.5rem; border: 2px solid var(--brand-blue); border-radius: 50%; display: grid; place-items: center; color: var(--brand-blue); font-weight: 800; }.founder-item span:last-child { display: grid; gap: .25rem; }.founder-item strong { color: var(--brand-blue-hover); font-size: .9rem; }.founder-item small { color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; font-size: .6rem; font-weight: 800; }
.mission-section { display: grid; grid-template-columns: 1fr 1fr; }.mission-block { min-height: 430px; padding: clamp(3rem, 8vw, 7rem); display: flex; flex-direction: column; justify-content: center; }.mission-block h2 { font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -.07em; line-height: .9; margin: 1rem 0 1.5rem; font-weight: 800; }.mission-block p:last-child { max-width: 560px; font-size: 1.1rem; line-height: 1.8; }.mission-light { background: var(--bg-bone-section); color: var(--brand-blue-hover); }.mission-blue { background: var(--brand-blue); color: #fff; }.mission-blue p:last-child { color: var(--bg-bone-base); }
.section-intro { display: flex; justify-content: space-between; gap: 3rem; align-items: end; margin-bottom: 4rem; }.values-grid, .benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--card-border); border: 1px solid var(--card-border); }.value-item { background: var(--bg-card); padding: 2rem; min-height: 210px; }.value-item i { color: var(--brand-blue); font-size: 1.4rem; }.value-item h3, .benefit-card h3, .agreement-card h3 { color: var(--brand-blue-hover); font-size: 1.1rem; font-weight: 800; margin-top: 1.5rem; }.value-item p, .benefit-card p, .agreement-card p { color: var(--text-muted); line-height: 1.65; margin-top: .6rem; }
.commitment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 5rem; }.commitment-grid h3 { font-size: 1.5rem; color: var(--brand-blue-hover); font-weight: 800; margin-bottom: 1.4rem; }.commitment-grid li { display: flex; gap: .75rem; margin: .9rem 0; color: var(--text-muted); line-height: 1.55; }.commitment-grid li i { color: var(--brand-blue); margin-top: .25rem; }
.benefit-card, .agreement-card { background: var(--bg-card); padding: 1.6rem; min-height: 245px; }.benefit-icon, .agreement-logo { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-card-hover); color: var(--brand-blue); display: grid; place-items: center; font-size: 1.2rem; overflow: hidden; }.benefit-icon img, .agreement-logo img { width: 100%; height: 100%; object-fit: contain; }.benefit-card h3 { margin-top: 0; }.category-label, .agreement-heading p { color: var(--card-border-hover) !important; text-transform: uppercase; letter-spacing: .12em; font-size: .65rem !important; font-weight: 800; }.plan-badge { color: var(--brand-blue); background: var(--bg-card-hover); border-radius: 999px; padding: .3rem .55rem; font-size: .6rem; font-weight: 800; white-space: nowrap; }.plan-badge.premium { color: var(--brand-blue-hover); background: var(--bg-bone-section); }
.agreement-section { background: var(--brand-blue-hover); }.agreement-card { background: var(--brand-blue); border-color: rgba(255,255,255,.18); }.agreement-card h3, .agreement-card p, .agreement-card .agreement-footer { color: var(--bg-bone-base); }.agreement-heading { display: flex; align-items: center; gap: 1rem; }.agreement-heading h3 { margin: 0; }.agreement-logo { background: #fff; }.agreement-benefit { color: var(--bg-bone-base) !important; font-weight: 800; }.agreement-conditions { background: rgba(255,255,255,.08); padding: .7rem; font-size: .8rem; }.agreement-footer { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-top: 1px solid rgba(255,255,255,.18); margin-top: 1.5rem; padding-top: 1rem; font-size: .72rem; }.agreement-footer a { color: var(--bg-bone-base); font-weight: 800; }
.empty-state { border: 1px dashed var(--card-border-hover); padding: 2rem; color: var(--text-muted); text-align: center; }.empty-state-dark { border-color: rgba(255,255,255,.35); color: var(--bg-bone-base); }
.contact-details { margin-top: 3rem; display: grid; gap: 1.3rem; }.contact-details > a, .contact-details > div { display: flex; align-items: center; gap: 1rem; color: var(--text-ink); }.contact-details i { color: var(--brand-blue); width: 20px; text-align: center; }.contact-details span { display: grid; gap: .2rem; }.contact-details small, .social-links small { color: var(--card-border-hover); text-transform: uppercase; letter-spacing: .14em; font-size: .6rem; font-weight: 800; }.social-links { gap: .8rem !important; }.social-links small { margin-right: .4rem; }.social-links a { color: var(--brand-blue); }
.contact-reasons { display: block !important; border-top: 1px solid var(--card-border); padding-top: 1.5rem; margin-top: .8rem; }.contact-reasons h3 { color: var(--brand-blue-hover); font-size: 1rem; font-weight: 800; margin-bottom: .75rem; }.contact-reasons ul { display: grid; gap: .55rem; }.contact-reasons li { display: flex; gap: .6rem; color: var(--text-muted); font-size: .85rem; line-height: 1.4; }.contact-reasons li i { width: auto; margin-top: .2rem; font-size: .7rem; }
.contact-form-panel { background: var(--bg-card); border: 1px solid var(--card-border); padding: clamp(1.5rem, 4vw, 3rem); }.contact-form-panel h3 { color: var(--brand-blue-hover); font-size: 1.5rem; font-weight: 800; margin-bottom: 2rem; }.contact-form-panel label { display: grid; gap: .5rem; color: var(--text-muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }.contact-form-panel input, .contact-form-panel select, .contact-form-panel textarea { width: 100%; border: 1px solid var(--card-border); background: var(--bg-card); padding: .9rem; color: var(--text-ink); font-size: .9rem; font-weight: 500; text-transform: none; letter-spacing: normal; outline: none; }.contact-form-panel input:focus, .contact-form-panel select:focus, .contact-form-panel textarea:focus { border-color: var(--brand-blue); outline: 2px solid rgba(10,60,132,.18); }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }.success-overlay { text-align: center; padding: 3rem 1rem; }.success-overlay > i { color: var(--brand-blue); font-size: 3rem; }.success-overlay h4 { color: var(--brand-blue-hover); font-size: 1.4rem; font-weight: 800; margin-top: 1rem; }.success-overlay p { color: var(--text-muted); margin: .75rem auto 1.5rem; max-width: 300px; }.success-overlay button { color: var(--brand-blue); font-weight: 800; font-size: .8rem; }
.final-cta { background: var(--brand-blue); color: #fff; padding: clamp(5rem, 9vw, 8rem) 0; }.final-cta h2 { font-size: clamp(2.8rem, 6vw, 6.5rem); letter-spacing: -.07em; line-height: .95; max-width: 800px; margin: 1rem 0; }.final-cta p:not(.eyebrow) { color: var(--bg-bone-base); font-size: 1.1rem; margin-bottom: 2rem; }
@media (max-width: 800px) { .nosotros-shell { width: min(100% - 2rem, 680px); }.nosotros-hero-grid { padding-block: 5rem; }.hero-mark { display: none; }.editorial-two-col, .history-grid, .contact-grid, .mission-section, .commitment-grid, .editorial-image-grid, .editorial-photo-bridge-grid, .founders-grid { grid-template-columns: 1fr; }.founders-list { grid-template-columns: 1fr; }.event-policy { grid-column: auto; }.mission-block { min-height: 330px; padding: 4rem 1.5rem; }.section-intro { display: block; }.section-intro .prose-copy { margin-top: 1.5rem; }.values-grid, .benefit-grid { grid-template-columns: 1fr; }.form-row { grid-template-columns: 1fr; }.panorama-caption { min-height: 300px; flex-wrap: wrap; align-content: end; }.display-title { font-size: clamp(3rem, 15vw, 5rem); }.editorial-photo-tall { min-height: 390px; }.editorial-photo-bridge-media { min-height: 300px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.editorial-button { transition: none; }.scroll-zoom-media { transform: scale(1) !important; } }

/* Valores y beneficios: piezas completas, sin celdas de relleno. */
.values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; background: transparent; border: 0; }
.value-item { min-height: 240px; border: 1px solid var(--card-border); border-radius: 1rem; display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease, background-color .2s ease; }
.value-item:hover { transform: translateY(-4px); border-color: var(--card-border-hover); background: var(--bg-card-hover); }
.value-item i { width: 3rem; height: 3rem; border-radius: 50%; background: var(--bg-card-hover); display: grid; place-items: center; }
.value-item h3 { margin-top: 1.4rem; }
.value-item p { margin-top: .7rem; }
.benefit-catalog-grid { grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 1.25rem; background: transparent; border: 0; }
.benefit-card { min-height: 0; border: 1px solid var(--card-border); border-radius: 1rem; display: flex; flex-direction: column; gap: 1.5rem; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.benefit-card:hover { transform: translateY(-4px); border-color: var(--card-border-hover); box-shadow: 0 12px 28px rgba(8,44,98,.08); }
.benefit-icon { width: 4rem; height: 4rem; flex: 0 0 auto; border-radius: 1rem; background: var(--brand-blue); color: #fff; }
.benefit-card > div:last-child { flex: 1; }
.benefit-card h3 { font-size: 1.25rem; line-height: 1.15; }
.benefit-card .category-label { margin-top: .75rem; }
.benefit-card .plan-badge { align-self: flex-start; }
@media (max-width: 800px) { .values-grid, .benefit-catalog-grid { grid-template-columns: 1fr; gap: 1rem; }.value-item { min-height: 0; } }

/* Ritmo editorial y bandas fotográficas */
.panorama { min-height: 520px; }
.panorama-caption { min-height: 520px; }
.editorial-photo-tall { min-height: 500px; max-width: 900px; }
.editorial-photo-divider { min-height: 460px; }
.editorial-photo-bridge { padding: 0; min-height: 460px; }
.editorial-photo-bridge-grid { display: block; }
.editorial-photo-bridge-media { min-height: 460px; }
.section-image-bone { background: var(--bg-bone-section); }
.section-image-blue { background: var(--brand-blue-hover); }
.event-policy-section { background: var(--bg-bone-section); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.event-policy-section .event-policy { grid-column: auto; margin: 0; max-width: 760px; }
#beneficios { background: var(--bg-bone-base); }
.agreement-section .benefit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; background: transparent; border: 0; }
.agreement-section .agreement-card { min-height: 0; background: var(--bg-card); border: 1px solid var(--card-border); border-radius: 1rem; color: var(--text-ink); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.agreement-section .agreement-card:hover { transform: translateY(-4px); border-color: var(--card-border-hover); box-shadow: 0 12px 28px rgba(8,44,98,.12); }
.agreement-section .agreement-card h3 { color: var(--brand-blue-hover); }
.agreement-section .agreement-card p, .agreement-section .agreement-card .agreement-footer { color: var(--text-muted); }
.agreement-section .agreement-benefit { color: var(--brand-blue) !important; }
.agreement-section .agreement-conditions { background: var(--bg-card-hover); }
.agreement-section .agreement-footer { border-top-color: var(--card-border); }
.agreement-section .agreement-footer a { color: var(--brand-blue); }
@media (max-width: 800px) { .panorama, .panorama-caption { min-height: 390px; }.editorial-photo-tall { min-height: 400px; }.editorial-photo-divider, .editorial-photo-bridge, .editorial-photo-bridge-media { min-height: 360px; }.agreement-section .benefit-grid { grid-template-columns: 1fr; } }

/* Bandas fotográficas a todo el ancho y bloque de confianza con azul suave. */
.editorial-image-story { padding-inline: 0; }
.editorial-image-story .editorial-image-grid, .editorial-photo-bridge-grid { width: 100%; max-width: none; }
.editorial-image-story .editorial-photo-tall { width: 100%; max-width: none; min-height: 560px; }
.editorial-image-story .scroll-zoom-frame, .editorial-photo-bridge .scroll-zoom-frame { width: 100%; }
.editorial-photo-bridge { width: 100%; }
.editorial-photo-bridge-media { width: 100%; }
.workspace-photo-section { width: 100%; min-height: clamp(360px, 52vw, 620px); padding: 0; }
.workspace-photo-section .editorial-photo-bridge-grid, .workspace-photo-section .editorial-photo-bridge-media { width: 100%; min-height: inherit; }
.workspace-photo-section .editorial-photo-bridge-media { height: clamp(360px, 52vw, 620px); }
.workspace-photo-section .scroll-zoom-frame { position: absolute; inset: 0; }
.panorama, .editorial-photo-divider { width: 100%; min-height: clamp(360px, 52vw, 620px); }
.panorama .scroll-zoom-frame, .editorial-photo-divider .scroll-zoom-frame { width: 100%; height: 100%; }
.panorama-caption { min-height: clamp(360px, 52vw, 620px); }
.values-commitment-section { background: rgba(10, 60, 132, .08) !important; }
.values-commitment-section .value-item { background: var(--bg-card); }
.values-commitment-section .commitment-grid { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid rgba(10, 60, 132, .16); border-radius: 1rem; background: rgba(255,255,255,.52); }
@media (max-width: 800px) { .editorial-image-story .editorial-photo-tall { min-height: 420px; }.values-commitment-section .commitment-grid { padding: 1.25rem; } }

/* Historia y origen comparten una composición: texto invertido arriba, fundadores e imagen abajo. */
.history-origin-section { background: var(--brand-blue) !important; color: #fff; }
.history-origin-section .eyebrow { color: var(--bg-bone-base) !important; }
.history-origin-section .section-title, .history-origin-section .prose-copy { color: #fff; }
.history-origin-section .founder-item { border-top: 0; border-bottom: 1px solid rgba(255,255,255,.24); }
.history-origin-section .founder-item:last-child { border-bottom: 0; }
.history-origin-section .founder-initials { border-color: var(--bg-bone-base); color: var(--bg-bone-base); }
.history-origin-section .founder-item strong, .history-origin-section .founder-item small { color: #fff; }
.history-grid-reversed { align-items: center; }
.origin-founders-media { width: 100%; max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; align-items: stretch; margin-top: 0; }
.origin-founders { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(3.5rem, 7vw, 6rem); padding-inline: clamp(1.5rem, 6vw, 6rem); }
.origin-founders-heading { margin-bottom: 1.5rem; }
.origin-founders .section-title { font-size: clamp(2.2rem, 4vw, 4.4rem); }
.editorial-photo-origin { height: 100%; min-height: 460px; position: relative; overflow: hidden; }
.editorial-photo-origin .scroll-zoom-frame { position: absolute; }
.founder-avatar { width: 3.5rem; height: 3.5rem; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 2px solid var(--bg-bone-base); border-radius: 50%; color: var(--bg-bone-base); font-weight: 800; }
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-avatar .founder-initials { width: 100%; height: 100%; border: 0; color: inherit; }
.founder-copy { display: grid; min-width: 0; gap: .25rem; }
.founder-copy .founder-bio { color: rgba(255,255,255,.78); font-size: .74rem; line-height: 1.45; overflow-wrap: anywhere; }
.founder-profile-link { display: inline-flex; align-items: center; gap: .35rem; width: fit-content; margin-top: .2rem; color: var(--bg-bone-base); font-size: .68rem; font-weight: 800; }
.founder-profile-link:hover { color: #fff; text-decoration: underline; }
.agreement-card { position: relative; overflow: hidden; }
.agreement-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--brand-blue); }
.agreement-section .agreement-heading { align-items: flex-start; padding-top: .35rem; }
.agreement-section .agreement-logo { border: 1px solid var(--card-border); border-radius: .8rem; }
.agreement-section .agreement-benefit { padding: .75rem 0; border-block: 1px solid var(--card-border); }
@media (max-width: 1000px) and (min-width: 801px) { .agreement-section .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .history-grid-reversed > div:first-child { order: 2; }.history-grid-reversed > div:last-child { order: 1; }.origin-founders-media { grid-template-columns: 1fr; gap: 2rem; margin-top: 0; }.origin-founders { padding-block: 3.5rem; padding-inline: 1rem; }.editorial-photo-origin { min-height: 360px; }.agreement-section .benefit-grid { grid-template-columns: 1fr; } }

/* Historia en dos paneles, con el contraste invertido de Misión y Visión. */
.history-origin-section { background: var(--bg-bone-base) !important; color: var(--text-ink); }
.history-origin-section { padding-bottom: 0; }
.history-split { display: grid; grid-template-columns: 1fr 1fr; }
.history-panel { min-height: 390px; display: flex; align-items: stretch; }
.history-panel-inner { width: min(590px, calc(100% - 3rem)); margin-inline: auto; padding-block: clamp(3.5rem, 7vw, 6rem); display: flex; flex-direction: column; justify-content: center; }
.history-panel-text { background: var(--brand-blue); color: #fff; }
.history-panel-text .prose-copy { color: var(--bg-bone-base); }
.history-panel-title { background: var(--bg-bone-base); color: var(--brand-blue-hover); }
.history-panel-title .eyebrow { color: var(--brand-blue) !important; }
.history-panel-title .section-title { margin-top: 1rem; color: var(--brand-blue-hover) !important; }
.history-origin-section .origin-founders .eyebrow { color: var(--brand-blue) !important; }
.history-origin-section .origin-founders .section-title { color: var(--brand-blue-hover); }
.history-origin-section .founder-item { border: 0; }
.history-origin-section .founder-initials { border-color: var(--brand-blue); color: var(--brand-blue); }
.history-origin-section .founder-item strong { color: var(--brand-blue-hover); }
.history-origin-section .founder-item small { color: var(--text-muted); }
.history-origin-section .origin-founders { min-width: 0; }
.history-origin-section .founders-list { grid-template-columns: 1fr; gap: 1rem; }
.history-origin-section .founder-item { align-items: flex-start; gap: 1rem; padding: 1.15rem; background: var(--bg-card); border: 1.2px solid var(--card-border); border-radius: 1rem; box-shadow: none ; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.history-origin-section .founder-item:hover { transform: translateY(-3px); box-shadow: none; }
.history-origin-section .founder-avatar { width: 4rem; height: 4rem; border-color: var(--brand-blue); color: var(--brand-blue); background: var(--bg-card-hover); }
.history-origin-section .founder-copy { flex: 1; padding-top: .1rem; }
.history-origin-section .founder-copy strong { font-size: 1rem; line-height: 1.2; }
.history-origin-section .founder-copy small { font-size: .62rem; }
.history-origin-section .founder-copy .founder-bio { color: var(--text-muted); font-size: .78rem; line-height: 1.5; margin-top: .35rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.history-origin-section .founder-profile-link { color: var(--brand-blue); font-size: .72rem; margin-top: .45rem; }
.agreement-section-actions { display: flex; justify-content: center; margin-top: clamp(3rem, 6vw, 5.5rem); }
.agreement-section-actions .editorial-button { min-width: 240px; justify-content: center; padding: 1.1rem 1.8rem; font-size: .92rem; }
.values-commitment-section .commitment-grid { background: rgba(10, 60, 132, .14); border: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.values-commitment-section .commitment-grid:hover { border-color: var(--card-border-hover); background: var(--bg-card-hover); box-shadow: 0 12px 28px rgba(8,44,98,.08); }
.values-commitment-section .value-item:hover { background: rgba(10, 60, 132, .14); border-color: transparent; }
.values-commitment-section .value-item { transition: transform .65s ease, border-color 1s ease, background-color 1s ease; }
.values-commitment-section .value-item i, .values-commitment-section .value-item h3, .values-commitment-section .value-item p { transition: background-color 1s ease, color 1s ease; }
.values-commitment-section .value-item:hover i { background: var(--brand-blue); color: #fff; }
.values-commitment-section .value-item:hover h3 { color: var(--brand-blue-hover); }
.values-commitment-section .value-item:hover p { color: var(--text-ink); }
.final-cta h2 { font-family: var(--heading-font); font-weight: 800; }
@media (max-width: 800px) { .history-split { grid-template-columns: 1fr; }.history-panel-title { order: 1; }.history-panel-text { order: 2; }.history-panel { min-height: 330px; }.history-panel-inner { width: min(100% - 2rem, 680px); } }

/* Tarjetas y bloques editoriales de Nosotros con esquinas rectas. */
.history-origin-section .founder-item,
.values-commitment-section .value-item,
.values-commitment-section .commitment-grid,
.benefit-catalog-grid .benefit-card,
.agreement-section .agreement-card {
  border-radius: 0;
}

/* La imagen acompaña el crecimiento del bloque de perfiles. */
.history-origin-section .editorial-photo-origin {
  min-height: clamp(560px, 52vw, 600px);
}

@media (max-width: 800px) {
  .history-origin-section .editorial-photo-origin {
    min-height: 480px;
  }
}

/* Composición editorial de valores: cuatro bloques, una sola pieza visual. */
.values-commitment-section .values-grid {
  width: 100%;
  margin-left: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background: transparent;
  border: 0;
}

.values-commitment-section .value-item {
  min-height: 250px;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.values-commitment-section .value-item:nth-child(1) { background: var(--brand-blue); color: #cc2d2d; }
.values-commitment-section .value-item:nth-child(2) { background: #2F78C4; color: #fff; }
.values-commitment-section .value-item:nth-child(3) { background: #DCEBFA; color: var(--brand-blue-hover); }
.values-commitment-section .value-item:nth-child(4) { background: var(--brand-blue); color: #fff; }
.values-commitment-section .value-item:nth-child(-n + 2) h3,
.values-commitment-section .value-item:nth-child(-n + 2) p { color: #fff; }
.values-commitment-section .value-item:nth-child(n + 3) h3 { color: var(--brand-blue-hover); }
.values-commitment-section .value-item:nth-child(n + 3) p { color: var(--text-muted); }
.values-commitment-section .value-item:nth-child(4) h3,
.values-commitment-section .value-item:nth-child(4) p { color: #fff; }
.values-commitment-section .value-item i { background: transparent; }
.values-commitment-section .value-item:nth-child(-n + 2) i { color: #fff; }
.values-commitment-section .value-item:nth-child(n + 3) i { color: var(--brand-blue); }
.values-commitment-section .value-item:nth-child(4) i { color: #fff; }

/* Confianza y compromiso se leen como dos mitades relacionadas, no como una card plana. */
.values-commitment-section .commitment-grid {
  width: 100%;
  margin-left: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.values-commitment-section .commitment-grid > div {
  min-height: 290px;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: 0;
}

.values-commitment-section .commitment-grid > div:first-child { background: #fff; }
.values-commitment-section .commitment-grid > div:last-child { background: #fff; }

/* Limpieza de separadores débiles y de la franja superior de convenios. */
.history-origin-section .founder-item,
.values-commitment-section .value-item,
.agreement-section .agreement-benefit,
.agreement-section .agreement-footer {
  border-top: 0;
  border-bottom: 0;
}

.agreement-section .agreement-card::before { display: none; }

@media (max-width: 800px) {
  .values-commitment-section .values-grid,
  .values-commitment-section .commitment-grid { grid-template-columns: 1fr; }
  .values-commitment-section .value-item { min-height: 0; }
  .values-commitment-section .commitment-grid > div { min-height: 0; }
}

/* Igual que Misión/Visión: la composición ocupa todo el ancho; solo el intro queda contenido. */
.values-commitment-section > .nosotros-shell {
  width: 100%;
  max-width: none;
}

.values-commitment-section > .nosotros-shell > .section-intro {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

@media (max-width: 800px) {
  .values-commitment-section > .nosotros-shell > .section-intro {
    width: calc(100% - 2rem);
  }
}
