@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700&family=Archivo+Narrow:wght@600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
    --accent: #D0743C;
    --deep: #B55F2B;
    --teal: #1E4D4A;
    --ink: #16242A;
    --body: #4A5558;
    --sand: #F3EDE3;
    --cream: #FBF8F3;
    --line: #E4DDD0
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    color: var(--body);
    font: 16px/1.7 'Source Sans 3', Arial, sans-serif
}

h1,
h2,
h3,
nav,
.button,
strong {
    font-family: Archivo, Arial, sans-serif
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.2
}

h1 {
    font-size: 68px;
    text-transform: uppercase;
    margin: 0
}

h2 {
    font-size: 34px;
    text-transform: uppercase;
    margin: 0 0 26px;
    font-weight: 700
}

h3 {
    font-size: 20px;
    margin: 16px 0 8px
}

p {
    margin: 0 0 20px
}

em {
    font-style: normal;
    color: var(--accent)
}

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

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

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover
}

.wrap {
    width: min(1180px, calc(100% - 64px));
    margin: auto
}

.section {
    padding-top: 80px;
    padding-bottom: 80px
}

.center {
    text-align: center
}

.center>p {
    max-width: 870px;
    margin: 0 auto 32px
}

.center h2:after {
    content: '';
    display: block;
    width: 58px;
    height: 2px;
    background: var(--accent);
    margin: 24px auto
}

.sand {
    background: var(--sand)
}

.button {
    border: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 15px 24px;
    background: var(--accent);
    color: white;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    transition: background .2s
}

.button:hover {
    background: var(--deep)
}

.button.white {
    background: white;
    color: var(--accent)
}

.button.white:hover {
    background: var(--cream)
}

.icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle
}

.skip {
    position: fixed;
    left: 20px;
    top: -70px;
    background: white;
    padding: 12px;
    z-index: 200
}

.skip:focus {
    top: 10px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0)
}

header {
    height: 78px;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 0 #16242a09
}

.brand img {
    height: 52px;
    width: auto
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 14px;
    font-weight: 500
}

nav>a,
nav .dropdown>button {
    padding: 26px 0
}

nav a:hover,
nav a[aria-current=page],
nav button:hover {
    color: var(--accent)
}

.dropdown {
    position: relative
}

.dropdown>button {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    display: flex;
}

.dropdown span {
    padding-left: 5px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -18px;
    width: 245px;
    padding: 10px 0;
    background: white;
    box-shadow: 0 8px 22px #0002
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
    display: block
}

.menu-toggle {
    display: none;
    border: 0;
    background: none
}

.home-hero {
    height: 632px;
    position: relative;
    overflow: hidden
}

.hero-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center
}

.hero-photo.left {
    background-image: url('assets/img/hero-home-vender.jpg');
    clip-path: polygon(0 0, 56% 0, 46% 100%, 0 100%)
}

.hero-photo.right {
    background-image: url('assets/img/hero-home-comprar.jpg');
    clip-path: polygon(56% 0, 100% 0, 100% 100%, 46% 100%)
}

.home-panels {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    top: 37%;
    align-items: stretch
}

.home-panel {
    padding: 38px 28px;
    color: white;
    position: relative;
    z-index: 1
}

.home-panel:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1
}

.sell:before {
    background: rgba(22, 36, 42, .74);
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%)
}

.buy {
    padding-left: 48px;
    text-align: right;
    margin-left: -48px
}

.buy:before {
    background: rgba(208, 116, 60, .86);
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%)
}

.home-panel h1,
.home-panel h2 {
    font-size: 40px;
    color: white;
    margin: 0 0 16px;
    letter-spacing: -1px
}

.home-panel p {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    max-width: 490px;
    margin-bottom: 25px
}

.buy p {
    margin-left: auto
}

.sell {
    padding-right: 55px
}

.split {
    display: grid;
    grid-template-columns: 47% 1fr;
    gap: 60px;
    align-items: center
}

.split>img {
    width: 100%;
    height: auto
}

.photo-band {
    margin: 0;
    position: relative;
    height: 420px;
    clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%)
}

.photo-band img {
    width: 100%;
    height: 100%;
    object-position: center
}

.photo-band figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #16242acc;
    color: white;
    text-align: center;
    padding: 24px 32px
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px
}

.team article {
    background: var(--sand);
    text-align: center;
    padding-top: 32px
}

.avatar {
    width: 118px;
    height: 118px;
    margin: 0 auto 18px
}

.team h3 {
    font: 700 24px 'Archivo Narrow', sans-serif;
    margin: 0
}

