@font-face {
    font-family: "Montserrat";
    src: url("Imagenes/Tipografia/Montserrat-Regular.otf") format("opentype");
    font-weight: 400;
}
@font-face {
    font-family: "Montserrat";
    src: url("Imagenes/Tipografia/Montserrat-Bold.otf") format("opentype");
    font-weight: 700;
}

body {
    font-family: "Montserrat", sans-serif;
    background: #3564de;
    color: #ffffff;
}

/* Header nav */
.form-header-nav {
    background: #3564de;
    padding: 0.5rem 1.2rem;
}

.form-header-nav.navbar-solid {
    background: #3564de;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08);
}

.form-header-nav .container-fluid {
    align-items: center;
}

.form-header-nav .navbar-nav .nav-item {
    margin: 0 0.9rem;
}

.form-header-nav .navbar-nav .nav-link {
    font-size: clamp(1.02rem, 1.25vw, 1.18rem);
    font-weight: 400;
    color: #ffffff !important;
    padding: 0.35rem 0;
}

.form-header-nav .primary-nav-list .nav-link {
    border: none;
    border-radius: 0;
    box-shadow: none !important;
    transform: none !important;
}

.form-header-nav .primary-nav-list .nav-link:hover {
    border: none;
    box-shadow: none;
    opacity: 0.9;
}

.form-header-nav .instagram-link img {
    width: 34px;
    height: 34px;
}

.form-toggler {
    border-color: #b8dc41;
    background: rgba(9,28,94,0.52);
}

/* Wizard */
.wizard-page-wrap {
    max-width: 1140px;
    margin: 1.4rem auto 4rem;
}

.wizard-main-title {
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    font-weight: 700;
}

.wizard-wrap {
    background: #d9d9d9;
    color: #102066;
    border: 1px solid rgba(16,32,102,0.22);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
}

.wizard-left {
    flex: 1 1 68%;
    padding: 2rem;
    border-right: 1px solid rgba(16,32,102,0.3);
}

.wizard-step-label {
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    color: #1e2f92;
}

.wizard-step-title {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    color: #1e2f92;
}

.wizard-form {
    max-width: 620px;
    margin: 0 auto;
}

.wizard-panel {
    display: none;
}

.wizard-panel.is-active {
    display: block;
}

.wizard-label {
    color: rgba(16, 32, 102, 0.72);
    font-weight: 700;
    margin-bottom: 0.3rem;
    display: block;
}

.form-control,
.form-select {
    background: #ececec;
    border: none;
    min-height: 44px;
    font-family: inherit;
    color: #202020;
    border-radius: 0;
}

.form-control:focus,
.form-select:focus {
    background: #ececec;
    border-color: #1f2d9a;
    box-shadow: 0 0 0 2px rgba(31,45,154,0.2);
}

.wizard-textarea {
    min-height: 138px;
    resize: vertical;
}

.wizard-btn {
    border: 3px solid #b8dc41;
    background: #1f2d9a;
    color: #ffffff;
    font-weight: 700;
    font-family: inherit;
    font-size: 0.95rem;
    border-radius: 999px;
    padding: 0.75rem 5rem;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    min-width: 136px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
}

.wizard-btn:hover {
    box-shadow: 0 4px 14px rgba(31,45,154,0.4);
}

.wizard-btn-secondary {
    background: transparent;
    color: #1f2d9a;
    border-color: #1f2d9a;
    margin-right: 0.8rem;
}

#wizardSubmit {
    display: none;
}

.is-invalid {
    outline: 2px solid #d9534f;
}

/* Steps sidebar */
.wizard-right {
    background: #d9d9d9;
    flex: 0 0 32%;
    padding: 2rem;
}

.wizard-steps {
    border-left: 3px solid rgba(16,32,102,0.18);
    padding-left: 1.2rem;
    display: grid;
    gap: 1.6rem;
}

.wizard-steps li {
    text-transform: uppercase;
    font-weight: 700;
    color: #888;
    font-size: clamp(0.88rem,1.1vw,1rem);
    position: relative;
}

.wizard-steps li.is-active {
    color: #2b53d7;
}

.wizard-steps li.is-done {
    color: #43508f;
}

.wizard-steps li.is-active::before {
    content: "";
    position: absolute;
    left: calc(-1.2rem - 3px);
    top: 0;
    bottom: 0;
    width: 3px;
    background: #2b53d7;
}

@media (max-width: 767px) {
    .wizard-page-wrap {
        margin: 1rem auto 2rem;
    }
    .form-header-nav .navbar-nav .nav-item {
        margin: 0.2rem 0;
    }
    .wizard-wrap {
        flex-direction: column;
    }
    .wizard-right { flex-basis: auto; }
    .wizard-left { border-right: none; border-bottom: 1px solid rgba(16,32,102,0.3); }
    .wizard-steps { border-left: none; border-top: 2px solid rgba(16,32,102,0.2); padding-left: 0; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
    .wizard-steps li.is-active::before { display: none; }
}

@media (min-width: 992px) {
    .form-header-nav .primary-nav-list {
        max-width: 760px;
        margin: 0 auto;
    }
}

@media (max-width: 560px) {
    .wizard-main-title {
        font-size: clamp(1.4rem, 8.2vw, 2rem);
        margin-bottom: 1rem !important;
    }
    .wizard-left,
    .wizard-right {
        padding: 1.05rem !important;
    }
    .wizard-actions {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.6rem;
    }
    .wizard-btn-secondary {
        margin-right: 0;
    }
    .wizard-btn {
        min-width: 120px;
        font-size: 0.84rem;
        padding: 0.62rem 3.5rem;
    }
}


