/*==================================================
    VARIABLES
==================================================*/

:root {

    --primary: #C32026;

    --primary-dark: #9D1C22;

    --secondary: #5F5F5F;

    --background: #F8F8F8;

    --white: #FFFFFF;

    --text: #444444;

    --border: #E6E6E6;

    --shadow:
        0 12px 35px rgba(0,0,0,.08);

    --radius: 10px;

}


/*==================================================
    RESET
==================================================*/

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        'Montserrat',
        sans-serif;

    background:
        var(--background);

    color:
        var(--text);

    overflow-x:
        hidden;

}


img {

    display: block;

    width: 100%;

}


a {

    text-decoration: none;

    color: inherit;

}


ul {

    list-style: none;

}


/*==================================================
    CONTAINER
==================================================*/

.container {

    width: 90%;

    max-width: 1280px;

    margin: auto;

}


/*==================================================
    SECTIONS
==================================================*/

section {

    padding: 110px 0;

}


.section-header {

    text-align: center;

    max-width: 800px;

    margin: 0 auto 70px;

}


.section-header span {

    color:
        var(--primary);

    font-size: .9rem;

    letter-spacing: 4px;

    font-weight: 700;

}


.section-header h2 {

    margin-top: 20px;

    font-size: 3rem;

    color: #222;

}


.section-header p {

    margin-top: 25px;

    line-height: 1.9;

}


/*==================================================
    HERO
==================================================*/

.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            135deg,
            #FAFAFA,
            #F3F3F3
        );

    position: relative;

    overflow: hidden;

}


.hero::before {

    content: "";

    position: absolute;

    width: 650px;

    height: 650px;

    background:
        rgba(195,32,38,.05);

    border-radius: 50%;

    right: -250px;

    top: -200px;

}


.hero .container {

    display: grid;

    grid-template-columns:
        1.2fr .8fr;

    gap: 80px;

    align-items: center;

    position: relative;

    z-index: 2;

}


.hero-content span {

    color:
        var(--primary);

    font-weight: 700;

    letter-spacing: 4px;

    font-size: .9rem;

}


.hero-content h1 {

    font-size: 4.5rem;

    margin: 25px 0;

    color: #222;

    line-height: 1.1;

}


.hero-content p {

    line-height: 2;

    margin-bottom: 40px;

    max-width: 600px;

}


.hero-buttons {

    display: flex;

    gap: 20px;

    flex-wrap: wrap;

}


.hero-image {

    display: none;

}


.hero-image img {

    width: 100%;

    max-width: 520px;

}


/*==================================================
    BUTTONS
==================================================*/

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 18px 36px;

    background:
        var(--primary);

    color: white;

    border-radius:
        var(--radius);

    transition: .35s;

    font-weight: 600;

    border: none;

    cursor: pointer;

    font-family: inherit;

}


.btn:hover {

    background:
        var(--primary-dark);

    transform:
        translateY(-3px);

}


.btn-outline {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 18px 36px;

    border:
        2px solid var(--primary);

    color:
        var(--primary);

    border-radius:
        var(--radius);

    transition: .35s;

    font-weight: 600;

}


.btn-outline:hover {

    background:
        var(--primary);

    color: white;

}


/*==================================================
    ABOUT
==================================================*/

.about {

    background:
        #FFFFFF;

    padding:
        105px 0 115px;

}


/*==================================================
    CONTENIDO
==================================================*/

.about-content {

    display:
        grid;

    grid-template-columns:
        1.15fr .85fr;

    gap:
        80px;

    align-items:
        center;

}


/*==================================================
    TEXTO
==================================================*/

.about-text {

    max-width:
        720px;

    display:
        flex;

    flex-direction:
        column;

    gap:
        24px;

}


.about-text p {

    margin:
        0;

    color:
        #555555;

    font-size:
        .9rem;

    font-weight:
        400;

    line-height:
        2;

    letter-spacing:
        .1px;

}


/*==================================================
    PRIMER PÁRRAFO
==================================================*/

