/* ==========================================================
   Trekkinea · Página de reservas en 4 pasos
   Mismos colores y formas que el maquetado (reservar.html)
   ========================================================== */

.tkr {
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background: #f5f5f5;
	padding: 40px;
	border-radius: 20px;
	max-width: 1140px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* Todo lo de dentro hereda la tipografía del maquetado. */
.tkr,
.tkr input,
.tkr select,
.tkr textarea,
.tkr button {
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Barra de pasos ---------- */

.tkr-pasos {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.tkr-paso-wrap {
	display: flex;
	align-items: center;
	gap: 20px;
}

.tkr-paso {
	width: 130px;
	height: 130px;
	background: #20bcc7;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: #fff;
	padding: 15px;
	box-sizing: border-box;
	opacity: .45;
	transition: opacity .2s, transform .2s;
}

.tkr-paso.is-active {
	opacity: 1;
	transform: scale(1.06);
	box-shadow: 0 8px 20px rgba(32, 188, 199, .35);
}

.tkr-paso.is-done {
	opacity: 1;
	background: #0f3d3a;
}

.tkr-paso-num {
	font-size: 18px;
	font-weight: 500;
}

.tkr-paso-txt {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	margin-top: 8px;
}

.tkr-paso-txt.is-small {
	font-size: 13px;
	line-height: 1.3;
}

.tkr-flecha {
	font-size: 42px;
	color: #0f3d3a;
	line-height: 1;
}

/* ---------- Tarjeta ---------- */

.tkr-card {
	background: #fff;
	border: 1px solid #b7c8c8;
	border-radius: 30px;
	padding: 40px;
}

.tkr-titulo {
	margin: 0 0 24px;
	color: #0f3d3a;
	font-size: 32px;
	line-height: 1.2;
}

/* ---------- Resumen del viaje ---------- */

.tkr-resumen {
	display: flex;
	gap: 24px;
	background: #f8f8f8;
	border-radius: 16px;
	padding: 20px;
	margin-bottom: 34px;
	flex-wrap: wrap;
}

.tkr-resumen-img {
	flex: 0 0 220px;
	max-width: 220px;
}

.tkr-resumen-img img {
	width: 100%;
	height: 100%;
	max-height: 180px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}

.tkr-resumen-datos {
	flex: 1 1 320px;
	min-width: 0;
}

.tkr-resumen-eti {
	display: inline-block;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #20bcc7;
	font-weight: 700;
}

.tkr-resumen-datos h3 {
	margin: 4px 0 12px;
	color: #0f3d3a;
	font-size: 24px;
	line-height: 1.25;
}

.tkr-resumen-datos ul {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	font-size: 15px;
	color: #444;
}

.tkr-resumen-datos li {
	margin: 0;
}

.tkr-importes {
	width: 100%;
	max-width: 420px;
	border-collapse: collapse;
	font-size: 15px;
}

.tkr-importes td {
	padding: 6px 0;
	border-bottom: 1px dashed #ddd;
	color: #444;
}

.tkr-importes td:last-child {
	text-align: right;
	font-weight: 600;
	white-space: nowrap;
	color: #0f3d3a;
}

.tkr-importes-total td {
	font-size: 18px;
	color: #0f3d3a;
	font-weight: 700;
}

/* ---------- Formulario ---------- */

.tkr-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.tkr-campo {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tkr-campo--full {
	grid-column: 1 / -1;
	margin-top: 20px;
}

.tkr-campo label {
	font-size: 14px;
	font-weight: 600;
	color: #0f3d3a;
}

.tkr-campo input,
.tkr-campo select {
	padding: 14px;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	font-family: inherit;
	font-size: 15px;
	background: #fff;
	width: 100%;
	box-sizing: border-box;
}

.tkr-campo input:focus,
.tkr-campo select:focus {
	outline: 2px solid #20bcc7;
	outline-offset: 1px;
}

.tkr-req {
	color: #E74606;
}

.tkr-selector {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid #eee;
}

.tkr-check label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
	font-size: 14px;
	color: #555;
}

.tkr-check input {
	width: auto;
	margin-top: 3px;
}

.tkr-acciones {
	margin-top: 30px;
	text-align: right;
}

.tkr-btn {
	background: #20bcc7;
	color: #fff;
	border: none;
	padding: 14px 28px;
	border-radius: 8px;
	font-family: inherit;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background .2s;
}

.tkr-btn:hover {
	background: #0f3d3a;
	color: #fff;
}

.tkr-btn--oscuro {
	background: #0f3d3a;
	padding: 16px 34px;
	border-radius: 10px;
	font-size: 16px;
}

.tkr-btn--oscuro:hover {
	background: #20bcc7;
}

.tkr-link {
	background: none;
	border: 0;
	color: #20bcc7;
	cursor: pointer;
	text-decoration: underline;
	font-size: 13px;
	padding: 0;
}

/* ---------- Avisos ---------- */

.tkr-errores {
	background: #fdecec;
	border-left: 4px solid #DE5555;
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 24px;
	color: #8a1f1f;
}

.tkr-errores ul {
	margin: 0;
	padding-left: 18px;
}

.tkr-aviso {
	background: #e8faf8;
	border-left: 4px solid #20bcc7;
	border-radius: 8px;
	padding: 14px 18px;
	margin-bottom: 24px;
	color: #0f3d3a;
}

/* ---------- Paso 2 · contrato y firma ---------- */

.tkr-contrato-intro {
	margin: 0 0 14px;
	color: #555;
}

.tkr-contrato-acciones {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0 0 16px;
}

.tkr-link-doc {
	color: #0f3d3a;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid #20bcc7;
	padding-bottom: 2px;
}

.tkr-link-doc:hover {
	color: #20bcc7;
}

.tkr-contrato {
	background: #f8f8f8;
	padding: 30px;
	border-radius: 16px;
	line-height: 1.8;
	color: #555;
	font-size: 14px;
}

/* El contrato se lee dentro de un recuadro con scroll, como un documento. */
.tkr-contrato-scroll {
	max-height: 460px;
	overflow-y: auto;
	padding: 0;
	background: #e9eded;
	border: 1px solid #cfd8d8;
	box-shadow: inset 0 -12px 14px -12px rgba(0, 0, 0, .18);
}

.tkr-contrato-scroll .tkv-contrato-doc {
	margin: 18px auto;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
	border-radius: 4px;
	max-width: 720px;
}

.tkr-contrato p:last-child {
	margin-bottom: 0;
}

.tkr-firma {
	margin-top: 25px;
}

.tkr-firma > label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
	color: #0f3d3a;
}

.tkr-firma-canvas {
	width: 100%;
	height: 200px;
	border: 2px dashed #20bcc7;
	border-radius: 12px;
	background: #fafafa;
	display: block;
	touch-action: none;
	cursor: crosshair;
}

.tkr-firma-ayuda {
	margin: 8px 0 0;
	font-size: 13px;
	color: #888;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

/* ---------- Paso 3 · pago ---------- */

.tkr-pago {
	background: #f8f8f8;
	padding: 30px;
	border-radius: 16px;
}

.tkr-pago-importe {
	display: flex;
	flex-direction: column;
	margin-bottom: 24px;
}

.tkr-pago-importe span {
	font-size: 16px;
	color: #777;
}

.tkr-pago-importe strong {
	font-size: 42px;
	color: #0f3d3a;
	font-weight: 700;
	line-height: 1.1;
}

.tkr-pago-importe small {
	font-size: 14px;
	color: #777;
	margin-top: 4px;
}

.tkr-metodos {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.tkr-metodo {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 2px solid #e2e2e2;
	border-radius: 12px;
	padding: 16px 22px;
	cursor: pointer;
	font-weight: 600;
	color: #0f3d3a;
	flex: 1 1 220px;
}

.tkr-metodo:has(input:checked) {
	border-color: #20bcc7;
	background: #f0fdfa;
}

.tkr-banco {
	margin-top: 20px;
	background: #fff;
	border-radius: 12px;
	padding: 18px 22px;
	font-size: 15px;
	color: #444;
}

/* ---------- Paso 4 · seguimiento ---------- */

.tkr-seguimiento {
	background: #f8f8f8;
	padding: 30px;
	border-radius: 16px;
}

.tkr-seguimiento-intro {
	margin: 0 0 12px;
	color: #555;
	line-height: 1.8;
}

.tkr-localizador {
	margin: 0 0 22px;
	font-size: 16px;
	color: #0f3d3a;
}

.tkr-localizador strong {
	font-size: 20px;
	letter-spacing: .06em;
}

.tkr-hitos {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 26px;
}

.tkr-hito {
	padding: 16px;
	border-radius: 10px;
	font-weight: 600;
	background: #f2f2f2;
	color: #999;
}

.tkr-hito.is-ok {
	background: #e8faf8;
	color: #0f3d3a;
}

.tkr-hito.is-espera {
	background: #fff4df;
	color: #9a6a00;
}

.tkr-hito.is-ko {
	background: #fdecec;
	color: #8a1f1f;
}

.tkr-seguimiento .tkr-resumen {
	background: #fff;
	margin-bottom: 0;
}

.tkr-guarda {
	margin: 20px 0 0;
	font-size: 14px;
	color: #777;
}

/* ---------- Responsive ---------- */

@media (max-width: 767px) {
	.tkr {
		padding: 20px;
	}

	.tkr-card {
		padding: 25px;
	}

	.tkr-titulo {
		font-size: 24px;
	}

	.tkr-paso {
		width: 96px;
		height: 96px;
		padding: 10px;
	}

	.tkr-paso-num {
		font-size: 14px;
	}

	.tkr-paso-txt {
		font-size: 11px;
	}

	.tkr-paso-txt.is-small {
		font-size: 9px;
	}

	.tkr-flecha {
		font-size: 26px;
	}

	.tkr-paso-wrap {
		gap: 8px;
	}

	.tkr-pasos {
		gap: 8px;
	}

	.tkr-acciones {
		text-align: center;
	}

	.tkr-btn {
		width: 100%;
	}
}

/* ---------- Adjuntar pasaporte ----------
   En móvil la fila no cabe (el botón de archivo se salía del recuadro y el
   texto quedaba en una columna muy estrecha), así que se apila. */
.tkv-pasaporte {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	padding: 12px 16px;
	border: 1px dashed #bcd3d4;
	border-radius: 12px;
	background: #f4fafa;
	cursor: pointer;
	box-sizing: border-box;
}

.tkv-pasaporte__icono { font-size: 24px; line-height: 1; flex: 0 0 auto; }

.tkv-pasaporte__texto {
	flex: 1 1 240px;
	min-width: 0;
	font-size: 14px;
	color: #44585a;
	line-height: 1.5;
}

.tkv-pasaporte__texto strong { display: block; color: #0f3d3a; }

.tkv-pasaporte__archivo {
	flex: 0 1 190px;
	max-width: 100%;
	font-size: 13px;
}

@media (max-width: 680px) {
	.tkv-pasaporte { gap: 8px 10px; align-items: flex-start; }
	.tkv-pasaporte__texto { flex: 1 1 calc(100% - 46px); font-size: 13px; }
	.tkv-pasaporte__archivo {
		flex: 1 1 100%;
		width: 100%;
		background: #fff;
		border: 1px solid #d9d9d9;
		border-radius: 8px;
		padding: 10px;
	}
}
