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

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


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    color: #1d2927;

    background: #ffffff;

    line-height: 1.6;

    overflow-x: hidden;
}


img {
    display: block;

    width: 100%;

    object-fit: cover;
}


a {
    color: inherit;

    text-decoration: none;
}


button,
select,
input {
    font: inherit;
}


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

:root {

    --primary: #174d47;

    --primary-dark: #103b36;

    --accent: #c89b5b;

    --accent-light: #dfbd87;

    --dark: #182522;

    --text: #53615e;

    --light: #f5f3ef;

    --lighter: #faf9f6;

    --white: #ffffff;

    --border: #e4e2dc;

    --shadow:
        0 15px 45px rgba(22, 37, 33, 0.08);

    --shadow-hover:
        0 25px 60px rgba(22, 37, 33, 0.14);

    --radius: 4px;

    --container: 4000px;

}


/* =========================================================
   CONTAINER
========================================================= */

.section-spacing {
    padding: 110px 30px;
}


.section-spacing > *,
.header,
.footer-main,
.footer-bottom {
    max-width: var(--container);

    margin-left: auto;

    margin-right: auto;
}

/* Demo section */
.section {
    height: auto;
    width: 100%;
    background: transparent;
    color: white;
    display: flex;
    position: static;
    margin: 120px 0;
    place-items: center;
    place-content: center;
    max-width: 1440px;
    place-self: center;
}

.section-spacing-00 {
    padding: 0;
    margin: 30px auto 0;
    max-width: var(--container);

    margin-left: auto;

    margin-right: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {

    height: 82px;

    padding: 0 30px;

    border-radius: 36px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: sticky;
    top: 40px;

    z-index: 1000;

    background: var(--white);

    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.103);

}


.logo {

    font-family: var(--font-telma);

    font-size: 25px;

    font-weight: 700;

    color: var(--primary);

    white-space: nowrap;

}


.navbar {

    display: flex;

    align-items: center;

    gap: 30px;

}


.navbar > a, 
.nav-property-menu > a {

    font-size: 14px;

    font-weight: 600;

    color: #3f4b48;

    transition: color 0.25s ease;

    position: relative;

}


.navbar > a::after, 
.nav-property-menu > a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 2px;

    background: var(--accent);

    transition: width 0.25s ease;

}


.navbar > a:hover,
.navbar > a.active {

    color: var(--primary);

}


.navbar > a:hover::after,
.navbar > a.active::after {

    width: 100%;

}


.nav-property-menu > a:hover,
.nav-property-menu > a.active {

    color: var(--primary);

}


.nav-property-menu > a:hover::after,
.nav-property-menu > a.active::after {

    width: 100%;

}


/* =========================================================
   LANGUAGE
========================================================= */

.language-select select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    padding:10px 40px 10px 15px;

    border:1px solid #ddd;
    border-radius:8px;

    font-size:15px;

    background-color:#fff;

    cursor:pointer;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 5.5L8 10.3l4.8-4.8' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

    background-repeat:no-repeat;
    background-position:right 12px center;
    background-size:14px;
}

.language-select select:focus{

    outline:none;
    border-color: var(--primary-dark);
}



/* =========================================================
   MOBILE ACTIONS
========================================================= */

.mobile-actions {

    display: none;

    align-items: center;

    gap: 18px;

}


.mobile-flags {

    display: flex;

    gap: 8px;

    list-style: none;

}


.mobile-flags a {

    font-size: 18px;

}


.menu-toggle {

    border: none;

    background: transparent;

    cursor: pointer;

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.menu-toggle span {

    width: 25px;

    height: 2px;

    background: var(--dark);

    transition: 0.3s;

}


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

.hero {

    min-height: 720px;

    position: relative;

    display: flex;

    align-items: center;

    background-image:
        url("../images/optimized_avif/hero-property.avif");

    background-size: cover;

    background-position: center;

    padding: 100px 60px;
}


.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.25)
        );
}


.hero-content {

    position: relative;

    z-index: 2;

    max-width: 650px;

    color: white;

}


.hero .section-eyebrow {

    display: block;

    margin-bottom: 16px;

    color: var(--light);

    background-color: #78817f9a;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 10px;

    font-weight: 300;

    width:fit-content;

    padding: 2px 8px;

    border-radius: 66px;

}



.section-eyebrow {

    display: block;

    margin-bottom: 16px;

    color: var(--light);

    background-color: var(--accent);

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 12px;

    font-weight: 700;

    width:fit-content;

    padding: 2px 8px;

    border-radius: 66px;

}


.hero h1 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(46px, 6vw, 78px);

    line-height: 1.03;

    font-weight: 500;

    margin-bottom: 25px;

}


