/* =========================================================
   Lopez & James - Estetica corporativa (Home)
   Todo va limitado a la portada (.home) para no afectar otras paginas.
   Para revertir: desactivar wp-content/novamira-sandbox/lj-corporate-styles.php
   ========================================================= */

/* ---------- 1. About: sin iconos, linea naranja fina + titulo ---------- */
.home .about-one__points-icon { display: none !important; }
.home .about-one__points li { display: block; }
.home .about-one__points-content {
  border-top: 2px solid var(--judges-base);
  padding-top: 16px;
}
.home .about-one__points-content h4 { font-weight: 700; text-transform: none; }
.home .about-one__points-content p { margin-top: 8px; }

/* ---------- 2. Why Choose: filas numeradas separadas por lineas grises ---------- */
.home .why-choose-one__points li .icon { display: none !important; }
.home .why-choose-one__points li {
  gap: 24px;
  align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid #e3e3e3;
}
.home .why-choose-one__points li::before {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--judges-base);
  min-width: 28px;
  padding-top: 4px;
}
.home .elementor-element-ba26ee8 .why-choose-one__points li::before { content: "01"; }
.home .elementor-element-e54f953 .why-choose-one__points li::before { content: "03"; }
.home .elementor-element-27d8167 .why-choose-one__points li::before { content: "02"; }
.home .elementor-element-dacbbb5 .why-choose-one__points li::before { content: "04"; }
.home .why-choose-one__points li .content h3 {
  font-size: 21px;
  line-height: 1.3;
  text-transform: none;
  margin-bottom: 6px;
}

/* ---------- 3. Key figures: solo cifras grandes con su etiqueta ---------- */
.home .counter-one__icon { display: none !important; }
.home .counter-one__content {
  text-align: left;
  padding: 28px 24px 26px;
  box-shadow: none;
  border-top: 3px solid var(--judges-base);
  border-radius: 0;
}
.home .counter-one__count-box { justify-content: flex-start; }
.home .counter-one__count-box h3,
.home .counter-one__count-box span { font-size: 64px; line-height: 64px !important; }
.home .counter-one__count-box span { color: var(--judges-base); }
.home .counter-one__text {
  display: block;
  background: none;
  padding: 0;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #555651;
}

