/* Fuente */
@font-face {
  font-family: 'Encode Sans';
  src: url('../fonts/EncodeSans-Variable.ttf') format('truetype-variations'),
       url('../fonts/EncodeSans-Variable.ttf') format('truetype');
  font-weight: 100 900; /* Habilita todos los pesos del 100 al 900 */
  font-style: normal;
  font-display: swap;
}

/* Aplicación general */
body {
  font-family: 'Encode Sans', sans-serif;
}

/* ===== Paleta de marca (Manual de Normas - Provincia de Buenos Aires) =====
       Grupo 1 (turquesa) -> color principal de marca: fondos sólidos, íconos,
       bordes y texto destacado (reemplaza el azul por defecto de Bootstrap).
       Grupo 2 (magenta)  -> color de acento: se reserva para las etiquetas/badges
       que necesitan resaltar sobre fondos oscuros (fotos y videos).
       Negro               -> ya coincide con los overlays oscuros existentes.
       Grises              -> texto de cuerpo y texto secundario/muted. */
    :root {
      --brand-teal: #00829B;
      --brand-teal-dark: #014452;
      --brand-teal-mid: #01677B;
      --brand-magenta: #E61566;
      --brand-magenta-dark: #82133B;
      --brand-magenta-mid: #BB1353;
      --brand-black: #000000;
      --brand-gray-light: #797676;
      --brand-gray-dark: #141413;
      --brand-gray-mid: #545453;



      /* Variables nativas de Bootstrap: al sobreescribirlas acá, todos los
         utilitarios (bg-primary, text-primary, border-primary, bg-opacity-10, etc.)
         se recolorean automáticamente sin tocar el markup */
      --bs-primary: var(--brand-teal);
      --bs-primary-rgb: 0, 130, 155;
      --bs-primary-text-emphasis: var(--brand-teal-dark);
      --bs-primary-border-subtle: var(--brand-teal-mid);
      --bs-dark: var(--brand-gray-dark);
      --bs-dark-rgb: 20, 20, 19;
      --bs-secondary-color: var(--brand-gray-mid);
      --bs-body-color: var(--brand-gray-dark);
      --bs-font-sans-serif: 'Encode Sans', sans-serif;


      /* Alto real del navbar: se usa para que el Hero ocupe el resto
         del primer viewport (100vh - navbar) en vez de sumarse a él */
      --navbar-height: 96px;

      /* Alto del isologo en estado normal (arriba del todo). Si en el futuro
         se agranda el logo, solo hay que tocar este valor: el estado
         "scrolled" de más abajo lo reduce igual en proporción para que
         el navbar nunca ocupe demasiado espacio una vez que se hace scroll */
      --logo-height: 80px;
      --logo-height-scrolled: 48px;
      --navbar-height-scrolled: 64px;
    }

    /* Utilitarios Magenta personalizados */
    .bg-magenta {
      background-color: var(--brand-magenta) !important;
    }

    .bg-magenta-subtle {
      background-color: rgba(230, 21, 102, 0.12) !important;
    }

    .border-magenta {
      border-color: var(--brand-magenta-mid) !important;
    }

    .text-magenta {
      color: var(--brand-magenta) !important;
    }

    /* Botón magenta con sus distintos estados (hover, active/pressed,
       focus, disabled), siguiendo la paleta de marca definida arriba */
    .btn-magenta {
      background-color: var(--brand-magenta);
      border-color: var(--brand-magenta);
      color: #fff;
      transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .1s ease;
    }
    .btn-magenta:hover {
      background-color: var(--brand-magenta-mid);
      border-color: var(--brand-magenta-mid);
      color: #fff;
    }
    .btn-magenta:active,
    .btn-magenta.active {
      background-color: var(--brand-magenta-dark) !important;
      border-color: var(--brand-magenta-dark) !important;
      color: #fff;
      transform: translateY(1px);
    }
    .btn-magenta:focus,
    .btn-magenta:focus-visible {
      box-shadow: 0 0 0 0.2rem rgba(230, 21, 102, 0.35);
      outline: none;
    }
    .btn-magenta:disabled,
    .btn-magenta.disabled {
      background-color: var(--brand-magenta);
      border-color: var(--brand-magenta);
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    /* Variante outline: mismo comportamiento pero con fondo transparente
       hasta el hover, útil para CTAs secundarios */
    .btn-outline-magenta {
      background-color: transparent;
      border-color: var(--brand-magenta);
      color: var(--brand-magenta);
      transition: background-color .2s ease, color .2s ease;
    }
    .btn-outline-magenta:hover {
      background-color: var(--brand-magenta);
      border-color: var(--brand-magenta);
      color: #fff;
    }
    .btn-outline-magenta:active,
    .btn-outline-magenta.active {
      background-color: var(--brand-magenta-dark) !important;
      border-color: var(--brand-magenta-dark) !important;
      color: #fff;
    }
    .btn-outline-magenta:focus,
    .btn-outline-magenta:focus-visible {
      box-shadow: 0 0 0 0.2rem rgba(230, 21, 102, 0.35);
      outline: none;
    }
    .btn-outline-magenta:disabled,
    .btn-outline-magenta.disabled {
      color: var(--brand-magenta);
      border-color: var(--brand-magenta);
      opacity: 0.5;
      cursor: not-allowed;
    }


    /* Las etiquetas/badges (bg-primary sobre fotos y video) usan el acento
       magenta en vez del turquesa, para diferenciarlas de fondos/superficies */
    .badge.bg-primary {
      background-color: var(--brand-magenta) !important;
    }

    /* Superficie grande de la sección de contacto: usamos el turquesa más oscuro
       para que un bloque de color sólido tan grande no compita con los acentos */
    #contacto.bg-primary {
      background-color: var(--brand-teal-dark) !important;
    }

    /* Reemplazo lo anterior por esto */
      .seccion-contacto-bg {
      background: url('../img/banner-contacto.jpg') top/cover no-repeat;
    }

    /* Reemplazo liviano de Animate.css: solo las 2 animaciones que realmente se usan
       (fadeInDown y fadeInUp en los textos del Hero al cambiar de slide) */
    .animate__animated {
      animation-duration: 1s;
      animation-fill-mode: both;
    }
    .animate__fadeInDown {
      animation-name: fadeInDown;
    }
    .animate__fadeInUp {
      animation-name: fadeInUp;
    }
    @keyframes fadeInDown {
      from { opacity: 0; transform: translate3d(0, -100%, 0); }
      to { opacity: 1; transform: translate3d(0, 0, 0); }
    }
    @keyframes fadeInUp {
      from { opacity: 0; transform: translate3d(0, 100%, 0); }
      to { opacity: 1; transform: translate3d(0, 0, 0); }
    }

    

    /* ===== NAVBAR ===== */
    /* Navbar: alto consistente para el isologo institucional */
    .navbar {
      min-height: var(--navbar-height);
      padding-top: .75rem;
      padding-bottom: .75rem;
      transition: min-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    }
    .navbar-brand img {
      height: var(--logo-height);
      width: auto;
      transition: height 0.3s ease;
    }

    /* Estado "scrolled": se agrega vía JS (ver <script> al final) cuando el
       usuario empieza a hacer scroll, para que el navbar ocupe menos alto
       y deje más lugar a la home. Si el logo se agranda en el futuro
       (--logo-height), este estado lo compensa reduciéndolo igual */
    .navbar.navbar-scrolled {
      min-height: var(--navbar-height-scrolled);
      padding-top: .4rem;
      padding-bottom: .4rem;
    }
    .navbar.navbar-scrolled .navbar-brand img {
      height: var(--logo-height-scrolled);
    }

    /* Dropdowns del navbar (Nuestros Recursos / Idioma): se ajustan al
       ancho de su contenido (no fijo), con un tope para que el ítem largo
       de RPIE pase a 2-3 líneas en vez de estirar el menú. El estilo
       (fondo claro, separadores finos, sombra sutil) los unifica visualmente
       aunque cada uno termine con un ancho distinto. */
    .nav-dropdown-fixed {
    
      background-color: #F4F8F8;
      border: none;
      border-radius: 10px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      padding: .5rem 0;
    }

    .width-drop-recursos { 
      width: auto;
      max-width: 260px;
      min-width: 260px;
       }

    .width-drop-idioma { 
      width: auto;
      max-width: 260px;
      min-width: 100px;
       }   

    .nav-dropdown-fixed .dropdown-item {
      white-space: normal;
      padding: .65rem 1.25rem;
      color: var(--brand-gray-dark);
    }
    .nav-dropdown-fixed .dropdown-item:hover,
    .nav-dropdown-fixed .dropdown-item:focus {
      background-color: rgba(0, 130, 155, 0.08);
      color: var(--brand-teal-dark);
    }
    /* Separador fino entre ítems (no se dibuja después del último) */
    .nav-dropdown-fixed li:not(:last-child) .dropdown-item {
      border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    /* Aire extra a la derecha del dropdown de idiomas, para que no quede
       pegado al borde derecho del navbar */
    .nav-item-lang {
      margin-right: 12px;
    }

    /* Botón "Contactanos" del navbar: reutiliza el turquesa de marca para
       que quede consistente con los demás CTAs de la home */
    .nav-cta-btn {
      color: #fff;
    }
    .nav-cta-btn:hover {
      color: #fff;
    }

    /* En mobile, el botón ocupa todo el ancho del menú colapsado en vez de
       quedar angosto como si fuera un link de lista más */
    @media (max-width: 991.98px) {
      .nav-cta-btn {
        display: block;
        width: 100%;
        text-align: center;
      }
      .nav-item-lang {
        margin-right: 0;
      }
    }

    /* ===== Menú mobile: overlay translúcido tipo acordeón =====
       Solo aplica por debajo del breakpoint lg; en desktop el navbar
       sigue funcionando exactamente igual que antes. */

    /* Botón hamburguesa custom, animado a X */
    .custom-toggler {
      width: 40px;
      height: 40px;
      padding: 0;
      border: 0;
      background: transparent;
      position: relative;
      border-radius: 8px;
      transition: background-color .25s ease;
    }
    .custom-toggler:focus {
      box-shadow: none;
      outline: none;
    }
    /* Chip translúcido detrás de la X, solo visible con el menú abierto */
    .custom-toggler.is-open {
      background-color: rgba(0, 0, 0, 0.18);
    }
    .toggler-line {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 20px;
      height: 2px;
      margin-left: -10px;
      border-radius: 2px;
      background-color: var(--brand-teal-dark);
      transition: transform .3s ease, opacity .2s ease, margin-top .3s ease, background-color .3s ease;
    }
    .line-1 { margin-top: -7px; }
    .line-2 { margin-top: 0; }
    .line-3 { margin-top: 7px; }
    .custom-toggler.is-open .line-1 { margin-top: 0; transform: rotate(45deg); }
    .custom-toggler.is-open .line-2 { opacity: 0; }
    .custom-toggler.is-open .line-3 { margin-top: 0; transform: rotate(-45deg); }

    @media (max-width: 991.98px) {
      /* Evita el scroll del fondo mientras el menú está abierto, y
         oculta el logo (solo queda visible la X para cerrar) */
      body.nav-open { overflow: hidden; }
      body.nav-open .navbar-brand { display: none; }

      /* El ícono queda blanco una vez que se abre el overlay oscuro */
      .custom-toggler.is-open .toggler-line { background-color: #fff; }

      /* Panel translúcido debajo de la barra del navbar (el logo y el
         botón de cerrar quedan siempre visibles, sin tocar, arriba).
         La transparencia deja ver el contenido de la home de fondo,
         igual que en la referencia. overflow-x: hidden es un resguardo
         extra para que ningún texto largo pueda desbordar el panel. */
      .navbar-collapse {
        transition: opacity .25s ease;
      }
      .navbar-collapse.show,
      .navbar-collapse.collapsing {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--navbar-height)) !important;
        max-height: none;
        background-color: rgba(1, 68, 82, 0.93);
        z-index: 1040;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 1.5rem 2rem 2.5rem;
        box-sizing: border-box;
      }
      .navbar-collapse.collapsing { opacity: 0; }
      .navbar-collapse.show { opacity: 1; }

      #navMain .navbar-nav {
        width: 100%;
        max-width: 100%;
      }

      /* Items de primer nivel: blancos, en negrita, con más aire entre
         ellos (sin líneas separadoras, el espacio hace de separador) */
      #navMain .nav-item + .nav-item {
        margin-top: .5rem;
      }
      #navMain .nav-link {
        color: #fff;
        font-weight: 700;
        font-size: 1.1rem;
        padding: .75rem 0;
        width: 100%;
        box-sizing: border-box;
      }

      /* Oculta el triángulo default de Bootstrap y usa un chevron más
         prolijo (bootstrap-icons), que rota al abrir */
      #navMain .dropdown-toggle::after { display: none; }
      #navMain .dropdown-chevron {
        display: inline-block;
        float: right;
        font-size: .95rem;
        margin-top: .3rem;
        transition: transform .2s ease;
      }
      #navMain .dropdown-toggle[aria-expanded="true"] .dropdown-chevron {
        transform: rotate(180deg);
      }

      /* Submenús (Recursos / Idioma): dejan de ser popovers y se abren
         inline, como un acordeón, dentro del mismo panel. white-space,
         word-break y overflow-wrap se refuerzan juntos para garantizar
         que un ítem largo (ej. RPIE) siempre pase a la línea siguiente
         en vez de desbordar el panel */
      .nav-dropdown-fixed {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: .25rem 0 0 0 !important;
        padding: 0;
        background-color: transparent;
        border: none;
        box-shadow: none;
        box-sizing: border-box;
      }
      .nav-dropdown-fixed .dropdown-item {
        display: block;
        width: 100%;
        box-sizing: border-box;
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
        color: rgba(255, 255, 255, 0.8);
        font-weight: 400;
        font-size: 1rem;
        padding: .55rem 0;
        border-bottom: none !important;
      }
      .nav-dropdown-fixed li + li {
        margin-top: .15rem;
      }
      .nav-dropdown-fixed .dropdown-item:hover,
      .nav-dropdown-fixed .dropdown-item:focus {
        background-color: transparent;
        color: #fff;
      }

      /* Botón "Contactanos": outline blanco para funcionar sobre el fondo
         translúcido, sin perder protagonismo respecto al resto de los items */
      .nav-cta-btn {
        background-color: transparent;
        border: 2px solid #fff;
        color: #fff;
        margin-top: 1.5rem;
        box-sizing: border-box;
      }
      .nav-cta-btn:hover,
      .nav-cta-btn:focus {
        background-color: rgba(255, 255, 255, 0.12);
        color: #fff;
      }
    }

    /* Más aire entre los items del navbar en desktop también */
    @media (min-width: 992px) {
      #navMain .navbar-nav > .nav-item {
        margin-left: .6rem;
        margin-right: .6rem;
      }
      #navMain .navbar-nav > .nav-item:first-child {
        margin-left: 0;
      }
      .dropdown-chevron { display: none; }
    }



    /* ===== FOOTER GBA ===== */
