/* Ajustes propios de planIA sobre la plantilla SEOZ */
.planIA-logo {
  height: 48px;
  width: auto !important;
  max-width: none;
}
.footer-section .planIA-logo,
.offcanvas__logo .planIA-logo {
  height: 52px;
}

/* Cabecera: los textos en español son más largos que los de la plantilla */
.header-1 .theme-btn,
.header-section-2 .theme-btn {
  white-space: nowrap;
}
.main-menu ul li > a {
  white-space: nowrap;
}
@media (max-width: 1599px) {
  .header-right .link-btn {
    display: none;
  }
}
.header-1 .header-right .link-btn {
  white-space: nowrap;
}
@media (max-width: 1599px) {
  .header-1 .header-right .link-btn {
    display: none;
  }
}

/* Tarjetas flotantes de la plantilla con métricas en inglés */
.hero-img .box-shape,
.hero-img .box-shape-2 {
  display: none;
}

/* Medidas de movilidad en lugar de logotipos de marcas */
.planIA-brand-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--header);
  white-space: nowrap;
}
.planIA-brand-text i {
  color: var(--theme-color);
  font-size: 18px;
}

/* ===== Cabecera en rojo corporativo, compacta, con logo blanco ===== */
.header-1.header-4,
.sticky.header-4,
.sticky.header-1 {
  background-color: var(--theme-color);
  box-shadow: 0 6px 20px rgba(122, 31, 31, 0.25);
}
.header-1 .header-main {
  padding: 8px 0;
}
.planIA-logo {
  height: 44px;
}
.sticky.header-1 .header-main .main-menu ul li a,
.sticky.header-1 .header-main .sidebar__toggle,
.header-1.header-4 .header-main .main-menu ul li a {
  color: var(--white);
}
.header-1.header-4 .header-main .main-menu ul li a:hover,
.sticky.header-1 .header-main .main-menu ul li a:hover,
.sticky.header-4 .header-main .main-menu ul li a:hover,
.sticky.header-1 .header-main .main-menu ul li:hover > a {
  color: #FFD9D9 !important;
}
.header-main .main-menu ul li .submenu li a,
.sticky.header-1 .header-main .main-menu ul li .submenu li a,
.header-1.header-4 .header-main .main-menu ul li .submenu li a {
  color: var(--header);
}
.header-main .main-menu ul li .submenu li a:hover,
.header-1.header-4 .header-main .main-menu ul li .submenu li a:hover {
  color: var(--theme-color) !important;
}
.header-1.header-4 .header-right .header-button .theme-btn {
  padding-top: 4px;
  padding-bottom: 4px;
}
.header-1.header-4 .header-right .header-button .theme-btn i {
  width: 40px;
  height: 40px;
  line-height: 40px;
}

/* Páginas interiores: barra superior y caja del menú en rojo */
.header-section-2 .header-top-section {
  background-color: var(--theme-color-2);
}
.header-section-2 .header-top-wrapper {
  padding: 6px 0;
}
.header-section-2 .header-top-wrapper,
.header-section-2 .header-top-wrapper a,
.header-section-2 .header-top-wrapper b,
.header-section-2 .header-top-wrapper i {
  color: var(--white) !important;
}
.header-section-2 .header-1 .mega-menu-wrapper {
  background: var(--theme-color);
  border-radius: 0 0 9px 9px;
  box-shadow: 0 6px 20px rgba(122, 31, 31, 0.25);
}
.header-section-2 .header-1 .header-main .main-menu ul li a,
.header-section-2 .header-1 .header-main .sidebar__toggle {
  color: var(--white);
}
.header-section-2 .header-1 .header-right .theme-btn {
  background: transparent;
  border: 1px solid var(--white);
  color: var(--white);
  padding-top: 4px;
  padding-bottom: 4px;
}
.header-section-2 .header-1 .header-right .theme-btn i {
  width: 40px;
  height: 40px;
  line-height: 40px;
  background-color: var(--white);
  color: var(--theme-color);
}
.header-section-2 .header-1.sticky .mega-menu-wrapper {
  border-radius: 0;
  box-shadow: none;
}

