/* ════════════════════════════════════════════════════════════
   styles.css  –  RentalHome.in
   Startup-grade CSS: clean, modern, card-based, fully responsive
   Palette: White + Navy + Orange accent + Sage greens
   ════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
    /* Core palette */
    --color-primary: #1a3c6e;
    /* Deep navy */
    --color-primary-dark: #0f2548;
    --color-primary-light: #2a5aaa;
    --color-accent: #f47c20;
    /* Warm orange */
    --color-accent-dark: #d46010;
    --color-accent-light: #ffa040;

    /* Neutrals */
    --color-bg: #f8f9fc;
    --color-surface: #ffffff;
    --color-surface-2: #f2f4f8;
    --color-border: #e0e5ef;
    --color-border-light: #eef0f6;

    /* Text */
    --color-text-heading: #0d1f3c;
    --color-text-body: #3e4c63;
    --color-text-muted: #7a8699;
    --color-text-on-dark: #ffffff;

    /* Semantic */
    --color-success: #16a34a;
    --color-error: #dc2626;
    --color-family: #1a6e4a;
    --color-bachelor: #6b21a8;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(13, 31, 60, 0.08);
    --shadow-md: 0 4px 16px rgba(13, 31, 60, 0.10);
    --shadow-lg: 0 8px 32px rgba(13, 31, 60, 0.14);
    --shadow-xl: 0 20px 60px rgba(13, 31, 60, 0.18);
    --shadow-card: 0 2px 12px rgba(13, 31, 60, 0.08), 0 0 0 1px rgba(13, 31, 60, 0.04);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    /* Typography */
    --font-heading: 'Sora', 'Noto Sans Kannada', sans-serif;
    --font-body: 'Noto Sans', 'Noto Sans Kannada', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-gap: 100px;
    --card-gap: 24px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Navbar */
    --navbar-h: 72px;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ─── UTILITY ────────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.22;
    font-weight: 700;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.925rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    white-space: normal;
    min-height: 44px;
    text-align: center;
}

.btn--primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(244, 124, 32, 0.30);
}

.btn--primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 124, 32, 0.40);
}

.btn--outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn--call {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26, 60, 110, 0.28);
}

.btn--call:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.30);
}

.btn--whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.btn--sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn--search {
    border-radius: var(--radius-md);
    padding: 14px 28px;
}

/* ─── SECTION HEADERS ────────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(244, 124, 32, 0.10);
    color: var(--color-accent);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 14px;
    color: var(--color-text-heading);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-h);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid transparent;
    z-index: 900;
    transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar--scrolled {
    background: #ffffff;
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-md);
}

.navbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--color-primary);
    flex-shrink: 0;
    flex: 1;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: var(--color-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.brand-dot {
    color: var(--color-accent);
}

.navbar__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    flex: 2;
}

.nav-link {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-body);
    transition: all var(--transition-fast);
    min-height: 44px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--color-surface-2);
    color: var(--color-primary);
}

.navbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 1;
}

/* Language Switcher */
.mobile-lang-switcher {
    display: none !important;
}

.lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--color-surface-2);
    padding: 3px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}

.lang-btn {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
}

.lang-btn.active {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.lang-btn:not(.active):hover {
    background: var(--color-border);
    color: var(--color-text-heading);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Auth UI ─────────────────────────────────── */
.auth-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #4285f4, #3367d6);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(66, 133, 244, 0.35);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.auth-login-btn:hover {
    background: linear-gradient(135deg, #3367d6, #2a56c6);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.45);
}

.auth-login-btn:active {
    transform: translateY(0);
}

.auth-login-btn i {
    font-size: 0.9rem;
}

/* User Profile (logged in state) */
.auth-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 6px 4px 4px;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.auth-user-profile:hover {
    box-shadow: var(--shadow-sm);
}

.auth-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
    flex-shrink: 0;
}

.auth-user-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-heading);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-heading);
}

.auth-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-muted);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.auth-logout-btn:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--color-error);
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
    padding-top: calc(var(--navbar-h) + 60px);
    padding-bottom: 80px;
    background: linear-gradient(145deg, #0d1f3c 0%, #1a3c6e 40%, #1e3a5f 70%, #0f2548 100%);
    position: relative;
    overflow: hidden;
}

