/*
 * Calma del Norte · detalles de interfaz y movimiento
 * Colores, tipografías y espacios viven en theme.json; aquí solo lo que
 * theme.json no puede expresar. Todas las clases propias llevan el prefijo cdn-.
 */

:root {
	--cdn-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--cdn-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
	--cdn-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
	--cdn-cabecera: 84px;
	--cdn-barra: 76px;
	color-scheme: light;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--cdn-cabecera) + var(--wp-admin--admin-bar--height, 0px));
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Tres tipografías y ninguna más: Newsreader normal, Outfit normal y Outfit media.
   Sin cursivas ni negritas sintéticas. */
body { font-synthesis: none; }
em, i, cite { font-style: normal; }
strong, b, th { font-weight: 500; }

:where(h1, h2, h3) { text-wrap: balance; }
:where(p, li) { text-wrap: pretty; }

a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

/* Las secciones van pegadas unas a otras: el aire lo pone cada sección. */
.wp-site-blocks > * { margin-block-start: 0; }
.cdn-main > * { margin-block-start: 0 !important; }

.screen-reader-text:not(:focus) {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* ---------- Foco visible (teclado) ---------- */
:where(a, button, summary, input, select, textarea, .wp-element-button):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
	border-radius: 4px;
}
.cdn-consultar :where(a, button, summary, input, select, textarea, .wp-element-button):focus-visible {
	outline-color: var(--wp--preset--color--base);
}

/* ---------- Cabecera fija ---------- */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
}
@media (max-width: 600px) {
	/* En el móvil la barra de administración no es fija. */
	.wp-site-blocks > header.wp-block-template-part { top: 0; }
}
/* El desenfoque va en un pseudo-elemento: si estuviera en la propia cabecera,
   el menú desplegable del móvil (position: fixed) quedaría encerrado en ella. */
.cdn-cabecera {
	position: relative;
	isolation: isolate;
	border-bottom: 1px solid var(--wp--preset--color--rule);
}
.cdn-cabecera::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--wp--preset--color--base) 94%, transparent);
	-webkit-backdrop-filter: saturate(1.2) blur(10px);
	backdrop-filter: saturate(1.2) blur(10px);
}
.cdn-cabecera__lugar {
	margin: 4px 0 0 !important;
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	line-height: 1.2;
}
.cdn-cabecera .wp-block-navigation a { text-decoration: none; }
.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item .wp-block-navigation-item__content {
	padding-block: 0.5rem;
	min-height: 44px;
	display: flex;
	align-items: center;
	font-size: 1.375rem;
	font-family: var(--wp--preset--font-family--serif);
}

/* ---------- Botones: responden al dedo ---------- */
.wp-element-button,
.wp-block-button__link {
	transition:
		transform 160ms var(--cdn-ease-out),
		background-color 200ms ease,
		color 200ms ease,
		border-color 200ms ease;
	min-height: 48px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.wp-element-button:active,
.wp-block-button__link:active { transform: scale(0.97); }

.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1.5px solid currentColor;
	background: transparent;
	color: var(--wp--preset--color--contrast);
}
.wp-block-button.is-style-claro > .wp-block-button__link {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}
@media (hover: hover) and (pointer: fine) {
	.wp-block-button.is-style-outline > .wp-block-button__link:hover {
		background-color: var(--wp--preset--color--contrast);
		color: var(--wp--preset--color--paper);
		border-color: var(--wp--preset--color--contrast);
	}
	.wp-block-button.is-style-claro > .wp-block-button__link:hover {
		background-color: #ffffff;
		color: var(--wp--preset--color--contrast);
	}
}
@media (hover: none) {
	/* En pantallas táctiles el hover no se queda pegado. */
	.wp-block-button:not(.is-style-outline):not(.is-style-claro) > .wp-block-button__link:hover {
		background-color: var(--wp--preset--color--accent);
	}
}

/* ---------- Estilos de bloque propios ---------- */
.is-style-antetitulo {
	font-size: 0.8125rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1.4;
	color: var(--wp--preset--color--accent);
}
.cdn-consultar .is-style-antetitulo { color: var(--wp--preset--color--on-dark); }

.wp-block-heading.is-style-etiqueta {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 0.8125rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1.4;
}

