body {
    font-family: Arial;
    margin: 0;
    background: #f5f5f5;
}

header {
    background: #c21010;
    color: white;
    text-align: center;
    padding: 20px;
}

#catalogo {
    padding: 20px;
}

#contenedor {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#logo-flotante {
    position: fixed;
    top: 10px;
    bottom: 0px;
    left: 20px;
    width: 120px;
    height: 120px;

    object-fit: contain; /* 👈 CAMBIA ESTO */

    background: white; /* opcional, para que no se vea feo el fondo */
    padding: 5px;

    border-radius: 50%; /* mejor redondo perfecto */
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 1000;

    transition: all 0.3s ease;
}

/* efecto al pasar el mouse 🔥 */
#logo-flotante:hover {
    transform: scale(1.1) rotate(5deg);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 10px;
}

.card p {
    margin: 10px;
}

#whatsapp {
    position: fixed;
    bottom: 120px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

#contacto {
    padding: 20px;
    background: #f5f5f5;
}

#formulario {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

#formulario input,
#formulario textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#formulario button {
    background: black;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}


nav {
    margin-top: 15px;
    text-align: center; /* 🔥 centra todo */
}

nav a {
    display: inline-block;
    color: rgb(14, 5, 5);
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* efecto bonito al pasar el mouse */
nav a:hover {
    background: rgb(7, 0, 0);
    color: #c21010;
}


#quienes {
    padding: 30px;
    max-width: 900px;
    margin: auto;
    line-height: 1.6;
}

#quienes h2 {
    text-align: center;
    margin-bottom: 20px;
}

#quienes h3 {
    margin-top: 20px;
    color: #c21010;
}



.mensaje-exito {
    display: none;
    color: green;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

.mensaje-error {
    display: none;
    color: red;
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}

/* ===== PÁGINA GRACIAS ===== */

.contenedor-gracias {
    text-align: center;
    padding: 80px 20px;
}

.check {
    font-size: 60px;
    color: green;
    animation: aparecer 0.6s ease;
}

.mensaje-gracias {
    margin-top: 20px;
    font-size: 20px;
}

.btn-volver {
    margin-top: 30px;
    padding: 12px 25px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-volver:hover {
    background: #555;
}

/* Animación */
@keyframes aparecer {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}/* ===== INSTAGRAM FLOTANTE ===== */
.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
    position:  fixed;
}

