/*!
 * Start Bootstrap - Agency v1.1.1 (http://startbootstrap.com/template-overviews/agency)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */
body {
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif
}

.text-muted {
    color: #777777
}

.text-primary {
    color: #fed136
}

p {
    font-size: 14px;
    line-height: 1.75
}

p.large {
    font-size: 16px
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: none
}

a {
    color: #617fde
}

a:hover,
a:focus,
a:active,
a.active {
    color: #fec503
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    color: #333;
}

.img-centered {
    margin: 0 auto
}

.bg-light-gray {
    background-color: #f4f4f5
}

.bg-darkest-gray {
    background-color: #222222
}

.btn-primary {
    color: white;
    background-color: #617fde;
    border-color: #617fde;
    border-radius: 30px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 300
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    color: white;
    background-color: #617fde;
    border-color: #617fde
}

.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-image: none
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    background-color: #fed136;
    border-color: #fed136
}

.btn-primary .badge {
    color: #fed136;
    background-color: white
}

.btn-xl {
    color: white;
    background-color: #617fde;
    border-color: #617fde;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    border-radius: 50px;
    font-size: 16px;
    padding: 15px 30px
}

.btn-xl:hover,
.btn-xl:focus,
.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    color: white;
    background-color: #617fde;
    border-color: #617fde;
}

.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    background-image: none
}

.btn-xl.disabled,
.btn-xl[disabled],
fieldset[disabled] .btn-xl,
.btn-xl.disabled:hover,
.btn-xl[disabled]:hover,
fieldset[disabled] .btn-xl:hover,
.btn-xl.disabled:focus,
.btn-xl[disabled]:focus,
fieldset[disabled] .btn-xl:focus,
.btn-xl.disabled:active,
.btn-xl[disabled]:active,
fieldset[disabled] .btn-xl:active,
.btn-xl.disabled.active,
.btn-xl[disabled].active,
fieldset[disabled] .btn-xl.active {
    background-color: #fed136;
    border-color: #fed136
}

.btn-xl .badge {
    color: #fed136;
    background-color: white
}

.navbar-custom {
    background-color: #222222;
    border-color: transparent
}

.navbar-custom .navbar-brand {
    color: #c761de;
    font-family: 'Roboto', sans-serif;
}

.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus,
.navbar-custom .navbar-brand:active,
.navbar-custom .navbar-brand.active {
    color: #617fde
}

.navbar-custom .navbar-collapse {
    border-color: rgba(255, 255, 255, 0.02)
}

.navbar-custom .navbar-toggle {
    background-color: #617fde;
    border-color: #617fde;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    color: white;
    font-size: 12px
}

.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background-color: #617fde;
}

.navbar-custom .nav li a {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
    color: #818b99;
}

.navbar-custom .nav li a:hover,
.navbar-custom .nav li a:focus {
    color: #617fde;
    outline: none
}

.navbar-custom .navbar-nav > .active > a {
    border-radius: 0;
    color: white;
    background-color: #617fde
}

.navbar-custom .navbar-nav > .active > a:hover,
.navbar-custom .navbar-nav > .active > a:focus {
    color: white;
    background-color: #617fde
}

@media (min-width: 768px) {
    .navbar-custom {
        background-color: transparent;
        padding: 25px 0;
        -webkit-transition: padding 0.3s;
        -moz-transition: padding 0.3s;
        transition: padding 0.3s;
        border: none
    }
    .navbar-custom .navbar-brand {
        font-size: 2em;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s
    }
    .navbar-custom .navbar-nav > .active > a {
        border-radius: 3px
    }
}

@media (min-width: 768px) {
    .navbar-custom.affix {
        background-color: rgba(255, 255, 255, .95);
        border-bottom: 1px solid #e9e9e9;
        padding: 10px 0
    }
    .navbar-custom.affix .navbar-brand {
        font-size: 1.5em
    }
}

header {
    background-image: url(../img/3.png);
background-attachment: scroll !important; /* Elimina fixed */
    background-position: center center;
    background-size: cover; /* Cambiado para mejor cobertura */
    text-align: center; /* Centrado para mejor balance */
    width: 100%;
    height: 100vh; /* Pantalla completa */
    
    /* Nuevo diseño */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Overlay para mejor legibilidad del texto */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(44, 62, 80, 0.4) 0%,
        rgba(44, 62, 80, 0.2) 50%,
        rgba(44, 62, 80, 0.4) 100%
    );
    z-index: 1;
}

