:root {
    --navy: #0b3558;
    --turquoise: #1fa3b3;
    --turquoise-light: #e9fbfc;
    --gold: #c8a45d;
    --sand: #fff7ec;
    --text: #1f2933;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(247, 253, 255, 0.34) 100%),
        url("../Images/beach.png") center top / cover fixed no-repeat,
        linear-gradient(180deg, #ffffff 0%, #f7fdff 100%);
}

body.mobile-menu-open {
    overflow: hidden;
}

.page-content {
    flex: 1 0 auto;
}

.site-footer {
    margin-top: auto;
    border-top: 1px solid rgba(11, 53, 88, 0.12);
    background: rgba(255, 255, 255, 0.92);
}

.site-footer-inner {
    width: min(100%, 1700px);
    margin: 0 auto;
    padding: 18px 20px 24px;
}

.site-footer p {
    margin: 0;
    color: #5e768d;
    font-size: 0.95rem;
    text-align: center;
}

/* HEADER */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 3px solid var(--turquoise);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 6px 20px rgba(6, 54, 92, 0.08);
}

.header-container {
    width: min(100%, 1700px);
    margin: 0 auto;
    padding: 4px 16px 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "logo nav right";
    align-items: center;
    column-gap: 24px;
}

.header-left {
    grid-area: logo;
    display: flex;
    align-items: center;
    justify-self: start;
    gap: 20px;
    min-width: 0;
}

/* LOGO */
.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 100px;
    transition: transform 0.25s ease;
}

    .logo img:hover {
        transform: scale(1.05);
    }

/* NAV */
.main-nav {
    grid-area: nav;
    display: flex;
    gap: 10px;
    justify-self: center;
}

    .main-nav a {
        text-decoration: none;
        color: var(--navy);
        font-weight: 600;
        padding: 10px 16px;
        border-radius: 999px;
        transition: 0.25s ease;
    }

        .main-nav a:hover {
            background: var(--turquoise-light);
            color: var(--turquoise);
        }

.header-right {
    grid-area: right;
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 14px;
}

.header-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(11, 53, 88, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 24px rgba(11, 53, 88, 0.08);
    cursor: pointer;
}

.header-menu-toggle-line {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--navy);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-menu-toggle.is-open .header-menu-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-menu-toggle.is-open .header-menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.header-menu-toggle.is-open .header-menu-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header-menu-panel {
    display: contents;
}

.header-menu-backdrop {
    display: none;
}

.header-admin-menu {
    flex: 0 0 auto;
}

/* LANGUAGE SWITCH */
.header-lang-group {
    display: flex;
    align-items: center;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border: 1px solid rgba(11, 53, 88, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
}

    .lang-switch a {
        text-decoration: none;
        color: var(--navy);
        font-weight: bold;
        padding: 8px 6px;
        border-radius: 999px;
        min-width: 0;
        text-align: center;
    }

        .lang-switch a.active {
            background: var(--turquoise);
            color: white;
            box-shadow: 0 4px 12px rgba(31, 163, 179, 0.35);
        }

.lang-divider {
    color: #7b8794;
    font-weight: 700;
    padding: 0 2px;
}

/* HOME */
.home-placeholder {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--turquoise-light), var(--sand));
}

    .home-placeholder h1 {
        font-size: 48px;
        color: var(--navy);
    }

/* ABOUT HERO */
.about-hero {
    background: linear-gradient(rgba(11, 53, 88, 0.75), rgba(31, 163, 179, 0.6)), url("../images/beach.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 44px 20px 56px;
}

    .about-hero p {
        max-width: 900px;
        margin: auto;
        font-size: 26px;
        font-weight: 600;
        line-height: 1.4;
    }

/* ABOUT CONTENT */
.about-container {
    max-width: 950px;
    margin: 40px auto 60px;
    padding: 4px 42px;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(11, 53, 88, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.about-container-secondary {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 32px;
}

    .about-container h1 {
        font-size: 40px;
        color: var(--navy);
        margin-bottom: 20px;
        position: relative;
    }

        .about-container h1::after {
            content: "";
            display: block;
            width: 80px;
            height: 4px;
            background: var(--gold);
            margin-top: 10px;
        }

    .about-container h2 {
        margin-top: 30px;
        font-size: 30px;
        color: var(--navy);
    }

    .about-container p {
        font-size: 18px;
        color: #163857;
    }

/* TRUST CARDS */
.trust-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

    .trust-list li {
        background: white;
        border-left: 6px solid var(--turquoise);
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(11, 53, 88, 0.08);
    }


.contact-hero {
    background: linear-gradient(rgba(11, 53, 88, 0.75), rgba(31, 163, 179, 0.6)), url("../images/beach.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 10px 20px 48px;
}

    .contact-hero h1 {
        font-size: 44px;
        margin-bottom: 10px;
    }

    .contact-hero p {
        font-size: 20px;
        max-width: 700px;
        margin: auto;
    }

.contact-container {
    max-width: 700px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-form {
    background: white;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(11, 53, 88, 0.12);
}

.form-group {
    margin-bottom: 22px;
}

    .form-group label {
        display: block;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 14px 16px;
        border: 2px solid #e5edf2;
        border-radius: 14px;
        font-size: 16px;
        font-family: inherit;
        box-sizing: border-box;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--turquoise);
            box-shadow: 0 0 0 4px rgba(31, 163, 179, 0.12);
        }

.contact-btn {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, var(--turquoise), var(--navy));
    color: white;
    padding: 16px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

    .contact-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(11, 53, 88, 0.2);
    }

.form-success {
    background: #e9fbfc;
    color: var(--navy);
    border-left: 6px solid var(--turquoise);
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-weight: 700;
}

.form-error {
    background: #fff1f2;
    color: #9f1239;
    border-left: 6px solid #e11d48;
    padding: 16px 20px;
    border-radius: 14px;
    margin-bottom: 24px;
    font-weight: 700;
}

.header-auth-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.account-menu {
    position: relative;
}

.account-menu summary {
    list-style: none;
}

.account-menu summary::-webkit-details-marker {
    display: none;
}

.account-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    padding: 10px;
    border: 1px solid rgba(11, 53, 88, 0.14);
    border-radius: 18px;
    background: white;
    box-shadow: 0 18px 40px rgba(11, 53, 88, 0.14);
    display: none;
    z-index: 200;
}

.account-menu[open] .account-menu-panel {
    display: grid;
    gap: 6px;
}

.account-menu-link,
.account-menu-button {
    width: 100%;
    display: block;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.account-menu-link:hover,
.account-menu-button:hover {
    background: var(--turquoise-light);
    color: var(--turquoise);
}

.account-menu-form {
    margin: 0;
}

.header-auth-link {
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    transition: 0.25s ease;
    border: 1px solid rgba(11, 53, 88, 0.28);
    background: rgba(255, 255, 255, 0.92);
}

.header-auth-link:hover {
    color: var(--turquoise);
    border-color: rgba(31, 163, 179, 0.45);
    background: var(--turquoise-light);
}

.admin-logout-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 180px;
    padding: 8px 8px 8px 14px;
    border-radius: 999px;
    background: var(--turquoise-light);
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.user-chip:hover {
    background: #dff7fb;
}

.user-chip:focus-visible {
    outline: 2px solid rgba(31, 163, 179, 0.55);
    outline-offset: 3px;
}

.user-chip-label {
    display: inline-flex;
    align-items: center;
}

.user-chip-toggle {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: inset 0 0 0 1px rgba(11, 53, 88, 0.12);
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.user-chip-toggle svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-menu[open] .user-chip-toggle {
    transform: rotate(180deg);
    background: rgba(31, 163, 179, 0.16);
}

.admin-user {
    color: var(--navy);
    font-weight: 700;
}

.admin-logout-button {
    border: none;
    background: var(--navy);
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
}

.admin-auth-shell {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.admin-auth-card {
    width: 100%;
    max-width: 460px;
    background: white;
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 20px 45px rgba(11, 53, 88, 0.14);
}

.admin-auth-eyebrow {
    margin: 0 0 8px;
    color: var(--turquoise);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-auth-card h1 {
    margin: 0;
    color: var(--navy);
    font-size: 38px;
}

.admin-auth-copy {
    margin: 12px 0 24px;
    color: #52606d;
    line-height: 1.6;
}

.admin-auth-helper {
    margin: 18px 0 0;
    color: #52606d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.admin-auth-delivery {
    margin-top: 24px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(25, 96, 143, 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(245, 251, 255, 0.96) 0%, rgba(239, 247, 252, 0.96) 100%);
}

.admin-auth-helper-label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5e768d;
}

.admin-auth-helper-primary {
    margin: 6px 0 0;
    color: var(--navy);
    font-size: 1rem;
}

.admin-auth-helper a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.admin-auth-helper a:hover {
    text-decoration: underline;
}

.admin-auth-secondary-form {
    margin: 14px 0 0;
}

.admin-auth-secondary-link {
    width: 100%;
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(31, 163, 179, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    font: inherit;
    cursor: pointer;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-auth-secondary-link:hover {
    border-color: rgba(31, 163, 179, 0.45);
    box-shadow: 0 12px 24px rgba(20, 75, 116, 0.08);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 1);
}

.admin-auth-secondary-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--turquoise);
}

.admin-auth-secondary-copy {
    font-weight: 800;
    color: var(--navy);
}

.admin-auth-secondary-email {
    font-size: 0.92rem;
    color: #4f6375;
}

.admin-auth-form {
    display: grid;
    gap: 14px;
}

.admin-auth-form label {
    color: var(--navy);
    font-weight: 700;
}

.admin-auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5edf2;
    border-radius: 14px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

.admin-auth-form input:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 0 4px rgba(31, 163, 179, 0.12);
}

.auth-shell {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: white;
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 20px 45px rgba(11, 53, 88, 0.14);
}

.auth-eyebrow {
    margin: 0 0 8px;
    color: var(--turquoise);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-card h1 {
    margin: 0;
    color: var(--navy);
    font-size: 38px;
}

.auth-copy {
    margin: 12px 0 24px;
    color: #52606d;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-form label {
    color: var(--navy);
    font-weight: 700;
}

.auth-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5edf2;
    border-radius: 14px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 0 4px rgba(31, 163, 179, 0.12);
}

.auth-switch-copy {
    margin: 20px 0 0;
    color: #52606d;
    text-align: center;
}

.auth-switch-copy a {
    color: var(--navy);
    font-weight: 700;
}

.admin-properties-shell,
.admin-content-shell,
.property-public-shell {
    width: min(1040px, calc(100% - 48px));
    margin: 0 auto;
    padding: 32px 0 44px;
}

.home-toc-shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 32px 0 20px;
}

.restaurant-toc-shell {
    padding: 18px 0 12px;
}

.home-toc-card {
    display: grid;
    gap: 24px;
    padding: 30px;
    border: 1px solid rgba(11, 53, 88, 0.08);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(31, 163, 179, 0.14), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 255, 0.96));
    box-shadow: 0 18px 40px rgba(11, 53, 88, 0.08);
}

