/* ==========================================================================
   Don Juan — Ajustes de marca sobre el template Backeri
   ========================================================================== */

.navbar-brand img{
	max-height: 95px;
	width: auto;
}

.footer-logo img{
	max-height: 176px;
	width: auto;
}

/* Franja superior de utilidad (telefono / whatsapp / horario) */
.dj-topbar{
	background: var(--primary-color);
	color: #fff;
	font-family: var(--default-font);
	font-size: 15px;
    border-radius: 0px 0px 6px 6px;
}
.dj-topbar .container-fluid{
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	padding: 20px 30px;
    
}
.dj-topbar a{ color: #fff; text-decoration: none; }
.dj-topbar a:hover{ color: var(--gold-color); }
.dj-topbar ul{ display: flex; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.dj-topbar ul li{ margin-right: 22px; }
.dj-topbar ul li:last-child{ margin-right: 0; }
.dj-topbar ul li i{ color: var(--gold-color); margin-right: 6px; }
.dj-topbar .dj-topbar-badge{
	color: var(--gold-color);
	font-family: var(--accent-font);
	font-style: none;
    font-size: 18px;
}

/* Botón flotante de WhatsApp */
.dj-whatsapp-float{
	position: fixed;
	right: 26px;
	bottom: 26px;
	width: 62px;
	height: 62px;
	background: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	z-index: 999;
	transition: transform .2s ease;
}
.dj-whatsapp-float:hover{ transform: scale(1.08); }
.dj-whatsapp-float i{ color: #fff; font-size: 30px; }

/* Tarjetas de segmento B2B (Soluciones para Empresas) */
.dj-segments{ padding: 0; }
.dj-segment-card{
	background: var(--white-color);
	border: 1px solid var(--divider-color);
	border-radius: 16px;
	padding: 40px 32px;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dj-segment-card:hover{
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(26,18,16,0.10);
	border-color: var(--accent-color);
}
.dj-segment-icon{
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--accent-color);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}
.dj-segment-icon i{ color: #fff; font-size: 26px; }
.dj-segment-card h3{
	font-family: var(--accent-font);
	font-size: 26px;
	margin-bottom: 6px;
	color: var(--primary-color);
}
.dj-segment-tag{
	display: inline-block;
	color: var(--gold-color);
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	font-size: 13px;
	margin-bottom: 14px;
}
.dj-segment-card p.dj-segment-desc{
	color: var(--text-color);
	margin-bottom: 18px;
}
.dj-segment-card ul{
	list-style: none;
	padding: 0;
	margin: 0 0 26px 0;
	flex-grow: 1;
}
.dj-segment-card ul li{
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
	color: var(--primary-color);
	font-size: 15px;
}
.dj-segment-card ul li::before{
	content: "\f00c";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	color: var(--accent-color);
	position: absolute;
	left: 0;
	top: 2px;
	font-size: 12px;
}
.dj-segment-card .btn-default{ align-self: flex-start; }

/* Franja de confianza institucional */
.dj-trust-strip{
	background: var(--bg-color);
	padding: 26px 0;
	border-top: 1px solid var(--divider-color);
	border-bottom: 1px solid var(--divider-color);
}
.dj-trust-strip .dj-trust-label{
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-color);
	margin-bottom: 12px;
	text-align: center;
}
.dj-trust-strip ul{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.dj-trust-strip ul li{
	font-family: var(--accent-font);
	font-weight: 600;
	color: var(--primary-color);
	font-size: 16px;
	opacity: .8;
}

/* Categorías de la Carta */
.dj-category-card{
	display: block;
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	height: 320px;
}
.dj-category-card img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.dj-category-card:hover img{ transform: scale(1.08); }
.dj-category-card .dj-category-overlay{
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(180deg, rgba(26,18,16,0) 30%, rgba(26,18,16,0.85) 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
}
.dj-category-overlay h3{
	color: #fff;
	font-family: var(--accent-font);
	font-size: 24px;
	margin-bottom: 4px;
}
.dj-category-overlay span{
	color: var(--gold-color);
	font-size: 14px;
	font-weight: 600;
}

/* Tablas de precios de la Carta */
.dj-price-block{ margin-bottom: 46px; }
.dj-price-block-head{
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 2px solid var(--accent-color);
	padding-bottom: 10px;
	margin-bottom: 4px;
}
.dj-price-block-head h3{
	font-family: var(--accent-font);
	color: var(--primary-color);
	font-size: 24px;
	margin: 0;
}
.dj-price-block-head span{
	color: var(--gold-color);
	font-size: 14px;
	font-style: italic;
}
.dj-price-table{ width: 100%; border-collapse: collapse; }
.dj-price-table tr{ border-bottom: 1px dashed var(--divider-color); }
.dj-price-table tr:last-child{ border-bottom: none; }
.dj-price-table td{
	padding: 14px 4px;
	color: var(--primary-color);
	font-size: 16px;
	vertical-align: top;
}
.dj-price-table td.dj-price-name{ font-weight: 600; }
.dj-price-table td.dj-price-name span{ font-weight: normal; display:block; margin-top: 10px; color: #a1a1a1}
.dj-price-table td.dj-price-note{
	font-size: 13px;
	color: var(--text-color);
	font-weight: 400;
	display: block;
}
.dj-price-table td.dj-price-value{
	text-align: right;
	white-space: nowrap;
	color: var(--accent-color);
	font-weight: 700;
}
.dj-price-note-block{
	background: var(--bg-color);
	border-left: 4px solid var(--gold-color);
	padding: 16px 20px;
	font-size: 14px;
	color: var(--text-color);
	border-radius: 0 8px 8px 0;
	margin-top: 10px;
}

/* Badges genéricos */
.dj-badge{
	display: inline-block;
	background: var(--accent-color);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 5px 12px;
	border-radius: 20px;
	margin-bottom: 14px;
}
.dj-badge.dj-badge-gold{ background: var(--gold-color); }
.dj-badge.dj-badge-outline{
	background: transparent;
	color: var(--accent-color);
	border: 1.5px solid var(--accent-color);
}

/* CTA WhatsApp inline (botones dentro de contenido) */
.btn-whatsapp{
	display: inline-flex;
	align-items: center;
	background: #25D366;
	color: #fff !important;
	padding: 14px 26px;
	border-radius: 50px;
	font-weight: 700;
	text-decoration: none;
	font-family: var(--default-font);
}
.btn-whatsapp i{ font-size: 20px; margin-right: 10px; }
.btn-whatsapp:hover{ background: #1ebc59; }

/* Mapas de contacto (dos locales, con separación entre bloques) */
.google-map{
	padding: 80px 0;
}
.dj-dual-map{
	row-gap: 30px;
}
.dj-map-block{
	height: 100%;
}
.dj-map-title{
	font-family: var(--accent-font);
	font-size: 22px;
	color: var(--primary-color);
	margin-bottom: 16px;
}
.dj-map-block .google-map-iframe,
.dj-map-block .google-map-iframe iframe{
	height: 420px;
	border-radius: 16px;
}

/* Logo dentro del preloader (reemplaza el ícono original de la plantilla) */
#loading-icon img{
	max-width: 68px;
	width: 100%;
	height: auto;
}

/* Slider automático de imágenes en el Hero (sin botones, solo transición) */
.dj-hero-slider{
	position: relative;
}
.dj-hero-slide{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	animation-name: djHeroFade;
	animation-duration: 12s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}
.dj-hero-slide:nth-of-type(1){ animation-name: djHeroFadeFirst; animation-delay: 0s; }
.dj-hero-slide:nth-of-type(2){ animation-delay: 4s; }
.dj-hero-slide:nth-of-type(3){ animation-delay: 8s; }

@keyframes djHeroFadeFirst{
	0%   { opacity: 1; }
	29%  { opacity: 1; }
	37%  { opacity: 0; }
	100% { opacity: 0; }
}

@keyframes djHeroFade{
	0%   { opacity: 0; }
	4%   { opacity: 1; }
	29%  { opacity: 1; }
	37%  { opacity: 0; }
	100% { opacity: 0; }
}

/* Respeta la preferencia de "reducir movimiento" del sistema operativo */
@media (prefers-reduced-motion: reduce){
	.dj-hero-slide{ animation: none; opacity: 0; }
	.dj-hero-slide:first-of-type{ opacity: 1; }
}

/* Ítem activo del menú principal */
.main-menu ul#menu > li > a.active{
	color: var(--accent-color);
	position: relative;
}
.main-menu ul#menu > li > a.active::after{
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 6px;
	height: 2px;
	background: var(--accent-color);
	border-radius: 2px;
}

@media (max-width: 991px){
@media (max-width: 991px){
	.dj-topbar{ border-radius: 0; }
	.dj-topbar .container-fluid{
		justify-content: center;
		text-align: center;
		flex-direction: column;
		gap: 8px;
		padding: 14px 20px;
	}
	.dj-topbar ul{
		justify-content: center;
		gap: 8px 16px;
		row-gap: 6px;
	}
	.dj-topbar ul li{ margin-right: 0; font-size: 13px; }
	.dj-topbar .dj-topbar-badge{
		font-size: 14px;
		line-height: 1.4;
		display: block;
	}
}
@media (max-width: 480px){
	.dj-topbar ul li{ font-size: 12px; }
	.dj-topbar .dj-topbar-badge{ font-size: 13px; }
}
	.dj-whatsapp-float{ right: 16px; bottom: 16px; width: 54px; height: 54px; }
	.dj-whatsapp-float i{ font-size: 26px; }
	.dj-map-block .google-map-iframe,
	.dj-map-block .google-map-iframe iframe{
		height: 320px;
	}
}
