@charset "UTF-8";
/* ==========================================================================
   CARRASCO ASESORES - HOJA DE ESTILOS PRINCIPAL (proyecto.scss)
   ========================================================================== 

   ÍNDICE DE CONTENIDOS

   1. VARIABLES Y TOKENS DE DISEÑO
      1.1 Colores
      1.2 Tipografías
      1.3 Espaciados y Medidas
      1.4 Breakpoints (Media Queries)
      1.5 Sombras y Bordes

   2. RESET Y NORMALIZACIÓN
      2.1 Box Sizing & Reset Básico

   3. ESTILOS BASE (BASE)
      3.1 Body y HTML
      3.2 Tipografía Global (h1-h6, p, a)
      3.3 Imágenes y Medios

   4. ESTRUCTURA (LAYOUT)
      4.1 Contenedores Principales
      4.2 Cabecera (Header & Navegación)
      4.3 Pie de Página (Footer)

   5. COMPONENTES GLOBALES (UI)
      5.1 Botones y CTAs
      5.2 Formularios e Inputs
      5.3 Tarjetas (Cards)
      5.4 Etiquetas y Badges
      5.5 Migas de Pan (Breadcrumbs)
      5.6 Acordeones y FAQs

   6. SECCIONES Y BLOQUES COMUNES
      6.1 Hero (Cabecera de página)
      6.2 Bloques de Servicios
      6.3 Prueba Social (Testimonios, Logos)
      6.4 Bloques de Texto y Artículos
      6.5 Llamadas a la Acción (Banners CTA)

   7. PÁGINAS ESPECÍFICAS
      7.1 Inicio
      7.2 Empresas
      7.3 Autónomos
      7.4 Particulares
      7.5 Centro de Ayuda (Blog/Artículos)
      7.6 Sobre Tomás
      7.7 Contacto

   8. ANIMACIONES Y MICROINTERACCIONES
      8.1 Transiciones Hover
      8.2 Animaciones de Entrada

   9. UTILIDADES Y CLASES AUXILIARES (HELPERS)
      9.1 Márgenes y Paddings
      9.2 Visibilidad
      9.3 Alineación y Textos
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. VARIABLES Y TOKENS DE DISEÑO
   -------------------------------------------------------------------------- */
:root {
  /* 1.1 Colores */
  --color-primary: #022763; /* Azul Corporativo - Confianza y Experiencia */
  --color-primary-light: #0d3b85;
  --color-primary-dark: #01163b;
  --color-secondary: #f4f6f9; /* Fondo muy suave - Claridad y Orden */
  --color-accent: #e6b054; /* Tono de contraste (ejemplo para CTAs), ajustable */
  --color-text-main: #2b303a; /* Texto oscuro, no negro puro para mejor lectura */
  --color-text-muted: #6c757d; /* Textos secundarios */
  --color-white: #ffffff;
  --color-border: #e2e8f0;

  /* 1.2 Tipografías */
  --font-family-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-family-serif: "Merriweather", serif; /* Opcional para toques elegantes */
  /* 1.3 Espaciados y Medidas */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  /* 1.5 Sombras */
  --shadow-sm: 0 2px 4px rgba(2, 39, 99, 0.05);
  --shadow-md: 0 4px 12px rgba(2, 39, 99, 0.08);
  --shadow-lg: 0 12px 24px rgba(2, 39, 99, 0.12);
  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  /* -----------------------------------------
     OVERRIDES DE COLORES DEL TEMA GUDFIN 
     ----------------------------------------- */
  --pbmit-global-color: var(--color-primary); /* Azul corporativo para los detalles principales */
  --pbmit-global-color-rgb: 2, 39, 99;
  --pbmit-secondary-color: var(--color-primary-dark); /* Azul muy oscuro para los fondos (pie de página, etc) */
  --pbmit-secondary-color-rgb: 1, 22, 59;
  --pbmit-blackish-color: var(--color-primary-dark);
  --pbmit-blackish-color-rgb: 1, 22, 59;
  --pbmit-link-color-normal: var(--color-primary-dark);
  --pbmit-link-color-hover: var(--color-accent); /* Dejamos el dorado solo para detalles al pasar el ratón o pequeñas pinceladas */
  --pbmit-heading-color: var(--color-primary-dark);
}