header .intro-text {
 position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 800px;
    text-align: left; /* Alineación izquierda */
    margin-left: 0; /* Quita margen automático */
    margin-right: auto; /* Empuja a la izquierda */
}

header .intro-text .intro-lead-in {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}


header .intro-text .intro-heading {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 700; /* Más peso para impacto */
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 40px;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    letter-spacing: 2px;
}

/* Botón call-to-action */
.header-cta {
    display: inline-block;
    padding: 15px 40px;
    background: #2c5aa0;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-cta:hover {
    background: #1e3d6f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Responsive mejorado */
@media (min-width: 768px) {
    header .intro-text {
        padding-top: 0; /* Eliminado el padding fijo */
    }
    
    header .intro-text .intro-lead-in {
        font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 25px;
    color: white;
    text-shadow: 0 4px 8px rgba(0,0,0,0.6);
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    }
    
    header .intro-text .intro-heading {
        font-size: 72px;
        line-height: 1.1;
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    header {
        background-attachment: scroll; /* Sin parallax en móvil */
        height: 80vh;
    }
    
    header .intro-text .intro-lead-in {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    header .intro-text .intro-heading {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 30px;
    }
    
    .header-cta {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header .intro-text > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

header .intro-text .intro-lead-in {
    animation-delay: 0.3s;
    opacity: 0;
}

header .intro-text .intro-heading {
    animation-delay: 0.6s;
    opacity: 0;
}

.header-cta {
    animation-delay: 0.9s;
    opacity: 0;
}
section {
    padding: 100px 0
}

section h2.section-heading {
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 15px;
}

section h3.section-subheading {
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
    text-transform: none;
    font-weight: 300;
    color: #6f7c82;
    line-height: 1.5;
    margin-bottom: 75px
}

@media (min-width: 768px) {
    section {
        padding: 101px 0
    }
}

.service-heading {
    margin: 15px 0;
    text-transform: none
}

#portfolio .portfolio-item {
    margin: 0 0 15px;
    right: 0
}

#portfolio .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    max-width: 400px;
    margin: 0 auto
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover {
    background: rgba(254, 209, 54, 0.9);
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
    opacity: 1
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    position: absolute;
    width: 100%;
    height: 20px;
    font-size: 20px;
    text-align: center;
    top: 50%;
    margin-top: -12px;
    color: white
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
    margin: 0
}

#portfolio .portfolio-item .portfolio-caption {
    max-width: 400px;
    margin: 0 auto;
    background-color: white;
    text-align: center;
    padding: 25px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
}

#portfolio .portfolio-item .portfolio-caption h4 {
    text-transform: none;
    margin: 0
}

#portfolio .portfolio-item .portfolio-caption p {
    font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: italic;
    font-size: 16px;
    margin: 0
}

#portfolio * {
    z-index: 2
}

@media (min-width: 767px) {
    #portfolio .portfolio-item {
        margin: 0 0 30px
    }
}

.timeline {
    list-style: none;
    padding: 0;
    position: relative
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: "";
    width: 2px;
    background-color: #f1f1f1;
    left: 40px;
    margin-left: -1.5px
}

.timeline > li {
    margin-bottom: 50px;
    position: relative;
    min-height: 50px
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table
}

.timeline > li:after {
    clear: both
}

.timeline > li .timeline-panel {
    width: 100%;
    float: right;
    padding: 0 20px 0 100px;
    position: relative;
    text-align: left
}

.timeline > li .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto
}

.timeline > li .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto
}

.timeline > li .timeline-image {
    left: 0;
    margin-left: 0;
    width: 80px;
    height: 80px;
    position: absolute;
    z-index: 100;
    background-color: #fed136;
    color: white;
    border-radius: 100%;
    border: 7px solid #f1f1f1;
    text-align: center
}

.timeline > li .timeline-image h4 {
    font-size: 10px;
    margin-top: 12px;
    line-height: 14px
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    text-align: left;
    padding: 0 20px 0 100px
}

.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto
}

.timeline > li:last-child {
    margin-bottom: 0
}

.timeline .timeline-heading h4 {
    margin-top: 0;
    color: inherit
}

.timeline .timeline-heading h4.subheading {
    text-transform: none
}

.timeline .timeline-body > p,
.timeline .timeline-body > ul {
    margin-bottom: 0
}