.quick-scroll-highlight {
    animation: quick-scroll-pulse 1.1s ease;
    transform-origin: center top;
}

@keyframes quick-scroll-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 18px 40px rgba(11, 53, 88, 0.08), 0 0 0 0 rgba(31, 163, 179, 0.42);
    }
    35% {
        transform: scale(1.015);
        box-shadow: 0 22px 44px rgba(11, 53, 88, 0.12), 0 0 0 10px rgba(31, 163, 179, 0.18);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 18px 40px rgba(11, 53, 88, 0.08), 0 0 0 0 rgba(31, 163, 179, 0);
    }
}

.home-toc-eyebrow {
    margin: 0 0 8px;
    color: var(--turquoise);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-toc-copy h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(28px, 3vw, 40px);
}

.home-toc-copy p:last-child {
    margin: 12px 0 0;
    max-width: 760px;
    color: #52606d;
    font-size: 17px;
    line-height: 1.6;
}

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

#home-properties,
#home-info-request,
#home-info-request-rent,
#home-residency,
#home-rental,
#home-management,
#home-restaurants,
#home-excursions,
#home-playa-guide {
    scroll-margin-top: 120px;
}

.home-toc-link {
    display: grid;
    gap: 8px;
    min-height: 124px;
    padding: 18px;
    border: 1px solid rgba(11, 53, 88, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(11, 53, 88, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-toc-link:hover {
    transform: translateY(-3px);
    border-color: rgba(31, 163, 179, 0.35);
    box-shadow: 0 16px 28px rgba(11, 53, 88, 0.1);
}

.home-toc-link-title {
    color: var(--navy);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.home-toc-link-copy {
    color: #52606d;
    font-size: 14px;
    line-height: 1.5;
}

.admin-properties-header,
.property-public-header {
    margin-bottom: 36px;
}

.admin-properties-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.admin-properties-eyebrow {
    margin: 0 0 10px;
    color: var(--turquoise);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-properties-header h1,
.property-public-header h1 {
    margin: 0;
    color: #000000;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1;
}

.admin-properties-header p {
    max-width: 560px;
    margin: 14px 0 0;
    color: #52606d;
    font-size: 17px;
    line-height: 1.6;
}

.admin-properties-layout {
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.property-form-card,
.property-admin-preview,
.admin-content-card,
.admin-content-preview-panel {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(11, 53, 88, 0.12);
    border: 1px solid rgba(11, 53, 88, 0.08);
}

.admin-content-preview {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.admin-content-preview-panel.admin-content-preview {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(11, 53, 88, 0.12);
    border: 1px solid rgba(11, 53, 88, 0.08);
}

.admin-content-preview .property-admin-preview-header,
.admin-content-preview .admin-content-preview-header {
    margin-bottom: 18px;
    padding: 0 4px;
}

.property-form-card h2,
.admin-content-card h2,
.property-admin-preview-header h2,
.admin-content-preview-header h2 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: 28px;
}

.property-form {
    display: grid;
    gap: 16px;
}

.property-form label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-weight: 700;
}

.property-upload-group + .property-upload-group {
    margin-top: 14px;
}

.property-upload-group-title {
    margin: 12px 0 8px;
    font-weight: 700;
}

.property-upload-group-list {
    margin: 0;
    padding-left: 20px;
    column-count: 1;
    font-weight: 600;
}

.property-upload-group-list li + li {
    margin-top: 4px;
}

.property-field-help {
    color: #52606d;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.property-file-input-shell {
    position: relative;
}

.property-file-input-native {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.property-file-input-display {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5edf2;
    border-radius: 14px;
    background: #ffffff;
    box-sizing: border-box;
    min-height: 58px;
}

.property-file-input-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid rgba(11, 53, 88, 0.2);
    border-radius: 10px;
    background: rgba(248, 251, 255, 0.96);
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.property-file-input-text {
    color: #52606d;
    font-size: 15px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-upload-progress {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(233, 249, 255, 0.9);
    border: 1px solid rgba(37, 185, 229, 0.18);
}

.property-upload-progress-shell {
    max-width: 1300px;
    margin: 0 auto 22px;
}

.property-upload-progress[hidden] {
    display: none !important;
}

.property-upload-progress-stage {
    display: grid;
    gap: 8px;
}

.property-upload-processing-stage[hidden] {
    display: none !important;
}

.property-upload-progress-bar {
    position: relative;
    width: 100%;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(11, 53, 88, 0.08);
}

.property-upload-progress-label {
    margin: 0;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.property-upload-progress-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--turquoise), var(--navy));
    transition: width 0.18s ease;
}

.property-upload-processing-fill {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--turquoise), var(--navy));
}

.property-upload-progress-text {
    margin: 0;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

.property-form-choice {
    margin: 0;
    padding: 0;
    border: none;
    display: grid;
    gap: 14px;
}

.property-form-choice legend {
    padding: 0;
    margin-bottom: 6px;
    color: var(--navy);
    font-weight: 700;
}

.property-radio-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.property-radio-option {
    display: grid !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(11, 53, 88, 0.12);
    border-radius: 16px;
    background: #ffffff;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
}

.property-radio-option input {
    width: auto;
    margin: 0;
    flex: 0 0 auto;
}

.property-radio-option span {
    justify-self: start;
    white-space: nowrap;
}

.property-form input,
.property-form select,
.property-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5edf2;
    border-radius: 14px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    background: #ffffff;
}

.property-form input:focus,
.property-form select:focus,
.property-form textarea:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 0 4px rgba(31, 163, 179, 0.12);
}

.property-file-input-shell:focus-within .property-file-input-display {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 4px rgba(31, 163, 179, 0.12);
}

.property-form textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
}

.property-form-row {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 14px;
}

.property-admin-preview-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.property-admin-preview-header h2 {
    margin-bottom: 0;
}

.property-admin-preview-header p {
    margin: 0;
    color: #7b8794;
    font-weight: 700;
}

.property-preview-label {
    margin-bottom: 6px !important;
    color: var(--turquoise) !important;
    font-size: 13px;
    font-weight: 800 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.property-admin-card {
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(11, 53, 88, 0.08);
    box-shadow: 0 12px 28px rgba(11, 53, 88, 0.08);
}

.property-admin-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.property-admin-card-body {
    padding: 20px;
}

.property-admin-card-body h3 {
    margin: 0;
    color: #000000;
    font-size: 24px;
    line-height: 1.1;
}

.property-admin-city,
.property-admin-price {
    margin: 10px 0 0;
}

.property-admin-count {
    margin: 8px 0 0;
    color: #52606d;
    font-size: 14px;
    font-weight: 700;
}

.property-admin-mode,
.property-public-mode {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--turquoise-light);
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.property-admin-city,
.property-public-city {
    color: #000000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

.property-admin-price,
.property-public-price {
    color: #000000;
    font-size: 18px;
    font-weight: 700;
}

.property-admin-actions {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.property-admin-actions .header-auth-link,
.property-admin-actions .account-menu-button,
.property-edit-link {
    padding: 10px 16px;
}

.property-open-link {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.property-admin-secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.property-edit-link,
.property-delete-button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.property-edit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--turquoise-light);
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.property-delete-button {
    background: #fff3f3;
    color: #9b1c1c;
}

.property-cancel-link {
    text-align: center;
    color: #52606d;
    font-weight: 700;
    text-decoration: none;
}

.property-new-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    background: var(--turquoise-light);
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    padding: 12px 16px;
}

.property-cancel-link:hover {
    color: var(--navy);
}

.property-empty-state {
    padding: 24px;
    border-radius: 22px;
    background: var(--turquoise-light);
    color: var(--navy);
    font-weight: 700;
}

.property-public-header {
    text-align: left;
}

#home-properties .property-public-header {
    margin-bottom: 32px;
}

#home-properties .property-filter-bar {
    margin-bottom: 18px;
}

.property-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

.property-filter-label {
    color: #52606d;
    font-size: 15px;
    font-weight: 700;
}

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

.property-filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid rgba(11, 53, 88, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.property-filter-link:hover {
    background: var(--turquoise-light);
    border-color: rgba(31, 163, 179, 0.35);
}

.property-filter-link.active {
    background: linear-gradient(135deg, var(--turquoise), var(--navy));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(11, 53, 88, 0.14);
}

.property-public-grid {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: center;
}

.property-public-row {
    display: flex;
    justify-content: center;
    gap: 28px;
    width: fit-content;
    max-width: 100%;
}

.property-public-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 1 220px;
    max-width: 220px;
    margin: 0 auto;
    width: 100%;
    padding: 14px 14px 20px;
    border: 1.5px solid rgba(11, 53, 88, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(11, 53, 88, 0.08);
}

.property-public-row-3 .property-public-card {
    flex-basis: 260px;
    max-width: 260px;
}

.property-public-row-4 .property-public-card {
    flex-basis: 235px;
    max-width: 235px;
}

.property-public-row-5 .property-public-card {
    flex-basis: 220px;
    max-width: 220px;
}

.property-public-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.property-public-card h2 {
    margin: 16px 0 0;
    color: #000000;
    font-size: 21px;
    line-height: 1.12;
    font-weight: 800;
}

.property-public-card p {
    margin: 8px 0 0;
}

.property-public-price-primary {
    font-weight: 800;
    font-size: 14px;
}

.property-public-price-secondary {
    margin-top: 4px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 500;
}

.property-public-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    width: 100%;
    max-width: 100%;
    margin-top: auto;
    padding: 12px 14px;
    margin-bottom: 0;
    border: 1px solid rgba(11, 53, 88, 0.18);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--turquoise-light), #ffffff 70%);
    color: var(--navy);
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    box-sizing: border-box;
    word-break: normal;
    overflow-wrap: anywhere;
    box-shadow: 0 10px 24px rgba(11, 53, 88, 0.08);
    transition: 0.2s ease;
}

