/* ========================================
   BASE & RESET
   ======================================== */

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #eff6ff;
    --color-text: #1a1a2e;
    --color-text-light: #64748b;
    --color-bg: #f8fafc;
    --color-white: #ffffff;
    --color-border: #e2e8f0;
    --color-success: #10b981;
    --color-danger: #dc2626;
    --color-danger-dark: #b91c1c;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.08);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;

    --header-height: 70px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    padding-top: var(--header-height);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-white);
    box-shadow: var(--shadow-header);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.25rem;
    transition: color var(--transition-fast);
}

.logo:hover {
    color: var(--color-primary);
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
}

.logo-text {
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    position: relative;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 0.938rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-text);
    background-color: #f5f5f7;
}

.nav-link--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.nav-link--primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.nav-link--logout {
    color: var(--color-danger);
}

.nav-link--logout:hover {
    background-color: #fef2f2;
    color: var(--color-danger-dark);
}

.nav-close {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.menu-toggle:hover {
    background-color: #f5f5f7;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 999;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    padding: 80px 24px;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main-content {
    padding: 60px 0 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* ========================================
   PROPERTIES GRID (HOME)
   ======================================== */

.properties-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 24px;
}

.property-card {
    direction: ltr;
    width: 100%;
    max-width: 100%;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
}

.home-page .properties-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.home-page .property-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.home-page .property-card__content {
    padding: 22px;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.property-card__link {
    display: block;
}

.property-card__image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.property-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-card__image {
    transform: scale(1.05);
}

.property-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background-color: var(--color-success);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-card__content {
    padding: 20px;
}

.property-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.property-card__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.property-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ========================================
   EMPTY STATE
   ======================================== */

.empty-state {
    text-align: center;
    padding: 80px 24px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--color-border);
    direction: ltr;
}

.empty-state__icon {
    width: 64px;
    height: 64px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.empty-state__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.empty-state__text {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.empty-state__btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.938rem;
    border-radius: 50px;
    transition: background-color var(--transition);
}

.empty-state__btn:hover {
    background-color: var(--color-primary-dark);
}

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

.site-footer {
    margin-top: 80px;
    background: linear-gradient(180deg, #0f172a 0%, #1a1a2e 100%);
    color: #cbd5e1;
    padding: 56px 24px 24px;
    font-size: 0.95rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 340px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-logo:hover {
    color: var(--color-primary);
}

.footer-logo-icon {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

.footer-tagline {
    margin-top: 10px;
    color: #94a3b8;
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    align-items: center;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
    transition: color var(--transition-fast);
}

.footer-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition);
}

.footer-nav a:hover {
    color: #fff;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.85rem;
}

.footer-location {
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 20px;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 28px;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-nav {
        justify-content: center;
        gap: 6px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 1024px) {
    .property-card {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 16px;
        right: 16px;
        width: 260px;
        max-height: calc(100vh - 32px);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 56px 16px 20px;
        background-color: var(--color-white);
        border-radius: var(--radius-lg);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        transform: translateX(120%);
        opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        background: none;
        border: none;
        cursor: pointer;
        border-radius: var(--radius-sm);
        transition: background-color var(--transition-fast);
    }

    .nav-close:hover {
        background-color: #f5f5f7;
    }

    .nav-close svg {
        width: 20px;
        height: 20px;
        color: var(--color-text-light);
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .nav-link--primary {
        margin-top: 8px;
        text-align: center;
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .main-content {
        padding: 40px 0 60px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .properties-grid {
        gap: 16px;
    }

    .property-card {
        width: calc(50% - 8px);
        min-width: unset;
    }

    .property-card__content {
        padding: 14px;
    }

    .property-card__title {
        font-size: 0.95rem;
    }

    .property-card__location {
        font-size: 0.8rem;
    }

    .property-card__price {
        font-size: 1.05rem;
    }

    .property-card__badge {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 16px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav {
        width: calc(100% - 32px);
        max-width: 280px;
    }

    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 48px 16px;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 0.938rem;
    }

    .properties-grid {
        gap: 12px;
    }

    .property-card {
        width: calc(50% - 6px);
    }

    .property-card__content {
        padding: 12px;
    }

    .property-card__title {
        font-size: 0.875rem;
        -webkit-line-clamp: 1;
    }

    .property-card__location {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .property-card__icon {
        width: 12px;
        height: 12px;
    }

    .property-card__price {
        font-size: 0.95rem;
    }

    .property-card__badge {
        top: 8px;
        left: 8px;
        padding: 3px 6px;
        font-size: 0.6rem;
    }

    .empty-state {
        padding: 60px 20px;
    }
}

/* ========================================
   AUTH PAGES
   ======================================== */

.auth-page {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height) - 100px);
    padding: 40px 24px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    margin-bottom: 20px;
}

.auth-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
}

.auth-icon--register {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 0.938rem;
    color: var(--color-text-light);
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.875rem;
    font-weight: 500;
}

.alert--error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert--success {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.alert__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-text-light);
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 14px 14px 14px 46px;
    font-size: 0.938rem;
    color: var(--color-text);
    background-color: #f8fafc;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.938rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-primary-dark);
}

.btn--primary:active {
    transform: scale(0.98);
}

.btn--full {
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.auth-footer p {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.auth-link {
    color: var(--color-primary);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.auth-link:hover {
    color: var(--color-primary-dark);
}

@media (max-width: 480px) {
    .auth-container {
        padding: 24px 16px;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .auth-icon {
        width: 56px;
        height: 56px;
    }

    .auth-icon svg {
        width: 24px;
        height: 24px;
    }

    .auth-title {
        font-size: 1.25rem;
    }

    .form-input {
        padding: 12px 12px 12px 42px;
    }

    .btn {
        padding: 12px 20px;
    }
}

/* ========================================
   PROPERTY DETAIL PAGE
   ======================================== */

.property-detail {
    padding: 32px 0 10px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.breadcrumb__link {
    color: var(--color-primary);
    transition: color var(--transition-fast);
}

.breadcrumb__link:hover {
    color: var(--color-primary-dark);
}

.breadcrumb__separator {
    width: 16px;
    height: 16px;
    color: var(--color-text-light);
}

.breadcrumb__current {
    color: var(--color-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.property-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.property-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-main {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: #f1f5f9;
}

.gallery-main__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main__badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    font-size: 0.813rem;
    font-weight: 500;
    border-radius: 20px;
}

.gallery-main__badge svg {
    width: 16px;
    height: 16px;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: none;
    transition: border-color var(--transition-fast), opacity var(--transition-fast);
}

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

.gallery-thumb:hover {
    opacity: 0.8;
}

.gallery-thumb--active {
    border-color: var(--color-primary);
}

.gallery-placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #f1f5f9;
    border-radius: var(--radius-lg);
    color: var(--color-text-light);
}

.gallery-placeholder svg {
    width: 48px;
    height: 48px;
}

.property-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.property-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-badge {
    display: inline-block;
    width: fit-content;
    padding: 6px 12px;
    background-color: #ecfdf5;
    color: #047857;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.938rem;
    color: var(--color-text-light);
}

.property-location svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.property-price-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    background-color: #f0f9ff;
    border-radius: var(--radius-md);
    border: 1px solid #bae6fd;
}

.property-price-label {
    font-size: 0.813rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.property-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-section__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

/* =========================================================
   DESCRIPTION BOX
========================================================= */

.property-description {
    position: relative;

    background:
        linear-gradient(180deg,
            #ffffff,
            #f8fafc);

    border:
        1px solid #e2e8f0;

    border-radius: 24px;

    padding: 28px;

    color: #475569;

    line-height: 2;
    font-size: 1rem;

    box-shadow:
        0 10px 25px rgba(15, 23, 42, .04);
}

.property-description::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 6px;
    height: 100%;

    border-radius: 24px 0 0 24px;

    background:
        linear-gradient(180deg,
            #2563eb,
            #1d4ed8);
}

/* MOBILE */

@media (max-width: 768px) {

    .property-description {
        padding: 22px;
        border-radius: 20px;
    }

}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.contact-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50%;
}

.contact-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-card__label {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.contact-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background-color: #25d366;
    color: var(--color-white);
    font-size: 0.938rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-whatsapp:hover {
    background-color: #1da851;
}

.btn-whatsapp:active {
    transform: scale(0.98);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

.property-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.property-error__icon {
    width: 64px;
    height: 64px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.property-error__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.property-error__text {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .property-layout {
        grid-template-columns: 1fr 350px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .property-detail {
        padding: 24px 0 60px;
    }

    .property-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* En celular: primero fotos (arriba) y luego info */
    .property-info {
        order: 2;
    }

    .property-gallery {
        order: 1;
    }

    .gallery-main {
        aspect-ratio: 16 / 9;
    }

    .gallery-thumb {
        width: 70px;
        height: 52px;
    }

    .property-title {
        font-size: 1.25rem;
    }

    .property-price {
        font-size: 1.75rem;
    }

    .contact-card {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 16px;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .contact-card__header {
        display: none;
    }

    .property-detail .container {
        padding-bottom: 100px;
    }
}


@media (max-width: 480px) {
    .breadcrumb__current {
        max-width: 120px;
    }

    .property-price-box {
        padding: 16px;
    }

    .property-price {
        font-size: 1.5rem;
    }

    .gallery-thumb {
        width: 60px;
        height: 45px;
    }
}

/* ========================================
   PUBLISH PROPERTY PAGE
   ======================================== */

.publish-page {
    padding: 40px 0 80px;
    background-color: var(--color-bg);
}

.publish-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.publish-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.sidebar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: var(--radius-lg);
    color: var(--color-white);
}

.sidebar-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 16px;
}

.sidebar-card__icon svg {
    width: 28px;
    height: 28px;
}

.sidebar-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.sidebar-card__text {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.5;
}

.sidebar-tips {
    padding: 24px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.sidebar-tips__title {
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

.sidebar-tips__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-tips__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

.sidebar-tips__list svg {
    width: 18px;
    height: 18px;
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 1px;
}

.publish-form-container {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 40px;
}

.publish-header {
    margin-bottom: 32px;
}

.publish-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.publish-subtitle {
    font-size: 0.938rem;
    color: var(--color-text-light);
}

.publish-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label__required {
    color: var(--color-danger);
    margin-left: 2px;
}

.form-label__hint {
    font-weight: 400;
    color: var(--color-text-light);
    font-size: 0.813rem;
    margin-left: 4px;
}

.input-wrapper--select {
    position: relative;
}

.form-select {
    appearance: none;
    padding-right: 44px;
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-text-light);
    pointer-events: none;
}

.form-textarea {
    width: 100%;
    padding: 14px;
    font-size: 0.938rem;
    font-family: inherit;
    color: var(--color-text);
    background-color: #f8fafc;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    resize: vertical;
    min-height: 120px;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-textarea::placeholder {
    color: #94a3b8;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
}

.file-input-hidden {
    display: none;
}

.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 24px;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    background-color: #f8fafc;
    cursor: pointer;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--color-primary);
    background-color: #eff6ff;
}

.upload-area__icon {
    width: 48px;
    height: 48px;
    color: var(--color-text-light);
}

.upload-area__text {
    font-size: 0.938rem;
    color: var(--color-text);
}

.upload-area__btn {
    padding: 10px 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.upload-area__btn:hover {
    background-color: var(--color-primary-dark);
}

.upload-area__hint {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: #f1f5f9;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item__remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.preview-item__remove:hover {
    background-color: var(--color-danger);
}

.preview-item__remove svg {
    width: 14px;
    height: 14px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
    margin-top: 8px;
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-text-light);
    border: 2px solid var(--color-border);
}

.btn--secondary:hover {
    background-color: #f8fafc;
    color: var(--color-text);
    border-color: #cbd5e1;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn--primary svg {
    margin-right: 8px;
}

@media (max-width: 1024px) {
    .publish-layout {
        grid-template-columns: 240px 1fr;
        gap: 32px;
    }

    .publish-form-container {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .publish-page {
        padding: 18px 0 52px;
    }

    .publish-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .publish-sidebar {
        display: none;
    }

    .publish-form-container {
        padding: 22px;
    }

    .publish-header {
        margin-bottom: 20px;
    }

    .publish-title {
        font-size: 1.35rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-actions {
        flex-direction: column;
        gap: 12px;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .btn--secondary {
        order: 2;
    }

    .upload-area {
        padding: 28px 16px;
    }

    .preview-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .preview-item {
        border-radius: 10px;
    }
}


@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .publish-form-container {
        padding: 18px 14px;
    }

    .publish-title {
        font-size: 1.25rem;
    }

    .form-textarea {
        min-height: 110px;
    }

    /* En celulares: 2 columnas */
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .preview-item {
        aspect-ratio: 1 / 1;
    }


    .upload-area {
        padding: 26px 14px;
    }
}


/* ========================================
   DASHBOARD PAGE
   ======================================== */

.dashboard {
    padding: 32px 0 80px;
    background-color: var(--color-bg);
    min-height: calc(100vh - var(--header-height));
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.dashboard-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
}

.dashboard-subtitle {
    font-size: 0.938rem;
    color: var(--color-text-light);
}

.dashboard-header .btn svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.user-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.user-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
    flex-shrink: 0;
}

.user-card__info {
    overflow: hidden;
}

.user-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card__phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.813rem;
    color: var(--color-text-light);
}

.user-card__phone svg {
    width: 14px;
    height: 14px;
}

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

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.stat-card__number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card__label {
    font-size: 0.688rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card--success .stat-card__number {
    color: var(--color-success);
}

.stat-card--warning .stat-card__number {
    color: #f59e0b;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.quick-link:hover {
    background-color: #f5f5f7;
}

.quick-link svg {
    width: 18px;
    height: 18px;
    color: var(--color-text-light);
}

.quick-link--danger {
    color: var(--color-danger);
}

.quick-link--danger svg {
    color: var(--color-danger);
}

.quick-link--danger:hover {
    background-color: #fef2f2;
}

.dashboard-content {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.section-header__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
}

.section-header__count {
    font-size: 0.813rem;
    color: var(--color-text-light);
}

.properties-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.property-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: #f8fafc;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.property-row:hover {
    background-color: #f1f5f9;
}

.property-row__image {
    width: 100px;
    height: 75px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background-color: #e2e8f0;
}

.property-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-row__no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
}

.property-row__no-image svg {
    width: 32px;
    height: 32px;
}

.property-row__content {
    flex: 1;
    min-width: 0;
}

.property-row__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.property-row__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

.status {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.688rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    flex-shrink: 0;
}

.status--success {
    background-color: #ecfdf5;
    color: #047857;
}

.status--warning {
    background-color: #fffbeb;
    color: #b45309;
}

.status--danger {
    background-color: #fef2f2;
    color: #b91c1c;
}

.property-row__details {
    display: flex;
    align-items: center;
    gap: 16px;
}

.property-row__price {
    font-size: 0.938rem;
    font-weight: 700;
    color: var(--color-primary);
}

.property-row__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.813rem;
    color: var(--color-text-light);
}

.property-row__location svg {
    width: 14px;
    height: 14px;
}

.property-row__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.btn-icon:hover {
    background-color: var(--color-white);
    color: var(--color-text);
}

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

.btn-icon--danger:hover {
    background-color: #fef2f2;
    color: var(--color-danger);
}

@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .dashboard {
        padding: 24px 0 60px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }

    .dashboard-header .btn {
        justify-content: center;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dashboard-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .user-card {
        flex: 1;
        min-width: 200px;
    }

    .stats-grid {
        flex: 1;
        min-width: 200px;
    }

    .quick-links {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .quick-link {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .dashboard-content {
        padding: 20px 16px;
    }

    .property-row {
        flex-wrap: wrap;
        padding: 12px;
    }

    .property-row__image {
        width: 80px;
        height: 60px;
    }

    .property-row__content {
        flex: 1;
        min-width: calc(100% - 96px);
    }

    .property-row__actions {
        width: 100%;
        justify-content: flex-end;
        padding-top: 12px;
        margin-top: 12px;
        border-top: 1px solid var(--color-border);
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        width: 100%;
    }

    .user-card {
        width: 100%;
    }

    .property-row__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .property-row__details {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* ========================================
   PROPERTIES LISTING PAGE
   ======================================== */

.prop-listing-page {
    min-height: calc(100vh - var(--header-height));
    background-color: var(--color-bg);
}

/* Hero */
.prop-hero {
    position: relative;
    padding: 56px 24px 48px;
    overflow: hidden;
    background:
        linear-gradient(rgba(15, 23, 42, .70), rgba(15, 23, 42, .78)),
        url("../img/hero-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.prop-hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.prop-hero__content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.prop-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    line-height: 1.2;
}

.prop-hero__subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

/* Body layout */
.prop-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
    padding-top: 32px;
    padding-bottom: 80px;
}

/* Sidebar */
.prop-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 16px);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform var(--transition);
}

.prop-sidebar__inner {
    padding: 24px;
}

.prop-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.prop-sidebar__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.prop-sidebar__title svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

.prop-sidebar__clear {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-danger);
    transition: color var(--transition-fast);
}

.prop-sidebar__clear:hover {
    color: var(--color-danger-dark);
}

/* Filter sections */
.prop-filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prop-filter-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prop-filter-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Search input */
.prop-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.prop-search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--color-text-light);
    pointer-events: none;
}

.prop-search-input {
    width: 100%;
    padding: 10px 36px 10px 36px;
    font-size: 0.875rem;
    color: var(--color-text);
    background-color: #f8fafc;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
    outline: none;
}

.prop-search-input::placeholder {
    color: #94a3b8;
}

.prop-search-input:focus {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.prop-search-clear {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
    border-radius: 50%;
    transition: color var(--transition-fast), background-color var(--transition-fast);
    padding: 0;
}

.prop-search-clear:hover {
    color: var(--color-danger);
    background-color: #fef2f2;
}

.prop-search-clear svg {
    width: 12px;
    height: 12px;
}

/* Select */
.prop-select-wrap {
    position: relative;
}

.prop-select {
    width: 100%;
    padding: 10px 36px 10px 12px;
    font-size: 0.875rem;
    color: var(--color-text);
    background-color: #f8fafc;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.prop-select:focus {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.prop-select-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--color-text-light);
    pointer-events: none;
}

/* Price range */
.prop-price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prop-price-field {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.prop-price-symbol {
    position: absolute;
    left: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-light);
    pointer-events: none;
}

.prop-price-input {
    width: 100%;
    padding: 10px 10px 10px 22px;
    font-size: 0.875rem;
    color: var(--color-text);
    background-color: #f8fafc;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.prop-price-input:focus {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.prop-price-input::placeholder {
    color: #94a3b8;
}

.prop-price-sep {
    flex-shrink: 0;
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Filter submit button */
.prop-filter-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    margin-top: 4px;
}

.prop-filter-submit:hover {
    background-color: var(--color-primary-dark);
}

.prop-filter-submit:active {
    transform: scale(0.98);
}

.prop-filter-submit svg {
    width: 16px;
    height: 16px;
}

/* Main area */
.prop-main {
    min-width: 0;
}

/* Toolbar */
.prop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.prop-toolbar__left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.prop-filter-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    background-color: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.prop-filter-toggle:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.prop-filter-toggle svg {
    width: 15px;
    height: 15px;
}

.prop-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
}

.prop-results-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prop-results-text strong {
    color: var(--color-text);
    font-weight: 700;
}

.prop-results-page {
    font-size: 0.8rem;
}

/* View toggle */
.prop-view-toggle {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.prop-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: none;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.prop-view-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.prop-view-btn--active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.prop-view-btn svg {
    width: 16px;
    height: 16px;
}

/* Active filters */
.prop-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.prop-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary);
    background-color: var(--color-primary-light);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 50px;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
}

.prop-tag:hover {
    background-color: #dbeafe;
    border-color: rgba(37, 99, 235, 0.4);
}

.prop-tag svg {
    width: 14px;
    height: 14px;
}

.prop-tag__close {
    opacity: 0.6;
}

.prop-tag:hover .prop-tag__close {
    opacity: 1;
}

.prop-tag--clear {
    color: var(--color-danger);
    background-color: #fef2f2;
    border-color: rgba(220, 38, 38, 0.2);
}

.prop-tag--clear:hover {
    background-color: #fee2e2;
    border-color: rgba(220, 38, 38, 0.4);
}

/* Properties Grid */
.prop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.prop-grid--list {
    grid-template-columns: 1fr;
}

/* Property Card */
.prop-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    animation: cardFadeIn 0.4s ease both;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(37, 99, 235, 0.15);
}

.prop-card__inner {
    display: block;
}

/* Image */
.prop-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f1f5f9;
}

.prop-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prop-card:hover .prop-card__img {
    transform: scale(1.06);
}

.prop-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.prop-card__img-placeholder svg {
    width: 40px;
    height: 40px;
}

/* Image overlay */
.prop-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 16px;
    opacity: 0;
    transition: opacity var(--transition);
}

.prop-card:hover .prop-card__overlay {
    opacity: 1;
}

.prop-card__view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 50px;
    transform: translateY(8px);
    transition: transform var(--transition);
}

.prop-card:hover .prop-card__view-btn {
    transform: translateY(0);
}

.prop-card__view-btn svg {
    width: 14px;
    height: 14px;
}

/* Badges */
.prop-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prop-card__badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 50px;
}

.prop-card__badge--type {
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--color-text);
    backdrop-filter: blur(4px);
}

.prop-card__photo-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background-color: rgba(0, 0, 0, 0.55);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.prop-card__photo-count svg {
    width: 12px;
    height: 12px;
}

/* Card content */
.prop-card__content {
    padding: 16px 18px 18px;
}

.prop-card__meta {
    margin-bottom: 8px;
}

.prop-card__location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

.prop-card__location svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: var(--color-primary);
}

.prop-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.prop-card__desc {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prop-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.prop-card__price-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.prop-card__price-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
}

.prop-card__price {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.3px;
}

.prop-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    color: var(--color-primary);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
    flex-shrink: 0;
}

