/* Estilos propios de nosotros.php — lo compartido está en main.css */

:root { --navy: #225199; --navy-dark: #193d73; --navy-mid: #2a62b8; --blue: #2a62b8; --blue-light: #dbeafe; --green: #3d7a4a; --lime: #ffcf00; --white: #ffffff; --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-400: #9ca3af; --gray-600: #4b5563; --gray-900: #111827; --radius: 8px; --shadow: 0 4px 24px rgba(0,0,0,.12); }

.nav-menu a { padding: .45rem .8rem; border-radius: 6px; font-size: .85rem; font-weight: 600; color: var(--gray-600); transition: background .15s, color .15s; }

.nav-menu a.active { background: var(--blue-light); color: var(--blue); }

.page-hero { background: linear-gradient(105deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%); padding: 5rem 2rem 4rem; position: relative; overflow: hidden; }

.page-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); }

.page-hero::after { content: ''; position: absolute; bottom: 0; right: 0; width: 40%; height: 100%; background: linear-gradient(135deg, transparent 50%, rgba(255,207,0,.07) 50%); pointer-events: none; }

.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 1.2rem; }

.breadcrumb a { color: rgba(255,255,255,.55); transition: color .15s; }

.breadcrumb span { color: var(--lime); }

.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: white; line-height: 1.1; margin-bottom: .8rem; }

.page-hero h1 em { font-style: normal; color: var(--lime); }

.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 560px; line-height: 1.7; }

.hero-accent-line { width: 60px; height: 4px; background: var(--lime); border-radius: 2px; margin: 1.4rem 0; }

.section { padding: 5rem 2rem; }

.section.alt { background: var(--gray-50); }

.section-label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); margin-bottom: .6rem; display: flex; align-items: center; gap: .5rem; }

.section-label::before { content: ''; display: block; width: 28px; height: 3px; background: var(--blue); border-radius: 2px; }

.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--gray-900); line-height: 1.2; margin-bottom: .75rem; }

.section-title em { font-style: normal; color: var(--navy); }

.historia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.historia-body p { font-size: .97rem; color: var(--gray-600); line-height: 1.85; margin-bottom: 1rem; }

.historia-body p strong { color: var(--navy); }

.historia-img { border-radius: 16px; overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,.15); position: relative; }

.historia-img img { width: 100%; height: 420px; object-fit: cover; }

.historia-img-badge { position: absolute; bottom: 1.2rem; left: 1.2rem; background: rgba(255,255,255,.95); border-radius: 10px; padding: .6rem 1rem; display: flex; align-items: center; gap: .6rem; backdrop-filter: blur(6px); box-shadow: 0 4px 16px rgba(0,0,0,.12); }

.historia-img-badge .badge-icon { width: 38px; height: 38px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: white; }

.historia-img-badge .badge-text strong { display: block; font-size: .85rem; color: var(--navy); }

.historia-img-badge .badge-text span { font-size: .72rem; color: var(--gray-400); }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }

.mvv-card { background: white; border-radius: 14px; border: 1px solid var(--gray-200); padding: 2rem 1.8rem; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden; }

.mvv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--navy); }

.mvv-card:nth-child(2)::before { background: var(--green); }

.mvv-card:nth-child(3)::before { background: var(--lime); }

.mvv-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }

.mvv-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.1rem; background: var(--blue-light); }

.mvv-card:nth-child(2) .mvv-icon { background: #e8f5e9; }

.mvv-card:nth-child(3) .mvv-icon { background: #fffbea; }

.mvv-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: .7rem; }

.mvv-card p { font-size: .88rem; color: var(--gray-600); line-height: 1.75; }

.valores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-top: 2.5rem; }

.valor-item { background: white; border-radius: 12px; border: 1px solid var(--gray-200); padding: 1.4rem 1.2rem; text-align: center; transition: transform .2s, border-color .2s; }

.valor-item:hover { transform: translateY(-3px); border-color: var(--navy); }

.valor-item .v-icon { font-size: 2rem; margin-bottom: .6rem; }

.valor-item h4 { font-size: .88rem; font-weight: 800; color: var(--navy); margin-bottom: .3rem; }

.valor-item p { font-size: .75rem; color: var(--gray-400); line-height: 1.5; }

.equipo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }

.equipo-card { background: white; border-radius: 14px; border: 1px solid var(--gray-200); overflow: hidden; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }

.equipo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }

.equipo-foto { height: 200px; overflow: hidden; background: var(--gray-100); position: relative; }

.equipo-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }

.equipo-card:hover .equipo-foto img { transform: scale(1.05); }

.equipo-foto-ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--blue-light), #c7d9f8); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--navy); }

.equipo-body { padding: 1.2rem 1rem 1.4rem; }

.equipo-body h3 { font-size: .97rem; font-weight: 800; color: var(--gray-900); margin-bottom: .2rem; }

.equipo-cargo { font-size: .75rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; background: var(--blue-light); border-radius: 20px; padding: .2rem .7rem; display: inline-block; margin-top: .3rem; }

.equipo-nota { font-size: .78rem; color: var(--gray-400); margin-top: .5rem; line-height: 1.4; }

.galeria-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 240px 240px; gap: .8rem; margin-top: 2.5rem; border-radius: 16px; overflow: hidden; }

.galeria-item { overflow: hidden; position: relative; cursor: pointer; }

.galeria-item:first-child { grid-row: span 2; }

.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }

.galeria-item:hover img { transform: scale(1.07); }

.galeria-item .g-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(17,30,80,.7)); color: white; font-size: .78rem; font-weight: 700; padding: 1.5rem .9rem .7rem; opacity: 0; transition: opacity .3s; }

.galeria-item:hover .g-label { opacity: 1; }

.acred-strip { background: var(--navy); padding: 3.5rem 2rem; }

.acred-inner { max-width: 1200px; margin: 0 auto; }

.acred-inner .section-label::before { background: var(--lime); }

.acred-inner .section-label { color: var(--lime); }

.acred-inner .section-title { color: white; }

.acred-inner .section-title em { color: var(--lime); }

.acred-marquee-wrap { overflow: hidden; width: 100%; margin-top: 2.5rem; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); }

.acred-track { display: flex; gap: 1.2rem; width: max-content; animation: marquee-slide 30s linear infinite; }

.acred-track:hover { animation-play-state: paused; }

@keyframes marquee-slide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.acred-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 160px; height: 100px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 1rem 1.6rem; display: flex; flex-direction: column; align-items: center; gap: .5rem; transition: background .2s, transform .2s; min-width: 130px; text-align: center; flex-shrink: 0; cursor: default; }

.acred-logo:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }

.acred-logo .al-icon { font-size: 2rem; }

.acred-logo span { font-size: .73rem; font-weight: 700; color: rgba(255,255,255,.82); line-height: 1.35; }

.brete-logo { font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }

.brete-link { display: inline-flex; align-items: center; gap: .35rem; background: var(--lime); color: #0e2040; padding: .35rem .8rem; border-radius: 6px; font-size: .75rem; font-weight: 800; align-self: flex-start; transition: opacity .15s; }

.brete-link:hover { opacity: .85; }

@media (max-width: 960px) {
  .historia-grid { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .galeria-item:first-child { grid-row: span 1; }
}

@media (max-width: 640px) {
  .galeria-grid { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: 1fr 1fr; }
}
