:root {
    --home-nav-text: rgba(7, 22, 41, 0.76);
    --home-panel-bg: rgba(255, 255, 255, 0.18);
    --home-panel-border: rgba(255, 255, 255, 0.24);
    --home-title: #10233f;
    --home-copy: rgba(16, 35, 63, 0.78);
    --home-accent: #0b2246;
    --home-line: rgba(255, 255, 255, 0.22);
    --help-bg: #f4f4f3;
    --help-card-border: rgba(10, 32, 63, 0.08);
    --help-card-shadow: 0 10px 26px rgba(10, 24, 44, 0.05);
    --help-pattern: rgba(10, 32, 63, 0.03);
    --tower-bg: #efede9;
    --tower-panel: #fbfaf8;
    --tower-line: rgba(11, 34, 70, 0.18);
    --expertise-bg: #040609;
}

.realestate-custom-homepage {
    --home-nav-text: rgba(7, 22, 41, 0.76);
    --home-panel-bg: rgba(255, 255, 255, 0.18);
    --home-panel-border: rgba(255, 255, 255, 0.24);
    --home-title: #10233f;
    --home-copy: rgba(16, 35, 63, 0.78);
    --home-accent: #0b2246;
    --home-line: rgba(255, 255, 255, 0.22);
    --help-bg: #f4f4f3;
    --help-card-border: rgba(10, 32, 63, 0.08);
    --help-card-shadow: 0 10px 26px rgba(10, 24, 44, 0.05);
    --help-pattern: rgba(10, 32, 63, 0.03);
    --tower-bg: #efede9;
    --tower-panel: #fbfaf8;
    --tower-line: rgba(11, 34, 70, 0.18);
    --expertise-bg: #040609;
}


/* MAIN SLIDER */
.custom-slider {
    width: 100%;
    height: 100vh;
}

/* Slide Layout */
.custom-slide-wrapper {
    display: flex;
    height: 100%;
}

/* Left Image */
.custom-slide-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leftswiper-box {
    width: 50%;
}

/* Right Text */
.custom-content-box {
    width: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

/* DOTS STYLE */
.page-dots .custom-pagination {
    position: absolute;
    bottom: 5%;
    transform: translate(6px, -15vh);
    margin: 0 auto;
    width: 180px;
    right: -20%;
}

.page-dots.custom-pagination .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background: #000;
    opacity: 0.3;
}

.page-dots.custom-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}


/* TITLE */
.tower-title {
    font-size: 34px;
    letter-spacing: 2px;
    color: #0f2a44;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* LOCATION */
.tower-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    color: #2d2d2d;
    margin-bottom: 20px;
}

.tower-location-icon svg {
    width: 26px;
    height: 36px;
}

/* DESCRIPTION */
.tower-description {
    color: #444;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 30px;
}

/* BUTTON */
.tower-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0f2a44;
    color: #fff;
    padding: 12px 22px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.tower-btn-icon svg {
    width: 18px;
    height: 18px;
}

.tower-btn:hover {
    background: #1a3d63;
    transform: translateX(3px);
}


/* Layout */
.tower-section {
    display: flex;
    height: 100vh;
}

/* LEFT IMAGE */
.tower-image {
    width: 55%;
}

.tower-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease;
}

/* RIGHT CONTENT */
.tower-content {
    width: 50%;
    display: flex;
    align-items: center;
    padding: 1% 7% 0% 7%;
    display: flex;
    align-items: center;
    height: 100%;
}

.content-inner {
    max-width: 420px;
}

.content-inner h2 {
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* LOCATION WITH SVG */
.location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    color: #333;
}

.location-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0d2a4a;
    color: #fff;
    padding: 10px 18px;
    text-decoration: none;
    font-size: 13px;
}

/* Pagination */
.swiper-pagination {
    margin-top: 50px;
    text-align: center;
}


.swiper-pagination-bullet-active {
    width: 12px;
    height: 12px;
    background: #0d2a4a;
}


/* Office Locations Section */
.req-red {
    color: #ff0000;
}

.locations-section {
    padding: 40px 15px 40px;
}

.kmrof {
    padding: 5px 15px 8px 15px;
    color: #fff;
    background: #ffffff24;
    font-size: 14px;
    border-radius: 0px;
    border: 1px solid #ffffff70;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.kmrof {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 99;
}

.eyrfhvb ul li a img {
    background: #ffffff99;
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 0px;
    margin-top: -6px;
}

.featured-card__meta span {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    background: #FFFFFF4D;
    padding: 5px 10px;
    color: #1A1A1A;
    border-radius: 0px;
    font-size: 13px;
}

.featured-card__meta span svg {
    width: 16px;
    color: #00254D;
}

.eyrfhvb ul {
    margin-top: 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.eyrfhvb ul li a h3 {
    background: #ffffffcc;
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 0px;
}

.eyrfhvb {
    position: absolute;
    z-index: 999;
    width: 90%;
}


.home-search__tab {
    display: inline-block;
    margin-right: 0px;
    cursor: pointer;
}

.home-search__tab input {
    display: none;
    /* radio hide */
}

.home-search__tab span {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 0px;
    background: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}

/* HOVER */
.home-search__tab span:hover {
    background: #eaeaea;
}

/* ACTIVE (checked) */
.home-search__tab input:checked + span {
    background: var(--home-accent);
    color: #fff;
    border-color: var(--home-accent);
}


.deskshow {
    display: block;
}

.custom-filter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.home-search__tab.inorytu .tab-arrow {
    transition: 0.3s;
}

.modshow {
    display: none;
}


.home-search__tab.inorytu.active .tab-arrow {
  transform: rotate(180deg);
}

.custom-filter-form {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

/* Active state */
.custom-filter-form.active {
    max-height: 500px;
    /* adjust if content zyada ho */
    opacity: 1;
}

.custom-filter-form select,
.custom-filter-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0px;
    min-width: 155px;
    margin: 0px 0px 15px;
    font-size: 13px;
}

.custom-filter-form button {
    background: black;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
}

.blog-slider-section {
    padding: 60px 40px;
    text-align: center;
}

.custom-filter-form select:focus-visible {
    outline: none;
}

section.blog-slider-section .section-title:after {
    content: '';
    position: absolute;
    top: 50px;
    width: 380px;
    height: 1px;
    background: #1e2a381c;
    left: 0px;
    right: 0px;
    margin: 0 auto;
}

.home-clients__header h2:after {
    content: '';
    position: absolute;
    top: 50px;
    width: 220px;
    height: 1px;
    background: #1e2a381c;
    left: 0px;
    right: 0px;
    margin: 0 auto;
}

.section-title {
    letter-spacing: 2px;
    font-size: clamp(22px, 2.2vw, 29px);
    color: #1e2a38;
    margin-bottom: 40px;
    padding-bottom: 20px;
    position: relative;
    font-weight: 600;
}

.swiper {
    padding-bottom: 0px;
}

.blog-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* Overlay */
.overlay {
    margin-top: -151px;
    position: relative;
    padding: 20px;
    color: #fff;
    text-align: left;
    background: linear-gradient(to top, rgb(30 42 56 / 52%) 0%, rgb(30 42 56 / 0%) 40%, rgb(30 42 56 / 43%) 70%, rgb(30 42 56 / 33%) 100%);
    z-index: 9999;
    backdrop-filter: blur(8px);
}


.overlay h3 {
    font-size: 15px;
    margin: 8px 0;
}

.overlay p {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Default dots */
.swiper-pagination-bullet {
    width: 18px;
    height: 18px;
    background: #cfcfcf;
    opacity: 1;
    border-radius: 2px;
    /* square look */
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    background: #1e2a38;
    width: 9px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    position: relative;
    top: 0px;
}

/* Active dot (square with border + inner fill feel) */
.swiper-pagination-bullet-active {
    /*border: 1px solid #1e2a38;*/
    width: 18px;
    height: 18px;
    background: var(--home-accent);
    border-radius: 0%;
}

/* Explore Tag */
.tag {
    display: block;
    background: #1e2a38;
    padding: 10px 52px 10px 12px;
    font-size: 12px;
    color: #fff;
    letter-spacing: 1px;
    position: absolute;
    top: -210px;
}

/* Pagination */
.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

span.tag svg {
    width: 20px;
    position: absolute;
    right: 5px;
    top: 8px;
}

.swiper-pagination-bullet-active {
    background: #1e2a38;
}


.locations-container {
    margin: 0 auto;
}

.locations-title {
    color: var(--navy-strong);
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 20px;
}

.locations-title-divider {
    width: 100%;
    max-width: 500px;
    height: 1px;
    background: rgba(6, 26, 53, 0.1);
    margin-bottom: 20px;
}

.locations-description {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.7;
    max-width: 1050px;
    margin-bottom: 40px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.location-card {
    background-color: #ededed;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(6, 26, 53, 0.1);
}

.location-card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28px;
    background-image: var(--pattern-light);
    background-size: 28px 28px;
    opacity: 0.5;
    pointer-events: none;
}

.location-content {
    padding: 30px 20px;
    position: relative;
    z-index: 2;
}

.location-content h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy-strong);
    margin-bottom: 4px;
}

.office-type {
    font-size: 9px;
    color: var(--muted);
    text-transform: lowercase;
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 12px;
}

.location-divider {
    width: 30px;
    height: 1px;
    background: rgba(6, 26, 53, 0.15);
    margin-bottom: 18px;
}

.location-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 9.5px;
    color: var(--muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.location-details li:last-child {
    margin-bottom: 0;
}

.location-details svg {
    min-width: 12px;
    margin-top: 1px;
    color: rgba(6, 26, 53, 0.35);
}


.contact-form {
    max-width: 700px;
}

.contact-left-section {
    margin-top: 45px;
}

.form-group-full label {
    font-size: 15px !important;
}

.form-group-full textarea::placeholder {
    color: #ADABC3;
}

.form-group-half select {
    color: #ADABC3;
}

.form-group-half label {
    font-size: 15px !important;
}

.form-group input::placeholder {
    color: #ADABC3;
    font-size: 14px;
}

p.form-intro-text {
    max-width: 470px;
    font-size: 18px;
    text-align: center;
    color: #001730;
}

/* Row layout */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

/* Half width fields */
.form-group-half {
    width: 50%;
}

/* Full width (textarea) */
.form-group-full {
    width: 100%;
}

/* Label */
.contact-form label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 500;
}

/* Inputs & select */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

/* Textarea spacing */
.form-rowss {
    margin-bottom: 15px;
}

/* Button */
.form-button {
    background: #001730;
    color: #fff;
    padding: 10px 65px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
}

.form-button:hover {
    background: #1a3d63;
}

div#contact-map {
    margin-bottom: 20px;
    border-radius: 0px;
    overflow: hidden;
}

#contact-map .gm-style .gm-style-cc,
#contact-map .gm-style a[href^="https://maps.google.com/maps"],
#contact-map .gm-style a[href^="http://maps.google.com/maps"] {
    display: none !important;
}

#contact-map .gm-bundled-control {
    right: 50px !important;
    bottom: 80px !important;
}

.contact-form-wrapper {
    background: var(--home-panel-bg);
    border: 1px solid var(--home-panel-border);
    box-shadow: 0 26px 80px rgba(7, 22, 41, 0.16);
    backdrop-filter: blur(8px);
    padding: 40px 60px;
    margin: 50px 0px 20px 0px;
    border-radius: 0px;
}

.contact-headline:after {
    content: '';
    position: absolute;
    width: 515px;
    height: 2px;
    background: #ffffff42;
    top: 45px;
    left: 2px;
}

.contact-headline {
    color: #fff;
    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.045em;
    position: relative;
    text-transform: uppercase;
}

