/* Language toggle: show only active language */
body.lang-en .lang-es {
    display: none !important;
}

body.lang-es .lang-en {
    display: none !important;
}

/* Language switcher - top right */
.lang-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    background-color: #1a237e;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.2rem 0.35rem;
    font-family: inherit;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    color: #64b5f6;
    text-shadow: 0 0 8px rgba(100, 181, 246, 0.6);
}

.lang-sep {
    width: 1px;
    height: 1rem;
    background-color: rgba(255, 255, 255, 0.6);
    margin: 0 0.2rem;
}

.lead-form {
    width: 100%;
    max-width: 500px;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
}

.form-group {
    width: 100%;
}

.lead-form input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid white;
    border-radius: 2rem;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: border-color 0.3s;
}

.lead-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.lead-form input:focus {
    border-color: #64b5f6;
    outline: none;
}

.lead-form button {
    margin-top: 1rem;
    cursor: pointer;
    border: 1px solid white;
    transition: background-color 0.3s, transform 0.2s;
    background-color: transparent;
    color: white;
}

.lead-form button:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.lead-form button:disabled {
    background-color: #ccc;
    border-color: #ccc;
    color: #666;
    cursor: default;
    transform: none;
}

.flex-div {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.banner-container {
    position: relative;
    width: 100%;
}

.a-logo {
    width: 9rem;
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translate(-50%);
}

.img-logo {
    width: 100%;
}

.banner-img {
    width: 100%;
}

.relative {
    width: 100%;
    position: relative;
}

.line {
    width: 3rem;
    border: solid 0.2rem var(--primary-color);
    margin: 1rem 0;
}

.intro-container {
    width: 100%;
    padding: 3rem 10%;
    background-color: var(--primary-color);
    color: white;
}

.intro-subtitle {
    font-size: 0.9rem;
    font-weight: normal;
    margin: 0;
}

.intro-title {
    font-size: 1.5rem;
    font-family: var(--bold-font);
    line-height: 2rem;
    margin: 0;
    padding: 0.5rem 0 2rem;
}

.intro-p {
    font-size: 0.9rem;
    line-height: 1.4rem;
    margin: 0;
}

.card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 3rem 0 0;
}

.card-img {
    display: block;
    width: 100%;
}

.card-content {
    padding: 2rem 10%;
}

.card-number {
    position: absolute;
    top: 10vw;
    right: 20vw;
    font-size: 2rem;
    font-family: var(--bold-font);
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 0.4rem;
    text-underline-offset: 0.8rem;
    z-index: 2;
}

.card-title {
    font-size: 1.4rem;
    line-height: 1.8rem;
    font-family: var(--bold-font);
    margin: 0;
    padding: 0.5rem 0;
}

.card-p {
    font-size: 0.9rem;
    line-height: 1.4rem;
    margin: 0;
    padding: 0.5rem 0;
}

.boat-img-container {
    background-color: var(--primary-color);
    padding: 2rem 0 0;
    width: 100%;
}

.boat-img {
    border: 1.5rem solid white;
    display: block;
}

.snow-img {
    position: absolute;
    bottom: -10vw;
    left: 5vw;
    width: 45vw;
    height: 45vw;
    object-fit: cover;
    border: 5vw solid white;
}

.blue {
    padding: 4rem 10%;
    background-color: var(--primary-color);
    color: white;
    margin-bottom: -3rem;
}

.blue>.line {
    border: solid 0.2rem white;
}

.contact-container {
    display: flex;
    flex-flow: column;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
}

.contact-line {
    display: none;
}

.contact-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 7.5%;
}

.contact-title {
    font-size: 1.5rem;
    font-family: var(--bold-font);
    margin: 0;
    text-align: center;
    padding: 0 0 2rem;
}

.contact-p {
    font-size: 0.9rem;
    line-height: 1.4rem;
    padding: 1rem 0 3rem;
    margin: 0;
    text-align: center;
}

.contact-a {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    background-color: var(--primary-color);
    border: solid 0.1rem white;
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    text-align: center;
    width: fit-content;
}

