@charset "utf-8";
/* ==========================================================================
   CUSTOM FOOTER - Estilos del pie de pagina
   ========================================================================== */

/* ----------------------------------------------------------------------------
   Estilos base
   ---------------------------------------------------------------------------- */

#footer {
	float: left;
	width: 100%;
	padding: 0 65px;
	background-color: #ffffff;
}
#footer .certificationsBox {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 80px 0;
	border-top: 1px solid #2A2A2A;
}
#footer .certificationsBox .title {
	display: block;
	margin: 0;
	font-size: 1.0625rem;
	color: #01464a;
	font-weight: 700;
	line-height: 1.6875rem;
	text-align: center;
}
#footer .certificationsBox .certifications {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
}
#footer .certificationsBox .certifications .item {
	width: auto;
	height: 120px;
}
#footer .certificationsBox .certifications .item picture {
	display: block;
	width: 100%;
	height: 100%;
}
#footer .certificationsBox .certifications .item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) brightness(0.8) contrast(0.85);
	transition: 0.48s cubic-bezier(0.46, 0.03, 0.52, 0.96);
}
#footer .certificationsBox .certifications .item img:hover {
	filter: none;
}
#footer .footerBox {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	padding: 80px 0;
	border-top: 1px solid #2A2A2A;
}
#footer .footerBox .ftrInfo {
	display: flex;
	flex-direction: column;
	gap: 64px;
	width: 100%;
	max-width: 422px;
}
#footer .footerBox .ftrInfo .logoBox {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	max-width: 303px;
}
#footer .footerBox .ftrInfo .newsletterBox {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
#footer .footerBox .ftrInfo .newsletterBox .openAllYear {
	display: block;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-weight: bold;
	font-size: 1.125rem;
	color: #01464a;
}
#footer .footerBox .ftrInfo .newsletterBox .title {
	display: block;
	margin: 0;
	font-size: 1.0625rem;
	color: #01464a;
	font-weight: 700;
	line-height: 1.375rem;
}

/* --- Newsletter form (campos apilados) --- */

#footer .newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

/* Honeypot anti-spam: oculto off-screen pero accesible a bots.
   No se usa display:none porque los bots sofisticados lo detectan. */
#footer .newsletter-form__honeypot {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#footer .newsletter-form .form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

#footer .newsletter-form .form-group--email {
	position: relative;
}

#footer .newsletter-form .form-group label {
	font-size: 0.8125rem;
	color: #01464a;
	font-weight: 700;
	line-height: 1.375rem;
}

#footer .newsletter-form .form-group .form-control {
	width: 100%;
	height: 50px;
	padding: 12px;
	border: 1px solid #2A2A2A;
	background-color: transparent;
	border-radius: 6px;
	box-shadow: none;
	font-family: "Inter", sans-serif;
	font-size: 1rem;
	color: #01464a;
	font-weight: 400;
	line-height: 1.5rem;
	transition: border-color 0.3s ease;
}

#footer .newsletter-form .form-group--email .form-control {
	padding-right: 57px;
}

#footer .newsletter-form .form-group textarea.form-control {
	height: auto;
	min-height: 96px;
	resize: vertical;
}

#footer .newsletter-form .form-group .form-control::placeholder {
	color: rgba(0, 0, 0, 0.60);
}

#footer .newsletter-form .form-group .form-control:focus {
	outline: 0;
	border-color: #00A8B5;
}

/* Fix autofill: mantiene borde y color coherente con fondo claro */
#footer .newsletter-form .form-group .form-control:-webkit-autofill,
#footer .newsletter-form .form-group .form-control:-webkit-autofill:hover,
#footer .newsletter-form .form-group .form-control:-webkit-autofill:focus {
	-webkit-text-fill-color: #01464a !important;
	-webkit-box-shadow: 0 0 0px 1000px #fff inset;
	transition: background-color 5000s ease-in-out 0s !important;
}

/* Checkbox privacy: alineado inline con label */
#footer .newsletter-form .form-group--checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
}

#footer .newsletter-form .form-group--checkbox input[type="checkbox"] {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	accent-color: #01464a;
	cursor: pointer;
}

#footer .newsletter-form .form-group--checkbox label {
	font-size: 0.8125rem;
	color: #01464a;
	font-weight: 400;
	line-height: 1.375rem;
	cursor: pointer;
}

#footer .newsletter-form .form-group--checkbox label a {
	color: #01464a;
	font-weight: 700;
	text-decoration: underline;
	transition: color 0.3s ease;
}

