/*==================================================
    RESET
==================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #FCFBF8;
    color: #333;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/*==================================================
    VARIABLES
==================================================*/

:root {

    --primary: #233B3D;

    --secondary: #C5A46D;

    --accent: #7FA9A3;

    --background: #FCFBF8;

    --section: #FFFFFF;

    --text: #444;

    --light: #777;

    --border: #E6E0D6;

    --soft: #F5F2EC;

    --container: 1280px;

}


/*==================================================
    CONTENEDORES
==================================================*/

.container {

    width: min(90%, var(--container));

    margin: auto;

}

section {

    padding: 130px 0;

}


/*==================================================
    BOTONES
==================================================*/

.btn {

    display: inline-block;

    padding: 18px 42px;

    border: 2px solid var(--secondary);

    background: var(--secondary);

    color: white;

    transition: .35s;

    font-weight: 600;

    letter-spacing: 1px;

    cursor: pointer;

    text-align: center;

}

.btn:hover {

    background: transparent;

    color: var(--secondary);

}


.btn-outline {

    display: inline-block;

    padding: 18px 42px;

    border: 2px solid white;

    color: white;

    transition: .35s;

    cursor: pointer;

}

.btn-outline:hover {

    background: white;

    color: var(--primary);

}


/*==================================================
    HERO
==================================================*/

.hero {

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    min-height: 100vh;

    padding: 100px 0;

    background:
        url("../assets/img/fondo.png")
        center center / cover
        no-repeat;

}

.overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(18, 30, 33, .55),
            rgba(18, 30, 33, .62)
        );

}

.hero-content {

    position: relative;

    z-index: 2;

    width: min(92%, 1000px);

    color: white;

    padding: 40px 0;

}

.subtitle {

    display: inline-block;

    margin-bottom: 25px;

    letter-spacing: 5px;

    color: #F3E7D1;

    font-weight: 600;

    font-size: .9rem;

}

.hero h1 {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: clamp(4rem, 8vw, 7rem);

    font-weight: 600;

    line-height: .95;

    margin-bottom: 30px;

}

.hero p {

    max-width: 850px;

    margin: 0 auto 45px;

    font-size: 1.12rem;

    line-height: 2;

    color: rgba(255,255,255,.92);

}

.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

}


/*==================================================
    DATOS DEL HERO
==================================================*/

.hero-data {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    max-width: 850px;

    margin: 55px auto 0;

    border-top:
        1px solid
        rgba(255,255,255,.35);

    border-bottom:
        1px solid
        rgba(255,255,255,.35);

}

.hero-data div {

    padding: 22px 15px;

    position: relative;

}

.hero-data div:not(:last-child)::after {

    content: "";

    position: absolute;

    right: 0;

    top: 25%;

    height: 50%;

    width: 1px;

    background:
        rgba(255,255,255,.25);

}

.hero-data strong {

    display: block;

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 2rem;

    color: white;

    margin-bottom: 4px;

}

.hero-data span {

    display: block;

    font-size: .72rem;

    text-transform: uppercase;

    letter-spacing: 2px;

    color:
        rgba(255,255,255,.75);

}


/*==================================================
    SECTION TITLE
==================================================*/

.section-title {

    max-width: 850px;

    margin: 0 auto 90px;

    text-align: center;

}

.section-title span {

    display: inline-block;

    margin-bottom: 18px;

    color: var(--secondary);

    letter-spacing: 5px;

    font-size: .9rem;

    font-weight: 600;

    text-transform: uppercase;

}

.section-title h2 {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: clamp(2.8rem, 5vw, 3.8rem);

    font-weight: 600;

    color: var(--primary);

    line-height: 1.2;

    margin-bottom: 25px;

}

.section-title p {

    max-width: 700px;

    margin: auto;

    color: var(--light);

    line-height: 2;

    font-size: 1.05rem;

}


/*==================================================
    BENEFITS
==================================================*/

.benefits {

    background: var(--background);

}

.benefits-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;

}

.benefit-card {

    background: white;

    padding: 50px 30px;

    border:
        1px solid
        var(--border);

    text-align: center;

    transition: .35s;

}

.benefit-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 18px 45px
        rgba(0,0,0,.08);

}

.benefit-icon {

    width: 80px;

    height: 80px;

    margin:
        auto auto 25px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: var(--soft);

    color: var(--secondary);

    font-size: 30px;

}

.benefit-card h3 {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 2rem;

    color: var(--primary);

    margin-bottom: 18px;

}

.benefit-card p {

    color: var(--light);

    line-height: 1.9;

    font-size: 1rem;

}

.benefit-card::before {

    content: "";

    display: block;

    width: 45px;

    height: 2px;

    background: var(--secondary);

    margin:
        0 auto 30px;

    opacity: .35;

}