.property-public-card .property-public-price-secondary {
    margin-bottom: 14px;
}

.property-public-link:hover {
    background: linear-gradient(135deg, var(--turquoise), var(--navy));
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(11, 53, 88, 0.16);
}

.property-empty-state-public {
    margin-top: 16px;
}

.property-gallery-admin-card,
.property-detail-gallery-card {
    margin-top: 32px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(11, 53, 88, 0.08);
    border: 1px solid rgba(11, 53, 88, 0.08);
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.property-gallery-admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.property-gallery-admin-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.property-gallery-admin-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
    margin-left: auto;
    flex: 0 0 auto;
}

.property-gallery-toggle-button {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid rgba(37, 185, 229, 0.35);
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(11, 53, 88, 0.08);
    transition: 0.2s ease;
}

.property-gallery-toggle-button:hover {
    background: linear-gradient(135deg, rgba(233, 249, 255, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(37, 185, 229, 0.5);
    color: var(--navy);
    transform: translateY(-1px);
}

.property-gallery-toggle-button:focus-visible {
    outline: 3px solid rgba(37, 185, 229, 0.22);
    outline-offset: 2px;
}

.property-gallery-admin-help {
    margin: 0;
    color: rgba(11, 53, 88, 0.78);
}

.property-gallery-admin-item {
    position: relative;
    display: block;
    cursor: pointer;
}

.property-gallery-admin-select {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.property-gallery-admin-item input {
    position: absolute;
    inset: 12px auto auto 12px;
    width: 20px;
    height: 20px;
    margin: 0;
    z-index: 2;
}

.property-gallery-admin-primary {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.property-gallery-admin-primary form {
    margin: 0;
}

.property-gallery-admin-primary-button,
.property-gallery-admin-primary-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(11, 53, 88, 0.08);
}

.property-gallery-admin-primary-button {
    border: 1px solid rgba(37, 185, 229, 0.35);
    cursor: pointer;
}

.property-gallery-admin-primary-badge {
    border: 1px solid rgba(37, 185, 229, 0.45);
    background: rgba(233, 249, 255, 0.96);
}

.property-gallery-admin-item img {
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.property-gallery-admin-item video,
.property-detail-gallery-video {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    background: #0b3558;
}

.property-gallery-admin-item input:checked ~ img {
    opacity: 0.55;
    transform: scale(0.98);
    box-shadow: 0 0 0 3px rgba(225, 38, 72, 0.2);
}

.property-gallery-admin-item input:checked ~ video {
    opacity: 0.55;
    transform: scale(0.98);
    box-shadow: 0 0 0 3px rgba(225, 38, 72, 0.2);
}

.property-delete-selected-button {
    align-self: flex-start;
}

.property-detail-gallery-grid {
    display: flex;
    gap: 18px;
    transition: transform 0.28s ease;
}

.property-detail-gallery-viewport {
    overflow: hidden;
}

.property-detail-gallery-item {
    margin: 0;
    flex: 0 0 calc((100% - 54px) / 4);
}

.property-gallery-admin-grid img,
.property-detail-gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.property-gallery-nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.property-gallery-nav-button {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(11, 53, 88, 0.16);
    border-radius: 999px;
    background: #ffffff;
    color: var(--navy);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.property-gallery-nav-button:disabled {
    opacity: 0.35;
    cursor: default;
}

.property-detail-shell {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    padding: 32px 0 72px;
}

.property-detail-back-row {
    margin-bottom: 20px;
}

.property-detail-back-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(18, 163, 197, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #eefbfd 100%);
    box-shadow: 0 12px 24px rgba(11, 53, 88, 0.1);
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.property-detail-back-link:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #ffffff 0%, #def7fb 100%);
    color: var(--turquoise);
    box-shadow: 0 16px 30px rgba(11, 53, 88, 0.14);
}

.property-detail-back-link:focus-visible {
    outline: 3px solid rgba(18, 163, 197, 0.22);
    outline-offset: 3px;
}

.property-detail-copy {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(11, 53, 88, 0.08);
    border: 1px solid rgba(11, 53, 88, 0.08);
}

.property-detail-copy {
    max-width: 1300px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
}

.property-detail-heading {
    display: grid;
    gap: 14px;
}

.property-detail-copy h1 {
    margin: 0;
    color: #000000;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1;
}

.property-detail-city {
    margin: 14px 0 0;
    color: #000000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
}

.property-detail-pricing {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    padding: 22px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(31, 163, 179, 0.08), rgba(255, 247, 236, 0.65));
}

.property-detail-price {
    margin: 0;
    color: #000000;
    font-size: 28px;
    font-weight: 800;
}

.property-detail-price-secondary {
    margin: 0;
    color: #52606d;
    font-size: 18px;
}

.property-detail-description {
    margin-top: 22px;
    color: #243b53;
    font-size: 17px;
    line-height: 1.8;
}

.property-detail-actions {
    margin-top: 24px;
}

.property-lightbox-trigger {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
}

.property-detail-gallery-item .property-lightbox-trigger img {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-detail-gallery-item .property-lightbox-trigger:hover img {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(11, 53, 88, 0.14);
}

.property-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.property-lightbox[hidden] {
    display: none;
}

.property-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 18, 31, 0.88);
}

.property-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1100px, 100%);
    max-height: calc(100vh - 48px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.property-lightbox-dialog img {
    max-width: 100%;
    max-height: calc(100vh - 48px);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.property-lightbox-nav,
.property-lightbox-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.property-lightbox-close {
    top: 18px;
    right: 18px;
}

.property-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    font-size: 42px;
}

.property-lightbox-nav-prev {
    left: 24px;
}

.property-lightbox-nav-next {
    right: 24px;
}

.info-request-shell {
    width: min(1040px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 28px;
}

.info-request-shell-secondary {
    padding-top: 0;
    margin-top: -12px;
}

.info-request-card {
    padding: 28px 30px;
    border: 1px solid rgba(11, 53, 88, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(11, 53, 88, 0.08);
}

.info-request-card-compact {
    padding: 24px 30px 28px;
}

.info-request-eyebrow {
    margin: 0 0 10px;
    color: var(--turquoise);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-request-card h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(24px, 2.4vw, 34px);
}

.purchase-guide-card {
    margin-top: 26px;
    padding: 24px;
    border: 1px solid rgba(11, 53, 88, 0.1);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 251, 255, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.purchase-guide-card h2,
.purchase-guide-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: clamp(24px, 2.4vw, 30px);
}

.purchase-guide-card p {
    margin: 0;
    color: #52606d;
    line-height: 1.7;
}

.purchase-guide-card p + p {
    margin-top: 10px;
}

.purchase-guide-table-wrap {
    margin-top: 18px;
}

.purchase-guide-table-title {
    font-weight: 800;
    color: var(--navy);
}

.purchase-guide-table-subtitle {
    margin-top: 6px;
    font-size: 14px;
}

.purchase-guide-table {
    width: 100%;
    margin-top: 16px;
    border-collapse: collapse;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
}

.purchase-guide-table th,
.purchase-guide-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(11, 53, 88, 0.08);
    text-align: left;
}

.purchase-guide-table th {
    color: var(--navy);
    font-weight: 700;
}

.purchase-guide-table td {
    color: #1e425e;
    font-weight: 700;
    white-space: nowrap;
}

.purchase-guide-table tfoot th,
.purchase-guide-table tfoot td {
    border-bottom: 0;
    background: rgba(31, 163, 179, 0.1);
    font-size: 17px;
}

.purchase-guide-table-note {
    margin-top: 12px;
    font-size: 14px;
}

.purchase-guide-card-form {
    margin-bottom: 28px;
}

.purchase-guide-card-page {
    margin-top: 24px;
}

.info-request-secondary-title {
    font-size: clamp(28px, 2.6vw, 36px);
}

.info-request-copy {
    max-width: 760px;
    margin: 14px 0 0;
    color: #52606d;
    font-size: 16px;
    line-height: 1.6;
}

.info-request-copy-emphasis {
    color: var(--navy);
    font-size: 17px;
}

.info-request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.info-request-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--turquoise), var(--navy));
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.info-request-link-disabled {
    background: linear-gradient(135deg, rgba(229, 237, 242, 0.98), rgba(245, 249, 252, 0.98));
    color: #6b7c93;
    border: 1px solid rgba(11, 53, 88, 0.12);
    cursor: default;
    pointer-events: none;
}

.residency-hero {
    background: linear-gradient(rgba(11, 53, 88, 0.76), rgba(31, 163, 179, 0.56)), url("../images/beach.png");
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 78px 20px;
}

.residency-hero p {
    max-width: 920px;
    margin: 0 auto;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.45;
}

.residency-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 20px 72px;
}

.residency-container h1 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: clamp(34px, 4vw, 46px);
}

