@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Manrope:wght@200..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --marfil: #fffcf6;
    --verde_oscuro: #1F3A2E;
    --dorado_suave: #C8A96A;
    --cafe_calido: #5A4032;
    --cafe_oscuro: #2c2826;
    --Rosa: #E81B86;
}

body {
    background-color: var(--marfil);
    font-family: 'Manrope', sans-serif;

}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 3%;
    height: 100px;
    background-color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
}

header .contlogoheader {
    display: flex;
    height: 100%;
}

header .logoheader {
    display: flex;
    height: 90%;
    z-index: 1000;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 90%;
}

header .menuheader {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 60%;
    list-style: none;
}

header .menuheader li a {
    text-decoration: none;
    color: var(--verde_oscuro);
    transition: all .5s;
    z-index: 0;
}

header .menuheader li a:hover {
    background: linear-gradient(180deg,
            #fff8d6 0%,
            #f8e28c 20%,
            #d4af37 40%,
            #a97c18 60%,
            #fff3b5 80%,
            #d4af37 100%);

    background-clip: text;
    -webkit-text-fill-color: transparent;
}

header .cotizarheader {
    color: #757164;
    letter-spacing: .8px;
    transition: .35s;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    text-decoration: none;
}

header .cotizarheader:hover {
    background: #143125;
    border-color: #F3D98C;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(212, 175, 55, .25);
    background: black;
}

header .botonheader {
    width: 45px;
    height: 45px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

header .botonheader span {
    height: 2px;
    width: 28px;
    background: var(--verde_oscuro);
    transition: .4s;
    border-radius: 10px;
}

header .botonheader.open span:nth-child(1) {
    transform:
        translateY(8px) rotate(45deg);
}

header .botonheader.open span:nth-child(2) {
    opacity: 0;
}

header .botonheader.open span:nth-child(3) {
    transform:
        translateY(-8px) rotate(-45deg);
}

.hero {
    background: url(img/hero3.png);
    width: 100%;
    height: 100svh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    position: relative;
    display: flex;
}

.capahero {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.712), rgba(0, 0, 0, 0.6));
    width: 100%;
    height: 100%;
    z-index: 1;
}

.txthero {
    color: white;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 0;
    padding: 0px 50px 0px 50px;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 15px;
}

.txthero h2 {
    font-size: clamp(2rem, 4vw, 4rem);
}

.txthero h3 {
    font-size: clamp(1rem, 2vw, 2rem);
}

.btnshero {
    gap: 20px;
    display: flex;
}

.btnshero a {
    padding: clamp(5px, 2vw, 10px) 10px;
    border: 1.5px solid white;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.4s;
    font-size: clamp(.8rem, 2vw, 1rem);
}

.btnshero a:hover {
    scale: 1.1;
}

.btnhero1 {
    background-color: white;
    color: black;
}

.btnhero2 {
    color: white;
}

.bienvenidahero {
    position: absolute;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.897);
    color: black;
    bottom: 0;
    left: 50%;
    width: 50%;
    transform: translate(-50%, 50%);
    padding: 40px;
    backdrop-filter: blur(5px);
    font-size: clamp(1rem, 1vw, 2rem);
    border-radius: 20px;
}

.historia {
    width: 80%;
    margin: 50px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}

.historia .txthistoria {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-evenly;
}

.historia .txthistoria h3 {
    color: var(--verde_oscuro);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.historia .imghistoria {
    min-height: 360px;
    perspective: 1200px;
    outline: none;
}

.historia .tarjetahistoria {
    position: relative;
    height: 100%;
    min-height: 360px;
    transform-style: preserve-3d;
    transition: transform .8s cubic-bezier(.2, .65, .2, 1);
}

.historia .imghistoria:hover .tarjetahistoria,
.historia .imghistoria:focus .tarjetahistoria,
.historia .imghistoria:focus-within .tarjetahistoria {
    transform: rotateY(180deg);
}

.historia .tarjetahistoria-cara {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 1px solid rgba(31, 58, 46, .28);
    border-radius: 22px;
    backface-visibility: hidden;
    box-shadow: 0 24px 45px rgba(31, 58, 46, .16);
}

.historia .tarjetahistoria-frente img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
}