.prop-card:hover .prop-card__arrow {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateX(2px);
}

.prop-card__arrow svg {
    width: 14px;
    height: 14px;
}

/* List view cards */
.prop-grid--list {
    grid-template-columns: 1fr;
    gap: 24px;
}

.prop-grid--list .prop-card__inner {
    display: grid;
    grid-template-columns: minmax(220px, 260px) 1fr;
    gap: 0;
    align-items: stretch;
}

.prop-grid--list .prop-card__img-wrap {
    aspect-ratio: 4 / 3;
    min-height: auto;
    width: 100%;
}

.prop-grid--list .prop-card__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 20px;
}

.prop-grid--list .prop-card__title {
    font-size: 1.125rem;
    -webkit-line-clamp: 1;
}

.prop-grid--list .prop-card__desc {
    -webkit-line-clamp: 3;
    margin-bottom: 0;
}

.prop-grid--list .prop-card__footer {
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

/* Pagination */
.prop-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.prop-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    background-color: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.prop-page-btn:not(.prop-page-btn--disabled):hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.prop-page-btn--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.prop-page-btn svg {
    width: 16px;
    height: 16px;
}

.prop-page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.prop-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-light);
    background-color: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.prop-page-num:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.prop-page-num--active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.prop-page-num--active:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.prop-page-dots {
    font-size: 0.875rem;
    color: var(--color-text-light);
    padding: 0 4px;
    pointer-events: none;
}

