/* ============================================================
 * Nogueras Core · Formulario de cita
 * Estilos base (Elementor sobrescribe colores, tamaños, etc.).
 * ============================================================ */

.ngc-form {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 100%;
}

.ngc-form__section {
	width: 100%;
}

/* Honeypot oculto */
.ngc-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Títulos de sección */
.ngc-form__title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #333;
	margin: 0 0 14px;
}

/* Grids */
.ngc-form__sedes {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.ngc-form__options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.ngc-form__slots {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.ngc-form__fields {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px 18px;
}

/* Input nativo oculto pero accesible */
.ngc-form__native {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}

/* Tarjeta de sede */
.ngc-form__sede {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid #e2ded9;
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

.ngc-form__sede-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1 1 auto;
	min-width: 0;
}

.ngc-form__sede-name {
	font-size: 17px;
	font-weight: 700;
	color: #2b2b2b;
	line-height: 1.2;
}

.ngc-form__sede-addr {
	font-size: 14px;
	color: #8a8a8a;
	line-height: 1.3;
}

/* Indicador radio dibujado */
.ngc-form__radio {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid #cfcac3;
	position: relative;
	transition: border-color 0.18s ease;
}

.ngc-form__radio::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: transparent;
	transition: background-color 0.18s ease;
}

.ngc-form__sede.is-selected {
	border-color: #b0245f;
	background: #fdf1f5;
}

.ngc-form__sede.is-selected .ngc-form__radio {
	border-color: #b0245f;
}

.ngc-form__sede.is-selected .ngc-form__radio::after {
	background: #b0245f;
}

/* Opciones de tratamiento */
.ngc-form__option {
	display: flex;
	align-items: center;
	padding: 18px 20px;
	border: 1px solid #e2ded9;
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

.ngc-form__option-label {
	font-size: 16px;
	color: #3f3f3f;
	line-height: 1.2;
}

.ngc-form__option.is-selected {
	border-color: #b0245f;
	background: #fdf1f5;
}

.ngc-form__option.is-selected .ngc-form__option-label {
	color: #b0245f;
	font-weight: 600;
}

/* Franjas horarias */
.ngc-form__slot {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	text-align: center;
	padding: 18px 16px;
	border: 1px solid #e2ded9;
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.18s ease, background-color 0.18s ease;
}

.ngc-form__slot-title {
	font-size: 16px;
	font-weight: 600;
	color: #2b2b2b;
	line-height: 1.2;
}

.ngc-form__slot-sub {
	font-size: 13px;
	color: #8a8a8a;
	line-height: 1.2;
}

.ngc-form__slot.is-selected {
	border-color: #b0245f;
	background: #fdf1f5;
}

.ngc-form__slot.is-selected .ngc-form__slot-title {
	color: #b0245f;
}

/* Hover general de tarjetas */
.ngc-form__sede:hover,
.ngc-form__option:hover,
.ngc-form__slot:hover {
	border-color: #c9c4bd;
}

/* Campos de texto */
.ngc-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ngc-form__label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8a8a8a;
}

.ngc-form__input,
.ngc-form__textarea {
	width: 100%;
	border: 1px solid transparent;
	border-radius: 12px;
	background: #e9e5e1;
	color: #3f3f3f;
	font-size: 16px;
	font-family: inherit;
	padding: 16px 18px;
	outline: none;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
	box-sizing: border-box;
}

.ngc-form__textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.5;
}

.ngc-form__input::placeholder,
.ngc-form__textarea::placeholder {
	color: #9a948d;
	opacity: 1;
}

.ngc-form__input:focus,
.ngc-form__textarea:focus {
	border-color: #b0245f;
	box-shadow: 0 0 0 1px #b0245f;
}

/* Consentimiento */
.ngc-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 1.5;
	color: #666;
	cursor: pointer;
}

.ngc-form__consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: #b0245f;
	cursor: pointer;
}

.ngc-form__consent a {
	color: #b0245f;
	font-weight: 600;
	text-decoration: none;
}

.ngc-form__consent a:hover {
	text-decoration: underline;
}

/* Botón */
.ngc-form__submit {
	width: 100%;
	border: 0;
	border-radius: 999px;
	background: #b0245f;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 20px 24px;
	cursor: pointer;
	transition: background-color 0.18s ease, transform 0.05s ease;
}

.ngc-form__submit:hover {
	background: #8f1c4c;
}

.ngc-form__submit:active {
	transform: translateY(1px);
}

.ngc-form__submit[disabled] {
	opacity: 0.7;
	cursor: default;
}

/* Mensajes de estado */
.ngc-form__message {
	display: none;
	padding: 14px 18px;
	border-radius: 12px;
	font-size: 15px;
	line-height: 1.4;
}

.ngc-form__message.is-visible {
	display: block;
}

.ngc-form__message.is-success {
	background: #e9f7ef;
	color: #1e7d4f;
}

.ngc-form__message.is-error {
	background: #fdecef;
	color: #b0245f;
}

/* Responsive */
@media (max-width: 767px) {
	.ngc-form__sedes,
	.ngc-form__options,
	.ngc-form__fields {
		grid-template-columns: 1fr;
	}
	.ngc-form__slots {
		grid-template-columns: repeat(2, 1fr);
	}
}