.hero h1 span {

    display: block;

    color: var(--accent-light);

}


.hero p {

    max-width: 600px;

    font-size: 18px;

    line-height: 1.8;

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

    margin-bottom: 32px;

}


.hero-actions {

    display: flex;

    gap: 14px;

    flex-wrap: wrap;

}


/* =========================================================
   BUTTONS
========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding: 0 25px;

    border-radius: 3px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease;

}


.btn:hover {

    transform: translateY(-2px);

}


.btn-primary {

    background: var(--accent);

    color: white;

}


.btn-primary:hover {

    background: #b88a4d;

}


.btn-outline {

    border: 1px solid rgba(255,255,255,.7);

    color: white;

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

}


.btn-outline:hover {

    background: white;

    color: var(--primary);

}


.btn-dark {

    background: var(--primary);

    color: white;

}


/* =========================================================
   PROPERTY SEARCH
========================================================= */

.property-search {

    position: static;

    width: auto;

    background: white;

    box-shadow: var(--shadow-hover);

    padding: 25px 25px 25px;

    margin: 0 30px;

    width: 100%;


}


.search-header {

    display: flex;

    align-items: baseline;

    gap: 15px;

    margin-bottom: 18px;

}


.search-header span {

    font-size: 20px;

    font-weight: 700;

    color: var(--dark);

}


.search-header small {

    color: #7b8582;

}


.property-search form {

    display: grid;

    grid-template-columns:
        1fr
        1fr
        1.3fr
        1fr
        auto;

    gap: 12px;

}


.search-field {

    display: flex;

    flex-direction: column;

    gap: 6px;

}




.search-field select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    padding:10px 40px 10px 15px;

    border:1px solid #ddd;
    border-radius:8px;

    font-size:15px;

    background-color:#fff;

    cursor:pointer;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 5.5L8 10.3l4.8-4.8' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

    background-repeat:no-repeat;
    background-position:right 12px center;
    background-size:14px;
}

.search-field select:focus{

    outline:none;
    border-color:goldenrod;
}




.search-field label {

    font-size: 11px;

    font-weight: 700;

    color: #6c7774;

    text-transform: uppercase;

    letter-spacing: .7px;

}


.search-field input {

    height: 48px;

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

    background: var(--lighter);

    padding: 0 12px;

    outline: none;

    color: var(--dark);

}


.search-field input:focus,
.search-field select:focus {

    border-color: var(--primary);

}


.search-button {

    height: 48px;

    flex: 0 0 48px;

    align-self: end;

    height: 48px;

    border: none;

    border-radius: 8px;

    padding: 0 25px;

    background: var(--primary);

    color: white;

    cursor: pointer;

    font-weight: 700;

    transition: background .25s ease;

}


.search-button:hover {

    background: var(--primary-dark);

}


/* =========================================
   SEARCH ACTIONS
========================================= */

.search-actions {

    display: flex;

    align-items: flex-end;

    gap: 10px;

}


/* Each action has the same
   vertical structure as a search field */

.search-action {

    display: flex;

    flex-direction: column;

    gap: 6px;

}


/* Creates the same space occupied
   by the labels above the other fields */

.search-action-label {

    display: block;

    height: 18px;

    line-height: 18px;

    font-size: 13px;

}


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

.search-reset {

    width: 48px;

    height: 48px;

    flex: 0 0 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: 1px solid #d9d9d9;

    border-radius: 6px;

    background: transparent;

    color: #666;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;

}


.search-reset:hover {

    background: #f5f5f5;

    border-color: #bbb;

}


.search-reset svg {

    display: block;

}


/* =========================================
   SEARCH BUTTON
========================================= */

.search-action .search-button {

    height: 44px;

    margin: 0;

    box-sizing: border-box;

    white-space: nowrap;

}



/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 30px;

}


.section-heading.centered {

    display: block;

    text-align: center;

    max-width: 700px;

    margin: 0 auto 55px;

}


.section-heading h2 {

    max-width: 850px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    color: var(--dark);

    font-size:
        clamp(34px, 4vw, 52px);

    font-weight: 500;

    line-height: 1.15;

}


.section-heading.centered p {

    margin-top: 15px;

    color: var(--text);

}


.section-intro {

    max-width: 650px;

    margin-top: 20px;

    margin-bottom: 45px;

    color: var(--text);

    margin-left: 5px;

}


.section-link {

    color: var(--primary);

    font-weight: 700;

    font-size: 14px;

    white-space: nowrap;

}




/* =========================================
   HEADER
========================================= */

.header {
    width: auto;
    margin: auto 30px;
}


