/* === ESTILOS DE LA NUEVA HOMEPAGE === */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    color: #2c3e50;
}

.section-title p {
    font-size: 1.1rem;
    color: #6c757d;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--whatsapp-color);
    color: #fff;
}
.btn-primary:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}
.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}
.btn i {
    margin-right: 8px;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    color: white;
    text-align: center;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}
.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
.btn-hero {
    font-size: 1.2rem;
    padding: 18px 40px;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.benefit-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.benefit-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #343a40;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}
.product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.product-info {
    padding: 30px;
}
.product-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
}
.product-specs {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}
.product-specs li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.product-specs li::before {
    content: '\f058'; /* Font Awesome check-circle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--whatsapp-color);
    position: absolute;
    left: 0;
    top: 2px;
}
.tech-sheet-cta {
    text-align: center;
    margin-top: 40px;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Final CTA Section */
.cta-section {
    padding: 80px 20px;
    background-color: var(--footer-bg);
    text-align: center;
    color: #fff;
}
.cta-section h2 {
    color: #fff;
    font-size: 2.5rem;
}
.cta-section p {
    margin-bottom: 30px;
}
.cta-section .btn-primary {
    background-color: var(--primary-color);
}
.cta-section .btn-primary:hover {
    background-color: var(--secondary-color);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    animation: none;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1, .section-title h2, .cta-section h2 {
        font-size: 2.2rem;
    }
}