/* ElRewad brand system */
:root {
    --brand-red: #d70420;
    --brand-red-dark: #a80017;
    --brand-ink: #151515;
    --brand-muted: #606060;
    --brand-soft: #f6f3ef;
    --brand-border: #eee0da;
    --primary: #d70420;
    --primary-50: #fff1f3;
    --primary-100: #ffe0e6;
    --primary-200: #ffc7d0;
    --primary-400: #eb3048;
    --primary-500: #d70420;
    --primary-600: #b8001b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.08);
    --shadow-lift: 0 24px 46px rgba(0, 0, 0, 0.13);
}

html,
body {
    color: var(--brand-muted);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--brand-red);
    text-decoration: none;
}

a:hover {
    color: var(--brand-red-dark);
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--brand-ink);
    font-weight: 900;
    letter-spacing: 0;
}

.bg-primary {
    background: var(--brand-red) !important;
}

.text-primary,
.primary-text,
.text-primary-brand {
    color: var(--brand-red) !important;
}

.phone-number {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

.btn {
    border-radius: 4px;
    font-weight: 850;
    letter-spacing: 0;
}

.btn-brand,
.btn-glass,
.btn-outline-brand {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 900;
    text-decoration: none;
}

.btn-brand,
.btn-primary {
    color: #fff !important;
    background: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
}

.btn-brand:hover,
.btn-primary:hover {
    color: #fff !important;
    background: var(--brand-red-dark) !important;
    border-color: var(--brand-red-dark) !important;
    text-decoration: none;
}

.btn-outline-brand,
.btn-outline-primary {
    color: var(--brand-red) !important;
    background: transparent !important;
    border: 1px solid var(--brand-red) !important;
}

.btn-outline-brand:hover,
.btn-outline-primary:hover {
    color: #fff !important;
    background: var(--brand-red) !important;
    text-decoration: none;
}

.btn-glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(4px);
}

.btn-glass:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* Header and footer */
.site-header.navbar {
    min-height: 92px;
    padding: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(20, 20, 20, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    z-index: 20;
}

.site-header .container {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-brand,
.site-brand:hover {
    flex: 0 0 auto;
    margin: 0;
    text-decoration: none;
}

.site-header .logo-container {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.site-header .logo-image {
    width: 78px;
    height: 58px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

.site-header .logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    color: var(--brand-ink);
    background: none;
    -webkit-text-fill-color: currentColor;
    line-height: 1;
}

.site-header .logo-text span {
    font-size: 1.25rem;
    font-weight: 900;
}

.site-header .logo-text small {
    font-size: 0.78rem;
    font-weight: 800;
}

.site-header .navbar-collapse {
    align-items: center;
}

.site-header .navbar-nav {
    gap: 1.5rem;
}

.site-header .nav-link {
    min-height: 92px;
    display: flex;
    align-items: center;
    padding: 0 0.25rem;
    color: #171717;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 0;
    margin: 0;
    position: relative;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--brand-red);
    background: transparent;
    text-decoration: none;
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 0;
    height: 4px;
    border-radius: 999px;
    background: var(--brand-red);
    transform: translateX(-50%);
    transition: width 0.2s ease;
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
    width: 80%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--brand-ink);
    text-decoration: none;
    white-space: nowrap;
}

.header-phone:hover {
    color: var(--brand-red);
    text-decoration: none;
}

.header-phone i {
    color: var(--brand-red);
    font-size: 1.35rem;
}

.header-phone span {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.header-phone strong {
    font-size: 0.96rem;
    font-weight: 900;
}

.header-phone small {
    color: #555;
    font-size: 0.74rem;
    font-weight: 700;
}

.site-header .language-switcher .btn-group {
    box-shadow: none;
}

.site-header .language-switcher .btn,
.site-header .navbar-toggler {
    color: var(--brand-red);
    border: 1px solid rgba(215, 4, 32, 0.24) !important;
    border-radius: 4px !important;
    background: #fff !important;
}

.site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(215, 4, 32, 0.18);
}

footer {
    background: linear-gradient(135deg, #171717 0%, #292929 100%) !important;
    color: #fff;
}

footer h5,
footer p {
    color: #fff !important;
}

/* Shared page sections */
.inner-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--brand-red);
    font-size: 0.88rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
}

