body {
    min-height: 100vh;
    background-color: #FAFAFA;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 73vh;
    width: 100%;
    background-color: #f7f7f7;
    overflow: hidden;
    padding: 0 5%;
    margin-top: 10px;
}

.hero-content {
    flex: 1;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-left: 4px solid #c6a15b;
    max-width: 450px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #000;
}

.hero-content p {
    font-size: 1rem;
    color: #555;
    margin-top: 10px;
}

.hero-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: auto;
    height: 80%;
    max-width: 90%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column-reverse;
        height: auto;
        padding: 2rem 1rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        padding: 1.5rem;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
}

.contenido {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 10%;
    gap: 40px;
    background-color: #fff;
}

.contenido-principal {
    display: flex;
    flex: 2;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1E1E1E;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.incluye {
    margin-top: 30px;
}

.incluye h4 {
    margin-bottom: 10px;
    color: #B8903D;
}

.incluye ul {
    list-style: none;
    padding-left: 0;
}

.incluye li {
    padding: 5px 0;
    color: #555;
}

.img-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.img-group img {
    width: 280px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.side-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.formulario {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.formulario h5 {
    margin-bottom: 15px;
    color: #1E1E1E;
}

.formulario input {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #CCC;
    border-radius: 5px;
}

.formulario button {
    width: 100%;
    padding: 10px;
    background-color: #B8903D;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.formulario button:hover {
    background-color: #A07C2C;
}

.otras h5 {
    color: #1E1E1E;
    margin-bottom: 10px;
}

.otras p {
    color: #555;
    margin: 5px 0;
}

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
}

#lightbox.active {
    visibility: visible;
    opacity: 1;
}

#lightbox img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
}

.close-btn:hover {
    color: #B8903D;
}

@media (max-width: 1024px) {
    .contenido {
        flex-direction: column;
        padding: 40px 5%;
    }

    .contenido-principal {
        flex-direction: column;
        align-items: center;
    }

    .img-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .img-group img {
        width: 45%;
        height: 180px;
    }

    .side-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contenido {
        padding: 30px 5%;
        gap: 20px;
    }

    .text-content h2 {
        font-size: 1.5rem;
    }

    .text-content p {
        font-size: 0.95rem;
    }

    .img-group img {
        width: 100%;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: auto;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .contenido {
        padding: 20px 5%;
    }

    .img-group img {
        height: 160px;
    }

    .formulario {
        padding: 15px;
    }
}

.btn-contact {
    position: relative;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px;
    color: #fff;
    background: #C2B280;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.side-content {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.formulario {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F0EEE8;
    width: 100%;
    max-width: 480px;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.formulario h5 {
    color: #1C1C1C;
    text-align: center;
    margin-bottom: 10px;
}

.formulario .casillas {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.formulario .casillas input,
.formulario .casillas textarea {
    border-radius: 5px;
    border: none;
    padding: 10px;
    margin: 10px 0;
    width: 100%;
    font-size: 1rem;
}

.formulario .casillas textarea {
    height: 100px;
    resize: none;
}

.formulario .checkbox {
    width: 100%;
    margin: 10px 0;
    font-size: 0.9rem;
}

.formulario .checkbox a {
    color: #1C1C1C;
    text-decoration: underline;
}

.formulario .btn-start {
    width: 100%;
    margin-top: 10px;
}

.formulario .btn-contact {
    width: 100%;
    padding: 12px;
    background-color: #1C1C1C;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.formulario .btn-contact:hover {
    background-color: #333;
}