
/* Contenedor de la tarjeta */
.org-box {
    padding: 6px;
    border-radius: 20px;
    /* background: linear-gradient(145deg, #ffffff, #e8e8e8); */
    /* border: 3px solid #c31c78; */
    width: 314px;
    margin: 20px auto;
    text-align: center;
    /* box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.12); */
    transition: transform .2s 
ease-in-out, box-shadow .2s;
}
.org-box:hover {
    transform: translateY(-4px);
    /*box-shadow: 0px 12px 24px rgba(0,0,0,0.2);*/
   /* background: #C31C78;*/
    color: #fff;
}

/* Foto circular brillante */
.org-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    /*border-radius: 50%;*/
    border: 4px solid white;
   /* box-shadow: 0 0 10px #c31c78, 0 0 20px rgba(13,110,253,.5);*/
    margin-bottom: 12px;
}

/* Línea vertical */
.org-line {
    width: 3px;
    background: #c31c78;
    margin: 0 auto;
    height: 35px;
    border-radius: 2px;
}

/* Contenedor de subordinados */
.children {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Líneas horizontales decoradas */
.connector {
    width: 50px;
    height: 3px;
    background: #c31c78;
    margin: auto;
}


/* Fuerza el centrado principal del organigrama */
.org-root {
    display: flex;
    justify-content: center !important;
    width: 100%;
}

/* Evita que el organigrama se expanda demasiado en pantallas grandes */
.org-container {
    max-width: 900px;
    margin: auto;
}

/* Centra el nodo del director general */
.org-director {
    display: flex;
    justify-content: center;
}


.text-primary{


  color:#C31C78 !important;
  padding: 7px;
    background: #f9f9f9;
    border-bottom: dotted 2px;
}




.features .nav-link h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 10px 0px 0px;
}
 
.gallery-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 10px;
  width: 100%;
}
.gallery-premium .item {
  position: relative;
  overflow: hidden;
  height: 200px;
  width: 100%;
  border-radius: 22px;
  background: #000;
 /* box-shadow: 0 14px 32px rgba(0,0,0,0.22);*/
}
.gallery-premium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.gallery-premium .item:hover img {
  transform: scale(1.18);
}
.gallery-premium .caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
</style>
<style>
.card-modern  {
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 100%;
  padding: 10px;
}

.card-modern:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}

 :root {
  --swiper-navigation-color: #ffffff; /* Color de la flecha */
  --swiper-theme-color: #3498db;      /* Color del fondo y bullets */
}

/* Estilo general de los botones */
.swiper-button-next,
.swiper-button-prev {
  background-color: #c31c78;
  width: 50px;
  height: 50px;
  /*border-radius: 50%;*/ /* Los hace circulares */
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Redimensionar el tamaño de la flecha interna */
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

/* Efecto al pasar el mouse */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #fff; /* Un azul más oscuro */
  transform: scale(1.1);
  color: #c31c78;
  border: solid 20x #c31c78;
}

/* Posicionamiento opcional (fuera del slider si el contenedor es más grande) */
.swiper-button-next {
  right: 10px;
}
.swiper-button-prev {
  left: 10px;
}


:root {
    --swiper-navigation-size: 278px !important;
}



.pricing .pricing-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url(https://www.iepcdurango.mx/instituto_electoral/img/foto2.jpg) center center !important;
    background-size: cover;
    text-align: center;
    padding: 40px;
    margin: -60px -40px 0;



  }
body {
    font-family: 'Atkinson Hyperlegible', sans-serif;
}

/* Recomendación: Úsala con un peso mayor en los títulos del modal */
.modal-title {
    font-weight: 700;
}





.features .nav-linke {
    background-color: #ffffff00;
    color: var(--color-secondary);
    border: 0;
    padding: 25px 20px;
    box-shadow: 7px 10px 9px 4px rgb(195 28 120 / 21%);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: 0s;
    cursor: pointer;
    height: 100%;
    font-size: 18px !important;
}



.text-success {
--bs-text-opacity: 1;
    color: rgb(195 28 120) !important;
}




