/* =====================================================
   OpenerpSpain — Overrides de diseño para migración moderna
   Colores y estructura basados en old.openerpspain.com
   ===================================================== */

/* Paleta de colores de la web original */
:root {
  --ops-red: #ff304e;
  --ops-red-dark: #d92942;
  --ops-text: #515e6c;
  --ops-text-light: #7a8798;
  --ops-bg: #f7f7fa;
  --ops-white: #ffffff;
  --ops-footer: #363c4f;
  --ops-footer-2: #4b536d;
  --ops-border: #dfe2e8;
  --ops-border-hover: #c4cbd3;
  --ops-emphasis: #166992;
  --ops-gray-light: #d0d2d8;

  /* Estilo de ghost.openerpspain.com: un ÚNICO lila para todas las secciones
     alternas (morado Odoo #714b67 al 25%), titulares en negro y borde claro.
     Si hay que retocar el lila, se toca aquí y cambia en toda la home. */
  --ops-alt: rgba(113, 75, 103, 0.25);
  --ops-ink: #111;
  --ops-line: #e1e1e1;
  --ops-dark: #252528;

  /* Sobrescribimos variables del tema taskbes */
  --color-primary: var(--ops-red);
  --color-secondary: var(--ops-ink);
  --color-border: var(--ops-line);
  --color-bg-01: var(--ops-alt);
  --color-bg-02: var(--ops-alt);
  --color-bg-03: var(--ops-alt);
  --color-bg-04: var(--ops-alt);
  --color-bg-05: var(--ops-alt);
  --color-bg-06: var(--ops-alt);

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
}

/* Tipografía: Open Sans + Noto Sans */
body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--ops-white);
  color: var(--ops-text);
}

/* el modelo usa titulares en negro y en negrita, no en gris fino */
h1, h2, h3, h4, h5, h6,
.home-hero-heading,
.page-intro-heading,
.navbar-brand,
.footer-heading {
  font-family: "Noto Sans", "Open Sans", sans-serif;
  font-weight: 700;
  color: var(--ops-ink);
}

/* Enlaces */
a {
  color: var(--ops-red);
}
a:hover {
  color: var(--ops-text);
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ops-border);
  box-shadow: 0 1px 20px rgba(81, 94, 108, 0.06);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
@media (min-width: 768px) {
  .navbar-inner {
    height: 100px;
  }
}
.navbar-brand {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.navbar-logo {
  height: 38px;
  width: auto;
}
@media (min-width: 768px) {
  .navbar-logo {
    height: 46px;
  }
}
.navbar-brand-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--ops-text);
}
.navbar-desktop {
  display: none;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
@media (min-width: 1024px) {
  .navbar-desktop {
    display: flex;
  }
}
.navbar-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
  margin: 0 28px 0 0;
  padding: 0;
}
@media (min-width: 1280px) {
  .navbar-menu {
    gap: 38px;
    margin-right: 38px;
  }
}
.navbar-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ops-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}
@media (min-width: 1280px) {
  .nav-link {
    font-size: 16px;
  }
}
.nav-link:hover {
  color: var(--ops-red);
}
.nav-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.has-children:hover .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}
.navbar-cta {
  font-size: 14px;
  padding: 0 18px;
  height: 40px;
}
@media (min-width: 1280px) {
  .navbar-cta {
    font-size: 16px;
    padding: 0 24px;
    height: 44px;
  }
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  min-width: 220px;
  background: white;
  border: 1px solid var(--ops-border);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(81, 94, 108, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 50;
  padding: 8px 0;
  list-style: none;
}
.has-children:hover .dropdown-menu,
.has-children:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-link {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  color: var(--ops-text);
  text-decoration: none;
  transition: all 0.15s ease;
}
.dropdown-link:hover {
  color: var(--ops-red);
  background-color: var(--ops-bg);
}

/* Botones */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 26px;
  background-color: var(--ops-red);
  color: var(--ops-white);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background-color: var(--ops-footer);
  color: var(--ops-white);
}
.btn-primary .btn-primary-inner,
.btn-primary .btn-primary-shadow {
  all: unset;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 26px;
  background-color: transparent;
  color: var(--ops-text);
  border: 2px solid var(--ops-border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background-color: rgba(196, 203, 211, 0.15);
  border-color: var(--ops-border-hover);
  color: var(--ops-text);
}

/* Hero moderno */
.hero-section {
  background: var(--ops-white);
}
.home-hero-heading {
  font-size: 2.8rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ops-ink);
}
@media (min-width: 768px) {
  .home-hero-heading {
    font-size: 3.4rem;
  }
}
@media (min-width: 1024px) {
  .home-hero-heading {
    font-size: 4rem;
  }
}
.home-hero-heading .text-red {
  color: var(--ops-red);
}
.home-hero-paragraph {
  color: rgba(17, 17, 17, 0.7) !important;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Paneles / tarjetas */
.ops-card {
  background-color: var(--ops-white);
  border: 1px solid var(--ops-border);
  border-radius: var(--radius-sm);
  padding: 30px;
  transition: all 0.25s ease;
}
.ops-card:hover {
  border-color: var(--ops-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(81, 94, 108, 0.1);
}
.ops-card-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--ops-bg);
  transition: transform 0.25s ease;
}
.ops-card:hover .ops-card-icon {
  transform: scale(1.08);
}
.ops-card-icon svg {
  width: 42px;
  height: 42px;
  stroke: var(--ops-red);
}

