/* Feedback visual de validación para formularios (como Bootstrap) */
input.is-valid,
select.is-valid,
textarea.is-valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
}
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.buggy-golf-page {
    font-family: "Poppins", Helvetica, Arial, sans-serif !important;
    color: #00325A !important;
    font-weight: 300;
    font-size: 0.95rem;
}

.shadow-form {
    background: #ffffff;
    box-shadow: 0px 1px 13px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.white-color {
    color: white !important;
}

.title-header {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    line-height: 50px;
    font-size: clamp(30px, 2.5vw, 40px);
    text-transform: uppercase;
    color: #ffffff;
    padding-top: 17%;
}

.subtitle-header {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 30px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .title-header {
        line-height: 32px;
    }
    .subtitle-header {
        line-height: 24px;
    }
}

.title {
    font-size: 1.5rem;
    font-weight: 700 !important;
}

.primary-color {
    color: #00325A !important;
}

.secondary-color {
    color: #ff5000 !important;
}

.subtitle {
    color: #00325A !important;
    font-weight: 600 !important;
}

.buggy-golf-page h3 {
    font-weight: 600;
    font-size: 17px;
    line-height: 1.25;
}

.buggy-golf-page .button {
    background-color: #00325a;
    color: white !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    font-weight: 300;
    font-size: 1rem;
    padding-top: 7px;
    padding-bottom: 7px !important;
}
.buggy-golf-page .button:hover {
    background-color: #ff5000;
    color: white !important;
}
.buggy-golf-page .button:active,
.buggy-golf-page .button:focus {
    background-color: #ff5000 !important;
}
.buggy-golf-page .button:disabled {
    background-color: #cccccc;
    color: #666666;
}

.wrap-icon {
    margin: 0 auto;
    position: relative;
    text-align: center;
}



.image-header {
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    height: 500px;
    background-position: left;
    --opacidad-negro: 0.2;
}

.image-header-buggy {
    margin-bottom: 450px;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, var(--opacidad-negro)),
            rgba(0, 0, 0, var(--opacidad-negro))
        ),
        url("https://s3.eu-west-3.amazonaws.com/static.nibw.es/ascentiel/img/landings/buggy/golf-cart-parked-bali-indonesia-4000x2000.webp");
}

@media (max-width: 768px) {
    .image-header {
        background-size: cover;
        background-repeat: no-repeat;
        z-index: 1;
        height: 400px;
        background-position: right;
        --opacidad-negro: 0.2;
    }
}



.landing-hero .image-header {
    margin-bottom: 0;
}

.landing-hero-form {
    position: relative;
    margin-top: -12rem;
    z-index: 2;
}

@media (max-width: 517px) {
    .landing-hero-form {
        position: relative;
        margin-top: -6rem;
        z-index: 2;
    }
}

@media (max-width: 423px) {
    .landing-hero-form {
        position: relative;
        margin-top: -6rem;
        z-index: 2;
    }
}

.buggy-golf-page .form-control::placeholder {
    color: #00325a;
    text-align: left;
    font-size: 17px !important;
    opacity: 1;
}

.buggy-golf-page .form-control:-ms-input-placeholder {
    color: #00325a;
    text-align: left;
    font-size: 17px !important;
}

.buggy-golf-page .form-control::-ms-input-placeholder {
    color: #00325a;
    text-align: left;
    font-size: 17px !important;
    font-weight: 400;
}

.buggy-golf-page option {
    color: #00325a;
}
.buggy-golf-page option:focus {
    color: #ff5000;
}