#footer .newsletter-form .form-group--checkbox label a:hover {
	color: #00A8B5;
	text-decoration: underline;
}

/* Boton submit: cuadrado oscuro absoluto dentro del input de email con icono flecha */
#footer .newsletter-form .form-group--email .subscribeBtn {
	position: absolute;
	top: 50%;
	right: 4px;
	width: 42px;
	height: 42px;
	padding: 0;
	gap: 0;
	border: 0;
	background: #2A2A2A;
	border-radius: 2px;
	cursor: pointer;
	transform: translateY(-50%);
}

#footer .newsletter-form .form-group--email .subscribeBtn img {
	display: block;
	width: auto;
	height: auto;
	margin: 0 auto;
}

/* Estados loading / disabled */
#footer .newsletter-form .subscribeBtn.loading {
	pointer-events: none;
}

#footer .newsletter-form .subscribeBtn.loading img {
	opacity: 0;
}

#footer .newsletter-form .subscribeBtn.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	margin-left: -9px;
	border: 2px solid #ffffff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: subscribeBtnSpin 0.8s linear infinite;
}

@keyframes subscribeBtnSpin {
	to { transform: rotate(360deg); }
}

#footer .newsletter-form .subscribeBtn:disabled,
#footer .newsletter-form .subscribeBtn[disabled] {
	opacity: 0.6;
	cursor: wait;
}

#footer .newsletter-form .subscribeBtn:disabled:not(.loading),
#footer .newsletter-form .subscribeBtn[disabled]:not(.loading) {
	cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
	#footer .newsletter-form .subscribeBtn.loading::after {
		animation: none;
	}
}

/* Errores inline en campos */
#footer .newsletter-form .form-group .form-control.error {
	border-color: #dc3545;
}

#footer .newsletter-form .form-group .error-message {
	display: block;
	margin-top: 4px;
	font-size: 0.75rem;
	color: #dc3545;
	line-height: 1.125rem;
}

/* Mensajes globales (success / error) */
#footer .newsletter-form .js-newsletter-messages {
	width: 100%;
}

#footer .newsletter-form .js-newsletter-messages:empty {
	display: none;
}

#footer .newsletter-form .alert {
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 0.875rem;
	line-height: 1.375rem;
	text-align: center;
}

#footer .newsletter-form .alert--success {
	background-color: rgba(40, 167, 69, 0.12);
	border: 1px solid rgba(40, 167, 69, 0.35);
	color: #1e7e34;
}

#footer .newsletter-form .alert--error {
	background-color: rgba(220, 53, 69, 0.12);
	border: 1px solid rgba(220, 53, 69, 0.35);
	color: #b02a37;
}

/* Override de .recaptcha-notice para el footer (fondo claro).
   El modulo base ya pinta en #606060; aqui solo se asegura el color de hover. */
#footer .newsletter-form .recaptcha-notice {
	margin: 0;
	color: #606060;
}

#footer .newsletter-form .recaptcha-notice a {
	color: #01464a;
}

#footer .newsletter-form .recaptcha-notice a:hover {
	color: #00A8B5;
}
#footer .footerBox .ftrInfo .socialBox {
	display: flex;
	gap: 16px;
}
#footer .footerBox .ftrInfo .socialBox .title {
	display: inline;
	margin: 0;
	font-size: 1rem;
	color: #01464a;
	font-weight: 700;
	line-height: 1.5rem;
	text-transform: none;
}
#footer .footerBox .ftrInfo .socialBox .icons {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
#footer .footerBox .ftrInfo .socialBox .icons a {
	background-image: none;
	transition: .3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