.residency-container > p {
    max-width: 820px;
    margin: 0 0 32px;
    color: #52606d;
    font-size: 18px;
    line-height: 1.7;
}

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

.residency-step-card,
.residency-note {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 53, 88, 0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 14px 32px rgba(11, 53, 88, 0.08);
}

.residency-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: var(--gold);
    color: #ffffff;
    font-weight: 800;
}

.residency-step-card h2,
.residency-note h2 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 24px;
}

.residency-step-card p,
.residency-note p {
    margin: 0;
    color: #52606d;
    font-size: 17px;
    line-height: 1.7;
}

.property-management-outro {
    margin-top: 32px !important;
}

.residency-step-link {
    margin-top: 14px !important;
}

.residency-step-link a {
    color: var(--turquoise);
    font-weight: 700;
    text-decoration: none;
}

.residency-step-link a:hover {
    text-decoration: underline;
}

.residency-list {
    margin: 0;
    padding-left: 20px;
    color: #52606d;
    font-size: 17px;
    line-height: 1.75;
}

.residency-list li + li {
    margin-top: 8px;
}

.residency-note {
    margin-top: 26px;
}

.residency-actions {
    margin-top: 28px;
}

.page-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 28px;
}

.page-home-link {
    margin-left: auto;
    border: 1px solid rgba(18, 163, 197, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #eefbfd 100%);
    box-shadow: 0 12px 24px rgba(11, 53, 88, 0.1);
    color: var(--navy);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.page-home-link:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #ffffff 0%, #def7fb 100%);
    color: var(--turquoise);
    box-shadow: 0 16px 30px rgba(11, 53, 88, 0.14);
}

.page-home-link:focus-visible {
    outline: 3px solid rgba(18, 163, 197, 0.22);
    outline-offset: 3px;
}

.restaurant-category-list {
    display: grid;
    gap: 24px;
    margin-top: 28px;
}

.restaurant-toc-shell .home-toc-card {
    gap: 18px;
    padding: 24px;
}

.restaurant-toc-shell .home-toc-grid {
    gap: 12px;
}

.restaurant-toc-shell .home-toc-link {
    min-height: 0;
    gap: 2px;
    padding: 12px 16px;
    align-content: start;
}

.restaurant-toc-shell .home-toc-link-title {
    font-size: 16px;
}

.restaurant-toc-shell .home-toc-link-copy {
    font-size: 13px;
    line-height: 1.35;
}

.restaurant-category {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 53, 88, 0.1);
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(11, 53, 88, 0.06);
    padding: 24px;
    scroll-margin-top: 180px;
}

.restaurant-category-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.restaurant-category-header h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(24px, 2vw, 30px);
}

.restaurant-category-flag {
    display: inline-block;
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(11, 53, 88, 0.14);
    margin-right: 10px;
    vertical-align: middle;
}

.restaurant-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    font-size: 18px;
    vertical-align: middle;
}

.restaurant-category-header span {
    color: var(--turquoise);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.restaurant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.restaurant-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fcff 100%);
    border: 1px solid rgba(18, 163, 197, 0.14);
}

.restaurant-card-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.restaurant-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 21px;
}


.restaurant-price {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(18, 163, 197, 0.12);
    color: var(--turquoise);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.restaurant-area,
.restaurant-reference {
    margin: 0;
    color: #52606d;
    font-size: 16px;
    line-height: 1.5;
}

.restaurant-area-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed rgba(18, 163, 197, 0.35);
}

.restaurant-area-link:hover {
    color: var(--turquoise);
    border-bottom-color: rgba(18, 163, 197, 0.8);
}

.restaurant-reference {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 600;
}

.restaurant-reference-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(11, 53, 88, 0.08);
    border: 1px solid rgba(11, 53, 88, 0.12);
}

.restaurant-reference-badge-text {
    color: var(--navy);
}

.restaurant-reference-badge-heart {
    background: rgba(209, 43, 43, 0.1);
    border-color: rgba(209, 43, 43, 0.16);
    color: #9f1d1d;
}

.restaurant-reference-heart {
    color: #d62828;
    font-size: 16px;
    line-height: 1;
}

.restaurant-reference-badge-tripadvisor {
    padding: 4px;
    background: transparent;
    border: 0;
}

.restaurant-reference-tripadvisor-logo {
    display: block;
    width: 72px;
    height: 72px;
}

.restaurant-link {
    color: var(--turquoise);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.restaurant-link:hover {
    color: var(--navy);
}

.guide-category-list {
    display: grid;
    gap: 24px;
}

.guide-map-card {
    display: grid;
    gap: 20px;
    margin: 24px 0;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(11, 53, 88, 0.1);
    background:
        radial-gradient(circle at top left, rgba(31, 163, 179, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 251, 255, 0.98) 100%);
    box-shadow: 0 14px 28px rgba(11, 53, 88, 0.06);
}

.home-toc-shell .guide-map-card,
.info-request-shell .guide-map-card {
    margin: 0;
}

.guide-map-copy {
    display: grid;
    gap: 10px;
}

.guide-map-copy h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(26px, 2.4vw, 34px);
}

.guide-map-copy p {
    margin: 0;
    color: #52606d;
    font-size: 16px;
    line-height: 1.6;
}

.guide-map-eyebrow {
    color: var(--turquoise);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.guide-map-figure {
    margin: 0;
    display: grid;
    gap: 12px;
}

.guide-map-link {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(11, 53, 88, 0.1);
    box-shadow: 0 16px 30px rgba(11, 53, 88, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.guide-map-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(11, 53, 88, 0.16);
}

.guide-map-image {
    display: block;
    width: 100%;
    height: auto;
}

.guide-map-figure figcaption {
    color: #52606d;
    font-size: 14px;
    line-height: 1.5;
}

.guide-category {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 53, 88, 0.1);
    border-radius: 24px;
    box-shadow: 0 14px 28px rgba(11, 53, 88, 0.06);
    padding: 24px;
    scroll-margin-top: 180px;
}

.guide-category-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.guide-category-header h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(24px, 2vw, 30px);
}

.guide-category-header span {
    color: var(--turquoise);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.guide-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fcff 100%);
    border: 1px solid rgba(18, 163, 197, 0.14);
}

.guide-card-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.guide-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 20px;
}

.guide-video-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #ffeded;
    color: #d61f1f;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.guide-video-link:hover {
    background: #ffd8d8;
    transform: translateY(-1px);
}

.guide-video-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.guide-area,
.guide-note {
    margin: 0;
    color: #52606d;
    font-size: 16px;
    line-height: 1.5;
}

.guide-note {
    color: var(--navy);
    font-weight: 600;
}

.guide-link {
    color: var(--turquoise);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.guide-link:hover {
    color: var(--navy);
}

.rental-form-page {
    background: #dff3ff;
    padding: 32px 20px 72px;
}

.rental-form-shell {
    width: min(820px, 100%);
    margin: 0 auto;
}

.rental-form-intro,
.rental-question-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 53, 88, 0.1);
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(11, 53, 88, 0.06);
}

.rental-form-intro {
    padding: 26px 30px;
    border-top: 10px solid var(--turquoise);
    margin: 16px 0;
}

.rental-form-intro h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(34px, 4vw, 54px);
}

.rental-form-intro p {
    margin: 14px 0 0;
    color: #52606d;
    font-size: 18px;
    line-height: 1.6;
}

.rental-form-required {
    color: #c62828 !important;
    font-size: 16px !important;
}

.rental-form {
    display: grid;
    gap: 16px;
}

.rental-question-card {
    padding: 28px 30px;
}

.rental-fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

.admin-shortcuts-trigger {
    border: 1px solid rgba(11, 53, 88, 0.28);
}

.admin-content-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.admin-content-section-links,
.admin-content-language-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-content-section-link,
.admin-content-language-link {
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(11, 53, 88, 0.12);
    background: rgba(255, 255, 255, 0.92);
}

.admin-content-section-link.is-active,
.admin-content-language-link.is-active {
    background: var(--turquoise-light);
    border-color: rgba(31, 163, 179, 0.34);
    color: var(--turquoise);
}