.team p {
    color: #748084;
    margin-bottom: 22px
}

.team article>a {
    display: block;
    background: var(--ink);
    height: 40px;
    padding: 7px
}

.team article>a:hover {
    background: var(--teal)
}

.stats {
    background: var(--ink);
    color: white;
    text-align: center;
    padding: 62px 0
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 36px 0
}

.stats-grid>div {
    padding: 0 24px;
    border-right: 1px solid #ffffff35
}

.stats-grid>div:last-child {
    border: 0
}

.stats strong {
    display: block;
    font-size: 42px;
    color: white;
    line-height: 1.3;
    margin-bottom: 10px
}

.stats span {
    font-size: 14px;
    display: block;
    text-transform: uppercase;
    line-height: 1.6
}

.slogan img {
    max-width: 930px;
    width: 100%;
    margin: 40px auto 0
}

.testimonials {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    padding-bottom: 80px;
    align-items: center
}

.testimonial {
    background: var(--sand);
    padding: 35px 45px;
    position: relative
}

.testimonial>img {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 70px;
    opacity: .18
}

.testimonial a {
    color: var(--deep)
}

.inner-hero {
    height: 560px;
    background: linear-gradient(0deg, #16242a80, transparent 65%), var(--hero) center/cover;
    display: flex;
    align-items: flex-end
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 40px;
    gap: 32px
}

.hero-bottom h1 {
    color: white;
    max-width: 850px
}

.hero-bottom p {
    color: white;
    font-weight: 600;
    margin: 0 0 10px
}

.hero-cta {
    width: 230px;
    min-width: 200px;
    height: 190px;
    border-radius: 55px 0 0 0;
    padding: 35px;
    text-align: center
}

.catalog-hero {
    position: relative;
    padding-bottom: 0
}

.catalog-hero:before {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 145px;
    background: #d0743cdb;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%)
}

.catalog-hero .hero-bottom {
    position: relative
}

.catalog-hero h1 {
    font-size: 56px
}

.prose {
    max-width: 1100px
}

.prose h2:not(:first-child) {
    margin-top: 55px
}

.prose p {
    text-align: justify;
    line-height: 1.9
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: start
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px
}

.service-grid article {
    background: white;
    text-align: center;
    padding: 35px 28px
}

.service-grid .icon {
    height: 64px;
    width: 64px
}

.service-grid h3 {
    text-transform: uppercase
}

.service-grid p {
    margin: 0
}

.process>img {
    height: 640px;
    width: 100%;
    object-fit: cover;
    border-top: 10px solid var(--accent);
    border-right: 10px solid var(--accent)
}

.step {
    border-bottom: 1px solid var(--line);
    padding: 22px 0
}

.step:last-child {
    border: none
}

.step strong {
    color: var(--accent);
    font-size: 36px
}

.step h3 {
    margin-top: 4px;
    text-transform: uppercase
}

.contact-block {
    display: grid;
    grid-template-columns: 33% 67%;
    scroll-margin-top: 78px
}

.contact-block aside {
    background: var(--teal);
    color: white;
    padding: 58px 40px
}

.contact-block aside h2 {
    color: white
}

.contact-line {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    align-items: start
}

.contact-line .icon {
    flex-shrink: 0;
    margin-top: 3px
}

.contact-line p {
    overflow-wrap: anywhere
}

.form-panel {
    background: var(--cream);
    padding: 58px 50px
}

.form-panel h2 {
    font-size: 28px
}

.lead-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-top: 25px
}

.field label {
    display: block;
    font: 600 18px 'Archivo Narrow', sans-serif;
    color: var(--ink);
    margin-bottom: 8px
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: white;
    border-radius: 0;
    padding: 12px 14px;
    color: var(--body);
    min-height: 48px
}

.field textarea {
    resize: vertical
}

.full {
    grid-column: 1/-1
}

.consent {
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5
}

.consent input {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: var(--teal)
}

.consent a {
    color: var(--deep);
    text-decoration: underline
}

.form-status {
    margin: 15px 0 0;
    font-size: 16px;
    color: var(--teal)
}

footer {
    background: var(--ink);
    color: #c6ced1;
    text-align: center;
    padding: 50px 32px 30px;
    font-size: 14px;
    overflow-wrap: anywhere
}

.footer-logo {
    height: 62px;
    width: auto;
    margin: 0 auto 18px
}

.tagline {
    color: #E7C3A4;
    font-size: 18px
}

.small {
    font-size: 13px;
    margin-top: 18px
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: #E7C3A4
}

.floating {
    position: fixed;
    right: 25px;
    bottom: 24px;
    z-index: 60;
    background: var(--teal);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: 50%;
    box-shadow: 0 4px 14px #0002
}

