﻿/* =========================================================
   Hotel Exchange Group - Public Website Styles
   Clean production stylesheet
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
    --blue: #1f6fff;
    --blue-dark: #0b2a4a;
    --blue-mid: #006bb7;
    --blue-soft: #eaf2ff;
    --ink: #102033;
    --muted: #667085;
    --bg: #f6f9fc;
    --white: #ffffff;
    --border: #e5eaf0;
    --border-dark: rgba(255, 255, 255, 0.10);
    --shadow: 0 18px 50px rgba(16, 32, 51, 0.10);
    --shadow-hover: 0 24px 70px rgba(16, 32, 51, 0.16);
    --container: 1180px;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-pill: 999px;
}

/* ---------- Base ---------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.public-main {
    min-height: 70vh;
    background: var(--bg);
}

h1:focus,
h1:focus-visible,
.seo-hero h1:focus,
.seo-hero h1:focus-visible {
    outline: none;
    box-shadow: none;
}

/* ---------- Header ---------- */
.public-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
}

.public-header__inner {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
}

    .public-brand__logo,
    .public-brand img {
        height: 46px;
        width: auto;
        display: block;
        object-fit: contain;
    }

.public-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

    .public-brand__text strong {
        font-size: 1rem;
        letter-spacing: 0.02em;
    }

    .public-brand__text small {
        color: #7db2ff;
        font-size: 0.78rem;
    }

.public-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .public-nav a {
        color: rgba(255, 255, 255, 0.84);
        text-decoration: none;
        font-weight: 800;
        font-size: 0.95rem;
    }

        .public-nav a:hover {
            color: #7db2ff;
        }

.public-nav__login {
    background: var(--blue-mid);
    color: var(--white) !important;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
}

.public-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
}

/* ---------- Footer ---------- */
.public-footer {
    background: #111111;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 80px;
}

.public-footer__inner {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    padding: 60px 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.public-footer__logo {
    height: 48px;
    width: auto;
    margin-bottom: 16px;
}

.public-footer__brand p {
    line-height: 1.7;
    margin: 0;
}

.public-footer__links,
.public-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .public-footer__links h4,
    .public-footer__contact h4 {
        color: #7db2ff;
        margin: 0 0 10px;
    }

.public-footer a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

    .public-footer a:hover {
        color: #7db2ff;
    }

.public-footer__button {
    display: inline-block;
    margin-top: 12px;
    background: var(--blue-mid);
    color: var(--white) !important;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-weight: 800;
}

.public-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 18px;
    font-size: 0.85rem;
}

/* ---------- Buttons ---------- */
.hx-btn {
    border: 0;
    border-radius: var(--radius-pill);
    padding: 12px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
}

    .hx-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    }

.hx-btn--gold,
.hx-btn--primary {
    background: var(--blue);
    color: var(--white);
}

    .hx-btn--gold:hover,
    .hx-btn--primary:hover {
        background: #155ee0;
    }

.hx-btn--light {
    background: var(--white);
    color: var(--blue);
}

/* ---------- Shared Typography ---------- */
.hx-eyebrow,
.hx-section-title span,
.seo-eyebrow {
    display: inline-block;
    color: #b8d4ff;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.75rem;
    font-weight: 900;
    margin-bottom: 14px;
}

    .hx-eyebrow.dark {
        color: var(--blue);
    }

/* ---------- Home Page ---------- */
.hx-hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    color: var(--white);
    background: linear-gradient(120deg, rgba(11, 31, 58, 0.95), rgba(30, 111, 255, 0.35)), url("../images/heg-hotel-bg.jpg") center/cover no-repeat;
}

.hx-hero__content {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    padding: 100px 0 150px;
}