.hero__bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(244, 124, 32, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(42, 90, 170, 0.20) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(244, 124, 32, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.hero__bg-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero__badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(244, 124, 32, 0.15);
    border: 1px solid rgba(244, 124, 32, 0.35);
    color: #ffa040;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease both;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: #fff;
    line-height: 1.18;
    margin-bottom: 20px;
    animation: fadeInDown 0.7s ease both 0.1s;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.72);
    max-width: 560px;
    margin: 0 auto 40px;
    animation: fadeInDown 0.7s ease both 0.18s;
}

/* Hero Search Box */
.hero__search {
    display: flex;
    gap: 10px;
    max-width: 900px;
    margin: 0 auto 48px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 10px;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease both 0.26s;
}

.search-box {
    flex: 1;
    min-width: 160px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box__icon {
    position: absolute;
    left: 14px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    pointer-events: none;
}

.search-box__select {
    width: 100%;
    padding: 12px 12px 12px 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    appearance: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-box__select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--color-accent);
}

.search-box__select option {
    background: #1a3c6e;
    color: #fff;
}

.btn--search {
    flex-shrink: 0;
    font-size: 0.95rem;
}

/* Hero Stats */
.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    animation: fadeInUp 0.7s ease both 0.34s;
}

.stat {
    text-align: center;
}

.stat__num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
}

.stat__label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.18);
}

/* Scroll hint */
.hero__scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    animation: bounce 2s infinite;
    transition: opacity 0.3s;
}

/* ════════════════════════════════════════════════════════════
   TRUST STRIP
   ════════════════════════════════════════════════════════════ */
.trust-strip {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
}

.trust-strip__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-body);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: var(--color-surface-2);
}

.trust-item i {
    color: var(--color-accent);
    font-size: 1rem;
}

/* ════════════════════════════════════════════════════════════
   LISTINGS SECTION
   ════════════════════════════════════════════════════════════ */
.listings-section {
    padding: var(--section-gap) 0;
}

/* ── Filters Bar ─────────────────────────── */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.filters-bar__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.83rem;
    font-weight: 500;
    background: var(--color-surface-2);
    color: var(--color-text-body);
    border: 1.5px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chip:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}

.chip--active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(26, 60, 110, 0.25);
}

.filters-bar__count {
    margin-left: auto;
    align-self: flex-end;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 500;
    padding-bottom: 4px;
}

/* ── Property Grid ───────────────────────── */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--card-gap);
}

/* Wrapper for stagger animation */
.card-wrapper {
    opacity: 0;
    animation: cardFadeIn 0.5s ease forwards;
}

/* ── Property Card ───────────────────────── */
.property-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
    cursor: pointer;
    transform: translateZ(0);
}

@media (hover: hover) {
    .property-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: var(--color-border);
    }
}

.property-card:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.property-card__image-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: var(--color-surface-2);
}

.property-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

@media (hover: hover) {
    .property-card:hover .property-card__image {
        transform: scale(1.06);
    }
}

.property-card__type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge--bhk {
    background: rgba(13, 31, 60, 0.90);
    color: #fff;
}

.property-card__location-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(13, 31, 60, 0.75);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.property-card__body {
    padding: 18px 20px 20px;
}

.property-card__title {
    font-size: 1.025rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-heading);
    line-height: 1.35;
}

.property-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.meta-item i {
    color: var(--color-primary-light);
    font-size: 0.78rem;
}

.meta-item--disabled {
    opacity: 0.4;
    text-decoration: line-through;
}

.property-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--color-border-light);
}

.property-card__price-block {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.property-card__price {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.property-card__period {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* ── Empty State ─────────────────────────── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-text-muted);
}

.empty-state i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0.3;
    display: block;
}

.empty-state p {
    font-size: 1.05rem;
}

/* ════════════════════════════════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════════════════════════════════ */
.how-it-works {
    padding: var(--section-gap) 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.steps-grid {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    text-align: center;
    padding: 40px 28px;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-slow);
}

.step-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--color-border);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    margin: 0 auto 18px;
    box-shadow: 0 4px 16px rgba(26, 60, 110, 0.25);
}