.floating .icon {
    width: 28px;
    height: 28px
}

.floating span {
    display: none
}

.floating:hover {
    border-radius: 30px
}

.floating:hover span {
    display: block
}

.cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: var(--ink);
    color: white;
    padding: 18px max(30px, calc((100vw - 1180px)/2));
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 -2px 20px #0002
}

.cookies[hidden] {
    display: none
}

.cookies p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    flex: 1
}

.cookies a {
    color: #E7C3A4;
    text-decoration: underline
}

.cookies .button {
    font-size: 12px;
    padding: 10px 18px
}

.button.outline {
    background: transparent;
    border: 1px solid #a6b4ba
}

.map-placeholder {
    min-height: 440px;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    background: #f3f4ef;
    text-align: center;
    padding: 40px
}

.map-placeholder .icon {
    width: 62px;
    height: 62px
}

.map-placeholder small {
    display: block;
    margin-top: 15px
}

.map-placeholder iframe {
    border: 0;
    width: 100%;
    height: 440px
}

.map-placeholder.loaded {
    padding: 0;
    display: block
}

.filters {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--sand);
    border-radius: 40px;
    padding: 18px 24px;
    margin: 40px 0 28px
}

.filters label {
    flex: 1
}

.filters input {
    width: 15%;
    min-width: 0
}

.filters input,
.filters select {
    border: 1px solid #e7e3dc;
    padding: 10px;
    background: #fff;
    width: 100%;
    font-size: 14px;
    height: 44px
}

.filters>input {
    width: 15%
}

.filters button {
    border: none;
    background: transparent;
    padding: 10px;
    flex-shrink: 0
}

.filters .reset {
    background: var(--ink)
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px
}

.catalog-toolbar p {
    margin: 0
}

.view {
    border: 0;
    background: white;
    padding: 10px;
    opacity: .5
}

.view.active {
    opacity: 1;
    background: var(--cream)
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px 28px
}

.property-card {
    min-width: 0
}

.property-photo {
    position: relative;
    overflow: hidden
}

.property-photo>img {
    width: 100%;
    aspect-ratio: 1.5;
    transition: transform .5s
}

.property-card:hover .property-photo>img {
    transform: scale(1.06)
}

.badge {
    position: absolute;
    top: 16px;
    right: 0;
    background: var(--teal);
    padding: 5px 13px;
    color: white;
    text-transform: uppercase;
    font: 700 14px Archivo, sans-serif
}

.property-photo>strong {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #16242ac7;
    padding: 10px 14px;
    color: white;
    font-size: 18px
}

.specs {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 14px;
    font-size: 14px;
    flex-wrap: wrap
}

.specs span {
    display: flex;
    align-items: center;
    gap: 6px
}

.specs .icon {
    width: 22px;
    height: 22px
}

.property-info h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 19px
}

.property-info p {
    font-size: 16px;
    margin-bottom: 0
}

.property-grid.list {
    grid-template-columns: 1fr
}

.list .property-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px
}

.list .property-info h3 {
    white-space: normal
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 45px
}

.pagination button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    color: var(--body)
}

.pagination .active {
    background: var(--accent);
    border-color: var(--accent);
    color: white
}

.empty {
    padding: 40px;
    text-align: center;
    background: var(--sand)
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 75px
}

.benefits .icon {
    width: 72px;
    height: 72px
}

.benefits h3 {
    text-transform: uppercase;
    font-size: 18px
}

.benefits p {
    margin: 0;
    color: #8a9497
}

.development-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px
}

.development-grid article {
    background: var(--sand)
}

.development-grid article>img {
    aspect-ratio: 1.4;
    width: 100%
}

.development-grid article>div {
    padding: 25px
}

.development-grid h2 {
    font-size: 23px
}