section.contact-hero-section {
    background-image: url(https://alasmakhrealestate.com/custom-homepage/contactform.webp);
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-container {
    width: min(90%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.djfkgb svg {
    color: var(--home-title);
    width: 30px !important;
    height: 25px !important;
}

.djfkgb {
    background: initial !important;
    padding: 6px 0px !important;
    margin-left: -7px;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(https://cdn-icons-png.flaticon.com/512/32/32195.png) no-repeat right 11px center;
    background-size: 12px;
    padding-right: 40px;
    background-color: #ffffff8d;
}

label.home-search__tab.inorytu span {
    background: #ffffff8d;
    color: #000;
    padding: 11px 18px;
}

label.home-search__tab.inorytu span svg {
    width: 20px;
    margin-left: 0px;
}

.realestate-custom-homepage .site-header {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    background: rgb(255 255 255 / 48%);
    border-bottom: 1px solid rgba(6, 26, 53, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    margin: 6px 15px;
}

.realestate-custom-homepage .header-inner {
    margin-right: 0px !important;
    /* max-width: var(--content-max); */
    height: var(--header-height);
    padding: 0 24px 0 12px;
    margin-left: 10px;
}

.homepage-main {
    flex: 1 0 auto;
}

.home-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 232px 24px 96px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 0px;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, rgba(7, 22, 41, 0.08) 0, rgba(7, 22, 41, 0.24) 100%);
    pointer-events: none;
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1160px);
}

.home-hero__panel {
    position: relative;
    width: min(100%, 940px);
    margin: 0 auto;
    padding: 32px 50px 48px;
    background: var(--home-panel-bg);
    box-shadow: 0 26px 80px rgba(7, 22, 41, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    border-radius: 0px;
}


.home-hero__copy {
    position: relative;
    z-index: 1;
    text-align: left;
}

.home-hero__copy h1 {
    /* margin: 0; */
    color: var(--home-title);
    font-size: 37px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0.035em;
    border-bottom: 1px solid #ffffff5e;
    padding: 15px 0px;
    margin: 0px;
}

.home-hero__copy p {
    color: var(--home-copy);
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
    padding: 15px 0px 0px;
    margin-bottom: 0px;
    padding-left: 0px;
}

.home-search {
    text-align: left;
}

.home-search__tabs {
    display: inline-flex;
    align-items: center;
    justify-content: start;
    gap: 0;
    width: 100%;
    padding: 15px 0px;
    margin: 0 0 15px;
    border-bottom: 1px solid #ffffff5e;
}

.home-search__tab {
    position: relative;
    display: inline-flex;
}

.home-search__tab input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.home-search__tab span {
    background: #ffffff8d;
    border: 0px;
    min-width: 116px;
    padding: 10px 18px;
    color: #000;
    font-size: 11px;
    display: flex;
    padding: 15px 18px;
    font-weight: 700;
    align-items: center;
    border-radius: 0px;
    text-align: center;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
    margin: 0px 15px 0px 0px;
    justify-content: center;
}

.home-search__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 166px;
    align-items: center;
    gap: 15px;
}

.home-search__field {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    border-radius: 0px;
    padding: 0 8px;
    background: #ffffff8d;
    border: 1px solid rgba(11, 34, 70, 0.14);
    box-shadow: 0 14px 34px rgba(7, 22, 41, 0.08);
}

.home-search__icon {
    color: #fff;
    background: var(--home-title);
    width: 37px;
    height: 37px;
    border-radius: 0px;
    padding: 9px;
}

.home-search__icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.home-search__field input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--home-accent);
    font-size: 12px;
    line-height: 1.4;
    outline: none;
    padding-left: 20px;
}

.home-search__field input::placeholder {
    color: rgba(11, 34, 70, 0.52);
}

.home-search__submit {
    min-height: 50px;
    border: 0;
    background: var(--home-accent);
    color: #fff;
    font-size: 11px;
    border-radius: 0px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-search__submit:hover {
    background: #14315d;
    transform: translateY(-1px);
}

.home-help {
    position: relative;
    padding: 78px 20px 84px;
    background: radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0.74) 18%, rgba(244, 244, 243, 0) 54%),
    linear-gradient(180deg, #f8f8f8 0, #f1f1f0 100%);
    overflow: hidden;
    background: url(https://do3sl4lrqlydu.cloudfront.net/2026/04/mA2SIgub-hero-dots.jpg?fm=pjpg&ixlib=php-3.3.1);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

.home-help::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--help-pattern) 0.9px, transparent 0.9px),
    radial-gradient(var(--help-pattern) 0.9px, transparent 0.9px);
    background-position: 0 0, 12px 12px;
    background-size: 24px 24px;
    opacity: 0.9;
    pointer-events: none;
}

.home-help__inner {
    position: relative;
    z-index: 1;
    width: min(90%);
    margin: 0 auto;
}

video.hero-video {
    top:0px;
    width: 100%;
    position: absolute;
    height: 100vh;
    object-fit: cover;
}

.home-help__header {
    text-align: center;
}

.home-help__header h2 {
    margin: 0;
    color: #10233f;
    font-size: 35px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.045em;
}

.home-help__header p {
    margin: 14px auto 0;
    max-width: 440px;
    color: #919191;
    font-size: 16px;
    line-height: 1.5;
}

.home-help__rows {
    margin-top: 42px;
}

.home-help__row {
    display: grid;
    gap: 14px;
}

.home-help__row--top {
    width: min(70%);
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-help__row--bottom {
    width: min(70%);
    margin: 8px auto 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.help-card {
    position: relative;
    min-height: 190px;
    height: 100%;
    padding: 20px 16px 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--help-card-border);
    box-shadow: var(--help-card-shadow);
    text-align: center;
    transition: transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
    margin-bottom: 10px;
}

.help-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(11, 34, 70, 0), rgba(11, 34, 70, 0.56), rgba(11, 34, 70, 0));
    opacity: 0;
    transform: scaleX(0.32);
    transform-origin: center;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.help-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 10px;
    color: #6d7f92;
    transition: transform 0.28s ease, color 0.28s ease;
}

.help-card__icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.help-card h3 {
    margin: 0;
    color: #10233f;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    transition: color 0.28s ease;
}

.help-card p {
    margin: 10px auto 0;
    font-size: 14px;
    transition: color 0.28s ease;
    color: #001730;
}

.help-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(11, 34, 70, 0.16);
    box-shadow: 0 18px 38px rgba(10, 24, 44, 0.12);
}

.help-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.help-card:hover .help-card__icon {
    color: #0b2246;
    transform: translateY(-2px) scale(1.05);
}

.help-card:hover h3 {
    color: #0b2246;
}

.help-card:hover p {
    color: rgba(16, 35, 63, 0.78);
}

.home-tower {
    padding: 0;
    /*background: var(--tower-bg);*/
    background: #fff;
}

.home-tower__frame {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 540px;
    background: #fff;
}

.home-tower__visual,
.custom-slider-wrapper {
    flex: 0 0 50%;
    max-width: 50%;
}

.home-tower__visual {
    min-height: 540px;
    overflow: hidden;
}

.home-tower__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.home-tower__content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* background: var(--tower-panel); */
    background: #fff;
    height: 90vh;
}

.home-tower__content-inner {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 64px 28px 56px;
}

.home-tower__content h2 {
    margin: 0;
    color: #10233f;
    font-size: clamp(24px, 2vw, 31px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0.045em;
}

.home-tower__location {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    margin: 18px 0 0;
    color: #1A1A1A;
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0.05em;
    margin-left: -8px;
}

.home-tower__location svg {
    width: 30px;
    height: 30px;
    display: block;
}

.home-tower__copy {
    margin: 18px 0 0;
    color: #1A1A1A;
    font-size: 16px;
}

.home-tower__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 126px;
    height: 38px;
    padding: 0 16px;
    margin-top: 30px;
    background: #0b2246;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    transition: background 0.24s ease, transform 0.24s ease;
}

.home-tower__button svg {
    width: 16px;
    height: 16px;
    display: block;
}

.home-tower__button:hover {
    background: #153461;
    transform: translateY(-1px);
}