.admin-content-layout {
    display: grid;
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.admin-content-form {
    display: grid;
    gap: 12px;
}

.admin-content-form-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.admin-content-form-header h2,
.admin-content-form-header h4 {
    margin: 0;
    color: var(--navy);
}

.admin-content-form-header p {
    margin: 6px 0 0;
    color: #52606d;
    font-size: 14px;
    line-height: 1.45;
}

.admin-content-cancel-link {
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(11, 53, 88, 0.06);
    white-space: nowrap;
}

.admin-content-cancel-link:hover {
    background: rgba(31, 163, 179, 0.14);
    color: var(--turquoise);
}

.admin-content-new-category-fields {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(18, 163, 197, 0.16);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fcff 100%);
}

.admin-content-new-category-fields.is-hidden {
    display: none;
}

.admin-content-inline-title h3 {
    margin: 0;
    color: var(--navy);
    font-size: 18px;
}

.admin-content-inline-title p {
    margin: 6px 0 0;
    color: #52606d;
    font-size: 14px;
    line-height: 1.45;
}

.admin-content-icon-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(11, 53, 88, 0.05);
    color: #52606d;
    font-size: 14px;
}

.admin-content-icon-preview-label {
    font-weight: 700;
    color: var(--navy);
}

.admin-content-icon-preview-value {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.admin-content-icon-picker {
    position: relative;
}

.admin-content-icon-picker-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 40;
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(11, 53, 88, 0.12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(11, 53, 88, 0.14);
}

.admin-content-icon-picker-menu.is-hidden,
.admin-content-icon-option.is-hidden,
.admin-content-icon-empty.is-hidden {
    display: none;
}

.admin-content-icon-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
}

.admin-content-icon-option:hover {
    background: var(--turquoise-light);
}

.admin-content-icon-option-symbol {
    width: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    flex-shrink: 0;
}

.admin-content-icon-option-symbol .restaurant-category-flag {
    width: 24px;
    height: 18px;
    margin-right: 0;
    display: block;
}

.admin-content-icon-option-symbol .restaurant-category-icon {
    margin-right: 0;
}

.admin-content-icon-option-copy {
    display: grid;
    gap: 2px;
}

.admin-content-icon-option-copy strong {
    font-size: 15px;
}

.admin-content-icon-option-copy span {
    color: #52606d;
    font-size: 13px;
}

.admin-content-icon-empty {
    padding: 14px 12px;
    color: #52606d;
    font-size: 14px;
}

.admin-content-reference-picker {
    position: relative;
}

.admin-content-reference-trigger {
    width: 100%;
    min-height: 54px;
    padding: 10px 18px;
    border: 2px solid rgba(198, 220, 234, 0.9);
    border-radius: 18px;
    font-size: 16px;
    font-family: inherit;
    color: var(--navy);
    background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-content-reference-trigger::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--turquoise);
    border-bottom: 2px solid var(--turquoise);
    transform: rotate(45deg) translateY(-2px);
    flex-shrink: 0;
    margin-left: auto;
}

.admin-content-reference-trigger:focus {
    outline: none;
    border-color: var(--turquoise);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(31, 163, 179, 0.14);
}

.admin-content-reference-trigger-content,
.admin-content-reference-choice-render {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: wrap;
}

.admin-content-reference-choice-label,
.admin-content-reference-placeholder {
    color: var(--navy);
    font-weight: 600;
}

.admin-content-reference-placeholder {
    color: #7a8ba0;
    font-weight: 500;
}

.admin-content-reference-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    display: grid;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(11, 53, 88, 0.12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(11, 53, 88, 0.14);
}

.admin-content-reference-menu.is-hidden {
    display: none;
}

.admin-content-reference-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
}

.admin-content-reference-option:hover {
    background: var(--turquoise-light);
}

.admin-content-reference-picker .restaurant-reference-badge {
    margin: 0;
}

.admin-content-reference-picker .restaurant-reference-badge-tripadvisor {
    padding: 0;
}

.admin-content-reference-picker .restaurant-reference-tripadvisor-logo {
    width: 48px;
    height: 48px;
}

.admin-content-field-note {
    color: #52606d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.admin-content-label-copy {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    font-size: 15px;
    font-weight: 700;
}

.admin-content-form > label:has([data-category-choice]) {
    font-size: 0;
}

.admin-content-form > label:has([data-category-choice]) .admin-content-label-copy,
.admin-content-form > label:has([data-category-choice]) select {
    font-size: 15px;
}

.admin-content-required-marker {
    margin-left: 4px;
    color: #d62828;
    font-weight: 800;
}

.admin-content-optional-marker {
    margin-left: 6px;
    color: #52606d;
    font-size: 13px;
    font-weight: 600;
}

.admin-content-form label,
.admin-content-item-card label {
    display: grid;
    gap: 8px;
    color: var(--navy);
    font-weight: 700;
    font-size: 15px;
}

.admin-content-form input:not([type="hidden"]),
.admin-content-form select,
.admin-content-item-card input:not([type="hidden"]),
.admin-content-item-card select {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border: 2px solid rgba(198, 220, 234, 0.9);
    border-radius: 18px;
    font-size: 16px;
    font-family: inherit;
    color: var(--navy);
    background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-content-form select,
.admin-content-item-card select {
    appearance: none;
    cursor: pointer;
    padding-right: 48px;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--turquoise) 50%),
        linear-gradient(135deg, var(--turquoise) 50%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
    background-position:
        calc(100% - 24px) calc(50% - 3px),
        calc(100% - 18px) calc(50% - 3px),
        0 0;
    background-size: 6px 6px, 6px 6px, 100% 100%;
    background-repeat: no-repeat;
}

.admin-content-form input:not([type="hidden"])::placeholder,
.admin-content-item-card input:not([type="hidden"])::placeholder {
    color: #7a8ba0;
}

.admin-content-form input:not([type="hidden"]):focus,
.admin-content-form select:focus,
.admin-content-item-card input:not([type="hidden"]):focus,
.admin-content-item-card select:focus {
    outline: none;
    border-color: var(--turquoise);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(31, 163, 179, 0.14);
}

.admin-content-category-list {
    display: grid;
    gap: 18px;
}

.admin-content-preview .property-admin-preview-header h2 {
    display: none;
}

.admin-content-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 18px;
}

.admin-content-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(18, 163, 197, 0.18);
    background: rgba(233, 249, 255, 0.72);
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    scroll-margin-top: 120px;
}

.admin-content-quick-link:hover {
    background: rgba(31, 163, 179, 0.14);
    border-color: rgba(18, 163, 197, 0.3);
}

.admin-content-quick-link .restaurant-category-flag {
    width: 20px;
    height: 14px;
    margin-right: 0;
}

.admin-content-quick-link .restaurant-category-icon {
    margin-right: 0;
}

.admin-content-category-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(11, 53, 88, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(11, 53, 88, 0.06);
    scroll-margin-top: 120px;
}

.admin-content-category-header {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.admin-content-category-header h3,
.admin-content-add-item h4 {
    margin: 0;
    color: var(--navy);
}

.admin-content-category-header p {
    margin: 6px 0 0;
    color: #52606d;
    font-weight: 700;
    font-size: 14px;
}

.admin-content-category-title-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.admin-content-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(11, 53, 88, 0.08);
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.admin-content-item-list {
    display: grid;
    gap: 10px;
}

.admin-content-empty-items {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(11, 53, 88, 0.04);
    color: #52606d;
    font-size: 14px;
}

.admin-content-item-card {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fcff 100%);
    border: 1px solid rgba(18, 163, 197, 0.14);
    box-shadow: 0 10px 24px rgba(11, 53, 88, 0.05);
}

.admin-content-item-summary {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.admin-content-item-summary-main {
    min-width: 0;
}

.admin-content-item-summary-main h4 {
    margin: 0;
    color: var(--navy);
    font-size: 18px;
}

.admin-content-item-summary-main p {
    margin: 6px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #52606d;
    font-size: 14px;
}

.admin-content-item-summary-main p span {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(11, 53, 88, 0.06);
}

.admin-content-item-meta {
    font-size: 14px;
}

.admin-content-card-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-content-item-summary .admin-content-card-actions {
    flex: 0 0 150px;
    flex-direction: column;
    align-items: stretch;
}

.admin-content-card-actions form {
    margin: 0;
}

.admin-content-item-summary .admin-content-card-actions form {
    width: 100%;
}

.admin-content-card-actions .header-auth-link,
.admin-content-card-actions .property-delete-button,
.admin-content-add-item .contact-btn,
.admin-content-form .contact-btn,
.admin-content-form .header-auth-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 18px;
}

.admin-content-item-summary .admin-content-card-actions .header-auth-link,
.admin-content-item-summary .admin-content-card-actions .property-delete-button {
    width: 100%;
}

.admin-content-form-inline .contact-btn,
.admin-content-form-inline .header-auth-link {
    width: fit-content;
}

body.admin-confirm-open {
    overflow: hidden;
}

.admin-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 260;
    display: grid;
    place-items: center;
    padding: 20px;
}

.admin-confirm-modal[hidden] {
    display: none !important;
}

.admin-confirm-backdrop {
    position: absolute;
    inset: 0;
    border: none;
    background: rgba(11, 53, 88, 0.42);
    cursor: pointer;
}

.admin-confirm-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    padding: 26px 26px 22px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(11, 53, 88, 0.12);
    box-shadow: 0 28px 60px rgba(11, 53, 88, 0.22);
}

.admin-confirm-eyebrow {
    margin: 0 0 8px;
    color: var(--turquoise);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-confirm-dialog h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.7rem;
}

.admin-confirm-dialog p[data-admin-confirm-message] {
    margin: 12px 0 0;
    color: #52606d;
    font-size: 1rem;
    line-height: 1.6;
}