/* 1.4 Breakpoints (Uso con Sass variables) */
/* --------------------------------------------------------------------------
   2. RESET Y NORMALIZACIÓN
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   3. ESTILOS BASE (BASE)
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font-family-sans);
  color: var(--color-text-main);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   4. ESTRUCTURA (LAYOUT)
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Cabecera / Navegación */
.pbmit-title-bar-wrapper {
  min-height: 380px !important;
}

.pbmit-title-bar-content {
  min-height: 380px !important;
  position: relative;
  z-index: 2;
}

.pbmit-title-bar-wrapper {
  position: relative;
  background-image: url('../images/cabecera-demo.png');
  background-size: cover;
  background-position: center;
}

.pbmit-title-bar-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary-dark);
  opacity: var(--opacidad-cabecera, 0.6);
  z-index: 1;
}

.pbmit-tbar-title {
  font-size: 55px !important;
  line-height: 60px !important;
}

/* Pie de página */
.site-footer .pbmit-custom-subtitle h1,
.site-footer .pbmit-custom-title h2,
.site-footer .pbmit-element-title,
.site-footer .pbmit-heading-desc,
.site-footer .pbmit-heading-desc a {
  color: var(--color-white) !important;
}
.site-footer .pbmit-global-color {
  color: var(--color-accent) !important;
}
.site-footer .pbmit-footer-widget-area .row {
  justify-content: space-between;
}

/* Botón WhatsApp Flotante */
.btn-whatsapp-flotante {
    position: fixed;
    bottom: 90px;
    right: 30px; /* Lo situamos a la derecha, por encima del botón de subir arriba */
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}
.btn-whatsapp-flotante:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.05);
}
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
.site-footer .menu li a:hover,
.site-footer .pbmit-heading-desc a:hover {
  color: var(--color-accent) !important;
  text-decoration: underline;
}
   5. COMPONENTES GLOBALES (UI)
   -------------------------------------------------------------------------- */
/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
}

/* Formularios */
/* --------------------------------------------------------------------------
   6. SECCIONES Y BLOQUES COMUNES
   -------------------------------------------------------------------------- */
/* Hero Section */
.hero-section {
  /* ... */
}

/* Bloques de Servicios */
/* Prueba Social (Testimonios) */
/* --------------------------------------------------------------------------
   7. PÁGINAS ESPECÍFICAS
   -------------------------------------------------------------------------- */
/* 7.1 Inicio */
/* 7.2 Empresas */
/* 7.3 Autónomos */
/* 7.4 Particulares */
/* 7.5 Centro de Ayuda */
/* 7.6 Sobre Tomás */
/* 7.7 Contacto */