/* Empty state */
.prop-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--color-border);
}

.prop-empty__icon {
    width: 72px;
    height: 72px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.prop-empty__icon svg {
    width: 100%;
    height: 100%;
}

.prop-empty__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.prop-empty__text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    max-width: 420px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.prop-empty__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.prop-empty__btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* Sidebar overlay (mobile) */
.prop-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1999;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.prop-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}



/* ========================================
   PROP LISTING RESPONSIVE
   ======================================== */

@media (max-width: 1100px) {
    .prop-body {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }

    .prop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .prop-grid--list .prop-card__inner {
        grid-template-columns: minmax(200px, 240px) 1fr;
    }
}

@media (max-width: 900px) {
    .prop-body {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    /* Evita que el panel de filtros se vaya debajo del header fijo */
    body {
        padding-top: var(--header-height);
    }

    /* Asegura que el menú de filtros vaya POR ENCIMA del header */
    .prop-grid.prop-grid--list {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .prop-grid--list .prop-card__inner {
        display: block;
    }

    .prop-grid--list .prop-card__img-wrap {
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .prop-grid--list .prop-card__content {
        display: block;
        padding: 16px 18px 18px;
    }

    .prop-grid--list .prop-card__title {
        font-size: 1rem;
        -webkit-line-clamp: 2;
    }

    .prop-grid--list .prop-card__desc {
        -webkit-line-clamp: 2;
        margin-bottom: 12px;
    }

    .prop-sidebar {
        z-index: 3001;
    }

    .prop-sidebar-overlay {
        z-index: 3000;
    }

    /* En celular: que se vea de a dos */
    .prop-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Ocultar botón de lista en celulares */
    .prop-view-btn[aria-label="Vista lista"],
    #viewList {
        display: none !important;
    }

    .prop-sidebar {

        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        border-radius: 0;
        overflow-y: auto;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform var(--transition);
    }

    .prop-sidebar.open {
        display: block;
        transform: translateX(0);
    }

    .prop-sidebar-overlay {
        display: block;
    }

    .prop-filter-toggle {
        display: inline-flex;
    }

    .prop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .prop-hero {
        padding: 40px 16px 36px;
    }

    .prop-hero__title {
        font-size: 1.5rem;
    }

    .prop-body {
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .prop-toolbar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 12px;
    }

    .prop-toolbar__left {
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }

    .prop-results-text {
        font-size: 0.8125rem;
    }

    .prop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .prop-card__content,
    .prop-grid--list .prop-card__content {
        padding: 12px 14px 14px;
    }

    .prop-card__title,
    .prop-grid--list .prop-card__title {
        font-size: 0.875rem;
    }

    .prop-card__desc,
    .prop-grid--list .prop-card__desc {
        display: none;
    }

    .prop-card__price {
        font-size: 1rem;
    }

    .prop-card__location {
        font-size: 0.75rem;
    }

    .prop-pagination {
        gap: 6px;
    }

    .prop-page-btn span {
        display: none;
    }

    .prop-page-btn {
        padding: 10px 12px;
    }

    .prop-page-num {
        min-width: 34px;
        height: 34px;
    }
}

@media (max-width: 400px) {

    .prop-grid,
    .prop-grid.prop-grid--list {
        grid-template-columns: repeat(2, 1fr);
    }

    .prop-grid--list .prop-card__inner {
        display: block;
    }

    .prop-grid--list .prop-card__img-wrap {
        aspect-ratio: 4 / 3;
        height: auto;
    }
}


/* ======================================== CHECKBOX STYLES ======================================== */
.form-terms {
    margin-top: 4px;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.4;
    cursor: pointer;
}

.terms-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary);
    cursor: pointer;
    flex-shrink: 0;
}

