/* Cofradía · Formularios de Secretaría — estilos públicos
   Paleta y tipografías tomadas del sitio: azul #243559, oro #DFAA51,
   texto #3C3A47, títulos «Abhaya Libre», cuerpo «Actor». */

.cofr-wrap {
	--cofr-navy: #243559;
	--cofr-navy-2: #1b2844;
	--cofr-gold: #DFAA51;
	--cofr-gold-soft: #FBF3E4;
	--cofr-text: #3C3A47;
	--cofr-muted: #7A7884;
	--cofr-line: #DAD7CF;
	--cofr-bg: #F7F6F3;
	--cofr-error: #B3261E;
	--cofr-ok: #2E7D4F;
	--cofr-serif: "Abhaya Libre", Georgia, "Times New Roman", serif;
	--cofr-sans: Actor, Helvetica, Arial, Lucida, sans-serif;
	--cofr-radius: 6px;

	font-family: var(--cofr-sans);
	color: var(--cofr-text);
	font-size: 16px;
	line-height: 1.55;
	max-width: 920px;
	margin: 0 auto;
}

.cofr-wrap *,
.cofr-wrap *::before,
.cofr-wrap *::after { box-sizing: border-box; }

.cofr-wrap [hidden] { display: none !important; }

/* ---------- Secciones ---------- */
.cofr-wrap .cofr-form { margin: 0; }

.cofr-wrap .cofr-section {
	border: 0;
	margin: 0 0 28px;
	padding: 26px 28px 10px;
	background: #fff;
	border: 1px solid #ECEAE5;
	border-radius: var(--cofr-radius);
	box-shadow: 0 1px 2px rgba(36, 53, 89, .04);
	min-width: 0;
}

.cofr-wrap .cofr-section__title {
	float: left;
	width: 100%;
	padding: 0 0 10px;
	margin: 0 0 18px;
	font-family: var(--cofr-serif);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--cofr-navy);
	border-bottom: 1px solid #ECEAE5;
	position: relative;
}
.cofr-wrap .cofr-section__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 56px;
	height: 2px;
	background: var(--cofr-gold);
}
.cofr-wrap .cofr-section__title + * { clear: both; }

.cofr-wrap .cofr-section__desc {
	margin: 0 0 16px;
	padding: 0;
	color: var(--cofr-muted);
	font-size: 15px;
}

.cofr-wrap .cofr-section--legal {
	background: var(--cofr-bg);
	border-color: transparent;
	box-shadow: none;
	padding-top: 20px;
}

/* ---------- Rejilla ---------- */
.cofr-wrap .cofr-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 4px 18px;
}
.cofr-wrap .cofr-w-full { grid-column: span 6; }
.cofr-wrap .cofr-w-half { grid-column: span 3; }
.cofr-wrap .cofr-w-third { grid-column: span 2; }
.cofr-wrap .cofr-w-two-thirds { grid-column: span 4; }
.cofr-wrap .cofr-w-sixth { grid-column: span 1; }
.cofr-wrap .cofr-w-quarter { grid-column: span 3; }
@media (min-width: 981px) {
	.cofr-wrap .cofr-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.cofr-wrap .cofr-w-full { grid-column: span 12; }
	.cofr-wrap .cofr-w-half { grid-column: span 6; }
	.cofr-wrap .cofr-w-third { grid-column: span 4; }
	.cofr-wrap .cofr-w-two-thirds { grid-column: span 8; }
	.cofr-wrap .cofr-w-quarter { grid-column: span 3; }
	.cofr-wrap .cofr-w-sixth { grid-column: span 2; }
}
@media (max-width: 640px) {
	.cofr-wrap .cofr-section { padding: 22px 18px 6px; }
	.cofr-wrap .cofr-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.cofr-wrap .cofr-w-full,
	.cofr-wrap .cofr-w-half,
	.cofr-wrap .cofr-w-third,
	.cofr-wrap .cofr-w-two-thirds,
	.cofr-wrap .cofr-w-quarter { grid-column: span 6; }
	.cofr-wrap .cofr-w-sixth { grid-column: span 2; }
}

/* ---------- Campos ---------- */
.cofr-wrap .cofr-field { margin: 0 0 14px; min-width: 0; }
.cofr-wrap .cofr-field.cofr-is-hidden { display: none; }