@media (min-width: 768px) {
    .timeline:before {
        left: 50%
    }
    .timeline > li {
        margin-bottom: 100px;
        min-height: 100px
    }
    .timeline > li .timeline-panel {
        width: 41%;
        float: left;
        padding: 0 20px 20px 30px;
        text-align: right
    }
    .timeline > li .timeline-image {
        width: 100px;
        height: 100px;
        left: 50%;
        margin-left: -50px
    }
    .timeline > li .timeline-image h4 {
        font-size: 13px;
        margin-top: 16px;
        line-height: 18px
    }
    .timeline > li.timeline-inverted > .timeline-panel {
        float: right;
        text-align: left;
        padding: 0 30px 20px 20px
    }
}

@media (min-width: 992px) {
    .timeline > li {
        min-height: 150px
    }
    .timeline > li .timeline-panel {
        padding: 0 20px 20px
    }
    .timeline > li .timeline-image {
        width: 150px;
        height: 150px;
        margin-left: -75px
    }
    .timeline > li .timeline-image h4 {
        font-size: 18px;
        margin-top: 30px;
        line-height: 26px
    }
    .timeline > li.timeline-inverted > .timeline-panel {
        padding: 0 20px 20px
    }
}

@media (min-width: 1200px) {
    .timeline > li {
        min-height: 170px
    }
    .timeline > li .timeline-panel {
        padding: 0 20px 20px 100px
    }
    .timeline > li .timeline-image {
        width: 170px;
        height: 170px;
        margin-left: -85px
    }
    .timeline > li .timeline-image h4 {
        margin-top: 40px
    }
    .timeline > li.timeline-inverted > .timeline-panel {
        padding: 0 100px 20px 20px
    }
}

.team-member {
    text-align: center;
    margin-bottom: 50px
}

.team-member img {
    margin: 0 auto;
    border: 7px solid white
}

.team-member h4 {
    margin-top: 25px;
    margin-bottom: 0;
    text-transform: none
}

.team-member p {
    margin-top: 0
}

aside.clients img {
    margin: 50px auto
}

section#contact .section-heading {
    color: #333
}

section#contact .form-group {
    margin-bottom: 25px
}

section#contact .form-group input,
section#contact .form-group textarea {
    padding: 20px
}

section#contact .form-group input.form-control {
    height: auto
}

section#contact .form-group textarea.form-control {
    height: 236px
}

section#contact .form-control:focus {
    border-color: #fed136;
    box-shadow: none
}

section#contact::-webkit-input-placeholder {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee
}

section#contact:-moz-placeholder {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee
}

section#contact::-moz-placeholder {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee
}

section#contact:-ms-input-placeholder {
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #eeeeee
}

section#contact .text-danger {
    color: #e74c3c
}

footer {
    padding: 25px 0;
    text-align: center
}

footer span.copyright {
    line-height: 40px;
    font-family: 'Roboto', sans-serif;
    color: #8c8f94;
    text-transform: uppercase;
    text-transform: none
}

footer ul.quicklinks {
    margin-bottom: 0;
    line-height: 40px;
    font-family: 'Roboto', sans-serif;
    ;
    text-transform: uppercase;
    text-transform: none
}

ul.social-buttons {
    margin-bottom: 0
}

ul.social-buttons li a {
    display: block;
    background-color: #222222;
    height: 40px;
    width: 40px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 40px;
    color: white;
    outline: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
    background-color: #fed136
}

.btn:focus,
.btn:active,
.btn.active,
.btn:active:focus {
    outline: none
}

footer ul {
    list-style-type: none;
}

.portfolio-modal .modal-dialog {
    margin: 0;
    height: 100%;
    width: auto
}

.portfolio-modal .modal-content {
    border-radius: 0;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    min-height: 100%;
    padding: 100px 0;
    text-align: center
}

.portfolio-modal .modal-content h2 {
    margin-bottom: 15px;
    font-size: 3em
}

.portfolio-modal .modal-content p {
    margin-bottom: 30px
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 30px;
    font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: italic;
    font-size: 16px
}

.portfolio-modal .modal-content ul.list-inline {
    margin-bottom: 30px;
    margin-top: 0
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px
}

.portfolio-modal .close-modal {
    position: absolute;
    width: 75px;
    height: 75px;
    background-color: transparent;
    top: 25px;
    right: 25px;
    cursor: pointer
}

.portfolio-modal .close-modal:hover {
    opacity: 0.3
}

.portfolio-modal .close-modal .lr {
    height: 75px;
    width: 1px;
    margin-left: 35px;
    background-color: #222222;
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    z-index: 1051
}

