:root {
    --cp-site-header-height: 74px;
}

html {
    scroll-padding-top: calc(var(--cp-site-header-height) + 18px);
}

html.cp-site-drawer-open,
html.cp-site-drawer-open body {
    overflow: hidden;
}

.cp-site-header__bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
    background: #006da870;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Inicio: Estilos header home */
/* Header especial para la página de inicio de cada origen */
.cp-is-origin-home .cp-site-header__bar {
    background: rgb(0 0 0 / 20%);
    box-shadow: none;
    border-bottom: 2px solid rgb(255 255 255 / 25%);
}

/* Al abrir drawer o cuando quieras mantener contraste en móvil */
.cp-is-origin-home .cp-site-drawer__panel {
    background: rgba(0, 109, 168, 0.92);
}
/* Fin: Estilos header home */

.admin-bar .cp-site-header__bar {
    top: 32px;
}

.cp-site-header__bar.is-hidden {
    transform: translateY(calc(-100% - 8px));
}

.cp-site-header__inner,
.cp-site-hero__inner,
.cp-site-footer__inner {
    width: min(1240px, calc(100% - 32px));
    margin-right: auto;
    margin-left: auto;
}

.cp-site-header__inner {
    min-height: var(--cp-site-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.cp-site-header__brand img {
    display: block;
    max-height: 52px;
    width: auto;
}

.cp-site-header__brand-text {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #111827;
    text-decoration: none;
}

.cp-site-header__desktop-nav {
    margin-left: auto;
}

.cp-site-header__desktop-nav .cp-site-frame-menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-site-frame-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cp-site-header__desktop-nav .cp-site-frame-menu > li {
    display: flex;
    align-items: center;
}

.cp-site-header__desktop-nav .cp-site-frame-menu > li > a {
    color: #fff;
    text-decoration: none;
    padding: 0 14px;
}

.cp-site-header__desktop-nav .cp-site-frame-menu > li:not(:last-child)::after {
    content: "|";
    color: #fff;
}

.cp-site-frame-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

.cp-site-header__burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.cp-site-header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    border-radius: 999px;
}

.cp-site-drawer[hidden] {
    display: none !important;
}

.cp-site-drawer {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.cp-site-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
}

.cp-site-drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: min(360px, 86vw);
    background: #006da870;
    box-shadow: -18px 0 34px rgba(15, 23, 42, 0.18);
    padding: 22px 18px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cp-site-drawer.is-open .cp-site-drawer__panel {
    transform: translateX(0);
}

.cp-site-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cp-site-drawer__head .custom-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cp-site-drawer__head .custom-logo-link img {
    width: 50%;
    height: 100%;
    margin-top: 20px;
}

.cp-site-drawer__close {
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #111827;
}

.cp-site-drawer__nav .cp-site-frame-menu {
    display: grid;
    gap: 14px;
}

.cp-site-hero {
    position: relative;
    min-height: 420px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 70vh;
}

.cp-site-hero__overlay {
    min-height: inherit;
    background: rgb(0 0 0 / 25%);
    height: 100%;
}

.cp-site-hero__inner {
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    padding-top: calc(var(--cp-site-header-height) + 42px);
    padding-bottom: 42px;
    height: 100%;
    justify-content: center;
}

.cp-site-hero__content {
    max-width: 900px;
    color: #fff;
}

.cp-site-hero__title {
    margin: 0;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.03;
    color: #fff;
    text-align: center;
}

.cp-site-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    justify-content: center;
}

.cp-site-hero__meta-item.cp-site-hero__meta-item--tour {
    background: transparent;
    backdrop-filter: none;
    font-size: 18px;
}

.cp-site-hero__meta-item {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    backdrop-filter: blur(4px);
    text-decoration: none;
    font-style: italic;
    font-family: 'Lato', sans-serif;
}

.cp-site-header__spacer {
    height: var(--cp-site-header-height);
}

.cp-site-footer {
    background: #0f172a;
    color: #fff;
    margin-top: 56px;
}

.cp-site-footer__main {
    padding-top: 40px;
    padding-bottom: 28px;
}

.cp-site-footer__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 1fr;
    gap: 26px;
    align-items: start;
}

.cp-site-footer__logo img,
.cp-site-footer__logo-image {
    display: block;
    max-width: 100%;
    width: 150px;
    height: auto;
}

.cp-site-footer__logo-link {
    display: inline-block;
    text-decoration: none;
    color: #fff;
}

.cp-site-footer__logo-link--text {
    font-family: 'Lato', sans-serif;
    font-size: 28px;
    font-weight: 900;
}

