/* CSS General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fbfbfb;
    padding-top: 115px; /* Espacio para el encabezado fijo (ajustado) */
    overflow-x: hidden; /* Evita el scroll horizontal en caso de elementos desbordados */
}

.container {
    max-width: 1100px; /* Reducido para efecto "menos zoom" */
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(251, 251, 251, 0.7);
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 5px solid #0b0c0d;
}

/* Contenedor para logo y botón en el encabezado */
.nav-container {
    display: flex;
    justify-content: space-between; /* Alinea logo a la izquierda y botón a la derecha */
    align-items: center; /* Centra verticalmente */
    width: 100%;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    justify-content: flex-start; /* Asegura que el logo inicie a la izquierda */
    align-items: center;
    flex-grow: 1; /* Permite que el logo-container ocupe el espacio restante */
}

.logo-img {
    max-width: 360px; /* Reducido */
    height: auto;
}

/* Estilos para el botón "Nuestras Soluciones Específicas" */
.solutions-button {
    background-color: #f16d0b; /* Naranja */
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px; /* Estilo píldora */
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease-in-out;
    white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
    border: 2px solid #f16d0b;
    box-shadow: 0 4px 15px rgba(241, 109, 11, 0.4);
    display: inline-block;
}

.solutions-button:hover {
    background-color: #0b0c0d; /* Fondo oscuro al pasar el ratón */
    color: #f16d0b; /* Texto naranja al pasar el ratón */
    transform: translateY(-3px) scale(1.02); /* Efecto de elevación y ligero crecimiento */
    border-color: #0b0c0d;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}


/* === SECCIÓN DE CONTACTO SUPERIOR (CON GEOMETRÍA ANIMADA) === */
.contact-section {
    padding: 50px 0;
    text-align: center;
    background-color: #111;
    position: relative;
    overflow: hidden;
}

.shapes-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shapes-bg .shape {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
    bottom: -150px;
    animation: float-up 25s infinite linear;
}

.shapes-bg .shape:nth-child(1) { left: 10%; width: 80px; height: 80px; animation-delay: 0s; }
.shapes-bg .shape:nth-child(2) { left: 20%; width: 30px; height: 30px; animation-delay: 2s; animation-duration: 12s; }
.shapes-bg .shape:nth-child(3) { left: 25%; animation-delay: 4s; }
.shapes-bg .shape:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-duration: 18s; }
.shapes-bg .shape:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.shapes-bg .shape:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.shapes-bg .shape:nth-child(7) { left: 90%; width: 50px; height: 50px; animation-delay: 7s; animation-duration: 20s; }
.shapes-bg .shape:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 30s; }

@keyframes float-up {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; border-radius: 0; }
    100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; border-radius: 50%; }
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    width: 65px;
    height: 65px;
    background-color: #ffffff;
    color: #0b0c0d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    border: 2px dotted #888;
}

.social-icon:hover {
    background-color: #f16d0b;
    color: #ffffff;
    border-style: solid;
    border-color: #f16d0b;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 107, 10, 0.8), 0 0 25px rgba(255, 107, 10, 0.6);
}

.social-icon i {
    font-size: 32px;
}

/* Sección Hero */
.hero-section {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Fondo naranja metálico con degradado */
    background: linear-gradient(135deg, #FF6F00 0%, #FFB300 50%, #FF6F00 100%);
    /* Puedes ajustar los colores si quieres un tono diferente de naranja metálico */
}

.hero-background::after {
    /* Mantén un ligero overlay oscuro para mejor contraste del texto blanco */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)); /* Opacidad reducida */
    z-index: -1;
}

/* Nota: Asegúrate de que no haya una etiqueta <img> dentro de .hero-background en tu HTML */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Añadido para centrar horizontalmente */
    height: 100%;
    min-height: 550px;
}

.hero-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 15px; /* MODIFICADO */
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.7));
    margin-left: auto;
    margin-right: auto;
}

.hero-url {
    font-size: 22px;
    margin-top: 2px;
    margin-bottom: 25px; /* MODIFICADO */
    color: #000000;
    font-weight: 700;
    text-shadow: none;
    letter-spacing: 1px;
}

