/* --- RESET & GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* --- NAVBAR --- */
.navbar {
    background-color: #0b1e4f;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    object-fit: contain;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a.active, nav a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.nav-icons {
    display: flex;
    gap: 15px;
}

.nav-icons a {
    color: #fff;
    font-size: 16px;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, #0b1e4f 0%, #1a367c 60%, #152c61 100%);
    color: #fff;
    padding: 60px 0 80px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-green {
    background-color: #00b050;
    color: #fff;
}

.btn-green:hover {
    background-color: #009142;
}

.btn-outline {
    background-color: #ffffff;
    color: #0b1e4f;
}

.btn-outline:hover {
    background-color: #e2e2e2;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- SECCIÓN PRODUCTOS --- */
.products {
    padding: 60px 0 30px 0;
}

.section-title {
    text-align: center;
    color: #0b1e4f;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.product-card {
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-header {
    padding: 15px;
    text-align: center;
    color: #fff;
}

.card-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-footer {
    padding: 15px;
    color: #fff;
    text-align: center;
    font-size: 13px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Colores de Tarjetas */
.card-blue .card-header, .card-blue .card-footer { background-color: #123380; }
.card-green .card-header, .card-green .card-footer { background-color: #27963c; }
.card-darkblue .card-header, .card-darkblue .card-footer { background-color: #0066b3; }
.card-orange .card-header, .card-orange .card-footer { background-color: #d9531e; }

/* --- DETALLES DE PRODUCTO --- */
.product-details {
    padding: 30px 0 60px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.detail-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-top: 4px solid #0b1e4f;
}

.detail-icon {
    font-size: 28px;
    color: #0b1e4f;
    margin-bottom: 12px;
}

.detail-box h4 {
    font-size: 18px;
    color: #0b1e4f;
    margin-bottom: 10px;
}

.detail-box p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* --- SECCIÓN INTEGRACIONES --- */
.integrations {
    padding: 50px 0;
    background-color: #fff;
}

.section-subtitle {
    color: #123380;
    font-weight: 600;
    margin-bottom: 30px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.partner-logo {
    font-size: 24px;
    font-weight: 800;
    font-style: italic;
}

.logo-ubereats { color: #000; }
.logo-rappi { color: #ff441f; }
.logo-pedidosya { color: #ea0042; }
.logo-bancard { color: #00529b; }
.logo-infonet { color: #e30613; }

.erp-integrations {
    background: #f0f4f8;
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
}

.erp-integrations h3 {
    color: #0b1e4f;
    font-size: 20px;
    margin-bottom: 10px;
}

.erp-integrations p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.erp-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.erp-chip {
    background: #0b1e4f;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* --- CASOS DE ÉXITO --- */
.cases {
    padding: 50px 0;
}

.title-with-lines {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.title-with-lines::before, .title-with-lines::after {
    content: "";
    height: 2px;
    width: 100px;
    background-color: #ccc;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.case-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.cases-banner {
    background-color: #0b1e4f;
    color: #fff;
    text-align: center;
    padding: 18px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* --- FOOTER --- */
.footer {
    background-color: #081330;
    color: #fff;
    padding: 50px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-logo {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 16px;
    border-bottom: 1px solid #1a367c;
    padding-bottom: 5px;
}

.brand-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    font-size: 11px;
    font-weight: 700;
}

.brand-badges span {
    background: #1a367c;
    padding: 4px 8px;
    border-radius: 4px;
}

.contact-list {
    list-style: none;
    font-size: 13px;
}

.contact-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 18px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-social {
    background-color: #1a2e61;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    transition: background 0.3s;
}

.btn-social:hover {
    background-color: #274389;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        display: none;
    }
}
/* Transición suave para las imágenes y GIFs en las tarjetas */
.card-img img, .hero-image img, .case-card img {
    transition: transform 0.4s ease, filter 0.3s ease;
}

/* Efecto Hover elegante sobre las imágenes */
.product-card:hover .card-img img, .case-card:hover img {
    transform: scale(1.04);
}

.hero-image img {
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}
/* SECCIÓN DE CONTACTO & FORMULARIO */
.contact-section {
    padding: 60px 0;
    background: #060b1e;
    border-top: 1px solid rgba(0, 210, 255, 0.2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-card {
    background: #0b1536;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #00d2ff;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #060b1e;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #00d2ff;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.3);
}

/* CAMPO TRAMPA HONEYPOT (Invisible para humanos) */
.hp-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
}

/* ESTADO Y ALERTAS DEL FORMULARIO */
.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}
.form-status.success {
    display: block;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid #25d366;
    color: #25d366;
}
.form-status.error {
    display: block;
    background: rgba(255, 77, 77, 0.15);
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}