.hx-hero h1 {
    max-width: 920px;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.6rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hx-hero p {
    max-width: 720px;
    margin: 26px 0 0;
    font-size: clamp(1.05rem, 2vw, 1.32rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.84);
}

.hx-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.hx-stats {
    margin-top: 60px;
    max-width: 720px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    overflow: hidden;
}

    .hx-stats div {
        padding: 24px;
        border-right: 1px solid rgba(255, 255, 255, 0.18);
    }

        .hx-stats div:last-child {
            border-right: 0;
        }

    .hx-stats strong {
        display: block;
        color: #7db2ff;
        font-size: 2rem;
    }

    .hx-stats span {
        color: rgba(255, 255, 255, 0.78);
    }

.hx-search-card {
    width: min(var(--container), calc(100% - 40px));
    margin: -80px auto 0;
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 28px;
}

.hx-section,
.hx-confidential,
.hx-cta {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0;
}

.hx-section-title {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 42px;
}

    .hx-section-title.left {
        text-align: left;
        margin: 0 0 24px;
    }

    .hx-section-title h2,
    .hx-confidential h2,
    .hx-cta h2 {
        margin: 0;
        color: var(--blue-dark);
        font-size: clamp(2rem, 4vw, 3.4rem);
        line-height: 1;
        letter-spacing: -0.04em;
    }

    .hx-section-title p,
    .hx-confidential p,
    .hx-cta p {
        color: var(--muted);
        line-height: 1.7;
    }

.hx-filter-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

    .hx-filter-grid a {
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--blue-soft);
        padding: 16px;
        font-weight: 800;
        color: var(--blue-dark);
        text-decoration: none;
        text-align: center;
        transition: 0.2s ease;
    }

        .hx-filter-grid a:hover {
            background: var(--blue);
            color: var(--white);
        }

.hx-card-grid.three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.hx-info-card,
.hx-steps article,
.hx-confidential__box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

    .hx-info-card h3,
    .hx-steps h3 {
        margin-top: 0;
        color: var(--blue-dark);
    }

    .hx-info-card p,
    .hx-steps p {
        color: var(--muted);
        line-height: 1.7;
    }

.hx-confidential {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 32px;
    align-items: center;
}

.hx-confidential__box,
.hx-cta {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: var(--white);
}

    .hx-confidential__box h3,
    .hx-cta h2 {
        color: var(--white);
        margin-top: 0;
    }

    .hx-confidential__box p,
    .hx-cta p {
        color: rgba(255, 255, 255, 0.85);
    }

.hx-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

    .hx-steps strong {
        color: var(--blue);
        font-size: 1.8rem;
    }

.hx-cta {
    margin-bottom: 70px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* ---------- Properties Listing ---------- */
.properties-page {
    padding: 80px 0;
}

.properties-header {
    text-align: center;
    margin-bottom: 40px;
}

    .properties-header h1 {
        margin: 0 0 10px;
        font-size: clamp(2.2rem, 4vw, 4rem);
        color: var(--blue-dark);
    }

    .properties-header p {
        color: var(--muted);
    }

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ---------- Property Card ---------- */
.property-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.22s ease;
}

    .property-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

.property-card__image-wrap {
    display: block;
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #111111;
}

.property-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.28s ease;
}

.property-card:hover .property-card__image {
    transform: scale(1.04);
}

.property-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.property-card__badge {
    border-radius: var(--radius-pill);
    padding: 7px 10px;
    font-size: 0.75rem;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

    .property-card__badge.gold {
        background: var(--blue);
        color: var(--white);
    }

    .property-card__badge.dark {
        background: var(--blue-dark);
        color: var(--white);
    }

    .property-card__badge.light {
        background: rgba(255, 255, 255, 0.92);
        color: var(--blue-dark);
    }

.property-card__body {
    padding: 22px;
}

.property-card__meta {
    color: var(--blue);
    font-weight: 900;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.property-card__body h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.25;
}

    .property-card__body h3 a {
        color: var(--ink);
        text-decoration: none;
    }

        .property-card__body h3 a:hover {
            color: var(--blue);
        }

.property-card__body p {
    color: var(--muted);
    line-height: 1.65;
    margin: 14px 0 0;
}

.property-card__footer {
    border-top: 1px solid var(--border);
    margin-top: 18px;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

    .property-card__footer small {
        display: block;
        color: var(--muted);
        font-size: 0.78rem;
        margin-bottom: 3px;
    }

    .property-card__footer strong {
        color: var(--ink);
    }

.property-card__link {
    background: var(--blue-soft);
    color: var(--blue);
    text-decoration: none;
    padding: 9px 13px;
    border-radius: var(--radius-pill);
    font-weight: 900;
    white-space: nowrap;
}

    .property-card__link:hover {
        background: var(--blue);
        color: var(--white);
    }

/* ---------- Property Details ---------- */
.property-detail-loading {
    padding: 80px 0;
}

.property-detail-hero {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: var(--white);
    padding: 80px 0 110px;
}

    .property-detail-hero h1 {
        margin: 0;
        max-width: 780px;
        font-size: clamp(2.4rem, 5vw, 4.6rem);
        line-height: 1;
        letter-spacing: -0.04em;
    }

    .property-detail-hero p {
        margin: 18px 0 0;
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.15rem;
    }

.property-detail-hero__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: end;
}

.property-detail-hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.property-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

    .property-detail-tags span {
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.20);
        color: var(--white);
        padding: 9px 13px;
        border-radius: var(--radius-pill);
        font-weight: 800;
        font-size: 0.9rem;
    }

