/* ==========================================================================
   Ajustes para que los widgets de Elementor rendericen igual que el prototipo.
   Las secciones ya traen su propio padding (clases qt-*), así que aquí
   neutralizamos los márgenes/paddings por defecto de Elementor y de Hello.
   ========================================================================== */

/* Envoltorios de Elementor sin margen ni padding. */
.elementor-widget-html {
	margin: 0 !important;
}

.elementor-widget-html > .elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
}

.elementor-widget:not(:last-child) {
	margin-block-end: 0 !important;
}

/* Contenido a ancho completo: sin las restricciones de Hello Elementor. */
.site-main.qt-main,
.site-main.qt-main > .elementor,
.site-main.qt-main .elementor-section,
.site-main.qt-main .elementor-container {
	max-width: none !important;
	width: 100%;
	margin: 0;
	padding: 0;
}

.qt-main {
	display: block;
	overflow-x: hidden;
}

/* Evita el "salto" del header fijo sobre el contenido. */
.qt-main > .elementor:first-child {
	margin-top: 0;
}

/* ==========================================================================
   Contact Form 7 dentro de la sección de contacto (.qt-form)
   ========================================================================== */

/* La etiqueta apila el texto y el campo, igual que en el prototipo. */
.qt-form label {
	display: grid;
	gap: 7px;
}

.qt-form .wpcf7-form-control-wrap {
	display: block;
}

/* CF7 envuelve cada control; quitamos márgenes heredados. */
.qt-form p,
.qt-form .wpcf7-response-output {
	margin: 0;
}

/* Botón de envío: neutraliza el estilo nativo del <input>. */
.qt-form input.qt-btn {
	-webkit-appearance: none;
	appearance: none;
	width: auto;
	line-height: 1;
}

/* Mensajes de validación y estado. */
.qt-form .wpcf7-not-valid-tip {
	font-size: 12px;
	margin-top: 4px;
	color: #ffd0c0;
}

.qt-form .wpcf7-response-output {
	margin-top: 4px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #eaf1f8;
	border: 1px solid rgba(255, 255, 255, .25);
	background: rgba(6, 26, 51, .55);
}

.qt-form form.invalid .wpcf7-response-output,
.qt-form form.failed .wpcf7-response-output {
	border-color: rgba(255, 107, 53, .6);
}

.qt-form form.sent .wpcf7-response-output {
	border-color: rgba(0, 200, 150, .6);
}

.qt-form .wpcf7-spinner {
	margin: 0 0 0 10px;
}

/* ==========================================================================
   Menús de WordPress (ul.menu) con las clases del prototipo
   ========================================================================== */
.qt-nav,
.qt-mobile__list,
.qt-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Móvil: la lista es la rejilla de enlaces. */
.qt-mobile nav > .qt-mobile__list {
	display: grid;
	gap: 4px;
}

.qt-mobile nav a {
	display: block;
}

/* Pie: la lista es la rejilla de enlaces. */
.qt-footer nav > .qt-footer__list {
	display: grid;
	gap: 11px;
}