.historia .tarjetahistoria-reverso {
    background: var(--marfil);
    color: var(--cafe_oscuro);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 34px;
    text-align: center;
}

.historia .tarjetahistoria-reverso h3 {
    color: var(--verde_oscuro);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.historia .tarjetahistoria-reverso p {
    line-height: 1.7;
    font-size: .98rem;
}

.lineatiempo {
    width: 100%;
    padding: 70px 0 90px;
    background: var(--marfil);
}

.lineatiempo-encabezado {
    width: min(80%, 920px);
    margin: 0 auto 55px;
    text-align: center;
}

.lineatiempo-encabezado span {
    color: var(--cafe_calido);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.lineatiempo-encabezado h2 {
    color: var(--verde_oscuro);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1;
    margin: 10px 0 18px;
}

.lineatiempo-encabezado p {
    color: var(--cafe_oscuro);
    line-height: 1.8;
}

.timeline {
    position: relative;
    width: min(86%, 1100px);
    margin: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, var(--dorado_suave), var(--verde_oscuro), transparent);
}

.timeline-evento {
    position: relative;
    width: 50%;
    padding: 0 42px 38px 0;
}

.timeline-evento:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 38px 42px;
}

.timeline-evento::before {
    content: "";
    position: absolute;
    top: 20px;
    right: -10px;
    width: 20px;
    height: 20px;
    border: 4px solid var(--marfil);
    border-radius: 50%;
    background: var(--dorado_suave);
    box-shadow: 0 0 0 5px rgba(200, 169, 106, .22);
    z-index: 2;
}

.timeline-evento:nth-child(even)::before {
    right: auto;
    left: -10px;
}

.timeline-contenido {
    position: relative;
    padding: 28px;
    background: rgba(255, 252, 246, .92);
    border: 1px solid rgba(200, 169, 106, .36);
    border-radius: 24px;
    box-shadow: 0 22px 45px rgba(31, 58, 46, .11);
    transition: transform .35s, box-shadow .35s, border-color .35s;
}

.timeline-contenido:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 169, 106, .75);
    box-shadow: 0 28px 55px rgba(31, 58, 46, .18);
}

.timeline-fecha {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(31, 58, 46, .09);
    color: var(--verde_oscuro);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .7px;
}

.timeline-contenido h3 {
    color: var(--cafe_calido);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.45rem, 2vw, 2rem);
    margin-bottom: 10px;
}

.timeline-contenido p {
    color: var(--cafe_oscuro);
    line-height: 1.75;
    font-size: .95rem;
}

.galeria {
    width: 86%;
    margin: auto;
    padding: 20px 0 95px;
}

