/* ==========================================================================
   01 — Layout compartido (header, footer, contenedor)
   ========================================================================== */

/* Header logo */
.site-title {
	margin: 0;
	line-height: 1;
}
.site-title a {
	display: inline-block;
}
.site-header .site-branding .pbmit-logo-img {
	height: 86px;
	max-height: 86px;
	width: auto;
	display: block;
}
@media (max-width: 991px) {
	.site-header .site-branding .pbmit-logo-img {
		height: 68px;
		max-height: 68px;
	}
}
@media (max-width: 575px) {
	.site-header .site-branding .pbmit-logo-img {
		height: 58px;
		max-height: 58px;
	}
}

/* Footer logo */
.pbmit-footer-logo {
	display: block;
	text-align: center;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	line-height: 0;
}
.pbmit-footer-logo .pbmit-footer-logo-img {
	height: 100px;
	width: auto;
	display: block;
	margin: 0 auto;
}

/* Footer — texto, CTA y nota */
.site-footer .deville-foot-intro {
	margin: -4px 0 22px;
	max-width: 300px;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .5);
}
.site-footer .deville-foot-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 22px;
	padding: 10px 20px;
	border: 1px solid rgba(231, 163, 145, .45);
	border-radius: 40px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	text-decoration: none;
	transition: background .3s ease, color .3s ease, transform .3s ease, border-color .3s ease;
}
.site-footer .deville-foot-cta i {
	font-size: 14px;
}
.site-footer .deville-foot-cta:hover {
	background: var(--pbmit-global-color);
	border-color: var(--pbmit-global-color);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 12px 24px rgba(231, 163, 145, .28);
}
.site-footer .deville-foot-note {
	margin-top: 22px;
	max-width: 330px;
	padding: 14px 16px;
	background: rgba(255, 255, 255, .04);
	border-left: 3px solid var(--pbmit-global-color);
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .6);
}
.site-footer .deville-foot-note i {
	color: var(--pbmit-global-color);
	margin-right: 6px;
}

/* Contenedor ancho usado en tarifas y footer */
.container.deville-container-wide {
	max-width: 1250px;
}

/* Scroll to top visible en responsive */
@media (max-width: 1200px) {
	.pbmit-progress-wrap {
		display: block;
		margin: 0 !important;
		right: 15px !important;
		left: auto !important;
		bottom: 20px;
		z-index: 10000;
	}
	.pbmit-progress-wrap.active-progress {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}

/* ============================================================
   Preloader de marca — De Ville Inn
   ============================================================ */
.deville-preloader {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f6f3ed;
	transition: opacity .6s ease, visibility .6s ease;
}
.deville-preloader.is-hidden { opacity: 0; visibility: hidden; }
.deville-preloader__inner { text-align: center; padding: 20px; }
.deville-preloader__logo-wrap {
	position: relative;
	width: 156px;
	height: 156px;
	margin: 0 auto 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.deville-preloader__ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 3px solid rgba(231,163,145,.25);
	border-top-color: var(--pbmit-global-color);
	animation: dvSpin 1s linear infinite;
}
.deville-preloader__ring::after {
	content: "";
	position: absolute;
	inset: 12px;
	border-radius: 50%;
	border: 2px solid rgba(10,19,46,.08);
	border-bottom-color: var(--pbmit-blackish-color);
	animation: dvSpin 1.7s linear infinite reverse;
}
@keyframes dvSpin { to { transform: rotate(360deg); } }
.deville-preloader__logo {
	width: 92px;
	height: auto;
	animation: dvPulseLogo 2s ease-in-out infinite;
}
@keyframes dvPulseLogo {
	0%,100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.07); opacity: .82; }
}
.deville-preloader__stars {
	color: var(--pbmit-global-color);
	font-size: 15px;
	letter-spacing: 8px;
	margin-bottom: 14px;
	padding-left: 8px;
}
.deville-preloader__stars i { opacity: 0; animation: dvStar .5s ease forwards; }
.deville-preloader__stars i:nth-child(1) { animation-delay: .25s; }
.deville-preloader__stars i:nth-child(2) { animation-delay: .55s; }
.deville-preloader__stars i:nth-child(3) { animation-delay: .85s; }
@keyframes dvStar { from { opacity: 0; transform: translateY(6px) scale(.6); } to { opacity: 1; transform: none; } }
.deville-preloader__bar {
	width: 190px;
	height: 3px;
	border-radius: 3px;
	background: rgba(10,19,46,.1);
	margin: 0 auto 16px;
	overflow: hidden;
	position: relative;
}
.deville-preloader__bar span {
	position: absolute;
	top: 0;
	height: 100%;
	width: 42%;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--pbmit-global-color), #f3c9bd);
	animation: dvBar 1.2s ease-in-out infinite;
}
@keyframes dvBar { 0% { left: -42%; } 100% { left: 100%; } }
.deville-preloader__text {
	margin: 0;
	font-size: 12px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(10,19,46,.55);
	font-weight: 700;
}

/* ============================================================
   Buscador desplegable (reemplaza el modal a pantalla completa)
   ============================================================ */
.pbmit-header-search-btn { position: relative; }
.dv-search {
	position: absolute; top: calc(100% + 18px); right: 0;
	width: 370px; max-width: 86vw;
	background: #fff; border-radius: 16px;
	box-shadow: 0 24px 60px rgba(10,19,46,.22);
	border: 1px solid rgba(10,19,46,.06);
	padding: 14px; opacity: 0; visibility: hidden;
	transform: translateY(-8px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s;
	z-index: 1200;
}
.dv-search.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dv-search::before {
	content: ""; position: absolute; top: -7px; right: 22px;
	width: 14px; height: 14px; background: #fff;
	border-left: 1px solid rgba(10,19,46,.06); border-top: 1px solid rgba(10,19,46,.06);
	transform: rotate(45deg);
}
.dv-search__box {
	display: flex; align-items: center; gap: 10px;
	background: var(--pbmit-secondary-color);
	border: 1px solid rgba(10,19,46,.08);
	border-radius: 12px; padding: 10px 12px;
}
.dv-search__ico { color: var(--pbmit-global-color); font-size: 15px; }
.dv-search__input {
	flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
	font-size: 15px; color: var(--pbmit-blackish-color);
}
.dv-search__close {
	border: 0; background: transparent; font-size: 22px; line-height: 1;
	color: rgba(10,19,46,.4); cursor: pointer; padding: 0 2px; transition: color .2s ease;
}
.dv-search__close:hover { color: var(--pbmit-global-color); }
.dv-search__results { margin-top: 10px; max-height: 330px; overflow-y: auto; }
.dv-search__hint, .dv-search__empty { padding: 16px 6px; font-size: 13.5px; color: rgba(10,19,46,.55); text-align: center; }
.dv-search__item { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; transition: background .2s ease; }
.dv-search__item:hover { background: var(--pbmit-secondary-color); }
.dv-search__item-cat { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pbmit-global-color); margin-bottom: 2px; }
.dv-search__item-title { display: block; font-size: 15px; font-weight: 600; color: var(--pbmit-blackish-color); line-height: 1.2; }
.dv-search__item-desc { display: block; font-size: 12.5px; color: rgba(10,19,46,.55); margin-top: 2px; }
.dv-search__item mark { background: rgba(231,163,145,.35); color: inherit; padding: 0 1px; border-radius: 2px; }
@media (max-width: 575px) {
	.dv-search { position: fixed; top: 92px; right: 12px; left: 12px; width: auto; max-width: none; }
	.dv-search::before { display: none; }
}
