@media (max-width: 999px) {
    .header-box-upper {
        background-color: #3CBADD !important;
    }

    .menu-group {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between;
        padding: 0 15px !important;
    }

    .menu-group .header-logo {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        margin-bottom: 10px !important;
    }

    .header-box-middle .items-justified-right {
        justify-content: right !important;
    }

    .header-logo img {
        margin-top: auto !important;
    }

    .header-logo {
        max-width: 50% !important
    }

    .gt_float_switcher .gt_options.gt-open {
        margin-left: -70px !important;
    }
}

.gt_float_switcher .gt-selected .gt-current-lang {
   padding: 15px !important;
   margin-top: 5px;
}

.gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    display: none !important
}

.gt_float_switcher {
    box-shadow: none !important
}

.gt_float_switcher,
.gt_float_switcher .gt-selected {
    background-color: transparent !important
}

.gt-current-lang .gt-lang-code {
    display: none
}

.gt_float_wrapper {
    position: relative;
}

.gt_options {
    position: absolute !important;
    top: 100% !important;
    z-index: 1000 !important;
    display: none !important;
    width: max-content !important;
    background: rgba(255, 255, 255, 0.75) !important;
    box-shadow: none !important;
    border: 0px !important;
}

.gt_options.gt-open {
    display: block !important;
}

/* Contenedor del formulario */
.wpcf7 form {
    max-width: 700px;
    margin: 0 auto;
    padding: 10px 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    font-family: 'Roboto', 'Arial', sans-serif;
    transition: transform 0.3s ease;
}

.wpcf7 form:hover {
    transform: translateY(-2px);
}

/* Inputs y textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    margin-top: 6px;
    padding: 14px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #ececec;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 6px rgba(26, 115, 232, 0.3);
    outline: none;
}

/* Placeholder elegante */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #999999;
    font-style: italic;
}

/* Botón de envío */
.wpcf7 input[type="submit"] {
    background-color: #1a73e8;
    color: #ffffff;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #155ab6;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(26, 115, 232, 0.3);
}

/* Mensajes de éxito y error */
.wpcf7 .wpcf7-response-output {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.wpcf7 .wpcf7-mail-sent-ok {
    background-color: #e6f4ea;
    color: #188038;
    border: 1px solid #c6e2c8;
}

.wpcf7 .wpcf7-validation-errors {
    background-color: #fbe9e7;
    color: #d32f2f;
    border: 1px solid #f5c6cb;
}

.wpcf7 .wpcf7-not-valid {
    background-color: #f8d7da !important;
    color: #a71d2a !important;
    border: 1px solid #f5c2c7 !important;
}

.wpcf7 .wpcf7-not-valid-tip {
    display: none;
}

/* Anula animaciones, transiciones y transformaciones dentro del banner */
#banner,
#banner * {
  animation: none !important;
  animation-name: none !important;
  transition: none !important;
  transform: none !important;
  -webkit-animation: none !important;
  -webkit-animation-name: none !important;
  -webkit-transition: none !important;
  -webkit-transform: none !important;
  will-change: auto !important;
}

/* Asegura que visibilidad no sea manipulada por animaciones */
#banner *[style*="visibility"] {
  visibility: visible !important;
}