/* FOOTER */
.footer {
    background-color: var(--secondary-background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 10%;
    width: 100%;
}

.isotipo {
    width: 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0 0;
}

.footer-title {
    font-size: 1rem;
    color: var(--primary-color);
    padding: 1rem 0 0.5rem;
}

.footer-a {
    font-size: 0.9rem;
    color: white !important;
    font-family: var(--bold-font);
    padding: 1rem 0 0;
}

.social {
    margin: 0.5rem 0.5rem 0;
    width: 3rem;
}

.footer-subtitle {
    font-size: 0.9rem;
    color: white;
    padding: 0.5rem 0;
}

.form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
}

.form>input {
    background-color: var(--secondary-background-color);
    border: solid 0.1rem white;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    width: 90%;
}

.form>button {
    background-color: white;
    border: solid 0.1rem white;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    width: 90%;
}

.mb {
    display: block;
}

.pc {
    display: none;
}

@media (width>=1024px) {

    .a-logo {
        width: 15rem;
        top: 3rem;
        left: 10%;
        transform: unset;
    }

    .banner-img {
        width: 100%;
    }

    .line {
        width: 5rem;
        border: solid 0.3rem var(--primary-color);
        margin: 1rem 0;
    }

    .intro-container {
        padding: 5rem 15%;
    }

    .intro-subtitle {
        font-size: 1.5rem;
    }

    .intro-title {
        font-size: 3.85rem;
        line-height: 4.85rem;
        padding: 0.5rem 0 3rem;
    }

    .intro-p {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .card {
        flex-direction: row;
        padding: 6rem 0 0;
        align-items: stretch;
    }

    .reverse {
        flex-flow: row-reverse;
    }

    .relative {
        width: 50%;
    }

    .card-number {
        top: 4vw;
        right: 10vw;
        font-size: 3rem;
        text-decoration-thickness: 0.5rem;
        text-underline-offset: 1.2rem;
    }

    .card-content {
        width: 50%;
        align-self: center;
    }

    .card-title {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    .card-p {
        font-size: 1.4rem;
        line-height: 1.8rem;
    }

    .boat-img-container {
        width: 65%;
        margin-right: auto;
        margin-bottom: 10rem;
        padding: 3rem 0 0;
    }

    .boat-img {
        width: 50%;
        margin-left: auto;
        margin-right: -5rem;
        margin-bottom: -10rem;
    }

    .snow-img {
        bottom: -21vw;
        left: -2.5vw;
        width: 45vw;
        height: unset;
        border: 2.5vw solid white;
    }

    .blue {
        margin-bottom: 0;
    }

    .last {
        padding: 25vw 0 6rem;
    }

    .blue-square {
        width: 30vw;
        height: 18vw;
        background-color: var(--primary-color);
        position: absolute;
        top: -15vw;
        left: 25vw;
        z-index: -1;
    }

    .contact-container {
        padding: 3rem 0;
        width: 100%;
    }

    .contact-content {
        width: 80%;
        display: flex;
        padding: 3rem 5% 3rem 10%;
    }

    .contact-title {
        font-size: 2.5rem;
        padding: 0.5rem 0;
    }

    .contact-line {
        width: 5rem;
        border: solid 0.3rem var(--font-color);
        margin: 1rem 0;
    }

    .contact-p {
        font-size: 1.5rem;
        line-height: 2.5rem;
        padding: 0.5rem 0 2rem;
        width: 85%;
    }

    .contact-a {
        font-size: 1.5rem;
        border-radius: 2rem;
        padding: 1rem 3rem;
    }

    /* FOOTER */

    .isotipo {
        width: 3rem;
    }

    .footer-content {
        flex-direction: row;
    }

    .footer-column {
        padding: 2rem 0 0;
    }

    .footer-title {
        font-size: 1.25rem;
    }

    .footer-a {
        font-size: 1.1rem;
    }

    .footer-subtitle {
        font-size: 1.1rem;
    }

    .pc {
        display: block;
    }

    .mb {
        display: none;
    }
}