/**
 * Asesoria page styles.
 *
 * Mirrors the approach used by the Quienes Somos / Contacto layouts:
 * navy + amber TravelZone palette, CMB2-driven content blocks.
 */

.tz-aseso-page {
	background: linear-gradient(180deg, #f6faff 0%, #ffffff 46%, #f6faff 100%);
	color: #0a2d5f;
	overflow: hidden;
}

.tz-aseso-shell {
	width: min(1160px, calc(100% - 48px));
	margin: 0 auto;
}

/* ---------- Hero ---------- */
.tz-aseso-hero {
	position: relative;
	min-height: 280px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	isolation: isolate;
}

.tz-aseso-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, #062b59 0%, rgba(7, 47, 97, 0.92) 42%, rgba(7, 47, 97, 0.62) 66%, rgba(7, 47, 97, 0.25) 100%);
}

.tz-aseso-hero-content {
	position: relative;
	z-index: 1;
	max-width: 540px;
	padding: 30px 0 40px;
	color: #ffffff;
}

.tz-aseso-breadcrumb {
	margin: 0 0 16px;
	font-size: 13px;
	font-weight: 700;
	color: #cdddf2;
}

.tz-aseso-breadcrumb a {
	color: #cdddf2;
	text-decoration: none;
}

.tz-aseso-breadcrumb a:hover {
	color: #ffffff;
}

.tz-aseso-hero-content h1,
body.tz-itc-template .tz-aseso-hero-content h1 {
	margin: 0;
	font-size: clamp(34px, 5vw, 52px);
	font-weight: 800;
	line-height: 1.05;
	color: #ffffff;
}

.tz-aseso-title-rule {
	display: block;
	width: 64px;
	height: 4px;
	margin: 16px 0 18px;
	border-radius: 4px;
	background: #f1842f;
}

.tz-aseso-hero-content p {
	margin: 0;
	max-width: 470px;
	font-size: 16px;
	line-height: 1.6;
	color: #e7eefa;
}

/* ---------- Content layout ---------- */
.tz-aseso-content {
	padding: 56px 0 0;
}

.tz-aseso-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.tz-aseso-form-card,
.tz-aseso-payment-card {
	background: #ffffff;
	border: 1px solid #e4ebf5;
	border-radius: 18px;
	box-shadow: 0 26px 60px -38px rgba(7, 47, 97, 0.45);
	padding: 34px 36px 38px;
}

.tz-aseso-payment-card {
	padding: 30px 30px 34px;
}

.tz-aseso-form-card h2,
.tz-aseso-payment-card h2 {
	margin: 0;
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 800;
	color: #0a2d5f;
}

/* Keep the brand navy on white-card headings (theme base forces #1f2f3f). */
body.tz-itc-template .tz-aseso-form-card h2,
body.tz-itc-template .tz-aseso-payment-card h2,
body.tz-itc-template .tz-aseso-benefits h2,
body.tz-itc-template .tz-aseso-benefit-copy h3 {
	color: #0a2d5f;
}

.tz-aseso-section-rule {
	display: block;
	width: 56px;
	height: 4px;
	margin: 14px 0 24px;
	border-radius: 4px;
	background: #f1842f;
}

.tz-aseso-section-rule--center {
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Form features ---------- */
.tz-aseso-form-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	padding-bottom: 26px;
	margin-bottom: 28px;
	border-bottom: 1px solid #e9eff7;
}

.tz-aseso-form-feature {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.tz-aseso-form-feature-icon {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #eef4fc;
	color: #0a2d5f;
	font-size: 16px;
}

.tz-aseso-form-feature-copy strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #0a2d5f;
	line-height: 1.25;
}

.tz-aseso-form-feature-copy p {
	margin: 4px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #6a7f9b;
}

/* ---------- Contact Form 7 styling ---------- */
.tz-aseso-form-body .wpcf7-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 22px;
}

.tz-aseso-form-body .wpcf7-form > p {
	margin: 0;
	display: flex;
	flex-direction: column;
	font-size: 13.5px;
	font-weight: 700;
	color: #0a2d5f;
}

/* Full-width rows: textarea, acceptance and submit. */
.tz-aseso-form-body .wpcf7-form > p:has(textarea),
.tz-aseso-form-body .wpcf7-form > p:has(.wpcf7-acceptance),
.tz-aseso-form-body .wpcf7-form > p:has(.wpcf7-submit) {
	grid-column: 1 / -1;
}

