/* Estilos personalizados para Tu Cocina Digital - página comercial */

:root {
    --primary-dark: #201812;
    --accent-orange: #eb6031;
    --accent-amber: #f7a520;
    --background-section-dark: #241a13;
    --background-section-light: #fdf1e4;
    --background-light: #fffaf3;
    --white: #ffffff;
    --text-color: #2c2620;
    --text-muted: #6c635a;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-light);
}

/* --- Navbar --- */
.navbar-logo {
    height: 34px;
    width: auto;
}
.navbar {
    transition: background-color 0.3s ease;
}

/* --- Hero --- */
.hero {
    background: linear-gradient(135deg, rgba(32, 24, 18, 0.92), rgba(32, 24, 18, 0.85)),
                url('https://images.pexels.com/photos/2696064/pexels-photo-2696064.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 0;
}

.hero h1 .text-highlight {
    background: linear-gradient(135deg, var(--accent-amber), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Botones --- */
.btn {
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(235, 96, 49, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d6532a, #e0941c);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(235, 96, 49, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    transform: translateY(-4px);
}

.pulse-button {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(235, 96, 49, 0.35); }
    50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(235, 96, 49, 0.55); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(235, 96, 49, 0.35); }
}

/* --- Secciones --- */
#how-it-works {
    background-color: var(--background-section-dark);
    color: var(--white);
}
#features { background-color: var(--white); }
#synergy { background-color: var(--background-section-light); }
#faq { background-color: var(--background-section-light); }

#how-it-works h2, #how-it-works h5 { color: var(--white); }
#how-it-works p { color: rgba(255, 255, 255, 0.8); }
#how-it-works .step-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
#how-it-works .step-number {
    border: 4px solid var(--background-section-dark);
}

.step-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    padding: 2.5rem 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    border: 4px solid var(--background-light);
}

/* --- Ventajas --- */
.feature-card {
    border: none;
    border-radius: 15px;
    background-color: var(--white);
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.text-primary { color: var(--accent-orange) !important; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.feature-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* --- Sinergia con Tu Menú Digital --- */
.synergy-card {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    padding: 2.5rem;
}
.synergy-logo {
    height: 32px;
    width: auto;
}

/* --- Contacto --- */
#contact {
    background: var(--primary-dark);
    background-image: linear-gradient(135deg, var(--primary-dark) 0%, #4a2e1a 100%);
}

/* --- Pie de página --- */
footer {
    background-color: var(--white);
    border-top: 1px solid #e9ecef;
}

/* --- WhatsApp flotante --- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1030;
    animation: pulse-whatsapp 2.2s infinite;
    transition: transform 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 576px) {
    .whatsapp-float { width: 52px; height: 52px; font-size: 26px; bottom: 16px; right: 16px; }
}

/* --- FAQ / Acordeón --- */
.accordion-item { border: none; margin-bottom: 12px; border-radius: 12px !important; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.05); }
.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) { background-color: #fdf1e4; color: var(--primary-dark); }
.accordion-button:focus { box-shadow: none; border-color: rgba(0,0,0,0.06); }

/* --- Responsividad --- */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        background-attachment: scroll;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}