/* =========================================================
   HOME MODERNO
========================================================= */

body {
    font-family: 'Inter', sans-serif;
}

/* ALERT */

.floating-alert {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    background: #10b981;
    color: white;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);
    transition: .4s ease;
}

/* HERO */

.hero-modern {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(rgba(15, 23, 42, .70), rgba(15, 23, 42, .78)),
        url("../img/hero-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-modern__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right,
            rgba(37, 99, 235, .25),
            transparent 40%);
}

.hero-modern__container {
    position: relative;
    z-index: 2;
}

.hero-modern__content {
    max-width: 760px;
}

.hero-modern__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: .9rem;
    margin-bottom: 24px;
}

.hero-modern__title {
    font-size: clamp(2.5rem, 1vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
}

.hero-modern__subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 36px;
    max-width: 620px;
}

.hero-modern__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-modern__btn {
    padding: 15px 28px;
    border-radius: 14px;
}

.hero-modern__btn-secondary {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    color: white;
}

.hero-modern__btn-secondary:hover {
    background: rgba(255, 255, 255, .15);
}

/* STATS */

.home-stats {
    margin-top: -55px;
    position: relative;
    z-index: 10;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.home-stat-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    text-align: center;
}

.home-stat-card h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.home-stat-card p {
    color: var(--color-text-light);
    font-weight: 500;
}