.tz-aseso-form-body .wpcf7-form label {
	display: flex;
	flex-direction: column;
	gap: 7px;
	font-size: 13.5px;
	font-weight: 700;
	color: #0a2d5f;
}

.tz-aseso-form-body .wpcf7-form input[type="text"],
.tz-aseso-form-body .wpcf7-form input[type="email"],
.tz-aseso-form-body .wpcf7-form input[type="tel"],
.tz-aseso-form-body .wpcf7-form input[type="url"],
.tz-aseso-form-body .wpcf7-form input[type="number"],
.tz-aseso-form-body .wpcf7-form select,
.tz-aseso-form-body .wpcf7-form textarea {
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	font-size: 14px;
	font-weight: 500;
	color: #0a2d5f;
	background: #f7faff;
	border: 1px solid #d9e4f1;
	border-radius: 10px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tz-aseso-form-body .wpcf7-form textarea {
	min-height: 130px;
	resize: vertical;
}

.tz-aseso-form-body .wpcf7-form input::placeholder,
.tz-aseso-form-body .wpcf7-form textarea::placeholder {
	color: #9aabc2;
	font-weight: 500;
}

.tz-aseso-form-body .wpcf7-form input:focus,
.tz-aseso-form-body .wpcf7-form select:focus,
.tz-aseso-form-body .wpcf7-form textarea:focus {
	outline: none;
	background: #ffffff;
	border-color: #f1842f;
	box-shadow: 0 0 0 3px rgba(241, 132, 47, 0.16);
}

.tz-aseso-form-body .wpcf7-form .wpcf7-acceptance {
	font-weight: 500;
}

.tz-aseso-form-body .wpcf7-form .wpcf7-acceptance label {
	flex-direction: row;
	align-items: flex-start;
	gap: 9px;
	font-size: 13px;
	font-weight: 500;
	color: #5b6f8a;
}

.tz-aseso-form-body .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
	margin-top: 2px;
	width: auto;
}

.tz-aseso-form-body .wpcf7-form .wpcf7-submit {
	width: 100%;
	margin-top: 4px;
	padding: 15px 24px;
	font-size: 15px;
	font-weight: 800;
	color: #3a2400;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	background: linear-gradient(90deg, #ffb43b 0%, #f1842f 100%);
	box-shadow: 0 16px 30px -14px rgba(241, 132, 47, 0.7);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.tz-aseso-form-body .wpcf7-form .wpcf7-submit:hover {
	transform: translateY(-1px);
	filter: brightness(1.03);
	box-shadow: 0 20px 34px -14px rgba(241, 132, 47, 0.78);
}

.tz-aseso-form-body .wpcf7-spinner {
	margin: 10px auto 0;
}

.tz-aseso-form-empty {
	padding: 26px;
	border: 1px dashed #cdd9e8;
	border-radius: 12px;
	background: #f7faff;
	color: #6a7f9b;
	text-align: center;
}

/* ---------- Form secure footer ---------- */
.tz-aseso-form-secure {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid #e9eff7;
}

.tz-aseso-form-secure-icon {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #eef4fc;
	color: #0a2d5f;
	font-size: 15px;
}

.tz-aseso-form-secure-copy strong {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: #0a2d5f;
}

.tz-aseso-form-secure-copy p {
	margin: 2px 0 0;
	font-size: 12.5px;
	color: #6a7f9b;
}

/* ---------- Payment card ---------- */
.tz-aseso-payment-label {
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: 700;
	color: #36507a;
}

.tz-aseso-payment-cards {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 8px;
}

.tz-aseso-payment-card-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 78px;
	height: 50px;
	padding: 0 12px;
	border: 1px solid #e4ebf5;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 10px 24px -18px rgba(7, 47, 97, 0.5);
}

.tz-aseso-payment-card-logo i {
	font-size: 34px;
	line-height: 1;
}

.tz-aseso-payment-card-logo img {
	width: auto;
	max-width: 58px;
	max-height: 30px;
	display: block;
	object-fit: contain;
}

.tz-aseso-payment-card-logo .fa-cc-visa {
	color: #1a1f71;
}

.tz-aseso-payment-card-logo .fa-cc-mastercard {
	color: #eb001b;
}

.tz-aseso-payment-card-logo .fa-cc-amex {
	color: #2e77bc;
}

.tz-aseso-payment-divider {
	border: none;
	border-top: 1px solid #e9eff7;
	margin: 24px 0 22px;
}