.premium-contact-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.premium-contact-card .pbmit-ihbox-style-11 {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.premium-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}
.premium-contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}
.premium-contact-card:hover::before {
  transform: scaleX(1);
}
.premium-contact-card:hover .pbmit-ihbox-icon .pbmit-ihbox-icon-wrapper {
  background-color: var(--color-accent) !important;
  transform: scale(1.1);
}
.premium-contact-card:hover .pbmit-ihbox-icon .pbmit-ihbox-icon-wrapper i,
.premium-contact-card:hover .pbmit-ihbox-icon .pbmit-ihbox-icon-wrapper svg {
  color: #fff;
}
.premium-contact-card:hover .pbmit-ihbox-icon .pbmit-ihbox-icon-wrapper svg:not(.feather) path,
.premium-contact-card:hover .pbmit-ihbox-icon .pbmit-ihbox-icon-wrapper svg:not(.feather) g {
  fill: #fff !important;
}
.premium-contact-card:hover .pbmit-ihbox-icon .pbmit-ihbox-icon-wrapper svg.feather,
.premium-contact-card:hover .pbmit-ihbox-icon .pbmit-ihbox-icon-wrapper svg.feather path,
.premium-contact-card:hover .pbmit-ihbox-icon .pbmit-ihbox-icon-wrapper svg.feather circle,
.premium-contact-card:hover .pbmit-ihbox-icon .pbmit-ihbox-icon-wrapper svg.feather polyline,
.premium-contact-card:hover .pbmit-ihbox-icon .pbmit-ihbox-icon-wrapper svg.feather rect {
  stroke: #fff !important;
  fill: none !important;
}
.premium-contact-card .pbmit-ihbox-box {
  text-align: left;
}
.premium-contact-card .pbmit-ihbox-icon .pbmit-ihbox-icon-wrapper {
  width: 70px !important;
  height: 70px !important;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.04);
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  transition: all var(--transition-fast);
  margin: 0 auto;
}
.premium-contact-card .pbmit-ihbox-icon i,
.premium-contact-card .pbmit-ihbox-icon svg {
  color: var(--color-primary);
  transition: all var(--transition-fast);
  display: block;
}
.premium-contact-card .pbmit-ihbox-icon i {
  font-size: 32px;
  line-height: 1;
}
.premium-contact-card .pbmit-ihbox-icon svg {
  width: 32px !important;
  height: 32px !important;
  fill: currentColor;
}
.premium-contact-card .pbmit-ihbox-icon svg path,
.premium-contact-card .pbmit-ihbox-icon svg g {
  fill: currentColor !important;
}
.premium-contact-card .pbmit-element-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
}
.premium-contact-card .pbmit-heading-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}
.premium-contact-card .pbmit-ihbox-btn {
  margin-top: auto;
}
.premium-contact-card .pbmit-ihbox-btn .pbmit-button-render span {
  white-space: nowrap !important;
  font-size: 0.85rem !important;
}

.mapa-contacto #map {
  height: 450px;
  width: 100%;
  z-index: 1;
}

.mapa-contacto .leaflet-layer,
.mapa-contacto .leaflet-control-zoom-pane,
.mapa-contacto .leaflet-control-attribution {
  filter: grayscale(100%) contrast(1.1) brightness(0.9);
}

.mapa-contacto .custom-leaflet-marker {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mapa-contacto .custom-leaflet-marker .marker-pin {
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 0;
  background: var(--color-primary);
  position: absolute;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -20px;
  box-shadow: 0 4px 12px rgba(2, 39, 99, 0.4);
}

.mapa-contacto .custom-leaflet-marker .marker-pin::after {
  content: '';
  width: 28px;
  height: 28px;
  margin: 6px 0 0 6px;
  background: var(--color-white);
  position: absolute;
  border-radius: 50%;
}

.mapa-contacto .custom-leaflet-marker i {
  position: absolute;
  font-size: 16px;
  color: var(--color-primary);
  z-index: 1;
  transform: translateY(-2px);
}
/* --------------------------------------------------------------------------
   8. ANIMACIONES Y MICROINTERACCIONES
   -------------------------------------------------------------------------- */
/* Hover effects, fade-ins, etc. */
/* --------------------------------------------------------------------------
   9. UTILIDADES Y CLASES AUXILIARES (HELPERS)
   -------------------------------------------------------------------------- */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: var(--spacing-sm);
}

.mt-2 {
  margin-top: var(--spacing-md);
}

/* ... */

/* Elemento Activo del Menú Principal */
#pbmit-top-menu > li.active > a,
#pbmit-top-menu > li.current-menu-item > a {
    color: var(--color-accent) !important;
}

/* Ocultar flecha gigante de fondo en el pie */
.pbmit-footer-style-1::before {
    background-image: none !important;
}

/*# sourceMappingURL=proyecto.css.map */

/* Estilo Premium para Subtitulos */
.pbmit-heading-subheading .pbmit-subtitle {
  border-radius: 30px !important;
  padding: 6px 20px !important;
  letter-spacing: 2px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--color-primary) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

