
/* PORTADA PROPIEDADES FRUTILLAR */

.pfi-home {
    color: #243b33;
    background: #fcfbf8;
}

.pfi-home *,
.pfi-home *::before,
.pfi-home *::after {
    box-sizing: border-box;
}

.pfi-home-wrap {
    width: min(1240px, calc(100% - 72px));
    margin-inline: auto;
}


/* HERO */

.pfi-home-hero {
    position: relative;
    isolation: isolate;
    min-height: 560px;
    padding: 108px 0 155px;
    overflow: hidden;
    color: #fff;

    background:
        radial-gradient(
            ellipse at 85% 30%,
            #607d70,
            transparent 52%
        ),
        linear-gradient(
            120deg,
            #122b23 7%,
            #294839 72%,
            #66806d 100%
        );
}

.pfi-home-hero-photo {
    background-image:
        linear-gradient(
            90deg,
            rgba(12,35,27,.88) 0%,
            rgba(15,41,30,.70) 43%,
            rgba(13,29,23,.22) 100%
        ),
        var(--pfi-home-photo);

    background-size: cover;
    background-position: center 48%;
}

.pfi-home-hero-content {
    position: relative;
    z-index: 1;
}

.pfi-home-kicker,
.pfi-home-overline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font: 700 11px/1.5 Arial, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.pfi-home-kicker {
    color: #e6ede2;
}

.pfi-home-kicker span {
    width: 31px;
    height: 1px;
    background: #d6bd84;
}

.pfi-home-hero h1 {
    max-width: 830px;
    margin: 31px 0 20px;
    color: #fff;

    font: normal clamp(
        46px,
        5.6vw,
        79px
    )/1.09 Georgia, serif;

    letter-spacing: -.045em;
}

.pfi-home-hero h1 em,
.pfi-home-section h2 em,
.pfi-home-closing h2 em {
    font-style: italic;
    font-weight: normal;
}

.pfi-home-hero p:not(.pfi-home-photo-credit) {
    max-width: 560px;
    margin: 0;
    color: #f0f3ed;
    font: 17px/1.7 Arial, sans-serif;
}

.pfi-home-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 27px;
}

.pfi-home-hero-tags span {
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 100px;
    background: rgba(255,255,255,.08);
    color: #fff;
    font: 12px Arial, sans-serif;
}

.pfi-home-photo-credit {
    position: absolute;
    z-index: 2;
    bottom: 85px;
    right: 30px;
    max-width: 330px;
    margin: 0;
    text-align: right;
    color: rgba(255,255,255,.78);
    font: 10px/1.5 Arial, sans-serif;
}

.pfi-home-photo-credit a {
    color: inherit;
    text-decoration: underline;
}


/* BUSCADOR */

.pfi-home-search-shell {
    position: relative;
    z-index: 3;
    margin-top: -67px;
}

.pfi-home-search-card {
    padding: 29px 34px 23px;
    border: 1px solid #e8e8e2;
    border-radius: 12px;
    background: #fff;
    box-shadow:
        0 20px 65px rgba(28,52,38,.14);
}

.pfi-home-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.pfi-home-overline {
    color: #8b7857;
}

.pfi-home-search-header h2 {
    margin: 8px 0 0;
    color: #22372d;
    font: normal 29px/1.2 Georgia, serif;
}

.pfi-home-search-mark {
    flex-shrink: 0;
    padding: 9px 13px;
    border-radius: 30px;
    background: #eef2ed;
    color: #38634b;
    font: 700 11px Arial, sans-serif;
}

.pfi-home .pfi-home-search-card .pfi-buscador {
    width: 100%;
    margin: 0;
    padding: 15px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}


/* SECCIONES */

.pfi-home-section {
    padding: 105px 0 100px;
}

.pfi-home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 35px;
}

.pfi-home-section-head h2 {
    margin: 10px 0;
    color: #263c33;
    font: normal 48px/1.13 Georgia, serif;
    letter-spacing: -.037em;
}

.pfi-home-section-head p {
    max-width: 620px;
    margin: 0;
    color: #6b7870;
    font: 15px/1.65 Arial, sans-serif;
}

.pfi-home-text-link {
    white-space: nowrap;
    padding-bottom: 7px;
    border-bottom: 1px solid #b0c2b3;
    color: #2e644b;
    font: 700 13px Arial, sans-serif;
    text-decoration: none;
}

.pfi-home .pfi-home-properties {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0,1fr));
    gap: 25px;
}

.pfi-home .pfi-home-properties > * {
    min-width: 0;
}