/* Secciones */
.ops-section {
  padding: 70px 0;
}
@media (min-width: 768px) {
  .ops-section {
    padding: 90px 0;
  }
}
.ops-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ops-ink);
  margin-bottom: 0.5rem;
}
.ops-section-title .accent {
  border-bottom: 3px solid var(--ops-red);
  padding-bottom: 2px;
}
.ops-section-subtitle {
  color: rgba(17, 17, 17, 0.7);
  font-size: 1rem;
}

/* Feature pequeñas */
.ops-feature-sm {
  background-color: var(--ops-white);
  border: 1px solid var(--ops-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  transition: all 0.2s ease;
}
.ops-feature-sm:hover {
  border-color: var(--ops-border-hover);
  box-shadow: 0 8px 24px rgba(81, 94, 108, 0.08);
}
.ops-feature-sm .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--ops-bg);
}
.ops-feature-sm .icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--ops-red);
}

/* CTA oscuro */
.ops-cta {
  background-color: var(--ops-dark);
  color: var(--ops-white);
  text-align: center;
}
.ops-cta h2 {
  color: var(--ops-white);
  font-weight: 700;
}
.ops-cta p {
  color: var(--ops-gray-light);
}

/* Footer oscuro */
.site-footer {
  background-color: var(--ops-footer);
  color: var(--ops-white);
  border-top: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 40px;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.footer-logo {
  height: 46px;
  width: auto;
}
.footer-brand-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--ops-white);
}
.footer-description {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 20px;
  color: var(--ops-gray-light);
}
.footer-column-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ops-white);
  margin-bottom: 20px;
}
.site-footer a,
.site-footer p,
.site-footer span {
  color: var(--ops-white);
}
.site-footer a:hover {
  color: var(--ops-red);
}
.site-footer .footer-bottom {
  background-color: var(--ops-footer-2);
  color: var(--ops-gray-light);
}
.site-footer .footer-bottom a {
  color: var(--ops-gray-light);
}

/* Posts / tarjetas del blog */
.blog-archive-heading {
  color: var(--ops-text);
}
.blog-category-link {
  color: var(--ops-red);
}

/* Contenido de páginas */
.page-content,
.gh-content {
  color: var(--ops-text);
  font-size: 1rem;
  line-height: 1.75;
}
.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4 {
  color: var(--ops-ink);
  font-weight: 700;
}
.gh-content em,
.gh-content strong em {
  color: var(--ops-emphasis);
}
.gh-content a {
  color: var(--ops-red);
}

/* Utilidades de layout */
.container-default {
  max-width: 1200px;
}

/* =====================================================
   ANIMACIONES Y EFECTOS MODERNOS
   ===================================================== */

/* Animaciones de entrada al scroll */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variantes de animación */
[data-animate="from-right"] {
  transform: translateX(60px);
}
[data-animate="from-right"].is-visible {
  transform: translateX(0);
}

[data-animate="from-left"] {
  transform: translateX(-60px);
}
[data-animate="from-left"].is-visible {
  transform: translateX(0);
}

[data-animate="scale"] {
  transform: scale(0.92);
}
[data-animate="scale"].is-visible {
  transform: scale(1);
}

/* Stagger para grids: cada hijo entra con un pequeño retraso */
[data-animate].stagger-1 { transition-delay: 0.05s; }
[data-animate].stagger-2 { transition-delay: 0.1s; }
[data-animate].stagger-3 { transition-delay: 0.15s; }
[data-animate].stagger-4 { transition-delay: 0.2s; }
[data-animate].stagger-5 { transition-delay: 0.25s; }
[data-animate].stagger-6 { transition-delay: 0.3s; }
[data-animate].stagger-7 { transition-delay: 0.35s; }
[data-animate].stagger-8 { transition-delay: 0.4s; }

/* Hero: blanco liso como el modelo. Antes llevaba un degradado gris más dos
   manchas radiales (rosa y azul) que teñían el fondo; el modelo no las usa. */
.hero-section {
  background: var(--ops-white);
  position: relative;
  overflow: hidden;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.05); }
}

/* Título hero: negro y en negrita, como el modelo */
.home-hero-heading {
  color: var(--ops-ink) !important;
  font-weight: 700 !important;
}

