/*
Theme Name:   Hello Elementor Child
Theme URI:    https://brami3d.com/
Description:  Tema hijo de Hello Elementor para la web de Brami3d.
Author:       Brami3d
Author URI:   https://brami3d.com/
Template:     hello-elementor
Version:      1.3.9
Requires at least: 6.0
Requires PHP: 7.4
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  hello-elementor-child
*/

/* El diseño se edita en Elementor (Variables, Clases globales y Kit). Aquí solo va lo mínimo. */

/* ---------- Brami3d: base ---------- */
:root {
	--b3-ink: #0f1216;
	--b3-cobalt: #1f4fb8;
	--b3-cyan: #1fa6c9;
	--b3-text-light: #c9cfda;
	--b3-error: #ff8f8f;
	/* Controles del navegador (casillas, barras de scroll, asas) en oscuro, como la web. */
	color-scheme: dark;
}

::selection {
	background: var(--b3-cobalt);
	color: #fff;
}

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

.e-paragraph-base a {
	text-decoration: underline;
}

:focus-visible {
	outline: 3px solid var(--b3-cyan);
	outline-offset: 3px;
}

.elementor-heading-title,
.e-heading-base {
	text-wrap: balance;
}

/* ---------- Contact Form 7: lo que no cubre el Kit de Elementor ---------- */
.wpcf7-form p {
	margin: 0 0 20px;
}

.wpcf7-form label {
	display: block;
}

.wpcf7-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 8px;
}

.wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wpcf7-form textarea {
	width: 100%;
}

.wpcf7-form ::placeholder {
	color: #8b93a1;
	opacity: 1;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.wpcf7-form .wpcf7-acceptance label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-weight: 400;
	line-height: 1.5;
	color: var(--b3-text-light);
}

.wpcf7-form .wpcf7-acceptance input {
	width: 18px;
	height: 18px;
	margin-top: 3px;
}

.wpcf7-form .wpcf7-acceptance a {
	color: #fff;
}

.wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 14px;
	color: var(--b3-error);
}

.wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 12px 16px;
	border-radius: 8px;
	color: #fff;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	border-color: var(--b3-error);
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--b3-cyan);
}

/* Los desplegables, como los campos de texto del Kit */
.wpcf7-form select {
	width: 100%;
	padding: 14px 16px;
	font-size: 17px;
	color: #fff;
	background-color: var(--b3-ink);
	border: 1px solid #2a303a;
	border-radius: 8px;
}

/* Grupos de opciones (radio y casillas) */
.wpcf7-form fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.wpcf7-form legend {
	padding: 0;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 600;
}

.wpcf7-form .wpcf7-radio,
.wpcf7-form .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.wpcf7-form .wpcf7-list-item {
	margin: 0;
}

.wpcf7-form .wpcf7-radio label,
.wpcf7-form .wpcf7-checkbox label {
	display: flex;
	gap: 8px;
	align-items: center;
	font-weight: 400;
}

.wpcf7-form input[type="radio"],
.wpcf7-form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	accent-color: var(--b3-cyan);
}

/* Texto de ayuda bajo un campo */
.wpcf7-form .b3-ayuda {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--b3-text-light);
}

.wpcf7-form input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	font: inherit;
	font-size: 15px;
	color: #fff;
	background: #2a303a;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
}

/* Dos campos por fila en pantallas anchas */
@media (min-width: 700px) {
	.wpcf7-form .b3-fila {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 20px;
	}
}

/* ---------- Cabecera Hello+: zona táctil del botón del menú ---------- */
/* Hello+ no tiene opción de relleno para el botón (solo tamaño del icono). 44 × 44 px
   con márgenes negativos para que el icono y la altura de la cabecera no se muevan. */
.ehp-header__button-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	margin: -7px 0 -7px -9px;
}

/* ---------- Pie: zona táctil de los enlaces en móvil y tableta ---------- */
/* El párrafo v4 con enlace pinta un <a> en línea dentro del <p>, y la clase pie-enlace
   va en el <p>; sin esto, el relleno no se puede pulsar. */
@media (max-width: 1024px) {
	.elementor .pie-enlace > a {
		display: block;
		padding-block: 10px;
	}
}

/* ---------- Cabecera Hello+: zona táctil del menú desplegable ---------- */
/* Hello+ separa los enlaces con un gap de 32 px y no tiene opción de relleno: pasamos ese
   espacio a relleno de cada enlace (13 + 18 + 13 = 44 px) con el mismo paso de 50 px.
   Los iconos sociales pasan a 44 × 44 px con el mismo paso de 44 px. */
@media (max-width: 1024px) {
	.ehp-header__navigation .ehp-header__menu {
		gap: 6px;
	}

	.ehp-header__navigation .ehp-header__item--top-level {
		padding-block: 13px;
	}

	.ehp-header__contact-button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 44px;
		min-height: 44px;
		margin-inline: -10px;
	}
}