.home-tower__pager {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.home-tower__pager-current {
    width: 20px;
    height: 20px;
    border: 1px solid var(--tower-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-tower__pager-current::after {
    content: "";
    width: 8px;
    height: 8px;
    background: #10233f;
}

.home-tower__pager-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(16, 35, 63, 0.24);
}

.home-areas {
    padding: 72px 16px 78px;
    background: url(https://do3sl4lrqlydu.cloudfront.net/2026/04/back_dots.jpg?fm=pjpg&ixlib=php-3.3.1);
    background-position: top;
    background-size: auto;
    background-repeat: repeat-y;
}

.home-areas__inner {
    margin: 0 auto;

}

.home-areas__header {
    text-align: center;
    margin-bottom: 50px;
}

.home-areas__header h2 {
    margin: 0;
    color: #10233f;
    font-size: clamp(22px, 2.3vw, 35px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.045em;
}

.home-areas__header p {
    max-width: 670px;
    margin: 14px auto 0;
    color: rgba(16, 35, 63, 0.38);
    font-size: 16px;
    line-height: 1.6;
}

.home-areas__rows {
    display: grid;
    gap: 6px;
}

.home-areas__row {
    display: grid;
    gap: 6px;
}

.home-areas__row--top {
    grid-template-columns: 88fr 180fr 91fr 88fr;
}

.home-areas__row--bottom {
    grid-template-columns: 86fr 86fr 87fr 176fr;
}

.hoverArea {
    overflow: hidden;
}

.hoverArea:hover img {
    transform: scale(1.2);
}

.area-card {
    position: relative;
    overflow: hidden;
    background: #eef2f7;
}

.area-card img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0px;
    transition: all ease 0.5s;
}

.area-card--sm {
    aspect-ratio: 88 / 107;
}

.area-card--md {
    aspect-ratio: 91 / 107;
}

.area-card--lg {
    aspect-ratio: 180 / 107;
}

.home-areas__row--bottom .area-card--sm {
    aspect-ratio: 88 / 98;
}

.home-areas__row--bottom .area-card--md {
    aspect-ratio: 89 / 98;
}

.home-areas__row--bottom .area-card--lg {
    aspect-ratio: 180 / 98;
}

.home-expertise {
    padding: 0;
    background: url(https://alasmakhrealestate.com/wp-content/uploads/2026/04/personalized_section_image.jpg);
    background-size: cover;
    padding-top: 100px;
    padding-bottom: 70px;
    width: 100%;
    margin: 0 auto;
}

.home-expertise__frame {
    position: relative;
    width: min(90%);
    min-height: 520px;
    margin: 0 auto;
}

.home-expertise__visual {
    position: absolute;
    inset: 0 auto 0 0;
    width: 64%;
    z-index: 0;
    overflow: hidden;
}

.home-expertise__visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: left center;
    filter: brightness(0.72);
}

.home-expertise__content {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 58px 0px 54px;
}

.home-expertise__cards {
    width: min(100%, 392px);
    display: grid;
    gap: 14px;
}

.expertise-card {
    padding: 14px 18px 13px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.expertise-card h3 {
    margin: 0;
    color: rgb(13 36 71);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.expertise-card p {
    margin: 6px 0 0;
    color: rgb(13 36 71);
    font-size: 13px;
    line-height: 1.55;
}

.home-featured {
    padding: 78px 18px 86px;
    background: #fff;
}

.home-featured__inner {
    width: min(96%);
    margin: 0 auto;
}

.home-featured__header {
    text-align: center;
}

.home-featured__header h2 {
    margin: 0;
    color: #10233f;
    font-size: clamp(22px, 2.3vw, 35px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.045em;
}

.home-featured__header p {
    max-width: 670px;
    margin: 14px auto 0;
    color: rgba(16, 35, 63, 0.36);
    font-size: 16px;
    line-height: 1.6;
}

.home-featured__content {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 20px;
    margin-top: 38px;
}

.home-featured-swiper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.home-featured-swiper .featured-card {
    height: auto;
}


.home-featured__arrow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(16, 35, 63, 0.1);
    background: #fff;
    color: #10233f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.home-featured__arrow:hover {
    background: #10233f;
    color: #fff;
    border-color: #10233f;
}

.home-featured__arrow svg {
    width: 20px;
    height: 20px;
    display: block;
}


.featured-card {
    background: #f2f1f1;
    border: 1px solid rgba(16, 35, 63, 0.08);
    box-shadow: 0 10px 22px rgba(10, 24, 44, 0.06);
    padding: 15px;
    border-radius: 0px;
    position: relative;
}

.featured-card__image-wrap {
    position: relative;
    aspect-ratio: 1.16 / 0.72;
    overflow: hidden;
    background: #edf2f7;
}

.featured-card__image-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 0px;
    display: block;
}

.featured-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    min-width: 25px;
    padding: 3px 6px;
    background: rgba(232, 239, 247, 0.96);
    color: rgba(16, 35, 63, 0.62);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: center;
}

.featured-card__favorite {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border: 0;
    background: rgba(232, 239, 247, 0.96);
    color: rgba(16, 35, 63, 0.62);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.featured-card__favorite svg {
    width: 20px;
    height: 20px;
    display: block;
}

.featured-card__body {
    padding: 10px 0px 12px;
}

.featured-card__body h3 {
    margin: 0;
    color: #10233f;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    height: 40px;
}

.featured-card__location {
    margin: 7px 0 0;
    color: #1A1A1A;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.featured-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 7px;
    color: rgba(16, 35, 63, 0.54);
    font-size: 13px;
    line-height: 1.4;
    justify-content: flex-start;
}

.featured-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    margin-top: 15px;
    border-top: 1px solid rgba(16, 35, 63, 0.08);
}

.featured-card__price {
    margin: 0;
    color: #10233f;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

.featured-card__button {
    padding: 10px 60px;
    background: #0b2246;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
}

.home-featured__footer {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.home-featured__view-all {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 28px;
    width: 150px;
    padding: 0 11px;
    background: #0b2246;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.home-featured__view-all svg {
    width: 20px;
    height: 20px;
    display: block;
}

.home-clients {
    position: relative;
    padding: 72px 20px 90px;
    background: radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.96) 0, rgba(255, 255, 255, 0.8) 18%, rgba(244, 244, 243, 0) 54%),
    linear-gradient(180deg, #f8f8f8 0, #f2f2f1 100%);
    overflow: hidden;
}

.home-clients::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--help-pattern) 0.9px, transparent 0.9px),
    radial-gradient(var(--help-pattern) 0.9px, transparent 0.9px);
    background-position: 0 0, 12px 12px;
    background-size: 24px 24px;
    opacity: 0.82;
    pointer-events: none;
}

.home-clients__inner {
    position: relative;
    z-index: 1;
    width: min(100%, 1220px);
    margin: 0 auto;
}

.home-clients__header {
    text-align: center;
}

.home-clients__header h2 {
    margin: 0;
    color: #10233f;
    font-size: clamp(22px, 2.2vw, 29px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0.045em;
    position: relative;
    margin-bottom: 65px;
}

.home-clients__viewport {
    margin-top: 42px;
}

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

.client-story {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 12px;
    width: 90%;
    min-height: 80px;
    padding: 10px 16px 10px 10px;
    background: rgba(243, 243, 242, 0.96);
    border: 1px solid rgba(16, 35, 63, 0.05);
    box-shadow: 0 10px 24px rgba(10, 24, 44, 0.04);
    margin: 0 auto;
}

.client-story__avatar {
    width: 36px;
    height: 36px;
    overflow: hidden;
    background: #dfe7ef;
}

.client-story__avatar img {
    width: 25%;
    height: 78%;
    display: block;
    top: 12px;
    left: -47px;
    position: absolute;
    object-fit: cover;
}

.client-story__content {
    min-width: 0;
}

.client-story__content h3 {
    margin: 0;
    color: #10233f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.client-story__role {
    margin: 2px 0 0;
    color: rgba(16, 35, 63, 0.42);
    font-size: 12px;
    line-height: 1.35;
}

.client-story__quote {
    margin: 7px 0 0;
    color: rgba(16, 35, 63, 0.56);
    font-size: 12px;
    line-height: 1.6;
}

.client-story__mark {
    align-self: start;
    color: rgb(11 34 70);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 58px;
    line-height: 0.7;
    margin-top: 5px;
}

.home-clients__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.home-featured__header h2 {
    position: relative;
    margin-bottom: 40px;
}

.home-areas__header h2 {
    position: relative;
    margin-bottom: 40px;
}

.home-areas__header h2:after {
    content: '';
    position: absolute;
    top: 50px;
    width: 380px;
    height: 1px;
    background: #1e2a381c;
    left: 0px;
    right: 0px;
    margin: 0 auto;
}

.home-help__header h2 {
    position: relative;
    margin-bottom: 40px;
}

.home-help__header h2:after {
    content: '';
    position: absolute;
    top: 50px;
    width: 290px;
    height: 1px;
    background: #1e2a381c;
    left: 0px;
    right: 0px;
    margin: 0 auto;
}

.home-featured__header h2:after {
    content: '';
    position: absolute;
    top: 50px;
    width: 290px;
    height: 1px;
    background: #1e2a381c;
    left: 0px;
    right: 0px;
    margin: 0 auto;
}

.home-clients__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(16, 35, 63, 0.26);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.home-clients__dot.is-active {
    background: #fff;
    box-shadow: 0 0 0 1px rgba(16, 35, 63, 0.6);
    transform: scale(1.15);
}

.home-clients__dot:focus-visible {
    outline: 2px solid rgba(11, 34, 70, 0.65);
    outline-offset: 4px;
}

@media (min-width: 2053px) and (max-width: 2100px) {

    .home-help__header h2:after {
        top: 64px;
    }

    .pageNat .swiper-pagination {
        left: 0px !important;
        text-align: start;
        transform: translateY(-10vh);
        bottom: 0px !important;
    }

    .help-card__icon {
        width: 74px;
        height: 84px;
    }

    .help-card__icon img {
        width: 60px;
    }


    .home-help__row--top {
        width: min(70%);
    }

    .home-help__row--bottom {
        width: min(70%);
    }

    .home-tower__content-inner {
        width: 100%;
        max-width: 670px;
        margin: 0 auto;
        padding: 54px 0px 46px;
    }

    .home-expertise__frame {
        width: min(100%, 1920px);
    }

    .home-featured__header h2:after {
        top: 64px;
    }

    .home-featured__header p {
        max-width: 920px;
        /*font-size: 23px;*/
    }

    .eyrfhvb {
        width: 20%;
    }

    .blog-slider-section {
        padding: 60px 69px;
    }

    .contact-container {
        width: min(100%, 1920px);
    }

    .home-featured__inner {
        width: min(100%, 1920px);
        margin: 0 auto;
    }

    .eyrfhvb {
        width: 415px;
    }

    .home-help__inner {
        width: min(100%, 1920px);
    }


    video.hero-video {
        width: 100%;
        position: absolute;
        object-fit: cover;
    }

}

@media (max-width: 1120px) {
    .realestate-custom-homepage .header-inner {
        max-width: var(--content-max);
        height: var(--header-height);
        padding: 0 24px 0 12px;
    }

    .home-hero__panel {
        padding: 64px 38px 40px;
    }

    .home-help__row--bottom {
        width: min(100%, 920px);
    }

    .home-tower__frame {
        /* grid-template-columns removed as we use flex */
    }

    .home-expertise__content {
        padding-inline: 32px;
    }

    .home-featured__grid {
        gap: 12px;
    }

    .home-clients__track {
        gap: 14px;
    }
}

@media (max-width: 980px) {
    .home-hero {
        padding-top: 64px;
    }

    .home-hero__panel {
        padding: 56px 24px 32px;
    }

    .home-hero__panel-lines {
        background: linear-gradient(var(--home-line), var(--home-line)) 0 30%/100% 1px no-repeat,
        linear-gradient(var(--home-line), var(--home-line)) 0 70%/100% 1px no-repeat,
        linear-gradient(var(--home-line), var(--home-line)) 33.33% 0/1px 100% no-repeat,
        linear-gradient(var(--home-line), var(--home-line)) 66.66% 0/1px 100% no-repeat;
    }

    .home-help {
        padding: 64px 16px 72px;
    }

    .home-help__row--top,
    .home-help__row--bottom {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-tower__frame {
        flex-direction: column;
    }

    .home-tower__visual,
    .custom-slider-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home-tower__visual,
    .home-tower__frame {
        min-height: 0;
    }

    .home-tower__visual {
        height: 430px;
    }

    .home-tower__content-inner {
        max-width: 560px;
        padding: 44px 24px 48px;
    }

    .home-areas {
        padding: 56px 16px 64px;
    }

    .home-areas__row--top,
    .home-areas__row--bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .area-card--sm,
    .area-card--md,
    .area-card--lg,
    .home-areas__row--bottom .area-card--sm,
    .home-areas__row--bottom .area-card--md,
    .home-areas__row--bottom .area-card--lg {
        aspect-ratio: 1.1 / 1;
    }

    .home-expertise__visual {
        width: 58%;
    }

    .home-expertise__content {
        padding: 42px 20px;
    }

    .home-expertise__cards {
        width: min(100%, 360px);
    }

    .home-featured {
        padding: 64px 16px 72px;
    }

    .home-featured__content {
        grid-template-columns: 1fr;
    }

    .home-featured__arrow {
        display: none;
    }

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

    .home-clients {
        padding: 64px 16px 76px;
    }

    .home-clients__viewport {
        overflow: hidden;
        touch-action: pan-y;
    }

    .home-clients__track {
        display: flex;
        gap: 0;
        transition: transform 0.45s ease;
        will-change: transform;
    }

    .client-story {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: 92px;
        padding: 12px 18px 12px 12px;
    }

    .client-story__avatar {
        width: 44px;
        height: 44px;
    }

    .client-story__content h3 {
        font-size: 12px;
    }

    .client-story__role,
    .client-story__quote {
        font-size: 10px;
    }

    .client-story__mark {
        font-size: 32px;
    }
}

@media (max-width: 760px) {
    .realestate-custom-homepage .header-inner {
        height: var(--header-height);
        padding: 0 16px 0 12px;
    }

    .form-group-half {
        width: 100%;
    }

    .home-hero {
        min-height: 620px;
        padding: 56px 16px;
    }

    .home-hero__copy h1 {
        font-size: 30px;
    }

    .home-hero__copy p {
        font-size: 12px;
    }

    .home-search__tabs {
        width: 100%;
        display: flex;
        grid-template-columns: repeat(3, 1fr);
        flex-wrap: wrap;
        gap: 20px;
    }

    .home-search__tab span {
        min-width: 0;
        width: 100%;
        padding-inline: 10px;
        letter-spacing: 0.08em;
    }

    .home-search__bar {
        grid-template-columns: 1fr;
    }

    .home-help__rows {
        margin-top: 30px;
    }

    .home-help__row--top,
    .home-help__row--bottom {
        grid-template-columns: 1fr;
    }

    .help-card {
        min-height: 0;
    }

    .help-card p {
        max-width: 220px;
        font-size: 10px;
    }

    .home-tower__visual {
        height: 320px;
    }

    .home-tower__content-inner {
        padding: 36px 20px 42px;
    }

    .home-tower__copy {
        font-size: 11px;
        line-height: 1.8;
    }

    .home-areas__inner {
        width: 100%;
    }

    .home-areas {
        padding: 48px 12px 56px;
    }

    .home-areas__header {
        margin-bottom: 24px;
    }

    .home-areas__row--top,
    .home-areas__row--bottom {
        grid-template-columns: 1fr;
    }

    .home-expertise__frame,
    .home-expertise__content {
        min-height: 0;
    }

    .home-expertise__visual {
        width: 100%;
    }

    .home-expertise__frame::before {
        background: linear-gradient(180deg, rgba(4, 6, 9, 0.5) 0, rgba(4, 6, 9, 0.72) 52%, rgba(4, 6, 9, 0.94) 100%);
    }

    .home-expertise__content {
        align-items: flex-end;
        justify-content: stretch;
        padding: 28px 14px 18px;
    }

    .home-expertise__cards {
        width: 100%;
        gap: 10px;
    }

    .expertise-card {
        padding: 12px 14px;
    }

    .expertise-card h3 {
        font-size: 11px;
    }

    .expertise-card p {
        font-size: 10px;
    }

    .home-featured {
        padding: 52px 12px 60px;
    }

    .home-featured__header p {
        font-size: 11px;
    }

    .home-featured__grid {
        grid-template-columns: 1fr;
    }

    .featured-card__body h3 {
        font-size: 12px;
    }

    .featured-card__location,
    .featured-card__meta {
        font-size: 9px;
    }

    .featured-card__price {
        font-size: 12px;
    }

    .featured-card__button {
        min-width: 70px;
        height: 26px;
        font-size: 8px;
        line-height: 26px;
    }

    .home-clients {
        padding: 52px 12px 60px;
    }

    .home-clients__viewport {
        margin-top: 30px;
    }

    .client-story {
        grid-template-columns: 48px minmax(0, 1fr) 14px;
        gap: 10px;
        min-height: 0;
        padding: 12px 14px;
    }

    .client-story__avatar {
        width: 40px;
        height: 40px;
    }

    .client-story__content h3 {
        font-size: 11px;
    }

    .client-story__role {
        font-size: 9px;
    }

    .client-story__quote {
        font-size: 9px;
        line-height: 1.55;
    }

    .client-story__mark {
        font-size: 28px;
    }

    .contact-container {
        display: block;
    }

    .contact-right-section {
        overflow: hidden;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .contact-left-section {
        margin-top: 0px;
        padding-top: 30px;
    }

    .contact-headline {
        text-align: center;
    }

    .contact-headline:after {
        width: 270px;
        top: 45px;
        left: 0px;
        right: 0px;
        margin: 0 auto;
    }

    .footer-top {
        display: block !important;
    }

    .footer-brand {
        display: block;
        align-items: center;
        text-align: center !important;
    }

    .footer-brand {
        display: flex;
        align-items: center;
        justify-content: center !important;
    }

    .footer-social-row {
        padding-bottom: 30px;
    }

    section.blog-slider-section .section-title:after {
        content: '';
        position: absolute;
        top: 70px;
        width: 250px;
        height: 1px;
        background: #1e2a381c;
        left: 0px;
        right: 0px;
        margin: 0 auto;
    }

    .modshow {
        display: block;
    }

    .deskshow {
        display: none;
    }

    .custom-slider {
        width: 100%;
        height: 100%;
    }

    .leftswiper-box {
        width: 100%;
    }

    .tower-content {
        width: 100%;
        padding: 5%;
    }

    .custom-slide-wrapper {
        height: 100%;
        flex-direction: column;
    }

    .page-dots .custom-pagination {
        position: absolute;
        bottom: 0;
        left: 4%;
        transform: translate(0px, -10vh);
        text-align: left;
    }

    .tower-title {
        font-size: 25px;
    }


}

@media (prefers-reduced-motion: reduce) {

    .help-card,
    .help-card::after,
    .help-card__icon,
    .help-card h3,
    .help-card p {
        transition: none;
    }

    .help-card:hover {
        transform: none;
    }

    .help-card:hover .help-card__icon {
        transform: none;
    }

    .home-clients__dot,
    .home-clients__track {
        transition: none;
    }
}


.second-slider2 {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

.pageNat .swiper-pagination {
    left: 23px;
    text-align: start;
    bottom: 0;
    transform: translateY(-20vh);
}

@media (min-width: 1222px) and (max-width: 1666px) {
    .second-slider2 {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
    }


}

@media (min-width: 992px) and (max-width: 1024px) {
    .page-dots .custom-pagination {
        position: absolute;
        bottom: 0%;
        transform: translate(6px, -10vh);
        margin: 0 auto;
        width: 180px;
        left: 13%;
    }

}

@media (min-width: 1280px) and (max-width: 1366px) {

    .page-dots .custom-pagination {
        position: absolute;
        bottom: 0% !important;
        transform: translate(20px, -6vh) !important;
        margin: 0 auto;
        width: 180px;
        right: -20% !important;
    }


}

@media (min-width: 1400px) and (max-width: 1600px) {

    .page-dots .custom-pagination {
        position: absolute;
        bottom: 5%;
        transform: translate(6px, -10vh);
        margin: 0 auto;
        width: 180px;
        left: 1%;
    }


}

@media (min-width: 1661px) and (max-width: 1800px) {
    .page-dots .custom-pagination {
        position: absolute;
        bottom: 5%;
        transform: translate(6px, -6vh);
        margin: 0 auto;
        width: 180px;
        left: 0%;
    }


}

@media (min-width: 1900px) and (max-width: 2500px) {
    .page-dots .custom-pagination {
        position: absolute;
        bottom: 0%;
        margin: 0 auto;
        width: 180px;
        right: -18%;
    }


}

@media (min-width: 2500px) and (max-width: 3000px) {
    .page-dots .custom-pagination {
        position: absolute;
        bottom: 0%;
        margin: 0 auto;
        width: 180px;
        right: -18%;
        transform: translate(6px, -25vh);

    }


}


.prev-btn {
    width: 110px;
    position: absolute;
    right: 40px;
    bottom: 30px;
}

.prev-btn .swiper-button-prev {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    background: #00182d;
    color: #fff;
}

.prev-btn .swiper-button-next {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    background: #00182d;
    color: #fff;
}

.prev-btn .swiper-button-next:after, .swiper-button-prev:after {
    display: none;
}

.prev-btn .swiper-button-next svg, .swiper-button-prev svg {
    display: none;
}

.error-msg {
    color: #ff4d4d;
    font-size: 12px;
    margin-top: 4px;
    min-height: 18px;
    font-weight: 500;
}

.contact-form input.error,
.contact-form select.error,
.contact-form textarea.error {
    border-color: #ff4d4d !important;
}

.contact-form .form-group input:invalid {
    box-shadow: none;
}

.typebx .ap-select {
    color: #000;
    font-size: 11px;
    padding: 15px 25px;
    font-weight: 700;
    border-radius: 0px;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
    border: 2px solid #ccc;
    margin: 0px 15px 0px 0px;
}

.typebx .ap-select:focus-visible {
    outline: none;
}

/* ============================================================================
   ═══════════════════════════════════════════════════════════════════════════
   ENTERPRISE RESPONSIVE LAYER — Tablet & Mobile Enhancements
   ═══════════════════════════════════════════════════════════════════════════
   Authored: Agency Team — All desktop rules above remain UNTOUCHED.
   These rules only activate at <=1199px viewports.

   BREAKPOINTS USED:
   • 1199px — Small desktop / Large tablet landscape  (iPad Pro landscape)
   • 1024px — Tablet landscape                        (iPad landscape)
   •  900px — Tablet portrait — between iPad Pro & iPad
   •  768px — Mobile landscape / Small tablet         (iPad portrait, foldable open)
   •  575px — Mobile (large phones)                   (iPhone Plus, Pixel XL)
   •  425px — Mobile (standard phones)                (iPhone 14/15, Galaxy S)
   •  360px — Mobile (small phones)                   (iPhone SE, small Androids)
   ============================================================================ */

/* -----------------------------------------------------------------
   GLOBAL SAFETY NET — prevent any horizontal overflow on touch devices
   ----------------------------------------------------------------- */
@media (max-width: 1199px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .realestate-custom-homepage,
    .realestate-custom-homepage .homepage-main {
        overflow-x: hidden;
        max-width: 100%;
    }

    .realestate-custom-homepage img,
    .realestate-custom-homepage video,
    .realestate-custom-homepage iframe {
        max-width: 100%;
        height: auto;
    }

    /* Ensure swiper containers can't burst out */
    .realestate-custom-homepage .swiper {
        max-width: 100%;
    }

    /* Smooth touch scroll */
    .realestate-custom-homepage * {
        -webkit-tap-highlight-color: transparent;
    }
}

/* =============================================================================
   ─── LARGE TABLET / SMALL DESKTOP  ≤ 1199px ─────────────────────────────────
   ============================================================================= */
@media (max-width: 1199px) {

    /* -- HERO -- */
    .realestate-custom-homepage .home-hero {
        padding: 180px 20px 72px;
        min-height: 720px;
        height: auto;
    }

    .realestate-custom-homepage .home-hero__panel {
        padding: 30px 36px 40px;
        width: min(100%, 880px);
    }

    .realestate-custom-homepage .home-hero__copy h1 {
        font-size: 32px;
    }

    /* -- SEARCH FILTER -- */
    .realestate-custom-homepage .custom-filter-form {
        gap: 12px;
    }

    .realestate-custom-homepage .custom-filter-form select,
    .realestate-custom-homepage .custom-filter-form input {
        min-width: 140px;
        flex: 1 1 calc(50% - 12px);
    }

    /* -- HELP CARDS -- */
    .realestate-custom-homepage .home-help__row--top,
    .realestate-custom-homepage .home-help__row--bottom {
        width: min(100%, 960px);
    }

    /* -- TOWER SLIDER -- */
    .realestate-custom-homepage .tower-title {
        font-size: 28px;
    }

    .realestate-custom-homepage .tower-content {
        padding: 1% 5% 0% 5%;
    }

    /* -- AREAS -- */
    .realestate-custom-homepage .home-areas {
        padding: 60px 16px 70px;
    }

    /* -- EXPERTISE -- */
    .realestate-custom-homepage .home-expertise {
        padding-top: 70px;
        padding-bottom: 60px;
    }

    /* -- LOCATIONS -- */
    .realestate-custom-homepage .locations-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* -- CONTACT -- */
    .realestate-custom-homepage .contact-container {
        width: 92%;
        gap: 30px;
    }

    .realestate-custom-homepage .contact-form-wrapper {
        padding: 36px 40px;
    }

    .realestate-custom-homepage .contact-headline:after {
        width: 100%;
        max-width: 420px;
    }
}

/* =============================================================================
   ─── TABLET LANDSCAPE  ≤ 1024px (iPad landscape, etc.) ──────────────────────
   ============================================================================= */
@media (max-width: 1024px) {

    /* -- HEADER spacing -- */
    .realestate-custom-homepage .site-header {
        margin: 4px 10px;
    }

    /* -- HERO -- */
    .realestate-custom-homepage .home-hero {
        padding: 150px 18px 60px;
        min-height: 680px;
    }

    .realestate-custom-homepage .home-hero__panel {
        padding: 28px 30px 36px;
        width: 100%;
        max-width: 820px;
    }

    .realestate-custom-homepage .home-hero__copy h1 {
        font-size: 28px;
        line-height: 1.15;
    }

    .realestate-custom-homepage .home-hero__copy p {
        font-size: 14px;
        line-height: 1.65;
    }

    /* Hero video — anchor full coverage */
    .realestate-custom-homepage video.hero-video {
        height: 100%;
        min-height: 720px;
    }

    /* -- SEARCH TABS -- */
    .realestate-custom-homepage .home-search__tabs {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 0;
    }

    .realestate-custom-homepage .home-search__tab {
        flex: 0 1 auto;
    }

    .realestate-custom-homepage .home-search__tab span {
        min-width: 95px;
        margin: 0;
        padding: 12px 14px;
        font-size: 10.5px;
    }

    .realestate-custom-homepage label.home-search__tab.inorytu span {
        padding: 12px 14px;
    }

    /* -- FILTER FORM -- */
    .realestate-custom-homepage .custom-filter-form {
        gap: 10px;
    }

    .realestate-custom-homepage .custom-filter-form select,
    .realestate-custom-homepage .custom-filter-form input {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
        margin-bottom: 0;
    }

    /* -- SEARCH BAR -- */
    .realestate-custom-homepage .home-search__bar {
        grid-template-columns: minmax(0, 1fr) 140px;
        gap: 12px;
    }

    /* -- HELP CARDS -- */
    .realestate-custom-homepage .home-help {
        padding: 64px 18px 70px;
    }

    .realestate-custom-homepage .home-help__inner {
        width: 95%;
    }

    .realestate-custom-homepage .home-help__header h2 {
        font-size: 30px;
    }

    .realestate-custom-homepage .home-help__row--top,
    .realestate-custom-homepage .home-help__row--bottom {
        width: min(100%, 880px);
        gap: 12px;
    }

    .realestate-custom-homepage .help-card {
        padding: 18px 14px 14px;
        min-height: 180px;
    }

    .realestate-custom-homepage .help-card h3 {
        font-size: 15px;
    }

    .realestate-custom-homepage .help-card p {
        font-size: 13px;
    }

    /* -- TOWER SLIDER -- */
    .realestate-custom-homepage .tower-title {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .realestate-custom-homepage .tower-location {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .realestate-custom-homepage .tower-description {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 22px;
    }

    .realestate-custom-homepage .tower-content {
        padding: 1% 5% 0% 5%;
    }

    .realestate-custom-homepage .home-tower__content {
        height: auto;
        min-height: 540px;
    }

    /* -- AREAS — switch to clean 2-up grid on tablet -- */
    .realestate-custom-homepage .home-areas {
        padding: 56px 16px 64px;
    }

    .realestate-custom-homepage .home-areas__header h2 {
        font-size: 28px;
    }

    .realestate-custom-homepage .home-areas__header p {
        font-size: 14px;
    }

    .realestate-custom-homepage .home-areas__row--top,
    .realestate-custom-homepage .home-areas__row--bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .realestate-custom-homepage .home-areas__rows {
        gap: 10px;
    }

    .realestate-custom-homepage .area-card--sm,
    .realestate-custom-homepage .area-card--md,
    .realestate-custom-homepage .area-card--lg,
    .realestate-custom-homepage .home-areas__row--bottom .area-card--sm,
    .realestate-custom-homepage .home-areas__row--bottom .area-card--md,
    .realestate-custom-homepage .home-areas__row--bottom .area-card--lg {
        aspect-ratio: 16 / 11;
    }

    .realestate-custom-homepage .kmrof {
        font-size: 13px;
        top: 14px;
        left: 14px;
    }

    /* -- EXPERTISE -- */
    .realestate-custom-homepage .home-expertise {
        padding-top: 56px;
        padding-bottom: 50px;
    }

    .realestate-custom-homepage .home-expertise__frame {
        width: 92%;
    }

    .realestate-custom-homepage .home-expertise__content {
        padding: 40px 0;
        justify-content: center;
    }

    .realestate-custom-homepage .home-expertise__cards {
        width: min(100%, 520px);
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .realestate-custom-homepage .home-expertise__cards .mt-4 {
        grid-column: 1 / -1;
    }

    .realestate-custom-homepage .expertise-card {
        padding: 16px 18px;
    }

    .realestate-custom-homepage .expertise-card h3 {
        font-size: 15px;
    }

    .realestate-custom-homepage .expertise-card p {
        font-size: 13px;
    }

    /* -- FEATURED -- */
    .realestate-custom-homepage .home-featured {
        padding: 56px 16px 64px;
    }

    .realestate-custom-homepage .home-featured__header h2 {
        font-size: 28px;
    }

    .realestate-custom-homepage .home-featured__header p {
        font-size: 14px;
    }

    .realestate-custom-homepage .home-featured__content {
        grid-template-columns: 28px minmax(0, 1fr) 28px;
        gap: 12px;
    }

    .realestate-custom-homepage .featured-card__body h3 {
        font-size: 14px;
        height: auto;
        min-height: 36px;
    }

    .realestate-custom-homepage .featured-card__location {
        font-size: 13px;
    }

    /* -- LOCATIONS -- */
    .realestate-custom-homepage .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* -- CONTACT -- */
    .realestate-custom-homepage .contact-container {
        width: 94%;
        gap: 24px;
    }

    .realestate-custom-homepage .contact-form-wrapper {
        padding: 32px 30px;
    }

    .realestate-custom-homepage p.form-intro-text {
        font-size: 16px;
    }

    .realestate-custom-homepage .contact-headline {
        font-size: 24px;
    }

    /* H2 underline pseudo-elements — keep them looking good */
    .realestate-custom-homepage .home-help__header h2:after,
    .realestate-custom-homepage .home-featured__header h2:after,
    .realestate-custom-homepage .home-areas__header h2:after {
        width: min(90%, 290px);
    }

    .realestate-custom-homepage .home-clients__header h2:after {
        width: min(90%, 220px);
    }
}

/* =============================================================================
   ─── TABLET PORTRAIT  ≤ 900px ───────────────────────────────────────────────
   ============================================================================= */
@media (max-width: 900px) {

    /* -- HERO -- */
    .realestate-custom-homepage .home-hero {
        padding: 130px 16px 56px;
        min-height: 640px;
    }

    .realestate-custom-homepage .home-hero__panel {
        padding: 26px 26px 32px;
    }

    .realestate-custom-homepage .home-hero__copy h1 {
        font-size: 26px;
        letter-spacing: 0.03em;
    }

    /* -- TOWER SLIDER becomes stacked (was 980px in original — reinforce) -- */
    .realestate-custom-homepage .home-tower__visual {
        height: 380px;
    }

    .realestate-custom-homepage .home-tower__content-inner {
        padding: 40px 22px 44px;
    }

    /* -- FEATURED carousel — show 2 slides clearly on tablet -- */
    .realestate-custom-homepage .home-featured-swiper .swiper-slide {
        height: auto;
    }

    /* -- LOCATIONS becomes 2-col -- */
    .realestate-custom-homepage .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* -- SECTION HEADERS scaling -- */
    .realestate-custom-homepage .home-areas__header h2,
    .realestate-custom-homepage .home-featured__header h2,
    .realestate-custom-homepage .home-help__header h2 {
        font-size: 26px;
    }
}

/* =============================================================================
   ─── MOBILE LARGE / SMALL TABLET  ≤ 768px ───────────────────────────────────
   ============================================================================= */
@media (max-width: 768px) {

    /* -- HEADER -- */
    .realestate-custom-homepage .site-header {
        margin: 8px 8px;
    }

    .realestate-custom-homepage .header-inner {
        padding: 0 12px;
    }

    /* -- HERO -- */
    .realestate-custom-homepage .home-hero {
        padding: 110px 14px 50px;
        min-height: 600px;
        height: auto;
    }

    .realestate-custom-homepage .home-hero__panel {
        padding: 22px 20px 28px;
        width: 100%;
    }

    .realestate-custom-homepage .home-hero__copy h1 {
        font-size: 22px;
        line-height: 1.18;
        padding: 12px 0;
        letter-spacing: 0.025em;
    }

    .realestate-custom-homepage .home-hero__copy p {
        font-size: 13px;
        line-height: 1.6;
        padding: 12px 0 0;
    }

    /* Hero video — height should follow content (no fixed 120vh) */
    .realestate-custom-homepage video.hero-video {
        height: 100%;
        min-height: 100%;
        width: 100%;
    }

    /* -- SEARCH TABS — horizontal scroll if needed -- */
    .realestate-custom-homepage .home-search__tabs {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0;
        margin: 0 0 12px;
    }

    .realestate-custom-homepage .home-search__tab {
        flex: 1 1 calc(50% - 8px);
        margin-right: 0;
    }

    .realestate-custom-homepage .home-search__tab span {
        width: 100%;
        min-width: 0;
        padding: 11px 10px;
        font-size: 10px;
        letter-spacing: 0.1em;
        justify-content: center;
    }

    .realestate-custom-homepage label.home-search__tab.inorytu {
        flex: 1 1 100%;
    }

    .realestate-custom-homepage label.home-search__tab.inorytu span {
        padding: 11px 14px;
    }

    /* -- FILTER FORM — 2x2 grid -- */
    .realestate-custom-homepage .custom-filter-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .realestate-custom-homepage .custom-filter-form select,
    .realestate-custom-homepage .custom-filter-form input {
        flex: unset;
        width: 100%;
        min-width: 0;
        padding: 11px 12px;
        margin: 0;
        font-size: 13px;
    }

    .realestate-custom-homepage .custom-filter-form.active {
        max-height: 600px;
    }

    /* -- SEARCH BAR — stack -- */
    .realestate-custom-homepage .home-search__bar {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .realestate-custom-homepage .home-search__field {
        min-height: 46px;
        padding: 0 6px;
    }

    .realestate-custom-homepage .home-search__field input {
        font-size: 13px;
        padding-left: 12px;
    }

    .realestate-custom-homepage .home-search__icon {
        width: 32px;
        height: 32px;
        padding: 7px;
    }

    .realestate-custom-homepage .home-search__icon svg {
        width: 16px;
        height: 16px;
    }

    .realestate-custom-homepage .home-search__submit {
        min-height: 46px;
        padding: 12px 22px;
        font-size: 11px;
        width: 100%;
    }

    /* -- HELP SECTION -- */
    .realestate-custom-homepage .home-help {
        padding: 50px 14px 60px;
    }

    .realestate-custom-homepage .home-help__inner {
        width: 100%;
    }

    .realestate-custom-homepage .home-help__header h2 {
        font-size: 24px;
    }

    .realestate-custom-homepage .home-help__header p {
        font-size: 14px;
        max-width: 380px;
    }

    /* The .modshow swiper takes over for mobile (already in original)*/
    .realestate-custom-homepage .help-slider {
        padding-bottom: 50px;
    }

    .realestate-custom-homepage .help-slider .help-card {
        min-height: 200px;
        padding: 22px 18px;
    }

    .realestate-custom-homepage .help-slider .help-card h3 {
        font-size: 16px;
    }

    .realestate-custom-homepage .help-slider .help-card p {
        font-size: 13px;
        max-width: 100%;
    }

    .realestate-custom-homepage .help-slider .help-card__icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
    }

    .realestate-custom-homepage .help-slider .help-card__icon img {
        width: 36px;
        height: auto;
    }

    /* -- TOWER SLIDER -- */
    .realestate-custom-homepage .leftswiper-box {
        width: 100%;
    }

    .realestate-custom-homepage .leftswiper-box img {
        width: 100%;
        height: 280px;
        object-fit: cover;
    }

    .realestate-custom-homepage .tower-content {
        width: 100%;
        padding: 28px 22px 32px;
        height: auto;
    }

    .realestate-custom-homepage .custom-slide-wrapper {
        flex-direction: column;
        height: auto;
    }

    .realestate-custom-homepage .tower-title {
        font-size: 22px;
        margin-bottom: 14px;
        letter-spacing: 1.2px;
    }

    .realestate-custom-homepage .tower-location {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .realestate-custom-homepage .tower-location-icon svg {
        width: 22px;
        height: 28px;
    }

    .realestate-custom-homepage .tower-description {
        font-size: 13.5px;
        line-height: 1.65;
        margin-bottom: 18px;
    }

    .realestate-custom-homepage .tower-btn {
        padding: 11px 20px;
        font-size: 13px;
    }

    .realestate-custom-homepage .custom-slider {
        height: auto;
    }

    /* Tower nav buttons (prev/next) — make them more usable */
    .realestate-custom-homepage .prev-btn {
        width: 100px;
        right: 16px;
        bottom: 16px;
    }

    .realestate-custom-homepage .page-dots .custom-pagination {
        position: relative !important;
        bottom: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100%;
        text-align: center;
        padding: 16px 0;
    }

    /* -- AREAS GRID -- */
    .realestate-custom-homepage .home-areas {
        padding: 42px 12px 52px;
    }

    .realestate-custom-homepage .home-areas__header {
        margin-bottom: 30px;
    }

    .realestate-custom-homepage .home-areas__header h2 {
        font-size: 22px;
    }

    .realestate-custom-homepage .home-areas__header p {
        font-size: 13px;
        padding: 0 6px;
    }

    .realestate-custom-homepage .home-areas__row--top,
    .realestate-custom-homepage .home-areas__row--bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .realestate-custom-homepage .home-areas__rows {
        gap: 8px;
    }

    .realestate-custom-homepage .area-card--sm,
    .realestate-custom-homepage .area-card--md,
    .realestate-custom-homepage .area-card--lg,
    .realestate-custom-homepage .home-areas__row--bottom .area-card--sm,
    .realestate-custom-homepage .home-areas__row--bottom .area-card--md,
    .realestate-custom-homepage .home-areas__row--bottom .area-card--lg {
        aspect-ratio: 4 / 3;
    }

    .realestate-custom-homepage .kmrof {
        font-size: 12px;
        padding: 5px 12px;
        top: 10px;
        left: 10px;
    }

    /* -- EXPERTISE -- */
    .realestate-custom-homepage .home-expertise {
        padding-top: 48px;
        padding-bottom: 44px;
    }

    .realestate-custom-homepage .home-expertise__frame {
        width: 94%;
        min-height: 0;
    }

    .realestate-custom-homepage .home-expertise__content {
        padding: 24px 0;
        align-items: center;
        justify-content: center;
        min-height: 0;
    }

    .realestate-custom-homepage .home-expertise__cards {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 480px;
    }

    .realestate-custom-homepage .expertise-card {
        padding: 16px 18px;
    }

    .realestate-custom-homepage .expertise-card h3 {
        font-size: 15px;
    }

    .realestate-custom-homepage .expertise-card p {
        font-size: 13px;
    }

    .realestate-custom-homepage .home-expertise__cards .form-button {
        padding: 12px 38px;
        font-size: 14px;
    }

    /* -- FEATURED -- */
    .realestate-custom-homepage .home-featured {
        padding: 44px 14px 56px;
    }

    .realestate-custom-homepage .home-featured__header h2 {
        font-size: 22px;
    }

    .realestate-custom-homepage .home-featured__header p {
        font-size: 13px;
    }

    .realestate-custom-homepage .home-featured__content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .realestate-custom-homepage .home-featured__arrow {
        display: none;
    }

    .realestate-custom-homepage .home-featured-swiper {
        padding-bottom: 36px;
    }

    .realestate-custom-homepage .featured-card {
        padding: 12px;
    }

    .realestate-custom-homepage .featured-card__body h3 {
        font-size: 14px;
        height: auto;
        min-height: 0;
    }

    .realestate-custom-homepage .featured-card__location {
        font-size: 13px;
    }

    .realestate-custom-homepage .featured-card__meta {
        font-size: 12px;
        gap: 8px;
    }

    .realestate-custom-homepage .featured-card__meta span {
        font-size: 11px;
        padding: 4px 8px;
    }

    .realestate-custom-homepage .featured-card__price {
        font-size: 14px;
    }

    .realestate-custom-homepage .home-featured__view-all {
        width: 130px;
        height: 32px;
        font-size: 12px;
    }

    .realestate-custom-homepage .eyrfhvb {
        width: 92%;
    }

    .realestate-custom-homepage .eyrfhvb ul li a h3 {
        font-size: 12px;
        padding: 4px 10px;
    }

    /* -- CONTACT FORM SECTION -- */
    .realestate-custom-homepage section.contact-hero-section {
        background-position: center center;
    }

    .realestate-custom-homepage .contact-container {
        flex-direction: column;
        width: 92%;
        display: flex;
        gap: 20px;
    }

    .realestate-custom-homepage .contact-headline {
        font-size: 22px;
        text-align: center;
    }

    .realestate-custom-homepage .contact-headline:after {
        width: min(85%, 320px);
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .realestate-custom-homepage p.form-intro-text {
        font-size: 14px;
        max-width: 100%;
    }

    .realestate-custom-homepage .contact-form-wrapper {
        padding: 28px 22px;
        margin: 30px 0 16px;
    }

    .realestate-custom-homepage .contact-left-section {
        margin-top: 0;
        padding-top: 20px;
    }

    .realestate-custom-homepage .form-row {
        flex-direction: column;
        gap: 12px;
    }

    .realestate-custom-homepage .form-group-half {
        width: 100%;
    }

    .realestate-custom-homepage .contact-form input,
    .realestate-custom-homepage .contact-form select,
    .realestate-custom-homepage .contact-form textarea {
        padding: 12px;
        font-size: 14px;
        -webkit-appearance: none;
    }

    .realestate-custom-homepage .form-button {
        width: 100%;
        padding: 13px;
        font-size: 14px;
    }

    .realestate-custom-homepage div#contact-map {
        height: 280px !important;
    }

    .realestate-custom-homepage .contact-map-section #contact-map {
        height: 240px !important;
    }

    /* -- LOCATIONS -- */
    .realestate-custom-homepage .locations-section {
        padding: 32px 12px 36px;
    }

    .realestate-custom-homepage .locations-grid {
        grid-template-columns: 1fr;
    }

    .realestate-custom-homepage .locationSwiper {
        padding-bottom: 36px;
    }

    .realestate-custom-homepage .location-content {
        padding: 24px 18px;
    }

    .realestate-custom-homepage .location-content h4 {
        font-size: 15px;
    }

    .realestate-custom-homepage .location-details li {
        font-size: 12px;
    }

    .realestate-custom-homepage .location-details svg {
        min-width: 14px;
        width: 14px;
        height: 14px;
    }

    /* -- HEADINGS' DECORATIVE UNDERLINE -- */
    .realestate-custom-homepage .home-help__header h2:after,
    .realestate-custom-homepage .home-featured__header h2:after,
    .realestate-custom-homepage .home-areas__header h2:after {
        width: min(80%, 240px);
        top: 42px;
    }

    .realestate-custom-homepage .home-clients__header h2:after {
        width: min(80%, 180px);
        top: 42px;
    }

    /* -- TOUCH-FRIENDLY BUTTONS -- */
    .realestate-custom-homepage .home-tower__button,
    .realestate-custom-homepage .tower-btn,
    .realestate-custom-homepage .featured-card__button,
    .realestate-custom-homepage .form-button,
    .realestate-custom-homepage .home-search__submit {
        min-height: 44px;
    }

    /* -- SWIPER PAGINATION DOTS — easier to tap -- */
    .realestate-custom-homepage .swiper-pagination-bullet {
        width: 14px;
        height: 14px;
        margin: 0 4px !important;
    }

    .realestate-custom-homepage .swiper-pagination-bullet-active {
        width: 14px;
        height: 14px;
    }
}

/* =============================================================================
   ─── MOBILE  ≤ 575px (large phones) ─────────────────────────────────────────
   ============================================================================= */
@media (max-width: 575px) {

    /* -- HERO -- */
    .realestate-custom-homepage .home-hero {
        padding: 100px 12px 44px;
        min-height: 560px;
        height: 100vh;
    }

    .realestate-custom-homepage .home-hero__panel {
        padding: 20px 16px 24px;
    }

    .realestate-custom-homepage .home-hero__copy h1 {
        font-size: 20px;
        padding: 10px 0;
    }

    .realestate-custom-homepage .home-hero__copy p {
        font-size: 12.5px;
    }

    /* -- SEARCH TABS — 2-up grid with View More full-width -- */
    .realestate-custom-homepage .home-search__tabs {
        gap: 10px;
    }

    .realestate-custom-homepage .home-search__tab {
        flex: 1 1 calc(50% - 6px);
    }

    .realestate-custom-homepage .home-search__tab span {
        padding: 1rem 0.5rem;
        font-size: 9.5px;
        letter-spacing: 0.08em;
    }

    .realestate-custom-homepage label.home-search__tab.inorytu span {
        padding: 11px 12px;
    }

    /* -- FILTER FORM -- */
    .realestate-custom-homepage .custom-filter-form {
        gap: 8px;
    }

    .realestate-custom-homepage .custom-filter-form select,
    .realestate-custom-homepage .custom-filter-form input {
        padding: 10px;
        font-size: 12.5px;
    }

    /* -- HELP CARDS in slider -- */
    .realestate-custom-homepage .help-slider .help-card {
        min-height: 180px;
        padding: 20px 16px;
    }

    .realestate-custom-homepage .help-slider .help-card h3 {
        font-size: 15px;
    }

    /* -- TOWER -- */
    .realestate-custom-homepage .leftswiper-box img {
        height: 220px;
    }

    .realestate-custom-homepage .tower-content {
        padding: 22px 16px 26px;
    }

    .realestate-custom-homepage .tower-title {
        font-size: 19px;
        margin-bottom: 12px;
    }

    .realestate-custom-homepage .tower-location {
        font-size: 13px;
    }

    .realestate-custom-homepage .tower-description {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    /* -- AREAS — keep 2-col but tighter -- */
    .realestate-custom-homepage .home-areas {
        padding: 36px 10px 44px;
    }

    .realestate-custom-homepage .home-areas__header h2 {
        font-size: 19px;
    }

    .realestate-custom-homepage .home-areas__header p {
        font-size: 12.5px;
    }

    .realestate-custom-homepage .area-card--sm,
    .realestate-custom-homepage .area-card--md,
    .realestate-custom-homepage .area-card--lg,
    .realestate-custom-homepage .home-areas__row--bottom .area-card--sm,
    .realestate-custom-homepage .home-areas__row--bottom .area-card--md,
    .realestate-custom-homepage .home-areas__row--bottom .area-card--lg {
        aspect-ratio: 1 / 1;
    }

    .realestate-custom-homepage .kmrof {
        font-size: 11px;
        padding: 4px 10px;
        top: 8px;
        left: 8px;
    }

    /* -- EXPERTISE -- */
    .realestate-custom-homepage .home-expertise {
        padding-top: 38px;
        padding-bottom: 36px;
    }

    .realestate-custom-homepage .home-expertise__frame {
        width: 92%;
    }

    .realestate-custom-homepage .expertise-card {
        padding: 14px 16px;
    }

    .realestate-custom-homepage .expertise-card h3 {
        font-size: 14px;
    }

    .realestate-custom-homepage .expertise-card p {
        font-size: 12.5px;
    }

    /* -- FEATURED -- */
    .realestate-custom-homepage .home-featured {
        padding: 36px 12px 44px;
    }

    .realestate-custom-homepage .home-featured__header h2 {
        font-size: 20px;
    }

    .realestate-custom-homepage .home-featured__header p {
        font-size: 12.5px;
    }

    .realestate-custom-homepage .featured-card__body h3 {
        font-size: 13.5px;
    }

    .realestate-custom-homepage .featured-card__location {
        font-size: 12px;
    }

    .realestate-custom-homepage .featured-card__meta span {
        font-size: 10.5px;
        padding: 4px 7px;
    }

    .realestate-custom-homepage .featured-card__meta span svg {
        width: 14px;
    }

    .realestate-custom-homepage .featured-card__price {
        font-size: 13.5px;
    }

    .realestate-custom-homepage .home-featured__view-all {
        width: 116px;
        height: 30px;
        font-size: 11px;
    }

    .realestate-custom-homepage .home-featured__view-all svg {
        width: 16px;
        height: 16px;
    }

    /* -- CONTACT -- */
    .realestate-custom-homepage .contact-form-wrapper {
        padding: 22px 16px;
    }

    .realestate-custom-homepage .contact-headline {
        font-size: 19px;
    }

    .realestate-custom-homepage p.form-intro-text {
        font-size: 13.5px;
        padding: 0 8px;
    }

    .realestate-custom-homepage .form-group-full label,
    .realestate-custom-homepage .form-group-half label,
    .realestate-custom-homepage .contact-form label {
        font-size: 13.5px !important;
    }

    .realestate-custom-homepage .contact-form input,
    .realestate-custom-homepage .contact-form select,
    .realestate-custom-homepage .contact-form textarea {
        padding: 11px;
        font-size: 13.5px;
    }

    /* -- LOCATIONS -- */
    .realestate-custom-homepage .locations-section {
        padding: 28px 10px 32px;
    }

    .realestate-custom-homepage .location-content {
        padding: 22px 16px;
    }

    /* -- TOWER NAV -- */
    .realestate-custom-homepage .prev-btn {
        width: 90px;
        right: 10px;
        bottom: 10px;
    }

    .realestate-custom-homepage .prev-btn .swiper-button-prev,
    .realestate-custom-homepage .prev-btn .swiper-button-next {
        width: 32px;
        height: 32px;
    }
}

/* =============================================================================
   ─── MOBILE  ≤ 425px (standard phones) ──────────────────────────────────────
   ============================================================================= */
@media (max-width: 425px) {

    .realestate-custom-homepage .home-hero {
        padding: 90px 10px 40px;
        min-height: 520px;
    }

    .realestate-custom-homepage .home-hero__panel {
        padding: 18px 14px 22px;
    }

    .realestate-custom-homepage .home-hero__copy h1 {
        font-size: 18px;
        letter-spacing: 0.02em;
        padding: 8px 0;
    }

    .realestate-custom-homepage .home-hero__copy p {
        font-size: 12px;
        padding: 10px 0 0;
    }

    /* Tabs go 2x2 cleanly */
    .realestate-custom-homepage .home-search__tab span {
        padding: 9px 4px;
        font-size: 9px;
        letter-spacing: 0.06em;
    }

    .realestate-custom-homepage label.home-search__tab.inorytu span {
        padding: 10px 10px;
        font-size: 9px;
    }

    .realestate-custom-homepage label.home-search__tab.inorytu span svg {
        width: 14px;
        margin-left: 4px;
    }

    /* Filter selects stack to 1 column for very small */
    .realestate-custom-homepage .custom-filter-form {
        grid-template-columns: 1fr;
    }

    /* Hero search field icons */
    .realestate-custom-homepage .home-search__field {
        grid-template-columns: 32px minmax(0, 1fr) 32px;
        gap: 6px;
    }

    .realestate-custom-homepage .home-search__field input {
        font-size: 12px;
        padding-left: 6px;
    }

    /* Section headings */
    .realestate-custom-homepage .home-help__header h2,
    .realestate-custom-homepage .home-areas__header h2,
    .realestate-custom-homepage .home-featured__header h2 {
        font-size: 18px;
        letter-spacing: 0.025em;
    }

    .realestate-custom-homepage .home-help__header h2:after,
    .realestate-custom-homepage .home-featured__header h2:after,
    .realestate-custom-homepage .home-areas__header h2:after,
    .realestate-custom-homepage .home-clients__header h2:after {
        width: min(75%, 180px);
        top: 36px;
    }

    /* Help cards in slider */
    .realestate-custom-homepage .help-slider .help-card {
        padding: 18px 14px;
        min-height: 170px;
    }

    .realestate-custom-homepage .help-slider .help-card h3 {
        font-size: 14px;
    }

    .realestate-custom-homepage .help-slider .help-card p {
        font-size: 12.5px;
    }

    /* Tower */
    .realestate-custom-homepage .leftswiper-box img {
        height: 200px;
    }

    .realestate-custom-homepage .tower-title {
        font-size: 17px;
    }

    /* Areas — keep 2-col but smaller text */
    .realestate-custom-homepage .kmrof {
        font-size: 10.5px;
        padding: 3px 8px;
    }

    /* Featured */
    .realestate-custom-homepage .featured-card {
        padding: 10px;
    }

    .realestate-custom-homepage .featured-card__body h3 {
        font-size: 13px;
    }

    .realestate-custom-homepage .featured-card__location {
        font-size: 11.5px;
    }

    .realestate-custom-homepage .eyrfhvb ul {
        padding: 8px;
    }

    .realestate-custom-homepage .eyrfhvb ul li a h3 {
        font-size: 11px;
        padding: 3px 8px;
    }

    /* Contact form */
    .realestate-custom-homepage .contact-form-wrapper {
        padding: 20px 14px;
    }

    .realestate-custom-homepage .contact-headline {
        font-size: 17px;
    }

    .realestate-custom-homepage div#contact-map {
        height: 220px !important;
    }

    /* Expertise */
    .realestate-custom-homepage .expertise-card {
        padding: 13px 14px;
    }

    .realestate-custom-homepage .expertise-card h3 {
        font-size: 13.5px;
    }

    .realestate-custom-homepage .expertise-card p {
        font-size: 12px;
    }

    /* Locations */
    .realestate-custom-homepage .location-content h4 {
        font-size: 14px;
    }

    .realestate-custom-homepage .location-details li {
        font-size: 11.5px;
    }
}

/* =============================================================================
   ─── SMALL MOBILE  ≤ 360px (iPhone SE, Galaxy Fold closed, etc.) ────────────
   ============================================================================= */
@media (max-width: 360px) {

    .realestate-custom-homepage .home-hero {
        padding: 84px 8px 36px;
        min-height: 480px;
    }

    .realestate-custom-homepage .home-hero__panel {
        padding: 16px 12px 20px;
    }

    .realestate-custom-homepage .home-hero__copy h1 {
        font-size: 16px;
        line-height: 1.2;
    }

    .realestate-custom-homepage .home-hero__copy p {
        font-size: 11.5px;
    }

    /* Search tabs — single column for ultra-narrow */
    .realestate-custom-homepage .home-search__tabs {
        flex-direction: column;
        gap: 6px;
    }

    .realestate-custom-homepage .home-search__tab {
        flex: 1 1 100%;
        width: 100%;
    }

    /* Section headings */
    .realestate-custom-homepage .home-help__header h2,
    .realestate-custom-homepage .home-areas__header h2,
    .realestate-custom-homepage .home-featured__header h2 {
        font-size: 17px;
    }

    /* Areas */
    .realestate-custom-homepage .kmrof {
        font-size: 10px;
        padding: 3px 7px;
        top: 6px;
        left: 6px;
    }

    /* Tower */
    .realestate-custom-homepage .leftswiper-box img {
        height: 180px;
    }

    /* Contact map smaller for tiny screens */
    .realestate-custom-homepage div#contact-map {
        height: 200px !important;
    }
}

/* =============================================================================
   ─── ORIENTATION & ACCESSIBILITY ENHANCEMENTS ───────────────────────────────
   ============================================================================= */

/* Mobile landscape orientation — special-case for shorter heights */
@media (max-width: 900px) and (orientation: landscape) {
    .realestate-custom-homepage .home-hero {
        min-height: 540px;
        padding-top: 100px;
    }

    .realestate-custom-homepage video.hero-video {
        height: 100%;
        min-height: 540px;
    }
}

/* iOS safari address-bar correction */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .realestate-custom-homepage .home-hero {
            min-height: -webkit-fill-available;
            min-height: 100svh;
        }
    }
}

/* Hover effects only on devices that actually support hover */
@media (hover: none) and (pointer: coarse) {
    .realestate-custom-homepage .help-card:hover,
    .realestate-custom-homepage .location-card:hover,
    .realestate-custom-homepage .hoverArea:hover img,
    .realestate-custom-homepage .home-featured__arrow:hover {
        transform: none;
    }

    .realestate-custom-homepage .home-featured__arrow:hover {
        background: #fff;
        color: #10233f;
    }
}

/* Focus visible for touch & keyboard users */
@media (max-width: 1199px) {
    .realestate-custom-homepage button:focus-visible,
    .realestate-custom-homepage a:focus-visible,
    .realestate-custom-homepage input:focus-visible,
    .realestate-custom-homepage select:focus-visible,
    .realestate-custom-homepage textarea:focus-visible {
        outline: 2px solid rgba(11, 34, 70, 0.65);
        outline-offset: 2px;
    }
}

/* iOS form input zoom prevention (font-size >= 16px on inputs) */
@media (max-width: 768px) {
    .realestate-custom-homepage input[type="text"],
    .realestate-custom-homepage input[type="email"],
    .realestate-custom-homepage input[type="number"],
    .realestate-custom-homepage input[type="search"],
    .realestate-custom-homepage input[type="tel"],
    .realestate-custom-homepage textarea,
    .realestate-custom-homepage select {
        font-size: 16px !important;
    }
}

/* =============================================================================
   END RESPONSIVE LAYER
   ============================================================================= */


/* ============================================================================
   ═══════════════════════════════════════════════════════════════════════════
   LUXURY ENHANCEMENT LAYER v2 — Mobile/Tablet Premium Polish
   ═══════════════════════════════════════════════════════════════════════════
   Reviewed against rendered PDF. Adds:
   • Areas → swipeable carousel below 900px
   • Hero glass panel — more opaque on mobile for legibility over video
   • Scroll-reveal animation classes (consumed by homepage-enhancements.js)
   • Cinematic timing on all transitions for premium feel
   • Newsletter footer recovery (in case it's reachable from this stylesheet)
   • Tower title kerning + featured/expertise card refinements
   ============================================================================ */

/* -----------------------------------------------------------------
   ANIMATION TOKENS — used by .reveal-* classes and JS
   ----------------------------------------------------------------- */
.realestate-custom-homepage {
    --lux-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --lux-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --lux-dur-slow: 1.1s;
    --lux-dur-base: 0.8s;
    --lux-dur-fast: 0.5s;
}

/* -----------------------------------------------------------------
   SCROLL REVEAL CLASSES — JS toggles .is-visible to play
   ----------------------------------------------------------------- */
.realestate-custom-homepage .reveal-up,
.realestate-custom-homepage .reveal-fade,
.realestate-custom-homepage .reveal-scale,
.realestate-custom-homepage .reveal-stagger > * {
    opacity: 0;
    transition: opacity var(--lux-dur-base) var(--lux-ease-out),
    transform var(--lux-dur-base) var(--lux-ease-out);
    will-change: opacity, transform;
}

.realestate-custom-homepage .reveal-up {
    transform: translateY(28px);
}

.realestate-custom-homepage .reveal-scale {
    transform: scale(0.96);
}

.realestate-custom-homepage .reveal-stagger > * {
    transform: translateY(22px);
}

.realestate-custom-homepage .reveal-up.is-visible,
.realestate-custom-homepage .reveal-fade.is-visible,
.realestate-custom-homepage .reveal-scale.is-visible,
.realestate-custom-homepage .reveal-stagger > .is-visible {
    opacity: 1;
    transform: none;
}

/* Staggered children — each gets a delay step via inline style or nth-child */
.realestate-custom-homepage .reveal-stagger > *:nth-child(1) {
    transition-delay: 0.05s;
}

.realestate-custom-homepage .reveal-stagger > *:nth-child(2) {
    transition-delay: 0.15s;
}

.realestate-custom-homepage .reveal-stagger > *:nth-child(3) {
    transition-delay: 0.25s;
}

.realestate-custom-homepage .reveal-stagger > *:nth-child(4) {
    transition-delay: 0.35s;
}

.realestate-custom-homepage .reveal-stagger > *:nth-child(5) {
    transition-delay: 0.45s;
}

.realestate-custom-homepage .reveal-stagger > *:nth-child(6) {
    transition-delay: 0.55s;
}

.realestate-custom-homepage .reveal-stagger > *:nth-child(7) {
    transition-delay: 0.65s;
}

.realestate-custom-homepage .reveal-stagger > *:nth-child(8) {
    transition-delay: 0.75s;
}

/* Honor reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .realestate-custom-homepage .reveal-up,
    .realestate-custom-homepage .reveal-fade,
    .realestate-custom-homepage .reveal-scale,
    .realestate-custom-homepage .reveal-stagger > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =============================================================================
   ─── HERO PANEL — MORE OPAQUE GLASS ON MOBILE FOR LEGIBILITY ────────────────
   ============================================================================= */
@media (max-width: 900px) {
    /* Stronger glass for the hero panel so the video doesn't bleed through text */
    .realestate-custom-homepage .home-hero__panel {
        background: linear-gradient(180deg, rgba(244, 244, 243, 0.78) 0%, rgba(244, 244, 243, 0.88) 100%),
        var(--home-panel-bg);
        backdrop-filter: blur(18px) saturate(120%);
        -webkit-backdrop-filter: blur(18px) saturate(120%);
        border: 1px solid rgba(255, 255, 255, 0.42);
        box-shadow: 0 30px 80px rgba(7, 22, 41, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    /* Subtle darker veil on the hero so the panel pops */
    .realestate-custom-homepage .home-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,
        rgba(6, 18, 34, 0.20) 0%,
        rgba(6, 18, 34, 0.34) 60%,
        rgba(6, 18, 34, 0.48) 100%);
        pointer-events: none;
        z-index: 0;
    }

    /* Refined heading kerning — premium typography feel */
    .realestate-custom-homepage .home-hero__copy h1 {
        letter-spacing: 0.018em;
        color: #0b1f3a;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    .realestate-custom-homepage .home-hero__copy p {
        color: rgba(11, 31, 58, 0.88);
    }

    /* Search panel glassmorphism upgrade */
    .realestate-custom-homepage .home-search__field {
        background: rgba(255, 255, 255, 0.78);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-color: rgba(11, 34, 70, 0.10);
        box-shadow: 0 8px 24px rgba(7, 22, 41, 0.06);
    }

    /* Search submit — luxurious button feel */
    .realestate-custom-homepage .home-search__submit {
        /*background: linear-gradient(180deg, #102a52 0%, #0b2246 100%);*/
        background: var(--home-accent);
        box-shadow: 0 10px 24px rgba(11, 34, 70, 0.28);
        transition: background var(--lux-dur-fast) var(--lux-ease),
        transform var(--lux-dur-fast) var(--lux-ease),
        box-shadow var(--lux-dur-fast) var(--lux-ease);
    }

    .realestate-custom-homepage .home-search__submit:hover,
    .realestate-custom-homepage .home-search__submit:active {
        background: linear-gradient(180deg, #14366b 0%, #0d2853 100%);
        box-shadow: 0 14px 30px rgba(11, 34, 70, 0.36);
    }
}

/* =============================================================================
   ─── HELP SLIDER — PEEK AFFORDANCE (show edges of next/prev) ────────────────
   ============================================================================= */
@media (max-width: 768px) {
    .realestate-custom-homepage .home-help .swiper.help-slider {
        overflow: visible;
        padding: 0 0 56px;
    }

    .realestate-custom-homepage .home-help .help-slider .swiper-wrapper {
        align-items: stretch;
    }

    .realestate-custom-homepage .home-help .help-slider .swiper-slide {
        height: auto;
        transition: opacity 0.4s var(--lux-ease), transform 0.4s var(--lux-ease);
        opacity: 0.45;
        transform: scale(0.94);
    }

    .realestate-custom-homepage .home-help .help-slider .swiper-slide-active {
        opacity: 1;
        transform: scale(1);
    }

    .realestate-custom-homepage .home-help .help-slider .help-card {
        box-shadow: 0 18px 40px rgba(10, 24, 44, 0.10);
        border-color: rgba(11, 34, 70, 0.06);
    }

    /* Pagination — taller, refined */
    .realestate-custom-homepage .home-help .help-slider .swiper-pagination {
        bottom: 0;
    }
}

/* =============================================================================
   ─── AREAS SECTION → SWIPEABLE CAROUSEL BELOW 900px ─────────────────────────
   ─── (JS converts the markup into Swiper structure; this styles it) ─────────
   ============================================================================= */
@media (max-width: 900px) {

    /* Hide the desktop grid rows once JS has hidden them via .is-mobile-carousel */
    .realestate-custom-homepage .home-areas.is-mobile-carousel .home-areas__rows {
        display: none;
    }

    /* Swiper-based areas carousel */
    .realestate-custom-homepage .home-areas-swiper {
        overflow: visible;
        margin: 0 -16px;
        padding: 8px 16px 56px;
        position: relative;
    }

    .realestate-custom-homepage .home-areas-swiper .swiper-wrapper {
        align-items: stretch;
    }

    .realestate-custom-homepage .home-areas-swiper .swiper-slide {
        height: auto;
        transition: transform 0.45s var(--lux-ease), opacity 0.45s var(--lux-ease);
    }

    .realestate-custom-homepage .home-areas-swiper .area-card {
        aspect-ratio: 4 / 5;
        overflow: hidden;
        position: relative;
        background: #eef2f7;
        box-shadow: 0 14px 30px rgba(10, 24, 44, 0.10);
        transition: transform 0.45s var(--lux-ease), box-shadow 0.45s var(--lux-ease);
    }

    .realestate-custom-homepage .home-areas-swiper .area-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(11, 34, 70, 0) 40%, rgba(11, 34, 70, 0.45) 100%);
        pointer-events: none;
    }

    .realestate-custom-homepage .home-areas-swiper .area-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1.4s var(--lux-ease);
    }

    .realestate-custom-homepage .home-areas-swiper .swiper-slide-active .area-card img {
        transform: scale(1.05);
    }

    .realestate-custom-homepage .home-areas-swiper .kmrof {
        background: rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(10px) saturate(120%);
        -webkit-backdrop-filter: blur(10px) saturate(120%);
        border: 1px solid rgba(255, 255, 255, 0.45);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.03em;
        padding: 7px 16px;
        top: 14px;
        left: 14px;
        z-index: 2;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    }

    /* Custom pagination just for areas */
    .realestate-custom-homepage .home-areas-swiper-pagination {
        position: absolute;
        bottom: 18px;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 5;
    }

    .realestate-custom-homepage .home-areas-swiper-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: rgba(11, 34, 70, 0.30);
        opacity: 1;
        margin: 0 !important;
        border: 0;
        border-radius: 0px;
        transition: all 0.3s var(--lux-ease);
    }

    .realestate-custom-homepage .home-areas-swiper-pagination .swiper-pagination-bullet-active {
        width: 28px;
        background: var(--home-accent);
        border-radius: 0px;
    }

    .realestate-custom-homepage .home-areas-swiper-pagination .swiper-pagination-bullet-active::after {
        display: none;
    }
}

/* =============================================================================
   ─── TOWER SLIDER POLISH ────────────────────────────────────────────────────
   ============================================================================= */
@media (max-width: 768px) {
    /* Tower title — tighter kerning so it reads as luxury, not Times Square */
    .realestate-custom-homepage .tower-title {
        letter-spacing: 0.04em;
        font-weight: 600;
    }

    /* Prevent the mid-transition text bleed glitch — clip slides cleanly */
    .realestate-custom-homepage .custom-slider .swiper-slide {
        overflow: hidden;
    }

    /* Tower button enhanced */
    .realestate-custom-homepage .tower-btn {
        background: linear-gradient(180deg, #102a52 0%, #0b2246 100%);
        box-shadow: 0 10px 22px rgba(11, 34, 70, 0.22);
        transition: all var(--lux-dur-fast) var(--lux-ease);
    }

    .realestate-custom-homepage .tower-btn:hover,
    .realestate-custom-homepage .tower-btn:active {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(11, 34, 70, 0.32);
    }

    /* Nav arrows — refined */
    .realestate-custom-homepage .prev-btn .swiper-button-prev,
    .realestate-custom-homepage .prev-btn .swiper-button-next {
        background: linear-gradient(180deg, #0d2750 0%, #00182d 100%);
        box-shadow: 0 8px 18px rgba(0, 24, 45, 0.30);
        transition: transform 0.25s var(--lux-ease), box-shadow 0.25s var(--lux-ease);
    }

    .realestate-custom-homepage .prev-btn .swiper-button-prev:active,
    .realestate-custom-homepage .prev-btn .swiper-button-next:active {
        transform: scale(0.94);
    }
}

/* =============================================================================
   ─── EXPERTISE CARDS — UPGRADED PREMIUM GLASS ───────────────────────────────
   ============================================================================= */
@media (max-width: 900px) {
    .realestate-custom-homepage .expertise-card {
        background: rgba(255, 255, 255, 0.22);
        backdrop-filter: blur(14px) saturate(140%);
        -webkit-backdrop-filter: blur(14px) saturate(140%);
        border: 1px solid rgba(255, 255, 255, 0.32);
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
        transition: transform 0.4s var(--lux-ease),
        box-shadow 0.4s var(--lux-ease),
        background-color 0.4s var(--lux-ease);
    }

    .realestate-custom-homepage .expertise-card:hover,
    .realestate-custom-homepage .expertise-card:active {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.32);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    .realestate-custom-homepage .home-expertise__cards .form-button {
        background: linear-gradient(180deg, #102a52 0%, #001730 100%);
        box-shadow: 0 14px 30px rgba(0, 23, 48, 0.32);
        letter-spacing: 0.04em;
        transition: all var(--lux-dur-fast) var(--lux-ease);
    }

    .realestate-custom-homepage .home-expertise__cards .form-button:hover,
    .realestate-custom-homepage .home-expertise__cards .form-button:active {
        transform: translateY(-2px);
        box-shadow: 0 18px 38px rgba(0, 23, 48, 0.42);
    }
}

/* =============================================================================
   ─── FEATURED CARDS — REFINED TYPOGRAPHY & SHADOWS ──────────────────────────
   ============================================================================= */
@media (max-width: 900px) {
    .realestate-custom-homepage .featured-card {
        background: #fafafa;
        border: 1px solid rgba(16, 35, 63, 0.06);
        box-shadow: 0 16px 36px rgba(10, 24, 44, 0.08);
        transition: transform 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease);
    }

    .realestate-custom-homepage .featured-card:hover,
    .realestate-custom-homepage .featured-card:active {
        transform: translateY(-4px);
        box-shadow: 0 22px 46px rgba(10, 24, 44, 0.14);
    }

    .realestate-custom-homepage .featured-card__body h3 {
        letter-spacing: 0.005em;
        color: #0b1f3a;
    }

    .realestate-custom-homepage .featured-card__price {
        color: #0b2246;
        font-weight: 700;
        font-size: 16px;
        letter-spacing: 0.02em;
    }

    .realestate-custom-homepage .home-featured__view-all {
        background: linear-gradient(180deg, #102a52 0%, #0b2246 100%);
        box-shadow: 0 8px 20px rgba(11, 34, 70, 0.25);
        height: 34px;
        transition: all var(--lux-dur-fast) var(--lux-ease);
    }

    .realestate-custom-homepage .home-featured__view-all:hover,
    .realestate-custom-homepage .home-featured__view-all:active {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(11, 34, 70, 0.35);
    }

    /* 360 view button — refined floating chip */
    .realestate-custom-homepage .eyrfhvb ul li a img {
        background: rgba(255, 255, 255, 0.86);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        padding: 6px 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .realestate-custom-homepage .eyrfhvb ul li a h3 {
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        letter-spacing: 0.03em;
    }
}

/* =============================================================================
   ─── CONTACT FORM — REFINED MOBILE LAYOUT ───────────────────────────────────
   ============================================================================= */
@media (max-width: 768px) {
    .realestate-custom-homepage .contact-form-wrapper {
        background: rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(12px) saturate(130%);
        -webkit-backdrop-filter: blur(12px) saturate(130%);
        border: 1px solid rgba(255, 255, 255, 0.30);
        box-shadow: 0 30px 70px rgba(7, 22, 41, 0.32);
    }

    .realestate-custom-homepage p.form-intro-text {
        color: rgba(255, 255, 255, 0.94);
        line-height: 1.5;
    }

    .realestate-custom-homepage .contact-form input,
    .realestate-custom-homepage .contact-form select,
    .realestate-custom-homepage .contact-form textarea {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.5);
        transition: border-color 0.25s var(--lux-ease), box-shadow 0.25s var(--lux-ease);
    }

    .realestate-custom-homepage .contact-form input:focus,
    .realestate-custom-homepage .contact-form select:focus,
    .realestate-custom-homepage .contact-form textarea:focus {
        border-color: #0b2246;
        box-shadow: 0 0 0 3px rgba(11, 34, 70, 0.12);
        outline: none;
    }

    .realestate-custom-homepage .form-button {
        /*background: linear-gradient(180deg, #102a52 0%, #001730 100%);*/
        background: var(--home-accent);
        box-shadow: 0 14px 30px rgba(0, 23, 48, 0.40);
        letter-spacing: 0.05em;
        font-weight: 600;
    }

    .realestate-custom-homepage .form-button:hover,
    .realestate-custom-homepage .form-button:active {
        transform: translateY(-2px);
        box-shadow: 0 18px 38px rgba(0, 23, 48, 0.50);
    }
}

/* =============================================================================
   ─── LOCATIONS — PROPER CONTAINMENT (PDF Page 15 bleed fix) ─────────────────
   ============================================================================= */
@media (max-width: 768px) {
    .realestate-custom-homepage .locations-section {
        overflow: hidden;
    }

    .realestate-custom-homepage .locationSwiper {
        overflow: hidden;
        padding-bottom: 42px;
    }

    .realestate-custom-homepage .locationSwiper .swiper-wrapper {
        align-items: stretch;
    }

    .realestate-custom-homepage .locationSwiper .swiper-slide {
        height: auto;
    }

    .realestate-custom-homepage .location-card {
        background: linear-gradient(180deg, #f3f3f1 0%, #e7e7e3 100%);
        border: 1px solid rgba(11, 34, 70, 0.05);
        box-shadow: 0 14px 30px rgba(10, 24, 44, 0.07);
        transition: transform 0.4s var(--lux-ease), box-shadow 0.4s var(--lux-ease);
        height: 100%;
    }

    .realestate-custom-homepage .location-content h4 {
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.025em;
        color: #0b2246;
    }

    .realestate-custom-homepage .locationSwiper .swiper-pagination {
        bottom: 6px;
    }
}

/* =============================================================================
   ─── FOOTER NEWSLETTER — FIX SUBMIT BUTTON CUT-OFF (PDF Page 16) ────────────
   ─── (Targets common theme footer markup. If theme owns it, this overrides) ─
   ============================================================================= */
@media (max-width: 768px) {
    .realestate-custom-homepage ~ footer .newsletter,
    .realestate-custom-homepage + footer .newsletter,
    footer .footer-newsletter,
    footer .newsletter-form,
    footer form[class*="newsletter"] {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px;
        box-sizing: border-box !important;
    }

    footer .newsletter input[type="email"],
    footer .newsletter-form input[type="email"],
    footer form[class*="newsletter"] input[type="email"] {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px !important;
    }

    footer .newsletter button,
    footer .newsletter-form button,
    footer form[class*="newsletter"] button,
    footer .newsletter input[type="submit"],
    footer .newsletter-form input[type="submit"] {
        width: 100% !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
        white-space: nowrap;
    }

    /* Generic footer overflow guard */
    body footer,
    body .site-footer,
    body footer.site-footer {
        overflow-x: hidden !important;
    }

    body footer * {
        max-width: 100%;
    }
}

/* =============================================================================
   ─── SECTION TRANSITIONS — Cinematic feel via subtle gradient bleeds ───────
   ============================================================================= */
@media (max-width: 900px) {
    /* Each section gets a subtle top fade so they feel like they breathe into each other */
    .realestate-custom-homepage .home-help,
    .realestate-custom-homepage .home-areas,
    .realestate-custom-homepage .home-featured,
    .realestate-custom-homepage .locations-section {
        position: relative;
    }

    /* Heading underlines — make them a refined gradient rather than flat line */
    .realestate-custom-homepage .home-help__header h2:after,
    .realestate-custom-homepage .home-areas__header h2:after,
    .realestate-custom-homepage .home-featured__header h2:after {
        background: linear-gradient(90deg,
        rgba(30, 42, 56, 0) 0%,
        rgba(30, 42, 56, 0.32) 50%,
        rgba(30, 42, 56, 0) 100%);
        height: 1px;
    }
}

/* =============================================================================
   ─── SHORTER PLACEHOLDER ON MOBILE (PDF Page 2 text clip fix) ───────────────
   ─── JS swaps the placeholder text — this CSS just ensures clean truncation ─
   ============================================================================= */
@media (max-width: 768px) {
    .realestate-custom-homepage .home-search__field input {
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .realestate-custom-homepage .home-search__field input::placeholder {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
}

/* =============================================================================
   ─── SMOOTH GLOBAL SCROLL & MOBILE TAP RESPONSE ─────────────────────────────
   ============================================================================= */
html {
    scroll-behavior: smooth;
}

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

/* Premium tap feedback on touch devices */
@media (max-width: 1024px) {
    .realestate-custom-homepage a,
    .realestate-custom-homepage button,
    .realestate-custom-homepage .home-search__tab span,
    .realestate-custom-homepage .area-card,
    .realestate-custom-homepage .featured-card,
    .realestate-custom-homepage .help-card,
    .realestate-custom-homepage .expertise-card,
    .realestate-custom-homepage .location-card {
        -webkit-tap-highlight-color: transparent;
        transition-property: transform, box-shadow, background, opacity, color, border-color;
        transition-duration: 0.35s;
        transition-timing-function: var(--lux-ease);
    }
}

/* =============================================================================
   ─── INITIAL HERO STATE — pre-animation hide so JS can stagger them in ──────
   ============================================================================= */
.realestate-custom-homepage[data-animations="ready"] .home-hero__copy h1,
.realestate-custom-homepage[data-animations="ready"] .home-hero__copy p,
.realestate-custom-homepage[data-animations="ready"] .home-hero__copy .home-search {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--lux-dur-slow) var(--lux-ease-out),
    transform var(--lux-dur-slow) var(--lux-ease-out);
}

.realestate-custom-homepage[data-animations="ready"] .home-hero__copy.is-hero-in h1 {
    opacity: 1;
    transform: none;
    transition-delay: 0.15s;
}

.realestate-custom-homepage[data-animations="ready"] .home-hero__copy.is-hero-in p {
    opacity: 1;
    transform: none;
    transition-delay: 0.35s;
}

.realestate-custom-homepage[data-animations="ready"] .home-hero__copy.is-hero-in .home-search {
    opacity: 1;
    transform: none;
    transition-delay: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
    .realestate-custom-homepage[data-animations="ready"] .home-hero__copy h1,
    .realestate-custom-homepage[data-animations="ready"] .home-hero__copy p,
    .realestate-custom-homepage[data-animations="ready"] .home-hero__copy .home-search {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =============================================================================
   END LUXURY ENHANCEMENT LAYER v2
   ============================================================================= */