.inner-hero {
    position: relative;
    min-height: 360px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background: url("/images/hero-property-enhanced.jpg") center 46% / cover no-repeat;
}

.inner-hero::before {
    display: none;
}

.inner-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.36) 46%, rgba(0, 0, 0, 0.68)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.04) 62%);
}

[dir="ltr"] .inner-hero__overlay {
    background:
        linear-gradient(270deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.36) 46%, rgba(0, 0, 0, 0.68)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.04) 62%);
}

.inner-hero__content {
    position: relative;
    z-index: 1;
    min-height: 360px;
    display: flex;
    align-items: center;
    color: #fff;
}

.inner-hero__content > div {
    max-width: 720px;
}

.inner-hero h1 {
    color: #fff;
    font-size: clamp(2.45rem, 5vw, 4.8rem);
    line-height: 1.08;
    font-weight: 900;
    margin: 0 0 1rem;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}

.inner-hero p {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    font-weight: 700 !important;
    line-height: 1.75;
    margin: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
}

.home-section,
.home-cta,
.properties-page,
.services-page,
.about-page,
.contact-page,
.service-detail-page,
.property-detail-page {
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.home-section::before,
.home-cta::before,
.properties-page::before,
.services-page::before,
.about-page::before,
.contact-page::before,
.service-detail-page::before,
.property-detail-page::before {
    display: none;
}

.results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 1rem 0 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.results-bar h2 {
    margin: 0;
    color: var(--brand-ink);
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
    font-weight: 900;
}

.results-bar p {
    color: #5d5d5d !important;
    font-weight: 800 !important;
    margin: 0;
}

.results-bar strong {
    color: var(--brand-red);
    font-size: 1.35rem;
    margin: 0 0.25rem;
}

.empty-state {
    max-width: 620px;
    margin: 3rem auto 0;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
}

.empty-state i {
    color: var(--brand-red);
    font-size: 3.2rem;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #606060 !important;
    font-weight: 700 !important;
}

.brand-breadcrumb {
    position: relative;
    z-index: 2;
    margin: 0 0 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(215, 4, 32, 0.12);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.brand-breadcrumb .breadcrumb {
    margin: 0;
}

.brand-breadcrumb a {
    color: var(--brand-red);
    font-weight: 850;
}

.brand-breadcrumb .active {
    color: #555;
    font-weight: 800;
}

/* Home */
.home-hero {
    position: relative;
    min-height: calc(100vh - 92px);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    background: url("/images/hero-property-enhanced.jpg") center / cover no-repeat;
}

.home-hero::before {
    display: none;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.48)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.02) 50%);
}

[dir="ltr"] .home-hero__overlay {
    background:
        linear-gradient(270deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.48)),
        linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.02) 50%);
}

.home-hero__content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    padding-top: 7vh;
    padding-bottom: 13rem;
}

.home-hero__copy {
    max-width: 650px;
    color: #fff;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

.home-hero__copy h1 {
    color: #fff;
    font-size: clamp(2.45rem, 6vw, 5.35rem);
    line-height: 1.12;
    margin: 0 0 1.45rem;
}

.home-hero__copy h1 span {
    color: var(--brand-red);
}

.home-hero__copy p {
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(1rem, 1.7vw, 1.45rem);
    font-weight: 700;
    line-height: 1.8;
    margin: 0 0 1.65rem;
}

.home-hero__actions,
.brand-cta-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 7.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(-50%);
}