/* CATALOGO SIN PROPIEDADES */

.pfi-home-empty {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 28px 35px;
    border: 1px solid #e4e8df;
    border-radius: 9px;
    background: #fff;
}

.pfi-home-empty-symbol {
    flex: 0 0 62px;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #ecf2eb;
    color: #38634b;
    font: 42px Georgia, serif;
}

.pfi-home-empty h3 {
    margin: 0 0 7px;
    font: normal 23px/1.3 Georgia, serif;
}

.pfi-home-empty p {
    margin: 0;
    color: #66766a;
    font: 14px/1.6 Arial, sans-serif;
}

.pfi-home-empty a {
    margin-left: auto;
    white-space: nowrap;
    color: #245a42;
    font: 700 13px Arial, sans-serif;
}


/* COMUNAS */

.pfi-home-areas {
    background: #f1f3ee;
}

.pfi-home-areas-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0,1fr));
    gap: 14px;
}

.pfi-home-area-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 114px;
    padding: 23px 25px;

    border: 1px solid #dfe6dd;
    border-radius: 6px;
    background: #fff;

    color: #263e32;
    text-decoration: none;

    transition:
        transform .2s,
        border-color .2s,
        box-shadow .2s;
}

.pfi-home-area-card:hover {
    transform: translateY(-3px);
    border-color: #92b09a;
    box-shadow:
        0 10px 25px rgba(32,55,40,.06);
}

.pfi-home-area-num {
    align-self: flex-start;
    color: #c29c60;
    font: 13px Georgia, serif;
}

.pfi-home-area-body {
    flex: 1;
    display: grid;
    gap: 8px;
}

.pfi-home-area-body strong {
    font: normal 24px Georgia, serif;
}

.pfi-home-area-body small {
    color: #748278;
    font: 12px Arial, sans-serif;
}

.pfi-home-area-arrow {
    color: #56745f;
    font: 21px Georgia, serif;
}


/* CIERRE */

.pfi-home-closing {
    padding: 74px 0 82px;
    background: #203a2e;
    color: #fff;
}

.pfi-home-closing-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
}

.pfi-home-closing .pfi-home-overline {
    color: #d5c29b;
}

.pfi-home-closing h2 {
    margin: 14px 0 12px;
    color: #fff;
    font: normal 50px/1.15 Georgia, serif;
}

.pfi-home-closing p {
    margin: 0;
    color: #d9e2d9;
    font: 15px/1.7 Arial, sans-serif;
}

.pfi-home-closing-link {
    flex-shrink: 0;
    padding: 17px 23px;
    border-radius: 4px;
    background: #faf7ed;
    color: #294333;
    font: 700 13px Arial, sans-serif;
    text-decoration: none;
}


/* VERSION TABLET */

@media (max-width: 960px) {

    .pfi-home .pfi-home-properties,
    .pfi-home-areas-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

    .pfi-home-empty {
        flex-wrap: wrap;
    }

}


/* VERSION MOVIL */

@media (max-width: 680px) {

    .pfi-home-wrap {
        width: calc(100% - 36px);
    }

    .pfi-home-hero {
        min-height: 500px;
        padding: 80px 0 112px;
    }

    .pfi-home-hero h1 {
        font-size: 46px;
    }

    .pfi-home-photo-credit {
        bottom: 48px;
        right: 18px;
        max-width: 270px;
    }

    .pfi-home-search-shell {
        margin-top: -30px;
    }

    .pfi-home-search-card {
        padding: 23px 20px;
    }

    .pfi-home-search-mark {
        display: none;
    }

    .pfi-home-search-header h2 {
        font-size: 25px;
    }

    .pfi-home-section {
        padding: 74px 0;
    }

    .pfi-home-section-head {
        display: block;
    }

    .pfi-home-section-head h2 {
        font-size: 38px;
    }

    .pfi-home-text-link {
        display: inline-block;
        margin-top: 20px;
    }

    .pfi-home .pfi-home-properties,
    .pfi-home-areas-grid {
        grid-template-columns: 1fr;
    }

    .pfi-home-empty {
        display: block;
        padding: 27px;
    }

    .pfi-home-empty-symbol {
        margin-bottom: 18px;
    }

    .pfi-home-empty a {
        display: inline-block;
        margin: 20px 0 0;
    }

    .pfi-home-closing-inner {
        display: block;
    }

    .pfi-home-closing h2 {
        font-size: 39px;
    }

    .pfi-home-closing-link {
        display: inline-block;
        margin-top: 26px;
    }

}

