/* ==========================================================================
   FASEL SYSTEMS - AJUSTES DE ESPACIADO Y MENÚ SUPERIOR (DESKTOP)
   ========================================================================== */

/* 1. Ocultar totalmente cualquier elemento vacío de menú */
.sp-megamenu-parent > li:empty {
  display: none !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* 2. Distribución equilibrada de los menús divididos */
#sp-header #sp-menu .sp-megamenu-wrapper > ul,
#sp-header #sp-menu2 .sp-megamenu-wrapper > ul {
  display: flex !important;
  align-items: stretch;
  width: 100% !important;
  margin-bottom: 0 !important;
}

#sp-header #sp-menu .sp-megamenu-wrapper > ul > li,
#sp-header #sp-menu2 .sp-megamenu-wrapper > ul > li {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  text-align: center !important;
}

/* 3. Padding horizontal optimizado y letter-spacing para evitar desbordamientos */
#sp-header #sp-menu .sp-megamenu-wrapper > ul > li > a,
#sp-header #sp-menu2 .sp-megamenu-wrapper > ul > li > a {
  padding: 0 10px !important;
  letter-spacing: 1.5px !important;
  font-size: 13.5px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* 4. Separadores entre items */
#sp-header #sp-menu .sp-megamenu-wrapper > ul > li:not(:last-child) > a,
#sp-header #sp-menu2 .sp-megamenu-wrapper > ul > li:not(:last-child) > a {
  border-right: solid 1px rgba(255, 255, 255, 0.7) !important;
}

#sp-header #sp-menu .sp-megamenu-wrapper > ul > li:last-child > a,
#sp-header #sp-menu2 .sp-megamenu-wrapper > ul > li:last-child > a {
  border-right: none !important;
}

/* 5. Flecha desplegable compacta */
body.ltr #sp-header .sp-megamenu-parent > li.sp-has-child > a:after {
  margin-left: 5px !important;
  font-size: 11px !important;
}

/* 6. Subtítulo 'by Fasel' matemáticamente centrado bajo 'Griesser' */
body .header-wrapper #sp-header .sp-top1-wrapper #sp-menu .sp-megamenu-parent .sp-menu-item .by-fasel::after {
  content: "by Fasel" !important;
  font-size: 9.5px !important;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: 32px !important;
  line-height: 1.3em !important;
  white-space: nowrap !important;
}

/* 7. Modo pantallas medianas / portátiles compactos (992px a 1199px) */
@media only screen and (max-width: 1199px) {
  #sp-header #sp-menu .sp-megamenu-wrapper > ul > li > a,
  #sp-header #sp-menu2 .sp-megamenu-wrapper > ul > li > a {
    padding: 0 6px !important;
    letter-spacing: 0.8px !important;
    font-size: 12px !important;
  }

  body .header-wrapper #sp-header .sp-top1-wrapper #sp-menu .sp-megamenu-parent .sp-menu-item .by-fasel::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 8.5px !important;
  }
}


/* [BEGIN:fasel-extended-styles] */
/* Descripción: Estilos completos para tablas comparativas, grids, badges y CTAs B2B */
.fasel-geo-badge {
    display: inline-block;
    background: rgba(0, 98, 133, 0.08);
    color: #006285;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.fasel-geo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}
.fasel-geo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #006285;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}
.fasel-geo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}
.fasel-geo-card h3 {
    font-size: 18.5px;
    font-weight: 700;
    color: #004b66;
    margin: 0 0 10px 0;
    line-height: 1.35;
}
.fasel-geo-card h4 {
    font-size: 16.5px;
    font-weight: 700;
    color: #004b66;
    margin: 0 0 8px 0;
    line-height: 1.35;
}
.fasel-geo-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0 0 10px 0;
}
.fasel-geo-card p:last-child {
    margin-bottom: 0;
}
.fasel-geo-card a {
    color: #006285;
    font-weight: 600;
    text-decoration: underline;
}
.fasel-geo-table-wrap {
    overflow-x: auto;
    margin-bottom: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.fasel-spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 14.5px;
    line-height: 1.5;
    text-align: left;
}
.fasel-spec-table thead th {
    background: #006285;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: 2px solid #004b66;
    white-space: nowrap;
}
.fasel-spec-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    color: #2d3748;
    vertical-align: top;
}
.fasel-spec-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}
.fasel-spec-table tbody tr:hover td {
    background: #edf6fa;
}
.fasel-spec-table td strong {
    color: #1a202c;
}
.fasel-spec-table td.fasel-highlight-col {
    background: #f0fdf4 !important;
    border-left: 2px solid #86efac;
    border-right: 2px solid #86efac;
}
.fasel-spec-table th.fasel-highlight-th {
    background: #166534 !important;
    border-bottom-color: #14532d !important;
}
.fasel-spec-table a {
    color: #006285;
    font-weight: 700;
    text-decoration: none;
}
.fasel-spec-table a:hover {
    text-decoration: underline;
}
.fasel-cta-banner {
    background: linear-gradient(135deg, #004b66 0%, #006285 100%);
    border-radius: 12px;
    padding: 42px 28px;
    text-align: center;
    color: #ffffff;
    margin-top: 45px;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(0, 98, 133, 0.2);
}
.fasel-cta-banner h2 {
    color: #ffffff !important;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 12px 0;
}
.fasel-cta-banner p {
    color: #e2e8f0;
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 780px;
    margin: 0 auto 24px auto;
}
.fasel-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.fasel-btn-cta-primary {
    background: #00D3A7;
    color: #004b66 !important;
    font-weight: 700;
    font-size: 14.5px;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.fasel-btn-cta-primary:hover {
    background: #5eead4;
    transform: translateY(-2px);
    color: #004b66 !important;
}
.fasel-btn-cta-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14.5px;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.fasel-btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff !important;
}
@media (max-width: 767px) {
    .fasel-geo-grid {
        grid-template-columns: 1fr;
    }
    .fasel-spec-table {
        font-size: 13px;
    }
    .fasel-spec-table thead th,
    .fasel-spec-table tbody td {
        padding: 10px 12px;
    }
    .fasel-cta-banner {
        padding: 28px 18px;
    }
    .fasel-cta-banner h2 {
        font-size: 22px;
    }
}
/* [END:fasel-extended-styles] */