/* Imagen hero con sombra sutil */
.hero-section .ops-card {
  box-shadow: 0 25px 80px rgba(81, 94, 108, 0.15);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}
.hero-section .ops-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 100px rgba(81, 94, 108, 0.2);
}

/* Tarjetas modernas */
.ops-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(223, 226, 232, 0.8);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(81, 94, 108, 0.06);
}
.ops-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(81, 94, 108, 0.12);
  border-color: rgba(255, 48, 78, 0.2);
}

/* Iconos de tarjetas con pulso sutil */
.ops-card-icon {
  background: linear-gradient(135deg, #f7f7fa 0%, #ffffff 100%);
  border: 1px solid var(--ops-border);
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.8), 0 4px 15px rgba(81, 94, 108, 0.08);
}
.ops-card:hover .ops-card-icon {
  background: linear-gradient(135deg, #ff304e 0%, #d92942 100%);
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(255, 48, 78, 0.25);
}
.ops-card:hover .ops-card-icon svg {
  stroke: #ffffff;
}

/* Secciones alternas: el mismo lila en todas.
   Antes la franja de stats llevaba su propio gradiente rojo/azul inline, que
   daba un lila distinto (más pálido) al del carrusel. */
.ops-section-alt {
  background: var(--ops-alt);
  border-top: 1px solid var(--ops-line);
  border-bottom: 1px solid var(--ops-line);
}
.ops-stats-section p.text-\[2\.5rem\] {
  font-weight: 700;
  color: var(--ops-red);
}

/* CTA oscuro con brillo */
.ops-cta {
  position: relative;
  overflow: hidden;
}
.ops-cta::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 48, 78, 0.15) 0%, transparent 50%);
  animation: ctaGlow 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ctaGlow {
  0%, 100% { transform: translate(0, 0); opacity: 0.5; }
  50% { transform: translate(5%, 10%); opacity: 1; }
}

/* Navbar moderna con blur */
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(81, 94, 108, 0.06);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ops-red);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(255, 48, 78, 0.35);
  z-index: 1000;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(255, 48, 78, 0.45);
}

/* Botones con efecto de onda */
.btn-primary,
.btn-secondary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after,
.btn-secondary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.btn-primary:active::after,
.btn-secondary:active::after {
  width: 300px;
  height: 300px;
}

/* Enlaces del menú con underline animado */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ops-red);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after {
  width: 100%;
}

/* Sección de título con decoración */
.ops-section-title {
  position: relative;
  display: inline-block;
}
.ops-section-title .accent {
  position: relative;
  border-bottom: none;
}
.ops-section-title .accent::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ff304e 0%, rgba(255, 48, 78, 0.3) 100%);
  border-radius: 2px;
}

/* Blog cards hover image zoom */
.ops-card img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ops-card:hover img {
  transform: scale(1.05);
}

/* Smooth scroll global */
html {
  scroll-behavior: smooth;
}

/* Scrollbar moderna */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ops-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--ops-border-hover);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ops-red);
}

/* Formularios */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  border: 1px solid var(--ops-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: "Open Sans", sans-serif;
  color: var(--ops-text);
  background-color: var(--ops-white);
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ops-border-hover);
}

/* Grids semánticos (Tailwind compilado no incluye variantes responsive de grid) */
.ops-grid-2 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}
@media (min-width: 768px) {
  .ops-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

.ops-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (min-width: 768px) {
  .ops-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .ops-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
  }
}

.ops-grid-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (min-width: 768px) {
  .ops-grid-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
  }
}

