/* =========================================================
   COSTA RICA XPLORES - FOOTER
========================================================= */

.crx-footer {
	--crx-footer-dark: #09693d;
	--crx-footer-dark-hover: #139b59;
	--crx-footer-light: #edf6ef;
	--crx-footer-white: #ffffff;
	--crx-footer-orange: #f04a17;
	--crx-footer-orange-hover: #d83b0d;
	--crx-footer-text: #10251a;
	--crx-footer-muted: #637168;
	--crx-footer-border: rgba(6, 63, 36, 0.13);

	position: relative;
	width: 100%;
	overflow: hidden;
	font-family: inherit;
}

/* =========================================================
   LLAMADA A LA ACCIÓN
========================================================= */

.crx-footer-cta {
	position: relative;
	z-index: 1;
	padding: 95px 0 135px;
	background:
		radial-gradient(
			circle at 85% 20%,
			rgba(255, 255, 255, 0.07),
			transparent 32%
		),
		linear-gradient(
			135deg,
			#063f24 0%,
			#03351e 100%
		);
}

/* Curva superior */
.crx-footer-cta::before {
	content: "";
	position: absolute;
	top: -58px;
	left: -5%;
	width: 110%;
	height: 105px;
	background: var(--crx-footer-white);
	border-radius: 0 0 50% 50%;
	z-index: -1;
}

/* Curva inferior */
.crx-footer-cta::after {
	content: "";
	position: absolute;
	left: -5%;
	bottom: -65px;
	width: 110%;
	height: 120px;
	background: var(--crx-footer-light);
	border-radius: 50% 50% 0 0;
	z-index: -1;
}

.crx-footer-cta-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
	max-width: 1140px;
	margin: 0 auto;
}

.crx-footer-cta-text {
	max-width: 820px;
}

.crx-footer-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 2.2px;
	text-transform: uppercase;
}

.crx-footer-eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--crx-footer-orange);
	border-radius: 10px;
}

.crx-footer-cta h2 {
	margin: 0 0 18px;
	color: var(--crx-footer-white);
	font-size: clamp(34px, 4vw, 58px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -1.5px;
}

.crx-footer-cta h2 span {
	display: inline;
	color: #ff5c25;
}

.crx-footer-cta p {
	max-width: 820px;
	margin: 0;
	color: rgba(255, 255, 255, 0.83);
	font-size: 18px;
	line-height: 1.75;
}

.crx-footer-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-shrink: 0;
	min-width: 175px;
	padding: 16px 25px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	background: var(--crx-footer-orange);
	color: var(--crx-footer-white);
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	box-shadow:
		0 14px 30px rgba(240, 74, 23, 0.25),
		inset 0 1px rgba(255, 255, 255, 0.2);
	transition:
		transform 0.25s ease,
		background-color 0.25s ease,
		box-shadow 0.25s ease;
}

.crx-footer-cta-button span {
	font-size: 20px;
	transition: transform 0.25s ease;
}

.crx-footer-cta-button:hover {
	background: var(--crx-footer-orange-hover);
	color: var(--crx-footer-white);
	transform: translateY(-3px);
	box-shadow: 0 18px 34px rgba(240, 74, 23, 0.32);
}

.crx-footer-cta-button:hover span {
	transform: translateX(4px);
}

/* =========================================================
   ÁREA DE CONTACTO
========================================================= */

.crx-footer-contact {
	position: relative;
	padding: 85px 0 75px;
	background: var(--crx-footer-light);
}

.crx-footer-contact-title {
	position: relative;
	margin: 0 0 50px;
	color: var(--crx-footer-dark);
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 800;
	text-align: center;
}

.crx-footer-contact-title::after {
	content: "";
	display: block;
	width: 55px;
	height: 4px;
	margin: 12px auto 0;
	border-radius: 20px;
	background: var(--crx-footer-orange);
}

.crx-footer-column {
	height: 100%;
	padding: 4px 15px;
}