.step-title {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--color-text-heading);
}

.step-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.step-arrow {
    font-size: 1.4rem;
    color: var(--color-accent);
    padding: 0 16px;
    flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   TRUST SECTION
   ════════════════════════════════════════════════════════════ */
.trust-section {
    padding: var(--section-gap) 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #fdf8f3 100%);
}

.trust-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.trust-section__content .section-tag {
    margin-bottom: 14px;
}

.trust-section__content .section-title {
    text-align: left;
    margin-bottom: 12px;
}

.trust-section__content .section-subtitle {
    text-align: left;
    max-width: none;
    margin-bottom: 32px;
}

.trust-pillars {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.trust-pillar {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all var(--transition-slow);
}

.trust-pillar.revealed {
    opacity: 1;
    transform: translateX(0);
}

.trust-pillar i {
    color: var(--color-success);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.trust-pillar strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text-heading);
}

.trust-pillar span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Trust visual */
.trust-section__visual {
    position: relative;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-card-stack {
    position: relative;
    width: 260px;
    height: 260px;
}

.trust-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-heading);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.trust-float-card.revealed {
    opacity: 1;
}

.trust-float-card i {
    font-size: 1.4rem;
}

.trust-float-card--1 {
    top: 0;
    left: 0;
    transform: rotate(-4deg);

    i {
        color: var(--color-primary);
    }
}

.trust-float-card--1.revealed {
    transform: rotate(-4deg) translateY(0);
}

.trust-float-card--2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(3deg);

    i {
        color: #f59e0b;
    }
}

.trust-float-card--2.revealed {
    transform: translateY(-50%) rotate(3deg);
}

.trust-float-card--3 {
    bottom: 0;
    left: 20%;
    transform: rotate(2deg);

    i {
        color: var(--color-success);
    }
}

.trust-float-card--3.revealed {
    transform: rotate(2deg) translateY(0);
}

/* ════════════════════════════════════════════════════════════
   CONTACT SECTION
   ════════════════════════════════════════════════════════════ */
.contact-section {
    padding: 80px 0;
    background: var(--color-primary);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 124, 32, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.contact-section__inner {
    text-align: center;
    position: relative;
}

.contact-section .section-tag {
    background: rgba(244, 124, 32, 0.15);
    color: #ffa040;
}

.contact-section .section-title {
    color: #fff;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 36px;
}

.contact-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
    background: var(--color-text-heading);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 64px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand .navbar__brand {
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer__links,
.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links h4,
.footer__contact h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.footer__links a,
.footer__contact a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: 8px;
}

/* ════════════════════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 31, 60, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.hidden {
    display: none;
}

.modal {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-xl);
}

.modal__close {
    position: sticky;
    top: 16px;
    left: calc(100% - 52px);
    float: right;
    margin-right: 16px;
    margin-top: 16px;
    width: 36px;
    height: 36px;
    background: var(--color-surface-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-text-body);
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.modal__close:hover {
    background: var(--color-error);
    color: #fff;
}

/* Carousel */
.carousel {
    position: relative;
    height: 320px;
    background: var(--color-surface-2);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
}

.carousel__track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.carousel__slide.active {
    opacity: 1;
}

.carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--color-text-heading);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-md);
    z-index: 5;
}

.carousel__btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.carousel__btn--prev {
    left: 14px;
}

.carousel__btn--next {
    right: 14px;
}

.carousel__dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background: #fff;
    width: 20px;
    border-radius: var(--radius-pill);
}

/* Modal Body */
.modal__body {
    padding: 28px 32px 32px;
}

.modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.modal__location {
    display: block;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.modal__title {
    font-size: 1.45rem;
    color: var(--color-text-heading);
}

.modal__price-block {
    text-align: right;
    flex-shrink: 0;
}

.modal__price {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-primary);
}

.modal__price-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.modal__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.modal-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-body);
}

.modal-chip i {
    color: var(--color-primary-light);
}

.modal__desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.modal__details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.detail-label {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-heading);
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-value--yes {
    color: var(--color-success);
}

.detail-value--no {
    color: var(--color-error);
}

.modal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.modal__actions .btn {
    flex: 1;
    justify-content: center;
}

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */

/* ── Prevent horizontal overflow globally ─── */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ── Large Tablet / Small Desktop (≤1024px) ──── */
@media (max-width: 1024px) {
    .trust-section__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .trust-section__visual {
        display: none;
    }

    .trust-section__content .section-title,
    .trust-section__content .section-subtitle {
        text-align: center;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .step-arrow {
        display: none;
    }

    .hero__search {
        max-width: 100%;
    }

    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* ── Tablet / Large Mobile (≤768px) ──── */
@media (max-width: 768px) {
    :root {
        --section-gap: 64px;
        --navbar-h: 64px;
    }

    .container {
        padding: 0 16px;
    }

    /* ── Navbar ── */
    .navbar__links {
        position: fixed;
        top: var(--navbar-h);
        left: 0;
        right: 0;
        height: calc(100vh - var(--navbar-h));
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        flex-direction: column;
        padding: 20px 24px 32px;
        gap: 6px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
        z-index: 800;
        overflow-y: auto;
    }

    .navbar__links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: var(--radius-md);
        width: 100%;
    }

    .nav-link:hover {
        background: var(--color-surface-2);
    }

    .desktop-lang-switcher {
        display: none !important;
    }

    .mobile-lang-switcher {
        display: flex !important;
        margin-top: 10px;
        justify-content: center;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid var(--color-border);
    }

    .hamburger {
        display: flex;
    }

    .navbar__actions .btn--outline {
        display: none;
    }

    .navbar__inner {
        gap: 12px;
    }

    /* ── Hero ── */
    .hero {
        padding-top: calc(var(--navbar-h) + 40px);
        padding-bottom: 60px;
    }

    .hero__badge {
        font-size: 0.75rem;
        padding: 5px 14px;
        margin-bottom: 18px;
    }

    .hero__title {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
        margin-bottom: 14px;
    }

    .hero__subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
        padding: 0 8px;
    }

    .hero__search {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
        border-radius: var(--radius-md);
    }

    .search-box {
        min-width: 100%;
    }

    .search-box__select {
        padding: 14px 12px 14px 38px;
        font-size: 0.95rem;
    }

    .btn--search {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .hero__stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat__num {
        font-size: 1.6rem;
    }

    .stat__label {
        font-size: 0.75rem;
    }

    .stat-divider {
        display: none;
    }

    .hero__scroll-hint {
        display: none;
    }

    /* ── Trust Strip ── */
    .trust-strip {
        padding: 14px 0;
    }

    .trust-strip__inner {
        gap: 8px;
        justify-content: center;
    }

    .trust-item {
        padding: 6px 12px;
        font-size: 0.78rem;
        gap: 6px;
    }

    .trust-item i {
        font-size: 0.85rem;
    }

    /* ── Section Headers ── */
    .section-header {
        margin-bottom: 36px;
    }

    .section-tag {
        font-size: 0.72rem;
        padding: 5px 14px;
        margin-bottom: 12px;
    }

    .section-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 0.92rem;
        padding: 0 8px;
    }

    /* ── Listings / Filters ── */
    .listings-section {
        padding: var(--section-gap) 0;
    }

    .filters-bar {
        flex-direction: column;
        gap: 14px;
        padding: 14px;
        border-radius: var(--radius-md);
        margin-bottom: 24px;
    }

    .filter-label {
        font-size: 0.7rem;
    }

    .filter-chips {
        gap: 5px;
    }

    .chip {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    .filters-bar__count {
        margin-left: 0;
        font-size: 0.8rem;
        text-align: center;
    }

    /* ── Property Grid ── */
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .property-card__image-wrap {
        height: 200px;
    }

    .property-card__body {
        padding: 14px 16px 16px;
    }

    .property-card__title {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .property-card__meta {
        gap: 6px;
        margin-bottom: 12px;
    }

    .meta-item {
        font-size: 0.75rem;
    }

    .property-card__price {
        font-size: 1.2rem;
    }

    .property-card__period {
        font-size: 0.72rem;
    }

    .property-card__footer .btn--sm {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* ── Steps (How It Works) ── */
    .how-it-works {
        padding: var(--section-gap) 0;
    }

    .steps-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .step-card {
        max-width: 100%;
        min-width: unset;
        padding: 28px 20px;
    }

    .step-number {
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .step-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .step-title {
        font-size: 0.95rem;
    }

    .step-desc {
        font-size: 0.82rem;
    }

    /* ── Trust Section ── */
    .trust-section {
        padding: var(--section-gap) 0;
    }

    .trust-section__content .section-title {
        text-align: center;
    }

    .trust-section__content .section-subtitle {
        text-align: center;
    }

    .trust-pillars {
        gap: 14px;
        margin-bottom: 28px;
    }

    .trust-pillar {
        gap: 10px;
    }

    .trust-pillar i {
        font-size: 1rem;
    }

    .trust-pillar strong {
        font-size: 0.88rem;
    }

    .trust-pillar span {
        font-size: 0.82rem;
    }

    .trust-section__content .btn {
        width: 100%;
        justify-content: center;
    }

    /* ── Contact ── */
    .contact-section {
        padding: 56px 0;
    }

    .contact-section .section-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .contact-section .section-subtitle {
        margin-bottom: 28px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .contact-buttons .btn {
        width: 100%;
        max-width: 340px;
        justify-content: center;
        padding: 14px 24px;
    }

    /* ── Footer ── */
    .footer {
        padding-top: 48px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 36px;
    }

    .footer__brand p {
        font-size: 0.82rem;
    }

    .footer__links h4,
    .footer__contact h4 {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    .footer__links a,
    .footer__contact a {
        font-size: 0.82rem;
    }

    .footer__bottom {
        padding: 16px 0;
    }

    .footer__bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        font-size: 0.75rem;
    }

    /* ── Modal (bottom-sheet style) ── */
    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .modal {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        margin-top: auto;
        max-height: 92vh;
        max-width: 100%;
        animation: modalSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .modal__close {
        top: 12px;
        right: 12px;
        margin-right: 12px;
        margin-top: 12px;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .carousel {
        height: 220px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }

    .carousel__btn {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .carousel__btn--prev {
        left: 10px;
    }

    .carousel__btn--next {
        right: 10px;
    }

    .modal__body {
        padding: 18px 16px 24px;
    }

    .modal__header {
        flex-direction: column;
        gap: 10px;
    }

    .modal__price-block {
        text-align: left;
    }

    .modal__price {
        font-size: 1.5rem;
    }

    .modal__title {
        font-size: 1.2rem;
    }

    .modal__location {
        font-size: 0.78rem;
    }

    .modal__meta {
        gap: 6px;
    }

    .modal-chip {
        padding: 5px 10px;
        font-size: 0.76rem;
        gap: 5px;
    }

    .modal__desc {
        font-size: 0.88rem;
        margin-bottom: 18px;
    }

    .modal__details {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 20px;
    }

    .detail-row {
        padding: 10px 14px;
    }

    .detail-label {
        font-size: 0.78rem;
    }

    .detail-value {
        font-size: 0.84rem;
    }

    .modal__actions {
        gap: 10px;
    }

    .modal__actions .btn {
        padding: 12px 18px;
        font-size: 0.88rem;
    }
}

/* ── Small Mobile (≤480px) ──── */
@media (max-width: 480px) {
    :root {
        --section-gap: 52px;
        --navbar-h: 58px;
    }

    .container {
        padding: 0 12px;
    }

    .hero__bg-pattern {
        display: none;
    }

    .hero {
        padding-top: calc(var(--navbar-h) + 28px);
        padding-bottom: 44px;
    }

    .hero__title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        line-height: 1.25;
    }

    .hero__subtitle {
        font-size: 0.88rem;
        margin-bottom: 22px;
    }

    .hero__badge {
        font-size: 0.68rem;
        padding: 4px 12px;
        margin-bottom: 14px;
    }

    .hero__search {
        padding: 6px;
    }

    .search-box__select {
        padding: 12px 10px 12px 34px;
        font-size: 0.88rem;
    }

    .hero__stats {
        gap: 12px;
    }

    .stat__num {
        font-size: 1.35rem;
    }

    .stat__label {
        font-size: 0.68rem;
    }

    /* Trust strip: scroll horizontally on very small screens */
    .trust-strip__inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 8px;
        padding-bottom: 4px;
        justify-content: flex-start;
    }

    .trust-item {
        flex-shrink: 0;
        scroll-snap-align: start;
        font-size: 0.72rem;
        padding: 5px 10px;
    }

    /* Navbar */
    .navbar__brand {
        gap: 8px;
    }

    .navbar__brand .brand-text {
        font-size: 1.05rem;
    }

    .brand-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .lang-switcher {
        gap: 1px;
        padding: 2px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    /* Filters */
    .filters-bar {
        padding: 12px;
        gap: 12px;
    }

    .chip {
        padding: 5px 10px;
        font-size: 0.73rem;
    }

    /* Property card */
    .property-card__image-wrap {
        height: 180px;
    }

    .property-card__body {
        padding: 12px 14px 14px;
    }

    .property-card__title {
        font-size: 0.9rem;
    }

    .property-card__price {
        font-size: 1.1rem;
    }

    .property-card__footer {
        padding-top: 10px;
        gap: 8px;
    }

    .property-card__footer .btn--sm {
        padding: 7px 12px;
        font-size: 0.75rem;
    }

    /* Steps */
    .step-card {
        padding: 22px 16px;
    }

    .step-number {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .step-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        margin-bottom: 12px;
    }

    /* Trust Section */
    .trust-pillars {
        gap: 12px;
    }

    .trust-pillar strong {
        font-size: 0.84rem;
    }

    .trust-pillar span {
        font-size: 0.78rem;
    }

    /* Contact */
    .contact-section {
        padding: 44px 0;
    }

    .contact-buttons .btn {
        max-width: 100%;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer {
        padding-top: 36px;
    }

    .footer__inner {
        gap: 24px;
        padding-bottom: 28px;
    }

    /* Modal */
    .modal {
        max-height: 95vh;
    }

    .carousel {
        height: 180px;
    }

    .modal__body {
        padding: 14px 12px 20px;
    }

    .modal__title {
        font-size: 1.05rem;
    }

    .modal__price {
        font-size: 1.3rem;
    }

    .modal__desc {
        font-size: 0.82rem;
    }

    .modal__actions .btn {
        padding: 11px 14px;
        font-size: 0.82rem;
    }

    /* Empty state */
    .empty-state {
        padding: 48px 16px;
    }

    .empty-state i {
        font-size: 2.5rem;
    }

    .empty-state p {
        font-size: 0.92rem;
    }
}

/* ── Extra Small Mobile (≤360px) ──── */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .hero__title {
        font-size: 1.35rem;
    }

    .hero__subtitle {
        font-size: 0.82rem;
    }

    .navbar__brand .brand-text {
        font-size: 0.95rem;
    }

    .brand-icon {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .lang-btn {
        padding: 3px 6px;
        font-size: 0.68rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .section-subtitle {
        font-size: 0.82rem;
    }

    .property-card__image-wrap {
        height: 160px;
    }

    .property-card__title {
        font-size: 0.85rem;
    }

    .property-card__price {
        font-size: 1rem;
    }

    .modal__title {
        font-size: 0.95rem;
    }

    .modal__price {
        font-size: 1.15rem;
    }

    .carousel {
        height: 155px;
    }

    .modal__actions {
        flex-direction: column;
    }

    .modal__actions .btn {
        width: 100%;
    }
}

/* ── Modal slide-up animation for mobile ── */
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════════════════════════════════════
   LANGUAGE SPECIFIC OVERRIDES
   ════════════════════════════════════════════════════════════ */
.lang-kn body,
.lang-kn .section-title,
.lang-kn .property-card__title,
.lang-kn .modal__title {
    font-family: 'Noto Sans Kannada', 'Sora', sans-serif;
}

.lang-hi .hero__title,
.lang-hi .section-title {
    font-family: 'Noto Sans', sans-serif;
}

/* ════════════════════════════════════════════════════════════
   PRINT
   ════════════════════════════════════════════════════════════ */
@media print {

    .navbar,
    .hero,
    .filters-bar,
    .modal-overlay,
    .contact-section,
    .trust-strip,
    .hero__scroll-hint {
        display: none;
    }
}