.cofr-wrap .cofr-label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--cofr-navy);
	letter-spacing: .01em;
}
.cofr-wrap .cofr-req-mark { color: #B4802A; font-weight: 700; }

.cofr-wrap input[type="text"],
.cofr-wrap input[type="email"],
.cofr-wrap input[type="tel"],
.cofr-wrap input[type="date"],
.cofr-wrap select,
.cofr-wrap textarea {
	display: block;
	width: 100%;
	margin: 0;
	padding: 11px 14px;
	font-family: var(--cofr-sans);
	font-size: 16px;
	line-height: 1.4;
	color: var(--cofr-text);
	background: #fff;
	border: 1px solid var(--cofr-line);
	border-radius: 4px;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
	min-height: 46px;
}
.cofr-wrap textarea { min-height: 120px; resize: vertical; }
.cofr-wrap input::placeholder,
.cofr-wrap textarea::placeholder { color: #A9A6AF; opacity: 1; }

.cofr-wrap input:focus,
.cofr-wrap select:focus,
.cofr-wrap textarea:focus {
	outline: none;
	border-color: var(--cofr-gold);
	box-shadow: 0 0 0 3px rgba(223, 170, 81, .25);
}

.cofr-wrap .cofr-select { position: relative; }
.cofr-wrap .cofr-select::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--cofr-navy);
	border-bottom: 2px solid var(--cofr-navy);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.cofr-wrap .cofr-select select { padding-right: 40px; cursor: pointer; }

.cofr-wrap .cofr-type-dni input,
.cofr-wrap .cofr-type-iban input { text-transform: uppercase; letter-spacing: .04em; }

.cofr-wrap .cofr-help {
	margin: 6px 0 0;
	padding: 0;
	font-size: 13px;
	color: var(--cofr-muted);
}
.cofr-wrap .cofr-error {
	margin: 6px 0 0;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--cofr-error);
}
.cofr-wrap .cofr-error:empty { display: none; }

.cofr-wrap .cofr-has-error input,
.cofr-wrap .cofr-has-error select,
.cofr-wrap .cofr-has-error textarea,
.cofr-wrap .cofr-has-error .cofr-file { border-color: var(--cofr-error); }

/* ---------- Casillas ---------- */
.cofr-wrap .cofr-check {
	position: relative;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 4px 0 0;
	cursor: pointer;
	font-size: 14.5px;
	line-height: 1.5;
}
.cofr-wrap .cofr-check input,
.cofr-wrap .cofr-radio input {
	position: absolute;
	opacity: 0;
	width: 22px;
	height: 22px;
	margin: 0;
	cursor: pointer;
}
.cofr-wrap .cofr-check__box {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border: 1.5px solid #B9B5AC;
	border-radius: 4px;
	background: #fff;
	position: relative;
	transition: background .15s, border-color .15s;
}
.cofr-wrap .cofr-check input:checked + .cofr-check__box {
	background: var(--cofr-navy);
	border-color: var(--cofr-navy);
}
.cofr-wrap .cofr-check input:checked + .cofr-check__box::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 6px;
	height: 11px;
	border: solid var(--cofr-gold);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}
.cofr-wrap .cofr-check input:focus-visible + .cofr-check__box { box-shadow: 0 0 0 3px rgba(223, 170, 81, .35); }
.cofr-wrap .cofr-has-error .cofr-check__box { border-color: var(--cofr-error); }
.cofr-wrap .cofr-check a,
.cofr-wrap .cofr-legal a { color: var(--cofr-navy); text-decoration: underline; text-decoration-color: var(--cofr-gold); text-underline-offset: 2px; }

