body {
    background-color: #353536;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.grecaptcha-badge {
    z-index: 10000 !important;
}

section.model-parallax-section {
    height: 105vh;
    margin-bottom: 0px;
}

section.model-parallax-section .container {
    height: 100%;
}

section.model-parallax-section .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    will-change: transform, opacity;
}

section.model-parallax-section .layer[layer="1"] {
    z-index: 1;
    transition: transform 1s ease;
}

section.model-parallax-section .layer[layer="2"] {
    top: 20%;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    will-change: transform, opacity;
    z-index: 2;
}

.model-title {
    font-size: 25rem;
    color: #fff;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    transform: scale(0.9);
    opacity: 0.8;
    transition: transform 1.2s ease, opacity 1.2s ease;
    background: linear-gradient(180deg, #FFF 17.12%, rgba(63, 63, 66, 0.50) 71.24%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    height: auto;
    display: block;
    overflow: visible;
    padding: 0;
}

.model-image {
    max-width: 60%;
    height: auto;
}

.model-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    padding: 0px 20px;
}

.model-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    margin: 5px 0;
    opacity: 0;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    transition: opacity 0.5s ease;
}

.scroll-text {
    font-size: .875rem;
    margin-bottom: 10px;
    color: var(--blanco);
    font-weight: 500;
    letter-spacing: 1px;
}

.scroll-arrow {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 40px;
    transform: rotate(0deg);
}

.scroll-arrow span {
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid var(--blanco);
    border-right: 2px solid var(--blanco);
    transform: rotate(45deg);
    margin: -6px;
    animation: scrollAnimation 2s infinite;
}

.scroll-arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-arrow span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollAnimation {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-5px, -5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(5px, 5px);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0.7;
        transform: translateY(10px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0.7;
        transform: translateY(10px);
    }
}

section.model-info-section {
    min-height: 1000px;
    height: 100%;
    background-color: #FFF;
    border-radius: 100px 100px 0px 0px;
    position: relative;
    margin-top: 0px;
    margin-bottom: 0px;
    z-index: 100;
    padding-top: 80px;
    padding-bottom: 80px;
}

section.model-info-section .container.brochure-container {
    max-width: 1400px;
    margin-top: -171px;
}

.brochure-download {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    background: linear-gradient(83deg, #300003 -38.16%, #BB000B 70.64%);
    width: 80%;
    margin: 0 auto;
}

.brochure-download h2 {
    color: #fff;
    margin: 0;
}

.brochure-download .download-button {
    border-radius: 100px;
    background: #300003;
    color: #fff;
    padding: 20px 30px;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.brochure-download .download-button:hover {
    background-color: #680208;
    color: #FFF;
}

section.model-info-section .container.model-info-container {
    max-width: 1000px;
}

section.model-info-section .container.model-info-container label {
    color: #000;
    font-size: 1.25rem;
    font-weight: 700;
    width: 100%;
    margin: 90px 0px;
    display: flex;
    align-items: center;
    gap: 20px;
}

section.model-info-section .container.model-info-container label select {
    border-radius: 4px;
    border: 1px solid #7A7D7E;
    background: #FFF;
    width: 100%;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 1.125rem;
}

.model-characteristics-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2px 8.2px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.model-characteristics-item {
    display: flex;
    width: 100%;
    gap: 3.5px;
}

.characteristic {
    background-color: #6c757d;
    padding: 15px 20px;
    width: 50%;
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
}

.characteristic p {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    text-align: center;
}

.characteristic-info {
    background-color: #f0f0f0;
    padding: 15px 20px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.characteristic-info p {
    margin: 0;
    font-size: 1.125rem;
}

.price-container {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    background-color: #EDEDED;
    margin: 50px 0px;
}

.price-container .column {
    width: 50%;
    height: 100%;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.price-container .column p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #680208;
}

.price-note {
    font-size: 1.25rem;
    font-weight: 400;
    text-align: center;
}

.gallery-specs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 100px;
    padding: 100px 0px;
}

.gallery-specs-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.gallery-specs-item.reverse {
    flex-direction: row-reverse;
}

.gallery-specs-item img {
    width: 60%;
    max-width: 540px;
    height: auto;
    max-height: 540px;
}

.gallery-specs-item .gallery-specs-item-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    border: 0.877px solid #EDEDED;
    background: #FFF;
    box-shadow: 28px 14px 35px 0px rgba(30, 52, 52, 0.10);
    padding: 59px 52px;
    min-height: 350px;
    width: 45%;
    margin-left: -100px;
    margin-right: 0px;
    z-index: 100;
}

.gallery-specs-item.reverse .gallery-specs-item-info {
    margin-left: 0px;
    margin-right: -100px;
}

.gallery-specs-item-info-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0px;
}

.gallery-specs-item-info-title-separator {
    width: 100%;
    height: 1px;
    background-color: #680208;
    margin: 10px 0px;
    max-width: 100px;
    margin: 1rem 0px;
}

.gallery-specs-item-info-description {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0px;

}

    /* Estilos para la animación */
    .animate-on-scroll {
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .animate-on-scroll.hidden {
        opacity: 0;
        transform: translateY(50px);
    }

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Retraso para elementos alternos */
    .gallery-specs-item:nth-child(2) {
        transition-delay: 0.2s;
    }

    .gallery-specs-item:nth-child(3) {
        transition-delay: 0.4s;
    }

.know-more-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 40px 40px;
    background: #EDEDED;
}