.crx-footer-column-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.crx-footer-heading-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: 1px solid var(--crx-footer-border);
	border-radius: 12px;
	background: var(--crx-footer-white);
	color: var(--crx-footer-dark);
	font-size: 20px;
	box-shadow: 0 7px 20px rgba(6, 63, 36, 0.06);
}

.crx-footer-column-heading span:not(.crx-footer-heading-icon) {
	display: block;
	margin-bottom: 2px;
	color: var(--crx-footer-orange);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.crx-footer-column-heading h3 {
	margin: 0;
	color: var(--crx-footer-text);
	font-size: 22px;
	font-weight: 800;
}

/* =========================================================
   TELÉFONOS
========================================================= */

.crx-footer-phone-list {
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.crx-footer-phone {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px;
	border: 1px solid transparent;
	border-radius: 12px;
	color: var(--crx-footer-text);
	text-decoration: none;
	transition:
		border-color 0.25s ease,
		background-color 0.25s ease,
		transform 0.25s ease;
}

.crx-footer-phone:hover {
	border-color: var(--crx-footer-border);
	background: rgba(255, 255, 255, 0.68);
	color: var(--crx-footer-text);
	transform: translateX(4px);
}

.crx-footer-phone-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	flex-shrink: 0;
	width: 118px;
	min-height: 43px;
	padding: 8px 12px;
	border: 2px solid var(--crx-footer-dark);
	border-radius: 10px;
	color: var(--crx-footer-dark);
	font-size: 14px;
	font-weight: 800;
}

.crx-footer-phone-button img {
	width: 17px;
	height: 17px;
	object-fit: contain;
}

.crx-footer-phone-number {
	display: flex;
	flex-direction: column;
	color: var(--crx-footer-text);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
}

.crx-footer-phone-number small {
	margin-bottom: 3px;
	color: var(--crx-footer-muted);
	font-size: 11px;
	font-weight: 600;
}

/* =========================================================
   EMAIL Y REDES
========================================================= */

.crx-footer-email-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 27px;
}

.crx-footer-email-list a {
	display: block;
	max-width: 100%;
	color: var(--crx-footer-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: color 0.2s ease;
}

.crx-footer-email-list a:hover {
	color: var(--crx-footer-orange);
}

.crx-footer-social-title {
	margin: 0 0 15px;
	color: var(--crx-footer-text);
	font-size: 19px;
	font-weight: 800;
}

.crx-footer-socials {
	display: flex;
	align-items: center;
	gap: 12px;
}

.crx-footer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--crx-footer-border);
	border-radius: 13px;
	background: var(--crx-footer-white);
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(6, 63, 36, 0.07);
	transition:
		transform 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}

.crx-footer-socials a:hover {
	border-color: rgba(240, 74, 23, 0.35);
	transform: translateY(-4px);
	box-shadow: 0 13px 25px rgba(6, 63, 36, 0.12);
}

.crx-footer-socials img {
	display: block;
	object-fit: contain;
}

/* =========================================================
   TRIPADVISOR
========================================================= */

.crx-footer-column-last {
	display: flex;
	flex-direction: column;
	gap: 17px;
}

.crx-tripadvisor-card {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 330px;
	padding: 15px;
	border: 1px solid var(--crx-footer-border);
	border-radius: 14px;
	background: var(--crx-footer-white);
	color: var(--crx-footer-text);
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(6, 63, 36, 0.07);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.crx-tripadvisor-card:hover {
	color: var(--crx-footer-text);
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(6, 63, 36, 0.12);
}

.crx-tripadvisor-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #00aa84;
}

.crx-tripadvisor-logo img {
	width: 27px;
	height: 27px;
	object-fit: contain;
	filter: brightness(0);
}

.crx-tripadvisor-content {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.crx-tripadvisor-content small {
	color: var(--crx-footer-muted);
	font-size: 12px;
	font-weight: 700;
}

.crx-tripadvisor-content strong {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--crx-footer-text);
	font-size: 16px;
}

.crx-tripadvisor-dots {
	display: inline-flex;
	gap: 3px;
}