.portfolio-modal .close-modal .lr .rl {
    height: 75px;
    width: 1px;
    background-color: #222222;
    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    z-index: 1052
}

.portfolio-modal .modal-backdrop {
    opacity: 0;
    display: none
}

::-moz-selection {
    text-shadow: none;
    background: #fed136
}

::selection {
    text-shadow: none;
    background: #fed136
}

img::selection {
    background: transparent
}

img::-moz-selection {
    background: transparent
}



.p-about {
    font-size: 18px !important;
    font-weight: 300;
    color: #000;
}

.span-about {
    font-size: 16px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.6);
}

.footer-text {
    font-size: 15px;
    font-weight: 400;
    color: #414446;
}

.top-margin-md {
    margin-top: 40px!important;
}

.top-margin-lg {
    margin-top: 60px!important;
}

.before-header {
    font-size: 24px;
    font-weight: 200;
}

.bottom-margin-sm {
    margin-bottom: 20px!important
}
.scroll-to-top {
    position: fixed;
    bottom: 33px;
    right: 30px;
    width: 80px;
    height: 85px;
    background: linear-gradient(135deg, #2c5aa0, #1e3d6f);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    border: 2px solid white;
    padding-left: 24px; /* Mueve la flecha a la derecha dentro del círculo */
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background: #1e3d6f;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Efecto de pulso opcional */
.scroll-to-top.pulse {
    animation: pulse 2s infinite;
}


/* ===== MEJORAS DINÁMICAS Y MODERNAS ===== */

/* 1. ANIMACIONES SUAVES PARA SECCIONES */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 2. MEJORAS PARA SERVICIOS */
.service-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #617fde;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(97, 127, 222, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-icon {
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #617fde;
    font-weight: bold;
}

/* 3. PROCESOS MEJORADOS */
.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #617fde;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: #2c5aa0;
}

