
/* ==========================================================================
   Section: layout.css | Lines 118 to 311
   ========================================================================== */
/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.95) 100%),
        url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?q=80&w=2075&auto=format&fit=crop') center/cover no-repeat;
    padding-bottom: 120px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 24px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-broker-name {
    font-size: clamp(14px, 2.5vw, 17px);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f6d365 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-badge {
    display: inline-block;
    padding: 8px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 8px;
    color: #ffffff;
    margin-bottom: 32px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(28px, 6vw, 64px);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    word-break: keep-all;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-title-sub {
    display: block;
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 400;
    color: #e2e8f0;
    letter-spacing: 6px;
    margin-bottom: 12px;
    opacity: 0.85;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: clamp(16px, 2vw, 20px);
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 48px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-desc strong {
    background: linear-gradient(135deg, #f6d365 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 3vw, 40px);
    margin-bottom: 56px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.stat-number {
    font-size: clamp(22px, 5vw, 42px);
    font-weight: 900;
    background: linear-gradient(135deg, #f6d365 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1;
    text-shadow: 0 4px 15px rgba(246, 211, 101, 0.2);
}

.stat-label {
    font-size: clamp(10px, 2.5vw, 13px);
    color: #e2e8f0;
    font-weight: 500;
    letter-spacing: clamp(0px, 0.5vw, 2px);
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
}

/* Hero CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 48px;
    background: linear-gradient(135deg, #f6d365 0%, #ffb347 100%);
    color: #111827;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(246, 211, 101, 0.3);
    border: none;
}

.hero-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(246, 211, 101, 0.5);
    background: linear-gradient(135deg, #fce08b 0%, #ffc066 100%);
}

.hero-cta svg {
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}


/* ==========================================================================
   Section: layout.css | Lines 2390 to 2569
   ========================================================================== */
/* ===== Footer ===== */
.footer {
    padding: 60px 0 200px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--primary-900);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #f6d365 0%, #ffb347 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: inline-block;
}


.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        height: 30px;
    }

    .listings-grid {
        grid-template-columns: 1fr;
    }

    .broker-card {
        padding: 40px 24px;
    }

    .broker-phone {
        font-size: 22px;
        padding: 16px 36px;
    }

    .broker-detail-item {
        font-size: clamp(10px, 3.2vw, 13px);
        white-space: nowrap;
        gap: 6px;
    }

    .detail-label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .broker-note {
        font-size: clamp(11px, 3.2vw, 13px);
        white-space: nowrap;
        letter-spacing: -0.5px;
    }

    .mobile-break {
        display: block;
    }

    .broker-links-row {
        gap: 12px;
    }

    .broker-link-text {
        font-size: 10px;
        letter-spacing: 1px;
        padding: 6px 12px;
        gap: 4px;
    }

    .link-divider {
        font-size: 14px;
    }

    .listing-submit-card {
        padding: 40px 24px;
    }

    .listing-submit-features {
        gap: 12px;
    }

    .submit-feature {
        padding: 10px 18px;
        font-size: 12px;
    }

    .listing-submit-cta {
        padding: 16px 36px;
        font-size: 16px;
    }

    .filter-tabs {
        padding: 4px 8px;
    }

    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .type-filters {
        padding-bottom: 4px;
        width: 100%;
    }

    .sort-controls {
        justify-content: flex-start;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        margin-left: 0;
    }
    .sort-controls::-webkit-scrollbar {
        display: none;
    }

    .property-card {
        padding: 0;
    }
}

@media (max-width: 420px) {
    .hero-badge {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .card-price {
        font-size: 20px;
    }

    .broker-phone {
        font-size: 18px;
        padding: 14px 28px;
        gap: 10px;
    }

    .broker-phone svg {
        width: 22px;
        height: 22px;
    }
}


/* ==========================================================================
   Section: layout.css | Lines 2715 to 2955
   ========================================================================== */
/* ===== Hero Quick Links ===== */
.hero-quick-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.quick-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}

.quick-badge.highlight {
    background: rgba(246, 211, 101, 0.08);
    border-color: rgba(246, 211, 101, 0.3);
    color: #fce08b;
}

.quick-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.quick-badge.highlight:hover {
    background: rgba(246, 211, 101, 0.15);
    box-shadow: 0 6px 20px rgba(246, 211, 101, 0.2);
}

/* ===== SEO (Screen Reader Only) ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rt-renewal-badge { color: #3b82f6; background: rgba(59, 130, 246, 0.1); padding: 2px 6px; font-size: 0.75rem; font-weight: 600; border-radius: 4px; white-space: nowrap; margin-right: 4px; }
.rt-rgst-badge { color: #f59e0b; background: rgba(245, 158, 11, 0.1); padding: 2px 6px; font-size: 0.75rem; font-weight: 600; border-radius: 4px; white-space: nowrap; margin-right: 4px; }

/* [수정 20260725] 하드코딩 고정폭·오른쪽끝정렬 제거 → 중앙 정렬 + 내용크기(거래가 왼쪽 빈 공간/헤더 어긋남 해소) */
.rt-price-value {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.rt-price-type-wrapper {
    flex-shrink: 0;
    text-align: center;
}
.rt-price-text {
    text-align: right;
    white-space: nowrap;
}

.rt-month-tab {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: var(--surface-300);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.rt-month-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.rt-month-tab.active {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.1);
}

.rt-month-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    margin-top: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.rt-month-filters::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* [수정 20260725] 위 .rt-price-value 규칙 하나로 통일 — 중복 고정폭 정의 제거. 배지는 내용크기로. */
.rt-type-badge {
    text-align: center;
    padding: 3px 9px !important;
    box-sizing: border-box;
    display: inline-block;
}

.rt-table td.rt-td-dong {
    color: var(--surface-100) !important;
    font-weight: 600 !important;
}

.rt-dong-tab, .rt-type-tab, .rt-tab {
    color: var(--surface-300) !important;
    padding: 8px 18px !important;
}

@media (max-width: 480px) {
    .rt-table th,
    .rt-table td {
        padding: 10px 4px !important;
        font-size: 12.5px !important;
    }
    
    .rt-table td.rt-td-apt {
        font-size: 12.5px !important;
        max-width: 95px !important;
    }
    
    .rt-table td.rt-td-floor {
        font-size: 14px !important;
    }
    
    .rt-table td.rt-td-dong {
        font-size: 13px !important;
    }
    
    .rt-price-text {
        width: 88px !important;
        font-size: 13.5px !important;
    }
    
    .rt-type-badge {
        width: 52px !important;
        font-size: 11.5px !important;
    }
    
    .rt-price-type-wrapper {
        width: 54px !important;
    }
    
    .rt-th-atype {
        width: 54px !important;
    }
}

.rt-table td.rt-td-dong {
    font-size: 14px !important;
}
.rt-table td.rt-td-floor {
    font-size: 15px !important;
}
.rt-price-text {
    font-size: 15px !important;
}

@media (max-width: 480px) {
    .rt-table td.rt-td-dong {
        font-size: 14px !important;
    }
    .rt-table td.rt-td-floor {
        font-size: 15px !important;
    }
    .rt-price-text {
        font-size: 15px !important;
        width: 95px !important;
    }
}

.rt-dong-tab, .rt-type-tab, .rt-tab, .rt-month-tab {
    font-size: 15px !important;
    color: var(--surface-300) !important;
    padding: 8px 16px !important;
}

@media (max-width: 480px) {
    .rt-dong-tab, .rt-type-tab, .rt-tab, .rt-month-tab {
        font-size: 14.5px !important;
        padding: 8px 14px !important;
    }
}

.rt-dong-tab, .rt-type-tab, .rt-tab, .rt-month-tab {
    font-size: 15px !important;
    padding: 8px 16px !important;
    color: var(--surface-300) !important;
}

@media (max-width: 480px) {
    .rt-dong-tab, .rt-type-tab, .rt-tab, .rt-month-tab {
        font-size: 14px !important;
        padding: 8px 14px !important;
    }
}

@media (max-width: 768px) {
    .listing-submit-section {
        padding: 20px 0 !important;
        scroll-margin-top: 10px !important;
    }
}

