* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.contenedor {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #ffffff;
    color: #333;
    padding: 15px 0;
    border-bottom: 2px solid #e2e8f0;
}

/* Cabecera centrada */
.header-centrado {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.logo-centro img {
    max-height: 65px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.botones-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    padding: 0 10px;
}

.botones-header .btn-head {
    background: #c1272c !important;
    color: #ffffff;
}

.botones-header .btn-head:hover {
    background: #9e1f24 !important;
}

.hero {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn, .btn-head {
    display: inline-block;
    background: #c1272c;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover, .btn-head:hover {
    background: #9e1f24;
}

.servicios {
    padding: 60px 20px;
}

.servicios h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.tarjeta {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid #c1272c;
}

.tarjeta h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

.tarjeta ul {
    list-style: none;
}

.tarjeta li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Carrusel Infinito de Clientes */
.seccion-clientes {
    padding: 60px 0;
    text-align: center;
    background-color: #ffffff;
    overflow: hidden;
    width: 100%;
}

.seccion-clientes h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #0f172a;
}

.seccion-clientes .clientes-subtitulo {
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1rem;
    padding: 0 20px;
}

.carrusel-wrapper {
    width: 100%;
    overflow: hidden;
    display: block;
    position: relative;
}

.carrusel-cinta {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    animation: deslizarClientes 45s linear infinite;
}

.carrusel-cinta:hover {
    animation-play-state: paused;
}

.cliente-box {
    width: 180px;
    height: 90px;
    margin: 0 12px;
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0 !important;
}

.cliente-box img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

@keyframes deslizarClientes {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.contacto {
    background: #e2e8f0;
    padding: 60px 20px;
    text-align: center;
}

form {
    max-width: 500px;
    margin: 20px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    font-size: 1rem;
}

footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

.whatsapp-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}