/*==================================================
    ABOUT PROJECT
==================================================*/

.about-project {

    background: var(--section);

}

.about-container {

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 90px;

    align-items: center;

}

.about-image {

    position: relative;

    overflow: hidden;

    border-radius: 12px;

}

.about-image img {

    width: 100%;

    height: 650px;

    object-fit: cover;

    transition: .7s;

}

.about-image:hover img {

    transform: scale(1.05);

}

.about-content {

    max-width: 560px;

}

.section-label {

    display: inline-block;

    margin-bottom: 20px;

    color: var(--secondary);

    letter-spacing: 5px;

    font-size: .9rem;

    font-weight: 600;

}

.about-content h2 {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 3.8rem;

    line-height: 1.2;

    color: var(--primary);

    margin-bottom: 35px;

}

.about-content h2::after {

    content: "";

    display: block;

    width: 80px;

    height: 2px;

    background: var(--secondary);

    margin-top: 25px;

}

.about-content p {

    margin-bottom: 25px;

    color: var(--light);

    font-size: 1.05rem;

    line-height: 2;

}

.about-content .btn {

    margin-top: 20px;

}


/*==================================================
    CARACTERÍSTICAS
==================================================*/

.features-section {

    background:
        #F8F6F2;

}

.features-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}

.feature-item {

    display: flex;

    align-items: center;

    gap: 18px;

    min-height: 100px;

    padding: 25px;

    background: white;

    border:
        1px solid
        var(--border);

    transition: .3s;

}

.feature-item:hover {

    transform: translateY(-5px);

    box-shadow:
        0 12px 30px
        rgba(0,0,0,.06);

}

.feature-item i {

    width: 48px;

    height: 48px;

    min-width: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--soft);

    color: var(--secondary);

    border-radius: 50%;

    font-size: 18px;

}

.feature-item span {

    color: var(--text);

    font-size: .95rem;

    line-height: 1.5;

    font-weight: 500;

}


/*==================================================
    AMENIDADES
==================================================*/

.amenities-section {

    background:
        var(--background);

}

.amenities-section
.benefits-grid {

    grid-template-columns:
        repeat(4, 1fr);

}


/*==================================================
    GALERÍA
==================================================*/

.gallery {

    background:
        #F8F6F2;

}

.gallery-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    grid-template-rows:
        300px 300px;

    gap: 20px;

}

.gallery-item {

    overflow: hidden;

    border-radius: 10px;

    cursor: pointer;

    background: #ddd;

}

.gallery-item img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .7s;

}

.gallery-item:hover img {

    transform: scale(1.08);

}

.gallery-item.large {

    grid-row:
        1 / 3;

}


/*==================================================
    ESPACIOS / INVERSIÓN
==================================================*/

.spaces {

    background:
        var(--section);

}

.spaces-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 800px);

    justify-content: center;

    gap: 45px;

}

.space-card {

    background: white;

    border:
        1px solid
        var(--border);

    overflow: hidden;

    transition: .35s;

    box-shadow:
        0 10px 35px
        rgba(0,0,0,.04);

}

.space-card:hover {

    transform: translateY(-10px);

    box-shadow:
        0 25px 55px
        rgba(0,0,0,.08);

}

.space-card img {

    width: 100%;

    height: 420px;

    object-fit: cover;

    transition: .7s;

}

.space-card:hover img {

    transform: scale(1.04);

}

.space-content {

    padding: 45px;

}

.space-content h3 {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 2.5rem;

    color: var(--primary);

    margin-bottom: 20px;

}

.space-content p {

    color: var(--light);

    line-height: 2;

    margin-bottom: 30px;

}

.space-content ul {

    list-style: none;

    margin-bottom: 30px;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px 25px;

}

.space-content li {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--text);

    font-size: .95rem;

}

.space-content li::before {

    content: "✓";

    color: var(--secondary);

    font-weight: bold;

}

.price {

    margin: 25px 0 30px;

    padding-top: 25px;

    border-top:
        1px solid
        var(--border);

    color: var(--primary);

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 2.4rem;

    font-weight: 700;

}

.space-content .btn {

    width: 100%;

    text-align: center;

}


/*==================================================
    FORMULARIO
==================================================*/

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 22px;

}

.contact-form input,
.contact-form select,
.contact-form textarea {

    width: 100%;

    padding: 18px;

    border:
        1px solid
        var(--border);

    background: white;

    color: var(--text);

    font-family:
        'Montserrat',
        sans-serif;

    font-size: 1rem;

    transition: .3s;

    box-sizing: border-box;

    appearance: none;

    -webkit-appearance: none;

    -moz-appearance: none;

    border-radius: 0;

}