/* =========================================
   NAV PROPERTY MENU
========================================= */

.nav-property-menu {
    position: static;
}


/* =========================================
   FULL-WIDTH MEGA MENU
========================================= */


.property-search-dropdown {

    position: absolute;

    top: calc(100% + 15px);

    left: 0;
    right: 0;

    width: 100%;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateY(-5px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;

    z-index: 9999;
}


.property-search-dropdown.mega-menu-open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);

}

/* =========================================
   SHOW ON HOVER
========================================= */

.nav-property-menu:hover
.property-search-dropdown,

.nav-property-menu:focus-within
.property-search-dropdown {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);

}


/* =========================================
   YOUR EXISTING PROPERTY SEARCH
========================================= */

.property-search-dropdown > .property-search {

    width: 100%;

    max-width: none;

    margin: 0;

    box-sizing: border-box;

    border-radius: 16px;
}


/* =========================================================
   PROPERTIES
========================================================= */

.properties-section {

    padding-top: 190px;
    max-width: var(--container);

    margin-left: auto;

    margin-right: auto;

}


.properties-grid {

    display: grid;

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

    gap: 25px;

}


.property-card {

    background: white;

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

    border-radius: 10px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.property-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow-hover);

}


.property-image {

    position: relative;

    height: 300px;

    border-radius: 10px 10px 0 0;

    overflow: hidden;

}


.property-image img {

    height: 100%;

    transition: transform .5s ease;

}


.property-card:hover
.property-image img {

    transform: scale(1.05);

}


.property-status {

    position: absolute;

    top: 16px;

    left: 16px;

    padding: 6px 11px;

    background: var(--accent);

    color: white;

    border-radius: 3px 66px;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .5px;

}


.property-favorite {

    position: absolute;

    top: 14px;

    right: 14px;

    width: 38px;

    height: 38px;

    border: none;

    border-radius: 50%;

    background: white;

    color: var(--dark);

    font-size: 20px;

    cursor: pointer;

}


.property-content {

    padding: 25px;

}


.property-type {

    color: var(--accent);

    text-transform: uppercase;

    font-size: 11px;

    letter-spacing: 1px;

    font-weight: 700;

}


.property-content h3 {

    margin: 7px 0;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 23px;

    line-height: 1.25;

    color: var(--dark);

}


.property-location {

    color: #747e7b;

    font-size: 14px;

}


.property-features {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    padding: 17px 0;

    margin-top: 15px;

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

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

}


.property-features span {

    color: #697572;

    font-size: 12px;

}


.property-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding-top: 18px;

}


.property-footer strong {

    color: var(--primary);

    font-size: 17px;

}


.property-footer a {

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;

}


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

.about-section {

    background: var(--lighter);

}


.about-grid {

    display: grid;

    grid-template-columns:
        .95fr
        1.05fr;

    gap: 80px;

    align-items: center;

}


.about-image {

    position: relative;

}


.about-image > img {

    height: 600px;

}


.about-badge {

    position: absolute;

    bottom: 30px;

    right: -30px;

    background: var(--primary);

    color: white;

    padding: 24px 30px;

    display: flex;

    flex-direction: column;

}


.about-badge strong {

    font-family:
        Georgia,
        serif;

    font-size: 24px;

}


.about-badge span {

    color: var(--accent-light);

    font-size: 13px;

}


.about-content h2 {

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(36px, 4vw, 54px);

    line-height: 1.12;

    font-weight: 500;

    margin-bottom: 25px;

    color: var(--dark);

}


.about-content > p {

    color: var(--text);

    margin-bottom: 15px;

}


.about-points {

    margin: 30px 0;

}


.about-points > div {

    display: flex;

    gap: 15px;

    margin-bottom: 20px;

}


.about-icon {

    flex-shrink: 0;

    width: 32px;

    height: 32px;

    display: grid;

    place-items: center;

    background: rgba(23,77,71,.1);

    color: var(--primary);

    font-weight: 700;

}


.about-points h3 {

    font-size: 15px;

    margin-bottom: 3px;

    color: var(--dark);

}


.about-points p {

    font-size: 13px;

    color: var(--text);

}


/* =========================================================
   SERVICES
========================================================= */

.services-section {

    background: white;

}


.services-grid {

    display: grid;

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

    gap: 20px;

}


.service-card {

    padding: 35px 28px;

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

    background: white;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.service-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);

}


.service-icon {

    font-size: 32px;

    margin-bottom: 25px;

}


.service-card h3 {

    font-family:
        Georgia,
        serif;

    font-size: 23px;

    margin-bottom: 12px;

    color: var(--dark);

}