.about-text p:first-child {

    color:
        #3F3F3F;

    font-size:
        .95rem;

    line-height:
        1.9;

}


/*==================================================
    IMAGEN
==================================================*/

.about-image {

    position:
        relative;

}


.about-image::before {

    content:
        "";

    position:
        absolute;

    width:
        100%;

    height:
        100%;

    border:
        1px solid rgba(195,32,38,.15);

    border-radius:
        var(--radius);

    top:
        12px;

    left:
        12px;

    z-index:
        0;

}


.about-image img {

    position:
        relative;

    z-index:
        1;

    width:
        100%;

    aspect-ratio:
        4 / 3;

    object-fit:
        cover;

    border-radius:
        var(--radius);

    box-shadow:
        0 15px 40px rgba(0,0,0,.10);

}


/*==================================================
    ABOUT HEADER
==================================================*/

.about .section-header {

    margin-bottom:
        60px;

}


.about .section-header span {

    display:
        block;

    color:
        var(--primary);

    font-size:
        .75rem;

    font-weight:
        700;

    letter-spacing:
        4px;

}


.about .section-header h2 {

    margin-top:
        18px;

    color:
        #222222;

    font-size:
        3rem;

    font-weight:
        700;

    line-height:
        1.15;

}

/*==================================================
    BENEFITS
==================================================*/

.benefits {

    background:
        #F8F8F8;

}


.benefits-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 30px;

}


.benefit-card {

    background:
        white;

    padding:
        40px 30px;

    border-radius:
        var(--radius);

    text-align:
        center;

    transition:
        .35s;

    box-shadow:
        var(--shadow);

}


.benefit-card:hover {

    transform:
        translateY(-8px);

}


.benefit-icon {

    width: 70px;

    height: 70px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(195,32,38,.08);

    color:
        var(--primary);

    font-size: 1.8rem;

    margin-bottom: 25px;

}


.benefit-card h3 {

    margin-bottom: 15px;

    color: #222;

}


.benefit-card p {

    line-height: 1.8;

}


/*==================================================
    GALLERY
==================================================*/

.gallery {

    background:
        white;

}


.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 25px;

}


.gallery-item {

    overflow: hidden;

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);

    cursor: pointer;

}


.gallery-item img {

    width: 100%;

    height: 280px;

    object-fit: cover;

    transition:
        .4s;

}


.gallery-item:hover img {

    transform:
        scale(1.08);

}


/*==================================================
    SPACES
==================================================*/

.spaces {

    background:
        #F8F8F8;

}


.spaces-grid {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 30px;

}


/*==================================================
    SPACE CARD
==================================================*/

.space-card {

    position: relative;

    display: flex;

    flex-direction: column;

    background:
        white;

    padding:
        35px;

    border:
        1px solid #E5E5E5;

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;

}


.space-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 18px 40px rgba(0,0,0,.11);

    border-color:
        var(--primary);

}


/*==================================================
    SPACE CARD TOP
==================================================*/

.space-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;

}


.space-card-icon {

    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border:
        1px solid var(--primary);

    color:
        var(--primary);

    border-radius:
        50%;

    font-size:
        20px;

}


.space-status {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color:
        var(--primary);

    font-size:
        9px;

    font-weight:
        700;

    letter-spacing:
        1.5px;

    text-transform:
        uppercase;

}


.space-status i {

    font-size:
        6px;

}


/*==================================================
    SPACE CARD CONTENT
==================================================*/

.space-card-content {

    display: flex;

    flex-direction: column;

    height: 100%;

}


.space-card h3 {

    margin:
        0 0 12px;

    color:
        #222;

    font-size:
        1.4rem;

    font-weight:
        600;

    line-height:
        1.3;

}


/*==================================================
    SPACE PRICE
==================================================*/

.space-price {

    margin-bottom:
        25px;

    color:
        var(--primary);

    font-size:
        1.5rem;

    font-weight:
        700;

    line-height:
        1.2;

}


/*==================================================
    SPACE DETAILS
==================================================*/