.contact-form input::placeholder,
.contact-form textarea::placeholder {

    color: #999;

}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {

    outline: none;

    border-color:
        var(--secondary);

    box-shadow:
        0 0 0 2px
        rgba(197,164,109,.08);

}

.contact-form textarea {

    resize: vertical;

    min-height: 150px;

}

.contact-form input[readonly] {

    background:
        #F5F5F5;

    color: #777;

    cursor: default;

}

.contact-form .btn {

    width: 100%;

    border-radius: 0;

}

.contact-form select {

    background-color: white;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23C5A46D' viewBox='0 0 16 16'%3E%3Cpath d='M3.204 5h9.592L8 10.481 3.204 5z'/%3E%3C/svg%3E");

    background-repeat: no-repeat;

    background-position:
        right 18px center;

    background-size: 16px;

    padding-right: 50px;

}


/*==================================================
    CAMPOS DE CRÉDITO
==================================================*/

#creditFields {

    display: none;

    flex-direction: column;

    gap: 22px;

}

#creditFields.active {

    display: flex;

}

#otherCredit {

    display: none;

}

#otherCredit.show {

    display: block;

}


/*==================================================
    CHECKBOX / CONSENTIMIENTO
==================================================*/

.form-check {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    cursor: pointer;

    color: var(--light);

    font-size: .82rem;

    line-height: 1.6;

}

.form-check input {

    width: 18px;

    height: 18px;

    min-width: 18px;

    margin-top: 2px;

    appearance: auto;

    -webkit-appearance: checkbox;

    accent-color:
        var(--secondary);

    cursor: pointer;

}


/*==================================================
    MODAL
==================================================*/

.modal {

    position: fixed;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 20px;

    background:
        rgba(25,35,38,.75);

    opacity: 0;

    visibility: hidden;

    transition: .35s;

    z-index: 9999;

}

.modal.active {

    opacity: 1;

    visibility: visible;

}

.modal-content {

    position: relative;

    width: min(92%, 700px);

    max-height: 90vh;

    overflow-y: auto;

    background:
        var(--section);

    padding: 50px;

    border-radius: 12px;

    box-shadow:
        0 30px 70px
        rgba(0,0,0,.18);

    transform:
        translateY(20px);

    transition:
        transform .35s ease;

}

.modal.active
.modal-content {

    transform:
        translateY(0);

}

.modal-content::-webkit-scrollbar {

    width: 8px;

}

.modal-content::-webkit-scrollbar-track {

    background: #EFEAE2;

}

.modal-content::-webkit-scrollbar-thumb {

    background:
        var(--secondary);

    border-radius: 10px;

}

.close-modal {

    position: absolute;

    top: 18px;

    right: 22px;

    border: none;

    background: none;

    font-size: 2rem;

    line-height: 1;

    color: var(--light);

    cursor: pointer;

    transition: .3s;

}

.close-modal:hover {

    color:
        var(--secondary);

}

.modal-header {

    text-align: center;

    margin-bottom: 40px;

}

.modal-header span {

    display: inline-block;

    margin-bottom: 15px;

    color:
        var(--secondary);

    letter-spacing: 4px;

    font-weight: 600;

    font-size: .9rem;

}

.modal-header h2 {

    font-family:
        'Cormorant Garamond',
        serif;

    font-size: 3rem;

    color:
        var(--primary);

    margin-bottom: 20px;

}

.modal-header p {

    color:
        var(--light);

    line-height: 1.9;

}


/*==================================================
    ESTADO DEL BOTÓN AL ENVIAR
==================================================*/

.contact-form
button[type="submit"]:disabled {

    opacity: .65;

    cursor:
        not-allowed;

}


/*==================================================
    UTILIDADES
==================================================*/

a,
button,
input,
textarea,
select {

    transition: .3s;

}

::selection {

    background:
        var(--secondary);

    color: white;

}

img {

    user-select: none;

    -webkit-user-drag: none;

}

.hidden {

    display:
        none !important;

}

.show {

    display:
        block !important;

}

.show-flex {

    display:
        flex !important;

}

.mt-20 {

    margin-top: 20px;

}

.mt-40 {

    margin-top: 40px;

}

.mb-20 {

    margin-bottom: 20px;

}

.mb-40 {

    margin-bottom: 40px;

}

.pointer {

    cursor: pointer;

}


/*==================================================
    ANIMACIONES
==================================================*/

@keyframes fadeUp {

    from {

        opacity: 0;

        transform:
            translateY(35px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}

.fade-up {

    animation:
        fadeUp .7s ease forwards;

}


/*==================================================
    SCROLLBAR
==================================================*/

::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background:
        #F4F1EC;

}

::-webkit-scrollbar-thumb {

    background:
        var(--secondary);

}

::-webkit-scrollbar-thumb:hover {

    background:
        #A98853;

}