/* 4. CLIENTES ANIMADOS */
.client-logo {
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.client-logo:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.client-logo i {
    transition: all 0.3s ease;
    color: #617fde;
}

.client-logo:hover i {
    transform: scale(1.2);
    color: #2c5aa0;
}

/* 5. CONTACTO MEJORADO */
.contact-info {
    background: white;
    padding: 135px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-size: 20px;
}

.contact-info h4 {
    color: #617fde;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h4 i {
    font-size: 1.2em;
}

/* 6. NAVEGACIÓN MEJORADA */
.navbar-custom.affix {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-custom .nav li a {
    position: relative;
    transition: color 0.3s ease;
}

.navbar-custom .nav li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #617fde;
    transition: width 0.3s ease;
}

.navbar-custom .nav li a:hover::after,
.navbar-custom .nav li.active a::after {
    width: 100%;
}

/* 7. BOTONES MEJORADOS */
.btn-primary, .btn-xl {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before, .btn-xl::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before, .btn-xl:hover::before {
    left: 100%;
}

/* 8. HEADER MEJORADO */
header .intro-text .intro-heading {
    background: linear-gradient(135deg, #fff, #e8f4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 9. EFECTO DE MÁQUINA DE ESCRIBIR (OPCIONAL) */
.typewriter {
    overflow: hidden;
    border-right: 3px solid #617fde;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

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

/* 10. ESTADÍSTICAS ANIMADAS (OPCIONAL - puedes agregar después) */
.counter {
    font-size: 3rem;
    font-weight: bold;
    color: #617fde;
}


/* MEJORAS DE RENDIMIENTO */
html, body {
    scroll-behavior: auto !important; /* Desactiva smooth nativo */
}

/* Optimiza las animaciones */
section {
    transform: translateZ(0); /* Acelera hardware */
    backface-visibility: hidden;
}

/* Desactiva transiciones problemáticas temporalmente */
.navbar-custom,
.service-item,
.process-step,
.client-logo {
    transition: none !important;
}

/* 12. MEJORAS RESPONSIVE */
@media (max-width: 768px) {
    .service-item {
        margin-bottom: 30px;
    }
    
    .process-step {
        margin-bottom: 30px;
    }
    
    .client-logo {
        margin-bottom: 20px;
    }
}


/* 14. FOOTER MEJORADO */
footer {
    background: #2c3e50;
    color: white;
}

footer .copyright {
    color: #bdc3c7;
}

footer .quicklinks a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

footer .quicklinks a:hover {
    color: #617fde;
    text-decoration: none;
}


.service-link {
    outline: none !important;          /* ← Línea PRINCIPAL */
    text-decoration: none !important;  /* ← Para quitar subrayados */
    border: none !important;     
}

.p-about {
    text-align: justify;
}

       .section-padding {
            padding: 100px 0;
        }
        
        .section-heading {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: #2170a2;
            font-weight: 700;
        }
        
        .section-subheading {
            font-size: 1.2rem;
            margin-bottom: 50px;
        }
        
        .bg-light-gray {
            background-color: #f8f9fa;
        }
        
        /* MEJORAS SECCIÓN PROCESO */
        .process-step {
            text-align: center;
            padding: 30px 20px;
            margin-bottom: 30px;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .process-step:hover {
            transform: translateY(-10px);
        }
        
        .step-number {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #2170a2, #2c8ccc);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            font-weight: bold;
            margin: 0 auto 25px auto;
            box-shadow: 0 8px 20px rgba(33, 112, 162, 0.3);
            position: relative;
            z-index: 2;
        }
        
        .process-step h4 {
            color: #2170a2;
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .process-step p {
            line-height: 1.6;
            color: #666;
        }
        
        /* Línea conectadora entre pasos */
        .process-connection {
            position: absolute;
            top: 40px;
            left: 50%;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, #2170a2, #2c8ccc);
            z-index: 1;
            display: none;
        }
        
        /* MEJORAS SECCIÓN CLIENTES */
        .client-logo {
            text-align: center;
            padding: 40px 20px;
            background: white;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            height: 100%;
            border: 1px solid #e9ecef;
        }
        
        .client-logo:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
            border-color: #2170a2;
        }
        
        .client-logo i {
            color: #2170a2;
            margin-bottom: 20px;
            display: block;
            transition: all 0.3s ease;
        }
        
        .client-logo:hover i {
            transform: scale(1.2);
            color: #2c8ccc;
        }
        
        .client-logo p {
            font-weight: 600;
            color: #333;
            margin: 0;
            font-size: 1.1rem;
        }
        
        /* Estadísticas adicionales */
        .stats-section {
            background: linear-gradient(135deg, #2170a2, #2c8ccc);
            color: white;
            padding: 60px 0;
            margin-top: 50px;
            border-radius: 15px;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        /* Responsive */
        @media (min-width: 768px) {
            .process-connection {
                display: block;
            }
        }
        
        @media (max-width: 767px) {
            .process-step {
                margin-bottom: 40px;
            }
            
            .section-heading {
                font-size: 2rem;
            }
        }


        .navbar {
    min-height: 50px !important;
    margin-bottom: 0;
}

.navbar-header {
    height: 50px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    padding: 8px 15px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
}

.navbar-logo {
    height: 77px !important;
    padding-left: 47px; /* Muy compacto */
    max-width: 125px !important;
    display: block !important;
}

/* Botón hamburguesa también más compacto */
.navbar-toggle {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    padding: 6px 10px !important;
}

.navbar-toggle .icon-bar {
    width: 22px;
    height: 2px;
}

.navbar {
    transition: all 0.4s ease-in-out;
}

.navbar-hidden {
    opacity: 0;
    transform: translateY(-100%);
    visibility: hidden;
}

.navbar-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.process-section {
  position: relative;
  background: linear-gradient(135deg, #203cb8 0%, #98a24b 100%);
  color: white;
}

.process-step {
  background: #ffffff;
  border-radius: 12px;
  padding: 34px;
  margin-bottom: 40px 40px;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
  color: #212529;
}

.process-step:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-color: #2170a2;
}

.process-step h4 {
  color: #2170a2 !important; /* Color corporativo para títulos */
  font-weight: 600;
}

.process-step p.text-muted {
  color: #6c757d !important; /* Gris estándar de Bootstrap */
}

.footer-links {
    font-size: 14px;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2170a2;
}

.emails {
    margin-top: 8px;
}

.emails small {
    color: #8c8f94;
}

/* CLASE ESPECÍFICA PARA PROCESOS */
.proceso-titulo {
    color: white !important;
    font-size: 6rem !important; /* 48px aproximadamente */
    font-weight: 700 !important;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.proceso-subtitulo {
    color: white !important;
    font-size: 3.3rem !important; /* 20.8px aproximadamente */
    font-weight: 300 !important;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 50px;
}
.container-footer {
    padding: 20px 0; /* Reduce el padding vertical */
}