.space-details {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:
        14px;

    padding:
        20px 0;

    margin-bottom:
        25px;

    border-top:
        1px solid #E5E5E5;

    border-bottom:
        1px solid #E5E5E5;

}


.space-details span {

    display: flex;

    align-items: center;

    gap: 9px;

    color:
        #555;

    font-size:
        .72rem;

    line-height:
        1.4;

}


.space-details i {

    color:
        var(--primary);

    font-size:
        .85rem;

    width:
        18px;

    text-align:
        center;

    flex-shrink: 0;

}


/*==================================================
    SPACE BUTTON
==================================================*/

.space-card .btn {

    margin-top:
        auto;

    width:
        100%;

    text-align:
        center;

}


/*==================================================
    CONTACT
==================================================*/

.contact {

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f5f5f5
        );

}


.contact-content {

    max-width:
        850px;

    margin:
        auto;

    text-align:
        center;

}


.contact-content span {

    color:
        var(--primary);

    font-weight:
        700;

    letter-spacing:
        4px;

}


.contact-content h2 {

    margin:
        25px 0;

    font-size:
        3rem;

    color:
        #222;

}


.contact-content p {

    line-height:
        2;

    margin-bottom:
        45px;

}


/*==================================================
    MODAL
==================================================*/

.modal {

    position:
        fixed;

    inset:
        0;

    background:
        rgba(0,0,0,.65);

    display:
        flex;

    justify-content:
        center;

    align-items:
        center;

    opacity:
        0;

    visibility:
        hidden;

    transition:
        .35s;

    z-index:
        9999;

    padding:
        20px;

}


.modal.active {

    opacity:
        1;

    visibility:
        visible;

}


.modal-content {

    width:
        90%;

    max-width:
        700px;

    max-height:
        92vh;

    overflow-y:
        auto;

    background:
        white;

    border-radius:
        var(--radius);

    padding:
        42px;

    position:
        relative;

    box-shadow:
        0 30px 60px rgba(0,0,0,.25);

}


/*==================================================
    CLOSE MODAL
==================================================*/

.close-modal {

    position:
        absolute;

    top:
        18px;

    right:
        22px;

    width:
        32px;

    height:
        32px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    font-size:
        1.8rem;

    cursor:
        pointer;

    color:
        #888;

    border-radius:
        50%;

    transition:
        .25s;

    z-index:
        5;

}


.close-modal:hover {

    color:
        var(--primary);

    background:
        rgba(195,32,38,.07);

}


/*==================================================
    MODAL HEADER
==================================================*/

.modal-header {

    padding-right:
        30px;

    margin-bottom:
        25px;

}


.modal-eyebrow {

    display:
        block;

    color:
        var(--primary);

    font-size:
        .72rem;

    font-weight:
        700;

    letter-spacing:
        3px;

    margin-bottom:
        10px;

}


.modal-header h2 {

    margin:
        0 0 10px;

    color:
        #222;

    font-size:
        1.8rem;

    line-height:
        1.25;

}


.modal-header p {

    color:
        #777;

    font-size:
        .82rem;

    line-height:
        1.7;

}


/*==================================================
    PROJECT SUMMARY
==================================================*/

.project-summary {

    display:
        grid;

    grid-template-columns:
        repeat(3,1fr);

    margin-bottom:
        25px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        #FAFAFA;

    overflow:
        hidden;

}


.summary-item {

    display:
        flex;

    align-items:
        center;

    gap:
        11px;

    padding:
        15px;

    border-right:
        1px solid var(--border);

}


.summary-item:last-child {

    border-right:
        none;

}


.summary-icon {

    width:
        38px;

    height:
        38px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    flex-shrink:
        0;

    border-radius:
        50%;

    background:
        rgba(195,32,38,.08);

    color:
        var(--primary);

    font-size:
        .85rem;

}


.summary-item span {

    display:
        block;

    margin-bottom:
        4px;

    color:
        #999;

    font-size:
        .58rem;

    font-weight:
        700;

    letter-spacing:
        1px;

}


.summary-item strong {

    display:
        block;

    color:
        #222;

    font-size:
        .7rem;

    font-weight:
        600;

    line-height:
        1.35;

}


