:root {
    --page-bg: #faf8f4;
    --surface: #ffffff;
    --text: #1f2933;
    --muted: #66727c;
    --accent: #174a5b;
    --accent-dark: #103946;
    --sand: #d9b98c;
    --border: #e7e1d8;
    --shadow: 0 14px 40px rgba(31, 41, 51, 0.08);
    --radius: 16px;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

a {
    color: var(--accent);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--accent-dark);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 244, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.site-header-inner {
    max-width: var(--content-width);
    min-height: 76px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-brand {
    margin-right: auto;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    text-decoration: none;
}

.site-brand:hover {
    color: var(--accent);
}

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

.site-nav a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.site-nav a:hover {
    background: rgba(23, 74, 91, 0.07);
    color: var(--accent);
}

.site-nav a[aria-current="page"] {
    background: var(--accent);
    color: white;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding-left: 8px;
    border-left: 1px solid var(--border);
}

.language-switcher span {
    display: none;
}

.language-switcher button {
    min-width: 40px;
    padding: 7px 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.language-switcher button:hover {
    background: rgba(23, 74, 91, 0.07);
    color: var(--accent);
}

.language-switcher button[aria-current="true"] {
    background: var(--text);
    color: white;
}

.site-main {
    width: 100%;
    max-width: var(--content-width);
    min-height: calc(100vh - 230px);
    margin: 0 auto;
    padding: 56px 28px 80px;
}

h1,
h2,
h3 {
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

h1 {
    margin-top: 0;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
}

h2 {
    margin-top: 2.2rem;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

p {
    max-width: 760px;
}

.site-footer {
    border-top: 1px solid var(--border);
    background:
        linear-gradient(
            180deg,
            #f5f1ea 0%,
            #f1ece4 100%
        );
}

.site-footer-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 44px 28px 32px;
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 48px;
    padding-bottom: 32px;
}

.site-footer-brand {
    max-width: 560px;
}

.site-footer-logo {
    display: inline-block;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.site-footer-brand p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.site-footer-nav a {
    padding: 8px 11px;
    border-radius: 9px;
    color: var(--text);
    font-size: 0.92rem;
    text-decoration: none;
}

.site-footer-nav a:hover {
    background: rgba(23, 74, 91, 0.07);
    color: var(--accent);
}

.site-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(31, 41, 51, 0.1);
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.destination-image {
    max-width: 100%;
    max-height: 640px;
    width: auto;
    height: auto;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.image-attribution {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

.affiliate-links {
    margin: 32px 0;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.affiliate-links h2 {
    margin-top: 0;
}

.affiliate-links ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.destination-thumbnail {
    width: 160px;
    height: 100px;
    object-fit: cover;
    display: block;
    margin-bottom: 8px;
    border-radius: 10px;
}

.skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 20px;
    top: 20px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    border-radius: 8px;
    background: white;
    color: var(--text);
    z-index: 1000;
    box-shadow: var(--shadow);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}


.home-hero {
    position: relative;
    overflow: hidden;
    margin: -16px 0 72px;
    padding: 46px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(217, 185, 140, 0.52),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #f1eee6 0%,
            #f8f5ef 48%,
            #e8f0f1 100%
        );
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -130px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(23, 74, 91, 0.14);
    border-radius: 50%;
}

.home-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: stretch;
    gap: 44px;
}

.home-hero-media {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 430px;
    overflow: hidden;
    border-radius: 22px;
    background: #ded8cf;
    box-shadow: 0 18px 46px rgba(31, 41, 51, 0.15);
}

.home-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.home-hero-caption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    background: rgba(18, 31, 38, 0.72);
    color: white;
    backdrop-filter: blur(10px);
}

.home-hero-caption strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
}

.home-hero-caption span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 850px;
    margin-bottom: 24px;
}

.home-hero-intro {
    margin: 0 0 34px;
    color: #45535d;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.65;
}

.destination-search {
    max-width: 680px;
}

.destination-search label {
    display: block;
    margin-bottom: 9px;
    font-size: 0.9rem;
    font-weight: 700;
}

.destination-search-row {
    display: flex;
    gap: 10px;
    padding: 7px;
    border: 1px solid rgba(31, 41, 51, 0.12);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(31, 41, 51, 0.06);
}

.destination-search input {
    min-width: 0;
    flex: 1;
    padding: 12px 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
}

.destination-search input::placeholder {
    color: #8b959d;
}

.destination-search button {
    padding: 11px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: white;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.destination-search button:hover {
    background: var(--accent-dark);
}

.search-summary {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.destinations-section {
    margin-top: 24px;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 0;
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.destination-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(31, 41, 51, 0.055);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.destination-card-image-link {
    display: block;
    overflow: hidden;
    background: #ece8e0;
    aspect-ratio: 16 / 10;
}

.destination-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.destination-card:hover .destination-card-image {
    transform: scale(1.025);
}

.destination-card-body {
    padding: 24px 26px 26px;
}

.destination-card-country {
    margin: 0 0 7px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.destination-card h3 {
    margin: 0 0 12px;
    font-size: clamp(1.55rem, 3vw, 2.05rem);
}

.destination-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.destination-card h3 a:hover {
    color: var(--accent);
}

.destination-card-description {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.65;
}

.destination-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 750;
    text-decoration: none;
}

.destination-card-link span {
    transition: transform 160ms ease;
}

.destination-card-link:hover span {
    transform: translateX(4px);
}

.empty-state {
    grid-column: 1 / -1;
    padding: 32px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--muted);
    background: rgba(255, 255, 255, 0.45);
}


.destination-page {
    width: 100%;
}

.destination-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 52px;
    margin-bottom: 72px;
}

.destination-hero-copy {
    max-width: 520px;
}

.destination-hero h1 {
    margin-bottom: 18px;
}

.destination-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 0.9rem;
}

.destination-meta span {
    display: inline-flex;
    gap: 5px;
}

.destination-lead {
    margin: 0;
    color: #45535d;
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    line-height: 1.75;
}

.destination-figure {
    min-width: 0;
    margin: 0;
}

.destination-figure .destination-image {
    width: 100%;
    max-height: none;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(31, 41, 51, 0.13);
}

.destination-figure .image-attribution {
    max-width: none;
    margin: 10px 4px 0;
}

.destination-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
    gap: 56px;
}

.destination-content {
    min-width: 0;
    max-width: 780px;
}

.destination-section {
    margin: 0 0 42px;
    padding: 0 0 42px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 110px;
}

.destination-section h2 {
    margin: 0 0 16px;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.destination-section p {
    margin: 0;
    color: #45535d;
    line-height: 1.8;
}

.destination-section ul {
    padding-left: 22px;
}

.destination-sidebar {
    position: sticky;
    top: 104px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 30px rgba(31, 41, 51, 0.05);
    backdrop-filter: blur(10px);
}

.destination-sidebar-title {
    margin: 0 0 12px;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.destination-toc {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.destination-toc a {
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.35;
    text-decoration: none;
}

.destination-toc a:hover {
    background: rgba(23, 74, 91, 0.07);
    color: var(--accent);
}

.destination-back-link {
    margin: 12px 0 0;
}

.destination-back-link a {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    text-decoration: none;
}


.info-page,
.contact-page {
    width: 100%;
}

.info-hero {
    max-width: 820px;
    margin: 0 0 64px;
}

.info-hero h1 {
    margin-bottom: 20px;
}

.info-lead {
    max-width: 760px;
    margin: 0;
    color: #45535d;
    font-size: clamp(1.08rem, 2vw, 1.28rem);
    line-height: 1.75;
}

.info-content {
    max-width: 820px;
}

.info-section {
    margin: 0 0 42px;
    padding: 0 0 42px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 110px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h2 {
    margin: 0 0 16px;
    font-size: clamp(1.6rem, 3vw, 2.05rem);
}

.info-section p {
    margin: 0;
    color: #45535d;
    line-height: 1.8;
}

.info-section-highlight {
    padding: 28px 30px;
    border: 1px solid rgba(217, 185, 140, 0.7);
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(217, 185, 140, 0.16),
            rgba(255, 255, 255, 0.72)
        );
}

.info-section-highlight h2 {
    font-size: 1.55rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
    align-items: start;
    gap: 64px;
}

.contact-copy {
    max-width: 480px;
}

.contact-copy h2 {
    margin-top: 0;
    margin-bottom: 18px;
}

.contact-copy p {
    color: #45535d;
}

.contact-note {
    margin-top: 28px;
    padding: 18px 20px;
    border-left: 3px solid var(--sand);
    border-radius: 0 12px 12px 0;
    background: rgba(217, 185, 140, 0.12);
    font-size: 0.93rem;
}

.contact-form-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.contact-form p {
    margin: 0 0 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d2c9;
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font: inherit;
}

.contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-form button {
    width: 100%;
    margin-top: 4px;
    padding: 13px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.contact-form button:hover {
    background: var(--accent-dark);
}

.contact-form .errorlist {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    color: #9a3030;
    font-size: 0.9rem;
}

.form-status {
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid rgba(23, 74, 91, 0.18);
    border-radius: 10px;
    background: rgba(23, 74, 91, 0.07);
    color: var(--accent-dark);
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
    gap: 56px;
}

.legal-content {
    min-width: 0;
    max-width: 780px;
}

.legal-sidebar {
    position: sticky;
    top: 104px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 30px rgba(31, 41, 51, 0.05);
    backdrop-filter: blur(10px);
}

.legal-toc {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legal-toc a {
    padding: 8px 10px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.35;
    text-decoration: none;
}

.legal-toc a:hover {
    background: rgba(23, 74, 91, 0.07);
    color: var(--accent);
}

@media (max-width: 760px) {
    .site-header-inner {
        min-height: auto;
        padding: 14px 20px;
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .site-brand {
        font-size: 1.5rem;
    }

    .site-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-top: 4px;
    }

    .site-nav a {
        white-space: nowrap;
    }

    .language-switcher {
        padding-left: 0;
        border-left: 0;
    }

    .site-main {
        padding: 38px 20px 60px;
    }

    .home-hero {
        margin-top: -10px;
        margin-bottom: 52px;
        padding: 28px 24px 24px;
        border-radius: 20px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-hero-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .home-hero-image {
        min-height: 0;
        height: 100%;
    }

    .home-hero-caption {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .destination-search-row {
        flex-direction: column;
    }

    .destination-search button {
        width: 100%;
    }

    .destination-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .destination-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 48px;
    }

    .destination-hero-copy {
        max-width: none;
    }

    .destination-figure .destination-image {
        aspect-ratio: 4 / 3;
    }

    .destination-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .destination-sidebar {
        position: static;
        order: -1;
        padding: 16px;
    }

    .destination-toc {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .destination-section {
        margin-bottom: 34px;
        padding-bottom: 34px;
    }

    .info-hero {
        margin-bottom: 44px;
    }

    .info-hero h1 {
        font-size: clamp(2rem, 9vw, 2.4rem);
        line-height: 1.04;
        overflow-wrap: anywhere;
    }

    .info-section {
        margin-bottom: 34px;
        padding-bottom: 34px;
    }

    .info-section-highlight {
        padding: 22px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-copy {
        max-width: none;
    }

    .contact-form-card {
        padding: 22px;
        border-radius: 18px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .legal-sidebar {
        position: static;
        order: -1;
        padding: 16px;
    }

    .legal-toc {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .destination-card-body {
        padding: 21px 21px 24px;
    }

    .site-footer-inner {
        padding: 32px 20px 26px;
    }

    .site-footer-main {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 26px;
    }

    .site-footer-nav {
        justify-content: flex-start;
    }

    .site-footer-bottom {
        flex-direction: column;
        gap: 6px;
    }

    h1 {
        font-size: clamp(2.2rem, 12vw, 3.3rem);
    }
}

/* Destination sorting */
.destination-sort-form {
    max-width: 520px;
    margin: 0 0 30px;
}

.destination-sort-form label {
    display: block;
    margin-bottom: 9px;
    font-size: 0.9rem;
    font-weight: 700;
}

.destination-sort-form .destination-search-row {
    display: flex;
    gap: 10px;
    padding: 7px;
    border: 1px solid rgba(31, 41, 51, 0.12);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(31, 41, 51, 0.06);
}

.destination-sort-form select {
    min-width: 0;
    flex: 1;
    padding: 12px 42px 12px 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

.destination-sort-form button {
    padding: 11px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.destination-sort-form button:hover {
    background: var(--accent-dark);
}

@media (max-width: 700px) {
    .destination-sort-form {
        max-width: none;
    }

    .destination-sort-form .destination-search-row {
        flex-direction: column;
    }

    .destination-sort-form select {
        width: 100%;
        padding: 12px 14px;
    }

    .destination-sort-form button {
        width: 100%;
    }
}

/* Account navigation */
.nav-logout-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.nav-logout-button {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.nav-logout-button:hover,
.nav-logout-button:focus-visible {
    text-decoration: underline;
}


/* ===== ACCOUNT & REFERRAL UI V2 ===== */

.account-page,
.referral-page {
    width: min(100% - 40px, 980px);
    margin: 0 auto;
}

.account-page {
    min-height: 68vh;
    display: grid;
    place-items: center;
    padding: 72px 0 96px;
}

.account-card {
    width: min(100%, 520px);
    padding: 42px;
    border: 1px solid rgba(31, 43, 50, 0.12);
    border-radius: 24px;
    background: #fffdfa;
    box-shadow: 0 18px 55px rgba(31, 43, 50, 0.08);
}

.account-heading {
    margin-bottom: 30px;
}

.account-heading h1,
.referral-header h1 {
    margin: 6px 0 12px;
    color: #202d34;
    line-height: 1.05;
}

.account-heading h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.account-heading p,
.referral-header > p {
    color: #667178;
    line-height: 1.65;
    max-width: 680px;
}

.account-eyebrow,
.card-kicker {
    display: block;
    margin: 0;
    color: #15556a;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-form {
    display: grid;
    gap: 22px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: #26343b;
    font-weight: 700;
}

.form-field input {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #ccd3d6;
    border-radius: 10px;
    background: white;
    color: #202d34;
    font: inherit;
}

.form-field input:focus {
    outline: 3px solid rgba(24, 89, 108, 0.12);
    border-color: #18596c;
}

.form-field .errorlist {
    margin: 0;
    padding-left: 18px;
    color: #9d3030;
    font-size: 0.9rem;
}

.form-alert {
    margin: 0 0 20px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff1ef;
    color: #8d312a;
}

.primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px;
    border: 0;
    border-radius: 12px;
    background: #14566a;
    color: white;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.primary-action:hover,
.primary-action:focus-visible {
    background: #0f4657;
}

.account-form .primary-action {
    width: 100%;
}

.account-secondary {
    margin: 24px 0 0;
    color: #69747a;
    text-align: center;
}

.account-secondary a {
    color: #15556a;
    font-weight: 700;
}

.referral-page {
    padding: 62px 0 96px;
}

.referral-header {
    margin-bottom: 34px;
}

.referral-header h1 {
    font-size: clamp(2.5rem, 6vw, 4.1rem);
}

.referral-link-card,
.referral-section {
    border: 1px solid rgba(31, 43, 50, 0.11);
    border-radius: 24px;
    background: #fffdfa;
    box-shadow: 0 12px 38px rgba(31, 43, 50, 0.055);
}

.referral-link-card {
    padding: 28px;
    margin-bottom: 28px;
}

.referral-copy-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    margin-top: 12px;
}

.referral-copy-row input {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #ccd3d6;
    border-radius: 12px;
    background: #f7f7f4;
    color: #35434a;
    font: inherit;
}

.referral-copy-button {
    min-width: 140px;
}

.referral-link-help {
    margin: 12px 0 0;
    color: #758087;
    font-size: 0.92rem;
}

.referral-section {
    padding: 30px;
    margin-top: 28px;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-heading-row h2 {
    margin: 4px 0 0;
    color: #202d34;
    font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.stat-card {
    min-height: 118px;
    padding: 20px;
    border-radius: 18px;
    background: #f3f1eb;
}

.stat-card strong {
    display: block;
    color: #14566a;
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 13px;
    color: #5f6c73;
    font-size: 0.92rem;
    line-height: 1.35;
}

.conversion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.conversion-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(20, 86, 106, 0.15);
    border-radius: 16px;
}

.conversion-card span {
    color: #596970;
}

.conversion-card strong {
    color: #14566a;
    font-size: 1.45rem;
}

.invite-table {
    overflow: hidden;
    border: 1px solid rgba(31, 43, 50, 0.1);
    border-radius: 16px;
}

.invite-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
}

.invite-row + .invite-row {
    border-top: 1px solid rgba(31, 43, 50, 0.09);
}

.invite-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #14566a;
    color: white;
    font-weight: 800;
}

.invite-user {
    display: grid;
    gap: 3px;
}

.invite-user strong {
    color: #202d34;
}

.invite-user span,
.invite-row time {
    color: #7a858b;
    font-size: 0.88rem;
}

.empty-state {
    padding: 28px;
    border-radius: 16px;
    background: #f5f3ee;
    color: #6d787e;
}

/* Logout should look like navigation, not a browser button */
.site-nav .nav-logout-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.site-nav .nav-logout-button {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 8px 10px;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.site-nav .nav-logout-button:hover,
.site-nav .nav-logout-button:focus-visible {
    background: rgba(20, 86, 106, 0.08);
    text-decoration: none;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header-inner {
        flex-wrap: wrap;
    }

    .site-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .account-page,
    .referral-page {
        width: min(100% - 24px, 980px);
    }

    .account-page {
        padding: 38px 0 64px;
    }

    .account-card {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .referral-page {
        padding: 38px 0 64px;
    }

    .referral-link-card,
    .referral-section {
        padding: 20px;
        border-radius: 18px;
    }

    .referral-copy-row {
        grid-template-columns: 1fr;
    }

    .referral-copy-button {
        width: 100%;
    }

    .stats-grid,
    .conversion-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: auto;
    }

    .invite-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .invite-row time {
        grid-column: 2;
    }
}

/* ===== MOBILE HEADER POLISH ===== */

@media (max-width: 640px) {

    .site-header-inner {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .site-brand {
        flex: 1 1 auto;
    }

    .language-switcher {
        order: 2;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .site-nav {
        order: 3;
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 6px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 3px 0 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav a,
    .site-nav .nav-logout-button {
        flex: 0 0 auto;
        padding: 7px 10px;
        font-size: 0.88rem;
    }

    .site-nav .nav-logout-form {
        flex: 0 0 auto;
    }

    .account-page {
        min-height: auto;
        place-items: start center;
        padding-top: 48px;
    }

    .referral-page {
        padding-top: 42px;
    }

    .referral-header h1 {
        font-size: clamp(2.3rem, 12vw, 3.2rem);
    }
}

@media (max-width: 640px) {
    .referral-header h1 {
        font-size: 2.55rem;
        line-height: 1.05;
    }
}


/* ===== ACCOMMODATION CARDS ===== */

.accommodation-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.accommodation-card {
    overflow: hidden;
    border: 1px solid rgba(31, 43, 50, 0.11);
    border-radius: 20px;
    background: #fffdfa;
    box-shadow: 0 12px 34px rgba(31, 43, 50, 0.06);
}

.accommodation-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #eeeae2;
}

.accommodation-card-body {
    padding: 20px;
}

.accommodation-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
}

.accommodation-type {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(20, 86, 106, 0.09);
    color: #14566a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.accommodation-card h3 {
    margin: 0 0 10px;
    color: #202d34;
    font-size: 1.35rem;
    line-height: 1.2;
}

.accommodation-card p {
    margin: 9px 0;
    color: #667178;
    line-height: 1.55;
}

.accommodation-card p:last-child {
    margin-top: 17px;
    margin-bottom: 0;
}

.accommodation-card p:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 15px;
    border-radius: 11px;
    background: #14566a;
    color: white;
    font-weight: 800;
    text-decoration: none;
}

.accommodation-card p:last-child a:hover,
.accommodation-card p:last-child a:focus-visible {
    background: #0f4657;
}

@media (max-width: 760px) {
    .accommodation-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .accommodation-card {
        border-radius: 17px;
    }

    .accommodation-card-body {
        padding: 18px;
    }
}

/* Better accommodation grid */
.accommodation-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.accommodation-card {
    min-width: 0;
}

@media (min-width: 761px) {
    .accommodation-list .accommodation-card:only-child {
        max-width: 430px;
    }
}


/* ===== PARTNER PROGRAM ===== */

.partner-page {
    width: min(100% - 40px, 1100px);
    margin: 0 auto;
    padding: 68px 0 100px;
}

.partner-hero {
    max-width: 800px;
    margin-bottom: 46px;
}

.partner-hero h1 {
    margin: 8px 0 18px;
    color: #202d34;
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1;
}

.partner-hero > p {
    max-width: 720px;
    margin-bottom: 26px;
    color: #667178;
    font-size: 1.08rem;
    line-height: 1.7;
}

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

.partner-feature {
    padding: 26px;
    border: 1px solid rgba(31, 43, 50, 0.11);
    border-radius: 20px;
    background: #fffdfa;
    box-shadow: 0 12px 34px rgba(31, 43, 50, 0.055);
}

.partner-feature h2 {
    margin: 0 0 12px;
    color: #202d34;
    font-size: 1.35rem;
    line-height: 1.25;
}

.partner-feature p {
    margin: 0;
    color: #667178;
    line-height: 1.65;
}

.partner-note {
    margin-top: 26px;
    padding: 22px 24px;
    border-left: 4px solid #14566a;
    border-radius: 0 14px 14px 0;
    background: rgba(20, 86, 106, 0.055);
}

.partner-note strong {
    color: #14566a;
}

.partner-note p {
    margin: 6px 0 0;
    color: #5f6d73;
    line-height: 1.6;
}

.partner-application-card {
    width: min(100%, 680px);
    padding: 42px;
    border: 1px solid rgba(31, 43, 50, 0.12);
    border-radius: 24px;
    background: #fffdfa;
    box-shadow: 0 18px 55px rgba(31, 43, 50, 0.08);
}

.partner-form {
    display: grid;
    gap: 20px;
}

.partner-form input:not([type="checkbox"]),
.partner-form select,
.partner-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid #ccd3d6;
    border-radius: 10px;
    background: white;
    color: #202d34;
    font: inherit;
}

.partner-form input:not([type="checkbox"]),
.partner-form select {
    min-height: 48px;
}

.partner-form textarea {
    resize: vertical;
    min-height: 115px;
}

.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
    outline: 3px solid rgba(20, 86, 106, 0.12);
    border-color: #14566a;
}

.partner-form .primary-action {
    width: 100%;
    margin-top: 6px;
}

.form-checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 10px;
}

.form-checkbox label {
    grid-column: 2;
    grid-row: 1;
}

.form-checkbox input {
    grid-column: 1;
    grid-row: 1;
    margin-top: 3px;
}

.form-checkbox .errorlist {
    grid-column: 1 / -1;
}

@media (max-width: 800px) {
    .partner-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .partner-page {
        width: min(100% - 24px, 1100px);
        padding: 42px 0 70px;
    }

    .partner-hero h1 {
        font-size: 2.75rem;
    }

    .partner-application-card {
        padding: 26px 20px;
        border-radius: 18px;
    }
}

/* ===== LEGAL PAGES ===== */

.legal-page {
    width: min(100% - 40px, 820px);
    margin: 0 auto;
    padding: 64px 0 96px;
}

.legal-page h1 {
    margin: 8px 0 28px;
    color: #202d34;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.05;
}

.legal-page p {
    margin: 0 0 18px;
    color: #536168;
    line-height: 1.75;
}

@media (max-width: 640px) {
    .legal-page {
        width: min(100% - 24px, 820px);
        padding: 42px 0 68px;
    }

    .legal-page h1 {
        font-size: 2.4rem;
    }
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 2.5rem 0 0.5rem;
}

.pagination-link,
.pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
}

.pagination-link {
    border: 1px solid rgba(0, 0, 0, 0.14);
    text-decoration: none;
    font-weight: 600;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.pagination-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.pagination-link:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.pagination-current {
    font-weight: 600;
    text-align: center;
}

@media (max-width: 600px) {
    .pagination {
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .pagination-link {
        flex: 1 1 110px;
        max-width: 160px;
    }

    .pagination-current {
        flex: 1 0 100%;
        order: -1;
        min-height: auto;
        padding: 0.25rem 0;
    }
}

/* image-attribution-rights-v1 */
.destination-figure .image-attribution {
    display: block;
    padding: 8px 10px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #45535d;
    background: #f6f8fa;
    border: 1px solid rgba(69, 83, 93, 0.14);
    border-radius: 10px;
}

.destination-figure .image-attribution a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.destination-figure .image-attribution__rights {
    font-weight: 600;
}

.destination-figure .image-attribution--pending {
    color: #6d5300;
    background: #fff8df;
    border-color: rgba(109, 83, 0, 0.24);
}

/* CATALOG_QUICK_PAGER_START */
body.has-catalog-page-dock {
    padding-bottom: 96px;
}

.catalog-page-dock {
    position: fixed;
    left: 50%;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    max-width: calc(100vw - 24px);
    padding: 8px;
    border: 1px solid rgba(24, 51, 59, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(20, 39, 46, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateX(-50%);
}

.catalog-page-dock__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #164f5b;
    color: #ffffff;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.catalog-page-dock__button:hover {
    background: #0f414b;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(22, 79, 91, 0.24);
}

.catalog-page-dock__button:focus-visible,
.catalog-page-dock__select:focus-visible {
    outline: 3px solid rgba(22, 79, 91, 0.28);
    outline-offset: 2px;
}

.catalog-page-dock__button--icon {
    width: 44px;
    padding: 0;
    font-size: 1.15rem;
}

.catalog-page-dock__button--wide {
    min-width: 104px;
    padding: 0 16px;
}

.catalog-page-dock__button.is-disabled {
    background: #e9eef0;
    color: #8a989d;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.catalog-page-dock__chooser {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(24, 51, 59, 0.14);
    border-radius: 999px;
    background: #f7f9f9;
    color: #263f47;
    font-weight: 650;
    white-space: nowrap;
}

.catalog-page-dock__select {
    min-width: 58px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid rgba(24, 51, 59, 0.2);
    border-radius: 10px;
    background: #ffffff;
    color: #18333b;
    font: inherit;
    text-align: center;
    cursor: pointer;
}

.catalog-page-dock__total {
    color: #60737a;
    font-weight: 600;
}

@media (max-width: 680px) {
    body.has-catalog-page-dock {
        padding-bottom: 88px;
    }

    .catalog-page-dock {
        bottom: max(10px, env(safe-area-inset-bottom));
        gap: 6px;
        width: calc(100vw - 20px);
        padding: 6px;
        border-radius: 22px;
    }

    .catalog-page-dock__button--wide {
        min-width: 46px;
        padding: 0 12px;
    }

    .catalog-page-dock__button-text,
    .catalog-page-dock__label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .catalog-page-dock__chooser {
        flex: 1;
        justify-content: center;
        min-width: 0;
        padding: 0 8px;
    }

    .catalog-page-dock__button--icon {
        display: none;
    }
}
/* CATALOG_QUICK_PAGER_END */

/* accommodation-owner-portal-v1 */
.global-messages {
    display: grid;
    gap: 10px;
    margin: 0 0 28px;
}

.global-message {
    padding: 14px 16px;
    border: 1px solid rgba(23, 74, 91, 0.18);
    border-radius: 12px;
    background: rgba(23, 74, 91, 0.07);
    color: var(--accent-dark);
}

.global-message--error {
    border-color: rgba(154, 48, 48, 0.25);
    background: rgba(154, 48, 48, 0.08);
    color: #842828;
}

.global-message--success {
    border-color: rgba(38, 113, 80, 0.25);
    background: rgba(38, 113, 80, 0.08);
    color: #1f6848;
}

.stay-catalog-hero,
.portal-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.stay-hero-action,
.portal-header__actions {
    flex: 0 0 auto;
}

.portal-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stay-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) auto;
    align-items: end;
    gap: 14px;
    margin: 0 0 34px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(31, 41, 51, 0.05);
}

.stay-filter__field {
    display: grid;
    gap: 7px;
}

.stay-filter label,
.portal-form label {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 700;
}

.stay-filter input,
.stay-filter select,
.portal-form input,
.portal-form select,
.portal-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d8d2c9;
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font: inherit;
}

.portal-form input[type="checkbox"] {
    width: auto;
}

.portal-form input[type="file"] {
    padding: 10px;
    background: #f8faf9;
}

.portal-form textarea {
    min-height: 120px;
    resize: vertical;
}

.stay-filter button,
.host-listing-actions button,
.inquiry-card button,
.submit-review-form button {
    padding: 12px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--accent);
    color: white;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

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

.stay-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(31, 41, 51, 0.06);
}

.stay-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ece8e0;
}

.stay-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stay-card__placeholder,
.stay-detail-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #7c8b90;
    font-size: 4rem;
}

.stay-card__body {
    padding: 22px;
}

.stay-card__body h2 {
    margin: 8px 0 10px;
    font-size: 1.45rem;
}

.stay-card__body h2 a,
.accommodation-card h3 a {
    color: inherit;
    text-decoration: none;
}

.stay-card__type,
.stay-card__location,
.stay-breadcrumb,
.stay-detail-location {
    color: var(--muted);
}

.stay-card__type {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stay-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 36px;
}

.empty-state,
.portal-warning {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fbfaf7;
}

.portal-warning {
    margin-bottom: 28px;
    border-color: rgba(196, 145, 34, 0.35);
    background: #fff9e8;
}

.stay-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 26px;
}

.stay-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    align-items: center;
    gap: 42px;
    margin-bottom: 28px;
}

.stay-detail-hero__media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    background: #ece8e0;
}

.stay-detail-hero__media img,
.stay-gallery img,
.host-photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stay-detail-price {
    margin-top: 24px;
    font-size: 1.1rem;
}

.verified-badge {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(38, 113, 80, 0.1);
    color: #1f6848;
    font-size: 0.86rem;
    font-weight: 800;
}

.stay-gallery,
.host-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 40px;
}

.stay-gallery figure,
.host-photo-grid figure {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    background: #ece8e0;
}

.host-photo-grid figure {
    position: relative;
}

.host-photo-grid form {
    position: absolute;
    right: 8px;
    bottom: 8px;
}

.stay-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    align-items: start;
    gap: 42px;
}

.stay-panel,
.stay-inquiry-card,
.portal-form-card,
.portal-section {
    margin-bottom: 26px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 10px 30px rgba(31, 41, 51, 0.05);
}

.stay-panel h2,
.stay-inquiry-card h2,
.portal-section h2 {
    margin-top: 0;
}

.stay-inquiry-card {
    position: sticky;
    top: 104px;
}

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

.stay-facts div {
    padding: 14px;
    border-radius: 12px;
    background: #f6f8f7;
}

.stay-facts dt {
    color: var(--muted);
    font-size: 0.8rem;
}

.stay-facts dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.amenity-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin-top: 22px;
}

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