.buggy-golf-page .form-css,
.buggy-golf-page .form-control,
.buggy-golf-page .form-select,
.buggy-golf-page .button,
.buggy-golf-page .btn {
    min-height: 37px;
    height: 37px;
    font-size: 17px !important;
    box-sizing: border-box;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.buggy-golf-page .form-control {
    border: 1px solid #00325a !important;
}

.buggy-golf-page input.form-css::placeholder {
    font-size: 1.4rem;
    color: #acacac;
}

.buggy-golf-page .form-control:hover,
.buggy-golf-page .form-select:hover,
.buggy-golf-page .form-css:hover {
    border: 1px solid #ff5000;
}

/* === Buggy golf two-step form === */
.buggy-form-step.is-hidden {
    display: none;
}

.buggy-progress {
    height: 4px !important;
    background-color: #e0e0e0;
    border-radius: 0;
    margin-top: 2.5rem !important;
    box-shadow: none;
}
.buggy-progress-bar {
    background-color: #00325a !important;
    transition: width 0.4s ease;
    box-shadow: none;
}

.buggy-button-wrapper {
    display: flex;
    justify-content: center;
}
.buggy-button-wrapper .btn {
    width: 100%;
}
@media (min-width: 992px) {
    .buggy-button-wrapper {
        max-width: calc(33.333333% - 1.5rem);
        margin: 0 auto;
    }
}

/* Imágenes */
.image-semicircle-left {
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 355px;
    border-radius: 1000px 0px 0px 1000px;
}
.image-semicircle-right {
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 355px;
    border-radius: 0px 1000px 1000px 0px;
    margin-left: 0%;
}
.image-semicircle-left,
.image-semicircle-right {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.img-buggy-1 {
    background-image: url("https://s3.eu-west-3.amazonaws.com/static.nibw.es/ascentiel/img/landings/buggy/young-man-using-mobile-phone-while-standing-800x500.webp");
}
.img-buggy-2 {
    background-image: url("https://s3.eu-west-3.amazonaws.com/static.nibw.es/ascentiel/img/landings/buggy/two-male-golfers-800x500.webp");
}
.img-buggy-3 {
    background-image: url("https://s3.eu-west-3.amazonaws.com/static.nibw.es/ascentiel/img/landings/buggy/girl-posing-golf-course-800x500.webp");
    background-position: center bottom;
}

@media (max-width: 767px) {
    .image-semicircle-right,
    .image-semicircle-left {
        height: 200px !important;
        min-height: 100px !important;
    }
}

.coverage-list {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 30px;
    list-style-type: none;
    color: #00325a;
    margin: 0;
    padding: 0;
}

.coverage-list li {
    background-image: url("/img/landings/aprobar.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px auto;
    padding-left: 35px;
}

.list-pad {
    padding-left: 1.7rem;
}

.buggy-golf-page strong {
    font-weight: 600 !important;
}

/* Modal de validación */
.buggy-validation-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.buggy-validation-modal.show {
    display: flex !important;
}

.buggy-validation-modal-content {
    background-color: #ffffff;
    border-radius: 8px;
    max-width: 350px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    margin-top: -100px;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.buggy-validation-modal-header {
    background-color: #dc143c;
    color: white;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.buggy-validation-modal-header h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.buggy-validation-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem !important;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.buggy-validation-modal-close:hover {
    opacity: 0.8;
}

.buggy-validation-modal-body {
    padding: 20px;
}

.buggy-validation-modal-body p {
    margin: 0;
    color: #00325a;
    font-size: 1.5rem;
    line-height: 1.5;
}

/* Success modal */
.buggy-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    align-items: center;
    justify-content: center;
}
.buggy-modal.is-visible {
    display: flex;
}
.buggy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.buggy-modal__content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 520px;
    width: calc(100% - 32px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.buggy-modal__content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #00325a;
}
.buggy-modal__content p {
    margin: 0 0 18px;
    color: #4a4a4a;
}

/* === Typography + spacing from provided reference === */
.buggy-golf-h1 {
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 1.1;
}
.buggy-golf-hero-text {
    font-size: 15.2px !important;
}
.buggy-golf-h2 {
    font-size: 24px !important;
    font-weight: 700;
    color: #00325A !important;
    margin-bottom: 1.5rem;
}
.buggy-golf-h3 {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #00325A !important;
}
.buggy-golf-text {
    font-size: 15.2px !important;
    color: #00325A !important;
}
.buggy-golf-accent {
    color: #ff5000 !important;
}

#alertToast {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;
}

#alertToast .toast-header {
    background-color: #dc3545 !important;
    color: white !important;
    border: none !important;
}

#alertToast .toast-header strong {
    color: white !important;
}

#alertToast .toast-header .btn-close {
    filter: brightness(0) invert(1) !important;
}

#alertToast .toast-body {
    background-color: #ffffff !important;
    color: #00325a !important;
    border-top: none !important;
}

@media (max-width: 767px) {
    .buggy-golf-h1 {
        font-size: 30px !important;
    }
    .buggy-golf-h2 {
        font-size: 18px !important;
    }
    .buggy-golf-h3 {
        font-size: 16px !important;
    }
    .buggy-golf-text,
    .buggy-golf-hero-text {
        font-size: 15.2px !important;
    }
    .buggy-golf-features-row .buggy-golf-feature-item,
    .buggy-golf-features-row .buggy-golf-feature-item .buggy-golf-h3,
    .buggy-golf-features-row .buggy-golf-feature-item .buggy-golf-text {
        text-align: center !important;
    }

    
}