/*==================================================
    CONTACT FORM
==================================================*/

.contact-form {

    display:
        flex;

    flex-direction:
        column;

    gap:
        17px;

}


.form-group {

    display:
        flex;

    flex-direction:
        column;

    gap:
        7px;

}


.form-group label {

    color:
        #333;

    font-size:
        .72rem;

    font-weight:
        600;

}


.form-group label span {

    color:
        var(--primary);

}


.contact-form input,
.contact-form select,
.contact-form textarea {

    width:
        100%;

    padding:
        14px 15px;

    border:
        1px solid var(--border);

    border-radius:
        6px;

    background:
        white;

    color:
        #333;

    font-size:
        .8rem;

    font-family:
        inherit;

    outline:
        none;

    transition:
        .25s;

}


.contact-form input::placeholder,
.contact-form textarea::placeholder {

    color:
        #A0A0A0;

}


.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {

    border-color:
        var(--primary);

    box-shadow:
        0 0 0 3px rgba(195,32,38,.07);

}


.contact-form textarea {

    min-height:
        100px;

    resize:
        vertical;

    line-height:
        1.6;

}


/*==================================================
    DEPARTMENT SELECT
==================================================*/

#department {

    font-weight:
        500;

}


/*==================================================
    CREDIT FIELDS
==================================================*/

#creditFields {

    display:
        none;

    flex-direction:
        column;

    gap:
        17px;

    padding:
        20px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        #FAFAFA;

}


#creditFields.active {

    display:
        flex;

}


.credit-header {

    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    color:
        var(--primary);

    font-size:
        .65rem;

    font-weight:
        700;

    letter-spacing:
        1.5px;

    margin-bottom:
        2px;

}


.credit-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:
        15px;

}


/*==================================================
    OTHER CREDIT
==================================================*/

.other-credit-group {

    display:
        none;

}


.other-credit-group.active {

    display:
        flex;

}


.other-credit-group small {

    color:
        #999;

    font-size:
        .6rem;

    line-height:
        1.5;

}


/*==================================================
    CHECKBOX
==================================================*/

.form-check {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        9px;

    cursor:
        pointer;

}


.form-check input {

    width:
        16px;

    height:
        16px;

    margin-top:
        2px;

    flex-shrink:
        0;

    accent-color:
        var(--primary);

}


.form-check span {

    color:
        #666;

    font-size:
        .68rem;

    line-height:
        1.55;

}


.form-check b {

    color:
        var(--primary);

}


/*==================================================
    FORM BUTTON
==================================================*/

.contact-form button {

    margin-top:
        5px;

}


.contact-form .btn {

    width:
        100%;

    border:
        none;

    cursor:
        pointer;

}


.contact-form .btn:disabled {

    opacity:
        .65;

    cursor:
        wait;

    transform:
        none;

}


/*==================================================
    FORM PRIVACY
==================================================*/

.form-privacy {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    color:
        #999;

    font-size:
        .58rem;

    line-height:
        1.5;

    text-align:
        center;

}


.form-privacy i {

    color:
        #888;

    font-size:
        .65rem;

}


/*==================================================
    FOOTER
==================================================*/

footer {

    background:
        #202020;

    color:
        white;

    padding:
        60px 0;

    text-align:
        center;

}


footer p {

    color:
        #BDBDBD;

    line-height:
        1.8;

}


/*==================================================
    ANIMATIONS
==================================================*/

::selection {

    background:
        var(--primary);

    color:
        white;

}


img {

    user-select:
        none;

}


.btn,
.btn-outline,
.benefit-card,
.space-card,
.gallery-item img {

    transition:
        .35s;

}


/*==================================================
    RESPONSIVE
==================================================*/

@media (max-width: 1100px) {


    .hero .container {

        grid-template-columns:
            1fr;

        gap:
            50px;

    }


    .hero-content {

        text-align:
            center;

    }


    .hero-content p {

        margin-left:
            auto;

        margin-right:
            auto;

    }


    .hero-buttons {

        justify-content:
            center;

    }


    .benefits-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .spaces-grid {

        grid-template-columns:
            repeat(2,1fr);

    }

}