/* HEADER */

.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 34px;
}

.section-title-modern {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-subtitle-modern {
    color: var(--color-text-light);
}

.section-link {
    color: var(--color-primary);
    font-weight: 700;
}

/* GRID */

.properties-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

/* CARD */

.property-modern-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .06);
    transition: .35s ease;
}

.property-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.property-modern-card__link {
    display: block;
}

.property-modern-card__image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.property-modern-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.property-modern-card:hover .property-modern-card__image {
    transform: scale(1.08);
}

.property-modern-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, .92);
    color: #111827;
    font-size: .8rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.property-modern-card__content {
    padding: 22px;
}

.property-modern-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.4;
}

.property-modern-card__location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    margin-bottom: 20px;
    font-size: .95rem;
}

.property-modern-card__location svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.property-modern-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-modern-card__price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
}

.property-modern-card__button {
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 700;
    font-size: .9rem;
}

/* EMPTY */

.empty-state-modern {
    background: white;
    padding: 80px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .05);
}

.empty-state-modern h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.empty-state-modern p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

/* RESPONSIVE */

@media (max-width: 1024px) {

    .properties-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .hero-modern {
        min-height: auto;
        padding: 120px 0 90px;
    }

    .hero-modern__title {
        font-size: 2.8rem;
    }

    .hero-modern__subtitle {
        font-size: 1rem;
    }

    .home-stats {
        grid-template-columns: 1fr;
        margin-top: -35px;
    }

    .section-header-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .properties-grid-modern {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {

    .hero-modern__title {
        font-size: 1.5rem;
    }

    .hero-modern__actions {
        flex-direction: column;
    }

    .hero-modern__btn,
    .hero-modern__btn-secondary {
        width: 100%;
        text-align: center;
    }

    .property-modern-card__content {
        padding: 18px;
    }

}

/* =========================================================
   LIGHTBOX
========================================================= */

.gallery-main__image {
    cursor: pointer;
}

.image-lightbox {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, .92);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition: .3s ease;

    z-index: 999999;

    padding: 40px;
}

.image-lightbox--show {
    opacity: 1;
    visibility: visible;
}

.image-lightbox__img {
    max-width: 95%;
    max-height: 92vh;

    object-fit: contain;

    border-radius: 20px;

    transform: scale(.92);
    transition: .3s ease;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .45);
}