.ops-grid-blog {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 30px;
}
@media (min-width: 640px) {
  .ops-grid-blog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .ops-grid-blog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Botón CTA oscuro */
.ops-cta .btn-primary {
  background-color: var(--ops-white);
  color: var(--ops-red);
  border-color: var(--ops-white);
}
.ops-cta .btn-primary:hover {
  background-color: transparent;
  color: var(--ops-white);
  border-color: var(--ops-white);
}

/* Dropdowns desktop */
.has-children .dropdown-menu {
  display: block;
  pointer-events: none;
}
.has-children:hover .dropdown-menu,
.has-children:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Navbar dropdown flecha */
.nav-link svg {
  opacity: 0.7;
}
.has-children:hover .nav-link svg {
  opacity: 1;
}

/* Ajuste de espaciado para iconos dentro de tarjetas */
.ops-card-icon + h3 {
  margin-top: 0;
}

/* Mejora de contraste en metadatos */
.blog-date,
.text-secondary/60,
.text-secondary\/60 {
  color: var(--ops-text-light);
}

/* Responsive ajustes */
@media (max-width: 767px) {
  .home-hero-heading {
    font-size: 2.2rem;
  }
  .ops-section {
    padding: 50px 0;
  }
  .ops-cta h2 {
    font-size: 1.6rem;
  }
}

/* =====================================================
   Tarjetas de módulo (home) — enlaces a las páginas de módulos
   ===================================================== */
.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px 24px;
  background-color: var(--ops-white);
  border: 1px solid var(--ops-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.module-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--ops-red) 0%, var(--ops-emphasis) 100%);
  transition: width 0.35s ease;
}
.module-card:hover {
  transform: translateY(-6px);
  border-color: var(--ops-border-hover);
  box-shadow: 0 18px 40px rgba(81, 94, 108, 0.14);
}
.module-card:hover::before {
  width: 100%;
}
.module-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 48, 78, 0.08);
  color: var(--ops-red);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.module-card:hover .module-card-icon {
  background-color: var(--ops-red);
  color: var(--ops-white);
  transform: scale(1.06);
}
.module-card-icon svg {
  width: 26px;
  height: 26px;
}
.module-card-title {
  font-family: "Noto Sans", "Open Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ops-text);
  margin: 4px 0 0;
  transition: color 0.2s ease;
}
.module-card:hover .module-card-title {
  color: var(--ops-red);
}
.module-card-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ops-text-light);
  margin: 0;
  flex-grow: 1;
}
.module-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ops-red);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.module-card:hover .module-card-link {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 767px) {
  .module-card-link {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================
   Tarjetas compactas de integración web
   ===================================================== */
.web-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px 18px;
  background-color: var(--ops-white);
  border: 1px solid var(--ops-border);
  border-radius: var(--radius-md);
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.web-card:hover {
  transform: translateY(-5px);
  border-color: var(--ops-red);
  background-color: rgba(255, 48, 78, 0.03);
  box-shadow: 0 14px 32px rgba(81, 94, 108, 0.12);
}
.web-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(22, 105, 146, 0.08);
  color: var(--ops-emphasis);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.web-card:hover .web-card-icon {
  background-color: var(--ops-red);
  color: var(--ops-white);
}
.web-card-icon svg {
  width: 24px;
  height: 24px;
}
.web-card-title {
  font-family: "Noto Sans", "Open Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ops-text);
  margin: 0;
  transition: color 0.2s ease;
}
.web-card:hover .web-card-title {
  color: var(--ops-red);
}

/* =====================================================
   Menú desplegable ancho (submenús largos, p. ej. Módulos)
   ===================================================== */
.dropdown-menu.dropdown-wide {
  min-width: 460px;
  columns: 2;
  column-gap: 0;
  padding: 12px 0;
}
.dropdown-menu.dropdown-wide li {
  break-inside: avoid;
}

/* =====================================================
   Cabecera de página / post con migas de pan
   ===================================================== */
.page-hero {
  position: relative;
  padding: 46px 0 54px;
  background: linear-gradient(180deg, var(--ops-white) 0%, var(--ops-bg) 100%);
  border-bottom: 1px solid var(--ops-border);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 48, 78, 0.10) 0%, rgba(255, 48, 78, 0) 70%);
  pointer-events: none;
}
@media (min-width: 768px) {
  .page-hero {
    padding: 60px 0 70px;
  }
}
.page-hero-inner {
  position: relative;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}
.page-intro-heading {
  font-size: 2.1rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ops-ink);
  margin: 0;
}
@media (min-width: 768px) {
  .page-intro-heading {
    font-size: 2.9rem;
  }
}
.page-hero-excerpt {
  margin: 18px auto 0;
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ops-text-light);
}

.breadcrumb {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: var(--ops-text-light);
}
.breadcrumb a {
  color: var(--ops-text-light);
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: var(--ops-red);
}
.breadcrumb span[aria-hidden] {
  opacity: 0.5;
}
.breadcrumb-current {
  color: var(--ops-text);
  font-weight: 600;
}

.page-body {
  padding: 56px 0 20px;
}
@media (min-width: 768px) {
  .page-body {
    padding: 70px 0 30px;
  }
}
.page-feature-image {
  max-width: 1095px;
  width: 100%;
  padding: 12px;
  background: var(--ops-white);
  border: 1px solid var(--ops-border);
  border-radius: var(--radius-lg);
}

/* =====================================================
   Bloque de páginas / posts hermanos
   ===================================================== */
.related-section {
  padding: 60px 0 70px;
  background: var(--ops-white);
  border-top: 1px solid var(--ops-border);
}
.related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}
.related-head .ops-section-title {
  margin: 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--ops-white);
  border: 1px solid var(--ops-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.related-card:hover {
  transform: translateY(-5px);
  border-color: var(--ops-border-hover);
  box-shadow: 0 16px 34px rgba(81, 94, 108, 0.12);
}
.related-card-title {
  font-family: "Noto Sans", "Open Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ops-text);
  margin: 0;
  transition: color 0.2s ease;
}
.related-card:hover .related-card-title {
  color: var(--ops-red);
}
.related-card-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ops-text-light);
  margin: 0;
  flex-grow: 1;
}
.related-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ops-red);
}