.hero-dots span {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.hero-dots span:first-child {
    width: 22px;
    height: 4px;
}

.hero-dots .active {
    background: var(--brand-red);
}

.home-services-strip {
    position: relative;
    z-index: 2;
    margin: -5.8rem 0 0;
    padding: 0 0 2.5rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    background: transparent;
}

.home-services-strip::before {
    display: none;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.home-service {
    min-height: 178px;
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
    border-inline-start: 1px solid #ddd;
}

.home-service:first-child {
    border-inline-start: 0;
}

.home-service__icon {
    color: var(--brand-red);
    font-size: 2.4rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.home-service h3 {
    font-size: 1.25rem;
    margin: 0 0 0.55rem;
}

.home-service p {
    color: #666;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.65;
    margin: 0;
}

.home-section,
.home-cta {
    padding: 4rem 0;
}

.home-cta {
    background: var(--brand-soft);
}

.home-info-card {
    height: 100%;
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
}

.home-info-card__icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand-red);
    border-radius: 8px;
    font-size: 1.35rem;
}

.home-info-card h3 {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.home-info-card p,
.home-section .text-center > p,
.home-cta p {
    color: #5d5d5d !important;
    font-weight: 700 !important;
}

/* Properties and services listing */
.properties-page,
.services-page,
.about-page,
.contact-page {
    padding: 3.5rem 0 4.5rem;
}

.brand-filter-panel,
.about-story-panel,
.contact-form-panel {
    position: relative;
    z-index: 2;
    margin-top: -4.25rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(215, 4, 32, 0.12);
    border-radius: 8px;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.brand-filter-panel {
    margin-bottom: 2rem;
    padding: 1.35rem 1.45rem 1.45rem;
}

.brand-filter-panel__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.15rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #f0e5df;
}

.brand-filter-panel__header h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.brand-filter-panel .form-label,
.contact-form-panel .form-label {
    color: var(--brand-ink) !important;
    font-size: 0.88rem;
    font-weight: 900;
    margin-bottom: 0.45rem;
}

.brand-filter-panel .form-select,
.brand-filter-panel .form-control,
.contact-form-panel .form-control {
    min-height: 46px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #262626 !important;
    font-weight: 700;
    padding: 0.58rem 0.85rem;
    box-shadow: none;
}

.contact-form-panel textarea.form-control {
    min-height: 150px;
}

.brand-filter-panel .form-select:focus,
.brand-filter-panel .form-control:focus,
.contact-form-panel .form-control:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 0.2rem rgba(215, 4, 32, 0.14);
}

.brand-filter-panel .col-12 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.2rem;
}

.brand-filter-panel .col-12 .btn {
    margin: 0 !important;
}

.brand-property-card,
.brand-service-card,
.brand-info-card,
.brand-value-card,
.contact-info-card,
.service-detail-panel,
.service-action-card,
.property-description-panel,
.property-side-card {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.brand-property-card,
.brand-service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.brand-property-card:hover,
.brand-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(215, 4, 32, 0.28);
    box-shadow: var(--shadow-lift);
}

.brand-property-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--brand-soft);
    overflow: hidden;
}

.brand-property-card__media img,
.brand-property-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-property-card__placeholder {
    display: grid;
    place-items: center;
    color: var(--brand-red);
    font-size: 2.4rem;
}

.brand-property-card__badge {
    position: absolute;
    top: 1rem;
    inset-inline-start: 1rem;
    color: #fff;
    background: var(--brand-red);
    border-radius: 4px;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 900;
}

.brand-property-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.brand-property-card__body h3,
.brand-service-card h3 {
    font-size: 1.22rem;
    margin: 0 0 0.65rem;
}

.brand-property-card__body p,
.brand-service-card p {
    color: #636363 !important;
    font-size: 0.95rem;
    font-weight: 650 !important;
    line-height: 1.65;
    margin: 0 0 1rem;
}

.property-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1.15rem;
}

.property-feature-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #4b4b4b;
    background: var(--brand-soft);
    border: 1px solid #eadbd3;
    border-radius: 999px;
    padding: 0.38rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 800;
}

.property-feature-list i {
    color: var(--brand-red);
}

.brand-property-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0e5df;
}

.brand-property-card__footer strong {
    color: var(--brand-red);
    font-size: 1.05rem;
    font-weight: 900;
}

.brand-service-card {
    min-height: 300px;
    padding: 2rem;
    text-align: center;
    align-items: center;
}

.brand-service-card__icon,
.brand-info-card__icon,
.brand-value-card__icon,
.service-detail-panel__icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand-red);
    border-radius: 8px;
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 16px 28px rgba(215, 4, 32, 0.2);
}

.brand-service-card p {
    flex: 1;
}

/* About and contact */
.about-story-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    gap: 2rem;
    padding: 2rem;
    align-items: center;
}

.about-story-panel h2,
.contact-form-panel h2,
.brand-cta-panel h2 {
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    margin: 0 0 1rem;
}

.about-content,
.service-content {
    color: #5f5f5f;
    font-weight: 650;
    line-height: 1.8;
}

.about-content p,
.service-content p {
    margin: 0 0 1rem;
}

.about-story-panel__visual {
    min-height: 260px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    padding: 2rem;
}

