/* ── Paleta institucional: #7c211e · #bf0a30 · #ffc720 ─────── */
:root {
	--p:    #7c211e;
	--pd:   #5a0e0b;
	--pl:   #bf0a30;
	--a:    #ffc720;
	--ad:   #c9a000;
	--dark: #3d0c0a;
	--bg:   #FFF8F8;
	--bgs:  #FFF5F5;
	--s1:   0 4px 12px rgba(124,33,30,.09);
	--s2:   0 10px 30px rgba(124,33,30,.14);
	--s3:   0 20px 48px rgba(124,33,30,.20);
}
.lhdr.scrolled {
	background: rgba(90,14,11,.97) !important;
}
.lhero-overlay {
	background: linear-gradient(145deg,
		rgba(90,14,11,.2) 0%,
		rgba(124,33,30,.3) 55%,
		rgba(191,10,48,.4) 100%) !important;
}
/* REVISAR: reemplazar con imagen de fondo real del colegio */
.lhero {
	background-image: url('../img/portada_nue.jpg');
}
.lstats {
	background: linear-gradient(135deg, #5a0e0b 0%, #7c211e 50%, #bf0a30 100%) !important;
}
.lsec-label {
	background: linear-gradient(135deg, rgba(124,33,30,.1), rgba(255,199,32,.1)) !important;
	color: #7c211e !important;
	border-color: rgba(124,33,30,.16) !important;
}
.lsec-title em { color: #7c211e !important; }
.lproc-card::before { background: linear-gradient(90deg, #7c211e, #ffc720) !important; }
.lproc-icon { color: #7c211e !important; }
.lproc-card:hover .lproc-icon {
	background: linear-gradient(135deg, #7c211e, #ffc720) !important;
	color: white !important;
}
.lrep-card:hover { border-color: rgba(124,33,30,.18) !important; color: #7c211e !important; }
.lrep-card:hover .lrep-ico {
	background: linear-gradient(135deg, #7c211e, #ffc720) !important;
	color: white !important;
}
.lrep-ico { background: #FFF8F8 !important; }
.lbanks-notice { border-color: rgba(124,33,30,.14) !important; background: linear-gradient(135deg,rgba(124,33,30,.07),rgba(255,199,32,.07)) !important; }
.lbanks-notice i { color: #7c211e !important; }
.lbanks-notice a { color: #7c211e !important; font-weight:700; }
.lbank-head { background: linear-gradient(135deg, #7c211e, #5a0e0b) !important; }
.ldoc-title { background: linear-gradient(135deg, #7c211e, #bf0a30) !important; }
.lbtt { background: linear-gradient(135deg, #7c211e, #ffc720) !important; }
.lsec-blue { background: #FFF8F8 !important; }
.lsec-alt  { background: #FFF5F5 !important; }
.lnav-login:not(.lnav-logout) {
	background: linear-gradient(135deg, #ffc720, #c9a000) !important;
	color: #3d0c0a !important;
	box-shadow: 0 4px 14px rgba(255,199,32,.35) !important;
}
.lnav-login:not(.lnav-logout):hover { box-shadow: 0 8px 20px rgba(255,199,32,.50) !important; color: #3d0c0a !important; }
.btn-primary { background: linear-gradient(135deg, #7c211e, #5a0e0b) !important; border: none !important; }
.btn-primary:hover { transform: translateY(-2px) !important; }
.lbtn-primary { background: linear-gradient(135deg, #7c211e, #5a0e0b) !important; box-shadow: 0 4px 14px rgba(124,33,30,.30) !important; }
.lbtn-primary:hover { box-shadow: 0 8px 22px rgba(124,33,30,.42) !important; }
.lbtn-accent { background: linear-gradient(135deg, #ffc720, #c9a000) !important; color: #3d0c0a !important; box-shadow: 0 6px 20px rgba(255,199,32,.38) !important; }
.lbtn-accent:hover { box-shadow: 0 10px 30px rgba(255,199,32,.52) !important; color: #3d0c0a !important; }
.lbtn-outline { border-color: #7c211e !important; color: #7c211e !important; }
.lbtn-outline:hover { background: #7c211e !important; color: #fff !important; }
.lhero h1 em { color: #ffc720 !important; }
.lhero-badge { background: rgba(255,199,32,.18) !important; border-color: rgba(255,199,32,.35) !important; }
.labout-badge { background: linear-gradient(135deg, #ffc720, #c9a000) !important; color: #3d0c0a !important; box-shadow: 0 10px 28px rgba(255,199,32,.40) !important; }
.modal-header { background: linear-gradient(135deg, #5a0e0b, #7c211e) !important; }
.lform-card-hdr { background: linear-gradient(135deg, #5a0e0b, #7c211e) !important; }
.lfooter-col h4 { border-bottom-color: rgba(255,199,32,.3) !important; }
.lfooter-links li a:hover, .lfooter-links li button:hover { color: #ffc720 !important; }
.lfooter-links li i { color: #ffc720 !important; }
.lfooter-cr a { color: #ffc720 !important; }
.form-control2 { height:auto!important; padding:6px 10px!important; font-size:.85rem!important; }
.embed-container { position:relative; height:0; overflow:hidden; padding-bottom:75%; border:#7c211e 2px solid; background:#f8f9fa; box-shadow:inset 0 0 10px rgba(0,0,0,.1); border-radius:8px; }
.embed-container iframe { position:absolute; top:0; left:0; width:100%; height:100%; }

/* ── PAGINAS INTERNAS (contacto / preinscripcion) ─────────── */
.lpage-main { padding-top: 66px; }               /* alto del nav fijo */
.lpage-hdr  { padding: 2.2rem 1rem 2.6rem; }

/* Formulario de preinscripcion */
.lform-grid { padding: 1rem 1.1rem 1.25rem; }
.lform-grid label { font-size: .8rem; font-weight: 600; margin-bottom: .2rem; display: block; }
.lform-grid .form-control,
.lform-grid .form-select { font-size: .88rem !important; }
.lthumb-box { text-align: center; }
.lthumb-box output { display: block; margin-bottom: .5rem; }
.lthumb-box img { width: 140px; height: 140px; object-fit: cover; border-radius: 30%; border: 3px solid #fff; box-shadow: var(--s1); }

/* Bloque de contacto */
.lcontact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 1.1rem; }
.lcontact-item i { font-size: 1.15rem; color: var(--p); line-height: 1.5; }
.lcontact-item strong { display: block; font-size: .85rem; }
.lcontact-item span { font-size: .88rem; color: var(--txm); word-break: break-word; }

/* ── RESPONSIVE MOVIL ─────────────────────────────────────── */
@media (max-width: 768px) {
    .lsec { padding: 48px 0; }
    .lcontainer { padding: 0 16px; }
    .lcontact-wrap { padding: 22px 18px; }
    .lform-grid { padding: .9rem .8rem 1rem; }
    .lpage-hdr h1 { font-size: 1.3rem; }
    .lpage-hdr p { font-size: .85rem; }
    .lthumb-box img { width: 110px; height: 110px; }
    .modal-footer .col-md-12 { width: 100%; }
    /* nada debe desbordar la pantalla */
    body { overflow-x: hidden; }
    .table-responsive { -webkit-overflow-scrolling: touch; }
	.lhero { background-image: url('../img/foto_movil.jpg');}
}
@media (max-width: 576px) {
    .lbtn { width: 100%; justify-content: center; }
    .lpage-hdr .lbtn { width: auto; }
}