.is-style-enlace-linea a {
	display: inline-block;
	padding: 0.6rem 0 0.15rem;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

/* ---------- Secciones partidas (foto + texto) ---------- */
.wp-site-blocks .wp-block-columns.cdn-split {
	gap: 0;
	margin-block: 0;
}
.wp-block-columns.cdn-split.has-background { padding: 0; }
.cdn-split > .wp-block-column { min-width: 0; }
.cdn-split__texto {
	padding: var(--wp--preset--spacing--60) clamp(1.25rem, 6vw, 6rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.cdn-split__texto > * { max-width: 34rem; }
.cdn-split__media {
	position: relative;
	min-height: clamp(340px, 75vw, 520px);
	overflow: hidden;
	background: var(--wp--preset--color--sand);
	align-self: stretch !important;
}
.cdn-split__media > .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
}
.cdn-split__media > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Foto del río: encuadre centrado en el agua y las rocas */
.cdn-foco-agua img { object-position: 50% 62%; }
@media (min-width: 782px) {
	.cdn-split { min-height: 720px; }
	.cdn-portada.cdn-split { min-height: min(820px, calc(100vh - var(--cdn-cabecera))); }
	.cdn-split--invertida { flex-direction: row-reverse; }
}

/* ---------- Cuatro razones ---------- */
.cdn-razones {
	border-top: 1px solid var(--wp--preset--color--rule);
	border-bottom: 1px solid var(--wp--preset--color--rule);
}
.cdn-razon { gap: 0.5rem; }
.cdn-razon > * { margin: 0; }
.cdn-razon__num {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.25rem;
	line-height: 1;
	color: var(--wp--preset--color--accent);
}
.cdn-razon h3 { font-size: 1.4375rem; }
.cdn-razon p:last-child { font-size: 0.9375rem; color: var(--wp--preset--color--muted); line-height: 1.55; }

/* ---------- Listas ---------- */
.cdn-filas,
.cdn-lista-lineas,
.cdn-lista-check {
	list-style: none;
	padding-left: 0;
	margin-block: 0;
}
.cdn-filas { border-top: 1px solid var(--wp--preset--color--contrast); }
.cdn-filas li {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.25rem 1.5rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--wp--preset--color--rule);
	color: var(--wp--preset--color--muted);
	text-align: right;
}
.cdn-filas li strong { color: var(--wp--preset--color--contrast); font-weight: 500; text-align: left; }
@media (max-width: 600px) {
	.cdn-filas li { flex-direction: column; text-align: left; }
}

.cdn-lista-lineas,
.cdn-lista-check { border-top: 1px solid var(--wp--preset--color--rule); }
.cdn-lista-lineas li,
.cdn-lista-check li {
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--wp--preset--color--rule);
}
.cdn-lista-check li {
	padding-left: 1.75rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 18 18' fill='none' stroke='%232B2A24' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5l4 4 8-9'/%3E%3C/svg%3E") no-repeat 0 50%;
}
.cdn-pasos { padding-left: 1.25rem; margin-block: 0; }
.cdn-pasos li { padding: 0.35rem 0 0.35rem 0.25rem; }
.cdn-pasos li::marker { font-family: var(--wp--preset--font-family--serif); color: var(--wp--preset--color--on-dark); }

/* ---------- Galería ---------- */
.cdn-galeria .wp-block-image { margin: 0; }
.cdn-galeria .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 6px;
	background: var(--wp--preset--color--sand);
}
.cdn-galeria .wp-element-caption { margin-top: 0.75rem; text-align: left; }

/* ---------- Tarjetas de información ---------- */
.cdn-tarjeta {
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: 6px;
}
.cdn-tarjeta > * { margin-block: 0; }
.cdn-precio-fila { border-bottom: 1px solid var(--wp--preset--color--rule); padding-bottom: 0.875rem; gap: 0.125rem; }
.cdn-precio-fila > * { margin: 0; }
.cdn-precio {
	font-family: var(--wp--preset--font-family--serif);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums lining-nums;
}

