/* =============================
   Footer Zigodev credit style
   ============================= */
.footer-zigodev {
    text-align: center;
    margin-top: 18px;
    margin-bottom: 0;
}
.footer-zigodev a {
    color: #fff;
    background: rgba(47,138,230,0.18);
    padding: 6px 18px;
    border-radius: 18px;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(47,138,230,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    display: inline-block;
    letter-spacing: 0.5px;
}
.footer-zigodev a:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(47,138,230,0.18);
    text-decoration: underline;
}
:root {
    --primary-color: #2f8ae6;
    --secondary-color: #65b0fa;
    --text-dark: #2D2D2D;
    --text-light: #666666;
    --background-light: #F5F9FF;
    --white: #FFFFFF;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s;
    text-decoration: none;
    outline: none;
    border: none;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.whatsapp-float i.fab.fa-whatsapp {
    font-size: 2.5rem;
    color: #fff;
    background: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    padding: 20px;
}
/* Reset y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
.header {
    /* background-color: rgba(0, 0, 0, 0.7); */
    background-color: rgb(199 199 199 / 17%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.6s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    flex-shrink: 0;
}

.logo-mark {
    display: block;
    /* width: 170px;
    height: 60px; */
    overflow: visible;
}

.logo-subtitle {
    color: #b1b1b1;
    font-size: 11px;
    margin-top: -20px;
    margin-left: 0px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

.arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% - 5px);
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 0;
    padding: 15px 0 10px 0;
    z-index: 1000;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--background-light);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.office-banking-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

.office-banking-btn:hover::before {
    left: 100%;
}

.office-banking-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 217, 163, 0.3);
}

/* Botón hamburguesa para móvil */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-menu-toggle.active span:first-child {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}



/* Hero Section */
.hero {
    height: 100vh;
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 1400px;
}

/* Splide Hero Slider */
.hero-slider {
    width: 100%;
}

.hero-slider .splide__track {
    overflow: visible;
}

.hero-slider .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    width: 100%;
    padding: 40px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    color: var(--white);
    margin-top: 20px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Splide Arrows personalización */