.development-options {
    background: linear-gradient(#16242abf, #16242abf), var(--hero) center/cover;
    padding: 75px 0;
    color: white
}

.development-options h2 {
    color: white;
    text-transform: none
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 55px
}

.option-grid>div {
    min-height: 190px;
    display: grid;
    place-items: center;
    background: var(--accent);
    text-transform: uppercase;
    font-family: Archivo, sans-serif;
    font-weight: 700;
    padding: 25px
}

.option-grid>div:nth-child(2) {
    background: var(--ink)
}

.model {
    margin-top: 65px;
    position: relative
}

.model>img {
    aspect-ratio: 1.5
}

.model>div {
    position: relative
}

.model.reverse>img {
    order: 2
}

.model ul {
    padding: 0;
    list-style: none;
    line-height: 2.2;
    margin-bottom: 28px
}

.model-number {
    position: absolute;
    right: 0;
    top: 0;
    font: 700 45px Archivo, sans-serif;
    color: var(--accent)
}

.model h3 {
    padding-right: 75px
}

.compact {
    padding: 25px 0 0
}

.compact .icon {
    width: 42px;
    height: 42px
}

.contact-page {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 65px
}

.contact-page h2 {
    font-size: 30px
}

.contact-page aside {
    padding-top: 25px;
    overflow-wrap: anywhere
}

.contact-page aside:before {
    content: '';
    width: 55px;
    height: 3px;
    display: block;
    background: var(--accent);
    margin-bottom: 30px
}

.contact-page aside h2 {
    font-size: 24px
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center
}

.info-cards article {
    background: white;
    padding: 35px 25px;
    overflow-wrap: anywhere
}

.info-cards .icon {
    width: 52px;
    height: 52px
}

.legal {
    max-width: 900px
}

.legal h1 {
    font-size: 40px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 25px;
    margin-bottom: 25px
}

.legal h2 {
    font-size: 24px;
    text-transform: none;
    margin-top: 38px
}

.updated {
    color: #8a9497
}

.table-scroll {
    overflow: auto
}

table {
    border-collapse: collapse;
    width: 100%
}

th,
td {
    border: 1px solid var(--line);
    padding: 12px;
    text-align: left
}

th {
    background: var(--sand)
}

[hidden] {
    display: none !important
}

@media(min-width:1500px) {
    .wrap {
        width: min(1260px, calc(100% - 100px))
    }

    .home-panel h1,
    .home-panel h2 {
        font-size: 42px
    }
}

@media(max-width:1100px) {
    nav {
        gap: 16px;
        font-size: 13px
    }

    header {
        padding: 0 22px
    }

    .home-panel h1,
    .home-panel h2 {
        font-size: 32px
    }

    .home-panel p {
        font-size: 16px
    }

    .split {
        gap: 35px
    }

    .stats strong {
        font-size: 32px
    }

    .form-panel {
        padding: 45px 30px
    }

    .contact-block aside {
        padding: 45px 25px
    }

    .specs {
        gap: 12px
    }

    .option-grid {
        gap: 30px
    }
}

@media(max-width:800px) {
    h1 {
        font-size: 42px
    }

    h2 {
        font-size: 28px
    }

    .wrap {
        width: calc(100% - 40px)
    }

    .section {
        padding-top: 55px;
        padding-bottom: 55px
    }

    header {
        height: 72px;
        padding: 0 20px
    }

    .brand img {
        height: 47px
    }

    .menu-toggle {
        display: block
    }

    nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        max-height: calc(100dvh - 72px);
        overflow: auto;
        padding: 18px 24px;
        font-size: 16px
    }

    nav.open {
        display: block
    }

    nav>a,
    nav .dropdown>button {
        display: block;
        padding: 12px 0;
        width: 100%;
        text-align: left
    }
    nav .dropdown>button{
        display: flex;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        width: auto;
        padding-left: 15px
    }

    .dropdown:hover .dropdown-menu {
        display: none
    }

    .dropdown.open .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        display: block
    }

    .home-hero {
        height: auto;
        min-height: 650px;
        padding: 55px 0
    }

    .home-panels {
        top: 0;
        display: block
    }

    .home-panel {
        padding: 30px;
        max-width: 570px
    }

    .home-panel h1,
    .home-panel h2 {
        font-size: 32px
    }

    .home-panel:before {
        clip-path: none
    }

    .buy {
        margin: 16px 0 0 auto;
        text-align: right
    }

    .hero-photo.left {
        clip-path: polygon(0 0, 80% 0, 20% 100%, 0 100%)
    }

    .hero-photo.right {
        clip-path: polygon(80% 0, 100% 0, 100% 100%, 20% 100%)
    }

    .split {
        grid-template-columns: 1fr
    }

    .photo-band {
        height: 330px
    }

    .team-grid {
        gap: 20px
    }

    .avatar {
        width: 85px;
        height: 85px
    }

    .team h3 {
        font-size: 22px
    }

    .team p {
        font-size: 14px
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 0
    }

    .stats-grid>div:nth-child(2) {
        border: 0
    }

    .testimonials {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .inner-hero {
        height: 420px
    }

    .hero-bottom {
        padding-bottom: 25px
    }

    .hero-cta {
        min-width: 150px;
        width: 160px;
        height: 150px;
        font-size: 12px;
        padding: 20px
    }

    .hero-bottom h1 {
        font-size: 40px
    }

    .catalog-hero h1 {
        font-size: 44px
    }

    .service-grid {
        grid-template-columns: 1fr 1fr
    }

    .process>img {
        height: 460px
    }

    .contact-block {
        grid-template-columns: 1fr
    }

    .contact-block aside {
        padding: 40px 30px
    }

    .contact-block aside h2 {
        margin-bottom: 20px
    }

    .contact-line {
        margin-top: 15px
    }

    .form-panel {
        padding: 40px 25px
    }

    .property-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px
    }

    .filters {
        flex-wrap: wrap;
        border-radius: 16px;
        padding: 16px
    }

    .filters label {
        flex: 1 1 28%
    }

    .filters>input {
        width: calc(50% - 60px)
    }

    .development-grid {
        grid-template-columns: 1fr
    }

    .development-grid article {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .development-grid article>img {
        height: 100%;
        aspect-ratio: auto
    }

    .option-grid {
        gap: 15px
    }

    .option-grid>div {
        min-height: 140px;
        font-size: 14px
    }

    .model.reverse>img {
        order: 0
    }

    .contact-page {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .info-cards {
        gap: 15px
    }

    .info-cards article {
        padding: 28px 18px
    }

    .cookies {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 10px
    }

    .cookies p {
        flex-basis: 100%
    }

    .cookies .button {
        padding: 9px 20px
    }

    .legal-links {
        gap: 15px;
        flex-wrap: wrap
    }

    .floating {
        right: 15px;
        bottom: 18px
    }

    .list .property-card {
        grid-template-columns: 240px 1fr
    }

    .benefits {
        gap: 20px
    }

    .benefits h3 {
        font-size: 16px
    }
}

@media(max-width:480px) {
    .home-panel {
        padding: 25px
    }

    .home-panel h1,
    .home-panel h2 {
        font-size: 28px;
        letter-spacing: -.5px
    }

    .home-panel p {
        font-size: 16px
    }

    .home-hero {
        padding: 35px 0
    }

    .team-grid {
        grid-template-columns: 1fr 1fr
    }

    .team article {
        padding-top: 25px
    }

    .team-grid article:last-child {
        grid-column: 1/-1;
        width: calc(50% - 10px);
        justify-self: center
    }

    .stats-grid>div {
        padding: 0 10px
    }

    .stats strong {
        font-size: 28px
    }

    .stats span {
        font-size: 12px
    }

    .inner-hero {
        height: 360px
    }

    .hero-bottom {
        display: block
    }

    .hero-bottom h1 {
        font-size: 36px
    }

    .hero-cta {
        width: auto;
        min-width: 0;
        height: auto;
        border-radius: 0;
        padding: 12px 18px;
        margin-top: 20px
    }

    .catalog-hero .hero-bottom h1 {
        font-size: 40px
    }

    .service-grid,
    .property-grid,
    .info-cards {
        grid-template-columns: 1fr
    }

    .section-heading {
        display: block
    }

    .section-heading .button {
        margin-bottom: 24px
    }

    .lead-form {
        grid-template-columns: 1fr
    }

    .full {
        grid-column: auto
    }

    .benefits {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .benefits .icon {
        width: 55px;
        height: 55px
    }

    .development-grid article {
        display: block
    }

    .development-grid article>img {
        aspect-ratio: 1.5;
        width: 100%
    }

    .option-grid {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .option-grid>div {
        min-height: 95px
    }

    .list .property-card {
        grid-template-columns: 1fr
    }

    .map-placeholder {
        min-height: 350px;
        padding: 25px
    }

    .filters label {
        flex-basis: 45%
    }

    .filters label:nth-child(3) {
        flex-basis: 100%
    }

    .filters>input {
        width: calc(50% - 5px)
    }

    .contact-page h2 {
        font-size: 27px
    }

    .legal h1 {
        font-size: 30px
    }

    .photo-band figcaption {
        font-size: 14px;
        padding: 20px
    }

    .form-panel h2 {
        font-size: 25px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

.stars {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 25px
}

.stars img {
    width: 20px;
    height: 20px
}

.reviewer {
    text-align: right;
    margin: 20px 0 0;
    font-weight: 600;
    color: var(--ink)
}

.hero-bottom {
    margin: 0 auto
}

.map-placeholder.loaded {
    min-height: 0
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(0, 0, 0);
    color: white;
    padding: 20px;
    border-radius: 5px;
    z-index: 1000;
}
.popup h2{
    color: #ffffff;
}
.close-button {
    color: #ffffff;
    margin-left: auto;
    display: block;
    background-color: transparent;
}