/* Cabecera de páginas interiores: velo rojo sobre la foto para leer el título */
.breadcrumb-section {
  position: relative;
}
.breadcrumb-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(122, 31, 31, 0.75), rgba(165, 42, 42, 0.45));
}
.breadcrumb-section .container {
  position: relative;
  z-index: 1;
}

/* ===== Pie en rojo corporativo ===== */
.footer-section,
.footer-section.footer-bg,
.footer-section.bg-cover {
  background-color: #A52A2A !important;
  background-image: none !important;
}
.footer-section .footer-bottom {
  background-color: #7A1F1F;
  border-top: none;
}
.footer-section,
.footer-section p,
.footer-section a,
.footer-section li,
.footer-section h3,
.footer-section h4,
.footer-section h5,
.footer-section span {
  color: var(--white) !important;
}
.footer-section .footer-contect li .icon,
.footer-section .social-icon a,
.footer-section .footer-newsletter-wrapper-2 .icon-items .icon {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}
.footer-section .social-icon a:hover {
  background-color: var(--white) !important;
  color: #A52A2A !important;
}
.footer-section .theme-btn,
.footer-section .icon-btn {
  background-color: var(--white) !important;
  color: #A52A2A !important;
}
.footer-section .theme-btn i {
  background-color: #A52A2A !important;
  color: var(--white) !important;
}
.footer-section .footer-newsletter-wrapper-2 {
  border-color: rgba(255, 255, 255, 0.3) !important;
}
.footer-section .widget-head h3::before,
.footer-section .widget-head h3::after {
  background-color: var(--white) !important;
}
.footer-section .footer-newsletter-wrapper-2 .footer-newsletter-right,
.footer-section .footer-newsletter-wrapper-2 .footer-newsletter-right form input {
  background-color: #7A1F1F !important;
}

/* El botón de volver arriba sube para no tapar la burbuja del chat */
.back-to-top {
  bottom: 95px;
}

/* Iconos del pie en blanco: en rojo no se distinguían del fondo */
.footer-widget-wrapper .single-footer-widget .footer-contect li .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-widget-wrapper .single-footer-widget .footer-contect li i {
  color: var(--white) !important;
  font-size: 18px;
}
.footer-widget-wrapper .single-footer-widget .footer-content .social-icon a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-right: 6px;
}
.footer-widget-wrapper .single-footer-widget .footer-content .social-icon a i {
  color: inherit !important;
}

/* Formularios de contacto */
.planIA-trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.planIA-acepto {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  margin: 4px 0 8px;
}
.planIA-acepto input {
  width: auto !important;
  height: auto !important;
  margin-top: 3px;
  accent-color: var(--theme-color);
}
.planIA-form-msg {
  font-size: 15px;
  font-weight: 600;
  min-height: 1px;
}
.planIA-form-msg.success {
  color: #2E7D32;
}
.planIA-form-msg.error {
  color: #C62828;
}
.cta-contact-form-section .planIA-acepto,
.cta-contact-form-section .planIA-form-msg {
  color: var(--white);
}

/* Boletín del pie: consentimiento y mensaje en blanco */
.footer-section .planIA-acepto {
  font-size: 13px;
  margin-top: 10px;
}
.footer-section .planIA-form-msg.success,
.footer-section .planIA-form-msg.error {
  color: var(--white) !important;
}

/* Flecha del botón de la cabecera de la portada: cuadro blanco y flecha roja, como en el resto */
.header-1.header-4 .header-right .header-button .theme-btn i {
  background-color: var(--white) !important;
  color: var(--theme-color) !important;
}

/* Autodiagnóstico de la portada: el botón no se encoge; consentimiento y mensaje en su propia línea */
.cta-contact-form-wrapper form {
  flex-wrap: wrap;
}
.cta-contact-form-wrapper form .theme-btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.cta-contact-form-wrapper form .planIA-acepto,
.cta-contact-form-wrapper form .planIA-form-msg {
  flex: 0 0 100%;
  margin: 0;
}

