/*__ESPECIFICIDAD_OK__*/
/* =========================================================================
   MJ Gestoría automotor · hoja del sitio (boceto 3 «Grafito» en Elementor)
   Tokens de marca. La estructura la arma Elementor; acá solo lo que no
   tiene control nativo (clamp, pseudo-elementos, iconos de trazo, etc.).
   ========================================================================= */
:root {
  --mj-carbon: #2a2d31; --mj-carbon2: #383c41;
  --mj-taupe: #aca595; --mj-taupe-claro: #d9d4c9; --mj-taupe-txt: #7b7363;
  --mj-suave: #f3f2ef; --mj-txt: #25272b; --mj-txt2: #5c5f64; --mj-linea: #e4e3df;
  --mj-negro: #1a1917; --mj-crema: #f4f1ec; --mj-wa: #1f9e57; --mj-wa-h: #18864a;
  --mj-radio: 24px; --mj-sombra: 0 20px 44px rgba(26, 25, 23, .10);
  --mj-fuente: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--mj-fuente); -webkit-font-smoothing: antialiased; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Textos comunes ---------- */
body .mj-ante .elementor-heading-title {
  display: flex; align-items: center; gap: 12px; margin: 0;
  font: 700 .8125rem/1.2 var(--mj-fuente); letter-spacing: .16em; text-transform: uppercase; color: var(--mj-taupe-txt);
}
body .mj-ante .elementor-heading-title::before { content: ''; width: 28px; height: 2px; background: currentColor; flex: none; }
body .mj-h2 .elementor-heading-title {
  margin: 0; font-family: var(--mj-fuente); font-weight: 800; letter-spacing: -.02em; color: var(--mj-carbon);
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 4rem); line-height: 1.04; text-wrap: balance;
}
body .mj-h2 .elementor-heading-title::after { content: ''; display: block; width: 64px; height: 4px; margin-top: 24px; background: var(--mj-taupe); border-radius: 2px; }
body .mj-h2 .elementor-heading-title span { color: var(--mj-taupe-txt); }
body .mj-intro, body .mj-intro p { font-size: clamp(1.0625rem, 1rem + .25vw, 1.25rem); color: var(--mj-txt2); line-height: 1.65; }
body .mj-intro { max-width: 40em; }
body .mj-intro p { margin: 0; }
body .mj-txt p { margin: 0 0 1em; color: var(--mj-txt); line-height: 1.7; }
body .mj-txt p:last-child { margin-bottom: 0; }
body .mj-txt strong, body .mj-intro strong { color: var(--mj-carbon); }
body .mj-on-dark .mj-ante .elementor-heading-title { color: var(--mj-taupe); }
body .mj-on-dark .mj-h2 .elementor-heading-title { color: #fff; }
body .mj-on-dark .mj-h2 .elementor-heading-title span { color: var(--mj-taupe); }

/* ---------- Botones (píldora) ---------- */
body .elementor-widget-button[class*="mj-btn"] .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1rem/1.2 var(--mj-fuente); text-transform: none; letter-spacing: 0; border-radius: 999px;
  border: 1.5px solid transparent; padding: .95rem 1.6rem; box-shadow: none; transition: background .2s, color .2s, border-color .2s;
}
body .elementor-widget-button[class*="mj-btn"] .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 10px; flex-direction: row; }
body .elementor-widget-button[class*="mj-btn"] .elementor-button-icon { order: 2; display: inline-flex; margin: 0; }
body .elementor-widget-button[class*="mj-btn"] .elementor-button-icon svg, body .elementor-widget-button[class*="mj-btn"] .elementor-button-icon i { width: 1em; height: 1em; font-size: 1em; }
body .mj-btn--acento .elementor-button, body .mj-btn--acento .elementor-button:focus { background: var(--mj-taupe); color: var(--mj-negro); }
body .mj-btn--acento .elementor-button:hover { background: var(--mj-taupe-claro); color: var(--mj-negro); }
body .mj-btn--claro .elementor-button, body .mj-btn--claro .elementor-button:focus { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
body .mj-btn--claro .elementor-button:hover { background: #fff; color: var(--mj-negro); border-color: #fff; }
body .mj-btn--oscuro .elementor-button, body .mj-btn--oscuro .elementor-button:focus { background: var(--mj-carbon); color: #fff; }
body .mj-btn--oscuro .elementor-button:hover { background: #000; color: #fff; }
body .mj-btn--borde .elementor-button, body .mj-btn--borde .elementor-button:focus { background: transparent; color: var(--mj-txt); border-color: currentColor; }
body .mj-btn--borde .elementor-button:hover { background: var(--mj-txt); color: #fff; border-color: var(--mj-txt); }
body .mj-btn--wa .elementor-button, body .mj-btn--wa .elementor-button:focus { background: var(--mj-wa); color: #fff; }
body .mj-btn--wa .elementor-button:hover { background: var(--mj-wa-h); color: #fff; }
body .mj-btn--link .elementor-button, body .mj-btn--link .elementor-button:focus { background: transparent; color: var(--mj-txt); padding: 0; border-radius: 0; }
body .mj-btn--link .elementor-button:hover { background: transparent; color: var(--mj-taupe-txt); }

/* ---------- Cabecera (UAE) ---------- */
.ehf-header #masthead, #masthead { position: sticky !important; top: 0; z-index: 90; }
body .mj-header { background: #fff; border-bottom: 1px solid var(--mj-linea); }
body .mj-brand__nombre .elementor-heading-title { margin: 0; font: 800 clamp(1.15rem, 1.05rem + .5vw, 1.5rem)/1.05 var(--mj-fuente); letter-spacing: -.01em; color: var(--mj-carbon); }
body .mj-brand__rubro .elementor-heading-title { margin: 4px 0 0; font: 600 .6875rem/1.3 var(--mj-fuente); letter-spacing: .16em; text-transform: uppercase; color: var(--mj-taupe-txt); }
body .mj-brand a, body .mj-brand a:hover { text-decoration: none; }
body .mj-menu .hfe-nav-menu li a.hfe-menu-item { font: 600 1rem/1.2 var(--mj-fuente); color: var(--mj-txt); }
body .mj-menu .hfe-nav-menu li a.hfe-menu-item:hover, body .mj-menu .hfe-nav-menu li.current-menu-item > a.hfe-menu-item { color: var(--mj-taupe-txt); }
@media (min-width: 1025px) { .hfe-flyout-wrapper, .hfe-flyout-container, .hfe-side, .hfe-flyout-overlay { display: none !important; } }
.hfe-nav-menu__breakpoint-none nav.hfe-nav-menu__layout-horizontal, .hfe-nav-menu__breakpoint-none nav.hfe-nav-menu__layout-vertical { width: 100% !important; left: auto !important; }
body .mj-menu-movil .hfe-nav-menu__toggle { width: auto !important; display: inline-flex !important; }
body .mj-menu-movil .hfe-nav-menu-icon { padding: 8px; }
.hfe-flyout-container .hfe-side { width: min(340px, 90vw) !important; max-width: 100vw !important; background: #fff !important; }
.hfe-flyout-container .hfe-side.hfe-flyout-left { left: calc(-1 * min(340px, 90vw)) !important; }
.hfe-flyout-container .hfe-side.hfe-flyout-right { right: calc(-1 * min(340px, 90vw)) !important; }
.hfe-flyout-container .hfe-side:not(.hfe-flyout-show) { visibility: hidden; }
.hfe-flyout-container .hfe-side.hfe-flyout-show { visibility: visible; }
.hfe-flyout-container .hfe-side.hfe-flyout-left.hfe-flyout-show { left: 0 !important; }
.hfe-flyout-container .hfe-side.hfe-flyout-right.hfe-flyout-show { right: 0 !important; }
.hfe-flyout-container .hfe-flyout-content { background: #fff !important; min-height: 100vh; }
.hfe-flyout-container a, .hfe-flyout-container .hfe-nav-menu li a { color: var(--mj-txt) !important; text-decoration: none !important; font: 600 1.0625rem/1.3 var(--mj-fuente); }
.hfe-flyout-container .hfe-nav-menu li.current-menu-item > a { color: var(--mj-taupe-txt) !important; }
.hfe-flyout-container .hfe-flyout-close svg { display: none; }
.hfe-flyout-container .hfe-flyout-close::before { content: '\00d7'; font-size: 2rem; line-height: 1; color: var(--mj-txt); }
.hfe-flyout-container .hfe-flyout-close, .hfe-flyout-container .hfe-side *:focus { outline: none; }
.hfe-flyout-container :focus-visible { outline: 3px solid var(--mj-taupe); outline-offset: 2px; }

/* ---------- Portada ---------- */
body .mj-hero { color: #fff; }
body .mj-hero__logo img { width: 150px; margin: 0 auto 8px; }
body .mj-hero__titulo .elementor-heading-title {
  margin: 0; text-align: center; text-transform: uppercase; font: 800 clamp(2.75rem, 1.4rem + 4.4vw, 5.75rem)/.98 var(--mj-fuente); letter-spacing: -.02em; color: #fff;
}
body .mj-hero__titulo .elementor-heading-title span { display: block; color: var(--mj-taupe); }
body .mj-hero__titulo .elementor-heading-title::after { content: ''; display: block; width: 72px; height: 4px; background: var(--mj-taupe); border-radius: 2px; margin: 28px auto 0; }
body .mj-hero__lema .elementor-heading-title { margin: 0; text-align: center; font: 800 clamp(1.375rem, 1.2rem + .7vw, 2rem)/1.2 var(--mj-fuente); color: #fff; letter-spacing: -.02em; }
body .mj-hero__texto, body .mj-hero__texto p { text-align: center; color: rgba(255, 255, 255, .86); font-size: clamp(1.0625rem, 1rem + .25vw, 1.25rem); line-height: 1.65; margin-inline: auto; max-width: 36em; }
body .mj-hero__texto p { margin: 0; } body .mj-hero__texto strong { color: #fff; }
body .mj-checks .elementor-icon-list-items { justify-content: center; gap: 10px 28px; }
body .mj-checks .elementor-icon-list-item { font: 500 .9375rem/1.4 var(--mj-fuente); color: #fff; }
body .mj-checks .elementor-icon-list-icon svg { fill: var(--mj-taupe); } body .mj-checks .elementor-icon-list-icon i { color: var(--mj-taupe); }
body .mj-hero__pie { border-top: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .25); }
body .mj-hero__pie .elementor-heading-title, body .mj-hero__pie p { margin: 0; font: 600 .8125rem/1.3 var(--mj-fuente); letter-spacing: .14em; text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
body .mj-hero__pie .mj-acento .elementor-heading-title { color: var(--mj-taupe); }

/* ---------- Franja de matrícula ---------- */
body .mj-confianza { background: #fff; border-bottom: 1px solid var(--mj-linea); }
body .mj-confianza__ico .elementor-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--mj-suave); color: var(--mj-carbon); font-size: 28px; }
body .mj-confianza__ico .elementor-icon svg { width: 28px; height: 28px; fill: currentColor; }
body .mj-confianza__titulo .elementor-heading-title { margin: 0 0 6px; text-transform: uppercase; font: 800 clamp(1.5rem, 1.1rem + 1.3vw, 2.5rem)/1.05 var(--mj-fuente); letter-spacing: -.02em; color: var(--mj-carbon); }
body .mj-confianza__texto, body .mj-confianza__texto p { margin: 0; color: var(--mj-txt2); font-weight: 500; }

/* ---------- Compromisos ---------- */
body .mj-compromisos { background: var(--mj-taupe); color: var(--mj-negro); }
body .mj-compromiso { align-items: center; }
body .mj-compromiso__num .elementor-heading-title { margin: 0; font: 800 1.75rem/1 var(--mj-fuente); color: var(--mj-negro); }
body .mj-compromiso__txt, body .mj-compromiso__txt p { margin: 0; font-weight: 600; color: var(--mj-negro); line-height: 1.4; }
@media (min-width: 768px) { body .mj-compromiso + .mj-compromiso { border-left: 1px solid rgba(26, 25, 23, .2); } }
@media (max-width: 767px) { body .mj-compromiso + .mj-compromiso { border-top: 1px solid rgba(26, 25, 23, .2); } }

/* ---------- Servicios ---------- */
body .mj-servicio { background: #fff; border: 1px solid var(--mj-linea); border-radius: var(--mj-radio); overflow: hidden; box-shadow: var(--mj-sombra); }
body .mj-servicio__foto { position: relative; }
body .mj-servicio__foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
body .mj-servicio__ico { position: absolute !important; left: 24px; bottom: -28px; z-index: 2; width: auto !important; }
body .mj-servicio__ico .elementor-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--mj-taupe); color: var(--mj-negro); border: 3px solid #fff; font-size: 22px; }
body .mj-servicio__ico .elementor-icon svg { width: 22px; height: 22px; fill: currentColor; }
body .mj-servicio__grupo .elementor-heading-title { margin: 0; font: 700 .75rem/1.2 var(--mj-fuente); letter-spacing: .14em; text-transform: uppercase; color: var(--mj-taupe-txt); }
body .mj-servicio__titulo .elementor-heading-title { margin: 0; font: 800 clamp(1.3125rem, 1.15rem + .45vw, 1.625rem)/1.15 var(--mj-fuente); letter-spacing: -.01em; color: var(--mj-carbon); }
body .mj-servicio__texto, body .mj-servicio__texto p { margin: 0; color: var(--mj-txt2); line-height: 1.65; }
body .mj-servicio__cuerpo { flex-grow: 1; }

/* ---------- Cómo trabajo ---------- */
body .mj-proceso__foto { position: relative; max-width: 100%; }
body .mj-proceso__foto img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; border-radius: var(--mj-radio); box-shadow: var(--mj-sombra); display: block; }
body .mj-proceso__foto::after { content: ''; position: absolute; right: -14px; bottom: -14px; width: 120px; height: 120px; border-right: 5px solid var(--mj-taupe); border-bottom: 5px solid var(--mj-taupe); border-radius: 0 0 26px 0; pointer-events: none; }
@media (min-width: 1025px) { body .mj-proceso__foto-col { order: 2; } }
@media (max-width: 1024px) { body .mj-proceso__foto { max-width: 520px; } body .mj-proceso__foto img { aspect-ratio: 4 / 3; } }
body .mj-paso { border-bottom: 1px solid var(--mj-linea); }
body .mj-paso:first-child { border-top: 1px solid var(--mj-linea); }
body .mj-paso__num .elementor-heading-title { margin: 0; font: 800 1.75rem/1 var(--mj-fuente); color: var(--mj-taupe-txt); min-width: 2.2ch; }
body .mj-paso__titulo .elementor-heading-title { margin: 0; font: 800 1.3125rem/1.25 var(--mj-fuente); color: var(--mj-carbon); }
body .mj-paso__texto, body .mj-paso__texto p { margin: 0; color: var(--mj-txt2); line-height: 1.65; }

/* ---------- Quién está detrás ---------- */
body .mj-retrato { position: relative; }
body .mj-retrato img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; border-radius: var(--mj-radio); box-shadow: var(--mj-sombra); display: block; }
body .mj-retrato::before { content: ''; position: absolute; left: -14px; bottom: -14px; width: 120px; height: 120px; border-left: 5px solid var(--mj-taupe); border-bottom: 5px solid var(--mj-taupe); border-radius: 0 0 0 26px; pointer-events: none; z-index: 1; }
body .mj-firma .elementor-heading-title { display: inline-block; margin: 0; padding-left: 16px; border-left: 3px solid var(--mj-taupe); font: 700 .9375rem/1.4 var(--mj-fuente); color: var(--mj-txt); }
body .mj-cita { background: var(--mj-carbon); color: #fff; border-radius: 24px; box-shadow: 0 30px 60px rgba(26, 25, 23, .2); }
body .mj-cita__etiqueta .elementor-heading-title { margin: 0; font: 700 .8125rem/1 var(--mj-fuente); letter-spacing: .16em; text-transform: uppercase; color: var(--mj-taupe); }
body .mj-cita__comillas .elementor-heading-title { margin: 0; font: 800 4.5rem/.6 Georgia, serif; color: var(--mj-taupe); height: 40px; }
body .mj-cita__frase .elementor-heading-title { margin: 0; font: 800 clamp(1.75rem, 1.3rem + 1.4vw, 2.75rem)/1.15 var(--mj-fuente); letter-spacing: -.02em; color: #fff; }
body .mj-cita__pie, body .mj-cita__pie p { margin: 0; color: rgba(255, 255, 255, .75); }

/* ---------- Opiniones ---------- */
body .mj-opiniones { background: #fff; }

/* ---------- Consejo ---------- */
body .mj-consejo { color: #fff; }
body .mj-consejo__titulo .elementor-heading-title { margin: 0 0 10px; font: 800 clamp(2rem, 1.3rem + 2.2vw, 3.5rem)/1.05 var(--mj-fuente); letter-spacing: -.02em; color: #fff; }
body .mj-consejo__texto, body .mj-consejo__texto p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 1.125rem; }

/* ---------- Preguntas ---------- */
body .mj-pregunta { background: #fff; border: 1px solid var(--mj-linea); border-radius: 20px; }
body .mj-pregunta__q .elementor-heading-title { margin: 0; font: 800 1.1875rem/1.3 var(--mj-fuente); letter-spacing: -.01em; color: var(--mj-carbon); }
body .mj-pregunta__a, body .mj-pregunta__a p { margin: 0; color: var(--mj-txt2); line-height: 1.65; }

/* ---------- Contacto ---------- */
body .mj-contacto-item { display: block; background: #fff; border: 1px solid var(--mj-linea); border-radius: 20px; transition: border-color .2s; }
body .mj-contacto-item:hover { border-color: var(--mj-taupe); }
body .mj-contacto-item .elementor-icon-box-wrapper { display: flex; align-items: center; gap: 16px; }
body .mj-contacto-item .elementor-icon-box-icon { margin: 0; }
body .mj-contacto-item .elementor-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px; background: var(--mj-suave); color: var(--mj-carbon); font-size: 20px; }
body .mj-contacto-item .elementor-icon svg { width: 20px; height: 20px; fill: currentColor; }
body .mj-contacto-item--wa .elementor-icon { background: var(--mj-wa); color: #fff; }
body .mj-contacto-item .elementor-icon-box-title { margin: 0; font: 700 1.0625rem/1.3 var(--mj-fuente); color: var(--mj-carbon); }
body .mj-contacto-item .elementor-icon-box-title a { color: inherit; text-decoration: none; }
body .mj-contacto-item .elementor-icon-box-description { margin: 0; font-size: .9375rem; color: var(--mj-txt2); }
body .mj-formulario { background: #fff; border: 1px solid var(--mj-linea); border-radius: var(--mj-radio); box-shadow: var(--mj-sombra); }
body .mj-formulario__titulo .elementor-heading-title { margin: 0 0 6px; font: 800 clamp(1.5rem, 1.3rem + .6vw, 1.875rem)/1.15 var(--mj-fuente); color: var(--mj-carbon); letter-spacing: -.02em; }
body .mj-form-aviso, body .mj-form-aviso p { margin: 0; font-size: .8125rem; color: var(--mj-txt2); }

/* Contact Form 7: formulario en dos columnas dentro de la tarjeta */
body .mj-formulario .wpcf7 form p { margin: 0 !important; padding: 0 !important; }
body .mj-formulario .wpcf7 form br { display: none !important; }
body .mj-formulario .wpcf7 .mj-grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body .mj-formulario .wpcf7 .mj-grilla > .mj-campo--ancho { grid-column: 1 / -1; }
body .mj-formulario .wpcf7 label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; color: var(--mj-txt); }
body .mj-formulario .wpcf7 input[type=text], body .mj-formulario .wpcf7 input[type=tel], body .mj-formulario .wpcf7 select, body .mj-formulario .wpcf7 textarea {
  width: 100%; padding: 13px 15px; border: 1px solid #d6d0c5; border-radius: 12px; font: 400 1rem/1.4 var(--mj-fuente); background: #fff; color: var(--mj-txt); box-shadow: none;
}
body .mj-formulario .wpcf7 textarea { resize: none; }
body .mj-formulario .wpcf7 input:focus-visible, body .mj-formulario .wpcf7 select:focus-visible, body .mj-formulario .wpcf7 textarea:focus-visible { outline: 3px solid var(--mj-taupe); outline-offset: 2px; }
body .mj-formulario .wpcf7 .wpcf7-spinner { display: none !important; }
body .mj-formulario .wpcf7 form.submitting .wpcf7-spinner { display: block !important; margin: 8px auto 0 !important; }
body .mj-formulario .wpcf7 .wpcf7-submit {
  width: 100%; padding: 1rem 1.6rem; border: 0; border-radius: 999px; background: var(--mj-wa); color: #fff; font: 700 1rem/1.2 var(--mj-fuente); cursor: pointer; transition: background .2s;
}
body .mj-formulario .wpcf7 .wpcf7-submit:hover, body .mj-formulario .wpcf7 .wpcf7-submit:focus { background: var(--mj-wa-h); color: #fff; }
body .mj-formulario .wpcf7 .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }
body .mj-formulario .wpcf7 .wpcf7-not-valid-tip { font-size: .8125rem; margin-top: 4px; }
body .mj-formulario .wpcf7 .wpcf7-response-output { margin: 16px 0 0 !important; border-radius: 12px; font-size: .9375rem; }
@media (max-width: 767px) { body .mj-formulario .wpcf7 .mj-grilla { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pie (UAE) ---------- */
body .mj-pie-cta { background: var(--mj-carbon); color: #fff; }
body .mj-pie-cta__titulo .elementor-heading-title { margin: 0 0 18px; font: 800 clamp(2.25rem, 1.4rem + 2.6vw, 4rem)/1.04 var(--mj-fuente); letter-spacing: -.02em; color: #fff; }
body .mj-pie-cta__titulo .elementor-heading-title span { color: var(--mj-taupe); }
body .mj-pie-cta__texto, body .mj-pie-cta__texto p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 34em; line-height: 1.65; }
body .mj-pie-cta__logo img { width: min(320px, 70%); margin-left: auto; }
@media (max-width: 1024px) { body .mj-pie-cta__logo img { margin-left: 0; width: 180px; } }
body .mj-redes .elementor-icon-list-items { gap: 10px 14px; }
body .mj-redes .elementor-icon-list-item > a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 600; font-size: .9375rem; text-decoration: none; transition: background .2s, color .2s; }
body .mj-redes .elementor-icon-list-item > a:hover { background: var(--mj-taupe); color: var(--mj-negro); border-color: var(--mj-taupe); }
body .mj-redes .elementor-icon-list-icon { display: inline-flex; } body .mj-redes .elementor-icon-list-icon svg { width: 16px; height: 16px; fill: currentColor; } body .mj-redes .elementor-icon-list-text { padding: 0 !important; }
body .mj-banda { background: #fff; text-align: center; }
body .mj-banda__titulo .elementor-heading-title { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 0; text-transform: uppercase; font: 800 clamp(1.125rem, .9rem + .9vw, 1.75rem)/1.2 var(--mj-fuente); letter-spacing: .02em; color: var(--mj-carbon); }
body .mj-banda__titulo .elementor-heading-title::before, body .mj-banda__titulo .elementor-heading-title::after { content: ''; height: 2px; flex: 0 1 120px; background: var(--mj-taupe); }
body .mj-banda__texto, body .mj-banda__texto p { margin: 8px 0 0; color: var(--mj-txt2); font-weight: 500; overflow-wrap: anywhere; }
body .mj-legal { background: #111; }
body .mj-legal, body .mj-legal p, body .mj-legal .elementor-heading-title { margin: 0; color: rgba(255, 255, 255, .7); font: 400 .8125rem/1.4 var(--mj-fuente); }
body .mj-legal a { color: inherit; }

/* El botón flotante de WhatsApp no tapa el pie en móvil */
@media (max-width: 767px) { body .mj-legal { padding-bottom: 88px !important; } }

/* ---------- Ajustes tras la primera revisión ---------- */
body .mj-menu ul.hfe-nav-menu { flex-wrap: nowrap; }
body .mj-menu .hfe-nav-menu li a.hfe-menu-item { padding: 10px 12px !important; white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1439px) {
  body .elementor-element.mj-header { padding-left: 32px !important; padding-right: 32px !important; }
  body .mj-header__cta .elementor-widget-button { display: none; }
}
/* la portada entra en la pantalla sin pasar de 780 px */
body .elementor-element.mj-hero { min-height: min(780px, calc(100svh - 84px)); }
@media (max-width: 480px) { body .mj-brand__rubro { display: none; } }
body .mj-menu .hfe-nav-menu li a.hfe-menu-item { padding: 10px 9px !important; font-size: .9375rem; }
body .mj-checks .elementor-icon-list-text { color: #fff; }
body .mj-checks .elementor-icon-list-icon { color: var(--mj-taupe); }

/* los botones con borde pierden contra el reset del boton base: se fija el color del borde */
body .elementor-widget-button.mj-btn--claro .elementor-button { border-color: rgba(255, 255, 255, .55); }
body .elementor-widget-button.mj-btn--claro .elementor-button:hover { border-color: #fff; }
body .elementor-widget-button.mj-btn--borde .elementor-button { border-color: currentColor; }
body .elementor-widget-button.mj-btn--borde .elementor-button:hover { border-color: var(--mj-txt); }

/* el boton flotante de WhatsApp no tapa el panel del menu movil abierto */
body:has(.hfe-side.hfe-flyout-show) .joinchat { display: none; }

/* ---------- Segunda revision (pedidos de Mariano) ---------- */
/* Cards de servicios: foto de borde a borde (parte de la card) y esquinas rectas */
body .mj-servicio { border-radius: 0; overflow: hidden; padding: 0; }
body .mj-servicio__foto { padding: 0; margin: 0; }
body .mj-servicio__foto img { border-radius: 0; }
body .mj-servicio__meta { align-items: center; }
body .mj-servicio__ico { position: static !important; left: auto; bottom: auto; width: auto !important; margin: 0; flex: none; }
body .mj-servicio__ico .elementor-icon { width: auto; height: auto; padding: 0; margin: 0; background: none; border: 0; border-radius: 0; color: var(--mj-taupe-txt); font-size: 20px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
body .mj-servicio__ico .elementor-icon svg { width: 20px; height: 20px; fill: currentColor; }
body .mj-servicio__meta .elementor-widget-container { display: flex; align-items: center; }

/* Cómo trabajo: los pasos van en una fila, con una linea arriba de cada uno */
body .mj-paso { border-top: 2px solid var(--mj-linea); border-bottom: 0; }
body .mj-paso__num .elementor-heading-title { font-size: 2rem; }

/* Banner de la frase: de borde a borde */
body .mj-cita-banda .mj-cita__frase .elementor-heading-title { max-width: 22em; }

/* Iconos de contacto: sin cuadrado, centrados con el texto */
body .mj-contacto-item .elementor-icon-box-wrapper { align-items: center; gap: 14px; }
body .mj-contacto-item .elementor-icon-box-icon { flex: 0 0 32px; display: flex; align-items: center; justify-content: center; margin: 0 !important; }
body .mj-contacto-item .elementor-icon { width: auto; height: auto; padding: 0; background: none; border-radius: 0; font-size: 24px; line-height: 1; color: var(--mj-carbon); display: inline-flex; align-items: center; }
body .mj-contacto-item .elementor-icon svg { width: 24px; height: 24px; fill: currentColor; }
body .mj-contacto-item--wa .elementor-icon { background: none; color: var(--mj-wa); }

/* Formulario: etiquetas separadas del campo y desplegables con estilo propio */
body .mj-form-intro p { font-size: 1rem; line-height: 1.6; }
body .mj-formulario .wpcf7 .mj-grilla { gap: 24px 20px; }
body .mj-formulario .wpcf7 label { display: block; margin: 0; font: 600 .9375rem/1.3 var(--mj-fuente); color: var(--mj-carbon); }
body .mj-formulario .wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 10px; }
body .mj-formulario .wpcf7 input[type=text], body .mj-formulario .wpcf7 input[type=tel], body .mj-formulario .wpcf7 select, body .mj-formulario .wpcf7 textarea {
  height: 54px; padding: 0 18px; border: 1px solid #d6d0c5; border-radius: 12px; background-color: #fff; color: var(--mj-txt); font: 400 1rem/1.4 var(--mj-fuente);
}
body .mj-formulario .wpcf7 textarea { height: auto; min-height: 150px; padding: 15px 18px; }
body .mj-formulario .wpcf7 input::placeholder, body .mj-formulario .wpcf7 textarea::placeholder { color: #9a958b; }
body .mj-formulario .wpcf7 select {
  -webkit-appearance: none; appearance: none; padding-right: 54px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b7363' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; background-size: 16px;
}
body .mj-formulario .wpcf7 input:focus, body .mj-formulario .wpcf7 select:focus, body .mj-formulario .wpcf7 textarea:focus { border-color: var(--mj-taupe-txt); }
@supports (appearance: base-select) {
  body .mj-formulario .wpcf7 select, body .mj-formulario .wpcf7 select::picker(select) { appearance: base-select; }
  body .mj-formulario .wpcf7 select::picker-icon { display: none; }
  body .mj-formulario .wpcf7 select::picker(select) { border: 1px solid #d6d0c5; border-radius: 14px; padding: 8px; background: #fff; box-shadow: 0 18px 40px rgba(26, 25, 23, .16); margin-top: 6px; }
  body .mj-formulario .wpcf7 select option { padding: 12px 14px; border-radius: 10px; font: 400 1rem/1.3 var(--mj-fuente); color: var(--mj-txt); }
  body .mj-formulario .wpcf7 select option:hover, body .mj-formulario .wpcf7 select option:focus { background: var(--mj-suave); }
  body .mj-formulario .wpcf7 select option:checked { background: var(--mj-crema); font-weight: 600; }
  body .mj-formulario .wpcf7 select option::checkmark { display: none; }
  body .mj-formulario .wpcf7 select option[value=""] { display: none; }
}

/* Botones: la flecha va a la derecha del texto y toma el color del texto */
body .elementor-widget-button[class*="mj-btn"] .elementor-button .elementor-button-content-wrapper { flex-direction: row; }
body .elementor-widget-button[class*="mj-btn"] .elementor-button .elementor-button-icon svg { fill: currentColor; }
body .elementor-widget-button[class*="mj-btn"] .elementor-button .elementor-button-icon i { color: currentColor; }

/* Ajustes finos de la segunda revision */
body .mj-contacto-item.mj-contacto-item--wa .elementor-icon { color: var(--mj-wa); }
@supports (appearance: base-select) {
  body .mj-formulario .wpcf7 select { display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
}
body .mj-contacto-item .elementor-icon-box-wrapper { display: flex !important; align-items: center !important; }
body .mj-contacto-item .elementor-icon-box-icon { align-self: center !important; }
body .mj-contacto-item .elementor-icon-box-content { flex: 1 1 auto; }
body .mj-servicio__meta > .elementor-widget { margin: 0 !important; align-self: center; }
body .mj-servicio__meta .elementor-heading-title { line-height: 1.2; }
body .mj-servicio__ico .elementor-icon { height: 20px; width: 20px; }
body .mj-servicio__ico .elementor-icon i, body .mj-servicio__ico .elementor-icon svg { display: block; margin: 0; }
body .elementor-widget-button.mj-btn--link .elementor-button { padding: 0; }
body .mj-contacto-item .elementor-icon-box-wrapper { flex-direction: row !important; text-align: left !important; }
body .mj-contacto-item .elementor-icon-box-content { text-align: left !important; }

/* Pantallas bajas (notebook 1366x768, tablet horizontal): la portada entra completa */
@media (min-width: 768px) and (max-height: 820px) {
  body .mj-hero__titulo .elementor-heading-title { font-size: clamp(2.5rem, 8.4vh, 5.75rem); }
  body .mj-hero__titulo .elementor-heading-title::after { margin-top: 18px; }
  body .elementor-widget-image.mj-hero__logo img { width: 84px !important; }
  body .mj-hero__logo { margin-bottom: 10px !important; }
  body .mj-hero__lema { margin: 18px 0 8px !important; }
  body .mj-hero__lema .elementor-heading-title { font-size: 1.375rem; }
  body .mj-hero__texto, body .mj-hero__texto p { font-size: 1rem; }
  body .elementor-element.mj-hero__botones { margin-top: 20px !important; }
  body .mj-checks { margin-top: 14px !important; }
  body .elementor-element.mj-hero__contenido { padding-top: 24px !important; padding-bottom: 20px !important; }
  body .mj-hero__pie { padding-top: 12px !important; padding-bottom: 12px !important; }
}
@media (min-width: 768px) and (max-height: 820px) {
  body .mj-hero__titulo .elementor-heading-title { font-size: clamp(2.25rem, 7.4vh, 5.75rem); }
  body .elementor-widget-image.mj-hero__logo img { width: 70px !important; }
  body .mj-hero__lema { margin: 14px 0 6px !important; }
  body .elementor-element.mj-hero__botones { margin-top: 16px !important; }
  body .mj-hero__pie { padding-top: 10px !important; padding-bottom: 10px !important; }
}
body .elementor-element.mj-hero { min-height: min(780px, calc(100svh - 96px)); }