.property-detail-main {
    margin-top: -70px;
    padding-bottom: 90px;
}

.property-detail-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 26px;
    align-items: start;
}

.property-detail-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.property-gallery-card,
.property-section-card,
.property-inquiry-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.property-gallery-card {
    padding: 0;
}

.property-detail-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.property-section-card,
.property-inquiry-card {
    padding: 28px;
}

    .property-section-card h2,
    .property-inquiry-card h2 {
        margin: 0 0 20px;
        font-size: 1.7rem;
        color: var(--ink);
    }

.property-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

    .property-summary-grid div {
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 16px;
    }

    .property-summary-grid small {
        display: block;
        color: var(--muted);
        margin-bottom: 6px;
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-weight: 800;
    }

    .property-summary-grid strong {
        color: var(--ink);
    }

.property-public-note {
    color: var(--muted);
    line-height: 1.7;
    margin: 22px 0 0;
}

.property-agent-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.property-agent-card {
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 16px;
    background: var(--white);
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    align-items: center;
}

    .property-agent-card.selected {
        border-color: var(--blue);
        box-shadow: 0 0 0 4px rgba(31, 111, 255, 0.10);
    }

    .property-agent-card img {
        width: 72px;
        height: 72px;
        border-radius: 18px;
        object-fit: cover;
        background: var(--blue-soft);
    }

    .property-agent-card h3 {
        margin: 0;
        font-size: 1rem;
    }

    .property-agent-card p {
        margin: 5px 0;
        color: var(--muted);
    }

    .property-agent-card span {
        color: var(--blue);
        font-size: 0.8rem;
        font-weight: 900;
    }

    .property-agent-card button {
        grid-column: 1 / -1;
        width: 100%;
    }

.property-inquiry-card {
    position: sticky;
    top: 92px;
}

    .property-inquiry-card p {
        color: var(--muted);
        line-height: 1.65;
    }

.selected-agent-box {
    background: var(--blue-soft);
    border: 1px solid #cfe0ff;
    border-radius: 18px;
    padding: 14px;
    margin: 18px 0;
}

    .selected-agent-box small {
        display: block;
        color: var(--muted);
        margin-bottom: 4px;
        font-weight: 700;
    }

    .selected-agent-box strong {
        color: var(--blue-dark);
    }

/* ---------- Forms ---------- */
.form-grid {
    display: grid;
    gap: 14px;
}

    .form-grid label {
        display: block;
        margin-bottom: 6px;
        font-weight: 800;
        color: var(--ink);
    }

.public-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 13px;
    outline: none;
    font: inherit;
    background: var(--white);
}

    .public-input:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 4px rgba(31, 111, 255, 0.12);
    }

.public-textarea {
    min-height: 100px;
    resize: vertical;
}

.nda-note {
    background: #fff8e6;
    border: 1px solid #ffe2a8;
    color: #6f4b00;
    border-radius: 16px;
    padding: 12px;
    line-height: 1.5;
    font-size: 0.92rem;
    margin: 16px 0;
}

.submit-btn {
    width: 100%;
}

/* ---------- SEO Landing Pages ---------- */
.seo-hero {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: var(--white);
    padding: 88px 0 110px;
}

    .seo-hero h1 {
        max-width: 900px;
        margin: 0;
        font-size: clamp(2.5rem, 5vw, 5rem);
        line-height: 1;
        letter-spacing: -0.04em;
    }

    .seo-hero p {
        max-width: 760px;
        margin: 24px 0 0;
        color: rgba(255, 255, 255, 0.86);
        font-size: 1.15rem;
        line-height: 1.7;
    }