.portal-form-card--wide {
    max-width: 980px;
}

.portal-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field--wide {
    grid-column: 1 / -1;
}

.form-field--checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-field .errorlist,
.portal-form .errorlist {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #9a3030;
    font-size: 0.9rem;
}

.portal-form small,
.form-privacy-note,
.portal-help {
    color: var(--muted);
    font-size: 0.9rem;
}

.photo-upload-fieldset {
    margin: 26px 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.portal-section__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.host-listings,
.inquiry-list {
    display: grid;
    gap: 14px;
}

.host-listing-card,
.inquiry-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fcfbf8;
}

.inquiry-card--new {
    border-color: rgba(23, 74, 91, 0.35);
    background: rgba(23, 74, 91, 0.045);
}

.host-listing-card h3,
.inquiry-card h3 {
    margin: 6px 0;
    font-size: 1.25rem;
}

.host-listing-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.host-listing-actions form {
    margin: 0;
}

.host-listing-actions a,
.host-listing-actions button,
.inquiry-card button,
.danger-link {
    font-size: 0.86rem;
}

.danger-link {
    background: #8c3434 !important;
    color: white !important;
}

.status-badge {
    display: inline-flex;
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e9eef0;
    color: #44545a;
    font-size: 0.78rem;
    font-weight: 800;
}

.status-badge--published {
    background: rgba(38, 113, 80, 0.12);
    color: #1f6848;
}

.status-badge--pending {
    background: #fff1c6;
    color: #765400;
}

.status-badge--rejected,
.status-badge--suspended {
    background: rgba(154, 48, 48, 0.1);
    color: #842828;
}

.moderation-note {
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff1c6;
}

.submit-review-form {
    margin-top: 22px;
}

.accommodation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.accommodation-actions a {
    display: inline-flex !important;
    width: auto !important;
}

@media (max-width: 900px) {
    .stay-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stay-detail-hero,
    .stay-detail-layout {
        grid-template-columns: 1fr;
    }

    .stay-inquiry-card {
        position: static;
    }
}

@media (max-width: 680px) {
    .stay-catalog-hero,
    .portal-header,
    .host-listing-card,
    .inquiry-card {
        align-items: stretch;
        flex-direction: column;
    }

    .stay-filter,
    .stay-grid,
    .portal-form-grid {
        grid-template-columns: 1fr;
    }

    .form-field--wide {
        grid-column: auto;
    }

    .stay-gallery,
    .host-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .host-listing-actions {
        justify-content: flex-start;
    }
}