.cofr-wrap .cofr-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.cofr-wrap .cofr-radio {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: 1px solid var(--cofr-line);
	border-radius: 100px;
	cursor: pointer;
	font-size: 14.5px;
	transition: border-color .15s, background .15s;
}
.cofr-wrap .cofr-radio__dot {
	width: 18px;
	height: 18px;
	border: 1.5px solid #B9B5AC;
	border-radius: 50%;
	position: relative;
	flex: 0 0 18px;
}
.cofr-wrap .cofr-radio input:checked + .cofr-radio__dot { border-color: var(--cofr-navy); }
.cofr-wrap .cofr-radio input:checked + .cofr-radio__dot::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--cofr-gold);
}
.cofr-wrap .cofr-radio:has(input:checked) { border-color: var(--cofr-navy); background: #F4F5F8; }
.cofr-wrap .cofr-radio input:focus-visible + .cofr-radio__dot { box-shadow: 0 0 0 3px rgba(223, 170, 81, .35); }

/* ---------- Archivo ---------- */
.cofr-wrap .cofr-file {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px;
	border: 1.5px dashed var(--cofr-line);
	border-radius: 4px;
	background: var(--cofr-bg);
	min-height: 54px;
}
.cofr-wrap .cofr-file input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}
.cofr-wrap .cofr-file__btn {
	flex: 0 0 auto;
	padding: 7px 16px;
	border-radius: 100px;
	background: var(--cofr-navy);
	color: #fff;
	font-size: 14px;
}
.cofr-wrap .cofr-file__name {
	font-size: 14px;
	color: var(--cofr-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.cofr-wrap .cofr-file.cofr-file--filled { border-style: solid; border-color: var(--cofr-gold); background: var(--cofr-gold-soft); }
.cofr-wrap .cofr-file.cofr-file--filled .cofr-file__name { color: var(--cofr-text); }
.cofr-wrap .cofr-file:focus-within { box-shadow: 0 0 0 3px rgba(223, 170, 81, .3); }

/* ---------- Bloque partida ---------- */
.cofr-wrap .cofr-partida-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 18px;
	padding: 14px 18px;
	border-left: 3px solid var(--cofr-gold);
	background: var(--cofr-gold-soft);
	border-radius: 0 4px 4px 0;
}
.cofr-wrap .cofr-partida-cta p { margin: 0; padding: 0; font-size: 15px; }
.cofr-wrap .cofr-partida-ok { flex-basis: 100%; color: var(--cofr-ok); font-weight: 600; }
.cofr-wrap .cofr-partida-ok:empty { display: none; }

/* ---------- Información legal ---------- */
.cofr-wrap .cofr-legal {
	margin: 6px 0 14px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--cofr-muted);
}
.cofr-wrap .cofr-legal summary {
	cursor: pointer;
	color: var(--cofr-navy);
	font-weight: 600;
	font-size: 13.5px;
	list-style: none;
}
.cofr-wrap .cofr-legal summary::-webkit-details-marker { display: none; }
.cofr-wrap .cofr-legal summary::before { content: "＋ "; color: var(--cofr-gold); }
.cofr-wrap .cofr-legal[open] summary::before { content: "－ "; }
.cofr-wrap .cofr-legal dl {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 6px 14px;
	margin: 12px 0 0;
	padding: 14px 16px;
	background: #fff;
	border-radius: 4px;
}
.cofr-wrap .cofr-legal dt { font-weight: 600; color: var(--cofr-navy); }
.cofr-wrap .cofr-legal dd { margin: 0; }
@media (max-width: 640px) { .cofr-wrap .cofr-legal dl { grid-template-columns: 1fr; } .cofr-wrap .cofr-legal dd { margin-bottom: 6px; } }

.cofr-wrap .cofr-required-note { font-size: 13px; color: var(--cofr-muted); margin: -12px 0 18px; padding: 0; }

/* ---------- Botones ---------- */
.cofr-wrap .cofr-actions { display: flex; justify-content: center; margin: 4px 0 10px; }