#footer { 
  display: none; 
}

#subfooter { 
  background-color: #fff; 
  padding-top: 0px; 
}

.container_footer2024 { 
  padding-top: 40px;
}

img.imagen_top_footer { 
  width: 100%; 
}

/* Contenedor principal con fondo custom */
.pbainv-card {
  background-color: #006484;
  border-top-width: 6px;
  border-top-style: solid;
  border-image: linear-gradient(to right, #E72276, #00AEC3) 1;
}

/* Dimensiones exactas de los logos */
.pbainv-logo-ministerio {
  height: auto;
  max-height: 80px;
  max-width: 100%;
}

.pbainv-logo-argentina {
  height: auto;
  max-height: 60px;
  max-width: 100%;
}

/* Tira de color al final del footer */
#subfooter::after {
  content: '';
  display: block;
  width: 100%;
  height: 40px;
  background-color: #009AAE;
}




      /* Estilos custom mínimos para estructura de capas, backgrounds y sliders */
    .bg-video-wrapper, .bg-image-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      z-index: 1;
    }

    .bg-video-wrapper video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .overlay-dark {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(10, 25, 47, 0.75);
      z-index: 2;
    }

    .section-content {
      position: relative;
      z-index: 3;
    }

    /* Modificador para transición suave del hover en tarjetas */
    .hover-top {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hover-top:hover {
      transform: translateY(-8px);
      box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.125) !important;
    }

    /* Hero Slider Adjustments: ocupa el resto del viewport debajo del navbar */
    .hero-swiper {
      width: 100%;
      min-height: calc(100vh - var(--navbar-height));
    }
    .hero-vh {
      min-height: calc(100vh - var(--navbar-height));
    }

    /* Tarjetas con Imagen de Fondo (Sectores Estratégicos) */
    .sector-card {
      height: 420px;
      background-size: cover;
      background-position: center;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }

    .sector-card:hover {
      transform: translateY(-8px);
    }

    /* Custom Paginadores de Swiper */
    .swiper-pagination-bullet {
      width: 12px;
      height: 12px;
      background: #fff;
      opacity: 0.5;
      transition: all 0.3s ease;
    }
    .swiper-pagination-bullet-active {
      opacity: 1;
      width: 28px;
      border-radius: 6px;
      background: var(--brand-teal);
    }

    .swiper-pagination-sectores .swiper-pagination-bullet-active {
      background: #ffffff;
    }

    /* Oculta los artefactos visuales que agrega Google Translate por defecto
       (franja superior, tooltips, resaltado del texto traducido) */
    body { top: 0 !important; }
    .goog-te-banner-frame { display: none !important; }
    .goog-tooltip { display: none !important; }
    .goog-tooltip:hover { display: none !important; }
    .goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }

    /* "Aire" extra arriba/abajo del contenido de cada section, sumado al
       py-5 de Bootstrap que ya tienen (se apunta a section.py-5 para no
       afectar el Hero, que ya maneja su alto con min-height: 100vh) */
    section.py-5 {
      padding-top: calc(3rem + 30px);
      padding-bottom: calc(3rem + 30px);
    }
    @media (max-width: 767.98px) {
      section.py-5 {
        padding-top: calc(3rem + 10px);
        padding-bottom: calc(3rem + 10px);
      }
    }

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}