.image-lightbox--show .image-lightbox__img {
    transform: scale(1);
}

.image-lightbox__close {
    position: absolute;
    top: 22px;
    right: 22px;

    width: 56px;
    height: 56px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);

    color: white;

    font-size: 1.8rem;
    font-weight: 700;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .25s ease;

    z-index: 1000001;
}

.image-lightbox__close:hover {
    background: rgba(255, 255, 255, .22);
    transform: rotate(90deg);
}

.detail-overlay__frame {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.detail-overlay__nav {
    z-index: 1000002;
}

        padding: 20px;
    }

    .image-lightbox__close {
        width: 50px;
        height: 50px;
        top: 16px;
        right: 16px;
    }

}

/* =========================================================
   MOBILE SECTION HEADER
========================================================= */

@media (max-width: 768px) {

    .section-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 8px;

        margin-bottom: 22px;
    }

    .section-title {
        order: 1;
    }

    .section-subtitle {
        order: 2;

        font-size: 1rem;
        line-height: 1.5;

        margin-top: 0;
    }

}

/* =========================================================
   CONTACT CARD PREMIUM
========================================================= */

.property-contact-card {
    position: relative;

    overflow: hidden;

    border-radius: 30px;

    background:
        linear-gradient(135deg,
            #1e293b,
            #0f172a);

    padding: 34px;

    margin-top: 28px;

    box-shadow:
        0 20px 45px rgba(15, 23, 42, .22);
}

.property-contact-card__bg {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at top right,
            rgba(37, 211, 102, .22),
            transparent 35%);
}

.property-contact-card__content {
    position: relative;
    z-index: 2;
}

.property-contact-card__top {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 26px;
}

.property-contact-card__avatar {
    width: 68px;
    height: 68px;

    border-radius: 50%;

    background:
        linear-gradient(135deg,
            #25D366,
            #1ebe5d);

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    box-shadow:
        0 15px 30px rgba(37, 211, 102, .28);
}

.property-contact-card__avatar svg {
    width: 30px;
    height: 30px;
    color: white;
}

.property-contact-card__title {
    color: white;

    font-size: 1.35rem;
    font-weight: 800;

    margin-bottom: 6px;
}

.property-contact-card__subtitle {
    color: rgba(255, 255, 255, .7);

    font-size: .96rem;
}

.property-contact-card__button {
    width: 100%;

    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    border-radius: 18px;

    background:
        linear-gradient(135deg,
            #25D366,
            #1ebe5d);

    color: white;

    font-size: 1rem;
    font-weight: 700;

    transition: .25s ease;

    box-shadow:
        0 15px 30px rgba(37, 211, 102, .25);
}

.property-contact-card__button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 40px rgba(37, 211, 102, .32);
}

.property-contact-card__button svg {
    width: 24px;
    height: 24px;
}

/* MOBILE */

@media (max-width: 768px) {

    .property-contact-card {
        padding: 26px;
    }

    .property-contact-card__top {
        flex-direction: column;
        text-align: center;
    }

}

/* Premium property detail */
.property-detail--premium {
    padding: 0 0 72px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f8fafc 100%)
}

