/* ================================================== 
   PÁGINA DE CONTACTO — rediseño (contact-rich-pro).
   Antes vivía en custom.css (cargado en TODAS las páginas); se
   pasa acá porque solo aplica al formulario de contacto, y porque
   custom.css queda enganchado por PrestaShop (theme.yml) sin forma
   de ponerle ?v=, así que se quedaba pegado en caché.
   ================================================== */

/* CONTACT INFO RICH REDESIGN */
.contact-rich-pro {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f1f1;
    margin-bottom: 30px;
}

.contact-rich-pro .contact-heading {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #F39C12;
    display: inline-block;
}

.contact-rich-pro .contact-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-rich-pro .contact-icon {
    background: rgba(243, 156, 18, 0.1);
    color: #F39C12;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-rich-pro .contact-icon i {
    font-size: 20px;
}

.contact-rich-pro .contact-details {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.contact-rich-pro .contact-details strong {
    color: #1a1a1a;
    font-weight: 700;
}

.contact-rich-pro .contact-details .label {
    display: block;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-rich-pro .contact-link {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-rich-pro .contact-link:hover {

    /* BUTTON CERTIFICATE SEARCH - SUBTLE */
    .btn-certificate-subtle {
        display: inline-flex;
        align-items: center;
        color: #666 !important;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        text-decoration: none !important;
        transition: all 0.3s ease;
        padding: 5px 10px;
        border-radius: 4px;
    }

    .btn-certificate-subtle i {
        color: #F39C12;
        margin-right: 5px;
    }

    .btn-certificate-subtle:hover {
        color: #F39C12 !important;
        background-color: rgba(243, 156, 18, 0.1);
    }

    /* CONTACT INFO RICH REDESIGN */
    .contact-rich-pro {
        background: #ffffff;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid #f1f1f1;
        margin-bottom: 30px;
    }

    .contact-rich-pro .contact-heading {
        font-size: 18px;
        font-weight: 800;
        color: #1a1a1a;
        text-transform: uppercase;
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 3px solid #F39C12;
        display: inline-block;
    }

    .contact-rich-pro .contact-block {
        display: flex;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .contact-rich-pro .contact-icon {
        background: rgba(243, 156, 18, 0.1);
        color: #F39C12;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .contact-rich-pro .contact-icon i {
        font-size: 20px;
    }

    .contact-rich-pro .contact-details {
        font-size: 14px;
        color: #555;
        line-height: 1.5;
    }

    .contact-rich-pro .contact-details strong {
        color: #1a1a1a;
        font-weight: 700;
    }

    .contact-rich-pro .contact-details .label {
        display: block;
        font-size: 12px;
        color: #999;
        text-transform: uppercase;
        font-weight: 600;
        margin-bottom: 2px;
    }

    .contact-rich-pro .contact-link {
        color: #1a1a1a;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .contact-rich-pro .contact-link:hover {
        color: #F39C12;
    }

    .contact-rich-pro .contact-separator {
        height: 1px;
        background: #f1f1f1;
        margin: 15px 0 20px 55px;
        /* Indented to align with text */
    }

    /* CONTACT FORM REDESIGN */
    .contact-form {
        background: #fff;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
        border: 1px solid #f5f5f5;
    }

    .contact-form h3 {
        color: #1a1a1a;
        font-weight: 800;
        text-transform: uppercase;
        margin-bottom: 25px;
        font-size: 1.5rem;
    }

    .contact-form .form-control {
        background-color: #f9f9f9;
        border: 1px solid #e0e0e0;
        border-radius: 10px;
        /* Bordes redondeados */
        padding: 12px 15px;
        /* Inputs más grandes */
        font-size: 14px;
        color: #333;
        transition: all 0.3s ease;
        height: auto;
        /* Permitir altura automática para padding */
    }

    .contact-form .form-control:focus {
        background-color: #fff;
        border-color: #F39C12;
        box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
        outline: none;
    }

    .contact-form textarea.form-control {
        min-height: 150px;
    }

    .contact-form .form-footer {
        text-align: right;
        margin-top: 20px;
    }

    .contact-form .btn.btn-primary {
        background: linear-gradient(135deg, #F39C12 0%, #e67e22 100%);
        border: none;
        border-radius: 50px;
        /* Botón redondeado */
        padding: 12px 35px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
        transition: all 0.3s ease;
    }

    .contact-form .btn.btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
        background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    }

    /* Ajuste de etiquetas */
    .contact-form label {
        font-weight: 600;
        color: #555;
        margin-bottom: 8px;
        text-transform: uppercase;
        font-size: 12px;
    }

    /* FORCE FULL WIDTH CONTACT PAGE */
    body#contact #content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body#contact #left-column {
        width: 30% !important;
        max-width: 400px !important;
        padding: 40px !important;
    }

    body#contact #content {
        width: 70% !important;
        padding: 40px !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    /* REMOVE PHONE FRAME LOOK IF PRESENT */
    .contact-rich-pro,
    .contact-rich {
        background-image: none !important;
        border: 1px solid #f1f1f1 !important;
        border-radius: 15px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
        padding: 30px !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* Responsive adjustments */
    @media (max-width: 991px) {

        body#contact #left-column,
        body#contact #content {
            width: 100% !important;
            max-width: 100% !important;
            padding: 20px !important;
        }
    }
}