/* Bloques del mapa web */
.sitemap-block {
  margin-bottom: 44px;
}
.sitemap-block .ops-section-title {
  margin-bottom: 20px;
}
.sitemap-block .ops-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.sitemap-block .ops-related-link {
  display: block;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ops-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ops-text);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.sitemap-block .ops-related-link:hover {
  border-color: var(--ops-red);
  color: var(--ops-red);
  transform: translateX(3px);
}
.sitemap-block .ops-related-link span {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ops-text-light);
  margin-top: 3px;
}

/* Foto del hero */
.hero-photo {
  margin: 0;
  padding: 10px;
  background: var(--ops-white);
  border: 1px solid var(--ops-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(81, 94, 108, 0.14);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(81, 94, 108, 0.18);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* Grid de imágenes del hero (estilo Taskbes) */
.hero-image-grid-wrapper {
  position: relative;
  max-width: 625px;
  margin: 0 auto;
}
.hero-image-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 2;
}
.hero-image-grid-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.hero-image-grid-col-offset {
  margin-top: 40px;
}
.hero-grid-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--ops-border);
  background: var(--ops-white);
  box-shadow: 0 14px 40px rgba(81, 94, 108, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-grid-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(81, 94, 108, 0.18);
}
@media (min-width: 768px) {
  .hero-image-grid-wrapper {
    margin-left: auto;
    margin-right: 0;
  }
}
@media (min-width: 1024px) {
  .hero-image-grid {
    gap: 30px;
  }
  .hero-image-grid-col {
    gap: 30px;
  }
}

/* =====================================================
   Ajustes de la barra de navegación
   El menú creció a seis entradas con submenús: hay que evitar
   que los rótulos se partan y que el logo quede pegado al primero.
   ===================================================== */
.navbar-brand {
  margin-right: 28px;
}
.nav-link,
.navbar-cta,
.dropdown-link {
  white-space: nowrap;
}
.navbar-menu {
  gap: 18px;
  margin-right: 18px;
}
@media (min-width: 1280px) {
  .navbar-menu {
    gap: 26px;
    margin-right: 26px;
  }
}
@media (min-width: 1440px) {
  .navbar-menu {
    gap: 32px;
    margin-right: 32px;
  }
}
.nav-link {
  font-size: 15px;
}
@media (min-width: 1440px) {
  .nav-link {
    font-size: 16px;
  }
}
.navbar-cta {
  flex-shrink: 0;
  padding: 0 16px;
  font-size: 14px;
}
@media (min-width: 1440px) {
  .navbar-cta {
    padding: 0 22px;
    font-size: 15px;
  }
}
/* El menú de escritorio (7 items + logo, ~760 px) cabe a partir de 1024 px.
   Por debajo se usa el menú móvil. */
@media (max-width: 1023px) {
  .navbar-desktop {
    display: none;
  }
  #mobile-menu-btn {
    display: flex !important;
  }
  #mobile-menu {
    display: block;
  }
}
@media (min-width: 1024px) {
  .navbar-desktop {
    display: flex;
  }
  #mobile-menu-btn {
    display: none !important;
  }
}
/* El desplegable ancho no debe salirse por la derecha */
.navbar-item:last-child .dropdown-menu,
.navbar-item:nth-last-child(2) .dropdown-menu {
  left: auto;
  right: 0;
}

/* Las animaciones de entrada parten de opacity:0. Si el visitante prefiere
   menos movimiento, se muestran directamente. */