.detail-hero {
    padding: 34px 0 92px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #0f766e 100%);
    color: #fff;
    position: relative;
    overflow: hidden
}

.detail-hero:after {
    content: "";
    position: absolute;
    inset: auto -10% -42% -10%;
    height: 220px;
    background: #f8fafc;
    border-radius: 50% 50% 0 0/34% 34% 0 0
}

.detail-hero__inner {
    position: relative;
    z-index: 1
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
    min-width: 0
}

.detail-breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-weight: 700
}

.detail-breadcrumb span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.detail-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: end
}

.detail-hero__content--simple {
    display: block
}

.detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    font-size: .78rem;
    font-weight: 800
}

.detail-badge--primary {
    background: #fff;
    color: #1e3a8a
}

.detail-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(1.75rem, 3.2vw, 3rem);
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 800
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: rgba(255, 255, 255, .86);
    font-weight: 700
}

.detail-location svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0
}

.detail-price-panel {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 22px;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18)
}

.detail-price-panel span,
.detail-price-panel small {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .76rem;
    letter-spacing: .07em
}

.detail-price-panel strong {
    display: block;
    margin: 7px 0 4px;
    font-size: 2.25rem;
    line-height: 1
}

.detail-shell {
    margin-top: -38px;
    position: relative;
    z-index: 2
}

.detail-gallery-card {
    max-width: 980px;
    margin: 0 auto;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .12);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .08)
}

.detail-gallery-main {
    position: relative;
    aspect-ratio: 16/5.8;
    max-height: 390px;
    background: #e2e8f0;
    overflow: hidden
}

.detail-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer
}

.detail-gallery-expand {
    position: absolute;
    right: 18px;
    bottom: 18px;
    border: 0;
    border-radius: 999px;
    padding: 11px 15px;
    background: rgba(15, 23, 42, .82);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(10px)
}

.detail-gallery-placeholder {
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64748b;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    font-weight: 800
}

.detail-gallery-placeholder svg {
    width: 52px;
    height: 52px
}

.detail-gallery-placeholder--small {
    min-height: 0;
    font-size: .9rem
}

.detail-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 8px;
    padding: 10px;
    background: #fff
}

.detail-thumb {
    height: 58px;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: #e2e8f0;
    cursor: pointer;
    opacity: .76;
    transition: opacity .18s ease, border-color .18s ease, transform .18s ease
}

.detail-thumb:hover,
.detail-thumb--active {
    opacity: 1;
    border-color: #2563eb;
    transform: translateY(-1px)
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.detail-price-card {
    max-width: 980px;
    margin: 18px auto 0;
    padding: 18px 22px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.detail-price-card span,
.detail-price-card small {
    color: #64748b;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em
}

.detail-price-card strong {
    color: #2563eb;
    font-size: 2rem;
    line-height: 1
}

.detail-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    margin-top: 22px;
    align-items: start
}

.detail-main-card,
.detail-contact-panel {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .08)
}

.detail-main-card {
    padding: 28px
}

.detail-section__header span,
.detail-related__header span {
    display: block;
    color: #2563eb;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 7px
}

.detail-section__header h2,
.detail-related__header h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.55rem;
    line-height: 1.2
}

.detail-description {
    margin-top: 18px;
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%
}

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

.detail-highlight {
    padding: 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0
}

.detail-highlight span {
    display: block;
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 7px
}

.detail-highlight strong {
    display: block;
    color: #0f172a;
    line-height: 1.25
}

.detail-contact-panel {
    position: sticky;
    top: 96px;
    padding: 22px
}

.detail-contact-panel__top {
    display: flex;
    gap: 12px;
    align-items: center
}

.detail-contact-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb
}

.detail-contact-avatar svg {
    width: 24px;
    height: 24px
}

.detail-contact-panel__top span,
.detail-contact-price span {
    display: block;
    color: #64748b;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase
}

.detail-contact-panel__top strong {
    display: block;
    color: #0f172a;
    margin-top: 3px
}

.detail-contact-price {
    margin: 22px 0;
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0
}

.detail-contact-price strong {
    display: block;
    margin-top: 5px;
    color: #2563eb;
    font-size: 2rem;
    line-height: 1
}

.detail-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 18px;
    border-radius: 16px;
    background: #16a34a;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(22, 163, 74, .24);
    margin-top: 24px
}

.detail-whatsapp svg {
    width: 20px;
    height: 20px
}

.detail-contact-note {
    margin: 14px 0 0;
    color: #64748b;
    font-size: .92rem;
    line-height: 1.55
}

.detail-related {
    margin-top: 48px
}

.detail-related__header {
    margin-bottom: 18px
}

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

.detail-related-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .08);
    transition: transform .18s ease, box-shadow .18s ease
}

.detail-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, .12)
}

.detail-related-card a {
    text-decoration: none;
    color: inherit
}

.detail-related-card__image {
    aspect-ratio: 16/10;
    background: #e2e8f0
}

.detail-related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.detail-related-card__body {
    padding: 16px
}

.detail-related-card__body span {
    color: #64748b;
    font-size: .82rem;
    font-weight: 800
}