.admin-confirm-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.admin-content-add-item {
    display: grid;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(11, 53, 88, 0.08);
}

.rental-question-title {
    display: block;
    margin: 0 0 10px;
    color: #172b4d;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.rental-question-title span {
    color: #c62828;
}

.rental-help-copy {
    margin: 0 0 18px;
    color: #243b53;
    font-size: 16px;
    line-height: 1.55;
}

.rental-text-input,
.rental-date-input,
.rental-inline-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #d5dde6;
    background: transparent;
    color: var(--navy);
    font-size: 18px;
    padding: 10px 0 8px;
    box-sizing: border-box;
}

.rental-text-input:focus,
.rental-date-input:focus,
.rental-inline-input:focus {
    outline: none;
    border-bottom-color: var(--turquoise);
}

.rental-options {
    display: grid;
    gap: 18px;
}

.rental-options label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #172b4d;
    font-size: 18px;
    line-height: 1.45;
}

.rental-options input[type="radio"] {
    margin-top: 4px;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.rental-other-row {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr);
    align-items: center;
    gap: 16px;
}

.rental-form-actions {
    display: flex;
    justify-content: flex-start;
    padding-top: 8px;
}

.rental-submit-button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
}

.inquiry-body {
    background: #ffffff;
}

.inquiry-page {
    padding: 0 0 28px;
}

.inquiry-hero {
    min-height: 184px;
    display: flex;
    align-items: stretch;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.985) 41%, rgba(255, 255, 255, 0.06) 70%, rgba(255, 255, 255, 0.02) 100%),
        url("../images/beach.png");
    background-size: cover;
    background-position: center right;
}

.inquiry-minutes-field {
    position: relative;
    display: block !important;
    width: 200px;
    max-width: 200px;
    padding-top: 25px !important;
}

    .inquiry-minutes-field input {
        padding-right: 70px !important;
    }

    .inquiry-minutes-field span {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #5869b1;
        font-size: 13px;
        font-weight: 700;
        pointer-events: none;
        padding-top: 25px !important;
    }

.inquiry-hero-content,
.inquiry-shell {
    width: min(1500px, calc(100% - 32px));
    margin: 0 auto;
}

.inquiry-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0 14px;
}

.inquiry-brand-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.inquiry-hero h1 {
    margin: 0;
    color: #17338f;
    font-size: clamp(30px, 3.6vw, 48px);
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    line-height: 0.92;
}

.inquiry-hero-subtitle {
    margin: 14px 0 0;
    color: #5869b1;
    font-size: clamp(20px, 2.15vw, 27px);
    font-weight: 800;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.inquiry-subtitle-divider {
    padding: 0 12px;
    color: #d38a00;
}

.inquiry-hero-subtitle span {
    color: #d38a00;
}

.inquiry-shell {
    margin-top: 14px;
    position: relative;
    z-index: 1;
}

.inquiry-form {
    display: grid;
    gap: 14px;
}

.inquiry-grid {
    display: grid;
    gap: 14px;
}

.inquiry-grid-top {
    grid-template-columns: 0.92fr 1.18fr;
}

.inquiry-grid-middle {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.inquiry-grid-bottom {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
}


.inquiry-grid-footer {
    grid-template-columns: 0.84fr 2.15fr;
}

.inquiry-card {
    padding: 16px 16px 18px;
    border: 1px solid rgba(230, 192, 120, 0.34);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 22px rgba(11, 53, 88, 0.03);
}

.inquiry-card-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.inquiry-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #d38a00;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.inquiry-card-heading h2 {
    margin: 0;
    color: #17338f;
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.inquiry-card label,
.inquiry-card legend {
    color: #17338f;
    font-weight: 700;
}

.inquiry-interest-label {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(227, 194, 133, 0.42);
    border-radius: 14px;
    color: #17338f;
    font-size: 16px;
    font-weight: 800;
    background: #ffffff;
}

.inquiry-fields {
    display: grid;
    gap: 14px 16px;
}

.inquiry-fields-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.inquiry-client-fields {
    gap: 10px 16px;
}

.inquiry-client-fields label {
    gap: 6px;
}

.inquiry-client-fields input,
.inquiry-client-fields select {
    padding: 6px 12px;
    min-height: 44px;
}

.inquiry-fields-two {
    gap: 8px;
}

.inquiry-parking-fields {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    align-items: start;
}

.inquiry-card label {
    display: grid;
    gap: 8px;
    font-size: 13px;
}

.inquiry-card input,
.inquiry-card select,
.inquiry-card textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(88, 105, 177, 0.18);
    border-radius: 10px;
    background: #ffffff;
    color: var(--navy);
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
}

.inquiry-card input::placeholder,
.inquiry-card textarea::placeholder {
    color: #6c79b0;
}

.inquiry-card input:focus,
.inquiry-card select:focus,
.inquiry-card textarea:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 0 4px rgba(31, 163, 179, 0.12);
}

.inquiry-intent-card {
    padding: 18px;
}

.inquiry-pill-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.inquiry-intent-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.95fr) minmax(320px, 1.15fr);
    gap: 14px;
    align-items: stretch;
    width: calc((100% - 14px) * 0.92 / 2.1);
    max-width: calc((100% - 14px) * 0.92 / 2.1);
}

.inquiry-pill-option {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 14px;
    border: 1px solid rgba(227, 194, 133, 0.42);
    border-radius: 14px;
    background: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.inquiry-pill-icon {
    color: #d38a00;
    font-size: 30px;
    line-height: 1;
}

.inquiry-pill-icon-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 auto;
}

.inquiry-pill-option input,
.inquiry-list-options input,
.inquiry-location-option input {
    width: auto;
    margin: 0;
}

.inquiry-location-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.inquiry-location-option {
    display: grid !important;
    gap: 6px;
    align-content: start;
    min-height: 148px;
    padding: 8px;
    border: 1px solid rgba(88, 105, 177, 0.12);
    border-radius: 12px;
    background: #ffffff;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 156px;
}

.inquiry-location-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #17338f;
    font-weight: 700;
    font-size: 10px;
    min-height: 22px;
}

.inquiry-location-label span {
    line-height: 1.15;
}

.inquiry-location-thumb {
    border-radius: 10px;
    min-height: 98px;
    background-size: cover;
    background-position: center;
}

.inquiry-location-thumb-cancun {
    background-image: url("../images/cancun.jpg");
}

.inquiry-location-thumb-morelos {
    background-image: url("../images/PuertoMorelos.png");
}

.inquiry-location-thumb-playa {
    background-image: url("../images/playaDelCarmen.jpg");
}

.inquiry-location-thumb-aventuras {
    background-image: url("../images/Puerto Aventuras.png");
}

.inquiry-location-thumb-tulum {
    background-image: url("../images/Tulum.jpg");
}

.inquiry-location-thumb-other {
    min-height: 82px;
    background-image: url("../images/Icon_Location.png");
    background-size: 58px auto;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
}

.inquiry-location-custom-input {
    width: 105px;
    max-width: 105px;
    height: 28px;
    min-height: 28px;
    padding: 4px 6px !important;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    font-size: 10px !important;
    line-height: 1.1;
    justify-self: center;
    align-self: end;
    border-radius: 8px !important;
}

    .inquiry-location-custom-input::placeholder {
    color: #5869b1;
    opacity: 1;
    font-size: 11px;
}

.inquiry-list-options {
    display: grid;
    gap: 10px;
}

.inquiry-list-options label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.inquiry-select-field {
    display: block !important;
    width: 100%;
}

.inquiry-option-layout,
.inquiry-budget-layout {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.inquiry-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
}

.inquiry-feature-icon-image {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.inquiry-comments-card textarea,
.inquiry-parking-card textarea {
    resize: vertical;
}

.inquiry-submit {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding-top: 2px;
}

.inquiry-submit-button {
    border: none;
    min-width: min(100%, 360px);
    padding: 16px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #17338f, var(--navy));
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(23, 51, 143, 0.24);
}

.inquiry-submit-button::before {
    content: "✈";
    margin-right: 10px;
    font-size: 16px;
}

.inquiry-return-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(100%, 260px);
    padding: 14px 24px;
    border: 1px solid rgba(23, 51, 143, 0.2);
    border-radius: 999px;
    background: #ffffff;
    color: #17338f;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.inquiry-return-button:hover {
    background: #eef4ff;
}

.inquiry-submit p {
    margin: 0;
    color: #5869b1;
    font-size: 13px;
    font-weight: 700;
}

