/* ================== RESET BÁSICO ================== */
#ventajas-contacto {

    min-height: 120vh; /* altura mínima mayor para que se vea amplia */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

#ventajas-contacto .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

#ventajas-contacto h1 {
    font-size: 3rem; /* título más grande */
    color: #b90909;  /* rojo visible */
    margin-bottom: 30px;
}

#ventajas-contacto h2 {
    font-size: 2rem;
    color: #fffb00;  /* amarillo */
    margin-top: 40px;
    margin-bottom: 20px;
}

#ventajas-contacto p {
    font-size: 1.15em; /* párrafo más grande */
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
}

#ventajas-contacto .values-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto 30px auto;
    padding: 0;
}

#ventajas-contacto .values-list li {
    font-size: 1.2em; /* más grande */
    margin-bottom: 15px;
    text-align: left;
}

#ventajas-contacto .values-list i {
    color: #d87c1a; /* naranja */
    margin-right: 10px;
}

#ventajas-contacto .section-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    margin-top: 40px;
    animation: slideIn 1s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    #ventajas-contacto h1 {
        font-size: 2.2rem;
    }
    #ventajas-contacto h2 {
        font-size: 1.5rem;
    }
    #ventajas-contacto p,
    #ventajas-contacto .values-list li {
        font-size: 1em;
    }
}












* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* ================== COLORES GENERALES ================== */
body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #162dbe;
}

a:hover {
    color: #e89014;
}

/* ================== MENÚ FIJO (tu CSS original) ================== */
.fixed-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #161616;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.fixed-nav:hover {
    background-color: #d87c1a;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
}

.fixed-nav ul {
    list-style: none;
    display: flex;
}

.fixed-nav li {
    margin-left: 20px;
}

.fixed-nav a {
    color: white;
    transition: color 0.3s;
}

.fixed-nav a:hover {
    color: #ffd700;
}

/* ================== FOOTER (también se queda como lo tenías) ================== */
footer {
    background: #000000;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* ================== ESTILO GENERAL DE CARDS (Unificado con Sobre Nosotros) ================== */
.section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Grid de cualquier sección */
.section-grid, 
.services-grid, 
.sobre-nosotros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Card universal */
.card, 
.service-card, 
.sobre-nosotros-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

/* Efecto brillante al pasar */
.card::before,
.service-card::before,
.sobre-nosotros-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(216, 124, 26, 0.15), transparent);
    transition: 0.5s;
}

.card:hover::before,
.service-card:hover::before,
.sobre-nosotros-card:hover::before {
    left: 100%;
}

/* Hover cards */
.card:hover,
.service-card:hover,
.sobre-nosotros-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background-color: #fff8e1; /* suave amarillo */
}

/* Iconos de las cards */
.card i,
.service-card i,
.sobre-nosotros-card i {
    color: #d87c1a; /* Naranja */
    font-size: 2.5em;
    margin-bottom: 15px;
    animation: bounce 1s infinite alternate;
}

/* Títulos */
.card h3,
.service-card h3,
.sobre-nosotros-card h3 {
    color: #fffb00; /* Amarillo */
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Texto */
.card p,
.service-card p,
.sobre-nosotros-card p {
    font-size: 1em;
    color: #444;
    line-height: 1.5;
}

/* Ajustes de Títulos de Secciones */
h1, h2, h3 {
    color: #fffb00; /* Solo amarillo */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

h1::after, h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #d87c1a; /* Línea naranja */
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Animación Bounce */
@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
}

#sobre-nosotros {
    padding-top: 100px;
    scroll-margin-top: 80px; /* para navegación con anclas */
}



#mantenimiento-maquinaria,
#limpieza-sanitizacion,
#renta-venta,
#ventajas-contacto {
  scroll-margin-top: 80px; /* Ajusta este valor al alto de tu navbar */
}




.back-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #b90909; /* Color rojo visible */
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 1000; /* Siempre por encima del contenido */
}

.back-button:hover {
  background-color: #8a0707;
  transform: scale(1.05);
}



#sobre-nosotros h1 {
  color: #b90909;   /* Rojo visible */
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
  
  scroll-margin-top: 80px;
}
.section.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