.zoomIn {
  animation-name: zoomIn;
}


/* GOOGLE TRANSLATE */
/* Corregir margen superior que añade Google al body */
body {
  top: 0 !important;
  position: static !important;
}

/* Ocultar la barra superior (iframes y contenedores) */
.goog-te-banner-frame,
.goog-te-banner,
.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
}

/* Evitar que el espacio en blanco de la barra quede arriba */
body > .skiptranslate {
  display: none !important;
}

/* Desactivar resaltado de texto traducido al pasar el cursor */
.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}


.color-pba {
  color:#00829B;
}
.breadcrumb-custom {
    background-color: lab(89.88% -4.47 -4.86);
    padding: 12px 0;
    border-bottom: 1px solid #e0e6ea;
  }
  .breadcrumb-custom .breadcrumb {
    margin-bottom: 0;
    font-size: 0.9rem;
  }
  .breadcrumb-custom .breadcrumb-item a {
    color: #004e7c;
    text-decoration: none;
    font-weight: 600;
  }
  .breadcrumb-custom .breadcrumb-item a:hover {
    color: #e6007e;
    text-decoration: underline;
  }
  .breadcrumb-custom .breadcrumb-item.active {
    color: #e6007e;
    font-weight: 700;
  }
  .breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #a0b8cc;
    font-weight: 700;
  }

    /* Estilos del Contenedor Principal (Hero) */
    .hero-banner {
      position: relative;
      width: 100%;
      min-height: 380px; /* Altura adaptable */
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      background-image: url('https://inversiones.gba.gob.ar/es/img/intro_inversiones.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      font-family: 'Encode Sans', sans-serif;
      padding: 40px 20px;
    }

    /* Overlay azul translúcido */
    .hero-banner::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* Tono azul similar al del portal de la Provincia */
      background-color: rgba(0, 78, 124, 0.75);
      z-index: 1;
    }

    /* Contenido (Textos) situado por encima del overlay */
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 900px;
      color: #ffffff;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* Título principal */
    .hero-title {
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 1px;
      line-height: 1.2;
      margin-bottom: 12px;
    }

    /* Línea divisoria de color magenta */
    .hero-divider {
      width: 80px;
      height: 4px;
      background-color: #e6007e; /* Magenta del Gobierno PBA */
      border: none;
      border-radius: 2px;
      margin: 0 auto 18px auto;
    }

    /* Bajada / Descripción */
    .hero-description {
      font-size: clamp(1rem, 2vw, 1.25rem);
      font-weight: 400;
      line-height: 1.5;
      color: #ffffff;
      max-width: 820px;
    }

    .hero-pill {
      display: inline-block;
      background-color: #e6007e;
      color: #ffffff;
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 6px 18px;
      border-radius: 50px;
      margin-bottom: 14px;
    }

    /* -----------------------------------------------------------------------
       6) Formularios (sección de contacto)
       ----------------------------------------------------------------------- */
    .form-control {
      line-height: 1.6;
    }
    .form-control:focus {
      border-color: #a0b8cc;
      box-shadow: 0 0 0 .25rem rgba(65, 112, 153, .25);
    }
       
    .contact-bg {
    background: 
    linear-gradient(
      180deg, 
      rgba(6, 49, 114, 0.75) 0%, 
      rgba(10, 25, 47, 0.55) calc(100% - 550px), 
      #ffffff 100%
    ),
    url('../img/intro-bg.jpg') center center / cover no-repeat;
    
  }

    .icon-circle {
      width: 2.5rem;
      height: 2.5rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 1.1rem;
    }