/* Fondo de la sección de contacto */
.contact-us-section {
  position: relative;
  z-index: 10;
}
.contact-us-section::before {
  background-image: url("../images/bg/abstract-huelva.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 0.25 !important;
}

/* Marquesina de servicios Premium */
.premium-services-marquee {
  background: #fff;
  border-radius: 50px;
  padding: 20px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.premium-services-marquee .marquee-content {
  display: inline-block;
  animation: scroll-marquee 30s linear infinite;
}
.premium-services-marquee .marquee-content span {
  font-family: var(--pbmit-heading-typography-font-family);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  vertical-align: middle;
}
.premium-services-marquee .marquee-content .dot {
  color: var(--color-accent);
  margin: 0 25px;
  font-size: 15px;
  vertical-align: middle;
}
.premium-services-marquee:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Sobrescribir colores de Bootstrap */
.text-primary {
  color: var(--color-primary-dark) !important;
}

/* Quitar capitalización forzada de los botones del tema */
.pbmit-btn {
  text-transform: none !important;
}

/* Utilidad para justificar textos (sin depender de Bootstrap 5) */
.texto-justificado {
  text-align: justify;
}

/* Estilos personalizados para las respuestas FAQ */
.faq-respuesta {
  text-align: justify;
  color: var(--pbmit-text-color);
}
.faq-respuesta p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.faq-respuesta p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Utilidades del Centro de Ayuda (Sustitución de Estilos en Línea)
   ========================================================================== */
.no-wrap-text {
    white-space: nowrap !important;
}

.hover-card-custom {
    transition: all 0.3s ease;
}

.text-muted-custom-size {
    font-size: 0.95rem;
}

.cta-banner-container {
    position: relative;
    overflow: hidden;
}

.cta-banner-bg-circle {
    position: absolute;
    right: -5%;
    top: -20%;
    width: 300px;
    height: 300px;
    background: var(--color-primary-light);
    opacity: 0.03;
    border-radius: 50%;
}

.cta-banner-text {
    max-width: 600px;
}

/* ==========================================================================
   Sección Introducción de Categoría (Fiscal y Contable)
   ========================================================================== */
.intro-category-section {
    overflow: hidden;
}

.intro-category-img {
    object-fit: cover;
    max-height: 500px;
}

.intro-category-badge {
    bottom: 30px;
    left: -30px;
    animation: float-badge 3s ease-in-out infinite;
}

.intro-category-icon-bg {
    width: 48px;
    height: 48px;
}

@keyframes float-badge {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================================================
   Acordeones Nativos para SEO (Preguntas Frecuentes de Categoría)
   ========================================================================== */
.seo-faq-item summary {
    cursor: pointer;
    list-style: none;
}

.seo-faq-item summary::-webkit-details-marker {
    display: none;
}

.seo-faq-item[open] .seo-faq-question {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom: 1px solid transparent !important;
}

.seo-faq-item[open] .seo-faq-icon {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.seo-faq-icon {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.seo-faq-answer {
    animation: fadeInDown 0.3s ease-in-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clases específicas para About Us */
.icon-corporate {
    color: #0056b3 !important;
}

.icon-corporate svg {
    stroke: #0056b3 !important;
}

.img-gestor-about {
    mix-blend-mode: darken;
    object-fit: cover;
    object-position: bottom center;
    max-height: 550px;
}

/* ==========================================================================
   Accesibilidad y Diseño: Subtítulos en forma de píldora
   ========================================================================== */
.pbmit-heading-subheading .pbmit-subtitle {
  border-radius: 30px !important;
  padding: 6px 20px !important;
  letter-spacing: 2px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--color-primary) !important;
  background-color: var(--color-white) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  display: inline-block;
}

/* ==========================================================================
   Accesibilidad (WCAG): Contraste en Números de "Los 3 Pilares"
   ========================================================================== */
.pbmit-bg-color-secondary .pbmit-element-static-box-style-2 .pbmit-box-number {
  color: rgba(255, 255, 255, 0.7) !important;
}

.pbmit-bg-color-secondary .pbmit-element-static-box-style-2 .pbmit-active .pbmit-box-number {
  color: var(--color-accent) !important;
}

/* ==========================================================================
   Accesibilidad y Diseño: Marquesina (Marquee)
   ========================================================================== */
.pbmit-marquee-effect-style-1 .pbmit-element-title {
  color: var(--color-white) !important;
}

/* ==========================================================================
   Diseño: Degradado de fondo para la sección "Nuestra Filosofía" (Pilares)
   ========================================================================== */
.our-process-section-one.pbmit-bg-color-secondary {
  background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-primary-dark) 30%) !important;
}

/* ==========================================================================
   Diseño: Degradado de fondo inverso para la sección "Trayectoria"
   ========================================================================== */
.history-section.pbmit-bg-color-secondary {
  background: linear-gradient(to bottom, var(--color-primary-dark) 40%, var(--color-primary) 100%) !important;
}

/* Reubicar y separar los botones del carrusel en la sección de trayectoria */
.history-section .swiper-button-prev {
  left: 15px;
  right: auto;
  margin-top: 25px;
}
.history-section .swiper-button-next {
  right: 15px;
  margin-top: 25px;
}

/* ==========================================================================
   Diseño: Efectos y colores corporativos para Metodología
   ========================================================================== */
.metodologia-step-icon {
  width: 80px;
  height: 80px;
  font-size: 24px;
  font-weight: bold;
  border: 2px solid var(--color-primary);
  background-color: #ffffff;
  color: var(--color-primary);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
  cursor: default;
}

.metodologia-step-icon.active {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 51, 102, 0.2) !important;
}

.metodologia-step:hover .metodologia-step-icon {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 51, 102, 0.3) !important;
}

.metodologia-step {
  transition: transform 0.3s ease;
}

.metodologia-line {
  background-color: rgba(0, 51, 102, 0.15) !important;
}

/* ==========================================================================
   Botones en tarjetas blancas dentro de secciones secundarias
   ========================================================================== */
.pbmit-bg-color-secondary .bg-white .pbmit-btn {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
}
.pbmit-bg-color-secondary .bg-white .pbmit-btn .pbmit-button-text span {
  color: #ffffff !important;
}
.pbmit-bg-color-secondary .bg-white .pbmit-btn:hover {
  background-color: var(--color-primary-dark) !important;
}
.pbmit-bg-color-secondary .bg-white .pbmit-btn .pbmit-button-text span:after {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}
.pbmit-bg-color-secondary .bg-white .pbmit-btn:hover .pbmit-button-text span:after {
  background-color: #ffffff !important;
  color: var(--color-primary-dark) !important;
}

/* ==========================================================================
   Alineación de las líneas verticales del timeline
   ========================================================================== */
.history-section .pbmit-element-timeline-style-1 .steps-dot .dot::after {
  transform: none !important;
  left: 50% !important;
  margin-left: -0.5px !important;
  background-color: var(--pbmit-white-color) !important;
  opacity: 0.5 !important;
}

/* Slides impares (Normales): el texto está abajo. La línea debe apuntar hacia abajo. */
.history-section .pbmit-element-timeline-style-1 .pbmit-timeline-wrapper:not(.pbmit-slide-even) .steps-dot .dot::after {
  top: 100% !important;
  bottom: auto !important;
  height: 35px !important;
}

/* Slides pares (.pbmit-slide-even): el texto está arriba. La línea debe apuntar hacia arriba. */
.history-section .pbmit-element-timeline-style-1 .pbmit-timeline-wrapper.pbmit-slide-even .steps-dot .dot::after {
  bottom: 100% !important;
  top: auto !important;
  height: 35px !important;
}

/* ==========================================================================
   Fix para Acordeón FAQ (Fondo blanco y separación sin romper JS)
   ========================================================================== */
.accordion.style-3 .accordion-item {
  background-color: #ffffff !important;
  margin-bottom: 1rem !important;
  border-radius: 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
}
.accordion.style-3 .accordion-item .accordion-button {
  background-color: transparent !important;
}

/* ==========================================================================
   Tarjetas de Servicios (Style 1) - Unificar imágenes
   ========================================================================== */
.pbmit-service-style-1 .pbmit-featured-wrapper {
  border-radius: 20px;
  overflow: hidden;
}
.pbmit-service-style-1 .pbmit-featured-wrapper img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}
.pbmit-service-style-1 .pbmit-featured-wrapper::after {
  background: linear-gradient(180deg, rgba(0, 51, 102, 0.00) 20%, rgba(0, 51, 102, 0.85) 100%) !important;
  border-radius: 20px;
}
.pbmit-service-style-1 .pbmit-service-title,
.pbmit-service-style-1 .pbmit-service-title a {
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  width: 85% !important;
  white-space: normal !important;
  display: block !important;
  word-break: break-word !important;
}

