/* ===========================
   TIPOGRAFÍA GLOBAL MANROPE
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

* {
    font-family: 'Manrope', sans-serif !important;
}

/* Títulos */
h1, h2 { font-weight: 700; }
h3, h4 { font-weight: 600; }
h5, h6 { font-weight: 500; }

/* Texto general */
p, label, input, textarea, button {
    font-weight: 400;
}

/* ===========================
   FORMULARIO DE CONTACTO
   =========================== */

.form-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

/* TITULO CON DOBLE COLOR */
.titulo-doble {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 10px;
}

/* Colores del título doble */
.titulo-doble .t1 {
    color: #0B1F37 !important;   /* azul oscuro */
}

.titulo-doble .t2 {
    color: #4b98b2 !important;   /* acento */
}


.subtitulo {
    color: #555;
    margin-bottom: 30px;
    font-weight: 400;
}

.form-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
    text-align: left;
}

.fila {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.campo {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.campo label {
    font-weight: 600;
    margin-bottom: 6px;
}

/* Inputs */
input, textarea {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: 0.2s;
    background: #fff;
}

input:focus, textarea:focus {
    border-color: #0B1F37;
    box-shadow: 0 0 4px rgba(27,122,201,0.4);
    outline: none;
}

/* Botón */
.btn-enviar {
    width: 100%;
    padding: 15px;
    background: #0B1F37 !important;   /* ← AHORA GANA A BOOTSTRAP */
    color: white !important;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.25s;
    margin-top: 20px;
}

.btn-enviar:hover {
    background: #0B1F37  !important;
}

/* Responsive */
@media(max-width: 700px){
    .fila {
        flex-direction: column;
    }
}

/* ICONOS REDES */
.social-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin: 0 10px;
  transition: transform 0.3s;
}

.social-icon-img:hover {
  transform: scale(1.2);
}

/* LOGO NAV */
.logo-nav {
  height: 45px;
  width: auto;
}

/* Contenedor flotante del agente */
#agent-wrapper {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    /* Mantén el espacio original del widget */
    width: 400px; 
    height: 600px;

    /* 🔥 Escala para hacerlo más pequeño */
    transform: scale(0.85);     /* Ajusta el tamaño:  */
    transform-origin: bottom right; /* Se encoge hacia la esquina */
}

/* Ajustar widget al contenedor */
#agent-wrapper elevenlabs-convai {
    width: 100%;
    height: 100%;
}

/* Responsivo móvil */

@media (max-width: 600px) {
    #agent-wrapper::before {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 28px;
        color: #fff;
        pointer-events: none;
    }
}