@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate="scale"],
  [data-animate="from-right"],
  [data-animate="from-left"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =====================================================
   Bloque de llamada a la acción (home y páginas)
   El style.css del tema viene precompilado, así que las utilidades
   arbitrarias de Tailwind (py-[70px], mb-[52px]...) no existen en él:
   el espaciado de esta sección se define aquí.
   ===================================================== */
.ops-cta {
  padding-top: 72px;
  padding-bottom: 72px;
}
@media (min-width: 768px) {
  .ops-cta {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}
.ops-cta h2 {
  margin: 0;
  line-height: 1.25;
}
.ops-cta p {
  max-width: 650px;
  margin: 20px auto 0;
  line-height: 1.7;
}
/* Separación del botón respecto al texto */
.ops-cta .btn-primary {
  margin-top: 44px;
}
@media (min-width: 768px) {
  .ops-cta .btn-primary {
    margin-top: 52px;
  }
}

/* =====================================================
   Columna de texto del hero
   El espaciado va aquí y no en utilidades arbitrarias, que no
   existen en el style.css precompilado del tema.
   ===================================================== */
.hero-copy {
  display: flex;
  flex-direction: column;
}
.hero-copy .home-hero-heading {
  margin: 0;
}
.hero-copy .home-hero-paragraph {
  margin: 24px 0 0;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 44px;
}
@media (min-width: 768px) {
  .hero-copy .home-hero-paragraph {
    margin-top: 28px;
  }
  .hero-actions {
    margin-top: 52px;
  }
}

/* Aire de la sección hero (las utilidades pt-[60px]/pb-[70px] del markup
   no están en el CSS compilado del tema) */
.hero-section {
  padding-top: 56px;
  padding-bottom: 64px;
}
@media (min-width: 768px) {
  .hero-section {
    padding-top: 72px;
    padding-bottom: 88px;
  }
}
@media (min-width: 1024px) {
  .hero-section {
    padding-top: 90px;
    padding-bottom: 100px;
  }
}
/* En móvil, los dos botones del hero al mismo ancho */
@media (max-width: 575px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }
}

/* Compensación de la barra de navegación fija: debe medir exactamente lo
   mismo que .navbar-inner o el contenido queda por debajo de la barra. */
.navbar-spacer {
  height: 70px;
}
@media (min-width: 768px) {
  .navbar-spacer {
    height: 100px;
  }
}

/* =====================================================
   Carrusel de casos de éxito (estilo Taskbes)
   ===================================================== */
.success-carousel-wrapper {
  position: relative;
}
.success-carousel {
  width: 100%;
  overflow: hidden;
}
.success-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.success-card-taskbes {
  flex: 0 0 calc(100vw - 60px);
  max-width: 420px;
}
@media (min-width: 768px) {
  .success-card-taskbes {
    flex: 0 0 420px;
  }
}
.success-card-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  background: var(--ops-white);
  border: 1px solid var(--ops-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 8px 8px 0 0 rgba(81, 94, 108, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.success-card-taskbes:hover .success-card-inner {
  transform: translate(-5px, -5px);
  box-shadow: 13px 13px 0 0 rgba(255, 48, 78, 0.18);
  border-color: rgba(255, 48, 78, 0.25);
}
.success-card-tag-taskbes {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ops-red);
  background: rgba(255, 48, 78, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
}
.success-card-title-taskbes {
  font-family: "Noto Sans", "Open Sans", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ops-text);
  margin: 0;
  line-height: 1.3;
}
.success-card-text-taskbes {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ops-text-light);
  margin: 0;
  flex-grow: 1;
}
.success-card-metrics-taskbes {
  display: flex;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--ops-border);
}
.success-card-metrics-taskbes div {
  display: flex;
  flex-direction: column;
}
.success-card-metrics-taskbes strong {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ops-red);
  line-height: 1.1;
}
.success-card-metrics-taskbes span {
  font-size: 0.85rem;
  color: var(--ops-text-light);
  margin-top: 5px;
}
.success-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.success-prev-taskbes,
.success-next-taskbes {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid var(--ops-border);
  background: var(--ops-white);
  color: var(--ops-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.success-prev-taskbes:hover,
.success-next-taskbes:hover {
  background: var(--ops-red);
  border-color: var(--ops-red);
  color: var(--ops-white);
}
.success-prev-taskbes svg,
.success-next-taskbes svg {
  width: 22px;
  height: 22px;
}

/* =====================================================
   Contadores animados
   ===================================================== */
[data-count] {
  font-variant-numeric: tabular-nums;
}

/* =====================================================
   Carrusel de logos (marquee infinito)
   Dos pistas idénticas en fila; cada una se desplaza -100%
   de su propio ancho, así al salir la primera la segunda
   ya está en su sitio y el bucle no tiene costura.
   ===================================================== */
/* usa el mismo lila que el resto de secciones alternas (--ops-alt) */
.ops-logos-section {
  padding: 46px 0;
}
.ops-logos-heading {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: var(--ops-ink);
}
.ops-logos-marquee {
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 34px;
  /* difumina los extremos para que los logos entren y salgan sin cortarse */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.ops-logos-track {
  display: flex;
  flex: none;
  align-items: center;
  will-change: transform;
  animation: opsLogoMarquee 34s linear infinite;
}
.ops-logos-marquee:hover .ops-logos-track {
  animation-play-state: paused;
}
.ops-logo-item {
  flex: none;
  padding-right: 60px;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  color: rgba(17, 17, 17, 0.7);
  transition: color 0.25s ease;
}
.ops-logo-item:hover {
  color: #111;
}
@keyframes opsLogoMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@media (max-width: 991px) {
  .ops-logos-heading { font-size: 23px; }
  .ops-logo-item { padding-right: 48px; font-size: 18px; }
}
@media (max-width: 767px) {
  .ops-logos-section { padding: 36px 0; }
  .ops-logos-heading { font-size: 20px; }
  .ops-logo-item { padding-right: 38px; font-size: 16px; }
}

/* =====================================================
   Mockups de la interfaz de Odoo en el hero
   Sustituyen a las capturas PNG: vectoriales, nítidos a
   cualquier tamaño y con el encuadre bajo control.
   ===================================================== */
.odoo-mock {
  --odoo-purple: #714b67;
  --odoo-green: #28a745;
  --odoo-amber: #f0ad4e;
  overflow: hidden;
  padding: 0;
  font-size: 11px;
  line-height: 1.35;
  text-align: left;
  color: var(--ops-text);
  background: var(--ops-white);
  border-color: #e1e1e1;
}
.om-shell {
  display: flex;
  align-items: stretch;
}
/* Odoo 19 cambió la barra horizontal superior por una lateral vertical
   colapsable: es el rasgo que delata la versión de un vistazo */
.om-side {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 26px;
  padding: 7px 0;
  background: var(--odoo-purple);
}
.om-side-logo {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: #fff;
  opacity: 0.95;
}
.om-side-ico {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.32);
}
.om-side-on {
  background: #fff;
  opacity: 0.9;
}
.om-side-user {
  width: 12px;
  height: 12px;
  margin-top: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
.om-main {
  flex: 1;
  min-width: 0;
}
/* control panel: fondo claro, no morado, como en 19 */
.om-cp {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 9px;
  border-bottom: 1px solid #e1e1e1;
  background: #fff;
}
.om-app {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #111;
}
.om-crumb {
  overflow: hidden;
  font-size: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(17, 17, 17, 0.55);
}
.om-new {
  margin-left: auto;
  padding: 1px 7px;
  font-size: 9px;
  font-weight: 600;
  border-radius: 4px;
  color: #fff;
  background: var(--odoo-purple);
}
.om-body {
  padding: 10px;
}
.om-kanban {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f4f5f7;
}
.om-col-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #111;
}
.om-progress {
  height: 3px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ops-gray-light);
}
.om-progress i {
  display: block;
  height: 100%;
  background: var(--odoo-amber);
}
.om-progress i.om-ok {
  background: var(--odoo-green);
}
.om-card {
  padding: 7px 8px;
  margin-bottom: 6px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(54, 60, 79, 0.06);
}
.om-card:last-child {
  margin-bottom: 0;
}
.om-card-title {
  font-size: 11px;
  font-weight: 600;
  color: #111;
}
.om-card-sub {
  font-size: 10px;
  color: var(--ops-text-light);
}
.om-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}
.om-tag {
  padding: 1px 6px;
  font-size: 9px;
  border-radius: 8px;
}
.om-tag-v { background: #ecd9f2; color: #6b3f7a; }
.om-tag-b { background: #d5e8f3; color: #1a5f80; }
.om-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.om-stars {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--odoo-amber);
}
.om-chip {
  padding: 0 4px;
  font-size: 9px;
  border: 1px solid var(--odoo-green);
  border-radius: 3px;
  color: var(--odoo-green);
}
.om-chip-warn {
  border-color: var(--odoo-amber);
  color: #b8801a;
}
.om-avatar {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--odoo-purple), #a87c9c);
}
/* contabilidad */
.om-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.om-kpi {
  display: flex;
  flex-direction: column;
  padding: 7px 8px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
}
.om-kpi span {
  font-size: 9px;
  color: var(--ops-text-light);
}
.om-kpi b {
  font-size: 13px;
  color: #111;
}
.om-kpi b.om-warn {
  color: #b8801a;
}
.om-spark {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 46px;
  margin-top: 10px;
}
.om-spark i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--odoo-purple), #a87c9c);
  opacity: 0.75;
}
/* CRM */
.om-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #e1e1e1;
}
.om-row:last-child {
  border-bottom: 0;
}
.om-amount {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--odoo-green);
}
/* tareas */
.om-list .om-task {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #e1e1e1;
}
.om-list .om-task:last-child {
  border-bottom: 0;
}
.om-check {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  font-size: 9px;
  line-height: 1;
  color: transparent;
  border: 1px solid #c9c9c9;
  border-radius: 3px;
}
.om-check-done {
  color: #fff;
  border-color: var(--odoo-green);
  background: var(--odoo-green);
}
.om-task-name {
  flex: 1;
  overflow: hidden;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #111;
}
.om-list .om-task:has(.om-check-done) .om-task-name {
  color: var(--ops-text-light);
  text-decoration: line-through;
}

