/* =========================
   BOTÓN FLOTANTE WHATSAPP
========================= */

.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.float:hover {
    background-color: #ffffff;
    color: #25d366;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
    text-decoration: none;
}

.my-float {
    margin: 0;
}


/* =========================
   BOTÓN FLOTANTE LLAMAR
========================= */

.btn-llamar {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 30px;
    background-color: #e53935;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-llamar:hover {
    background-color: #ffffff;
    color: #e53935;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(229, 57, 53, 0.35);
    text-decoration: none;
}


/* =========================
   MEJORAS GENERALES
========================= */

body {
    overflow-x: hidden;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.contents h1 {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.contents .lead {
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.btn-common {
    border-radius: 30px;
    padding: 13px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-common:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(19, 200, 255, 0.3);
}


/* =========================
   TARJETAS DE SERVICIO
========================= */

.item-boxes {
    border-radius: 14px;
    padding: 35px 25px;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 260px;
}

.item-boxes:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.item-boxes .icon {
    margin-bottom: 18px;
}

.item-boxes h4 {
    font-weight: 700;
    margin-bottom: 12px;
}


/* =========================
   BLOQUES DE CONTACTO
========================= */

.blog-item-wrapper {
    border-radius: 14px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 320px;
}

.blog-item-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
}

.blog-item-text h3 a {
    font-weight: 700;
    color: #222222;
    text-decoration: none;
}

.blog-item-text ul {
    padding-left: 0;
    list-style: none;
}

.blog-item-text li {
    color: #555555;
    line-height: 1.5;
}

.blog-item-text i {
    color: #13c8ff;
    margin-right: 8px;
}


/* =========================
   FORMULARIO
========================= */

.contact-block {
    border-radius: 16px;
    padding: 35px;
    background-color: #ffffff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 8px;
    border: 1px solid #dddddd;
    min-height: 52px;
    padding: 12px 15px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #13c8ff;
    box-shadow: 0 0 0 3px rgba(19, 200, 255, 0.15);
}

textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

#captcha-question {
    color: #222222;
}

#captcha-images {
    word-spacing: 6px;
}

#refresh-captcha {
    min-height: 52px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#refresh-captcha:hover {
    background-color: #f1f1f1 !important;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 35px 0;
}

.site-info p {
    font-size: 14px;
    color: #dddddd;
}

.site-info a {
    color: #13c8ff;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .contents h1 {
        font-size: 34px;
    }

    .contents .lead {
        font-size: 18px;
    }

    .contact-block {
        padding: 25px;
    }
}

@media (max-width: 767px) {
    .float,
    .btn-llamar {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 25px;
    }

    .float {
        right: 20px;
    }

    .btn-llamar {
        left: 20px;
    }

    .contents h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .contents .lead {
        font-size: 16px;
    }

    .logo img {
        max-width: 160px;
    }

    .section-title {
        font-size: 28px;
    }

    .item-boxes,
    .blog-item-wrapper {
        margin-bottom: 25px;
    }

    .contact-block {
        padding: 20px;
    }
}

/* Mostrar botón llamar solo en móviles */
@media (min-width: 768px) {
    .btn-llamar {
        display: none;
    }
}