/* ===== BASE STYLES ===== */
body {
	font-family: 'Poppins', 'Montserrat', sans-serif;
	margin: 0;
	background: #f8fafc;
	color: #1e293b;
}

a {
	text-decoration: none;
	color: inherit;
}

/* ===== PAGE LAYOUT - VERTICAL CENTERING ===== */
.page-centered {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-bottom: 80px;
}

.page-centered-nav {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 70px;
	padding-bottom: 20px;
}

@media (max-width: 767.98px) {
	.page-centered {
		justify-content: flex-start;
		padding-top: 1rem;
	}
	.page-centered-nav {
		justify-content: flex-start;
		padding-top: 80px;
	}
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes gradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(36, 170, 225, 0.3); }
	50% { box-shadow: 0 0 0 8px rgba(36, 170, 225, 0); }
}

.animate-fadeInUp {
	animation: fadeInUp 0.6s ease-out both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ===== LOGO CONTAINER ===== */
.img-container {
	background: linear-gradient(135deg, #fddede 0%, #e8d5f5 30%, #d5e8f5 60%, #e2f2fa 100%);
	background-size: 200% 200%;
	animation: gradientShift 8s ease infinite;
	position: relative;
	text-align: center;
	padding: 2rem;
	border-radius: 20px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

#Imagen {
	max-width: 100%;
	height: auto;
	display: block;
	margin: auto;
}

/* ===== MAIN CARDS ===== */
.card.card-modern {
	border: none;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	overflow: hidden;
	position: relative;
}

.card.card-modern::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #24aae1, #6c5ce7, #e84393);
	border-radius: 20px 20px 0 0;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.card.card-modern:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(36, 170, 225, 0.15);
}

.card.card-modern:hover::before {
	opacity: 1;
}

.card-modern .card-text {
	color: #64748b;
	font-size: 0.9rem;
	line-height: 1.6;
}

.card-modern .card-title {
	font-weight: 600;
	font-size: 1.1rem;
	color: #1e293b;
}

/* ===== ICON CONTAINERS ===== */
.icon-container {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.card-modern:hover .icon-container {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icon-container.icon-sos {
	background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.icon-container.icon-voucher {
	background: linear-gradient(135deg, #24aae1, #0984e3);
}

.icon-container.icon-reembolso {
	background: linear-gradient(135deg, #00b894, #00cec9);
}

.icon-container.icon-nosotros {
	background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.icon-container.icon-preguntas {
	background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.icon-container.icon-condiciones {
	background: linear-gradient(135deg, #636e72, #2d3436);
}

.icon-container.icon-medica {
	background: linear-gradient(135deg, #e84393, #fd79a8);
}

.icon-container.icon-general {
	background: linear-gradient(135deg, #0984e3, #74b9ff);
}

.icon-container i {
	font-size: 1.4rem;
	color: #ffffff;
}

/* ===== PAGE TITLES ===== */
.page-title {
	font-weight: 700;
	font-size: 1.75rem;
	color: #1e293b;
	margin-bottom: 0.5rem;
}

.page-subtitle {
	color: #64748b;
	font-size: 0.95rem;
	line-height: 1.6;
	max-width: 500px;
	margin: 0 auto;
}

/* ===== BACK BUTTON ===== */
.back-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 12px 16px;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.back-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 18px;
	border-radius: 12px;
	background: #f1f5f9;
	color: #475569;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.25s ease;
	border: 1px solid #e2e8f0;
}

.back-btn:hover {
	background: #e2e8f0;
	color: #1e293b;
	transform: translateX(-3px);
}

.back-btn i {
	font-size: 1.1rem;
	transition: transform 0.25s ease;
}

.back-btn:hover i {
	transform: translateX(-3px);
}

/* ===== ACTION BUTTONS (Assistance, Refund pages) ===== */
.btn-action {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 24px;
	border: none;
	border-radius: 16px;
	font-weight: 600;
	font-size: 1rem;
	color: #ffffff;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	position: relative;
	overflow: hidden;
	text-decoration: none;
	width: 100%;
}

.btn-action::after {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
	transition: left 0.5s ease;
}

.btn-action:hover::after {
	left: 100%;
}

.btn-action:hover {
	transform: translateY(-3px);
	color: #ffffff;
}

.btn-action i {
	font-size: 1.3rem;
}

.btn-action-medica {
	background: linear-gradient(135deg, #e84393, #fd79a8);
	box-shadow: 0 4px 15px rgba(232, 67, 147, 0.3);
}

.btn-action-medica:hover {
	box-shadow: 0 8px 25px rgba(232, 67, 147, 0.4);
}

.btn-action-general {
	background: linear-gradient(135deg, #0984e3, #74b9ff);
	box-shadow: 0 4px 15px rgba(9, 132, 227, 0.3);
}

.btn-action-general:hover {
	box-shadow: 0 8px 25px rgba(9, 132, 227, 0.4);
}

.btn-action-primary {
	background: linear-gradient(135deg, #24aae1, #0984e3);
	box-shadow: 0 4px 15px rgba(36, 170, 225, 0.3);
}

.btn-action-primary:hover {
	box-shadow: 0 8px 25px rgba(36, 170, 225, 0.4);
}

.btn-action-success {
	background: linear-gradient(135deg, #00b894, #00cec9);
	box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.btn-action-success:hover {
	box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
}

.btn-action-purple {
	background: linear-gradient(135deg, #6c5ce7, #a29bfe);
	box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-action-purple:hover {
	box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

/* ===== SECTION CARDS (Assistance page) ===== */
.section-card {
	background: #ffffff;
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	text-align: center;
	animation: fadeInUp 0.5s ease-out both;
}

.section-card p {
	color: #64748b;
	font-size: 0.95rem;
	margin-bottom: 1rem;
}

/* ===== BOTTOM NAVBAR ===== */
nav.fixed-bottom,
nav#bottomNavbar.fixed-bottom {
	background: rgba(255, 255, 255, 0.97) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
	border-top: none;
	padding: 8px 0 12px !important;
}

.nav-item-custom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 6px 0;
	transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	position: relative;
}

.nav-item-custom i {
	font-size: 1.5rem;
	transition: transform 0.3s ease, color 0.3s ease;
}

.nav-item-custom:hover i {
	transform: scale(1.2) translateY(-2px);
}

.nav-item-custom:hover p {
	color: #24aae1 !important;
}

.nav-item-custom p {
	font-size: 0.72rem;
	font-weight: 600;
	margin: 0;
	transition: color 0.3s ease;
	letter-spacing: 0.3px;
}

.nav-item-custom.active {
	position: relative;
}

.nav-item-custom.active::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 32px;
	height: 3px;
	background: linear-gradient(90deg, #24aae1, #0984e3);
	border-radius: 0 0 4px 4px;
}

.nav-item-custom.active i {
	color: #24aae1;
	transform: scale(1.1);
	filter: drop-shadow(0 2px 4px rgba(36, 170, 225, 0.3));
}

.nav-item-custom.active p {
	color: #24aae1 !important;
	font-weight: 700;
}

.nav-inactive {
	color: #b0bec5;
}

.nav-active {
	color: #24aae1;
}

/* ===== ABOUT US CONTENT ===== */
.about-content {
	background: #ffffff;
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	text-align: left;
}

.about-content p {
	color: #475569;
	line-height: 1.8;
	font-size: 0.95rem;
	margin-bottom: 1.25rem;
}

.about-content p:last-child {
	margin-bottom: 0;
}

/* ===== VOUCHER MODAL ===== */
#openModalBtn {
	cursor: pointer;
}

.modal-content {
	border: none;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
	background: linear-gradient(135deg, #24aae1, #0984e3);
	border-bottom: none;
	padding: 1.25rem 1.5rem;
}

.modal-title {
	color: #ffffff;
	font-weight: 600;
}

.modal-header .btn-close {
	filter: brightness(0) invert(1);
}

.modal-body {
	padding: 1.5rem;
}

.form-control {
	border-radius: 12px;
	border: 2px solid #e2e8f0;
	padding: 10px 16px;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus {
	border-color: #24aae1;
	box-shadow: 0 0 0 3px rgba(36, 170, 225, 0.15);
}

.form-label {
	font-weight: 500;
	color: #475569;
	font-size: 0.9rem;
}

.label {
	color: #24aae1;
	font-weight: 500;
}

.voucher-results {
	margin-top: 1rem;
}

.fields {
	animation: fadeInUp 0.5s ease-out both;
}

.accordion-item {
	border: 1px solid #e2e8f0;
	border-radius: 12px !important;
	margin-bottom: 8px;
	overflow: hidden;
}

.accordion-button {
	font-weight: 500;
	border-radius: 12px !important;
}

.accordion-button:not(.collapsed) {
	background: linear-gradient(135deg, #f0f9ff, #e8f4fd);
	color: #0984e3;
}

.accordion-button:focus {
	box-shadow: 0 0 0 3px rgba(36, 170, 225, 0.15);
}

/* ===== PUSHABLE BUTTON ===== */
.pushable {
	position: relative;
	background: transparent;
	padding: 0;
	border: none;
	cursor: pointer;
	outline-offset: 4px;
	transition: filter 250ms;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	margin-top: 1rem;
}

.shadow {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(9, 132, 227, 0.4);
	border-radius: 12px;
	filter: blur(3px);
	will-change: transform;
	transform: translateY(2px);
	transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.edge {
	position: relative;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	border-radius: 12px;
	background: linear-gradient(to right,
			hsl(207, 90%, 35%) 0%,
			hsl(207, 90%, 45%) 8%,
			hsl(207, 90%, 35%) 92%,
			hsl(207, 90%, 25%) 100%);
}

.front {
	display: block;
	position: relative;
	border-radius: 12px;
	background: linear-gradient(135deg, #24aae1, #0984e3);
	padding: 12px 32px;
	color: white;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-size: 0.95rem;
	transform: translateY(-4px);
	transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.pushable:hover {
	filter: brightness(110%);
}

.pushable:hover .front {
	transform: translateY(-6px);
	transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:active .front {
	transform: translateY(-2px);
	transition: transform 34ms;
}

.pushable:hover .shadow {
	transform: translateY(4px);
	transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.pushable:active .shadow {
	transform: translateY(1px);
	transition: transform 34ms;
}

.pushable:focus:not(:focus-visible) {
	outline: none;
}

/* ===== MISC ===== */
.item {
	margin-bottom: 10px;
}

.item .label {
	color: #000000;
	font-size: 16px;
}

.item .content {
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	width: auto;
	height: 40px;
	font-size: 17px;
}

.errors {
	font-size: 16px;
	margin: 15px;
	color: #e84393;
}

.divider {
	opacity: 1;
}

#searchVoucher {
	cursor: pointer;
}

.hide {
	display: none;
}

/* Legacy support - keep icon sizes for images still in use */
.card-img-top {
	width: 40px;
	height: 40px;
}

.card-img-bottom {
	width: 24px;
	height: 24px;
}

/* ===== INFO CARDS (Nosotros section) ===== */
.info-card {
	border: none;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	overflow: hidden;
	position: relative;
	text-align: center;
	padding: 2rem 1.5rem;
}

.info-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 20px;
	padding: 2px;
	background: linear-gradient(135deg, #24aae1, #6c5ce7, #e84393);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.info-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 32px rgba(36, 170, 225, 0.15);
}

.info-card:hover::before {
	opacity: 1;
}

.info-card .icon-container {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	margin: 0 auto 1rem;
}

.info-card .icon-container i {
	font-size: 1.6rem;
}

.info-card .card-title {
	font-weight: 600;
	font-size: 1.05rem;
	color: #1e293b;
	margin-bottom: 0.5rem;
}

.info-card .card-text {
	color: #64748b;
	font-size: 0.88rem;
	line-height: 1.5;
}

/* ===== SPACER FOR FIXED NAVS ===== */
.spacer-top {
	height: 80px;
}

.spacer-bottom {
	height: 80px;
}