.about-story-panel__visual img {
    max-width: min(260px, 100%);
    height: auto;
}

.about-feature-row {
    margin-top: 2rem;
}

.brand-info-card,
.brand-value-card,
.contact-info-card,
.service-action-card,
.property-side-card {
    padding: 1.5rem;
}

.brand-info-card {
    padding: 2rem;
}

.brand-info-card h3,
.brand-value-card h3,
.contact-info-card h3,
.service-action-card h3,
.property-side-card h3 {
    font-size: 1.3rem;
    margin: 0 0 0.75rem;
}

.brand-info-card p,
.brand-value-card p,
.brand-cta-panel p,
.service-action-card p {
    color: #606060 !important;
    font-weight: 650 !important;
    line-height: 1.7;
    margin: 0;
}

.about-values-heading {
    margin-top: 2.5rem;
}

.brand-value-card {
    text-align: center;
}

.brand-value-card__icon {
    margin-left: auto;
    margin-right: auto;
}

.brand-cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
}

.contact-form-panel {
    padding: 2rem;
}

.validation-message {
    display: block;
    margin-top: 0.35rem;
    color: var(--brand-red);
    font-size: 0.82rem;
    font-weight: 800;
}

.contact-side-stack {
    display: grid;
    gap: 1rem;
    margin-top: -4.25rem;
    position: relative;
    z-index: 2;
}

.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 0;
    color: var(--brand-ink);
    text-decoration: none;
    border-top: 1px solid #f0e5df;
}

.contact-info-row:hover {
    color: var(--brand-red);
    text-decoration: none;
}

.contact-info-row i,
.related-service-list i,
.property-spec-list i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand-red);
    border-radius: 8px;
}

.contact-info-row span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-info-row small {
    color: #777;
    font-size: 0.78rem;
    font-weight: 900;
}

.contact-info-row strong {
    color: inherit;
    font-size: 0.95rem;
    font-weight: 850;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.contact-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0e5df;
}

.contact-hours-row span {
    color: #646464;
    font-weight: 800;
}

.contact-hours-row strong {
    color: var(--brand-red);
    font-weight: 900;
}

/* Service detail */
.service-detail-top {
    margin: 0;
    padding: 3.25rem 0 2rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

.service-detail-top::before {
    display: none;
}

.service-detail-top h1 {
    font-size: clamp(2.1rem, 4.5vw, 4rem);
    line-height: 1.12;
    margin: 0;
}

.service-detail-page {
    padding: 0 0 4.5rem;
}

.service-detail-panel {
    padding: 2rem;
}

.service-detail-panel__icon {
    width: 82px;
    height: 82px;
    font-size: 2rem;
}

.service-detail-panel h2,
.service-action-card h3 {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    margin: 0 0 1rem;
}

.service-side-stack,
.property-side-stack {
    display: grid;
    gap: 1rem;
}

.service-action-card .btn + .btn {
    margin-top: 0.75rem;
}

.related-service-list {
    display: grid;
    gap: 0.65rem;
}

.related-service-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    color: var(--brand-ink);
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    font-weight: 850;
    text-decoration: none;
}

.related-service-list a:hover {
    color: var(--brand-red);
    border-color: rgba(215, 4, 32, 0.3);
}

/* Property detail */
.property-detail-page {
    padding: 3rem 0 4.5rem;
}

.property-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
}

.property-detail-header h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.15;
    margin: 0 0 0.85rem;
}

.property-detail-header p {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #5f5f5f !important;
    font-weight: 800 !important;
    margin: 0;
}

.property-detail-header p i {
    color: var(--brand-red);
}