.tz-aseso-payment-methods {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.tz-aseso-payment-method {
	display: flex;
	gap: 13px;
	align-items: center;
}

.tz-aseso-payment-method-icon {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	background: #eef4fc;
	color: #0a2d5f;
	font-size: 17px;
}

.tz-aseso-payment-method-copy strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #0a2d5f;
	line-height: 1.2;
}

.tz-aseso-payment-method-copy p {
	margin: 3px 0 0;
	font-size: 12.5px;
	color: #6a7f9b;
}

.tz-aseso-payment-secure {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 24px;
	padding: 16px 18px;
	border-radius: 13px;
	background: #eef4fc;
	border: 1px solid #dfe9f6;
}

.tz-aseso-payment-secure-icon {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #ffffff;
	color: #1f7a4d;
	font-size: 16px;
}

.tz-aseso-payment-secure-copy strong {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: #0a2d5f;
}

.tz-aseso-payment-secure-copy p {
	margin: 2px 0 0;
	font-size: 12.5px;
	color: #5b6f8a;
}

/* ---------- Benefits ---------- */
.tz-aseso-benefits {
	margin-top: 64px;
	text-align: center;
}

.tz-aseso-benefits h2 {
	margin: 0;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	color: #0a2d5f;
}

.tz-aseso-benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	margin-top: 26px;
	text-align: left;
}

.tz-aseso-benefit-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 22px;
	border-radius: 16px;
	background: #eef4fc;
	border: 1px solid #e1eaf6;
	min-height: 100%;
}

.tz-aseso-benefit-card--2 {
	background: #edf7ef;
	border-color: #d9ecdd;
}

.tz-aseso-benefit-card--3 {
	background: #fff4ea;
	border-color: #ffe2c7;
}

.tz-aseso-benefit-card--4 {
	background: #fff4ea;
	border-color: #ffe2c7;
}

.tz-aseso-benefit-icon {
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #ffffff;
	color: #0a2d5f;
	font-size: 19px;
	box-shadow: 0 12px 26px -18px rgba(7, 47, 97, 0.5);
}

.tz-aseso-benefit-copy h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 800;
	color: #0a2d5f;
	line-height: 1.2;
}

.tz-aseso-benefit-copy p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #5b6f8a;
}

/* ---------- CTA band ---------- */
.tz-aseso-cta {
	position: relative;
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 56px 0 70px;
	padding: 34px 40px;
	border-radius: 20px;
	overflow: hidden;
	background: linear-gradient(120deg, #062b59 0%, #0a3a72 100%);
	color: #ffffff;
}

.tz-aseso-cta-icon {
	flex: 0 0 auto;
	font-size: 52px;
	color: rgba(255, 255, 255, 0.22);
}

.tz-aseso-cta-copy {
	flex: 1 1 auto;
}

.tz-aseso-cta-copy h2,
body.tz-itc-template .tz-aseso-cta-copy h2 {
	margin: 0;
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 800;
	color: #ffffff;
}

.tz-aseso-cta-copy p {
	margin: 8px 0 0;
	font-size: 15px;
	color: #d4e1f3;
}

.tz-aseso-cta-button {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 28px;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	color: #3a2400;
	border-radius: 12px;
	background: linear-gradient(90deg, #ffb43b 0%, #f1842f 100%);
	box-shadow: 0 18px 34px -16px rgba(241, 132, 47, 0.75);
	transition: transform 0.18s ease, filter 0.18s ease;
}

.tz-aseso-cta-button:hover {
	color: #3a2400;
	transform: translateY(-1px);
	filter: brightness(1.03);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.tz-aseso-grid {
		grid-template-columns: 1fr;
	}

	.tz-aseso-benefits-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.tz-aseso-content {
		padding-top: 40px;
	}

	.tz-aseso-form-card,
	.tz-aseso-payment-card {
		padding: 26px 22px 30px;
	}

	.tz-aseso-form-features {
		grid-template-columns: 1fr;
	}

	.tz-aseso-form-body .wpcf7-form {
		grid-template-columns: 1fr;
	}

	.tz-aseso-cta {
		flex-direction: column;
		text-align: center;
		gap: 18px;
		padding: 30px 24px;
	}

	.tz-aseso-cta-copy {
		text-align: center;
	}
}

@media (max-width: 520px) {
	.tz-aseso-benefits-grid {
		grid-template-columns: 1fr;
	}
}