/* INFOGRAFIA }*/

    /* --- Column labels --- */
    .informe-label {
      font-size: 1rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #555;
      margin-bottom: 6px;
    }

    /* --- Accordion card overrides --- */
    .informe-card {
      border: none !important;
      border-radius: 0 !important;
      background: transparent;
    }

    /* --- Header buttons --- */
    .informe-card .card-header {
      padding: 0;
      border: none;
      border-radius: 0 !important;
    }

    /* Equal height: handled via JS to avoid breaking accordion collapse */
    .btn-informe {
      display: flex;
      align-items: center;
      width: 100%;
      text-align: left;
      border: none;
      border-radius: 0 !important;
      padding: 18px 36px 18px 20px;
      font-size: 1.3rem;
      font-weight: 700;
      color: #fff !important;
      line-height: 1.3;
      position: relative;
      transition: filter 0.2s;
      height: 100%;
    }

    .btn-informe:hover,
    .btn-informe:focus {
      filter: brightness(1.08);
      color: #fff !important;
      text-decoration: none;
      box-shadow: none;
      outline: none;
    }

    /* Collapse indicator arrow */
    .btn-informe::after {
      content: '';
      display: inline-block;
      position: absolute;
      right: 18px;
      top: 50%;
      transform: translateY(-50%) rotate(0deg);
      width: 10px;
      height: 10px;
      border-right: 2px solid rgba(255,255,255,0.8);
      border-bottom: 2px solid rgba(255,255,255,0.8);
      transition: transform 0.25s ease;
    }

    .btn-informe[aria-expanded="true"]::after {
      transform: translateY(-50%) rotate(-135deg) translate(3px, -3px);
    }

    /* Color variants */
    .btn-informe.color-1 { background-color: #e5006e; } /* magenta */
    .btn-informe.color-2 { background-color: #c0005e; } /* darker pink */
    .btn-informe.color-3 { background-color: #4a5e8a; } /* slate blue */
    .btn-informe.color-4 { background-color: #00afc8; } /* teal */

    /* Left border accent on body */
    .collapse-body-wrap {
      border-left: 4px solid transparent;
      background: #fff;
    }
    .color-border-1 { border-left-color: #e5006e; }
    .color-border-2 { border-left-color: #c0005e; }
    .color-border-3 { border-left-color: #4a5e8a; }
    .color-border-4 { border-left-color: #00afc8; }

/* Normal */
.btn-primary {
  color: #ffffff;
  background-color: #00829B;
  border-color: #00829B;
}

/* Hover */
.btn-primary:hover {
  color: #ffffff;
  background-color: #006D82;
  border-color: #006376;
}

/* Focus */
.btn-primary:focus,
.btn-primary.focus {
  color: #ffffff;
  background-color: #006D82;
  border-color: #006376;
  box-shadow: 0 0 0 0.25rem rgba(0, 130, 155, 0.5);
}

/* Active */
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
  color: #ffffff;
  background-color: #005B6D;
  border-color: #005262;
}

.btn-primary:active:focus,
.btn-primary.active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 130, 155, 0.5);
}

/* Disabled */
.btn-primary:disabled,
.btn-primary.disabled {
  color: #ffffff;
  background-color: #00829B;
  border-color: #00829B;
  opacity: 0.65;
}

/* Contenedor Principal del Encabezado */
.page-header {
  width: 100%;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 30px;;
}

/* Contenido interior */
.header-content {
  max-width: 900px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Título principal */
.header-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 14px;
}

/* Línea divisoria magenta */
.header-divider {
  width: 70px;
  height: 4px;
  background-color: #e6007e; /* Magenta PBA */
  border: none;
  border-radius: 2px;
  margin: 0 auto 18px auto;
}

/* Descripción */
.header-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  max-width: 820px;
  margin: 0;
}




  /* ===== CARROUSEL HERO HOME ===== */
  #customCarousel,
  #customCarousel .carousel-inner,
  #customCarousel .carousel-item {
    height: calc(100vh - var(--nav-h, 76px));
  }

  /* Video de fondo, compartido por todos los slides */
  .hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
  }

  .hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }

  /* Capa oscura para que el texto se lea sobre el video */
  .hero-video-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.75)
  }

  /* El contenido de cada slide va por encima del video */
  #customCarousel .carousel-item .slide-content {
    position: relative;
    z-index: 1;
    height: 100%;
  }


  #customCarousel .carousel-control-prev,
  #customCarousel .carousel-control-next {
    z-index: 2;
  }

  .badge-hero {
    font-size: 1rem !important;
  }



  .slider-card {
  /* Fondo blanco semitransparente con borde fino blanco */
  background-color: rgba(255, 255, 255, 0.1); 
  border: 1px solid rgba(255, 255, 255, 0.3); 
  
  /* Esquinas redondeadas y efecto translúcido */
  border-radius: 16px;


  
  /* Dimensiones fijas identicas para todos los sliders */
  width: 95%;
  max-width: 1250px; /* Ancho suficiente para evitar saltos de línea innecesarios */
  height: 480px;     /* Alto fijo exacto para todos los recuadros */
  
  /* Centrado interior del contenido sin modificar sus clases */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}