.cp-site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.cp-site-footer__social {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
}

.cp-site-footer__social svg {
    width: 18px;
    height: 18px;
    display: block;
}

.cp-site-footer__menu-title {
    margin: 0 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.2;
    color: #fff;
}

.cp-site-footer .cp-site-frame-menu {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-site-footer .cp-site-frame-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cp-site-footer .cp-site-frame-menu a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.cp-site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 14px;
    padding-bottom: 14px;
}

.cp-site-footer__inner--bottom {
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
}

.cp-site-footer__copyright {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.cp-site-footer__legal .cp-site-frame-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

@media (max-width: 1024px) {
    .cp-site-header__desktop-nav {
        display: none;
    }

    .cp-site-header__burger {
        display: inline-block;
    }

    .cp-site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .cp-site-footer__inner--bottom {
        grid-template-columns: 1fr;
    }

    .cp-site-footer__legal .cp-site-frame-menu {
        justify-content: flex-start;
    }
}

@media (max-width: 782px) {
    .admin-bar .cp-site-header__bar {
        top: 46px;
    }
}

@media (max-width: 767px) {
    .cp-site-hero {
        min-height: 320px;
    }

    .cp-site-hero__inner,
    .cp-site-header__inner,
    .cp-site-footer__inner {
        width: calc(100% - 24px);
    }

    .cp-site-hero__inner {
        padding-bottom: 28px;
    }

    .cp-site-footer__inner {
        grid-template-columns: 1fr;
    }

    .cp-site-hero__title {
        font-size: 34px;
    }
}

/* Extras conservados del bloque final */

.cp-site-footer__social-icon,
.cp-site-footer__social-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cp-site-footer__social-icon i {
    font-size: 18px;
    line-height: 1;
}

.cp-site-footer__social-icon img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.cp-site-footer__social-text {
    max-width: 100%;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.cp-site-footer__custom-html {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.7;
}

.cp-site-footer__custom-html > *:first-child {
    margin-top: 0;
}

.cp-site-footer__custom-html > *:last-child {
    margin-bottom: 0;
}

.cp-site-footer__custom-html a {
    color: #fff;
}

.cp-site-footer__contact-list .cp-contact-list__title {
    margin: 0 0 12px;
}

.cp-site-footer__contact-list .cp-contact-list__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cp-site-footer__contact-list .cp-contact-list__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cp-site-footer__contact-list .cp-contact-list__icon {
    flex: 0 0 auto;
    width: 18px;
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.cp-site-footer__contact-list .cp-contact-list__icon i {
    font-size: 16px;
    line-height: 1;
}

.cp-site-footer__contact-list .cp-contact-list__icon img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.cp-site-footer__contact-list .cp-contact-list__item-body {
    min-width: 0;
}

.cp-site-footer__contact-list .cp-contact-list__label {
    margin-bottom: 2px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.cp-site-footer__contact-list .cp-contact-list__value,
.cp-site-footer__contact-list .cp-contact-list__value a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
}

.cp-site-footer__contact-list .cp-contact-list__value a:hover,
.cp-site-footer__contact-list .cp-contact-list__value a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.cp-site-header__search {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: 14px;
}

.cp-site-header__search-input,
.cp-site-drawer__search-input {
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 14px;
	line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
}

.cp-site-header__search-input::placeholder {
	color: rgba(255, 255, 255, 0.82);
}

.cp-site-header__search-button,
.cp-site-drawer__search-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 14px;
	border: 0;
	border-radius: 12px;
	background: #fff;
	color: #006da8;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.cp-site-drawer__search {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cp-site-drawer__search-input {
	border-color: #d1d5db;
	background: #fff;
	color: #111827;
}

.cp-site-drawer__search-input::placeholder {
	color: #6b7280;
}

@media (max-width: 1024px) {
	.cp-site-header__search {
		display: none;
	}
}

/* Header - selector de moneda */
.cp-site-header__currency-switch {
	display: inline-flex;
	align-items: center;
	margin-left: 12px;
}

.cp-currency-switch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 4px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	font-family: 'Montserrat', sans-serif;
	line-height: 1;
}

.cp-currency-switch__option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	padding: 7px 10px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.86) !important;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.cp-currency-switch__option:hover,
.cp-currency-switch__option:focus-visible {
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	text-decoration: none;
}

.cp-currency-switch__option.is-active {
	background: #fff;
	color: #006da8 !important;
}

.cp-currency-switch__separator {
	display: none;
}