.seo-hero-actions {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.seo-content {
    padding: 70px 0;
}

.seo-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}

.seo-main {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.seo-section-card,
.seo-sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 26px;
    box-shadow: var(--shadow);
    padding: 28px;
}

    .seo-section-card h2,
    .seo-sidebar-card h3 {
        margin: 0 0 14px;
        color: var(--ink);
    }

    .seo-section-card p,
    .seo-sidebar-card p {
        color: var(--muted);
        line-height: 1.75;
        margin: 0;
    }

.seo-sidebar {
    position: sticky;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.seo-link-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .seo-link-list a {
        display: block;
        background: var(--blue-soft);
        color: var(--blue-dark);
        text-decoration: none;
        font-weight: 800;
        padding: 12px 14px;
        border-radius: 14px;
    }

        .seo-link-list a:hover {
            background: var(--blue);
            color: var(--white);
        }

.seo-sidebar-card.cta {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: var(--white);
}

    .seo-sidebar-card.cta h3 {
        color: var(--white);
    }

    .seo-sidebar-card.cta p {
        color: rgba(255, 255, 255, 0.82);
        margin-bottom: 18px;
    }

.seo-faq-list {
    display: grid;
    gap: 12px;
}

    .seo-faq-list details {
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 14px 16px;
        background: var(--bg);
    }

    .seo-faq-list summary {
        cursor: pointer;
        font-weight: 900;
        color: var(--ink);
    }

    .seo-faq-list details p {
        margin-top: 12px;
    }

/* ---------- SEO Admin / PropertySeoForm ---------- */
.seo-page {
    padding: 28px;
    background: #f7f2e8;
    min-height: 100vh;
}

.seo-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

    .seo-header h1 {
        margin: 8px 0 6px;
        color: #111111;
    }

    .seo-header p {
        color: #6b6b6b;
        margin: 0;
    }

.seo-back {
    color: var(--blue-mid);
    text-decoration: none;
    font-weight: 800;
}

.seo-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.seo-save-btn,
.seo-preview-btn,
.seo-small-btn {
    border: 0;
    border-radius: var(--radius-pill);
    padding: 11px 16px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
}

.seo-save-btn {
    background: var(--blue-mid);
    color: var(--white);
}

.seo-preview-btn {
    background: #111111;
    color: var(--white);
}

.seo-small-btn {
    background: var(--blue-soft);
    color: var(--blue-dark);
    padding: 7px 12px;
    font-size: 0.82rem;
}

.seo-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 18px;
}

.seo-card {
    background: var(--white);
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 14px 40px rgba(17, 17, 17, 0.06);
}

    .seo-card.full-width {
        grid-column: 1 / -1;
    }

.seo-card-title h2 {
    margin: 0 0 6px;
    color: #111111;
}

.seo-card-title p {
    margin: 0 0 20px;
    color: #6b6b6b;
    line-height: 1.5;
}

.seo-form-group {
    margin-bottom: 18px;
}

    .seo-form-group label,
    .seo-status-box label {
        display: block;
        font-weight: 900;
        color: #111111;
        margin-bottom: 7px;
    }

.seo-label-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.seo-input {
    width: 100%;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 16px;
    padding: 12px 14px;
    outline: none;
    background: var(--white);
}

    .seo-input:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 4px rgba(31, 111, 255, 0.12);
    }

.seo-textarea {
    min-height: 110px;
}

.seo-large-textarea {
    min-height: 170px;
}

.seo-help {
    display: block;
    margin-top: 6px;
    color: #6b6b6b;
    font-size: 0.82rem;
}

    .seo-help.good {
        color: #16833a;
    }

    .seo-help.warn {
        color: #b45f06;
    }

.seo-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.seo-toggle {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 18px;
    background: #fffaf1;
    border: 1px solid rgba(17, 17, 17, 0.08);
}

    .seo-toggle input {
        margin-top: 4px;
    }

    .seo-toggle strong,
    .seo-toggle small {
        display: block;
    }

    .seo-toggle small {
        color: #6b6b6b;
        margin-top: 3px;
        line-height: 1.4;
    }

    .seo-toggle.danger {
        background: #fff3f3;
    }

