
:root{
--jd-primary:#00adb5;
--jd-primary-d:#028a93;
}

/* Reemplazo azul Bootstrap */
.btn-primary,
.lp.btn-primary{
background:linear-gradient(135deg,var(--jd-primary) 0%,var(--jd-primary-d) 100%);
border-color:var(--jd-primary);
}
.btn-primary:hover,
.lp.btn-primary:hover{
background:linear-gradient(135deg,#00b9c3 0%,#04939d 100%);
border-color:#04939d;
}

.btn-outline-primary{
    color:var(--jd-primary);
    border-color:var(--jd-primary);
    /* background:rgba(0,173,181,.06); */
    transition:.35s;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary.active{
color:#fff;
background:linear-gradient(135deg,var(--jd-primary) 0%,var(--jd-primary-d) 100%);
border-color:transparent;
box-shadow:0 6px 18px -6px rgba(0,173,181,.45);
}
.btn-outline-primary:active{
background:linear-gradient(135deg,#00b9c3 0%,#04939d 100%);
}

.badge-primary{
background-color:var(--jd-primary);
}
.text-primary{
color:var(--jd-primary)!important;
}

/* Iconos dentro de filtros */
.skill-filters .btn-outline-primary i{
color:inherit;
opacity:.9;
transition:.35s;
}
.skill-filters .btn-outline-primary:hover i,
.skill-filters .btn-outline-primary.active i{
opacity:1;
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled{
color:#5faeb3;
border-color:#5faeb3;
background:rgba(0,173,181,.05);
box-shadow:none;
}

.loader-background.hide {
    opacity: 0;
    transform: scale(0);
    z-index: -1; 
}
.loader-background.show {
    opacity: 1;
    transform: scale(1);     
    z-index: 998; 
}            
.loader-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* border: 4px solid red; */
    background: rgba(255,255,255,0.5);                            
    transform: 0.5s all ease-in;
}
.loader-component {
    position: absolute;
    left: 50%;
    top: 50%;           
}

.download-file-pdf {
    margin-right: 1rem;
}
.download-file-pdf:after {
    display: none!important;
}
.download-file-pdf:before {
    content: "\f1c1"!important;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    left: 87%!important;
    /* content: "\f138"; */
    top: 1px!important;
    position: absolute!important;
    /* right: initial!important; */
    transform: initial!important;
    position: relative;
    background: transparent!important;
    font-size: 21px;
    left: 0.75rem;
    color: white;
    top: .1rem;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;              
}
a.btn.lp.btn-primary.download-file-pdf span {
    padding-right: 1rem;
}    


/* FOOTER */
.footer-section-one {
    margin-top: 2.5rem;
}
footer *{
    font-family: 'Open Sans', sans-serif;
}
footer .addon{
    height: 8px;
    /*border: 1px solid red;*/
    background: -moz-linear-gradient(71deg, rgba(52,58,64,1) 24%, rgb(0, 172, 184) 100%); /* ff3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(52,58,64,1)), color-stop(100%, rgba(0,83,89,1))); /* safari4+,chrome */
    background: -webkit-linear-gradient(71deg, rgba(52,58,64,1) 24%, rgb(0, 172, 184) 100%); /* safari5.1+,chrome10+ */
    background: -o-linear-gradient(71deg, rgba(52,58,64,1) 24%, rgb(0, 172, 184) 100%); /* opera 11.10+ */
    background: -ms-linear-gradient(71deg, rgba(52,58,64,1) 24%, rgb(0, 172, 184) 100%); /* ie10+ */
    background: linear-gradient(71deg, rgba(52,58,64,1) 24%, rgb(0, 172, 184) 100%); /* w3c */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#343a40', endColorstr='#005359',GradientType=1 ); /* ie6-9 */
}

footer .addon .col-main{
    background: red;
    height: 100%;
}

.footer{	
    /*position: absolute;*/
    position: relative;
    /*bottom: 75px;*/
    width: 100%;
    /*height: 330px;*/
    line-height: 60px;
    background-color: #343a40; /* #f5f5f5;*/
    border-top: 0px solid #212529;
}
.footer > div {	
    color:#dee2e6;
}
footer .social-content{}
footer span.text-muted.text-heaeder-foot{
    border-bottom: 1px dashed #00acb9;
    padding-bottom: 4px;
}
footer .social-content a.fab, footer .social-content a.fa {
    font-size: 32px;
    color: #00acb9;
    transition: all 0.5s;
}
footer .social-content a.fab:hover, footer .social-content a.fa:hover {
    transition: all 0.5s;
    color: #fff;
    text-decoration: none;
}
footer .social-content .social-text{
    line-height: 20px;
    font-size: 13px;
    color: #6c757d;
    padding-top: 12px;
    border-top: 1px solid #00acb9;
}

footer .social-content .col:hover p {
    color: #dee2e6;
    transition: all 0.5s;
}
footer .social-content .col.border-top-custom{
    border-top: 1px dotted #2f5355;
    border-right: 1px dashed #424d4e;
}
footer .social-content .col.border-top-custom:last-child{
    border-right: none;
}
footer .social-content .single-text{
    font-size: 18px;
    font-family: Roboto;
    display: inline-block;
    margin-left: 0.5rem;
}
/* Footer Line */
footer .sub-footer{
    background: #212529;
}
footer .sub-footer .jd-container{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #00acb9;
    background: #16232e;
}
footer .sub-footer .jd-container img{
    display: inline-block;
    width: 40px;
    position: relative;
}

footer .back-content .jd-container{}
footer .sub-footer .back-content .jd-container{
    overflow: hidden;
}
footer .sub-footer .back-content .jd-container img{
    width: 100%;
}


/* -------------- */
footer .card-avatares{
-webkit-transition: -webkit-transform 0.6s;
-moz-transition: -moz-transform 0.6s;
-o-transition: -o-transform 0.6s;
transition: transform 0.6s;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d; 
}
footer .card-avatares.flipped{
-webkit-transform: rotateY( 180deg);
-moz-transform: rotateY( 180deg);
-o-transform: rotateY( 180deg);
transform: rotateY( 180deg);
}
footer .front-content,
footer .back-content {
display: block;
height: 100%;
width: 100%;
line-height: 60px;
color: white;
text-align: center;
font-size: 4em;
position: absolute;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-o-backface-visibility: hidden;
backface-visibility: hidden;
}
footer .back-content {
    width: 100%;
    font-size: 16px;
    line-height: 25px;
    -webkit-transform: rotateY( 180deg);
    -moz-transform: rotateY( 180deg);
    -o-transform: rotateY( 180deg);
    transform: rotateY( 180deg);
}
/* -------------- */
footer .derechos{
    font-size: 12px;
}


.col-5.color-txt{
    color:#868e96;
}
footer .jd-text{
    font-size: 12px;
    line-height: 20px;
}
.col-5.color-txt .jd-text strong{
    color: #868e96;
}

















/*
####################################################
M E D I A  Q U E R I E S
####################################################
*/
/* MEDIA QUERIES  */
@media (min-width: 0) {
    /* Header */
    .cta-buttons-container a {
        line-height: 1;
    }                
    .jd-logo-dark {
        position: absolute;
    }
    .show-menu-responsive .jd-logo-dark {
        left: calc(50% + -20px);
        top: 16px;                    
    }

    .jd-logo-dark img{
        opacity: 0.3;
    }
    .show-text-sm {
        display: inline-block;
    }
    .show-text-md {  
        display: none;
    }      
    .btn-header-align {
        width: 215px;
        border-radius: 12px!important;
    }   
    .cta-buttons-container {
        order: 2;
        display: flex;
        flex-direction: column;
    }                


    .contact-btn{
        margin-top: 0.56rem!important;
    }
    .btn-header-align {
        margin: 0 0 0 auto;
    }               
}
@media (min-width: 576px) {
    /* Header */

}

@media (min-width: 768px) {

    .show-menu-responsive .jd-logo-dark {
        top: 10px;
    }    

    .section-menu-cta-buttons {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;                    
        max-width: 100%;
    }                
    .section-menu-cta-buttons a:nth-child(2){
        margin-left: 0!important;
        margin-top: 0.5rem!important;
    }
    .cta-buttons-container a {
        line-height: 1;
    }                       

    /* Header */
    .jd-logo-dark {
        position: initial;
        left: initial;
        top: initial;                    
    }
    .jd-logo-dark img{
        opacity: initial;
    }

    .btn-header-align {
        width: 100%;
        border-radius: 50px!important;
    }

    .cta-buttons-container {
        order: 1;
        flex-direction: column;
        flex-shrink: 0;                    
    }                                

    .contact-btn {
        margin-top: 0!important;
        margin-left: 1rem!important;
    }
    .btn-header-align {
        margin: initial;
    }                
}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {
    .section-menu-cta-buttons {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto; 
        max-width: 1200px;
    }

    .section-menu-cta-buttons a:nth-child(2){
        margin-left: 1.25rem!important;
        margin-top: initial!important;
    }

    .cta-buttons-container a {
        line-height: initial;
    }                

    .show-text-sm {                 
        display: none;
    }                
    .show-text-md {  
        display: inline-block
    }
    .cta-buttons-container {
        flex-direction: row;
    }      
    .btn-header-align {
        width: initial;
    }                              
}

.d-sorpresa-none {
    display: none!important;
}

/* SKILLS  */ 
.skills-section {
    background: transparent;
    position: relative;
}

.skills-surface {
    background: #f7f9fb; /* gris muy tenue */
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 28px;
    box-shadow: 0 8px 24px -12px rgba(0,0,0,0.12);
    transition: box-shadow .35s;
}

.skills-surface:hover {
    box-shadow: 0 10px 28px -10px rgba(0,0,0,0.16);
}

.skill-grid .card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
}

.skill-grid .card:hover {
    border-color: rgba(0,173,181,0.35);
}

@media (max-width: 767.98px) {
    .skills-surface {
        border-radius: 20px;
        /* padding: 2rem 1.25rem !important; */
    }
}

.btn-top{
    position: fixed;
    right: 22px;
    bottom: 26px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #89cacd 0%, #028a93 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 8px 22px -6px rgba(0, 0, 0, .65);
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: opacity .3s, transform .3s, box-shadow .35s;
    z-index: 997;
}
.btn-top.show{
    opacity:.95;
    transform: translateY(0);
    pointer-events:auto;
    border: 2px solid white;
    z-index: 999;
}
.btn-top:hover{
    box-shadow:0 12px 28px -8px rgba(0,173,181,.45);
}
.btn-top:focus{
    outline:2px solid #fff;
    outline-offset:2px;
}
@media (max-width:575.98px){
    .btn-top{
        width: 34px;
        height: 34px;
        right:15px;
        bottom:18px;
        font-size:18px;
        i {
            font-size: 1.25rem;            
        }
    }
}
.btn:active {
transform: translateY(0);
box-shadow: 0 0 0.25rem rgba(246,54,79,.4);
}            

.btn-glow {
position: relative;
overflow: hidden;
transition: color .3s ease;
}
.btn-glow::after {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle at 50% 50%, rgba(246,54,79,.45), transparent 70%);
opacity: 0;
transform: scale(0.6);
transition: opacity .4s ease, transform .5s ease;
pointer-events: none;
}
.btn-glow:hover::after {
opacity: 1;
transform: scale(1);
}


.btn-pulse:hover {
animation: glowPulse 1.8s ease-in-out infinite;
}
@keyframes glowPulse {
0%,100% { box-shadow: 0 0 0.4rem rgba(246,54,79,.35); }
50% { box-shadow: 0 0 0.9rem rgba(246,54,79,.45); }
}


.btn-cert-pdf{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.55rem;
    padding:.65rem .9rem;
    border-radius:18px;
    background:rgba(0,173,181,.08);
    color:#00adb5;
    border:1px solid rgba(0,173,181,.35);
    font-weight:600;
    font-size:.85rem;
    letter-spacing:.5px;
    line-height:1;
    transition:background .35s, box-shadow .35s, transform .35s, color .35s, border-color .35s;
    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
    white-space:nowrap;
}
.btn-cert-pdf--xl{
    padding: 5px 20px;
    border-radius:28px;
}
.btn-cert-pdf .btn-cert-icon{
    display:inline-flex;
    width:32px;
    height:32px;
    border-radius:50%;
    background:linear-gradient(135deg,#00adb5 0%,#028a93 100%);
    color:#fff;
    align-items:center;
    justify-content:center;
    box-shadow:0 4px 12px -4px rgba(0,173,181,.45);
    transition:transform .35s;
    font-size:16px;
}
.btn-cert-pdf:hover{
    background:linear-gradient(135deg,#00adb5 0%,#028a93 100%);
    color:#fff;
    border-color:transparent;
    box-shadow:0 10px 26px -8px rgba(0,173,181,.55);
    transform:translateY(-3px);
}
.btn-cert-pdf:hover .btn-cert-icon{
    transform:rotate(12deg) scale(1.08);
}
.btn-cert-pdf:active{
    transform:translateY(0);
    box-shadow:0 6px 18px -6px rgba(0,173,181,.55);
}
.btn-cert-pdf::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    padding:2px;
    background:linear-gradient(140deg,#00adb5,#028a93 45%,#3bd8e2 90%);
    -webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
            mask-composite:exclude;
    opacity:.45;
    transition:opacity .4s;
    pointer-events:none;
}
.btn-cert-pdf:hover::after{opacity:.9;}
@media (max-width:767.98px){
    .btn-cert-pdf{font-size:.75rem;padding:.60rem .75rem;}
    .btn-cert-pdf--xl{padding:.65rem .85rem;}
    .btn-cert-pdf .btn-cert-icon{width:30px;height:30px;font-size:15px;}
}
@media (max-width:575.98px){
    /* .btn-cert-text{display:none!important;} */
    .btn-cert-pdf{border-radius:20px;}
}




/* ===========================
SECCIÓN: CÓMO TRABAJO (JD)
=========================== */

.workflow-section {
    position: relative;
    background: #f8f9fb;
}

.workflow-surface {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Títulos */
.jd-title {
    font-weight: 800;
    font-size: 2.8rem;
    color: #222;
}

.jd-subtitle {
    color: #666;
    margin-top: -10px;
    font-size: 1.1rem;
}

/* ===========================
   SEPARADOR SVG
=========================== */
.jd-wave-top svg {
    display: block;
    width: 100%;
    margin-bottom: -5px;
}

/* ===========================
   FONDO VECTORIAL TENUE
=========================== */
.jd-bg-tech {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(12,192,196,0.05), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(12,192,196,0.04), transparent 60%),
        radial-gradient(circle at 50% 40%, rgba(0,0,0,0.03), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ===========================
   CONTENEDOR PRINCIPAL
=========================== */
.workflow-section {
    background: #f6f8fb;
    position: relative;
}

.workflow-surface {
    position: relative;
    background: rgba(255,255,255,0.9);
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    backdrop-filter: blur(5px);
    z-index: 5;
}

/* Títulos */
.jd-title {
    font-weight: 800;
    font-size: 2.7rem;
    color: #1f1f1f;
}

.jd-subtitle {
    color: #4d4d4d;
    margin-top: -8px;
    font-size: 1.1rem;
}


/* NAVEGACIÓN  */
/* .nav-chips .chips-scroll{display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;gap:.5rem}
.nav-chips .chip{white-space:nowrap;border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:.25rem .75rem;color:#fff} */

/* === Chips grandes legibles en el header (solo desktop) === */
/* === stack minimal en header claro === */
.stack-min{
  display:flex;
  flex-wrap:wrap;
  gap:.25rem .9rem;           /* espacio horizontal y vertical */
  align-items:center;
}
.stack-min .stack-item{
  position:relative;
  font-size:.95rem;           /* ~15–16px */
  color:#243b4a;              /* gris azulado legible en fondo claro */
  text-decoration:none;
  padding:.2rem .4rem;
  border-radius:.5rem;
  transition:background .12s ease, color .12s ease;
}
.stack-min .stack-item:hover{
  background:rgba(0,0,0,.045);
  color:#0fb6b0;              /* teal de tu paleta */
}
.stack-min .stack-item:not(:last-child)::after{
  content:"·";
  margin-left:.9rem;
  opacity:.38;
}

@keyframes chipIn{to{opacity:1;transform:none}}


/* Menú: menos separación horizontal en desktop */
@media (min-width: 992px){
  #navigation-menu .nav-link{padding:.35rem .55rem}
  #navigation-menu .navbar-nav .nav-item{margin-right:.25rem}
}

/* Permite wrap si hace falta (no rompe tu scroll JS) */
#navigation-menu .navbar-nav{
    flex-wrap:wrap;
    padding-left: 5px;
}

/* CTA container: alinea y no invada el menú */
@media (min-width: 992px){
  .section-menu-cta-buttons{display:flex;align-items:center}
  .cta-buttons-container{margin-left:auto;display:flex;gap:.5rem}
}
@media (max-width: 991.98px){
  .cta-buttons-container{order:3;width:100%;justify-content:space-between;padding-top:.25rem}
}




/* ===== ESTILOS PARA EL LOADER DEL FORMULARIO DE CONTACTO ===== */
.form-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px; /* Mismo borde que la tarjeta */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-loader-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* === LOGO FIJO Y CENTRADO EN MÓVIL === */
@media (max-width: 767px) {
    .section-contact-info {
        display: none;
    }
}

#contact-info .contact-info-mini {
    font-size: 0.85rem;
    opacity: 0.95;
}

#contact-info .contact-info-mini i {
    font-size: 0.9rem;
}

/* === Estado activo del menú (chip sección actual) === */
#navigation-menu .navbar-nav .nav-item.active .nav-link,
#navigation-menu .navbar-nav .nav-item .nav-link.active {
    background: linear-gradient(135deg, #ff3660 0%, #df6576 100%);
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(255, 54, 96, 0.45);
    border: none;
}

/* Hover sobre el activo: un pelín más claro */
#navigation-menu .navbar-nav .nav-item.active .nav-link:hover,
#navigation-menu .navbar-nav .nav-item .nav-link.active:hover {
    background: linear-gradient(135deg, #fc3a62 0%, #df6576 100%);
    color: #ffffff !important;
}