.hero-slider .splide__arrow {
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider .splide__arrow:hover {
    background: rgba(0, 217, 163, 0.9);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.hero-slider .splide__arrow svg {
    fill: var(--white);
    width: 20px;
    height: 20px;
}

.hero-slider .splide__arrow--prev {
    left: 40px;
}

.hero-slider .splide__arrow--next {
    right: 40px;
}

/* Splide Pagination personalización */
.hero-slider .splide__pagination {
    bottom: 0;
    padding: 0;
}

.hero-slider .splide__pagination__page {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    margin: 0 8px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.hero-slider .splide__pagination__page.is-active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.4);
}

.hero-slider .splide__pagination__page:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.hero-title {
    font-size: 64px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}


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

/* About Section */
.about {
    background-color: var(--background-light);
    padding: 60px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary-color);
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    background-color: var(--white);
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.services-title {
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    animation: expandLine 2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes expandLine {
    to {
        width: 200px;
    }
}

.services-grid {
    padding: 35px 0px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
}

.service-card {
    text-align: left;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateX(15px) scale(1.02);
    filter: drop-shadow(0 10px 30px rgba(0, 217, 163, 0.2));
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
    border-bottom: 2px solid #E0E0E0;
    padding-bottom: 15px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-title i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 26px;
    vertical-align: middle;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-title {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
    transform: translateX(5px);
}

.service-card:hover .service-title i {
    transform: scale(1.15) rotate(5deg);
    color: var(--primary-color);
}

.service-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    transition: color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-description {
    color: var(--text-dark);
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, #F5F9FF 0%, #FFFFFF 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0, 217, 163, 0.1), transparent);
    border-radius: 50%;
    filter: blur(80px);
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.trust-text {
    padding-right: 40px;
}

.trust-title {
    font-size: 42px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 30px;
    position: relative;
}

.trust-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    text-align: justify;
}

.trust-slider-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 61, 165, 0.15);
}

.trust-slider .splide__slide {
    border-radius: 12px;
    overflow: hidden;
}

.trust-slider .splide__slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-slider .splide__slide:hover img {
    transform: scale(1.05);
}

/* Trust Slider Pagination */
.trust-slider .splide__pagination {
    bottom: 20px;
    padding: 0;
}

.trust-slider .splide__pagination__page {
    width: 40px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.trust-slider .splide__pagination__page.is-active {
    background: var(--secondary-color);
    width: 60px;
}

.trust-slider .splide__pagination__page:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta {
    height: 500px;
    background-image: url('puerto2.jfif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

.cta-title {
    font-size: 48px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 20px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cta-subtitle {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-btn {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--secondary-color);
    transform: translate(-50%, -50%);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn:hover {
    color: var(--white);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 217, 163, 0.4);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    align-items: start;
}

.footer-bottom > p {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-logo-subtitle {
    font-size: 10px;
    margin-top: -5px;
    margin-left: 5px;
}

.footer-tagline {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.4;
}

.highlight {
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    text-decoration-thickness: 2px;
}

.footer-legal {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-bottom-center {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-info,
.footer-address {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-terms {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.contact-btn {
    background: linear-gradient(135deg, #FF8C00, #FFA500);
    color: var(--white);
    border: none;
    padding: 15px 25px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    line-height: 1.4;
    transition: transform 0.3s ease;
}

.contact-btn:hover {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
}

.site-by {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.capitan {
    font-weight: 700;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trust-text {
        padding-right: 0;
        text-align: center;
    }
    
    .trust-title {
        font-size: 36px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Mostrar solo el botón de contacto dentro del menú móvil */
    /* Ocultar el botón de contacto en el header en móvil */
    .nav-wrapper > .office-banking-btn {
        display: none !important;
    }
    /* Mostrar solo el botón de contacto dentro del menú móvil */
    .nav-item.mobile-contact-btn .office-banking-btn {
        display: block;
        width: 90%;
        margin: 20px auto;
    }
    .nav-item.mobile-contact-btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Mostrar botón hamburguesa en móvil */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Menú de navegación móvil */
    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        gap: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        padding: 15px 40px;
        width: 100%;
        font-size: 18px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-link .arrow {
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .nav-link .arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-content {
        position: static;
        display: none;
        background-color: rgba(255, 255, 255, 0.05);
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        color: var(--white);
        padding: 12px 40px 12px 60px;
        font-size: 16px;
    }
    
    .dropdown-content a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--secondary-color);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-slider .splide__arrow {
        width: 40px;
        height: 40px;
    }
    
    .hero-slider .splide__arrow--prev {
        left: 10px;
    }
    
    .hero-slider .splide__arrow--next {
        right: 10px;
    }
    
    .services-title {
        font-size: 32px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .trust-title {
        font-size: 28px;
    }
    
    .trust-slider .splide__slide img {
        height: 300px;
    }
    
    .trust-section {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-right {
        align-items: flex-start;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 100px 0;
    position: relative;
}

.contact-title {
    font-size: 48px;
    font-weight: 300;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Formulario de contacto */
.contact-form-container {
    background: var(--white);
    padding: 35px 40px 15px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.form-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--secondary-color);
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 118, 210, 0.4);
}

.submit-btn i {
    font-size: 18px;
}

/* Información de contacto */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-details,
.presence-info {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.info-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.info-item:hover {
    background: #f8fafc;
}

.info-item i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 2px 0;
    line-height: 1.6;
}

.info-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Presencia operativa */
.presence-group {
    margin-bottom: 25px;
}

.presence-group h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.presence-group h4 i {
    color: var(--secondary-color);
    font-size: 18px;
}

.presence-group p {
    font-size: 14px;
    color: var(--text-light);
    margin-left: 28px;
}

.presence-group ul {
    list-style: none;
    margin-left: 28px;
}

.presence-group ul li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.presence-group ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 18px;
    line-height: 1;
}

/* Responsive para Contact Section */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-title {
        font-size: 36px;
    }
    
    .contact-form-container,
    .contact-details,
    .presence-info {
        padding: 30px;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-title {
        font-size: 28px;
    }
    
    .form-title {
        font-size: 22px;
    }
}

/* ============================================
   ANIMACIONES DRAMÁTICAS AL HACER SCROLL
   ============================================ */

/* Estados iniciales - elementos ocultos antes del scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(100px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.animate-title {
    transform: translateY(80px) scale(0.9);
    transition: all 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.animate-fade-up {
    transform: translateY(120px);
    transition: all 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.animate-slide-right {
    transform: translateX(-150px);
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.animate-slide-left {
    transform: translateX(150px);
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Estado animado - cuando el elemento entra en viewport */
.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Efecto de rebote adicional para tarjetas de servicio */
.service-card.animate-on-scroll.animate-in {
    animation: dramaticBounceIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes dramaticBounceIn {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.9) rotateX(-15deg);
    }
    60% {
        opacity: 1;
        transform: translateY(-20px) scale(1.03) rotateX(5deg);
    }
    80% {
        transform: translateY(10px) scale(0.98) rotateX(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

/* Animación de títulos */
.animate-title.animate-in {
    animation: dramaticTitleIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes dramaticTitleIn {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.85);
        filter: blur(10px);
    }
    70% {
        opacity: 1;
        transform: translateY(-10px) scale(1.02);
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

/* Animación fade up dramática */
.animate-fade-up.animate-in {
    animation: dramaticFadeUp 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes dramaticFadeUp {
    0% {
        opacity: 0;
        transform: translateY(120px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mantener la perspectiva 3D en las tarjetas */
.services-grid {
    perspective: 1000px;
}

.service-card {
    transform-style: preserve-3d;
}

/*yo*/
.mobile-contact-btn{
    display: none;
}