/* En móviles permite que el alto crezca si el texto no cabe */
@media (max-width: 768px) {
  .slider-card {
    height: auto;
    min-height: 480px;
  }
  .slider-card p{
    font-size: 1rem;
  }
  .slider-card h1{
    font-size: 1.9rem;
  }
  .badge-hero{
    font-size: 0.7rem !important;
  }
  .btn-hero{
    font-size: 0.8rem !important;
  }
}



 /* ===== PBA EXPORTA ===== */

   :root{
  --pba-magenta:#8e2a6b;
  --pba-blue:#2c4a8c;
  --pba-cyan:#1fa7c9;
}

/* ── Base compartida de textos/elementos (se sobreescribe por variante) ── */
.brand-mark{
  width: 52px;
  height: 52px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-mark .bi{ transform: rotate(-45deg); }
.brand-title{ letter-spacing: .03em; }
.brand-sub{ font-size: .7rem; letter-spacing: .12em; }
.vr-header{ width: 2px; }

.pba-card{
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.pba-card:hover{
  transform: translateY(-6px);
}
.btn-explorar{
  transition: transform .2s ease, background-color .2s ease;
}
.pba-card:hover .btn-explorar{
  transform: translateX(3px);
}

.bg-exporta--light{
  background: linear-gradient(100deg, #c7cad1 0%, #e7e9ec 55%, #ffffff 100%);
  color: #1d2333;
}
.bg-exporta--light .brand-sub-color{ color: rgba(29,35,51,.6); }
.bg-exporta--light .vr-header{ background-color: rgba(29,35,51,.25); }
.bg-exporta--light .pba-card{
  background-color: rgba(255,255,255,.7);
  border: 1px solid rgba(29,35,51,.1);
}
.bg-exporta--light .pba-card:hover{
  background-color: #fff;
  box-shadow: 0 1rem 2rem rgba(0,0,0,.10);
}
.bg-exporta--light .pba-card-text{ color: #4b5266; }
.bg-exporta--light .btn-explorar{
  background-color: var(--pba-blue);
  color: #fff;
}
.bg-exporta--light .btn-explorar:hover{ background-color: var(--pba-blue); color: #fff; }


/* ===== SECTORES ESTRATEGICOS ===== */

.opacidad-contenedor {
  background-color: rgba(255, 255, 255, 0.80); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1;
}

/* Asegura que el contenedor estire todos los slides a la misma altura */
.sectores-swiper .swiper-wrapper {
  display: flex;
}

.sectores-swiper .swiper-slide {
  height: auto; /* Permite que el slide tome la altura del contenedor flex */
  display: flex;
}

/* Fuerza a la tarjeta a ocupar el 100% del alto de su slide */
.sectores-swiper .sector-icon-card {
  width: 100%;
  height: 100%;
}

.sectores-swiper-outer {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.h-sectores {
  font-size: 1.2rem !important;
}

.sectores-swiper {
  flex: 1 1 auto;
  min-width: 0; /* imprescindible para que flexbox no ignore el overflow:hidden interno de Swiper */
}

/* Anulamos el posicionamiento absoluto que trae Swiper por defecto */
.sectores-swiper-outer .sectores-nav-btn {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sectores-swiper-outer .sectores-nav-btn::after {
  font-size: 30px;
  color: rgba(var(--bs-white-rgb),var(--bs-text-opacity)) !important;
}

.sectores-swiper-outer .swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 767.98px) {
  .sectores-swiper-outer {
    gap: 10px;
    padding: 0 4px; /* que la card no toque el borde de la pantalla */
    box-sizing: border-box;
  }

  .sectores-swiper-outer .sectores-nav-btn {
    display: flex !important;
    width: 30px;
    height: 30px;
  }

  .sectores-swiper-outer .sectores-nav-btn::after {
    font-size: 13px;
  }

  .h-card-mobile {
    min-height: 330px !important;
  }
}

/* ===== RPIE ===== */
.width-rpie {
    width: 44% !important;
  }

@media (max-width: 767.98px) {
  .width-rpie {
    width: 90% !important;
  }


}


/* ===== CURSOS Y ASISTENCIAS ===== */
.bg-cursos {
background-color: rgb(226, 226, 227) !important;
}


/* ===== ANCHORS ===== */
/* Aplicar a todas las secciones que reciben un ID de ancla */
section, 
div[id], 
[id] {

  /* Define la distancia desde el borde superior de la pantalla */
  scroll-margin-top: 80px; /* Ajusta según la altura de tu menú fijo */
}


/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff; /* Color azul */
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%; /* Lo hace redondo */
  font-size: 20px;
  cursor: pointer;
  display: none; /* Se oculta por defecto */
  z-index: 1000;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

.back-to-top:hover {
  background-color: #0056b3; /* Color más oscuro al pasar el mouse */
}

/* Esto hace que toda la página suba de forma suave */
html {
  scroll-behavior: smooth;
}

/* Cursos modal youtube */
      .caja-uno,
      .caja-dos,
      .caja-tres {
        margin-bottom: 20px;
      }
      #expor-capacitacion ul {
        list-style: none;
        padding-left: 0;
      }
      #expor-capacitacion ul li {
        padding: 8px 0;
        border-bottom: 1px solid #e5e5e5;
      }
      #expor-capacitacion ul li a {
        text-decoration: none;
        color: inherit;
        cursor: pointer;
      }
      #expor-capacitacion ul li.activo a {
        color: #00829B;
      }
      #expor-capacitacion ul li.activo {
        border-left: 3px solid #00829B;
        padding-left: 10px;
      }