/* Aviso de cookies (primera visita) */
.planIA-cookies {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  background: #7A1F1F;
  color: var(--white);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  padding: 18px 16px;
}
.planIA-cookies-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.planIA-cookies p {
  margin: 0;
  flex: 1;
  color: var(--white);
  font-size: 15px;
  line-height: 1.5;
}
.planIA-cookies a {
  color: var(--white);
  text-decoration: underline;
}
.planIA-cookies-botones {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.planIA-cookies-btn {
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
}
.planIA-cookies-btn.principal,
.planIA-cookies-btn:hover {
  background: var(--white);
  color: #7A1F1F !important;
}
@media (max-width: 767px) {
  .planIA-cookies-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .planIA-cookies-botones {
    justify-content: center;
  }
}

/* Mapa de contacto bloqueado hasta aceptar cookies de terceros */
.planIA-mapa-bloqueado {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg);
  text-align: center;
  padding: 40px 16px;
}

/* Páginas legales */
.planIA-legal h3 {
  margin: 32px 0 12px;
}
.planIA-legal table td,
.planIA-legal table th {
  padding: 10px;
  vertical-align: top;
}

/* Mientras se ve el aviso de cookies, el chat y "volver arriba" suben por encima */
.chatbot {
  bottom: calc(20px + var(--alto-cookies, 0px)) !important;
}
.back-to-top {
  bottom: calc(95px + var(--alto-cookies, 0px)) !important;
}
.planIA-legal ul {
  padding-left: 20px;
  list-style: disc;
}
.planIA-legal li {
  margin-bottom: 6px;
}
.planIA-pendiente {
  background: #FFF3CD;
  color: #8a5300;
  padding: 0 4px;
  border-radius: 3px;
}
.planIA-acepto a {
  text-decoration: underline;
}

/* Ventana de configuración de cookies */
.planIA-cookies-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.planIA-cookies-modal[hidden] {
  display: none;
}
.planIA-cookies-caja {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  max-width: 560px;
  width: 100%;
  padding: 28px 24px 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}
.planIA-cookies-caja h4 {
  margin-bottom: 16px;
}
.planIA-cookies-cerrar {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--header);
}
.planIA-cookies-opcion {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.planIA-cookies-opcion label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
}
.planIA-cookies-opcion input {
  width: 18px !important;
  height: 18px !important;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--theme-color);
}
.planIA-cookies-nota {
  font-size: 13px;
  margin: 4px 0 16px;
}
.planIA-cookies-caja .planIA-cookies-btn {
  border-color: #7A1F1F;
  color: #7A1F1F !important;
}
.planIA-cookies-caja .planIA-cookies-btn.principal,
.planIA-cookies-caja .planIA-cookies-btn:hover {
  background: #7A1F1F;
  color: var(--white) !important;
}

/* "Atención: teléfono" de la cabecera de páginas interiores: en blanco sobre el rojo */
.header-section-2 .header-1 .header-right .link-btn,
.header-section-2 .header-1 .header-right .link-btn a,
.header-1 .header-right .link-btn,
.header-1 .header-right .link-btn a {
  color: var(--white) !important;
}

/* Fotos con esquinas redondeadas, a juego con botones y tarjetas */
section img:not(.planIA-logo),
.project-image img,
.news-image img,
.team-image img {
  border-radius: 14px;
}
/* Iconos y adornos pequeños sin redondear */
section img[src*="/icon"],
section img[src*="shape"],
section img[src*="/footer/"],
section img[src*="plane"],
section img[src*="vector"],
section img[src*="carton"],
section img[src*="book-shape"] {
  border-radius: 0;
}