#footer .footerBox .ftrInfo .socialBox .icons:has(a:hover) a:not(:hover) {
	opacity: .5;
}
#footer .footerBox .ftrLinks {
	display: flex;
	flex-direction: column;
	gap: 106px;
	width: 100%;
	max-width: 994px;
}
#footer .footerBox .ftrLinks .rows {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
#footer .footerBox .ftrLinks .rows .column {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	row-gap: 16px;
	column-gap: 40px;
	width: calc(32.65% - 20px);
}
#footer .footerBox .ftrLinks .rows .column.col2 {
	width: calc(67.35% - 20px);
}
#footer .footerBox .ftrLinks .rows .column .title {
	display: block;
	width: 100%;
	margin: 0;
	font-size: 1.0625rem;
	color: #01464a;
	font-weight: 700;
	line-height: 1.6875rem;
}
#footer .footerBox .ftrLinks .rows .column ul {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	gap: 8px;
	width: 100%;
	padding: 0;
	margin: 0;
	list-style-type: none;
}
#footer .footerBox .ftrLinks .rows .column ul.col2 {
	width: calc(50% - 20px);
}
#footer .footerBox .ftrLinks .rows .column ul li {
	width: 100%;
	font-size: 1.0625rem;
	color: #01464a;
	font-weight: 400;
	line-height: 1.6875rem;
}
#footer .footerBox .ftrLinks .rows .column ul li:last-child {
	margin: 0;
}
#footer .footerBox .ftrLinks .rows .column ul li strong {
	font-weight: 700;
}
#footer .footerBox .ftrLinks .rows .column ul li a {
	display: inline;
	background-image: linear-gradient(#2A2A2A, #2A2A2A);
	background-repeat: no-repeat;
	background-size: 0% 1px;
	background-position: left bottom 0px;
	transition: background-size .5s cubic-bezier(0, 0, 0.57, 1);
	color: #01464a;
	text-decoration: none;
}
#footer .footerBox .ftrLinks .rows .column ul li a:hover {
	background-size: 100% 1px;
	color: #01464a;
	text-decoration: none;
}
#footer .footerBottom {
	display: flex;
	justify-content: space-between;
	gap: 32px;
	padding: 32px 0;
	border-top: 1px solid #2A2A2A;
}
#footer .footerBottom .leftText {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	text-align: left;
}
#footer .footerBottom .rightText {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 32px;
	text-align: right;
}
#footer .footerBottom .text {
	font-size: 1rem;
	color: #01464a;
	font-weight: 400;
	line-height: 1.5rem;
}
#footer .footerBottom .rightText .text {
	display: flex;
	align-items: center;
	gap: 5px;
}
#footer .footerBottom .rightText .text img {
	height: 15px;
	width: auto;
	position: relative;
	top: -1px;
}
#footer .bookBtnBox {
	display: none;
	justify-content: center;
	gap: 10px;
	padding: 10px;
	width: 100%;
	background-color: transparent;
	text-align: center;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 3;
}
#footer .bookBtnBox:after {
	content: "";
	width: 100%;
	height: 100%;
	background-color: rgb(0 0 0 / 30%);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -2;
	transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#footer .bookBtnBox .bookBtn {
	border-color: #FFFFFF;
	font-size: 1rem;
	color: #ffffff;
	line-height: 1rem;
	text-transform: none;
}
#footer .bookBtnBox .bookBtn:hover {
	border-color: #008691;
	background-color: #008691;
	color: #ffffff;
}
#footer .bookBtnBox .bookBtn + .bookBtn:hover {
	border-color: #7F3946;
	background-color: #7F3946;
	color: #ffffff;
}

/* ----------------------------------------------------------------------------
   Desktop (1366px - 1500px)
   ---------------------------------------------------------------------------- */

@media only screen and (min-width: 1366px) and (max-width: 1500px) {

#footer 											{ padding: 0 32px; }
#footer .footerBox .ftrLinks .rows .column ul li 	{ font-size: 1rem; line-height: 1.625rem; }

}

/* ----------------------------------------------------------------------------
   iPad Pro / Desktop pequeno (961px - 1365px)
   ---------------------------------------------------------------------------- */

@media only screen and (min-width: 961px) and (max-width: 1365px) {

#footer 											{ padding: 0 32px; }
#footer .certificationsBox 							{ padding: 50px 0; gap: 20px; }
#footer .certificationsBox .certifications 			{ gap: 25px; }
#footer .footerBox 									{ flex-direction: column; gap: 50px; padding: 50px 0; }
#footer .footerBox .ftrInfo 						{ flex-direction: row; align-items: flex-start; gap: 50px; max-width: 100%; }
#footer .footerBox .ftrInfo .logoBox 				{ flex: 1; max-width: 250px; }
#footer .footerBox .ftrInfo .newsletterBox 			{ flex: 1; gap: 16px; }
#footer .footerBox .ftrInfo .socialBox 				{ flex-direction: column; }
#footer .footerBox .ftrLinks 						{ gap: 50px; }
#footer .footerBox .ftrLinks .rows .column ul li 	{ font-size: 1rem; line-height: 1.625rem; }
#footer .footerBottom 								{ gap: 20px; padding: 20px 0; }
#footer .footerBottom .rightText 					{ flex: none; }

}

/* ----------------------------------------------------------------------------
   Tablet Portrait (768px - 960px)
   ---------------------------------------------------------------------------- */