.galeria-encabezado {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.galeria-encabezado span {
    color: var(--cafe_calido);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.galeria-encabezado h2 {
    color: var(--verde_oscuro);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1;
    margin: 10px 0 16px;
}

.galeria-encabezado p {
    color: var(--cafe_oscuro);
    line-height: 1.8;
}

.instruccion-mobile {
    display: none;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.galeria-card {
    min-height: 430px;
    perspective: 1200px;
    outline: none;
}

.galeria-card-inner {
    position: relative;
    height: 100%;
    min-height: 430px;
    transform-style: preserve-3d;
    transition: transform .8s cubic-bezier(.2, .65, .2, 1);
}

.galeria-card:hover .galeria-card-inner,
.galeria-card:focus .galeria-card-inner,
.galeria-card:focus-within .galeria-card-inner {
    transform: rotateY(180deg);
}

.galeria-card-cara {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 1px solid rgba(31, 58, 46, .22);
    border-radius: 24px;
    backface-visibility: hidden;
    box-shadow: 0 24px 48px rgba(31, 58, 46, .14);
}

.galeria-card-frente img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.galeria-card-reverso {
    transform: rotateY(180deg);
    background: var(--marfil);
    color: var(--cafe_oscuro);
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 14px;
    padding: 30px;
}

.galeria-card-reverso h3 {
    color: var(--verde_oscuro);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.galeria-card-reverso p {
    line-height: 1.7;
    font-size: .96rem;
}

.serviciosencabezado {
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

.serviciosencabezado h3 {
    color: var(--cafe_calido);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.serviciosencabezado h2 {
    color: var(--verde_oscuro);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    line-height: 1;
    margin: 10px 0 16px;
}

.serviciosencabezado p {
    color: var(--cafe_oscuro);
    line-height: 1.5;
    font-family: 'Manrope', sans-serif;
}

.contenedorservicios {
    width: 80%;
    margin: 80px auto;
}

.contenedorservicios h3 {
    text-align: center;
    color: var(--verde_oscuro);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin: 50px;
}

.contenedortarjetasservicios {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tarjetaservicio {
    display: flex;
    flex-direction: column;
    width: 100%;
    aspect-ratio: 1;
    background-color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    overflow: hidden;
}

.tarjetaservicio img {
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover;
}

.tarjetainfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 5%;
}

.tarjetainfo .icono {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--dorado_suave);
    width: 15%;
    aspect-ratio: 1;
    top: 0;
    left: 50%;
    transform: translate(-50%, -60%);
    display: flex;
    background-color: white;
    align-items: center;
    justify-content: center;

}

.tarjetainfo h4 {
    font-size: .95rem;
}

.infoservicios {
    width: 100%;
    height: calc(100vh - 100px);
    margin: 100px 0;
    padding: 0;
    background-color: white;
    background: url(img/alberca.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.continfoservicios {
    display: grid;
    width: 80%;
    grid-template-columns: 2fr 3fr;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.661);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 4% 5%;
    backdrop-filter: blur(5px);
}

.infoservicios h3 {
    margin: 10px 0;
    font-size: 1.3rem;
    color: var(--verde_oscuro);
}

.servicios-incluidos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    border-right: .5px solid var(--dorado_suave);
    width: 100%;
    height: 100%;
    gap: 20px;
}

.servicios-incluidos ul {
    list-style: none;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
}

.paquetes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    border-left: .5px solid var(--dorado_suave);
    width: 100%;
    height: 100%;
    padding: 0 5%;
    gap: 20px;
}

.paquetes table {
    border-radius: 10px;
    overflow: hidden;
    padding: 1%;
}

.paquetes table thead th {
    background-color: var(--verde_oscuro);
    border-radius: 5px;
    overflow: hidden;
    color: #ffffff;
    padding: 2% 0;

}

.paquetes table tbody td {
    border: 1px solid var(--dorado_suave);
    border-radius: 5px;
    padding: 2%;

}

.contacto h3 {
    text-align: center;
    color: var(--verde_oscuro);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin: 50px;
}

.contenedorcontacto {
    display: grid;
    grid-template-columns: 2fr 3fr;
    background-color: white;
    width: 80%;
    margin: 50px auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.formulario {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.formulario h4 {
    text-align: center;
    color: var(--verde_oscuro);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2rem);
    margin: 10px;
}

.formulario form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    margin: 20px 0;
    width: 100%;

}

.formulario form .lineaform {
    width: 90%;
}

.formulario form input,
.formulario form textarea {
    border: 1px solid var(--dorado_suave);
    resize: none;
    border-radius: 10px;
    padding: 5px 00px 80px 5px;
    width: 100%;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.redes h4 {
    text-align: center;
    color: var(--verde_oscuro);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2rem);
    margin: 10px 0;
}

.conticonosredes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 35px auto;
}

.conticonosredes a {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: var(--verde_oscuro);
    font-family: 'Cormorant Garamond', serif;
}

.conticonosredes a p {
    font-size: 1.3rem;
}

.conticonosredes a i {
    aspect-ratio: 1;
    background-color: var(--marfil);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
}

.ubicacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px;
}

.ubicacion iframe {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1450px) {
    .contenedortarjetasservicios {
        grid-template-columns: repeat(3, 1fr);
    }

    .contenedorcontacto {
        width: 90%;
    }
}

@media (max-width: 950px) {

    header::before {
        content: "";
        position: absolute;
        inset: 0;
        background: white;
        z-index: 2;
        pointer-events: none;
    }

    header .contlogoheader,
    header .botonheader {
        position: relative;
        z-index: 3;
    }

    header nav {
        position: fixed;
        top: 100px;
        transform: translateY(calc(-100% - 100px));
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100svh - 100px);
        background: rgb(255, 255, 255);
        transition: transform .55s cubic-bezier(.22, .61, .36, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1;
        gap: 35px;
        padding: 48px 0 55px;
        overflow-y: auto;
        border-radius: 0 0 28px 28px;
        box-shadow: 0 24px 45px rgba(31, 58, 46, .14);
    }

    header nav.active {
        transform: translateY(0);
        z-index: 1;
    }

    header .menuheader {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        padding: 0px 0;
        width: 100%;
    }

    header .botonheader {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        overflow: initial;
    }

    .bienvenidahero {
        transform: translate(-50%, 70%);
        width: 90%;
        font-size: .85rem;
    }

    .historia {
        grid-template-columns: 1fr;
    }

    .historia .imghistoria,
    .historia .tarjetahistoria {
        min-height: 320px;
    }

    .lineatiempo {
        padding: 55px 0 70px;
    }

    .lineatiempo-encabezado,
    .timeline {
        width: 90%;
    }

    .timeline::before {
        left: 12px;
    }

    .timeline-evento,
    .timeline-evento:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 30px 42px;
    }

    .timeline-evento::before,
    .timeline-evento:nth-child(even)::before {
        left: 2px;
        right: auto;
    }

    .timeline-contenido {
        padding: 24px;
    }

    .galeria {
        width: 90%;
        padding-bottom: 70px;
    }

    .instruccion-desktop {
        display: none;
    }

    .instruccion-mobile {
        display: inline;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .galeria-card,
    .galeria-card-inner {
        min-height: 360px;
    }

    .contenedorservicios {
        width: 90%;
    }

    .contenedortarjetasservicios {
        gap: 20px 10px;
        grid-template-columns: repeat(1, 1fr);
    }

    .tarjetainfo .icono {
        width: 20%;
    }

    .infoservicios {
        height: auto;
        padding: 5% 0;
    }

    .continfoservicios {
        grid-template-columns: 1fr;
        width: 92%;
    }

    .servicios-incluidos {
        border-right: 0;

    }

    .servicios-incluidos ul {
        gap: 9px;
        list-style: circle;
    }

    .servicios-incluidos li {
        font-size: .9rem;
    }

    .paquetes {
        border-left: 0;
        margin-top: 30px;
    }

    .paquetes td {
        font-size: .9rem;
    }

    .contenedorcontacto {
        grid-template-columns: 1fr;
    }

    .formulario form {
        width: 90%;
        gap: 20px;
    }


    .formulario form input,
    .formulario form textarea {
        border: 1px solid var(--dorado_suave);
        resize: none;
        border-radius: 10px;
        padding: 5px 00px 40px 5px;
        width: 100%;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .conticonosredes a p {
    font-size: 1rem;
}

    .ubicacion {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 50px 15px;
    }

    .ubicacion iframe {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .historia .tarjetahistoria,
    .timeline-contenido,
    .galeria-card-inner {
        transition: none;
    }
}