.crx-tripadvisor-dots span {
	display: block;
	width: 13px;
	height: 13px;
	border: 2px solid #00aa84;
	border-radius: 50%;
	background: #00aa84;
	box-shadow: inset 0 0 0 2px var(--crx-footer-white);
}

.crx-tripadvisor-arrow {
	color: var(--crx-footer-muted);
	font-size: 18px;
}

/* =========================================================
   GOOGLE MAPS
========================================================= */

.crx-footer-map {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: 330px;
	padding: 14px 16px;
	border: 2px solid var(--crx-footer-dark);
	border-radius: 12px;
	color: var(--crx-footer-dark);
	text-decoration: none;
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease;
}

.crx-footer-map img {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.crx-footer-map span {
	display: flex;
	flex-direction: column;
	flex: 1;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
}

.crx-footer-map small {
	margin-bottom: 2px;
	color: var(--crx-footer-muted);
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
}

.crx-footer-map strong {
	font-size: 20px;
	transition: transform 0.25s ease;
}

.crx-footer-map:hover {
	background: var(--crx-footer-dark);
	color: var(--crx-footer-white);
	transform: translateY(-2px);
}

.crx-footer-map:hover small {
	color: rgba(255, 255, 255, 0.68);
}

.crx-footer-map:hover strong {
	transform: translateX(4px);
}

/* =========================================================
   POLÍTICAS
========================================================= */

.crx-footer-policy {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	max-width: 330px;
	padding: 5px 3px;
	color: #d51b5e;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none;
}

.crx-footer-policy:hover {
	color: #a90e45;
	text-decoration: underline;
}

.crx-footer-policy-icon {
	flex-shrink: 0;
	color: var(--crx-footer-text);
	font-size: 16px;
}

/* =========================================================
   BARRA INFERIOR
========================================================= */

.crx-footer-bottom {
	padding: 17px 0;
	background: #20262c;
}

.crx-footer-bottom-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.crx-footer-bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.83);
	font-size: 13px;
	font-weight: 600;
}

.crx-footer-bottom p:last-child {
	color: var(--crx-footer-white);
	font-weight: 800;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

	.crx-footer-cta {
		padding: 85px 0 125px;
	}

	.crx-footer-cta-content {
		align-items: flex-start;
		flex-direction: column;
		gap: 30px;
	}

	.crx-footer-cta-button {
		min-width: 180px;
	}

	.crx-footer-contact {
		padding-top: 75px;
	}

	.crx-footer-column {
		padding: 5px;
	}

	.crx-footer-column-last {
		align-items: flex-start;
	}

}

@media (max-width: 767.98px) {

	.crx-footer-cta {
		padding: 75px 0 115px;
		text-align: center;
	}

	.crx-footer-cta::before {
		top: -72px;
		height: 100px;
	}

	.crx-footer-cta::after {
		bottom: -48px;
		height: 85px;
	}

	.crx-footer-cta-content {
		align-items: center;
		gap: 26px;
	}

	.crx-footer-eyebrow {
		justify-content: center;
	}

	.crx-footer-cta h2 {
		font-size: clamp(34px, 10vw, 46px);
		letter-spacing: -0.8px;
	}

	.crx-footer-cta p {
		font-size: 16px;
		line-height: 1.65;
	}

	.crx-footer-contact {
		padding: 68px 0 55px;
	}

	.crx-footer-contact-title {
		margin-bottom: 38px;
	}

	.crx-footer-phone {
		padding-left: 0;
		padding-right: 0;
	}

	.crx-tripadvisor-card,
	.crx-footer-map,
	.crx-footer-policy {
		max-width: none;
	}

	.crx-footer-bottom-content {
		flex-direction: column;
		gap: 7px;
		text-align: center;
	}

}

@media (max-width: 480px) {

	.crx-footer-phone {
		align-items: stretch;
		flex-direction: column;
		gap: 9px;
		padding: 8px 0;
	}

	.crx-footer-phone-button {
		width: 100%;
	}

	.crx-footer-phone-number {
		padding-left: 4px;
	}

	.crx-footer-socials a {
		width: 45px;
		height: 45px;
	}

}