/* === Bloque de Contacto === */
.contacto-section {
  background: url("../images/back_contacto.webp") center center/cover no-repeat;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* Marco naranja */
.contacto-frame {
  position: relative;
  padding: 30px; /* espacio entre marco e interior */
  margin-left: 30px;
  margin-right: 60px;
}

.contacto-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 4px solid #e65100; /* naranja */
  pointer-events: none;
}

/* Overlay */
.contacto-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Caja blanca */
.contacto-form-box {
  background: #fff;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  border-radius: 5px;
}

.contacto-form-box h5 {
  font-size: 14px;
  margin-bottom: 10px;
}

.servicio-diseno-text-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.envelope {
  width: 45px;
  height: 45px;
  background-image: url("../images/envelope.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.servicio-diseno-text-title {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
}

.contacto-form-box p {
  font-size: 14px;
}

.contacto-form-box .btn {
  border-radius: 0;
  font-weight: bold;
  letter-spacing: 2px;
}

/* === Media Queries === */

/* Tablets (≤991px) */
@media (max-width: 991px) {
  .contacto-frame {
    margin-left: 15px;
    margin-right: 15px;
    padding: 20px;
  }

  .contacto-frame::before {
    border-width: 3px;
  }

  .contacto-form-box {
    padding: 30px;
  }
}

/* Móviles (≤576px) */
@media (max-width: 576px) {
  .contacto-frame {
    margin: 10px;
    padding: 15px;
  }

  .contacto-frame::before {
    border-width: 2px;
  }

  .contacto-form-box {
    padding: 20px;
  }

  .servicio-diseno-text-title {
    font-size: 18px;
  }

  .envelope {
    width: 35px;
    height: 35px;
  }
}





.contenedores-contacos-divs {
    padding-top: 25px;
    padding-bottom:  25px;

}


.container-form{
    position: relative;
    min-height: 20px;
    height: auto;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    background-color: #000000;
    padding: 6px 6px;
    border-radius: 17px;
}
.container-metatgs {
    position: relative;
    min-height: 20px;
    height: auto;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    background-color: #8db863;
    padding: 40px 30px;
}
.container-bottom-contact {
    position: relative;

    min-height: 563px;
    height: auto;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    padding: 10px;
}

.promopar{
    width: 100%;
    height: 260px;
    background-image: url(../images/promopar.svg);
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 30px;
    margin-top: 90px;
    background-position: center;
}

.f_contacto{
    width: 100%;
    min-height: 800px;
    height: auto;
    overflow: hidden;
    background-image: url(../images/f_contacto.jpg);
    /* background-size: contain; */
    background-size: cover;
    margin-bottom: 30px;
    margin-top: 65px;
    background-repeat: no-repeat;
    background-position: center right;
}

/*.header_contacto{
    width: 100%;
    height: 200px;
    background-image: url(../images/header_bolsas.webp);
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 30px;
    background-position: center right;
}*/

.contenedor_contacto{
    min-height: 900px;
    height: auto;
    overflow: hidden;
}

/*.f_contacto{
    width: 100%;
    height: auto;
    min-height: 862px;
    background-image: url(../images/f_contacto.jpg);
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    margin-bottom: 30px;
    margin-top: 25px;
    padding: 20px;
}*/



.container-form h3 {
    color: white;
    font-size: 20px;
    line-height: 1.2;
    margin: 0;
}
.container-form label {
    color: white;
    font-size: 15px;
    font-weight: bold;
}
.container-metatgs h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.container-metatgs p {
    color: white;
    line-height: 1.5;
}

.resize-font .detalle {
    font-size: 19px;
    margin: 0px;
}



/* Estilos base */
.form-float {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    font-family: 'Jost-Regular';
}

.form-header h3 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1.5rem;
}

/* Float Label Effect */
.float-label {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-container {
    position: relative;
}

.float-label label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #7f8c8d;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.2s ease;
    background: white;
    padding: 0 0.5rem;
    border-radius: 4px;
}

.float-label input,
.float-label textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: transparent;
}

.float-label textarea {
    min-height: 120px;
    resize: vertical;
}

.float-label input:focus,
.float-label textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52,152,219,0.2);
}

/* Float Label Animation */
.float-label input:focus + label,
.float-label input:not(:placeholder-shown) + label,
.float-label textarea:focus + label,
.float-label textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: #3498db;
}

/* Validación */
.error-message {
    display: none;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.float-label input:invalid:not(:placeholder-shown),
.float-label input:invalid:focus {
    border-color: #e74c3c;
}

.float-label input:invalid:not(:placeholder-shown) + label {
    color: #e74c3c;
}

.float-label input:invalid:not(:placeholder-shown) ~ .error-message {
    display: block;
}

.hint {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Estilo del botón */
.submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background-color: #000000;
    color: white;
    border: none;
    /* border-radius: 8px; */
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    /* box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);*/
}

.submit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(52,152,219,0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

/* Footer del formulario */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.captcha-container {
    flex: 1;
    min-width: 200px;
    margin-right: 1rem;
}



.distribuidor-info {

}

.distribuidor-info h4 {
    font-weight: 600;
    font-size: 1.4rem;
    margin-top: 0px !important;
}

.distribuidor-info a:hover {
    text-decoration: underline;
}


.fondo_catx{
    background: linear-gradient(135deg, #9d4931, #761a00)

}

/* Estilos para la sección de contacto */
.distribuidor-info {
    padding: 8px 0px;
    margin: 0px auto;
    max-width: 600px;
}
.contact-container {
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.contact-container:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}





.distribuidor-logo {
    text-align: center;
    margin-bottom: 15px;
    height: auto;
    min-height: 150px;    
}

.distribuidor-logo img {
    width: 185px;
    border-radius: 5px;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 0px;
    padding-bottom: 15px;
}

.contact-section {
    text-align: center;
    width: 100%;
}

.contact-title {
    margin-bottom: 5px;
    color: #3498db;
}

.contact-info {
    margin: 5px 0 !important;
}

.whatsapp-link {
    color: #25D366;
    text-decoration: none;
}

.color_rojo{
    color: red;
}

.phone-link, .email-link {
    color: #0000F0;
    text-decoration: none;
}

.address-title {
    margin: 15px 0 5px 0;
    color: #3498db;
}



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


    .promopar {

        margin-bottom: 60px;
        margin-top: 36px;
    }


    a {
        color: red !important;
    }


    .form-float {
        padding: 1.5rem;
    }

    .form-footer {
        flex-direction: column;
    }

    .captcha-container {
        margin-right: 0;
        margin-bottom: 1.5rem;
        width: 100%;
    }

    .submit-btn {
        width: 100%;
    }
    .distribuidor-logo {
        margin-top: 0%;
    }


    .f_contacto{

        min-height: 550px;
        background-size: contain;
        background-position: center;
        margin-top: -40px;
    }




}