/* Webs relacionadas en el pie */
.planIA-webs-rel { margin-top: 12px; font-size: 14px; color: #fff; }
.planIA-webs-rel a { color: #fff; text-decoration: underline; }
.planIA-webs-rel a:hover { color: #fff; opacity: .8; }

/* Grupo: planIA, Consultoría Movilidad, CarRotating (portada) */
.planIA-grupo-item { display: block; text-align: center; margin-top: 30px; color: inherit; }
.planIA-grupo-item img { width: 100%; height: auto; border-radius: 14px; transition: transform .3s; }
.planIA-grupo-item:hover img { transform: translateY(-4px); }
.planIA-grupo-item h3 { margin-top: 20px; margin-bottom: 4px; }
.planIA-grupo-item span { color: var(--theme-color); font-weight: 600; letter-spacing: 2px; font-size: 14px; }

/* Autodiagnóstico: subtítulo blanco sobre el fondo azul */
.cta-contact-form-section .section-title span { color: #fff; }
.cta-contact-form-section .planIA-acepto a { color: #fff; text-decoration: underline; }

/* Portada: subtítulo de la cabecera principal */
.hero-1 .hero-content .planIA-hero-sub { color: var(--theme-color); font-size: 22px; line-height: 1.4; margin-top: 18px; }

/* Autodiagnóstico con cuatro campos: dos por fila y el botón debajo */
.cta-contact-form-wrapper form.planIA-autodiag { gap: 16px; justify-content: center; }
.cta-contact-form-wrapper form.planIA-autodiag .form-clt { flex: 1 1 calc(50% - 16px); max-width: none; }
.cta-contact-form-wrapper form.planIA-autodiag .form-clt input { width: 100%; }

/* Grupo: descripción bajo cada tarjeta */
.planIA-grupo-item p { margin-top: 8px; color: var(--text); }

/* Contacto: datos de contacto una sola vez, al principio */
.contact-info-inner-wrapper.planIA-contacto-datos { margin: 0 auto 60px; border: 1px solid var(--border); }
@media (max-width: 991px) {
  .contact-info-inner-wrapper.planIA-contacto-datos { flex-wrap: wrap; gap: 24px; padding: 30px; }
}

/* Actualidad: aviso de filtro y cuerpo del artículo */
.planIA-filtro { margin-bottom: 30px; }
.planIA-filtro a { color: var(--theme-color); text-decoration: underline; }
.planIA-articulo { margin-top: 30px; }
.planIA-articulo p { margin-bottom: 18px; }
.planIA-articulo h3 { margin: 30px 0 14px; }
.planIA-articulo a { color: var(--theme-color); text-decoration: underline; }
.blog-post-details .post-content h2 { text-transform: none; }

/* Submenús desplegables: texto oscuro sobre fondo blanco también en páginas interiores */
.header-section-2 .header-1 .header-main .main-menu ul li .submenu li a,
.sticky.header-1 .header-main .main-menu ul li .submenu li a {
  color: var(--header) !important;
}
.header-section-2 .header-1 .header-main .main-menu ul li .submenu li a:hover,
.sticky.header-1 .header-main .main-menu ul li .submenu li a:hover {
  color: var(--theme-color) !important;
}

/* Dibujos decorativos de la plantilla (cohetes, aviones de papel, libros, cajas...):
   ocultos, no eliminados. Para recuperarlos basta con borrar esta regla. */
.plane-shape,
.book-shape,
.carton-shape,
.left-shape,
.box-shape,
.box-shape-2 {
  display: none !important;
}

/* ===== Simplificación según DOCs/cambios_02.txt (23-10-2026) ===== */

/* Cabecera: «Acceso plataforma» junto a «Solicitar propuesta» */
.planIA-acceso {
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
  margin-right: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}
.planIA-acceso:hover { color: #FFD9D9; }
@media (max-width: 1199px) { .planIA-acceso { display: none; } }

/* Portada: proceso en una línea */
.planIA-proceso {
  list-style: none; padding: 0; margin: 0 auto;
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 0;
}
.planIA-proceso li {
  display: flex; align-items: center; gap: 10px;
  font-family: "Outfit", sans-serif; font-size: 22px; font-weight: 600; color: var(--header);
}
.planIA-proceso li i { color: var(--theme-color); font-size: 30px; }
.planIA-proceso li + li::before {
  content: "\2192"; color: var(--theme-color); font-size: 26px; margin: 0 22px;
}
.planIA-proceso-texto { max-width: 760px; margin: 30px auto 0; text-align: center; font-size: 18px; }
@media (max-width: 767px) {
  .planIA-proceso { flex-direction: column; }
  .planIA-proceso li + li::before { content: "\2193"; margin: 0 0 8px; display: block; }
  .planIA-proceso li { flex-direction: column; }
}

/* Portada: herramientas con botones */
.planIA-grupo-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.planIA-grupo-btns .theme-btn { padding: 12px 22px; }

/* Cierre con una sola llamada a la acción */
.planIA-cierre-caja {
  text-align: center; background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 50px 30px;
}
.planIA-cierre-caja h2 { margin-bottom: 10px; }
.planIA-cierre-caja p { margin-bottom: 26px; }
.planIA-cierre-caja h2 + .theme-btn { margin-top: 16px; }

/* Quiénes somos: nuestra diferencia */
.planIA-diferencia { max-width: 860px; margin: 0 auto; }
.planIA-diferencia p { font-size: 17px; margin-bottom: 14px; }

/* Contacto a dos columnas */
.planIA-contacto-datos { list-style: none; padding: 0; margin: 0; }
.planIA-contacto-datos li { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.planIA-contacto-datos li i {
  width: 52px; height: 52px; line-height: 52px; text-align: center; border-radius: 50%;
  background: var(--theme-color); color: var(--white); flex: 0 0 52px;
}
.planIA-contacto-datos h3 { font-size: 18px; margin-bottom: 4px; }
.planIA-contacto-datos a, .planIA-contacto-datos p { color: var(--text); }
.planIA-contacto-form { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 36px; }
.planIA-contacto-form .nice-select { width: 100%; height: auto; line-height: 1.5; padding: 16px 20px; border-radius: 6px; }
@media (max-width: 575px) { .planIA-contacto-form { padding: 22px; } }

/* Pie: teléfono y correo bajo las herramientas */
.planIA-pie-contacto { list-style: none; padding: 0; margin-top: 18px; }
.planIA-pie-contacto li { margin-bottom: 6px; }
.planIA-pie-contacto a { color: var(--white); }

/* Actualidad: boletín en la barra lateral */
.planIA-boletin p { margin-bottom: 16px; }
.planIA-boletin input[type=email] {
  width: 100%; padding: 14px 18px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 12px;
}
.planIA-boletin .planIA-acepto { display: block; font-size: 14px; margin-bottom: 14px; }
.planIA-contacto-form .form-clt input,
.planIA-contacto-form .form-clt textarea {
  width: 100%; padding: 16px 20px; border: 1px solid var(--border); border-radius: 6px;
  background: var(--white); color: var(--header); outline: none;
}
.planIA-contacto-form .form-clt textarea { min-height: 150px; resize: vertical; }
.planIA-contacto-form .form-clt input:focus,
.planIA-contacto-form .form-clt textarea:focus { border-color: var(--theme-color); }
/* El texto del consentimiento lleva un enlace: en flex se partía en columnas */
.planIA-contacto-form .planIA-acepto,
.planIA-boletin .planIA-acepto { display: block; }
.planIA-contacto-form .planIA-acepto input,
.planIA-boletin .planIA-acepto input { margin-right: 6px; vertical-align: -2px; }
.planIA-contacto-form .nice-select { background: var(--white); border: 1px solid var(--border); color: var(--text); font-size: 16px; }
.planIA-contacto-form .nice-select .list { width: 100%; }
.faq-items .accordion-button { text-transform: none; }

/* Páginas interiores: el título del breadcrumb pasa a ser el h1 (SEO), con el aspecto del h2 */
.page-heading h1 { color: var(--white); font-size: 48px; font-weight: 600; }
@media (max-width: 575px) { .page-heading h1 { font-size: 40px; } }
.blog-wrapper .single-blog-post .post-content h1.planIA-articulo-titulo { line-height: 1.4; font-size: 36px; font-weight: 600; }
@media (max-width: 575px) { .blog-wrapper .single-blog-post .post-content h1.planIA-articulo-titulo { font-size: 28px; } }
