/* ======================== */
/* ROOT VARIABLES */
/* ======================== */
:root {
    --primary-dark: #0a2d4d; 
    --primary: #1a5688;
    --primary-light: #3a86ba;
    --accent: #3a86ba;
    --text-light: #ffffff;
    --text-gray: #e0e0e0;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ======================== */
/* GLOBAL STYLES */
/* ======================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    color: #333;
    line-height: 1.6;
}

/* ======================== */
/* MAIN NAVIGATION - IMPROVED */
/* ======================== */
.nav-principal-Cliente {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
    border-bottom: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .logo {
    height: 70px;
    width: auto;
    transition: var(--transition) cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.nav-brand:hover .logo {
    transform: scale(1.1) rotate(-5deg);
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-link {
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.8px;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    border-radius: 50px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.nav-link:hover::before {
    transform: translateX(100%);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: var(--accent); 
    font-weight: 700;
    animation: subtlePulse 2s infinite;
    box-shadow: 0 0 10px rgba(58, 134, 186, 0.5);
}

@keyframes subtlePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.nav-slogan .slogan {
    height: 60px;
    width: auto;
    opacity: 0.95;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* ======================== */
/* HERO BANNER - IMPROVED */
/* ======================== */
.hero-banner {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.banner-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(10, 45, 77, 0.85) 0%, 
                rgba(26, 86, 136, 0.75) 50%, 
                rgba(58, 134, 186, 0.6) 100%);
    z-index: 1;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1200px;
    text-align: center;
    color: white;
    z-index: 2;
    padding: 20px;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    animation: fadeInDown 1s ease;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.banner-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin: 0 auto 25px;
    max-width: 700px;
    font-weight: 300;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ======================== */
/* MISSION/VISION SECTION - IMPROVED */
/* ======================== */

.about-section {
    background-color: #f8f9fa;
    padding: 60px 5%;
    color: #333;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
}

.trajectory, .mission-vision, .values {
    margin-bottom: 40px;
}

.trajectory p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.mv-item h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.mv-item p {
    line-height: 1.6;
}

.values h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.values ul {
    list-style: none;
    padding-left: 20px;
}

.values li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    line-height: 1.6;
}

.values li::before {
    content: '•';
    color: var(--accent);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}

/* CONTACTO Y MAPA */
.contact-map {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    position: sticky;
    top: 20px;
}

.contact-info h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon img {
    width: 90px;
    height: auto;
}

.phone-link {
    font-size: 1.5rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--accent);
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-map {
        position: static;
    }
}

@media (max-width: 576px) {
    .about-text h2 {
        font-size: 2rem;
    }
    
    .phone-link {
        font-size: 1.2rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* ======================== */
/* Tarjeta de Reclutamiento Compacta Mejorada */
/* ======================== */
.reclutamiento-card {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.card-container {
    display: flex;
    max-width: 850px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    min-height: 280px; /* Aumenté la altura */
    align-items: center; /* Centra verticalmente todo el contenido */
}

.card-image {
    flex: 0 0 250px; 
    position: relative;
    margin-left: 40px;
    height: 100%;
    display: flex;
    align-items: flex-end; 
}

.card-image img {
    width: auto;
    height: 150%;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.card-content {
    flex: 1;
    padding: 30px 40px 30px 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra el contenido verticalmente */
    height: 100%;
}

.card-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, #fff, #e0e9f5);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.card-content p {
    font-size: 1.1rem; /* Tamaño de fuente ligeramente mayor */
    line-height: 1.5;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.9);
    max-width: 90%;
}

/* Botón con efecto de pulso restaurado */
.pulse-button {
    align-self: flex-start;
    margin-top: 10px;
    margin-left: 90px;
    position: relative;
    padding: 14px 35px;
    font-size: 1.1rem;
    color: white;
    background-color: var(--primary-light);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 0 0 rgba(58, 134, 186, 0.7);
    transition: all 0.3s ease;
    animation: pulse 1.5s infinite; /* Animación de pulso restaurada */
}

.pulse-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(58, 134, 186, 0.4);
    animation: none; /* Detiene la animación al hacer hover */
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 134, 186, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(58, 134, 186, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(58, 134, 186, 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        max-width: 400px;
        min-height: auto;
        padding-bottom: 20px;
    }
    
    .card-image {
        flex: 0 0 180px;
        width: 100%;
        margin-right: 0;
        align-items: center;
        justify-content: center;
    }
    
    .card-image img {
        height: auto;
        width: 80%;
        max-height: 200px;
        transform: none;
    }
    
    .card-content {
        padding: 25px;
        text-align: center;
        align-items: center;
    }
    
    .card-content p {
        max-width: 100%;
    }
    
    .pulse-button {
        align-self: center;
    }
}
  

/* ======================== */
/* FOOTER - IMPROVED */
/* ======================== */
footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 5% 30px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-social img {
    height: 25px;
    width: 25px;
}

.footer-center {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
}

.link-column h4 {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.link-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.link-column ul {
    list-style: none;
}

.link-column li {
    margin-bottom: 12px;
}

.link-column a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.link-column a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

.link-column a:hover {
    color: white;
}

.link-column a:hover::after {
    width: 100%;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-newsletter h4 {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-newsletter p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 0 2px var(--accent);
}

.newsletter-form button {
    padding: 12px 15px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.newsletter-form button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-gray);
    font-size: 13px;
}

/* ======================== */
/* FOOTER - IMPROVED */
/* ======================== */
footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 60px 5% 30px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1.3fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    padding-right: 20px;
}

.footer-logo img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-social img {
    height: 25px;
    width: 25px;
}

.footer-center {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 30px 0;
    align-items: flex-end;
}

.link-column h4 {
    color: var(--accent);
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-column li {
    margin-bottom: 8px;
}

.link-column a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}

.link-column a:hover {
    color: white;
}

.footer-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* ======================== */
/* FOOTER REDISEÑADO */
/* ======================== */

.footer-right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}


footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 40px 5% 20px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    position: relative;
    padding-bottom: 40px;
}

.footer-left {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-social img {
    height: 20px;
    width: 20px;
}

.footer-center {
    flex: 1;
    min-width: 200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.link-column h4 {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-column li {
    margin-bottom: 10px;
}

.link-column a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.link-column a:hover {
    color: white;
}

.footer-right {
    flex: 1;
    min-width: 250px;
}

/* Texto de derechos reservados */
footer h5 {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ======================== */
/* LOGIN ADMIN COMPACTO */
/* ======================== */
.admin-login {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.login-title {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-align: center;
}

.admin-login .login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-login .form-group {
    position: relative;
}

.admin-login input {
    width: 100%;
    padding: 12px 12px 12px 35px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: white;
    font-size: 13px;
    transition: var(--transition);
}

.admin-login input::placeholder {
    color: rgba(255,255,255,0.5);
}

.admin-login input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0,0,0,0.6);
    box-shadow: 0 0 0 2px rgba(58, 134, 186, 0.3);
}

.admin-login .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--accent);
}

.admin-login .login-actions {
    margin-top: 10px;
}

.admin-login-btn {
    width: 100%;
    background: linear-gradient(to right, var(--primary-dark), var(--accent));
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-login-btn:hover {
    background: linear-gradient(to right, var(--accent), var(--primary-light));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ======================== */
/* RESPONSIVE DESIGN */
/* ======================== */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
        padding-bottom: 60px;
    }
    
    .footer-center {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    footer h5 {
        padding-top: 15px;
    }
}

@media (max-width: 576px) {
    .footer-left, 
    .footer-center, 
    .footer-right {
        width: 100%;
        min-width: auto;
    }
    
    .footer-logo img {
        height: 50px;
    }
    
    footer h5 {
        font-size: 11px;
    }
}

/* ======================== */
/* FOOTER - POSICIONAMIENTO AJUSTADO */
/* ======================== */

footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 40px 5% 20px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
}

.footer-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    position: relative;
    padding-bottom: 40px;
    justify-content: space-between; /* Añadido para distribuir espacio */
}

/* Columna izquierda - Logo y redes */
.footer-left {
    flex: 0 0 200px; /* Ancho fijo */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alineado a la izquierda */
    gap: 20px;
}

/* Columna central - Enlaces */
.footer-center {
    flex: 1;
    max-width: 400px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 0 auto; /* Centrado horizontal */
}

/* Columna derecha - Login admin */
.footer-right {
    flex: 0 0 250px; /* Ancho fijo */
    display: flex;
    justify-content: flex-end; /* Alineado a la derecha */
}

/* Texto de derechos reservados */
footer h5 {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    padding-top: 5px;
    border-top: 2px solid rgba(255,255,255,0.1);
}

/* ======================== */
/* AJUSTES RESPONSIVE */
/* ======================== */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
        padding-bottom: 60px;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
    
    .footer-center {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-right {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-center {
        grid-template-columns: 1fr;
    }
    
    footer h5 {
        font-size: 11px;
    }
}
 

/* Estilos del botón hamburguesa */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.nav-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Versión móvil */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: var(--primary-dark);
        flex-direction: column;
        padding: 20px 0;
        transition: all 0.4s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-slogan {
        display: none;
    }
    
    /* Animación del botón */
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* ======================== */
/* TEXTOS JUSTIFICADOS */
/* ======================== */
p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    margin-bottom: 1em;
    line-height: 1.6;
}

/* Excepciones para móviles */
@media (max-width: 768px) {
    p {
        text-align: left;
        hyphens: none;
    }
}

/* Ajustes para elementos específicos */
.banner-subtitle,
.mv-item p,
.values li,
.contact-info p {
    text-align: center;
    hyphens: none;
}

.card-content p {
    text-align: left;
}

/* Nuevo  */

.servicios-rapidos {
  display: flex;
  justify-content: center;   /* Centra horizontalmente */
  align-items: center;       /* Alinea verticalmente */
  gap: 20px;                  /* Espaciado entre botones */
  margin: 40px auto;
  padding: 0 16px;
  flex-wrap: wrap;            /* Permite que bajen en pantallas pequeñas */
}

.button-cvr,
.button-cvr-lg {
  --clr-font-main: hsla(0 0% 20% / 100);
  --btn-bg-1: hsla(194 100% 69% / 1);
  --btn-bg-2: hsla(217 100% 56% / 1);
  --btn-bg-color: hsla(0 0% 100% / 1);
  --radii: 0.5em;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 1.2em 1.5em;

  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--btn-bg-color);

  cursor: pointer;
  border: none;
  border-radius: var(--radii);

  background-size: 280% auto;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );

  transition: transform 0.15s ease, background-position 0.8s ease,
              box-shadow 0.15s ease;
  box-shadow:
    0 0 25px rgba(71, 184, 255, 0.45),
    0 8px 16px -6px rgba(58, 125, 233, 0.4),
    inset 4px 4px 8px rgba(175, 230, 255, 0.45),
    inset -4px -4px 8px rgba(19, 95, 216, 0.35);
}

.button-cvr-lg {
  width: 280px; /* Igual que el más largo */
}

.button-cvr:hover,
.button-cvr-lg:hover {
  background-position: right top;
  transform: translateY(-2px);
}

.button-cvr:active,
.button-cvr-lg:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .button-cvr,
  .button-cvr-lg {
    transition: none;
  }
}
