.text-shadow {
	text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
/* == Estilos Corporativos ==*/

:root{
	--color-primario: #173354; /* Primario */
	--color-secundario: #174F80; /* Secundario */
	--color-tercero: #1D70B7; /* Tercero */
	--color-cuarto: #4D4D4D; /* Cuarto */
}

body{
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	color: var(--color-cuarto);
	background-color: #fff;
}

.bg-primary{
	background-color: var(--color-primario) !important;
}

.btn-primary{
	background-color: var(--color-tercero);
	border-color: var(--color-tercero);
}

.hero-bg {
	background: url('../images/hero-01.jpg') center center/cover no-repeat;
	width: 100%;
	min-height: 400px;
	height: auto;
	position: relative;
}
.hero-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(180deg, rgba(23,51,84,0.45) 0%, rgba(255,255,255,0.85) 100%);
	z-index: 1;
}
/* Animación lazy-fade para imágenes */
.lazy-fade {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.lazy-fade.loaded {
	opacity: 1;
	transform: none;
}

.footer {
	border-top: 1px solid rgba(255,255,255,0.05);
	
}
.footer-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(23,51,84,0.65);
	z-index: 1;
}
.footer .container {
	position: relative;
	z-index: 2;
}

.contacto{
    position: relative;
	background: url('../images/footer-bground.png') center center/cover no-repeat;
}

.contact-form-bg {
	background: rgba(255,255,255,0.85);
	box-shadow: 0 2px 16px rgba(23,51,84,0.08);
}

/* WhatsApp floating button */
.whatsapp-float{
	position: fixed;
	width: 64px;
	height: 64px;
	bottom: 20px;
	right: 20px;
	background-color: #25D366;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 18px rgba(37,211,102,0.35);
	z-index: 1050;
	text-decoration: none;
}

.whatsapp-float:hover{
	transform: translateY(-3px);
	transition: .15s ease;
}

.whatsapp-icon{filter: drop-shadow(0 1px 0 rgba(0,0,0,0.06));}

/* Responsive tweaks */

.text-tercero{ color: var(--color-tercero); }

@media (max-width: 576px){
	.hero-bg{ background-position: top center; }
	.hero img{ max-height: 140px; }
	.card-img-top{ max-height: 120px; object-fit: cover; }
}

/* small utility */
.small{opacity: .85}

/* == Gallery styles == */
.gallery-grid{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 150px;
	gap: 12px;
}
.gallery-item{
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	cursor: pointer;
	background: #f5f5f5;
}
.gallery-item img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .35s ease, filter .35s ease;
}
.gallery-item:hover img{ transform: scale(1.04); filter: brightness(.95); }
.gallery-item .meta{
	position: absolute;
	left: 8px; bottom: 8px;
	background: rgba(0,0,0,0.45);
	color: #fff; padding: 6px 8px; border-radius: 6px; font-size: 13px;
}
.gallery-item.span-2{ grid-column: span 2; grid-row: span 2; }
.gallery-item.span-3{ grid-column: span 3; grid-row: span 2; }

@media (max-width: 1200px){
	.gallery-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px){
	.gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
}
@media (max-width: 480px){
	.gallery-grid{ grid-template-columns: 1fr; grid-auto-rows: 220px; }
}

.gallery-filters{ gap: 8px; }

/* Modal tweaks for dark background */
.modal-backdrop.show { opacity: .85; background: rgba(0,0,0,0.85); }