.service-card p {

    font-size: 14px;

    color: var(--text);

    margin-bottom: 25px;

}


.service-card a {

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   CATEGORIES
========================================================= */

.categories-section {

    background: var(--lighter);

}


.categories-grid {

    display: grid;

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

    grid-template-rows:
        280px
        280px;

    gap: 15px;

}


.category-card {

    position: relative;

    overflow: hidden;

}


.category-card.category-large {

    grid-row: span 2;

}


.category-card img {

    height: 100%;

    transition: transform .6s ease;

}


.category-card:hover img {

    transform: scale(1.06);

}


.category-overlay {

    position: absolute;

    inset: 0;

    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: end;

    color: white;

    background:
        linear-gradient(
            transparent 35%,
            rgba(0,0,0,.75)
        );

}


.category-overlay span {

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: var(--accent-light);

}


.category-overlay h3 {

    font-family:
        Georgia,
        serif;

    font-size: 28px;

    font-weight: 500;

    margin: 3px 0 10px;

}


.category-overlay strong {

    font-size: 12px;

}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-section {

    background: var(--primary);

    color: white;

}


.why-section .section-eyebrow {

    color: var(--accent-light);

}


.why-section h2 {

    color: white;

}


.why-section .section-heading p {

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

}


.stats-grid {

    display: grid;

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

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

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

}


.stat-item {

    padding: 40px 20px;

    text-align: center;

    border-right: 1px solid rgba(255,255,255,.2);

}


.stat-item:last-child {

    border-right: none;

}


.stat-item strong {

    display: block;

    font-family:
        Georgia,
        serif;

    font-size: 48px;

    font-weight: 500;

    color: var(--accent-light);

}


.stat-item span {

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

    font-size: 13px;

}


/* =========================================================
   SELL SECTION
========================================================= */

.sell-section {

    min-height: 480px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(15,50,45,.93),
            rgba(15,50,45,.7)
        ),
        url("../images/optimized_avif/sell-property.avif")
        center / cover;

}


.sell-content {

    max-width: 650px;

    color: white;

}


.sell-content h2 {

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(38px, 5vw, 60px);

    font-weight: 500;

    line-height: 1.1;

    margin-bottom: 20px;

}


.sell-content p {

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

    margin-bottom: 30px;

    font-size: 17px;

}


/* =========================================================
   BLOG
========================================================= */

.blog-grid {

    display: grid;

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

    gap: 25px;

    margin-top: 45px;

}


.blog-card {

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

    background: white;

}


.blog-card > img {

    height: 260px;

}


.blog-content {

    padding: 25px;

}


.blog-category {

    color: var(--accent);

    font-size: 11px;

    text-transform: uppercase;

    font-weight: 700;

    letter-spacing: 1px;

}


.blog-content h3 {

    font-family:
        Georgia,
        serif;

    font-size: 23px;

    line-height: 1.3;

    margin: 10px 0;

    color: var(--dark);

}


.blog-content p {

    font-size: 14px;

    color: var(--text);

    margin-bottom: 20px;

}