/* ---------- Preguntas frecuentes (desplegables) ---------- */
.cdn-preguntas .wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--rule);
	margin: 0;
}
.cdn-preguntas .wp-block-details:first-of-type { border-top: 1px solid var(--wp--preset--color--contrast); }
.cdn-preguntas summary {
	cursor: pointer;
	list-style: none;
	position: relative;
	padding: 1.25rem 2.75rem 1.25rem 0;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.3125rem;
	line-height: 1.3;
}
.cdn-preguntas summary::-webkit-details-marker { display: none; }
.cdn-preguntas summary::after {
	content: "";
	position: absolute;
	right: 0.5rem;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 200ms var(--cdn-ease-out);
}
.cdn-preguntas details[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.cdn-preguntas .wp-block-details > :not(summary) {
	margin: 0 0 1.25rem;
	max-width: 46rem;
	color: var(--wp--preset--color--muted);
}

/* ---------- Consultar disponibilidad ---------- */
.cdn-consultar a:not(.wp-element-button) { color: var(--wp--preset--color--base); }
.cdn-consultar .cdn-nota { color: var(--wp--preset--color--on-dark); font-size: 0.875rem; }
/* Sin plugin de formularios: texto y botón de correo dentro de un recuadro sereno. */
.cdn-formulario:has(> .cdn-formulario__aviso):not(:has(form)) {
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--base) 22%, transparent);
	border-radius: 6px;
	padding: clamp(1.25rem, 3vw, 2rem);
}
.cdn-formulario:not(:has(form)) > .cdn-formulario__aviso { margin-top: 0; font-size: 1.0625rem; }
.cdn-formulario:has(form) > .cdn-formulario__aviso { margin: 1rem 0 0; font-size: 0.875rem; color: var(--wp--preset--color--on-dark); }
.cdn-formulario label { color: var(--wp--preset--color--base); }
/* Enlaces del formulario que abren otra pestaña (p. ej. la política de privacidad): se avisa en texto. */
.cdn-formulario a[target="_blank"]::after { content: " (se abre en otra pestaña)"; font-size: 0.8125em; opacity: 0.85; }
.cdn-formulario :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea) {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	border: 1px solid transparent;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--contrast);
	font: inherit;
	box-sizing: border-box;
}

/* ---------- Pie ---------- */
.cdn-pie { border-top: 1px solid var(--wp--preset--color--rule); }
.cdn-pie a { color: var(--wp--preset--color--muted); }
.cdn-pie a:hover { color: var(--wp--preset--color--contrast); }
.cdn-pie__nombre { font-family: var(--wp--preset--font-family--serif); font-size: 1.125rem; color: var(--wp--preset--color--contrast); }

/* ---------- Barra de consulta fija en el móvil ---------- */
.cdn-barra-movil { display: none; }
@media (max-width: 781px) {
	.cdn-cabecera__boton { display: none !important; }
	.cdn-barra-movil {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		margin: 0 !important;
		padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
		background: color-mix(in srgb, var(--wp--preset--color--base) 94%, transparent);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		border-top: 1px solid var(--wp--preset--color--rule);
	}
	.cdn-barra-movil .wp-block-buttons,
	.cdn-barra-movil .wp-block-button,
	.cdn-barra-movil .wp-block-button__link { width: 100%; }
	/* Sin JavaScript la barra se ve siempre; con JavaScript aparece al pasar la portada. */
	.cdn-js .cdn-barra-movil {
		transform: translateY(100%);
		visibility: hidden;
		transition: transform 240ms var(--cdn-ease-drawer), visibility 0s linear 240ms;
	}
	.cdn-js body.cdn-barra-visible .cdn-barra-movil {
		transform: translateY(0);
		visibility: visible;
		transition: transform 240ms var(--cdn-ease-drawer), visibility 0s linear 0s;
	}
	/* Que la barra nunca tape el final de la página ni el elemento con foco. */
	body { padding-bottom: calc(var(--cdn-barra) + env(safe-area-inset-bottom)); }
	html { scroll-padding-bottom: calc(var(--cdn-barra) + 1rem); }
}

/* ---------- Movimiento (solo con JavaScript activo) ---------- */
/* El zoom de entrada nunca debe ensanchar la página (en el móvil la haría bailar). */
.cdn-revelar { overflow: hidden; }
body { overflow-x: clip; }