.testimonials:before
 {
    content: "";
       background: 
 color-mix(in srgb, #747474d1, transparent 30%) !important;
    position: absolute;
    inset: 0;
    z-index: 2;
}



/* Estado base del link */
.features .nav-link {
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 20px; /* Espacio extra para que la flecha no tape el texto */
}

.features .nav-link:hover, 
.features .nav-link.active {
       transition: 0.3s;
    background: #000000b8;
    color: var(--contrast-color) !important;
    border-color: var(--accent-color);
    border: double 0px #fff;
}

 
/* Animación para enfatizar la dirección hacia abajo */
@keyframes pointDown {
    0% {
        opacity: 0;
        bottom: 15px;
    }
    70% {
        bottom: -2px; /* Baja un poco más del límite */
    }
    100% {
        opacity: 1;
        bottom: 2px;
    }
}

 
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: #cfcfcf00;
    color: #434343;
    padding: 15px 0;
    display: flex;
    position: relative;
    box-shadow: inset 0 10px 15px -10px rgb(0 0 0 / 0%), inset 0 -10px 15px -10px rgb(0 0 0 / 0%);
    border-top: 1px solid rgb(0 0 0 / 0%);
    border-bottom: 1px solid rgb(0 0 0 / 0%);
}

/* Máscaras de desvanecimiento laterales para el efecto de profundidad */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px; /* Ancho del efecto de desvanecimiento */
  height: 100%;
  z-index: 2;
  pointer-events: none; /* Permite hacer hover al texto debajo */
}

.marquee-wrapper::before {
    left: 0;
   /* background: linear-gradient(to right, #beb8ba4d 10%, rgba(188, 149, 92, 0));*/
}

.marquee-wrapper::after {
     right: 0;
    /* background: linear-gradient(to left, #e0e0e0 10%, rgba(188, 149, 92, 0));*/
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-non-stop 30s linear infinite;
  will-change: transform; /* Optimización de hardware */
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
}

.marquee-group span {
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0 60px; /* Aumentado para que no se amontonen */
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* Sutil relieve en el texto */
}

/* Pausar en Hover */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

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


.icon-3d {
  font-size: 60px;
  color: #c31c78;
  animation: flotar 2s infinite ease-in-out;
}

@keyframes flotar {
  0% { transform: translateY(0px); }
  50% {/* transform: translateY(-100px);*/

opacity: .6;

   }
  100% { transform: translateY(0px); }
}
 
/* Respecta preferencia de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .typewriter, .typewriter::after { animation: none !important; }
}

/* Contenedor visual */
.typewriter-container { padding: 3rem 1rem; }

/* Texto que se "escribe" */
.typewriter {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-weight: 600;
 
 
  white-space: pre-line;
  overflow: hidden;
  border-right: .12em solid #000;
  box-sizing: content-box;
  width: 0; /* se animará hasta el ancho del contenido */
  display: inline-block;
  vertical-align: middle;
  animation:
    typing 3.2s steps(40, end) forwards,
    blink-caret .75s step-end forwards;
}