.blog-content a {

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials-section {

    background: var(--lighter);

}


.testimonials-grid {

    display: grid;

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

    gap: 25px;

}


.testimonial-card {

    background: white;

    padding: 35px;

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

}


.testimonial-stars {

    color: var(--accent);

    letter-spacing: 4px;

    margin-bottom: 20px;

}


.testimonial-card blockquote {

    font-family:
        Georgia,
        serif;

    font-size: 20px;

    line-height: 1.5;

    color: var(--dark);

    margin-bottom: 30px;

}


.testimonial-author {

    display: flex;

    flex-direction: column;

}


.testimonial-author strong {

    font-size: 13px;

    color: var(--dark);

}


.testimonial-author span {

    font-size: 12px;

    color: #78817f;

}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {

    background: var(--primary);

    color: white;

    text-align: center;

}


.final-cta-content {

    max-width: 750px;

}


.final-cta .section-eyebrow {

    color: var(--accent-light);

}


.final-cta h2 {

    font-family:
        Georgia,
        serif;

    font-size:
        clamp(40px, 5vw, 62px);

    line-height: 1.1;

    font-weight: 500;

    margin-bottom: 20px;

}


.final-cta p {

    max-width: 600px;

    margin:
        0 auto 30px;

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

}


.final-cta-actions {

    display: flex;

    justify-content: center;

    gap: 12px;

    flex-wrap: wrap;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: #101b19;

    color: white;

    padding-top: 70px;

}


.footer-main {

    display: grid;

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

    gap: 50px;

    padding:
        0 30px
        60px;

}


.footer-logo {

    font-family: var(--font-telma);

    font-size: 25px;

    color: white;

}


.footer-brand p {

    max-width: 320px;

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

    font-size: 14px;

    margin-top: 15px;

}


.footer-socials {

    display: flex;

    gap: 8px;

    margin-top: 25px;

}


.footer-socials a {

    width: 35px;

    height: 35px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(255,255,255,.2);

    font-size: 12px;

}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.footer-column h3 {

    color: var(--accent-light);

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 8px;

}


.footer-column a,
.footer-column span {

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

    font-size: 13px;

}


.footer-column a:hover {

    color: white;

}


.footer-bottom {

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

    padding:
        22px 30px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

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

    font-size: 12px;

}


.footer-bottom div {

    display: flex;

    gap: 20px;

}


.footer-bottom a:hover {

    color: white;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .navbar {

        gap: 18px;

    }


    .property-search form {

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

    }


    .search-button {

        width: 100%;

    }


    .services-grid {

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

    }


    .categories-grid {

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

        grid-template-rows:
            280px
            280px;

    }


    .category-card.category-large {

        grid-row: auto;

    }

}


@media (max-width: 800px) {

    .header {

        top: 0;
        width: 100%;
        margin: auto 0;
        height: 72px;
        border-radius: 0;

    }


    .mobile-actions {

        display: flex;

    }


    .desktop-only {

        display: none;

    }


    .navbar {

        position: absolute;

        top: 72px;

        left: 0;

        width: 100%;

        background: white;

        display: none;

        flex-direction: column;

        align-items: stretch;

        padding: 20px 30px 30px;

        border-radius: 0 0 16px 16px;

        box-shadow: var(--shadow);

    }


    .navbar.show {

        display: flex;

    }


    .navbar > a {

        padding: 10px 0;

    }


    .navbar > a::after {

        display: none;

    }


    .menu-toggle.active span:nth-child(1) {

        transform:
            translateY(7px)
            rotate(45deg);

    }


    .menu-toggle.active span:nth-child(2) {

        opacity: 0;

    }


    .menu-toggle.active span:nth-child(3) {

        transform:
            translateY(-7px)
            rotate(-45deg);

    }


    .hero {

        min-height: 680px;

        padding:
            80px 25px
            160px;

    }


    .hero h1 {

        font-size: 48px;

    }


    .hero p {

        font-size: 16px;

    }


    .property-search {

        bottom: -210px;

    }


    .properties-section {

        padding-top: 280px;

    }


    .properties-grid,
    .blog-grid,
    .testimonials-grid {

        grid-template-columns: 1fr;

    }


    .about-grid {

        grid-template-columns: 1fr;

        gap: 50px;

    }


    .about-image > img {

        height: 450px;

    }


    .about-badge {

        right: 15px;

    }


    .stats-grid {

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

    }


    .stat-item:nth-child(2) {

        border-right: none;

    }


    .footer-main {

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

    }

}


@media (max-width: 550px) {

    .section-spacing {

        padding:
            75px 20px;

    }


    .header {

        padding:
            0 20px;

    }


    .logo {

        font-size: 21px;

    }


    .mobile-flags {

        display: none;

    }


    .hero {

        min-height: 720px;

        padding:
            70px 20px
            200px;

    }


    .hero h1 {

        font-size: 43px;

    }


    .hero-actions {

        flex-direction: column;

        align-items: stretch;

    }


    .hero-actions .btn {

        width: 100%;

    }


    .property-search {

        width:
            calc(100% - 30px);

        bottom: -330px;

        padding: 20px;

    }


    .search-header {

        display: block;

    }


    .search-header small {

        display: block;

        margin-top: 4px;

    }


    .property-search form {

        grid-template-columns: 1fr;

    }


    .properties-section {

        padding-top: 390px;

    }


    .section-heading {

        display: block;

    }


    .section-link {

        display: inline-block;

        margin-top: 15px;

    }


    .property-image {

        height: 250px;

    }


    .services-grid {

        grid-template-columns: 1fr;

    }


    .categories-grid {

        grid-template-columns: 1fr;

        grid-template-rows:
            repeat(4, 260px);

    }


    .stats-grid {

        grid-template-columns: 1fr;

    }


    .stat-item {

        border-right: none;

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

    }


    .stat-item:last-child {

        border-bottom: none;

    }


    .footer-main {

        grid-template-columns: 1fr;

        padding-left: 20px;

        padding-right: 20px;

    }


    .footer-bottom {

        flex-direction: column;

        padding:
            20px;

    }


    .footer-bottom div {

        flex-direction: column;

        gap: 7px;

    }

}


conseils.html {
    scroll-margin-top: 120px;
}