/*==================================================
    TABLET
==================================================*/

@media (max-width: 900px) {


    section {

        padding:
            85px 0;

    }


    .section-header {

        margin-bottom:
            50px;

    }


    .section-header h2 {

        font-size:
            2.5rem;

    }


    .about-content {

        grid-template-columns:
            1fr;

        gap:
            45px;

    }


    .gallery-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .project-summary {

        grid-template-columns:
            1fr;

    }


    .summary-item {

        border-right:
            none;

        border-bottom:
            1px solid var(--border);

    }


    .summary-item:last-child {

        border-bottom:
            none;

    }

}


/*==================================================
    MOBILE
==================================================*/

@media (max-width: 600px) {


    section {

        padding:
            70px 0;

    }


    .container {

        width:
            92%;

    }


    .hero {

        min-height:
            auto;

        padding:
            120px 0 80px;

    }


    .hero-content h1 {

        font-size:
            3rem;

    }


    .hero-content span {

        font-size:
            .72rem;

        letter-spacing:
            3px;

    }


    .hero-content p {

        font-size:
            .85rem;

        line-height:
            1.8;

    }


    .hero-buttons {

        flex-direction:
            column;

        gap:
            12px;

    }


    .hero-buttons .btn,
    .hero-buttons .btn-outline {

        width:
            100%;

    }


    .section-header h2 {

        font-size:
            2rem;

    }


    .section-header span {

        font-size:
            .72rem;

        letter-spacing:
            3px;

    }


    .benefits-grid {

        grid-template-columns:
            1fr;

    }


    .gallery-grid {

        grid-template-columns:
            1fr;

    }


    .gallery-item img {

        height:
            240px;

    }


    .spaces-grid {

        grid-template-columns:
            1fr;

    }


    .space-card {

        padding:
            28px 22px;

    }


    .space-card-top {

        align-items:
            flex-start;

    }


    .space-card h3 {

        font-size:
            1.2rem;

    }


    .space-price {

        font-size:
            1.3rem;

    }


    .space-details {

        grid-template-columns:
            1fr;

    }


    .contact-content h2 {

        font-size:
            2rem;

    }


    /*==============================================
        MODAL MOBILE
    ==============================================*/

    .modal {

        padding:
            10px;

        align-items:
            center;

    }


    .modal-content {

        width:
            100%;

        max-width:
            none;

        max-height:
            94vh;

        padding:
            30px 22px;

        border-radius:
            8px;

    }


    .close-modal {

        top:
            12px;

        right:
            14px;

    }


    .modal-header {

        padding-right:
            25px;

    }


    .modal-header h2 {

        font-size:
            1.4rem;

    }


    .modal-header p {

        font-size:
            .75rem;

    }


    .project-summary {

        margin-bottom:
            20px;

    }


    .summary-item {

        padding:
            12px;

    }


    .summary-icon {

        width:
            34px;

        height:
            34px;

    }


    .summary-item strong {

        font-size:
            .66rem;

    }


    .credit-grid {

        grid-template-columns:
            1fr;

    }


    #creditFields {

        padding:
            15px;

    }


    .contact-form {

        gap:
            15px;

    }


    .form-group label {

        font-size:
            .68rem;

    }


    .contact-form input,
    .contact-form select,
    .contact-form textarea {

        padding:
            13px;

        font-size:
            .78rem;

    }


    .form-check span {

        font-size:
            .63rem;

    }


    .form-privacy {

        font-size:
            .55rem;

    }

}


/*==================================================
    SMALL MOBILE
==================================================*/

@media (max-width: 400px) {


    .hero-content h1 {

        font-size:
            2.5rem;

    }


    .section-header h2 {

        font-size:
            1.8rem;

    }


    .space-card {

        padding:
            24px 18px;

    }


    .modal-content {

        padding:
            28px 18px;

    }


    .modal-header h2 {

        font-size:
            1.3rem;

    }

}