/* Ajusta steps() según la longitud para más realismo */
@keyframes typing {
  from { width: 0; }
  to   { width: 100%; } /* con overflow:hidden y white-space:nowrap */
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50%     { border-color: #000; }
}


 
/* Contenedor de imagen con efecto de elevación */
.step-image-container {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

.step-image-container img {
    transition: transform 0.5s ease;
}

.step-image-container:hover img {
    transform: scale(1.05); /* Zoom suave al pasar el mouse */
}

/* Alineación responsiva corregida */
@media (max-width: 767.98px) {
    .text-md-end {
        text-align: left !important;
    }
}

/* Animación de entrada opcional */
.row {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


 
/* Estilo base del botón */
.btn-conta {
    position: relative;
    transition: all 0.3s ease;
    padding-right: 20px; /* Espacio base */
}

/* Estado cuando el botón está seleccionado (Clic activo) */
.btn-conta.selected {
    background-color: #485664 !important; /* Color dorado o el de tu preferencia */
    color: white !important;
    border: 2px solid #000 !important;
    /* Efecto de doble borde */
    outline: 2px solid #485664;
    outline-offset: 2px;
    padding-right: 40px; /* Espacio para la flecha */
}

/* Flecha que aparece solo en el estado seleccionado */
.btn-conta.selected::after {
    content: "\F138"; /* Icono arrow-right-circle de Bootstrap Icons */
    font-family: "bootstrap-icons";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    animation: fadeInRight 0.3s ease forwards;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translate(-5px, -50%); }
    to { opacity: 1; transform: translate(0, -50%); }
}

 /* Contenedor Principal con Overlay */
    .organigrama-executive {
        background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                    url('https://www.iepcdurango.mx/instituto_electoral/img/ondas.png');
        background-size: cover;
        background-attachment: fixed;
        color: #2c3e50;
    }

    /* Estilo de los Nodos Principales */
    .nodo {
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-top: 3px solid #485664; /* Dorado Institucional */
        border-radius: 4px;
        padding: 12px 25px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .nodo:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 15px rgba(188, 149, 92, 0.2);
        border-top-color: #2c3e50;
    }

    /* Estilo de Unidades y Direcciones */
    .nodo-unidad {
        background: #f8f9fa;
        border-left: 4px solid #485664;
        border-radius: 0 4px 4px 0;
        padding: 10px 15px;
        font-size: 14px;
        font-weight: 600;
        color: #444;
        box-shadow: 0 2px 4px rgba(0,0,0,0.03);
        transition: 0.2s;
        text-align: center;
    }

    .nodo-unidad:hover {
        background: #2c3e50;
        color: #ffffff;
        border-left-color: #485664;
    }

    /* Títulos de sección */
    .seccion-titulo {
        color: #2c3e50;
        position: relative;
        padding-bottom: 10px;
    }

    .seccion-titulo::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 2px;
        background: #485664;
    }

    /* Líneas conectoras */
    .linea-v {
        width: 2px;
        height: 30px;
        background: #485664;
        margin: 0 auto;
    }



    .contraloria {
    border-style: dashed !important;
    border-color: #485664 !important; /* Dorado institucional para resaltar */
    position: relative;
    background: #fffcf5; /* Un tono ligeramente distinto para staff */
}

/* La línea punteada que sale a la derecha */
.conector-punteado {
    position: absolute;
    top: 50%;
    right: -32px; /* Largo de la línea */
    width: 30px;
    border-top: 2px dashed #bb955c !important;
    z-index: 1;
}

/* Punta de la flecha al final de la línea punteada */
.conector-punteado::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -6px;
    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #bb955c; /* Triángulo que forma la punta */
}

/* Animación sutil al pasar el mouse */
.contraloria:hover .conector-punteado {
    border-color: #bb955c;
}
.contraloria:hover .conector-punteado::after {
    border-left-color: #bb955c;
}
 



.organigrama-container {
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.nodo, .nodo-unidad {
    background: #ffffff;
    border: 2px solid #2c3e50;
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    font-weight: bold;
    color: #2c3e50;
    transition: all 0.3s ease;
    min-width: 180px;
}

.nodo:hover, .nodo-unidad:hover {
    background: #2c3e50;
    color: white;
    transform: scale(1.05);
}

.border-dashed {
    border-style: dashed !important;
    position: absolute;
    left: 10%; /* Posición lateral para la contraloría */
}

.linea-v {
    width: 2px;
    height: 30px;
    background: #adb5bd;
    margin: 0 auto;
}

.unidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 2px solid #adb5bd;
}

@media (max-width: 768px) {
    .unidades-grid { grid-template-columns: 1fr 1fr; }
    .contraloria { position: relative; left: 0; margin-bottom: 10px; }
}


  /* Botones estilo institucional */
  .btn-iepc {
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 25px;
    border: 2px solid #515151;
    color: #515151;
    background: transparent;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
  }

  .btn-iepc:hover {
    background: #515151;
    color: #ffffff;
  }


  .privacy-card {
    transition: all 0.4s ease;
    border: none;
    border-radius: 16px;
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
  }
  
  .privacy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(140, 29, 61, 0.12) !important;
    border-bottom: 3px solid #515151;
  }