.property-price-card {
    min-width: min(310px, 100%);
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.property-price-card span {
    display: block;
    color: #777;
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.property-price-card strong {
    display: block;
    color: var(--brand-red);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 900;
}

.property-gallery-panel {
    margin: 0 0 1.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.property-gallery-panel::before {
    display: none;
}

.property-description-panel {
    padding: 1.5rem;
}

.property-section-heading {
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f0e5df;
}

.property-section-heading h2,
.property-side-card h3 {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    margin: 0;
}

.property-db-description {
    color: #5f5f5f;
    font-weight: 650;
    line-height: 1.8;
}

.property-db-description > :last-child {
    margin-bottom: 0;
}

.property-spec-list {
    display: grid;
    gap: 0.65rem;
}

.property-spec-list div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
}

.property-spec-list span {
    color: #666;
    font-weight: 850;
}

.property-spec-list strong {
    color: var(--brand-ink);
    font-weight: 900;
    text-align: end;
}

.property-detail-actions {
    margin-top: 1.5rem;
}

/* Authored policy/description HTML */
.container-custom {
    max-width: 1300px;
    margin: 0 auto;
}

.policy-card,
.property-db-description .policy-card {
    height: auto;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

.property-db-description .policy-card {
    box-shadow: none;
}

.policy-card:hover {
    border-color: rgba(215, 4, 32, 0.28);
}

.policy-card::before {
    display: none;
}

.card-header-custom,
.property-db-description .card-header-custom {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1.35rem;
    background: var(--brand-red);
    border: 0;
}

.card-header-custom i,
.property-db-description .card-header-custom i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    color: var(--brand-red);
    background: #fff;
    border-radius: 8px;
    font-size: 1.25rem;
    padding: 0;
}

.card-header-custom h3,
.property-db-description .card-header-custom h3 {
    color: #fff !important;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.35;
    margin: 0;
}

.policy-card .p-4,
.policy-card-body {
    background: #fff;
}

.policy-label {
    color: var(--brand-ink);
    font-weight: 850;
}

p.policy-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.policy-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.policy-list li,
[dir="rtl"] .policy-list li {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.85rem;
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    border-radius: 8px;
}

.policy-list li i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    color: #fff;
    background: var(--brand-red);
    border-radius: 8px;
    font-size: 1rem;
}

.policy-list .policy-label {
    color: #4f4f4f;
    font-weight: 800;
    line-height: 1.6;
}

.deposit-highlight {
    margin: 1rem 0 0;
    padding: 1.15rem;
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    border-inline-start: 4px solid var(--brand-red);
    border-radius: 8px;
}

[dir="rtl"] .deposit-highlight {
    border-inline-start: 0;
    border-inline-end: 4px solid var(--brand-red);
}

.amount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--brand-red);
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.policy-value {
    font-weight: 700;
    color: var(--brand-red);
}

/* Gallery */
.property-gallery {
    border-radius: 8px;
    overflow: hidden;
    background: var(--gray-100);
}

.gallery-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    background: var(--gray-200);
}

.gallery-hero-img,
.gallery-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-hero-img {
    transition: transform 0.35s ease;
}

.gallery-hero:hover .gallery-hero-img {
    transform: scale(1.03);
}

.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-hero:hover .gallery-hero-overlay {
    opacity: 1;
}

.gallery-count-badge,
.gallery-view-all {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
}

.gallery-video-badge {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

.gallery-thumbs-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    margin-top: 4px;
}

.gallery-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    background: var(--gray-200);
}

.gallery-thumb-img {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.gallery-thumb:hover .gallery-thumb-img {
    transform: scale(1.08);
}

.lazy-img {
    opacity: 0;
}

.lazy-loaded {
    opacity: 1;
}

.gallery-thumb-video,
.lb-thumb-video-placeholder {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
}

.gallery-thumb-video-icon,
.gallery-more-overlay,
.lb-thumb-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.gallery-more-overlay {
    background: rgba(0, 0, 0, 0.55);
    font-size: 1.375rem;
    font-weight: 800;
}

.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.lb-active {
    display: flex;
}

.lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
}

.lb-container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 4rem 1rem;
    gap: 0.75rem;
}

.lb-media-wrap {
    position: relative;
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.lb-img,
.lb-video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    object-fit: contain;
}

.lb-video {
    width: 100%;
    max-height: 70vh;
}

.lb-loader {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--brand-red);
    font-size: 2.5rem;
}

.lb-close,
.lb-prev,
.lb-next {
    position: absolute;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
}

.lb-close {
    top: 1rem;
    right: 1rem;
}

.lb-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lb-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lb-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
}

.lb-counter {
    color: #fff;
    font-weight: 800;
}

.lb-thumbs-row {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    width: 100%;
    padding: 0.5rem 0;
}

.lb-thumb-item {
    position: relative;
    flex: 0 0 72px;
    height: 54px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: var(--gray-800);
}

.lb-thumb-item.lb-thumb-active {
    border-color: var(--brand-red);
}