.cofr-wrap .cofr-btn,
.cofr-modal .cofr-btn,
button.cofr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 28px;
	font-family: Actor, Helvetica, Arial, Lucida, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 500;
	color: #243559;
	background: #DFAA51;
	border: 1px solid #DFAA51;
	border-radius: 100px;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .1s;
	text-decoration: none;
}
.cofr-wrap .cofr-btn:hover,
button.cofr-btn:hover { background: #243559; color: #fff; border-color: #DFAA51; }
.cofr-wrap .cofr-btn:active { transform: translateY(1px); }
.cofr-wrap .cofr-btn:focus-visible,
button.cofr-btn:focus-visible { outline: 3px solid rgba(223, 170, 81, .5); outline-offset: 2px; }
.cofr-wrap .cofr-btn--submit { padding: 13px 38px; font-size: 17px; min-width: 260px; }
.cofr-wrap .cofr-btn--ghost { background: #243559; color: #fff; border-color: #DFAA51; padding: 8px 20px; font-size: 15px; }
.cofr-wrap .cofr-btn--ghost:hover { background: #DFAA51; color: #243559; }
.cofr-wrap .cofr-btn[disabled] { opacity: .7; cursor: progress; }
.cofr-wrap .cofr-btn.is-loading::before {
	content: "";
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: cofr-spin .7s linear infinite;
}
@keyframes cofr-spin { to { transform: rotate(360deg); } }

/* ---------- Avisos ---------- */
.cofr-wrap .cofr-alert {
	padding: 14px 18px;
	margin: 0 0 22px;
	border-radius: 4px;
	font-size: 15px;
}
.cofr-wrap .cofr-alert--error { background: #FCEDEC; color: var(--cofr-error); border-left: 3px solid var(--cofr-error); }

.cofr-wrap .cofr-success {
	text-align: center;
	padding: 44px 28px;
	background: #fff;
	border: 1px solid #ECEAE5;
	border-top: 3px solid var(--cofr-gold);
	border-radius: var(--cofr-radius);
}
.cofr-wrap .cofr-success:focus { outline: none; }
.cofr-wrap .cofr-success__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--cofr-navy);
	color: var(--cofr-gold);
}
.cofr-wrap .cofr-success__title {
	margin: 0 0 10px;
	padding: 0;
	font-family: var(--cofr-serif);
	font-weight: 500;
	font-size: 28px;
	color: var(--cofr-navy);
}
.cofr-wrap .cofr-success__text { margin: 0 auto 10px; padding: 0; max-width: 560px; }
.cofr-wrap .cofr-success__ref { margin: 0; padding: 0; color: var(--cofr-muted); }
.cofr-wrap .cofr-success__ref strong { color: var(--cofr-navy); letter-spacing: .04em; }

/* Anti-spam */
.cofr-wrap .cofr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Ventana emergente ---------- */
.cofr-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 40px 16px;
	overflow-y: auto;
}
.cofr-modal[hidden] { display: none; }
.cofr-modal__overlay {
	position: fixed;
	inset: 0;
	background: rgba(14, 12, 25, .62);
	backdrop-filter: blur(2px);
}
.cofr-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 860px;
	background: #F7F6F3;
	border-radius: 8px;
	border-top: 4px solid #DFAA51;
	padding: 34px 30px 20px;
	box-shadow: 0 20px 60px rgba(14, 12, 25, .35);
	animation: cofr-in .2s ease-out;
}
@keyframes cofr-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cofr-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #243559;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}
.cofr-modal__close:hover { background: #ECEAE5; }
.cofr-modal__title {
	margin: 0 0 6px;
	padding: 0 40px 0 0;
	font-family: "Abhaya Libre", Georgia, serif;
	font-weight: 500;
	font-size: 30px;
	color: #243559;
}
.cofr-modal__intro { margin: 0 0 22px; padding: 0; color: #7A7884; font-family: Actor, Helvetica, Arial, sans-serif; font-size: 15px; }
.cofr-modal .cofr-wrap { max-width: none; }
body.cofr-modal-open { overflow: hidden; }
@media (max-width: 640px) {
	.cofr-modal { padding: 0; }
	.cofr-modal__dialog { border-radius: 0; min-height: 100%; padding: 28px 14px 14px; }
}

/* ---------- Página para aportar documentación ---------- */
.cofr-portal { padding: 50px 0 70px; }
.cofr-portal__title {
	font-family: "Abhaya Libre", Georgia, serif;
	font-weight: 500;
	font-size: 34px;
	color: #243559;
	margin: 0 0 8px;
}
.cofr-portal__intro { margin: 0 0 24px; color: #7A7884; }

@media (prefers-reduced-motion: reduce) {
	.cofr-modal__dialog, .cofr-wrap .cofr-btn.is-loading::before { animation: none; }
}

/* ---------- Formulario por pasos ---------- */
.cofr-wrap .cofr-step-off { display: none !important; }

/* Sin JavaScript se ve el formulario completo: la navegación por pasos solo aparece al activarse. */
.cofr-wrap:not(.is-stepped) .cofr-steps,
.cofr-wrap:not(.is-stepped) .cofr-btn--prev,
.cofr-wrap:not(.is-stepped) .cofr-btn--next { display: none; }

.cofr-wrap .cofr-steps { margin: 0 0 26px; }
.cofr-wrap .cofr-steps__count {
	margin: 0 0 10px;
	padding: 0;
	font-size: 14px;
	color: var(--cofr-muted);
	text-align: center;
}
.cofr-wrap .cofr-steps__bar {
	display: none;
	height: 4px;
	background: #ECEAE5;
	border-radius: 4px;
	overflow: hidden;
}
.cofr-wrap .cofr-steps__bar span {
	display: block;
	height: 100%;
	background: var(--cofr-gold);
	transition: width .3s ease;
}

.cofr-wrap .cofr-steps__list {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}
.cofr-wrap .cofr-steps__item {
	flex: 1 1 0;
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}
/* Línea de unión entre pasos */
.cofr-wrap .cofr-steps__item + .cofr-steps__item::before {
	content: "";
	position: absolute;
	top: 18px;
	right: calc(50% + 24px);
	left: calc(-50% + 24px);
	height: 2px;
	background: #E2DFD8;
}
.cofr-wrap .cofr-steps__item.is-done + .cofr-steps__item::before,
.cofr-wrap .cofr-steps__item.is-current::before { background: var(--cofr-gold); }

.cofr-wrap .cofr-steps__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 0 4px;
	margin: 0;
	background: none;
	border: 0;
	font-family: var(--cofr-sans);
	color: var(--cofr-muted);
	cursor: pointer;
}
.cofr-wrap .cofr-steps__btn:disabled { cursor: default; }
.cofr-wrap .cofr-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #D6D2C9;
	font-size: 15px;
	font-weight: 600;
	color: var(--cofr-muted);
	transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.cofr-wrap .cofr-steps__label {
	font-size: 13px;
	line-height: 1.25;
	text-align: center;
	overflow-wrap: anywhere;
}
.cofr-wrap .cofr-steps__item.is-current .cofr-steps__num {
	background: var(--cofr-navy);
	border-color: var(--cofr-navy);
	color: #fff;
	box-shadow: 0 0 0 4px rgba(223, 170, 81, .3);
}
.cofr-wrap .cofr-steps__item.is-current .cofr-steps__label { color: var(--cofr-navy); font-weight: 700; }
.cofr-wrap .cofr-steps__item.is-done .cofr-steps__num {
	background: var(--cofr-gold);
	border-color: var(--cofr-gold);
	color: transparent;
	position: relative;
}
.cofr-wrap .cofr-steps__item.is-done .cofr-steps__num::after {
	content: "";
	position: absolute;
	left: 13px;
	top: 8px;
	width: 7px;
	height: 13px;
	border: solid var(--cofr-navy);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}
.cofr-wrap .cofr-steps__item.is-done .cofr-steps__label { color: var(--cofr-navy); }
.cofr-wrap .cofr-steps__btn:not(:disabled):hover .cofr-steps__num { transform: scale(1.06); }
.cofr-wrap .cofr-steps__btn:not(:disabled):hover .cofr-steps__label { text-decoration: underline; text-decoration-color: var(--cofr-gold); }
.cofr-wrap .cofr-steps__btn:focus-visible { outline: none; }
.cofr-wrap .cofr-steps__btn:focus-visible .cofr-steps__num { box-shadow: 0 0 0 4px rgba(223, 170, 81, .5); }

/* Botones de navegación */
.cofr-wrap.is-stepped .cofr-actions { justify-content: space-between; align-items: center; gap: 12px; }
.cofr-wrap.is-stepped .cofr-btn--prev {
	background: transparent;
	color: var(--cofr-navy);
	border-color: var(--cofr-line);
	padding: 11px 22px 11px 16px;
}
.cofr-wrap.is-stepped .cofr-btn--prev:hover { border-color: var(--cofr-navy); background: #fff; color: var(--cofr-navy); }
.cofr-wrap.is-stepped .cofr-btn--next { padding: 12px 20px 12px 30px; font-size: 17px; margin-left: auto; }
.cofr-wrap.is-stepped .cofr-btn--submit { margin-left: auto; min-width: 0; }
.cofr-wrap.is-stepped .cofr-section { animation: cofr-step-in .25s ease-out; }
.cofr-wrap.is-stepped .cofr-section__title:focus { outline: none; }
@keyframes cofr-step-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
	.cofr-wrap .cofr-steps__label { display: none; }
	.cofr-wrap .cofr-steps__num { width: 30px; height: 30px; font-size: 13px; }
	.cofr-wrap .cofr-steps__item + .cofr-steps__item::before { top: 14px; right: calc(50% + 18px); left: calc(-50% + 18px); }
	.cofr-wrap .cofr-steps__item.is-done .cofr-steps__num::after { left: 10px; top: 5px; width: 6px; height: 11px; }
	.cofr-wrap .cofr-steps__count { font-weight: 600; color: var(--cofr-navy); }
}
@media (max-width: 480px) {
	.cofr-wrap .cofr-steps__list { display: none; }
	.cofr-wrap .cofr-steps__bar { display: block; }
	.cofr-wrap .cofr-steps__count { text-align: left; }
	.cofr-wrap.is-stepped .cofr-actions { flex-wrap: wrap; }
	.cofr-wrap.is-stepped .cofr-btn--next,
	.cofr-wrap.is-stepped .cofr-btn--submit { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
	.cofr-wrap.is-stepped .cofr-section { animation: none; }
}
@media (min-width: 761px) {
	.cofr-wrap .cofr-steps__count { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
