body {
    background-color: #121212;
}

.hero-section {
    position: relative;
    background-color: #121212;
    overflow: hidden;
    padding: 140px 0; /* Ms espacio */
}

.bg-gradient-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}

.footer-gradient {
    background: linear-gradient(180deg, #0f0f0f 0%, #000 100%);
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section a.btn {
    border-radius: 50px;
    padding: 12px 40px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.4);
    transition: all 0.3s ease;
}

    .hero-section a.btn:hover {
        background-color: #f57c00;
        color: #fff;
    }


.partner-logo {
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2);
    transition: transform 0.3s ease, filter 0.3s ease;
}

    .partner-logo:hover {
        transform: scale(1.1);
        filter: grayscale(0%) brightness(1.5);
    }

.text-warning {
    color: #f57c00 !important;
}

.circular-service {
    width: 260px;
    height: 260px;
    padding: 25px;
    border-radius: 50%;
    background: radial-gradient(circle at top, #1f1f1f, #121212);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease, border 0.5s ease;
    border: 2px solid transparent;
}

    .circular-service:hover {
        transform: scale(1.1) rotate(2deg);
        box-shadow: 0 12px 40px rgba(0,0,0,0.8);
        border-color: #f57c00;
    }

    .circular-service img {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        margin-bottom: 10px;
        object-fit: cover;
        box-shadow: 0 2px 8px rgba(245, 124, 0, 0.3);
    }

    .circular-service h4 {
        font-size: 18px;
        color: #f57c00;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .circular-service p {
        font-size: 13px;
        margin-bottom: 5px;
        color: #ccc;
    }

    .circular-service ul {
        padding: 0;
        list-style: none;
        font-size: 12px;
        color: #ddd;
        margin: 0;
    }

        .circular-service ul li {
            margin-bottom: 2px;
        }

.mission-vision-card {
    background: linear-gradient(135deg, #1c1c1c, #0f0f0f);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: justify;
}

    .mission-vision-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(245, 124, 0, 0.3);
    }

.whatsapp-btn {
    position: fixed;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
}

    .whatsapp-btn span {
        background-color: #212529;
        color: white;
        padding: 8px 12px;
        border-radius: 8px 0 0 8px;
        font-weight: 500;
        font-size: 14px;
    }

    .whatsapp-btn a {
        width: 60px;
        height: 60px;
        border-radius: 0 50% 50% 0;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        text-decoration: none;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        transition: transform 0.3s, background-color 0.3s;
    }

        .whatsapp-btn a:hover {
            transform: scale(1.1);
        }

    .whatsapp-btn.commercial {
        bottom: 100px;
    }

        .whatsapp-btn.commercial a {
            background-color: #25D366;
        }

            .whatsapp-btn.commercial a:hover {
                background-color: #34e289;
            }

    .whatsapp-btn.engineering {
        bottom: 30px;
    }

        .whatsapp-btn.engineering a {
            background-color: #128C7E;
        }

            .whatsapp-btn.engineering a:hover {
                background-color: #17b698;
            }

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
    }

    .circular-service {
        width: 200px;
        height: 200px;
        padding: 20px;
    }

        .circular-service img {
            width: 70px;
            height: 70px;
        }
}

.flip-card {
    width: 260px;
    height: 260px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}



.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.flip-card-front {
    background: radial-gradient(circle at top, #1f1f1f, #121212);
}

.flip-card-back {
    background: radial-gradient(circle at top, #1f1f1f, #121212);
    transform: rotateY(180deg);
    color: #fff;
    padding: 30px;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .flip-card,
    .circular-service {
        width: 200px;
        height: 200px;
    }

    .flip-card-back {
        font-size: 12px;
        padding: 20px;
    }

    .circular-service img {
        width: 70px;
        height: 70px;
    }
}


.tooltip-label {
    position: absolute;
    bottom: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #f8f8f8;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flip-card {
    position: relative;
    cursor: pointer;
}

    .flip-card:hover .tooltip-label {
        opacity: 1;
    }

    /* El giro ahora se activa por clase 'flipped' */
    .flip-card .flip-card-inner {
        transition: transform 0.8s ease-in-out;
    }

    .flip-card.flipped .flip-card-inner {
        transform: rotateY(180deg);
    }


body {
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}


form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

    form .form-control:focus {
        outline: none;
        border-color: #ffc107;
        box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.2);
    }

form textarea.form-control {
    resize: vertical;
}


.form-floating > label {
    color: #ccc;
    padding-left: 1rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #ffc107;
    opacity: 1;
}

.form-floating > .form-control {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 12px;
}


.mission-vision-card h3 {
    color: #e69500;
}

form button[type="submit"] {
    background-color: transparent;
    border: 2px solid #f57c00;
    color: #f57c00;
    transition: all 0.3s ease;
}

    form button[type="submit"]:hover {
        background-color: #f57c00;
        color: #000;
    }


/* Verified state for slider badge */
.slider-end-badge.ok {
  color: #2ecc71;
  opacity: 1;
}

/* --- Slider-only CAPTCHA styles --- */
.captcha-slider-card {
  background: linear-gradient(135deg, #1b1b1b, #0f0f0f);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.slider-wrap { position: relative; user-select: none; -webkit-user-select: none; margin-top: 6px; }
.slider-track { position: relative; width: 100%; max-width: 420px; height: 48px; background: linear-gradient(90deg, #0f0f0f, #1c1c1c 60%, #0f0f0f); border: 1px solid rgba(245,124,0,0.25); border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 20px rgba(0,0,0,0.4); }
.slider-progress { position: absolute; top: 0; left: 0; bottom: 0; width: 0; background: linear-gradient(90deg, rgba(245,124,0,0.15), rgba(245,124,0,0.35)); pointer-events: none; }
.slider-end-badge { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); font-weight: 800; letter-spacing: 1px; opacity: 0.6; transition: opacity .15s ease-in-out; }
.slider-end-badge.armed { opacity: 1; }
.slider-thumb { position: absolute; top: calc(50% - 22px); left: 0; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(245,124,0,0.55); background: radial-gradient(circle at 30% 30%, rgba(245,124,0,0.45), rgba(245,124,0,0.15) 60%, rgba(0,0,0,0.2)), linear-gradient(135deg, #111, #0a0a0a); box-shadow: 0 8px 20px rgba(0,0,0,0.45); cursor: grab; transition: box-shadow .15s ease-in-out, border-color .15s ease-in-out, transform .08s ease-in-out; }
.slider-thumb:active { cursor: grabbing; transform: scale(0.98); }
.slider-thumb.ok { border-color: rgba(46, 204, 113, 0.8); box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25), 0 8px 20px rgba(0,0,0,0.45); }
.slider-thumb.shake { animation: shake .35s; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
@media (max-width: 480px) { .slider-track { max-width: 100%; } }
.slider-end-badge.ok { color: #2ecc71; opacity: 1; }
