/* GENERAL */
body {
    background: #000000;
    color: white;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
    background: #d40000;
    padding: 20px 10px;
    height: 55px;
}

.navbar-brand {
    color: whitesmoke !important;
    font-weight: bold;
    font-size: 20px;
}

.nav-link {
    color: white !important;
    margin-right: 15px;
    font-size: 15px;
}

/* ==== HERO ==== */
.hero {
    width: 100%;
    min-height: 50px;
    border-bottom: 2px solid white;
    border-radius: 10px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 10px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: 1100px;
}

/* LOGO */
.hero-logo img {
    width: 170px;
    height: auto;
    margin-top: -120px;
    margin-left: -250px;
    border-radius: 10px;
    filter: drop-shadow(0 0 35px #fa0404e7);
}



/* TEXTO */
.hero-text h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 11px;
    color: white;
    text-shadow: 0 4px 15px rgba(0,0,0,0.9);
    filter: drop-shadow(0 0 35px #fa0404e7);
}

.hero-desc {
    font-size: 22px;
    line-height: 1;
    max-width: 600px;
    color: #eaeaea;
    margin-bottom: 90px;
    filter: drop-shadow(0 0 35px hsl(0, 17%, 98%));
    
}

/* RESPONSIVE HERO */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero {
        min-height: 380px;
        padding: 30px 20px;
    }

    .hero-logo img {
        width: 110px;
        margin-left: 0;
        margin-top: 0;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-desc {
        font-size: 16px;
        margin-bottom: 0;
    }
}

/* TITULOS */
h2.section-title {
    font-size: 36px;
    text-align: center;
    margin: 35px auto 20px auto;
    font-weight: 800;
    padding: 8px 25px;
    background-color: black;
    border-radius: 10px;
    border-bottom: 1px solid white;
    display: table;
}

/* ==== SERVICE CARDS ==== */
.service-card {
    border: 1.5px solid #d40000;
    border-radius: 15px;
    padding: 15px;
    background: #0c0c0c;
    text-align: center;
    box-shadow: 0 0 12px rgba(255,0,0,0.2);
    transition: transform .2s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.btn-consultar {
    background: #d40000;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    margin-top: 10px;
}

/* WHY BOX */
.why-box {
    background: #111;
    padding: 18px;
    border-radius: 10px;
    border-left: 4px solid #d40000;
    margin-bottom: 15px;
    font-size: 17px;
}

/* PROCESO */
.step-box {
    text-align: center;
    border-radius: 10px;
    border-bottom: 1px solid #d40000;
    font-size: 18px;
    height: 70px;
}

/* ==== PORTAFOLIO ==== */
.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 15px;
}

.portfolio-item {
    text-align: center;
    padding-bottom: 10px;
}

/* Unificado (antes repetido 2 veces) */
.mockup-frame {
    background: #111;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid #d40000;
    box-shadow: 0 0 20px rgba(212,0,0,0.3);
    transition: all 0.3s ease;
}

.mockup-frame:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 35px rgba(255,0,0,0.5);
}

.mockup-img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* Unificado (antes repetido 2 veces) */
.portfolio-title {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 800;
    color: #ff0000;
}

.portfolio-desc {
    color: #ccc;
    font-size: 16px;
}

/* ==== CONTACTO ==== */
.contact-form { 
    max-width: 600px; 
    margin: 0 auto;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #111;
    border: 1px solid #d40000;
    border-radius: 10px;
    color: white;
    font-size: 15px;
}

.contact-form .btn {
    background: #d40000;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 17px;
}

/* ==== TESTIMONIOS ==== */
.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 20px 0 40px 0;
}

.testimonial-box {
    background: #111;
    padding: 22px;
    border-radius: 12px;
    border-left: 3px solid #d40000;
    border-right: 3px solid #d40000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.15);
    transition: transform .25s ease;
}

.testimonial-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.35);
}

.testimonial-text {
    color: #ccc;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial-author {
    color: #ff4a4a;
    font-size: 15px;
    font-weight: bold;
}

/* ==== PREMIUM ACCORDION ==== */
.premium-toggle {
    margin-top: 14px;
    padding: 10px 15px;
    background: #111;
    border: 1px solid #d40000;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    transition: 0.3s ease;
}

.premium-toggle:hover {
    background: #1b1b1b;
}

.premium-toggle i {
    transition: transform .3s;
}
/*
.premium-panel {
    display: none;
    background: #090909;
    border: 1px solid #222;
    border-radius: 10px;
    margin-top: 10px;
    padding: 15px;
    animation: fadeSmooth 0.35s ease;

}
*/
.premium-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 15px;
    border: 1px solid #222;
    border-radius: 10px;
    background: #090909;
    transition: max-height .4s ease, opacity .3s ease, padding .3s ease;
}

.premium-panel h4 {
    color: #d40000;
    font-size: 15px;
    margin-bottom: 8px;
    margin-top: 10px;
    font-weight: 700;
}

.premium-panel ul {
    list-style: none;
    padding-left: 0;
}

.premium-panel li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #ccc;
}

.premium-panel i {
    color: #d40000;
    margin-right: 6px;
}

.premium-toggle.active i {
    transform: rotate(180deg);
}

@keyframes fadeSmooth {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==== WHATSAPP FLOAT ==== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    font-size: 32px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px #24a703ec;
    z-index: 999;
    animation: pulse 1.7s infinite;
    transition: transform .3s;
}

.whatsapp-float:hover {
    transform: scale(1.15);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ==== FOOTER ==== */
.footer {
    background: #000;
    padding: 20px 0 10px !important;
    color: #ccc;
    border-top: 2px solid #d40000;
}

.footer h4 {
    font-size: 32px;
    font-weight: bold;
    color: #d40000;
}

.footer-desc {
    margin-top: 10px;
    font-size: 16px;
    color: #bbb;
}

.footer-icons {
    margin: 25px 0;
}

.footer-icons a {
    margin: 0 15px;
    font-size: 32px;
    color: white;
    transition: 0.3s ease;
}

.footer-icons a:hover {
    color: #d40000;
    transform: scale(1.2);
}

.copy {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}


.btn-tech:hover::after {
    left: 100%;
}

.btn-tech:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 22px rgba(212, 0, 0, 0.35);
}

.btn-pulse {
    padding: 24px 32px;
    background: #d40000;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s ease;
    animation: pulse 2.2s infinite ease-in-out;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 16px rgba(212, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 0, 0, 0); }
}

.btn-pulse:hover {
    transform: translateY(-4px);
}




/* --- RESPONSIVE HERO --- */

@media (max-width: 768px) {

    .hero {
        padding: 40px 20px;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .hero-logo img {
        width: 120px;
        margin: 0 auto;
    }

    .hero-text {
        width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-desc {
        font-size: 16px;
    }

    .btn-pulse {
        margin: 20px auto 0 auto !important;
        display: inline-block;
    }

    .hero-img-right {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        margin-top: 20px;
        
    }

    .hero-img-right img {
        width: 180px;
        border-radius: 14px;
        animation: none;
        filter: drop-shadow(0 0 20px rgba(212,0,0,0.25));
    
    }
}