.detail-related-card__body h3 {
    margin: 7px 0 12px;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.detail-related-card__body strong {
    color: #2563eb;
    font-size: 1.15rem
}

.property-error--premium {
    margin: 60px 0;
    border: 1px solid rgba(15, 23, 42, .08)
}

@media (max-width: 980px) {

    .detail-hero__content,
    .detail-content-grid {
        grid-template-columns: 1fr
    }

    .detail-price-panel {
        max-width: 360px
    }

    .detail-contact-panel {
        position: static
    }

    .detail-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .detail-highlights {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 640px) {
    .property-detail--premium {
        padding-bottom: 42px
    }

    .detail-hero {
        padding: 24px 0 58px
    }

    .detail-hero h1 {
        font-size: 1.65rem
    }

    .detail-price-card {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 14px;
        padding: 16px
    }

    .detail-price-card strong {
        font-size: 1.7rem
    }

    .detail-price-panel strong {
        font-size: 1.8rem
    }

    .detail-shell {
        margin-top: -28px
    }

    .detail-gallery-card,
    .detail-main-card,
    .detail-contact-panel {
        border-radius: 16px
    }

    .detail-gallery-main {
        aspect-ratio: 16/9;
        max-height: 250px
    }

    .detail-thumbs {
        display: flex;
        overflow-x: auto
    }

    .detail-thumb {
        width: 66px;
        min-width: 66px;
        height: 50px
    }

    .detail-main-card {
        padding: 20px
    }

    .detail-highlights,
    .detail-related-grid {
        grid-template-columns: 1fr
    }

    .detail-content-grid {
        gap: 18px
    }

    .detail-related {
        margin-top: 34px
    }
}

/* Refined property showcase */
.detail-shell--showcase {
    margin-top: 0;
    padding-top: 28px
}

.detail-breadcrumb--dark {
    margin-bottom: 18px;
    color: #64748b
}

.detail-breadcrumb--dark a {
    color: #2563eb
}

.detail-breadcrumb--dark span:last-child {
    color: #334155
}

.detail-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    gap: 22px;
    align-items: stretch;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 52px rgba(15, 23, 42, .1)
}

.detail-showcase__media {
    min-width: 0
}

.detail-showcase__image {
    position: relative;
    aspect-ratio: 16/9;
    max-height: 430px;
    border-radius: 18px;
    overflow: hidden;
    background: #e2e8f0
}

.detail-showcase__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    cursor: pointer;
    background: #1e293b
}

.detail-showcase__expand {
    position: absolute;
    right: 14px;
    bottom: 14px;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, .84);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    backdrop-filter: blur(10px)
}

.detail-showcase__thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin-top: 10px
}

.detail-showcase__thumb {
    height: 58px;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    background: #e2e8f0;
    cursor: pointer;
    opacity: .72;
    transition: .18s ease
}

.detail-showcase__thumb:hover,
.detail-showcase__thumb--active {
    opacity: 1;
    border-color: #2563eb;
    transform: translateY(-1px)
}

.detail-showcase__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.detail-showcase__info {
    display: flex;
    flex-direction: column;
    padding: 18px 12px 18px 8px
}

.detail-badges--dark .detail-badge {
    border-color: #dbeafe;
    background: #eff6ff;
    color: #1e40af
}

.detail-badges--dark .detail-badge--primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb
}

.detail-showcase__info h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    hyphens: auto
}

.detail-location--dark {
    color: #475569;
    margin-top: 14px
}

.detail-location--dark svg {
    color: #2563eb
}

.detail-showcase__price {
    margin-top: 24px;
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0
}

.detail-showcase__price span,
.detail-showcase__price small {
    display: block;
    color: #64748b;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .07em
}

.detail-showcase__price strong {
    display: block;
    margin: 5px 0;
    color: #2563eb;
    font-size: 2rem;
    line-height: 1
}

.detail-showcase__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 14px 18px;
    border-radius: 15px;
    background: #16a34a;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(22, 163, 74, .22)
}

.detail-overlay__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center
}

.detail-overlay__nav--prev {
    left: 22px
}

.detail-overlay__nav--next {
    right: 22px
}

@media (max-width: 900px) {
    .detail-showcase {
        grid-template-columns: 1fr
    }

    .detail-showcase__info {
        padding: 10px 4px 4px
    }

    .detail-showcase__image {
        max-height: 360px
    }

    .detail-showcase__thumbs {
        grid-template-columns: repeat(5, minmax(64px, 1fr));
        overflow-x: auto
    }

    .detail-showcase__thumb {
        min-width: 64px
    }
}

@media (max-width: 640px) {
    .detail-shell--showcase {
        padding-top: 18px
    }

    .detail-showcase {
        padding: 12px;
        border-radius: 18px;
        gap: 14px
    }

    .detail-showcase__image {
        aspect-ratio: 4/3;
        max-height: 260px;
        border-radius: 14px;
        width: 100%;
        margin: 0 auto;
    }

    .detail-showcase__media {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .detail-showcase__thumbs {
        justify-content: center;
    }

    .detail-showcase__info h1 {
        font-size: 1.45rem
    }

    .detail-showcase__price strong {
        font-size: 1.65rem
    }

    .detail-showcase__thumb {
        height: 48px
    }

    .detail-overlay__nav {
        width: 42px;
        height: 42px;
        font-size: 2rem
    }

    .detail-overlay__nav--prev {
        left: 12px
    }

    .detail-overlay__nav--next {
        right: 12px
    }

    .detail-content-grid {
        grid-template-columns: 1fr !important
    }

    .detail-main-card {
        padding: 18px
    }

    .detail-description {
        font-size: .95rem;
        line-height: 1.75;
        word-break: break-word;
        overflow-wrap: break-word
    }

    .detail-highlights {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .detail-highlight {
        padding: 14px
    }

    .detail-contact-panel {
        position: static !important;
        margin-top: 18px
    }

    .detail-section__header h2 {
        font-size: 1.25rem
    }

    .detail-showcase__info h1 {
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 1.3
    }

}