/* MOBILE */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    body {
        overflow-x: hidden;
    }

    .page-content,
    .admin-properties-shell,
    .admin-properties-layout,
    .property-form-card,
    .property-admin-preview,
    .property-gallery-admin-card,
    .admin-content-layout,
    .admin-content-create-card,
    .admin-content-preview {
        min-width: 0;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .header-container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo toggle"
            "panel panel";
        justify-items: stretch;
        align-items: center;
        column-gap: 12px;
        row-gap: 10px;
        padding: 8px 16px 10px;
    }

    .header-left {
        width: auto;
        min-width: 0;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0;
    }

    .logo img {
        height: 46px;
    }

    .header-menu-toggle {
        grid-area: toggle;
        display: inline-flex;
        justify-self: end;
        align-self: center;
        width: 46px;
        height: 46px;
        position: relative;
        z-index: 301;
    }

    .header-menu-panel {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 300;
        width: min(220px, 58vw);
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 88px 20px 24px;
        border-left: 1px solid rgba(11, 53, 88, 0.08);
        border-radius: 24px 0 0 24px;
        background: #ffffff;
        box-shadow: -18px 0 40px rgba(11, 53, 88, 0.16);
    }

    .header-menu-panel[hidden] {
        display: none;
    }

    .header-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 250;
        display: block;
        border: 0;
        background: rgba(11, 53, 88, 0.22);
        padding: 0;
        cursor: pointer;
    }

    .header-menu-backdrop[hidden] {
        display: none;
    }

    .main-nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 10px;
    }

    .main-nav a {
        width: 100%;
        min-width: 0;
        padding: 10px 14px;
        text-align: left;
        white-space: normal;
        font-size: 17px;
        line-height: 1.25;
        border-radius: 14px;
    }

    .header-auth-actions {
        width: 100%;
        flex-wrap: wrap;
        justify-content: stretch;
    }

    .header-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 10px;
        margin-top: auto;
    }

    .header-lang-group,
    .account-menu {
        width: 100%;
        display: flex;
        justify-content: stretch;
    }

    .lang-switch {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        padding: 6px 8px;
    }

    .header-auth-link,
    .user-chip {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .header-auth-link {
        padding: 10px 14px;
        font-size: 16px;
        text-align: center;
    }

    .account-menu-panel {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(280px, calc(100vw - 32px));
    }

    .header-admin-menu .account-menu-panel {
        top: auto;
        bottom: calc(100% + 10px);
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: min(280px, calc(100vw - 32px));
        min-width: 210px;
    }

    .admin-properties-shell,
    .admin-content-shell,
    .home-toc-shell,
    .property-public-shell,
    .property-detail-shell,
    .info-request-shell {
        width: min(100%, calc(100% - 32px));
        padding: 24px 0 40px;
    }

    .contact-container,
    .residency-container,
    .about-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact-container {
        margin: 24px auto 36px;
    }

    .admin-properties-header {
        display: block;
    }

    .admin-properties-layout,
    .admin-content-layout,
    .property-form-row,
    .property-radio-group,
    .residency-steps,
    .inquiry-intent-row,
    .inquiry-fields-three,
    .inquiry-fields-two,
    .inquiry-grid-top,
    .inquiry-grid-middle,
    .inquiry-grid-bottom,
    .inquiry-grid-footer,
    .inquiry-pill-options,
    .inquiry-location-grid,
    .restaurant-grid {
        grid-template-columns: 1fr;
    }

    .property-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .property-gallery-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .property-public-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        align-items: stretch;
    }

    .property-public-row {
        display: contents;
    }

    .property-public-card,
    .property-public-row-3 .property-public-card,
    .property-public-row-4 .property-public-card,
    .property-public-row-5 .property-public-card {
        flex-basis: auto;
        max-width: none;
    }

    .home-toc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-toc-card,
    .contact-form,
    .auth-card,
    .property-detail-copy,
    .property-gallery-admin-card,
    .property-detail-gallery-card,
    .info-request-card,
    .restaurant-category,
    .guide-category,
    .residency-step-card,
    .residency-note {
        padding: 18px 16px;
    }

    .purchase-guide-card {
        padding: 20px;
    }

    .property-form-card,
    .admin-content-card,
    .admin-content-create-card,
    .admin-content-preview,
    .admin-content-preview-panel,
    .property-gallery-admin-card {
        padding: 12px 10px;
        border-radius: 18px;
    }

    .property-form-card h2,
    .admin-content-card h2,
    .admin-content-form-header h2,
    .admin-content-form-header h4,
    .admin-properties-header h1 {
        font-size: 16px;
        line-height: 1.1;
    }

    .property-form {
        gap: 10px;
    }

    .property-form label {
        gap: 6px;
        font-size: 14px;
    }

    .property-field-help {
        font-size: 11px;
        line-height: 1.35;
    }

    .property-file-input-display {
        padding: 8px 10px;
        border-radius: 14px;
    }

    .property-file-input-button {
        padding: 8px 10px;
        font-size: 12px;
    }

    .property-file-input-text {
        font-size: 12px;
        line-height: 1.25;
    }

    .property-admin-card {
        border-radius: 18px;
    }

    .property-admin-card-body {
        padding: 8px;
    }

    .property-admin-card-body h3 {
        font-size: 13px;
        line-height: 1.15;
    }

    .property-admin-city {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.2;
    }

    .property-admin-price {
        margin-top: 4px;
        font-size: 11px;
    }

    .property-admin-count {
        margin-top: 4px;
        font-size: 10px;
    }

    .property-admin-actions {
        gap: 6px;
        margin-top: 8px;
    }

    .property-admin-secondary-actions {
        gap: 6px;
    }

    .property-admin-actions .header-auth-link,
    .property-admin-actions .account-menu-button,
    .property-edit-link,
    .property-delete-button {
        min-height: 32px;
        padding: 6px 8px;
        font-size: 11px;
        line-height: 1.15;
    }

    .property-gallery-admin-help,
    .admin-content-form-header p,
    .admin-content-inline-title p,
    .admin-content-category-header p,
    .admin-content-item-summary-main p,
    .admin-content-item-meta,
    .admin-content-empty-items,
    .admin-content-field-note {
        font-size: 13px;
        line-height: 1.4;
    }

    .property-gallery-admin-tools {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
        gap: 8px;
    }

    .property-gallery-admin-card .property-admin-preview-header {
        display: grid;
        gap: 10px;
        margin-bottom: 14px;
        padding: 0;
    }

    .property-gallery-admin-card .property-admin-preview-header > div:first-child {
        min-width: 0;
    }

    .property-gallery-admin-card .property-admin-preview-header h2 {
        margin: 0;
        font-size: 16px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .property-gallery-toggle-button {
        width: 100%;
        min-height: 40px;
        padding: 10px 12px;
        font-size: 13px;
    }

    .property-gallery-admin-item {
        min-width: 0;
    }

    .property-gallery-admin-item *,
    .property-admin-card *,
    .admin-content-category-card *,
    .admin-content-item-card * {
        min-width: 0;
        box-sizing: border-box;
    }

    .property-gallery-admin-item input {
        inset: 6px auto auto 6px;
        width: 16px;
        height: 16px;
    }

    .property-gallery-admin-primary {
        top: 6px;
        right: 6px;
    }

    .property-gallery-admin-primary-button,
    .property-gallery-admin-primary-badge {
        padding: 6px 8px;
        font-size: 11px;
        max-width: calc(100% - 12px);
        white-space: normal;
        text-align: center;
        line-height: 1.15;
    }

    .property-gallery-admin-item img,
    .property-gallery-admin-item video {
        border-radius: 12px;
    }

    .property-delete-selected-button {
        width: 100%;
        justify-content: center;
    }

    .admin-content-section-links,
    .admin-content-language-links,
    .admin-content-quick-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .admin-content-section-link,
    .admin-content-language-link,
    .admin-content-quick-link {
        min-height: 0;
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
        font-size: 13px;
        line-height: 1.25;
        text-align: center;
    }

    .admin-content-category-card {
        padding: 14px;
        border-radius: 18px;
        gap: 12px;
    }

    .admin-content-category-header,
    .admin-content-item-summary {
        display: grid;
        gap: 10px;
    }

    .admin-content-category-title-row {
        flex-wrap: wrap;
    }

    .admin-content-category-header h3,
    .admin-content-add-item h4,
    .admin-content-item-summary-main h4 {
        font-size: 16px;
        line-height: 1.2;
    }

    .admin-content-card-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .admin-content-card-actions form {
        width: 100%;
    }

    .admin-content-card-actions .header-auth-link,
    .admin-content-card-actions .property-delete-button,
    .admin-content-add-item .contact-btn,
    .admin-content-form .contact-btn,
    .admin-content-form .header-auth-link,
    .admin-content-form-inline .contact-btn,
    .admin-content-form-inline .header-auth-link {
        width: 100%;
        min-height: 40px;
        padding-inline: 12px;
        font-size: 13px;
    }

    .admin-confirm-dialog {
        padding: 22px 18px 18px;
        border-radius: 20px;
    }

    .admin-confirm-dialog h3 {
        font-size: 1.45rem;
    }

    .admin-confirm-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-confirm-actions .admin-content-cancel-link,
    .admin-confirm-actions .property-delete-button {
        width: 100%;
    }

    .admin-content-form input:not([type="hidden"]),
    .admin-content-form select,
    .admin-content-item-card input:not([type="hidden"]),
    .admin-content-item-card select,
    .property-form input,
    .property-form select,
    .property-form textarea,
    .admin-content-reference-trigger {
        min-height: 40px;
        padding: 9px 11px;
        font-size: 14px;
        border-radius: 12px;
    }

    .property-form textarea {
        min-height: 88px;
        line-height: 1.35;
    }

    .home-toc-shell {
        padding: 18px 0 14px;
    }

    .home-toc-card {
        gap: 14px;
        padding: 18px 16px;
        border-radius: 22px;
    }

    .home-toc-eyebrow {
        margin-bottom: 4px;
        font-size: 11px;
        letter-spacing: 0.06em;
    }

    .home-toc-copy h2 {
        font-size: 22px;
        line-height: 1.15;
    }

    .home-toc-copy p:last-child {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.45;
    }

    .home-toc-link {
        min-height: 0;
        gap: 4px;
        padding: 12px;
        border-radius: 18px;
    }

    .home-toc-link-title {
        font-size: 14px;
        line-height: 1.2;
    }

    .home-toc-link-copy {
        font-size: 12px;
        line-height: 1.35;
    }

    .info-request-shell {
        padding-bottom: 24px;
    }

    .info-request-shell-secondary {
        margin-top: -18px;
    }

    .info-request-card,
    .info-request-card-compact {
        padding: 12px 12px 14px;
        border-radius: 16px;
    }

    .purchase-guide-table th,
    .purchase-guide-table td {
        padding: 12px 14px;
    }

    .info-request-card h2,
    .info-request-secondary-title {
        font-size: 16px;
        line-height: 1.1;
    }

    .info-request-copy {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.35;
    }

    .info-request-actions {
        margin-top: 10px;
    }

    .info-request-link {
        padding: 8px 12px;
        font-size: 12px;
    }

    .property-detail-gallery-item {
        flex-basis: 100%;
    }

    .property-gallery-nav {
        width: 100%;
        justify-content: flex-end;
        margin-top: 18px;
    }

    .rental-other-row {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 10px;
    }

    .rental-question-card,
    .rental-form-intro {
        padding: 18px 16px;
    }

    .rental-form-page {
        padding: 18px 14px 40px;
    }

    .rental-form-shell {
        width: 100%;
    }

    .rental-question-title {
        font-size: 18px;
    }

    .rental-options label {
        font-size: 16px;
    }

    .rental-text-input,
    .rental-date-input,
    .rental-inline-input {
        font-size: 16px;
    }

    .rental-form-actions {
        justify-content: stretch;
    }

    .rental-submit-button {
        width: 100%;
    }

    .property-filter-bar {
        align-items: start;
    }

    .property-filter-actions {
        width: 100%;
    }

    .property-filter-link {
        flex: 1 1 calc(50% - 10px);
    }

    .property-public-card {
        max-width: none;
        width: 100%;
        padding: 12px 10px 16px;
        border-radius: 18px;
    }

    .property-public-card h2 {
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.15;
    }

    .property-admin-city,
    .property-public-city {
        font-size: 14px;
    }

    .property-public-image {
        max-width: none;
        border-radius: 14px;
    }

    .property-public-card p {
        margin-top: 8px;
        font-size: 13px;
    }

    .property-public-price-secondary {
        font-size: 13px;
    }

    .property-public-link {
        min-height: 44px;
        margin-top: 14px;
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 12px;
    }

    .property-detail-copy h1 {
        font-size: 28px;
    }

    .property-detail-city,
    .property-detail-price {
        font-size: 20px;
    }

    .property-detail-pricing {
        padding: 14px 16px;
    }

    .property-lightbox {
        padding: 16px;
    }

    .property-lightbox-nav {
        width: 48px;
        height: 48px;
        font-size: 32px;
    }

    .property-lightbox-nav-prev {
        left: 12px;
    }

    .property-lightbox-nav-next {
        right: 12px;
    }

    .property-lightbox-close {
        top: 12px;
        right: 12px;
    }

    .inquiry-hero {
        min-height: auto;
        background-position: center;
    }

    .inquiry-hero-content {
        width: min(100%, calc(100% - 32px));
        padding: 18px 0;
    }

    .inquiry-brand-row {
        grid-template-columns: 1fr;
    }

    .inquiry-shell {
        width: min(100%, calc(100% - 32px));
        margin-top: -18px;
    }

    .inquiry-hero h1 {
        line-height: 1;
    }

    .inquiry-hero-subtitle {
        font-size: 18px;
        line-height: 1.4;
    }

    .inquiry-subtitle-divider {
        display: none;
    }

    .inquiry-card-heading h2 {
        font-size: 18px;
    }

    .inquiry-submit-button {
        width: 100%;
        font-size: 17px;
    }

    .inquiry-option-layout,
    .inquiry-budget-layout {
        grid-template-columns: 1fr;
    }

    .inquiry-feature-icon {
        min-height: 0;
        justify-content: flex-start;
    }

    .inquiry-minutes-field {
        width: 100%;
        max-width: none;
    }

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

    .inquiry-location-option {
        min-height: 0;
    }

    .inquiry-location-thumb {
        min-height: 88px;
    }

    .inquiry-location-custom-input {
        width: 100%;
        max-width: none;
        font-size: 12px !important;
    }

    .inquiry-parking-fields {
        grid-template-columns: 1fr;
    }

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

    .about-hero {
        padding: 42px 16px;
    }

        .about-hero p {
            font-size: 18px;
        }

    .about-container h1 {
        font-size: 28px;
    }

    .about-container h2,
    .contact-hero h1,
    .residency-container h1 {
        font-size: 26px;
    }

    .contact-hero,
    .residency-hero {
        padding: 40px 16px;
    }

    .contact-form {
        padding: 16px 14px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        margin-bottom: 6px;
        font-size: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 15px;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .contact-btn {
        padding: 13px;
        font-size: 16px;
    }

    .contact-hero p,
    .about-container p,
    .residency-hero p,
    .residency-container > p,
    .residency-step-card p,
    .residency-note p,
    .restaurant-area,
    .restaurant-reference,
    .guide-area,
    .guide-note {
        font-size: 14px;
    }

    .about-container {
        margin: 24px 16px 36px;
        padding: 24px 18px;
    }

    .about-container h1,
    .residency-container h1,
    .contact-hero h1,
    .property-detail-copy h1 {
        line-height: 1.1;
    }

    .about-container h2,
    .residency-step-card h2,
    .residency-note h2,
    .restaurant-category-header h2,
    .guide-category-header h2 {
        font-size: 20px;
        line-height: 1.15;
    }

    .page-home-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-home-link {
        margin-left: 0;
    }

    .page-home-actions .info-request-link,
    .page-home-link,
    .property-detail-back-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .restaurant-category-header,
    .guide-category-header,
    .restaurant-card-top,
    .guide-card-top {
        align-items: flex-start;
    }

    .restaurant-card-top,
    .guide-card-top {
        flex-direction: column;
    }

    .guide-map-card {
        padding: 20px;
    }

    .restaurant-price {
        white-space: normal;
    }

    .restaurant-reference-tripadvisor-logo {
        width: 60px;
        height: 60px;
    }
}

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

    .logo img {
        height: 42px;
    }

    .main-nav {
        flex-direction: column;
    }

    .main-nav a,
    .header-auth-link {
        width: 100%;
        text-align: left;
    }

    .lang-switch a {
        padding: 6px 8px;
    }

    .header-right {
        gap: 8px;
    }

    .home-toc-card,
    .contact-form,
    .auth-card,
    .property-detail-copy,
    .property-gallery-admin-card,
    .property-detail-gallery-card,
    .restaurant-category,
    .guide-category,
    .residency-step-card,
    .residency-note,
    .property-public-card {
        padding: 14px;
    }

    .property-form-card,
    .admin-content-card,
    .admin-content-create-card,
    .admin-content-preview,
    .admin-content-preview-panel,
    .property-gallery-admin-card {
        padding: 10px 8px;
        border-radius: 16px;
    }

    .property-form-card h2,
    .admin-content-card h2,
    .admin-content-form-header h2,
    .admin-content-form-header h4,
    .admin-properties-header h1 {
        font-size: 15px;
    }

    .property-form {
        gap: 8px;
    }

    .property-form label,
    .property-field-help,
    .property-file-input-text {
        font-size: 11px;
    }

    .property-form input,
    .property-form select,
    .property-form textarea {
        min-height: 36px;
        padding: 8px 10px;
        font-size: 13px;
    }

    .property-form textarea {
        min-height: 72px;
    }

    .property-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .property-gallery-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .property-gallery-admin-primary-button,
    .property-gallery-admin-primary-badge {
        padding: 5px 7px;
        font-size: 10px;
    }

    .admin-content-section-links,
    .admin-content-language-links,
    .admin-content-quick-links,
    .admin-content-card-actions {
        grid-template-columns: 1fr;
    }

    .about-container h1,
    .contact-hero h1,
    .residency-container h1,
    .property-detail-copy h1 {
        font-size: 24px;
    }

    .contact-hero {
        padding: 24px 14px;
    }

    .contact-hero p {
        font-size: 13px;
        line-height: 1.35;
    }

    .contact-form {
        padding: 14px 12px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        padding: 9px 10px;
        font-size: 14px;
    }

    .contact-form textarea {
        min-height: 96px;
    }

    .about-container h2,
    .residency-step-card h2,
    .residency-note h2,
    .restaurant-category-header h2,
    .guide-category-header h2 {
        font-size: 18px;
    }

    .home-toc-shell {
        padding-top: 14px;
    }

    .home-toc-card {
        gap: 12px;
        padding: 14px;
    }

    .home-toc-copy h2 {
        font-size: 20px;
    }

    .home-toc-copy p:last-child {
        font-size: 13px;
    }

    .home-toc-grid {
        gap: 8px;
    }

    .home-toc-link {
        padding: 10px;
    }

    .home-toc-link-title {
        font-size: 13px;
    }

    .home-toc-link-copy {
        font-size: 11px;
    }

    .info-request-card,
    .info-request-card-compact {
        padding: 10px;
        border-radius: 14px;
    }

    .info-request-card h2,
    .info-request-secondary-title {
        font-size: 15px;
    }

    .info-request-copy {
        font-size: 11px;
        line-height: 1.3;
    }

    .info-request-actions {
        margin-top: 8px;
    }

    .info-request-link {
        width: 100%;
        padding: 7px 10px;
        font-size: 11px;
    }

    .property-filter-link {
        width: auto;
        flex: 1 1 0;
    }

    .inquiry-location-grid {
        grid-template-columns: 1fr;
    }

    .property-lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 28px;
    }
}