@media (prefers-reduced-motion: no-preference) {
	.cdn-js .cdn-revelar img {
		clip-path: inset(0 0 100% 0);
		transform: scale(1.06);
	}
	.cdn-js .cdn-revelar.is-visible img {
		clip-path: inset(0 0 0 0);
		transform: none;
		transition:
			clip-path 900ms var(--cdn-ease-in-out),
			transform 1200ms var(--cdn-ease-out);
	}
	.cdn-js .cdn-cascada > * {
		opacity: 0;
		transform: translateY(10px);
	}
	.cdn-js .cdn-cascada.is-visible > * {
		opacity: 1;
		transform: none;
		transition:
			opacity 420ms var(--cdn-ease-out),
			transform 420ms var(--cdn-ease-out);
	}
	.cdn-js .cdn-cascada.is-visible > :nth-child(2) { transition-delay: 60ms; }
	.cdn-js .cdn-cascada.is-visible > :nth-child(3) { transition-delay: 120ms; }
	.cdn-js .cdn-cascada.is-visible > :nth-child(4) { transition-delay: 180ms; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.cdn-js .cdn-revelar img { opacity: 0; }
	.cdn-js .cdn-revelar.is-visible img { opacity: 1; transition: opacity 300ms ease; }
	.wp-element-button:active,
	.wp-block-button__link:active { transform: none; }
}

/* ---------- Entradilla de la portada ---------- */
.cdn-entradilla {
	font-size: 1.1875rem;
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
	max-width: 32rem;
}

/* ---------- Solo en el editor: que la foto llene su columna también al editar ---------- */
.editor-styles-wrapper .cdn-split__media .wp-block-image,
.editor-styles-wrapper .cdn-split__media .components-resizable-box__container {
	width: 100% !important;
	height: 100% !important;
}
.editor-styles-wrapper .cdn-split__media .wp-block-image img { height: 100% !important; }

/* =========================================================================
 * Formulario de consulta (Fluent Forms en modo «Heredar estilo del tema»)
 * El plugin no añade estilo visual propio en este modo; todo lo pone el tema.
 * Base clara para cualquier página y ajustes para la sección oscura.
 * ========================================================================= */
.fluentform.ff-inherit-theme-style {
	--cdn-campo-fondo: var(--wp--preset--color--paper);
	--cdn-campo-texto: var(--wp--preset--color--contrast);
	--cdn-campo-borde: #8A8478;
	--cdn-etiqueta: var(--wp--preset--color--contrast);
	--cdn-ayuda: var(--wp--preset--color--muted);
	--cdn-error: #A3341F;
	--fluentform-danger: var(--cdn-error);
	font-size: 1rem;
}
.cdn-consultar .fluentform.ff-inherit-theme-style {
	--cdn-campo-borde: transparent;
	--cdn-etiqueta: var(--wp--preset--color--base);
	--cdn-ayuda: var(--wp--preset--color--on-dark);
	--cdn-error: #F2B8AC;
}
.fluentform.ff-inherit-theme-style fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fluentform.ff-inherit-theme-style .ff-el-group { margin-bottom: 1.25rem; }
.fluentform.ff-inherit-theme-style .ff-t-container { gap: 0 1.25rem; }

/* Etiquetas: siempre visibles, encima del campo */
.fluentform.ff-inherit-theme-style .ff-el-input--label { margin-bottom: 0.4rem; }
.fluentform.ff-inherit-theme-style .ff-el-input--label label {
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--cdn-etiqueta);
	cursor: pointer;
}
.fluentform.ff-inherit-theme-style .ff-el-input--label.ff-el-is-required.asterisk-right label::after {
	content: " *";
	color: var(--cdn-ayuda);
	margin-left: 2px;
}