.seo-status-box {
    margin-top: 20px;
}

.google-preview,
.social-preview {
    border: 1px solid rgba(17, 17, 17, 0.10);
    border-radius: 20px;
    background: var(--white);
}

.google-preview {
    padding: 18px;
}

.google-url {
    color: #207245;
    font-size: 0.85rem;
    margin-bottom: 7px;
    word-break: break-all;
}

.google-title {
    color: #1a0dab;
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 7px;
}

.google-description {
    color: #4d5156;
    line-height: 1.45;
}

.social-title {
    margin-top: 28px;
}

.social-preview {
    overflow: hidden;
}

    .social-preview img {
        width: 100%;
        height: 170px;
        object-fit: cover;
        background: #111111;
    }

    .social-preview div {
        padding: 16px;
    }

    .social-preview strong {
        display: block;
        color: #111111;
        line-height: 1.35;
    }

    .social-preview p {
        color: #6b6b6b;
        line-height: 1.45;
        margin: 8px 0;
    }

    .social-preview small {
        color: var(--blue-mid);
        text-transform: uppercase;
        font-weight: 900;
        letter-spacing: 0.08em;
    }

.seo-alert {
    padding: 14px 16px;
    border-radius: 18px;
    margin-bottom: 18px;
    font-weight: 800;
}

    .seo-alert.error {
        background: #fff0f0;
        color: #9f1c1c;
        border: 1px solid #f3bcbc;
    }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .hx-filter-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hx-card-grid.three,
    .hx-confidential,
    .hx-steps {
        grid-template-columns: 1fr 1fr;
    }

    .seo-grid,
    .seo-content-grid {
        grid-template-columns: 1fr;
    }

    .seo-sidebar {
        position: static;
    }

    .seo-header {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-detail-main__grid,
    .property-detail-hero__grid {
        grid-template-columns: 1fr;
    }

    .property-inquiry-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .container,
    .public-header__inner,
    .public-footer__inner,
    .hx-hero__content,
    .hx-search-card,
    .hx-section,
    .hx-confidential,
    .hx-cta {
        width: min(100% - 28px, var(--container));
    }

    .public-header__inner {
        min-height: 66px;
        flex-direction: row;
        gap: 12px;
    }

    .public-brand__logo,
    .public-brand img {
        height: 42px;
    }

    .public-brand__text small {
        display: none;
    }

    .public-menu-btn {
        display: block;
    }

    .public-nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #111111;
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: 18px;
        padding: 10px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    }

        .public-nav.is-open {
            display: flex;
        }

        .public-nav a {
            padding: 14px 12px;
            text-align: center;
        }

    .public-footer__inner {
        grid-template-columns: 1fr;
    }

    .hx-hero {
        min-height: auto;
    }

    .hx-hero__content {
        padding-top: 80px;
        padding-bottom: 130px;
    }

    .hx-hero h1 {
        font-size: clamp(2.55rem, 14vw, 4.2rem);
    }

    .hx-stats,
    .hx-filter-grid,
    .hx-card-grid.three,
    .hx-confidential,
    .hx-steps,
    .property-grid,
    .property-summary-grid,
    .property-agent-grid {
        grid-template-columns: 1fr;
    }

        .hx-stats div {
            border-right: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        }

            .hx-stats div:last-child {
                border-bottom: 0;
            }

    .hx-search-card {
        margin-top: -80px;
        padding: 24px;
    }

    .hx-section,
    .hx-confidential,
    .hx-cta {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hx-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-detail-hero {
        padding: 50px 0 95px;
    }

    .property-detail-main {
        margin-top: -50px;
    }

    .property-detail-image {
        height: 300px;
    }

    .property-section-card,
    .property-inquiry-card,
    .seo-section-card,
    .seo-sidebar-card {
        padding: 22px;
        border-radius: 22px;
    }

    .property-card__image-wrap {
        height: 220px;
    }

    .property-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .seo-hero {
        padding: 60px 0 85px;
    }

        .seo-hero h1 {
            font-size: clamp(2.4rem, 13vw, 4rem);
        }
}