/* flotación suave, desfasada para que no vayan a la vez */
.odoo-float-a { animation: odooFloat 7s ease-in-out infinite; }
.odoo-float-b { animation: odooFloat 8.5s ease-in-out 0.6s infinite; }
.odoo-float-c { animation: odooFloat 7.8s ease-in-out 0.3s infinite reverse; }
.odoo-float-d { animation: odooFloat 9s ease-in-out 0.9s infinite reverse; }
@keyframes odooFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
/* el hover heredado movía la tarjeta y peleaba con la animación:
   aquí solo pausamos y realzamos la sombra */
.hero-grid-img.odoo-mock:hover {
  transform: none;
  animation-play-state: paused;
}

/* sin esto, el contenido de las tarjetas fija un min-content mayor que el
   viewport y empuja el ancho de toda la página en móvil */
.hero-image-grid-col,
.odoo-mock,
.om-col,
.om-row-main {
  min-width: 0;
}
/* partir en varias líneas en vez de recortar: en las columnas estrechas del
   kanban un título como "Instalación eléctrica" no cabe en una sola */
.om-card-title,
.om-card-sub,
.om-row-main {
  overflow-wrap: anywhere;
}

@media (max-width: 575px) {
  .hero-image-grid {
    grid-template-columns: 1fr;
  }
  .hero-image-grid-col-offset {
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ops-logos-track,
  .odoo-float-a,
  .odoo-float-b,
  .odoo-float-c,
  .odoo-float-d {
    animation: none;
  }
}


/* =====================================================
   Subrayado a mano del titular (copiado de ghost.openerpspain.com)
   Trazo amarillo #F3CC49 como SVG de fondo bajo la palabra.
   ===================================================== */
.heading-shape{background-image:url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20width='176'%20height='21'%20viewBox='0%200%20176%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.51018%2012.3486C8.45222%209.98599%2013.8122%208.39647%2019.1666%206.99661C22.0059%206.25432%2030.8156%203.83453%2026.3613%208.93608C25.8837%209.48305%2019.8936%2015.8947%2020.9041%2015.8927C27.4011%2015.8797%2033.1055%2011.521%2038.4599%208.72446C41.9793%206.88627%2039.475%208.16445%2037.9037%209.93958C35.792%2012.3253%2035.7231%2013.7297%2039.5666%2013.8498C48.344%2014.1239%2057.2343%2010.427%2065.1083%207.25245C67.0306%206.47744%2071.476%203.28787%2070.9886%205.18544C70.5613%206.84861%2068.8503%208.04465%2068.4829%209.82283C67.6129%2014.0337%2074.194%2013.787%2076.92%2013.4623C84.0142%2012.6172%2089.2594%208.4423%2095.6109%205.9008C98.821%204.61633%2096.6807%205.9586%2096.5099%207.53648C95.8878%2013.2835%20116.195%2010.032%20118.702%209.56919C123.551%208.67357%20128.401%207.61811%20133.193%206.48503C134.577%206.15775%20136.395%205.70695%20137.783%205.18152C138.113%205.05654%20138.931%204.84064%20138.664%204.61958C137.781%203.88919%20133.162%209.82268%20132.693%2010.5152C129.616%2015.0628%20140.416%2013.6592%20142.193%2013.3037C154.51%2011.1966%20157.997%2010.8159%20172.345%206.6623'%20stroke='%23F3CC49'%20stroke-width='7'%20stroke-linecap='round'/%3e%3c/svg%3e");background-position:50% 100%;background-repeat:no-repeat;background-size:100%;padding-bottom:8px}


/* El SVG del subrayado se escala con el ancho del span: en un texto largo
   como "Soberanía digital" crecía tanto que tachaba el texto. Fijamos su
   altura en em para que acompañe al tamaño de fuente, no al ancho. */
.heading-shape {
  background-size: 100% 0.16em;
  background-position: 50% 100%;
  padding-bottom: 0.06em;
}

/* =====================================================
   Sticky navbar: barra siempre visible al hacer scroll.
   Antes el <header> era position:fixed (clases Tailwind
   .fixed .top-0 .left-0 .right-0 .z-[999]) con un
   .navbar-spacer de 70/100px compensando su altura. Pasar
   a sticky la deja en el flujo y pegada arriba al scroll;
   el selector header.navbar (especificidad 0,1,1) pisa al
   .fixed de Tailwind (0,1,0). El spacer ya no pinta nada.
   ===================================================== */
header.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  left: auto;
  right: auto;
}
.navbar-spacer {
  display: none;
}

/* Puente hover del submenú: cierra el hueco de 12px (margin-top) entre el
   item y el desplegable para que no se oculte al bajar el ratón.
   El ::before es transparente, solo extiende el área hovereable del
   dropdown (descendiente de .has-children) hacia arriba. */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* =====================================================
   Fixes gscan (Koenig editor + fuentes Ghost)
   ===================================================== */

/* Imágenes wide/full del editor Koenig: requerido por gscan
   para que no queden sin estilo. */
.kg-width-wide {
  width: min(100vw, 1280px);
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}
.kg-width-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}
.kg-width-full figcaption {
  margin-left: auto;
  margin-right: auto;
  max-width: 1095px;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Variables de fuente de Ghost (gscan warning): dejan que el editor
   tipográfico del tema las use. Por defecto, las del tema. */
:root {
  --gh-font-heading: "Noto Sans", system-ui, sans-serif;
  --gh-font-body: "Open Sans", system-ui, sans-serif;
}