@media only screen and (min-width: 768px) and (max-width: 960px) {

#footer 											{ margin-bottom: 54px; padding: 0 15px; }
#footer .certificationsBox 							{ padding: 50px 0; gap: 20px; }
#footer .certificationsBox .certifications 			{ gap: 20px; }
#footer .footerBox 									{ flex-direction: column; gap: 50px; padding: 50px 0; }
#footer .footerBox .ftrInfo 						{ flex-direction: row; align-items: flex-start; gap: 50px; max-width: 100%; }
#footer .footerBox .ftrInfo .logoBox 				{ flex: 1; max-width: 200px; }
#footer .footerBox .ftrInfo .newsletterBox 			{ flex: 1; gap: 16px; }
#footer .footerBox .ftrInfo .socialBox 				{ flex-direction: column; }
#footer .footerBox .ftrLinks 						{ gap: 50px; }
#footer .footerBox .ftrLinks .rows 					{ gap: 30px; }
#footer .footerBox .ftrLinks .rows .column 			{ column-gap: 30px; width: calc(32.65% - 15px); }
#footer .footerBox .ftrLinks .rows .column.col2 	{ width: calc(67.35% - 15px); }
#footer .footerBox .ftrLinks .rows .column ul.col2 	{ width: calc(50% - 15px); }
#footer .footerBox .ftrLinks .rows .column ul li 	{ font-size: 0.875rem; line-height: 1.5rem; }
#footer .footerBottom 								{ gap: 15px; padding: 20px 0; }
#footer .footerBottom .rightText 					{ flex: none; }
#footer .footerBottom .text 						{ font-size: 0.875rem; line-height: 1.5rem; }
#footer .bookBtnBox 								{ display: flex; }
#footer .bookBtnBox .bookBtn 						{ border-color: #008691; background-color: #008691; }
#footer .bookBtnBox .bookBtn + .bookBtn 			{ border-color: #7F3946; background-color: #7F3946; }

}

/* ----------------------------------------------------------------------------
   Mobile Portrait (max 767px)
   ---------------------------------------------------------------------------- */

@media only screen and (max-width: 767px) {

#footer 											{ margin-bottom: 54px; padding: 0 15px; }
#footer .certificationsBox 							{ padding: 30px 0; gap: 15px; }
#footer .certificationsBox .certifications 			{ gap: 20px; }
#footer .certificationsBox .certifications .item 	{ height: 90px; }
#footer .footerBox 									{ flex-direction: column; gap: 30px; padding: 30px 0; }
#footer .footerBox .ftrInfo 						{ gap: 30px; max-width: 100%; }
#footer .footerBox .ftrInfo .logoBox 				{ max-width: 170px; }
#footer .footerBox .ftrInfo .newsletterBox 			{ gap: 16px; }
#footer .newsletter-form 							{ gap: 14px; }
#footer .newsletter-form .form-group .form-control 	{ height: 44px; font-size: 0.9375rem; }
#footer .footerBox .ftrInfo .socialBox 				{ flex-direction: row; }
#footer .footerBox .ftrLinks 						{ gap: 30px; }
#footer .footerBox .ftrLinks .rows 					{ flex-direction: column; gap: 30px; }
#footer .footerBox .ftrLinks .rows .column 			{ width: 100%; row-gap: 8px; column-gap: 30px; }
#footer .footerBox .ftrLinks .rows .column.col2 	{ width: 100%; }
#footer .footerBox .ftrLinks .rows .column ul.col2 	{ width: 100%; }
#footer .footerBox .ftrLinks .rows .column ul li 	{ font-size: 0.875rem; line-height: 1.5rem; }
/* ROW 2 (Explore + Politicas): lado a lado en mobile */
#footer .footerBox .ftrLinks .rows:last-child 						{ flex-direction: row; flex-wrap: nowrap; }
#footer .footerBox .ftrLinks .rows:last-child .column.col2 		{ width: 60%; }
#footer .footerBox .ftrLinks .rows:last-child .column:not(.col2) 	{ width: 40%; }
#footer .footerBottom 								{ flex-direction: column; gap: 10px; padding: 15px 0; }
#footer .footerBottom .rightText 					{ align-items: flex-start; }
#footer .footerBottom .text 						{ font-size: 0.875rem; line-height: 1.5rem; }
#footer .bookBtnBox 								{ display: flex; }
#footer .bookBtnBox .bookBtn 						{ border-color: #008691; background-color: #008691; }
#footer .bookBtnBox .bookBtn + .bookBtn 			{ border-color: #7F3946; background-color: #7F3946; }

}
