* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #24182d;
    background: #fffafa;
}

header {
    height: 85px;
    background: #24102f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    position: relative;
    z-index: 10;
}

.logo img {
    width: 170px;
    height: auto;
    display: block;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

nav a:hover {
    color: #d59aca;
}

.hero {
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    padding: 50px 10%;
    background: radial-gradient(circle at 20% 40%, #fff, #f3dff1, #e8cce9);
}

.hero-logo {
    width: 350px;
}

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

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-family: Georgia, serif;
    font-size: 48px;
    margin: 0 0 10px;
}

.hero-text h2 {
    color: #934e91;
    font-family: Georgia, serif;
    font-size: 30px;
    font-style: italic;
    margin: 0 0 25px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.boton {
    display: inline-block;
    background: #48205c;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    letter-spacing: 1px;
    border: 0;
    cursor: pointer;
    transition: 0.3s;
}

.boton:hover {
    background: #754178;
    transform: translateY(-2px);
}

.servicios {
    text-align: center;
    padding: 60px 8%;
    background: #fffdfc;
}

.servicios h2,
.galeria h2,
.precios h2,
.contacto h2 {
    color: #3d2450;
    font-size: 26px;
    letter-spacing: 2px;
    margin-bottom: 45px;
}

.servicios-container {
    display: flex;
    justify-content: center;
}

.servicio {
    width: 230px;
    padding: 10px 25px;
    border-right: 1px solid #d8bfd8;
    transition: 0.3s;
}

.servicio:hover {
    transform: translateY(-8px);
}

.servicio:last-child {
    border-right: 0;
}

.icono {
    font-size: 40px;
    margin-bottom: 15px;
}

.servicio h3 {
    color: #3d2450;
    font-size: 16px;
}

.servicio p {
    line-height: 1.5;
}

.galeria {
    text-align: center;
    padding: 60px 8%;
    background: #f5e8f3;
}

.galeria-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.galeria-container img {
    width: 180px;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.galeria-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.informacion {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 60px 10%;
    background: #fffdfc;
}

.precios,
.contacto {
    width: 400px;
}

.precios {
    border-right: 1px solid #d8bfd8;
    padding-right: 60px;
}

.precios h2,
.contacto h2 {
    text-align: center;
}

.precios p {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eaddea;
}

.precios strong {
    font-weight: normal;
}

.contacto p {
    font-size: 17px;
    margin: 20px 0;
}

.contacto .boton {
    margin-top: 15px;
}

footer {
    text-align: center;
    padding: 25px;
    background: #24102f;
    color: #fff;
}

footer p {
    margin: 0;
}

.visor {
    position: fixed;
    inset: 0;
    background: rgba(36, 16, 47, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 25px;
}

.visor img {
    max-width: 92%;
    max-height: 88%;
    object-fit: contain;
    border-radius: 15px;
}

.cerrar {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(36, 16, 47, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.formulario {
    background: #fffafa;
    width: 100%;
    max-width: 500px;
    padding: 35px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.formulario h2 {
    text-align: center;
    color: #3d2450;
    margin-top: 0;
}

.formulario label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
    font-weight: bold;
    color: #3d2450;
}

.formulario input,
.formulario select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d8bfd8;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
}

.precio-seleccionado {
    margin: 20px 0;
    padding: 15px;
    background: #f3dff1;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    color: #48205c;
}

.formulario .boton {
    width: 100%;
    margin-top: 10px;
}

.cerrar-formulario {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #48205c;
    cursor: pointer;
}

@media (max-width: 800px) {
    header {
        height: auto;
        flex-direction: column;
        padding: 20px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }

    nav a {
        font-size: 12px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .hero-logo {
        width: 250px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-text h2 {
        font-size: 25px;
    }

    .servicios-container {
        flex-direction: column;
        align-items: center;
    }

    .servicio {
        border-right: none;
        border-bottom: 1px solid #d8bfd8;
        padding: 25px;
    }

    .servicio:last-child {
        border-bottom: 0;
    }

    .informacion {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .precios {
        border-right: none;
        border-bottom: 1px solid #d8bfd8;
        padding-right: 0;
        padding-bottom: 40px;
    }

    .precios,
    .contacto {
        width: 90%;
    }

    .formulario {
        padding: 25px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .visor img {
        max-width: 96%;
        max-height: 80%;
    }
}