.know-more-container p {
    font-family: Stara;
    margin: 0;
    font-weight: 800;
    font-size: 1.875rem;
}

.buttons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.buttons-container .button {
    border-radius: 100px;
    background: #300003;
    color: #fff;
    padding: 15px 20px;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.buttons-container .button:hover {
    background-color: #680208;
}

.buttons-container .button.red {
    background-color: #BF2932;
}

.buttons-container  .button.red:hover {
    background-color: #F04D56;
}

.model-characteristics-container,
.model-price {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.model-characteristics-container.fade-out,
.model-price.fade-out {
    opacity: 0;
}

.model-characteristics-container.fade-in,
.model-price.fade-in {
    opacity: 1;
}

/* Popup de contacto */

/* Estilos para el popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .popup-container {
    width: 90%;
    max-width: 800px;
    background-color: #f2f2f2;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  .popup-content h2 {
    font-size: 2.25rem;
    color: #222;
    font-weight: bold;
  }

  .popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
  }

  .popup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
  }

  .form-group label {
    margin-bottom: 10px;
    font-weight: 500;
  }

  .form-group input,
  .form-group textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
  }

  .form-group input[readonly] {
    background-color: #f0f0f0;
    color: #333;
  }

  .form-group input[readonly]::placeholder {
    color: #333;
  }

  .form-group input[readonly]:focus {
    border: 1px solid #333;
  }

  .form-group textarea {
    min-height: 150px;
    resize: vertical;
  }

  .form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
  }

  .send-button {
    background-color: #5e0101;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 35px;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .send-button:hover {
    background-color: #3a0000;
  }

  .popup-footer {
    margin-top: 30px;
    display: flex;
    justify-content: start;
  }

  .popup-logo {
    height: 40px;
  }

  .close-button {
    font-size: 3.125rem;
    font-weight: bold;
    color: #333;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    transition: color 0.3s;
    padding: 0;
    border-radius: 50%;
    z-index: 10;
  }

  .close-button:hover {
    color: #5e0101;
  }

  .popup-content {
    position: relative;
  }

  .error-message {
    color: #DA0612;
    font-size: 1rem;
    font-weight: 500;
    position: absolute;
    bottom: -22px;
    left: 0;
  }


@media (max-width: 768px) {

    section.model-parallax-section {
        height: 105vh;
        margin-top: 60px;
    }

    section.model-info-section {
        border-radius: 0px;
    }

    section.model-parallax-section .layer[layer="2"] {
        top: 16%;
    }

    section.model-info-section .container.brochure-container {
        padding: 0px 0px;

    }

    .brochure-download {
        flex-direction: column;
        width: 100%;
        padding: 20px;
        border-radius: 50px 50px 0px 0px;
    }

    .brochure-download .download-button {
        width: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
    }



    .brochure-download h2 {
        font-size: 2rem;
        text-align: center;
    }

    .model-title {
        font-size: 17rem;
    }

    .model-image {
        max-width: 90%;
    }

    .scroll-indicator {
        margin-top: 20px;
    }

    .scroll-text {
        font-size: .875rem;
    }

    .scroll-arrow {
        transform: rotate(180deg);
    }

    .scroll-arrow span {
        width: 10px;
        height: 10px;
        border-width: 2px;
        margin: -4px;
    }

    .model-characteristics-container {
        grid-template-columns: 1fr;
    }

    .gallery-specs-item img {
        width: 100%;
    }

    .gallery-specs-item,
    .gallery-specs-item.reverse {
        flex-direction: column;
    }

    .gallery-specs-item .gallery-specs-item-info,
    .gallery-specs-item.reverse .gallery-specs-item-info {
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
    }

    .characteristic p {
        font-size: 1.125rem;
        text-align: center;
    }

    .characteristic-info p {
        font-size: 1.125rem;
        text-align: center;
    }

    .price-container .column {
        padding: 20px 20px;
    }

    .price-container .column p {
        font-size: 1rem;
        text-align: center;
    }

    .know-more-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .know-more-container .buttons-container {
        flex-direction: column;
        width: 100%;
    }

    .know-more-container .button {
        width: 100%;
        text-align: center;
    }

    /* Popup de contacto */

    .close-button {
        font-size: 2.125rem;
    }

    .popup-overlay {
        align-items: center;
        padding: 20px 0;
    }

    .popup-container {
        width: 95%;
        max-height: 85vh;
        padding: 15px;
        margin: 0 auto;
        overflow-y: auto;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
    }

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

    .popup-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        text-align: start;
    }

    .popup-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .form-group {
        width: 100%;
        margin-bottom: 10px;
    }

    .form-group input,
    .form-group textarea {
        font-size: .875rem;
    }

    .form-actions {
        width: 100%;
    }

    .send-button {
        width: 100%;
        padding: 12px 0;
    }

    .popup-footer {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 488px) {
    .popup-container {
        padding: 12px;
        max-height: 90vh;
    }

    .model-title {
        font-size: 9rem;
    }

    .characteristic p {
        font-size: 1rem;
    }

    .characteristic-info p {
        font-size: 1rem;
    }


    .popup-content h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .form-group label {
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px;
    }

    .error-message {
        bottom: -20px;
        font-size: .875rem;
    }
}