/* ==========================================================================
   Widget Servicios (Sidebar) Premium Redesign
   ========================================================================== */
.service-sidebar .widget.post-list {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    padding: 0;
    margin-bottom: 2.5rem;
}

.service-sidebar .widget.post-list .widget-title {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff !important;
    margin: 0;
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    border-bottom: 4px solid var(--color-accent);
}

.service-sidebar .widget.post-list .all-post-list {
    padding: 0.5rem 0;
}

.service-sidebar .widget.post-list .all-post-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-sidebar .widget.post-list .all-post-list ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f1f5f9;
}

.service-sidebar .widget.post-list .all-post-list ul li:last-child {
    border-bottom: none;
}

.service-sidebar .widget.post-list .all-post-list ul li a {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.service-sidebar .widget.post-list .all-post-list ul li a::before {
    content: '→';
    margin-right: 12px;
    font-size: 1.2rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.service-sidebar .widget.post-list .all-post-list ul li a:hover {
    color: var(--color-primary);
    background-color: #f8fafc;
    padding-left: 2.5rem;
}

.service-sidebar .widget.post-list .all-post-list ul li a:hover::before {
    color: var(--color-accent);
    transform: translateX(5px);
}

.service-sidebar .widget.post-list .all-post-list ul li.post-active a {
    background: rgba(2, 39, 99, 0.05);
    color: var(--color-primary);
    font-weight: 700;
    border-left: 4px solid var(--color-primary);
    padding-left: calc(2rem - 4px);
}

.service-sidebar .widget.post-list .all-post-list ul li.post-active a::before {
    color: var(--color-primary);
    transform: translateX(5px);
}

/* ==========================================================================
   Widget Ads (Sidebar) Rounded Corners
   ========================================================================== */
.service-sidebar .widget.pbmit-widget-ad,
.service-sidebar .widget.pbmit-widget-ad .pbmit-service-ads {
    border-radius: 16px !important;
    overflow: hidden;
}

/* ==========================================================================
   Centro de Ayuda (Latest Posts) - Premium Cards
   ========================================================================== */
.help-center-section {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* Background aesthetic shapes */
.help-center-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--color-primary-rgb, 13, 33, 54), 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.help-center-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Subtle bottom border accent */
.help-center-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent, #e5b05c);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

.help-center-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: transparent;
}

.help-center-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.hc-category-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(var(--color-primary-rgb, 13, 33, 54), 0.05);
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.help-center-card:hover .hc-category-badge {
    background: var(--color-primary);
    color: #ffffff;
}

.hc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.help-center-card:hover .hc-title {
    color: var(--color-accent);
}

.hc-excerpt {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hc-read-more {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
}

.hc-read-more i {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.help-center-card:hover .hc-read-more i {
    transform: translateX(5px);
}

.hc-date {
    font-size: 0.85rem;
    color: #adb5bd;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
    margin-top: auto;
}


#cookies_ventana {
  position: fixed;
  z-index: 30000;
  width: 96%;
  left: 2%;
  bottom: 20px !important;
  background: #000;
  color: #fff !important;
  border-radius: 10px !important;
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 20px;
  text-align: center;
}
@media only screen and (max-width: 992px) {
  #cookies_ventana {
    width: 70%;
  }
}

#cookies_ventana p {
  text-align: center !important;
}

#cookies_ventana a {
  color: #fff !important;
  border: 1px solid #fff !important;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
@media only screen and (max-width: 992px) {
  #cookies_ventana a {
    text-wrap: nowrap;
    margin-bottom: 10px !important;
    float: left !important;
  }
}