/* Reducción del espacio debajo del título del Hero */
.hero-title {
    font-size: 22px; /* Reducido */
    line-height: 1.2;
    margin-bottom: 20px; /* Reducido de 80px a 20px */
    font-weight: 400;
    margin-top: 0; /* MODIFICADO */
}

.hero-subtitle {
    font-size: 20px;
    color: #000000;
    font-weight: 700;
    margin-top: 0; /* Asegura que no haya margen superior adicional si se redujo el de arriba */
}

/* FONDOS ANIMADOS DE SECCIONES BLANCAS - OVALOS */
.oval-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.oval-pattern-bg .oval {
    position: absolute;
    display: block;
    list-style: none;
    width: 80px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    bottom: -150px;
    animation: float-oval 20s infinite linear;
}

.oval-pattern-bg .oval:nth-child(1){ left: 10%; animation-delay: 1s; animation-duration: 15s; }
.oval-pattern-bg .oval:nth-child(2){ left: 20%; width: 40px; height: 10px; animation-delay: 3s; animation-duration: 12s; }
.oval-pattern-bg .oval:nth-child(3){ left: 30%; animation-delay: 5s; }
.oval-pattern-bg .oval:nth-child(4){ left: 40%; width: 100px; height: 25px; animation-delay: 2s; animation-duration: 18s; }
.oval-pattern-bg .oval:nth-child(5){ left: 50%; width: 50px; height: 12.5px; animation-delay: 7s; }
.oval-pattern-bg .oval:nth-child(6){ left: 60%; width: 120px; height: 30px; animation-delay: 9s; animation-duration: 22s; }
.oval-pattern-bg .oval:nth-child(7){ left: 70%; animation-delay: 11s; }
.oval-pattern-bg .oval:nth-child(8){ left: 80%; width: 60px; height: 15px; animation-delay: 13s; animation-duration: 14s; }
.oval-pattern-bg .oval:nth-child(9){ left: 90%; animation-delay: 15s; }
.oval-pattern-bg .oval:nth-child(10){ left: 95%; width: 40px; height: 10px; animation-delay: 8s; animation-duration: 10s; }

@keyframes float-oval {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10%, 90% { opacity: 1; }
    100% { transform: translateY(-800px) rotate(-90deg); opacity: 0; }
}

/* NUEVOS FONDOS ANIMADOS DE SECCIONES BLANCAS - CUADRADOS */
.squared-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.squared-pattern-bg .square {
    position: absolute;
    display: block;
    list-style: none;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    bottom: -100px;
    animation: float-square 20s infinite linear;
}

.squared-pattern-bg .square:nth-child(1) { left: 15%; width: 70px; height: 70px; animation-delay: 0s; }
.squared-pattern-bg .square:nth-child(2) { left: 30%; width: 40px; height: 40px; animation-delay: 2s; animation-duration: 15s; }
.squared-pattern-bg .square:nth-child(3) { left: 45%; animation-delay: 4s; }
.squared-pattern-bg .square:nth-child(4) { left: 60%; width: 80px; height: 80px; animation-duration: 18s; }
.squared-pattern-bg .square:nth-child(5) { left: 75%; width: 30px; height: 30px; animation-delay: 1s; }
.squared-pattern-bg .square:nth-child(6) { left: 5%; width: 90px; height: 90px; animation-delay: 5s; animation-duration: 22s; }
.squared-pattern-bg .square:nth-child(7) { left: 85%; width: 60px; height: 60px; animation-delay: 7s; animation-duration: 17s; }
.squared-pattern-bg .square:nth-child(8) { left: 25%; width: 55px; height: 55px; animation-delay: 10s; }
.squared-pattern-bg .square:nth-child(9) { left: 50%; width: 45px; height: 45px; animation-delay: 12s; animation-duration: 13s; }
.squared-pattern-bg .square:nth-child(10) { left: 95%; width: 35px; height: 35px; animation-delay: 3s; animation-duration: 19s; }

@keyframes float-square {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    100% { transform: translateY(-700px) rotate(360deg); opacity: 0; }
}

/* Secciones Generales */
.services-section, .ecommerce-main-section, .image-showcase-section, .gallery-section-swiper {
    padding: 60px 0; /* Reducido */
    border-bottom: 1px solid #eee;
    position: relative;
    overflow: hidden;
}

