/* NOSOTROS AFC - Hoja independiente: se carga DESPUÉS de style.css */
:root { --afc-rojo: #e60012; --afc-negro: #111111; }
.pagina-nosotros { background: var(--afc-fondo-claro); color: var(--afc-negro); }
.pagina-nosotros main { padding: 0; }
.pagina-nosotros p { line-height: 1.53; }
.pagina-nosotros .header .menu > a[href="nosotros.html"],
.pagina-nosotros .header .menu > a[href="nosotros.html"].activo { background: var(--afc-rojo); color: #fff; }
.pagina-nosotros .header .menu > a[href="index.html"],
.pagina-nosotros .header .menu-dropdown > .menu-link-dropdown,
.pagina-nosotros .header .menu-dropdown { background: transparent; }
.pagina-nosotros .header .menu-dropdown:hover > .menu-link-dropdown { background: #c90012; }
.nosotros-contenedor { width: min(1400px, 100% - 72px); margin: 0 auto; }
.nosotros-linea { width: 68px; height: 4px; margin: 15px 0 21px; background: var(--afc-rojo); }
.nosotros-titulo, .nosotros-sobretitulo { font-weight: 900; letter-spacing: .18em; line-height: 1.25; }
.nosotros-titulo { font-size: clamp(19px, 1.8vw, 26px); }
.nosotros-hero { min-height: 405px; display: grid; grid-template-columns: 54% 46%; background: var(--afc-fondo-claro); overflow: hidden; }
.nosotros-hero__contenido { align-self: center; padding: 35px 7% 38px max(5%, calc((100vw - 1400px)/2)); position: relative; z-index: 2; }
.nosotros-sobretitulo { font-size: 22px; }
.nosotros-hero h1 { font-size: clamp(28px, 3.4vw, 50px); font-weight: 900; font-style: italic; letter-spacing: -.04em; line-height: 1.09; margin: 0 0 9px; white-space: nowrap; }
.nosotros-hero h1 span { color: #111; }
.nosotros-hero h1 em { color: #d90013; font-style: inherit; }
.nosotros-hero__lema { font-size: clamp(18px, 1.8vw, 24px); font-style: italic; font-weight: 800; margin-bottom: 14px; }
.nosotros-hero__contenido > p:not(.nosotros-sobretitulo):not(.nosotros-hero__lema) { font-size: clamp(15px, 1.1vw, 18px); max-width: 700px; margin-top: 12px; }
.nosotros-hero__foto { min-height: 405px; position: relative; background: #555; }
.nosotros-hero__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Franja diagonal retirada: la fotografía queda limpia. */
.nosotros-hero__foto::before { content: none; display: none; }
.nosotros-historia { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); gap: 45px; padding-top: 37px; padding-bottom: 46px; align-items: stretch; }
.nosotros-historia__galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 440px; }
.nosotros-historia__galeria img { width: 100%; height: 100%; min-height: 440px; max-height: 660px; object-fit: cover; border-radius: 14px; display: block; }
.nosotros-historia__texto { border-left: 2px solid #d0d3d7; padding-left: 36px; }
.nosotros-historia__texto h3 { font-size: clamp(20px, 2vw, 27px); font-style: italic; font-weight: 900; line-height: 1.22; margin-bottom: 18px; }
.nosotros-historia__texto p { font-size: 16px; margin: 13px 0; }
.nosotros-historia__cierre { font-weight: 800; font-style: italic; color: #b90010; }
.nosotros-calidad { background: var(--afc-fondo-claro); padding: 38px 0 45px; }
.nosotros-calidad__grid { display: grid; grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 0; }
.nosotros-calidad__intro { padding: 10px 30px 8px 0; }
.nosotros-calidad__intro h3 { font-size: 20px; font-style: italic; margin: 7px 0 13px; }
.nosotros-calidad__intro p { margin-top: 12px; font-size: 15px; }
.nosotros-pilar { border-left: 1px solid #c7cbd0; padding: 4px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.nosotros-pilar svg { width: 66px; height: 66px; margin: 0 auto 8px; fill: none; stroke: var(--afc-rojo); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.nosotros-numero { font-size: 12px; font-weight: 900; color: #e60012; letter-spacing: .14em; }
.nosotros-pilar h3 { font-size: 19px; font-weight: 900; line-height: 1.2; margin: 7px 0 12px; }
.nosotros-pilar p { font-size: 14px; }
.nosotros-proposito { padding-top: 62px; padding-bottom: 62px; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.nosotros-proposito__tarjeta { background: #fff; border: 1px solid #eceef1; border-top: 5px solid #e60012; border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.055); padding: 36px; }
.nosotros-etiqueta { color: #d90013; font-size: 12px; font-weight: 900; letter-spacing: .17em; }
.nosotros-proposito__tarjeta h3 { font-size: 22px; font-style: italic; font-weight: 800; margin: 14px 0; }
.nosotros-proposito__tarjeta p:not(.nosotros-etiqueta) { margin-top: 12px; font-size: 16px; }
.nosotros-valores { padding: 55px 0 67px; background: var(--afc-fondo-claro); }
.nosotros-seccion-encabezado { text-align: center; }
.nosotros-seccion-encabezado .nosotros-linea { margin: 15px auto 32px; }
.nosotros-valores__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.nosotros-valores__grid article { background: #fff; padding: 25px 18px; border-radius: 10px; box-shadow: 0 5px 18px rgba(0,0,0,.04); }
.nosotros-valores__grid span { color: #e60012; font-size: 27px; font-weight: 900; }
.nosotros-valores__grid h3 { font-size: 20px; margin: 11px 0; }
.nosotros-valores__grid p { font-size: 14px; }
.nosotros-origen { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: 1fr 3fr; gap: 50px; align-items: center; }
.nosotros-origen__marca { font-size: clamp(52px, 7vw, 110px); font-weight: 900; font-style: italic; letter-spacing: -.06em; color: #111; text-align: center; }
.nosotros-origen__marca span { color: #e60012; }
.nosotros-origen p { font-size: 16px; margin: 12px 0; }
.nosotros-cierre { padding: 72px 0 80px; color: #fff; text-align: center; background: linear-gradient(135deg, #101010, #282828); }
.nosotros-cierre__contenido > p:first-child { font-size: 15px; font-weight: 900; letter-spacing: .24em; }
.nosotros-cierre h2 { font-size: clamp(40px, 5vw, 74px); font-weight: 900; font-style: italic; letter-spacing: -.04em; margin: 12px 0; }
.nosotros-cierre h2 span { color: #ed0016; }
.nosotros-cierre h3 { font-size: clamp(18px, 2vw, 25px); margin-bottom: 14px; }
.nosotros-cierre__descripcion { max-width: 660px; margin: 0 auto 28px; font-size: 16px; color: #d6d6d6; }
.nosotros-cta { display: inline-flex; gap: 16px; align-items: center; justify-content: center; color: #fff; background: #e60012; font-weight: 800; border-radius: 6px; padding: 15px 24px; transition: background .2s, transform .2s; }
.nosotros-cta:hover { background: #bc0010; transform: translateY(-2px); }
.nosotros-cta span { font-size: 24px; line-height: 1; }
.nosotros-footer { background: #080808; color: #ccc; padding: 24px max(5%, calc((100vw - 1400px)/2)); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; font-size: 13px; }
.nosotros-footer img { width: 110px; height: auto; }
.nosotros-footer a { color: #fff; }
.nosotros-footer a:hover { color: #ff4050; }
@media (max-width: 1200px) {
    .nosotros-hero { grid-template-columns: 57% 43%; }
    .nosotros-hero h1 { white-space: normal; }
    .nosotros-calidad__grid { grid-template-columns: repeat(4, 1fr); }
    .nosotros-calidad__intro { grid-column: 1 / -1; padding: 0 0 27px; }
    .nosotros-valores__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .nosotros-contenedor { width: min(100% - 42px, 1400px); }
    .nosotros-hero { grid-template-columns: 1fr; }
    .nosotros-hero__contenido { padding: 48px 28px 38px; }
    .nosotros-hero__foto { min-height: 270px; max-height: 340px; }
    .nosotros-hero__foto::before { display: none; }
    .nosotros-historia { grid-template-columns: 1fr; gap: 25px; }
    .nosotros-historia__galeria { min-height: 280px; }
    .nosotros-historia__galeria img { min-height: 280px; height: 350px; }
    .nosotros-historia__texto { border-left: 0; border-top: 2px solid #d0d3d7; padding: 25px 0 0; }
    .nosotros-calidad__grid { grid-template-columns: 1fr 1fr; row-gap: 25px; }
    .nosotros-pilar:nth-of-type(odd) { border-left: 0; }
    .nosotros-proposito { grid-template-columns: 1fr; }
    .nosotros-origen { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 600px) {
    .nosotros-contenedor { width: calc(100% - 30px); }
    .nosotros-sobretitulo { font-size: 18px; }
    .nosotros-hero__contenido { padding: 27px 18px; }
    .nosotros-hero h1 { font-size: clamp(26px, 8.4vw, 33px); }
    .nosotros-hero__foto { min-height: 205px; }
    .nosotros-historia__galeria { gap: 9px; }
    .nosotros-historia__galeria img { height: 235px; min-height: 235px; }
    .nosotros-calidad__grid { grid-template-columns: 1fr; }
    .nosotros-pilar { border-left: 0; border-top: 1px solid #c7cbd0; padding: 24px 12px; }
    .nosotros-proposito__tarjeta { padding: 25px; }
    .nosotros-valores__grid { grid-template-columns: 1fr; }
    .nosotros-origen { padding-top: 45px; padding-bottom: 45px; }
    .nosotros-footer { text-align: center; justify-content: center; }
}