/* Campos: 17 px (en iPhone, menos de 16 px hace zoom al tocar) y 52 px de alto */
.fluentform.ff-inherit-theme-style .ff-el-form-control {
	width: 100%;
	min-height: 52px;
	box-sizing: border-box;
	padding: 0.8rem 1rem;
	font: inherit;
	font-size: 1.0625rem;
	line-height: 1.4;
	color: var(--cdn-campo-texto);
	background-color: var(--cdn-campo-fondo);
	border: 1px solid var(--cdn-campo-borde);
	border-radius: 6px;
	box-shadow: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
	-webkit-appearance: none;
	appearance: none;
}
.fluentform.ff-inherit-theme-style textarea.ff-el-form-control { min-height: 9rem; resize: vertical; }
.fluentform.ff-inherit-theme-style .ff-el-form-control::placeholder { color: #6E6A5F; opacity: 1; }
.fluentform.ff-inherit-theme-style .ff-el-form-control:focus { outline: none; }
.fluentform.ff-inherit-theme-style .ff-el-form-control:focus-visible {
	outline: 2px solid var(--cdn-etiqueta);
	outline-offset: 2px;
}

/* Desplegable y fechas: icono dibujado, sin flechas del sistema */
.fluentform.ff-inherit-theme-style select.ff-el-form-control {
	padding-right: 2.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%232B2A24' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.5l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	cursor: pointer;
}
.fluentform.ff-inherit-theme-style .ff-el-datepicker {
	padding-right: 2.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%232B2A24' stroke-width='1.4' stroke-linecap='round'%3E%3Crect x='2' y='3' width='12' height='11' rx='1.5'/%3E%3Cpath d='M2 6.5h12M5.5 1.5v3M10.5 1.5v3'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	cursor: pointer;
}

/* Casilla de privacidad: toda la fila es pulsable */
.fluentform.ff-inherit-theme-style .ff-el-tc { display: block; }
.fluentform.ff-inherit-theme-style .ff-el-tc label.ff_tc_label {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	cursor: pointer;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--cdn-ayuda);
}
.fluentform.ff-inherit-theme-style .ff-el-tc label.ff_tc_label > span { padding-top: 0 !important; width: auto; }
.fluentform.ff-inherit-theme-style .ff-el-tc input[type="checkbox"] {
	width: 1.25rem;
	height: 1.25rem;
	margin: 0.1rem 0 0;
	accent-color: var(--wp--preset--color--accent);
	cursor: pointer;
}
.cdn-consultar .fluentform.ff-inherit-theme-style .ff-el-tc input[type="checkbox"] { accent-color: var(--wp--preset--color--base); }
.fluentform.ff-inherit-theme-style .ff-el-tc a { color: var(--cdn-etiqueta); }

/* Botón: el mismo de toda la web (píldora, se hunde al pulsar) */
.fluentform.ff-inherit-theme-style .ff-btn-submit {
	min-height: 54px;
	padding: 0 1.75rem;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--wp--preset--color--paper);
	background-color: var(--wp--preset--color--accent);
	cursor: pointer;
	transition: transform 160ms var(--cdn-ease-out), background-color 200ms ease, opacity 200ms ease;
}
.cdn-consultar .fluentform.ff-inherit-theme-style .ff-btn-submit {
	color: var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--base);
}
.fluentform.ff-inherit-theme-style .ff-btn-submit:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
	.fluentform.ff-inherit-theme-style .ff-btn-submit:hover { background-color: var(--wp--preset--color--contrast); }
	.cdn-consultar .fluentform.ff-inherit-theme-style .ff-btn-submit:hover { background-color: #ffffff; }
}
.fluentform.ff-inherit-theme-style .ff-btn-submit:focus-visible {
	outline: 2px solid var(--cdn-etiqueta);
	outline-offset: 3px;
}
/* Mientras se envía: el plugin desactiva el botón para evitar envíos dobles */
.fluentform.ff-inherit-theme-style .ff-btn-submit:disabled,
.fluentform.ff-inherit-theme-style .ff-btn-submit.ff-working {
	opacity: 0.6;
	cursor: progress;
	transform: none;
}

/* Errores: junto al campo, con texto y no solo con color */
.fluentform.ff-inherit-theme-style .ff-el-is-error .ff-el-form-control {
	border-color: var(--cdn-error);
	box-shadow: 0 0 0 1px var(--cdn-error);
}
.fluentform.ff-inherit-theme-style .text-danger,
.fluentform.ff-inherit-theme-style .ff-el-is-error .text-danger {
	color: var(--cdn-error);
	font-size: 0.875rem;
	line-height: 1.4;
	margin-top: 0.4rem;
}
.fluentform.ff-inherit-theme-style .ff-el-is-error .ff-el-form-check-label,
.fluentform.ff-inherit-theme-style .ff-el-is-error .ff-el-form-check-label a { color: var(--cdn-ayuda); }

/* Confirmación tras enviar */
.ff-message-success {
	margin-top: 0;
	padding: 1.5rem 1.75rem;
	border: 1px solid var(--wp--preset--color--rule);
	border-radius: 6px;
	box-shadow: none;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.3125rem;
	line-height: 1.4;
	animation: cdn-aparecer 320ms var(--cdn-ease-out) both;
}
.ff-message-success p { margin: 0; }
.cdn-consultar .ff-message-success {
	border-color: color-mix(in srgb, var(--wp--preset--color--base) 35%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--base) 6%, transparent);
	color: var(--wp--preset--color--base);
}
@keyframes cdn-aparecer {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ff-message-success { animation-name: cdn-fundido; }
	@keyframes cdn-fundido { from { opacity: 0; } to { opacity: 1; } }
}