.services-section, .image-showcase-section, .gallery-section-swiper { background-color: #ffffff; }
.ecommerce-main-section { background-color: #fbfbfb; }
.image-showcase-section { text-align: center; border: none; }
.services-section.continuation { padding-top: 0; }

.services-section .container, .ecommerce-main-section .container, .gallery-section-swiper .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 40px; /* Reducido */
    font-weight: 700;
    color: #0b0c0d;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.title-separator {
    width: 100px;
    height: 5px;
    background-color: #f16d0b;
    margin: 0 auto 30px auto;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(241, 109, 11, 0.4);
}

.section-subtitle {
    font-size: 19px; /* Reducido */
    color: #555;
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}
.services-section.continuation .services-list { margin-top: 0; }

.service-item {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    z-index: 1;
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #0b0c0d;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-item-img {
    width: 50%;
    min-height: 360px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-item:hover .service-item-img { transform: scale(1.05); }

.service-item-content {
    padding: 35px 45px;
    width: 50%;
}

.service-item.image-right { flex-direction: row-reverse; }

.service-item h3 {
    font-size: 28px;
    font-weight: 700;
    color: #0b0c0d;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.service-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #f16d0b;
    border-radius: 2px;
}

.service-item.image-right h3 { text-align: right; }
.service-item.image-right h3::after { left: auto; right: 0; }
.service-item p { font-size: 16px; color: #555; line-height: 1.7; }
.service-item.social-media-highlight { background: linear-gradient(135deg, #f16d0b 0%, #d35400 100%); color: white; }
.service-item.social-media-highlight h3 { color: #ffffff; }
.service-item.social-media-highlight p { color: #f0f0f0; }
.service-item.social-media-highlight h3::after { background-color: #ffffff; }

.ecommerce-main-section { padding-top: 40px; border-top: 1px solid #eee; }

.ecommerce-hero-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    text-align: center;
}

/* Ajuste de altura para la imagen de E-commerce */
.ecommerce-hero-image {
    width: 100%;
    height: 280px; /* <<<< FOTO REDUCIDA (antes 350px) */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: block;
}

.ecommerce-text-box {
    background-color: #f16d0b;
    color: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-top: -80px;
    position: relative;
    z-index: 5;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.ecommerce-title {
    font-size: 32px; /* Reducido */
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.ecommerce-text-box p { font-size: 17px; line-height: 1.6; color: white; margin-bottom: 15px; }
.ecommerce-text-box p:last-child { margin-bottom: 0; }

.feature-timeline { margin-top: 40px; }

.feature-row { display: flex; align-items: center; gap: 50px; margin-bottom: 50px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-image { flex: 1; min-width: 0; }
.feature-image img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.feature-list { flex: 1; display: flex; flex-direction: column; position: relative; }
.feature-item { display: flex; align-items: flex-start; gap: 20px; position: relative; padding-bottom: 40px; }
.feature-item:last-child { padding-bottom: 0; }

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #0b0c0d;
    color: #f16d0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 2;
    transition: all 0.4s ease-in-out;
}

.feature-item.is-visible .feature-icon {
    background-color: #f16d0b;
    color: #ffffff;
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 5px 20px rgba(241, 109, 11, 0.6);
}

.feature-item:hover .feature-icon {
    background-color: #f16d0b;
    color: #ffffff;
    transform: scale(1.1);
}

.feature-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    width: 2px;
    height: calc(100% - 25px);
    background-color: #ddd;
    z-index: 1;
}

.feature-text h4 { font-size: 22px; color: #f16d0b; margin-bottom: 10px; }
.feature-text p { font-size: 16px; line-height: 1.6; color: #555; }

/* Estilos para la imagen inferior que era muy grande */
.bottom-image-section img {
    display: block;            /* Necesario para poder centrar con márgenes automáticos */
    max-width: 800px;          /* Define el ancho máximo de la imagen (más pequeña) */
    width: 100%;               /* Asegura que sea responsiva y no exceda el max-width */
    margin: 40px auto 0 auto;  /* Centra la imagen horizontalmente y mantiene el margen superior */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* ===== EFECTO DE MOVIMIENTO FLOTANTE (EXISTENTE) ===== */
.floating { animation: floatAnimation 6s ease-in-out infinite; }
@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ===== GALERÍA COVERFLOW ===== */
.swiper-coverflow-container {
    position: relative;
    width: 100%;
    /* Ajustes para visibilidad inicial completa */
    padding: 0 50px; /* Añade padding para que los slides de los extremos se vean mejor */
    box-sizing: border-box; /* Incluye padding en el ancho total */
}

.swiper-coverflow {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-coverflow .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 320px; /* Mantiene un tamaño fijo para los slides */
    height: 320px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    cursor: pointer;
}

.swiper-coverflow .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.swiper-coverflow .swiper-button-next,
.swiper-coverflow .swiper-button-prev {
    color: #f16d0b;
}

/* ===== NUEVOS ESTILOS PARA TARJETA 3D FLIP ===== */
.card-3d-container {
    perspective: 1500px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Reducido */
}

.card-3d {
    width: 450px; /* Reducido */
    max-width: 90%;
    height: 400px; /* Reducido */
    position: relative;
    transition: transform 1.5s ease-in-out;
    transform-style: preserve-3d;
}

.card-3d.is-flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
    overflow: hidden;
}

.card-front {
    background-color: #fff;
}

.card-front .showcase-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #eee;
}

.card-back {
    background-color: #f1f1f1;
    transform: rotateY(180deg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-back h3 {
    color: #0b0c0d;
    font-size: 26px;
    margin-bottom: 10px;
    border-bottom: 2px solid #f16d0b;
    padding-bottom: 8px;
    line-height: 1.2;
}

.card-back ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
    overflow-y: auto;
    max-height: 300px;
}

.card-back li {
    font-size: 15px;
    color: #333;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
    line-height: 1.4;
}
.card-back li:last-child {
    border-bottom: none;
}
.card-back strong {
    color: #f16d0b;
}

/* ===== ESTILOS DEL LIGHTBOX (AJUSTADOS) ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transform: scale(0.6);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease-in-out;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
    opacity: 1;
}


.close-button {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.close-button:hover,
.close-button:focus {
    color: #f16d0b;
    text-decoration: none;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #f16d0b, #d35400);
    color: white;
    border: 2px solid white;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 30px;
    z-index: 10001;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.lightbox-nav:hover {
    background: linear-gradient(90deg, #d35400, #f16d0b);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.lightbox-nav.prev {
    left: 40px;
}

.lightbox-nav.next {
    right: 40px;
}

/* Footer */
.final-footer {
    position: relative;
    background-color: #f16d0b;
    color: white;
    padding: 60px 0;
    border-top: 5px solid #0b0c0d;
}

#footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around; /* MODIFICADO */
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo, .footer-info { text-align: center; } /* MODIFICADO */
.footer-logo img { max-width: 250px; margin-bottom: 10px; display: block; margin-left: auto; margin-right: auto; }
.footer-logo p { font-weight: bold; letter-spacing: 2px; }
.footer-info { text-align: left; }
.footer-info p { margin-bottom: 10px; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.footer-info .name { font-weight: 700; color: #ffffff; font-size: 18px; }
.footer-info i { color: #0b0c0d; width: 20px; text-align: center; }


.contact-button {
    background-color: #0b0c0d;
    color: white;
    text-decoration: none;
    padding: 10px 25px 10px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid #0b0c0d;
    margin-top: 15px; /* AÑADIDO */
}

.contact-button:hover {
    background-color: white;
    color: #0b0c0d;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-button .whatsapp-icon { /* MODIFICADO (era .phone-icon) */
    background-color: #f16d0b;
    border: 2px solid #ffffff;
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
}

.contact-button:hover .whatsapp-icon { /* MODIFICADO (era .phone-icon) */
    background-color: #0b0c0d;
    color: white;
    border-color: #0b0c0d;
}

/* Animaciones de entrada (fade-in-up) para toda la página */
.animated-element {
    opacity: 0; /* Por defecto invisibles */
    transform: translateY(20px); /* Ligeramente desplazados hacia abajo */
    /* NO SE PONE TRANSITION AQUI. La animación @keyframes 'fadeInUp' lo maneja */
}

/* Keyframes para la animación de aparición */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* La clase 'fade-in-up' se agregará por JavaScript cuando el elemento entre en el viewport */
.animated-element.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards; /* Duración de la animación y se mantiene al final */
}

/* Retrasos de animación para diferentes elementos */
.animated-element.delay-1 { animation-delay: 0.1s; }
.animated-element.delay-2 { animation-delay: 0.2s; }
.animated-element.delay-3 { animation-delay: 0.3s; }
.animated-element.delay-4 { animation-delay: 0.4s; }
.animated-element.delay-5 { animation-delay: 0.5s; }
.animated-element.delay-6 { animation-delay: 0.6s; }
.animated-element.delay-7 { animation-delay: 0.7s; }
.animated-element.delay-8 { animation-delay: 0.8s; }
.animated-element.delay-9 { animation-delay: 0.9s; }
.animated-element.delay-10 { animation-delay: 1.0s; }


/* Media Queries */
@media (max-width: 768px) {
    body { padding-top: 130px; } /* Ajustado */
    .logo-img { max-width: 280px; } /* Reducido */
    .hero-title { font-size: 22px; }
    .section-title { font-size: 34px; } /* Reducido */
    .section-subtitle { font-size: 18px; }
    .service-item, .service-item.image-right { flex-direction: column; }
    .feature-row, .feature-row:nth-child(even) { flex-direction: column; }
    .service-item-img, .service-item-content { width: 100%; }
    .service-item-img { max-height: 250px; min-height: auto; }
    .service-item-content { padding: 30px 25px; }
    .service-item.image-right h3, .service-item h3 { text-align: left; }
    .service-item.image-right h3::after, .service-item h3::after { left: 0; right: auto; }
    .footer-container { flex-direction: column; text-align: center; }
    .footer-logo, .footer-info { width: 100%; text-align: center; }
    .footer-info p { justify-content: center; }
    .ecommerce-hero-image { height: 280px; } /* Reducido */
    .ecommerce-text-box { padding: 30px; margin-top: -50px; width: 95%; }
    .ecommerce-title { font-size: 28px; } /* Reducido */
    .ecommerce-text-box p { font-size: 16px; }
    .swiper-coverflow .swiper-slide { width: 280px; height: 280px; }
    .card-back ul { max-height: 250px; }

    .card-3d {
        height: auto;
        min-height: 340px; /* Reducido */
    }
    .lightbox-nav {
        padding: 15px;
        font-size: 24px;
        width: 50px;
        height: 50px;
    }
    .lightbox-nav.prev { left: 15px; }
    .lightbox-nav.next { right: 15px; }
    .hero-logo {
        margin-top: 0; /* MODIFICADO */
    }
    /* Responsividad del nav-container en el encabezado para tablets */
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 20px;
    }
    .solutions-button {
        width: 100%;
        text-align: center;
        padding: 12px 15px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    body { padding-top: 115px; } /* Ajustado */
    .logo-img { max-width: 200px; } /* Reducido */
    .container, .showcase-container { padding-left: 15px; padding-right: 15px; }
    .hero-content { padding: 0 15px; }
    .service-item-content { padding: 25px 20px; }
    .service-item h3 { font-size: 22px; }
    .contact-title { font-size: 28px; }
    .hero-title { font-size: 20px; }
    .social-icon { width: 60px; height: 60px; }
    .social-icon i { font-size: 30px; }
    .ecommerce-hero-image { height: 200px; } /* Reducido */
    .swiper-coverflow .swiper-slide { width: 240px; height: 240px; }
    
    .card-3d {
        height: auto;
        min-height: 300px;
    }
    .card-back ul { max-height: 280px; }
    .lightbox-nav {
        padding: 10px;
        font-size: 20px;
        width: 45px;
        height: 45px;
    }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
    .hero-logo {
        margin-top: 0; /* MODIFICADO */
    }
    .hero-url {
        font-size: 18px;
    }
    .hero-title {
        font-size: 18px;
    }
    /* Responsividad del nav-container en el encabezado para móviles pequeños */
    .solutions-button {
        font-size: 14px;
        padding: 10px 15px;
    }
}