.lb-thumb-img,
.lb-thumb-video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-thumb-video-placeholder {
    display: grid;
    place-items: center;
    color: var(--brand-red);
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .site-header .navbar-nav {
        gap: 0.85rem;
    }

    .header-phone strong {
        font-size: 0.85rem;
    }
}

@media (max-width: 991.98px) {
    .site-header.navbar,
    .site-header .container {
        min-height: 76px;
    }

    .site-header .logo-image {
        width: 62px;
        height: 46px;
    }

    .site-header .logo-text span {
        font-size: 1rem;
    }

    .site-header .logo-text small {
        font-size: 0.66rem;
    }

    .site-header .navbar-collapse {
        position: absolute;
        top: 76px;
        left: 1rem;
        right: 1rem;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
        padding: 1rem;
    }

    .site-header .navbar-nav {
        gap: 0;
        margin: 0 !important;
    }

    .site-header .nav-link {
        min-height: 46px;
        padding: 0.65rem 0.25rem;
        border-bottom: 1px solid #eee;
    }

    .site-header .nav-link::after {
        display: none;
    }

    .header-actions,
    .brand-property-card__footer,
    .results-bar,
    .brand-cta-panel,
    .property-detail-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-actions {
        align-items: stretch;
        gap: 0.75rem;
        margin-top: 0.9rem;
    }

    .header-phone {
        justify-content: center;
        padding: 0.7rem;
        border: 1px solid #eee;
        border-radius: 8px;
    }

    .home-hero,
    .home-hero__content {
        min-height: 660px;
    }

    .home-hero__content {
        padding-bottom: 10rem;
    }

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

    .home-service:nth-child(odd) {
        border-inline-start: 0;
    }

    .home-service {
        border-bottom: 1px solid #ddd;
    }

    .inner-hero,
    .inner-hero__content {
        min-height: 300px;
    }

    .about-story-panel {
        grid-template-columns: 1fr;
    }

    .contact-side-stack {
        margin-top: 0;
    }

    .property-price-card,
    .brand-property-card__footer .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .site-header .logo-text {
        display: none;
    }

    .home-hero {
        min-height: 620px;
        background-position: 58% center;
    }

    .home-hero__content {
        min-height: 620px;
        align-items: flex-end;
        padding-bottom: 9.5rem;
    }

    .home-hero__copy h1 {
        font-size: 2.55rem;
    }

    .home-hero__actions,
    .brand-filter-panel .btn,
    .brand-cta-panel__actions,
    .brand-cta-panel__actions .btn,
    .contact-form-panel .btn {
        width: 100%;
    }

    .hero-dots {
        bottom: 6.2rem;
    }

    .home-services-strip {
        margin-top: -4.8rem;
    }

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

    .home-service,
    .home-service:nth-child(odd) {
        border-inline-start: 0;
    }

    .home-info-card,
    .contact-hours-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .inner-hero,
    .inner-hero__content {
        min-height: 270px;
    }

    .properties-page,
    .services-page,
    .about-page,
    .contact-page {
        padding-top: 2.5rem;
    }

    .brand-filter-panel,
    .about-story-panel,
    .contact-form-panel {
        margin-top: -3.5rem;
        padding: 1.25rem;
    }

    .brand-service-card,
    .brand-info-card,
    .brand-value-card,
    .contact-info-card,
    .brand-cta-panel,
    .service-detail-panel,
    .service-action-card,
    .property-detail-header,
    .property-description-panel,
    .property-side-card {
        padding: 1.25rem;
    }

    .service-detail-top {
        padding: 2.25rem 0 1.5rem;
    }

    .service-detail-page,
    .property-detail-page {
        padding-bottom: 3rem;
    }

    .property-gallery-panel {
        padding: 0.65rem;
    }

    .card-header-custom,
    .property-db-description .card-header-custom {
        align-items: flex-start;
        flex-direction: column;
    }

    .property-spec-list div {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .property-spec-list strong {
        grid-column: 2;
        text-align: start;
    }

    .gallery-thumbs-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-hero-overlay {
        opacity: 1;
    }

    .lb-container {
        padding: 3rem 0.5rem 1rem;
    }

    .lb-prev {
        left: 0.25rem;
    }

    .lb-next {
        right: 0.25rem;
    }

    .lb-thumb-item {
        flex-basis: 56px;
        height: 42px;
    }
}