/* ---------- 4. Working Process: icono de linea + linea de tiempo animada ---------- */
.home [class*="process-one__shape"] { display: none !important; }
.home .process-one__inner li:nth-child(1),
.home .process-one__inner li:nth-child(3) { margin-top: 0; }
.home .process-one__single { text-align: left; padding-top: 0; }
.home .process-one__icon-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
  margin: 0 0 24px;
  padding-bottom: 22px;
  border-bottom: 2px solid #e6e6e6;
}
/* relleno naranja de la linea, se anima al hacer scroll */
.home .process-one__icon-box::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--judges-base);
  transition: width .7s ease;
}
/* nodo en la linea */
.home .process-one__icon-box::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d5d5d5;
  z-index: 2;
  transition: border-color .3s ease, background .3s ease;
}
/* icono */
.home .process-one__icon {
  display: flex !important;
  order: 1;
  width: 60px;
  height: 60px;
  margin: 0;
  border: 1px solid #f3d2bc;
  border-radius: 14px;
  background: #fdf3ec;
  overflow: visible;
  transition: background .4s ease, border-color .4s ease, transform .3s ease;
}
.home .process-one__icon::before { display: none; }
.home .process-one__icon span {
  display: block;
  width: 28px;
  height: 28px;
  font-size: 0;
  background-color: var(--judges-base);
  -webkit-mask: var(--lj-step-icon) center / contain no-repeat;
  mask: var(--lj-step-icon) center / contain no-repeat;
  transition: background-color .4s ease;
}
.home .process-one__icon span::before { content: none !important; }
.home .process-one__inner li:nth-child(1) { --lj-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3Cpath d='M8 9h8M8 13h5'/%3E%3C/svg%3E"); }
.home .process-one__inner li:nth-child(2) { --lj-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 15l4-4 3 3 6-7'/%3E%3Cpath d='M16 7h4v4'/%3E%3C/svg%3E"); }
.home .process-one__inner li:nth-child(3) { --lj-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.2'/%3E%3C/svg%3E"); }
.home .process-one__inner li:nth-child(4) { --lj-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.6-6.4'/%3E%3Cpath d='M21 4v5h-5'/%3E%3Cpath d='M8.5 12.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
/* numero discreto a la derecha */
.home .process-one__count {
  position: static;
  order: 2;
  width: auto;
  height: auto;
  display: block;
  background: none;
  border-radius: 0;
  color: #c4c4c4;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .12em;
  transition: color .4s ease;
}
.home .process-one__count::before { content: "STEP "; }
.home .process-one__inner li:hover .process-one__count { background: none; box-shadow: none; }
.home .process-one__title { text-transform: none; font-size: 21px; line-height: 1.3; }

/* Estado activo (se activa paso a paso con lj-process.js) */
.home .process-one__inner li { --lj-delay: 0s; }
.home .process-one__inner li:nth-child(2) { --lj-delay: .6s; }
.home .process-one__inner li:nth-child(3) { --lj-delay: 1.2s; }
.home .process-one__inner li:nth-child(4) { --lj-delay: 1.8s; }
.home .lj-process-in li .process-one__icon-box::after { width: 100%; transition-delay: var(--lj-delay); }
.home .lj-process-in li .process-one__icon-box::before { border-color: var(--judges-base); background: var(--judges-base); transition-delay: var(--lj-delay); }
.home .lj-process-in li .process-one__icon { background: var(--judges-base); border-color: var(--judges-base); transition-delay: var(--lj-delay); }
.home .lj-process-in li .process-one__icon span { background-color: #fff; transition-delay: var(--lj-delay); }
.home .lj-process-in li .process-one__count { color: var(--judges-base); transition-delay: var(--lj-delay); }
.home .process-one__inner li:hover .process-one__icon { transform: translateY(-4px); transition-delay: 0s; }
/* Sin JS o con movimiento reducido: estado final directo */
@media (prefers-reduced-motion: reduce) {
  .home .process-one__icon-box::after, .home .process-one__icon, .home .process-one__icon span { transition: none !important; }
}
/* ---------- 5. Contact info: texto limpio sin iconos ---------- */
.home .elementor-24 .footer-widget__contact li .icon { display: none !important; }
.home .elementor-24 .footer-widget__contact li { gap: 0; }

/* ---------- 6. Hero: sin boton de video ni formas decorativas ---------- */
.home .main-slider__video-link,
.home [class*="main-slider__shape"] { display: none !important; }

/* ---------- Ajustes tras revision visual ---------- */
/* Quitar los bordes grises propios de cada widget (evita lineas dobles) */
.home .elementor-element-3197de6, .home .elementor-element-67e93e9, .home .elementor-element-d0433aa, .home .elementor-element-0818cce,
.home .elementor-element-ba26ee8, .home .elementor-element-e54f953, .home .elementor-element-27d8167, .home .elementor-element-dacbbb5,
.home .elementor-element-3197de6 > .elementor-widget-container, .home .elementor-element-67e93e9 > .elementor-widget-container, .home .elementor-element-d0433aa > .elementor-widget-container, .home .elementor-element-0818cce > .elementor-widget-container,
.home .elementor-element-ba26ee8 > .elementor-widget-container, .home .elementor-element-e54f953 > .elementor-widget-container, .home .elementor-element-27d8167 > .elementor-widget-container, .home .elementor-element-dacbbb5 > .elementor-widget-container { border: 0 !important; }
/* Linea de tiempo continua entre pasos (escritorio) */
@media (min-width: 1200px) {
  .home .process-one__inner li:not(:last-child) .process-one__icon-box { width: calc(100% + 30px); padding-right: 30px; }
}

/* Movil: columnas apiladas, numeracion en orden de lectura vertical */
@media (max-width: 767px) {
  .home .elementor-element-e54f953 .why-choose-one__points li::before { content: "02"; }
  .home .elementor-element-27d8167 .why-choose-one__points li::before { content: "03"; }
}

/* =========================================================
   Formulario de consultoria (.lj-form) - todas las paginas
   Fondo naranja: campos transparentes con borde blanco
   ========================================================= */
.lj-form .contact-page__input-box { margin-bottom: 22px; }
.lj-form .contact-page__input-box.text-message-box { height: auto; }
.lj-form__step {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 6px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.35);
}
.lj-form__step:not(:first-child) { margin-top: 14px; }
.lj-form__label {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
}
.lj-form input[type="tel"],
.lj-form select.lj-form__select {
  height: 57px;
  width: 100%;
  background-color: transparent;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px;
  padding: 0 20px;
  font-size: 16px;
  color: #fff;
  outline: none;
  display: block;
}
.lj-form select.lj-form__select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 46px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
}
.lj-form select.lj-form__select option { color: #333; background: #fff; }
.lj-form input:focus, .lj-form select:focus, .lj-form textarea:focus { border-color: #fff !important; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.lj-form .nice-select { display: none !important; } /* por si el tema intenta reemplazar los select */

/* Preguntas condicionales */
.lj-form .lj-cond { display: none; }
.lj-form .lj-cond.is-visible { display: block; }

/* Paises (checkbox en cuadricula) */
.lj-form__checks .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; }
.lj-form__checks .wpcf7-list-item { margin: 0; }
.lj-form__checks .wpcf7-list-item label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px;
  color: #fff; font-size: 14px; cursor: pointer;
}
.lj-form__checks .wpcf7-list-item label:has(input:checked) { background: #fff; color: var(--judges-base); }
.lj-form__checks input[type="checkbox"] { accent-color: #fff; margin: 0; }

/* Consentimiento */
.lj-form__consent { color: #fff; font-size: 13px; line-height: 1.5; margin-bottom: 22px; }
.lj-form__consent .wpcf7-list-item { margin: 0 0 10px; display: block; }
.lj-form__consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.lj-form__consent input[type="checkbox"] { margin-top: 3px; accent-color: #fff; flex: 0 0 auto; }
.lj-form__consent a { color: #fff; text-decoration: underline; }

.lj-form__note { color: rgba(255,255,255,.85); font-size: 13px; margin-top: 12px; }
.lj-form .wpcf7-not-valid-tip { color: #fff; font-size: 13px; margin-top: 6px; font-weight: 600; }
.lj-form .wpcf7-not-valid { border-color: #fff !important; border-width: 2px !important; }
/* Paises: lista desplegable con casillas (.lj-dd) */
.lj-form .lj-dd { position: relative; }
.lj-form .lj-dd__toggle {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 57px;
  padding: 0 46px 0 20px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 20px center;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 20px;
  color: #fff;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}
.lj-form .lj-dd__text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lj-form .lj-dd.is-open .lj-dd__toggle { border-color: #fff; }
.lj-form .lj-dd .lj-dd__panel { display: none !important; }
.lj-form .lj-dd.is-open .lj-dd__panel {
  display: block !important;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 260px;
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.lj-form .lj-dd .lj-dd__panel .wpcf7-list-item { display: block; margin: 0; }
.lj-form .lj-dd .lj-dd__panel .wpcf7-list-item label {
  display: flex;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  color: #333;
  background: none;
  font-size: 15px;
}
.lj-form .lj-dd .lj-dd__panel .wpcf7-list-item label:hover { background: #fdf3ec; }
.lj-form .lj-dd .lj-dd__panel .wpcf7-list-item label:has(input:checked) { background: #fdf3ec; color: var(--judges-base); font-weight: 600; }
.lj-form .lj-dd .lj-dd__panel input[type="checkbox"] { accent-color: var(--judges-base); }
/* Footer naranja: logo en blanco para que el '&' no se pierda sobre el naranja */
.elementor-12 img.wp-image-3754 { filter: brightness(0) invert(1); }


/* ---------- Servicios (carrusel): sin numero gris + botones anterior/siguiente ---------- */
.home .services-one__count { display: none !important; }
.home .lj-services-nav { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.home .lj-services-nav__btn { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 4px; background-color: var(--judges-base); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: filter .2s ease, transform .2s ease; }
.home .lj-services-nav__btn:hover { filter: brightness(.92); }
.home .lj-services-nav__btn:active { transform: scale(.96); }
.home .lj-services-nav__btn:focus-visible { outline: 2px solid var(--judges-base); outline-offset: 3px; }
.home .lj-services-nav__btn svg { width: 20px; height: 20px; display: block; }
