/* ============================================================
   NET RENTALS — RENTAL WEBSITES PAGE
   /css/marketing/rental-websites.css

   DEPENDS ON:
   /css/marketing/rentals-marketing-ui.css

   OWNS:
   - Rental Websites hero
   - Browser / website preview
   - Foundation cards
   - Theme showcase
   - Website settings demo
   - Custom domain section
   - Connected-system flow
   ============================================================ */


/* ============================================================
   1. PAGE
   ============================================================ */

.rental-websites-page {
    background: var(--nr-paper);
}


/* ============================================================
   2. HERO
   ============================================================ */

.rental-websites-hero {
    padding-top: 92px;
    padding-bottom: 100px;

    background: var(--nr-paper);
}

.rental-websites-hero .nr-container {
    display: grid;
    grid-template-columns:
        minmax(0, 0.82fr)
        minmax(480px, 1.18fr);

    gap: 72px;

    align-items: center;
}

.rental-websites-hero-copy {
    max-width: 600px;
}

.rental-websites-hero-copy .nr-page-title {
    max-width: 580px;
}

.rental-websites-hero-copy .nr-page-description {
    max-width: 560px;
}


/* ============================================================
   3. HERO WEBSITE PREVIEW
   ============================================================ */

.rental-websites-preview {
    width: 100%;
}

.rental-websites-browser {
    overflow: hidden;

    border: 1px solid rgba(43, 41, 37, 0.12);
    border-radius: 26px;

    background: #fbf8f2;

    box-shadow: var(--nr-shadow-float);
}

.rental-websites-browser-bar {
    min-height: 46px;

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

    gap: 18px;

    padding: 0 18px;

    border-bottom: 1px solid rgba(43, 41, 37, 0.09);

    background: #eee8de;
}

.rental-websites-browser-dots {
    display: flex;
    gap: 6px;
}

.rental-websites-browser-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #c5b9aa;
}

.rental-websites-browser-domain {
    max-width: 250px;

    overflow: hidden;

    color: #7d766b;

    font-size: 9px;
    font-weight: 650;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.rental-websites-site {
    min-height: 430px;

    background: #f4f0e8;

    color: #26241f;
}

.rental-websites-site-header {
    min-height: 68px;

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

    gap: 18px;

    padding: 0 24px;

    border-bottom: 1px solid rgba(43, 41, 37, 0.09);

    background: rgba(251, 248, 242, 0.92);
}

.rental-websites-site-header strong {
    color: #201e1a;

    font-size: 12px;
    font-weight: 750;
}

.rental-websites-site-header span {
    padding: 6px 10px;

    border: 1px solid rgba(43, 41, 37, 0.10);
    border-radius: 999px;

    background: #fffdf9;
    color: #514c44;

    font-size: 8px;
    font-weight: 700;
}

.rental-websites-site-hero {
    min-height: 362px;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(220px, 0.72fr);

    gap: 28px;

    align-items: center;

    padding: 42px 30px;

    background: #ddd3c4;
}

.rental-websites-site-copy small {
    display: block;

    margin-bottom: 10px;

    color: #8b6335;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.rental-websites-site-copy h2 {
    max-width: 330px;

    margin: 0;

    color: #201e1a;

    font-size:
        clamp(
            25px,
            3.3vw,
            40px
        );

    line-height: 0.98;
    font-weight: 450;

    letter-spacing: -0.05em;
}

.rental-websites-site-copy p {
    max-width: 270px;

    margin: 15px 0 0;

    color: #71695f;

    font-size: 11px;
    line-height: 1.55;
}

.rental-websites-search-card {
    padding: 22px;

    border: 1px solid rgba(43, 41, 37, 0.10);
    border-radius: 22px;

    background: #fffaf3;

    box-shadow:
        0 18px 44px
        rgba(82, 67, 48, 0.08);
}

.rental-websites-search-card label {
    display: block;

    color: #8a8176;

    font-size: 7px;
    font-weight: 750;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.rental-websites-search-card > strong {
    display: block;

    margin-top: 7px;
    padding-bottom: 12px;

    border-bottom: 1px solid rgba(43, 41, 37, 0.10);

    color: #26241f;

    font-size: 11px;
    font-weight: 650;
}

.rental-websites-search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 14px;
}

.rental-websites-search-row span {
    min-height: 42px;

    display: flex;
    align-items: center;

    padding: 0 11px;

    border: 1px solid rgba(43, 41, 37, 0.10);
    border-radius: 10px;

    background: #fbf8f2;
    color: #514c44;

    font-size: 9px;
    font-weight: 650;
}

.rental-websites-search-card button {
    width: 100%;
    min-height: 43px;

    margin-top: 12px;

    border: 0;
    border-radius: 999px;

    background: #2b2925;
    color: #fffdf9;

    font: inherit;
    font-size: 9px;
    font-weight: 750;
}


/* ============================================================
   4. FOUNDATION
   ============================================================ */

.rental-websites-foundation {
    background: var(--nr-card);
}

.rental-websites-foundation .nr-section-header {
    max-width: 720px;
}

.rental-websites-foundation-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.rental-websites-foundation-grid article {
    min-height: 240px;

    display: flex;
    flex-direction: column;

    padding: 26px;

    border: 1px solid var(--nr-border);
    border-radius: 20px;

    background: var(--nr-paper);
}

.rental-websites-foundation-grid article > span {
    margin-bottom: 42px;

    color: var(--nr-primary);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 0.08em;
}

.rental-websites-foundation-grid h3 {
    margin: 0 0 10px;

    color: var(--nr-text-dark);

    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;

    letter-spacing: -0.025em;
}

.rental-websites-foundation-grid p {
    margin: 0;

    color: var(--nr-text-gray);

    font-size: 13px;
    line-height: 1.6;
}


/* ============================================================
   5. THEMES
   ============================================================ */

.rental-websites-themes {
    background: var(--nr-primary-tint);
}

.rental-websites-themes-header {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(300px, 0.72fr);

    gap: 54px;

    align-items: end;

    margin-bottom: 42px;
}

.rental-websites-themes-header .nr-section-description {
    margin: 0;
}

.rental-websites-theme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.rental-websites-theme-card {
    overflow: hidden;

    border: 1px solid var(--nr-border);
    border-radius: 24px;

    background: var(--nr-card);

    box-shadow: var(--nr-shadow-sm);
}

.rental-websites-theme-preview {
    min-height: 330px;

    padding: 18px;
}

.theme-preview-nav {
    min-height: 48px;

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

    gap: 16px;

    padding: 0 14px;

    border-radius: 14px;
}

.theme-preview-nav strong {
    font-size: 10px;
    font-weight: 750;
}

.theme-preview-nav span {
    font-size: 8px;
    font-weight: 700;
}

.theme-preview-content {
    min-height: 235px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 26px 20px 14px;
}

.theme-preview-content small {
    display: block;

    margin-bottom: 10px;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.14em;
}

.theme-preview-content h3 {
    max-width: 330px;

    margin: 0;

    font-size:
        clamp(
            28px,
            3vw,
            39px
        );

    line-height: 0.98;

    font-weight: 500;

    letter-spacing: -0.05em;
}

.theme-preview-content button {
    min-height: 40px;

    margin-top: 24px;

    padding: 0 17px;

    border-radius: 999px;

    font: inherit;
    font-size: 9px;
    font-weight: 750;
}

.rental-websites-theme-meta {
    min-height: 78px;

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

    gap: 18px;

    padding: 17px 20px;

    border-top: 1px solid var(--nr-border);

    background: var(--nr-card);
}

.rental-websites-theme-meta strong {
    color: var(--nr-text-dark);

    font-size: 14px;
    font-weight: 750;
}

.rental-websites-theme-meta span {
    color: var(--nr-text-muted);

    font-size: 10px;
    font-weight: 600;
}


/* ============================================================
   6. CLASSIC THEME PREVIEW
   ============================================================ */

.theme-default .rental-websites-theme-preview {
    background: #0b1e59;
}

.theme-default .theme-preview-nav {
    border: 1px solid rgba(255,255,255,0.12);

    background: rgba(255,255,255,0.05);

    color: #ffffff;
}

.theme-default .theme-preview-content small {
    color: #e34a25;
}

.theme-default .theme-preview-content h3 {
    color: #ffffff;

    font-weight: 650;
}

.theme-default .theme-preview-content button {
    border: 0;

    background: #e34a25;
    color: #ffffff;
}


/* ============================================================
   7. IVORY THEME PREVIEW
   ============================================================ */

.theme-ivory .rental-websites-theme-preview {
    background: #f4f0e8;
}

.theme-ivory .theme-preview-nav {
    border: 1px solid rgba(43,41,37,0.10);

    background: rgba(251,248,242,0.90);

    color: #2b2925;
}

.theme-ivory .theme-preview-content small {
    color: #967044;
}

.theme-ivory .theme-preview-content h3 {
    color: #201e1a;

    font-weight: 430;
}

.theme-ivory .theme-preview-content button {
    border: 1px solid #2b2925;

    background: #2b2925;
    color: #fffdf9;
}


/* ============================================================
   8. MIDNIGHT THEME PREVIEW
   ============================================================ */

.theme-midnight .rental-websites-theme-preview {
    background: #050506;
}

.theme-midnight .theme-preview-nav {
    border: 1px solid rgba(255,255,255,0.09);

    background: #0d0d0f;

    color: #f4f4f5;
}

.theme-midnight .theme-preview-content small {
    color: #777780;
}

.theme-midnight .theme-preview-content h3 {
    color: #fafafa;

    font-weight: 400;
}

.theme-midnight .theme-preview-content button {
    border: 1px solid #f4f4f5;

    background: #f4f4f5;
    color: #09090b;
}


/* ============================================================
   9. SUNRISE THEME PREVIEW
   ============================================================ */

.theme-sunrise .rental-websites-theme-preview {
    background: #f3c8aa;
}

.theme-sunrise .theme-preview-nav {
    border: 1px solid rgba(90,47,34,0.10);

    background: rgba(255,250,244,0.84);

    color: #5a2f22;
}

.theme-sunrise .theme-preview-content small {
    color: #b55d31;
}

.theme-sunrise .theme-preview-content h3 {
    color: #4a271e;

    font-weight: 600;
}

.theme-sunrise .theme-preview-content button {
    border: 1px solid #f08a4b;

    background: #f08a4b;
    color: #fffaf4;
}


/* ============================================================
   10. WEBSITE SETTINGS
   ============================================================ */

.rental-websites-settings {
    background: var(--nr-paper);
}

.rental-websites-settings-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 0.82fr)
        minmax(420px, 1.18fr);

    gap: 72px;

    align-items: center;
}

.rental-websites-settings-copy {
    max-width: 520px;
}

.rental-websites-settings-demo {
    overflow: hidden;

    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 24px;

    background: #09090b;

    box-shadow: var(--nr-shadow-float);
}

.rental-websites-admin-header {
    min-height: 72px;

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

    gap: 18px;

    padding: 16px 20px;

    border-bottom: 1px solid rgba(255,255,255,0.07);

    background: #111113;
}

.rental-websites-admin-header > div {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.rental-websites-admin-header small {
    color: #71717a;

    font-size: 7px;
    font-weight: 750;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rental-websites-admin-header strong {
    color: #fafafa;

    font-size: 13px;
    font-weight: 750;
}

.rental-websites-admin-header > span {
    padding: 5px 9px;

    border: 1px solid rgba(74,222,128,0.20);
    border-radius: 999px;

    background: rgba(74,222,128,0.08);
    color: #4ade80;

    font-size: 7px;
    font-weight: 800;

    text-transform: uppercase;
}

.rental-websites-admin-body {
    display: grid;

    gap: 10px;

    padding: 18px;

    background: #09090b;
}

.rental-websites-admin-field {
    padding: 17px;

    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;

    background: #111113;
}

.rental-websites-admin-field small {
    display: block;

    margin-bottom: 8px;

    color: #52525b;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.10em;
}

.rental-websites-admin-field > strong {
    display: block;

    overflow: hidden;

    color: #f4f4f5;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.rental-websites-admin-field > span {
    display: inline-flex;

    margin-top: 6px;

    color: #4ade80;

    font-size: 8px;
    font-weight: 700;
}

.rental-websites-admin-select {
    min-height: 42px;

    display: flex;
    align-items: center;

    padding: 0 12px;

    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 9px;

    background: #18181b;
    color: #fafafa;

    font-size: 10px;
    font-weight: 650;
}

.rental-websites-admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-top: 4px;
}

.rental-websites-admin-actions button {
    min-height: 42px;

    border-radius: 9px;

    font: inherit;
    font-size: 9px;
    font-weight: 750;
}

.rental-websites-admin-actions button:first-child {
    border: 1px solid #ffffff;

    background: #ffffff;
    color: #09090b;
}

.rental-websites-admin-actions button:last-child {
    border: 1px solid rgba(255,255,255,0.10);

    background: #18181b;
    color: #fafafa;
}


/* ============================================================
   11. CUSTOM DOMAIN
   ============================================================ */

.rental-websites-domain {
    background: var(--nr-card);
}

.rental-websites-domain-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(380px, 0.92fr);

    gap: 68px;

    align-items: center;
}

.rental-websites-domain-layout > div:first-child {
    max-width: 540px;
}

.rental-websites-domain-card {
    padding: 28px;

    border: 1px solid var(--nr-border);
    border-radius: 22px;

    background: var(--nr-paper);

    box-shadow: var(--nr-shadow-sm);
}

.rental-websites-domain-card > small {
    display: block;

    margin-bottom: 10px;

    color: var(--nr-text-muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.10em;
}

.rental-websites-domain-card > strong {
    display: block;

    color: var(--nr-text-dark);

    font-size: 20px;
    line-height: 1.2;
    font-weight: 750;

    letter-spacing: -0.025em;

    word-break: break-word;
}

.rental-websites-domain-status {
    display: inline-flex;

    margin-top: 14px;
    padding: 6px 10px;

    border: 1px solid rgba(15,124,85,0.18);
    border-radius: 999px;

    background: rgba(15,124,85,0.07);
    color: var(--nr-primary);

    font-size: 9px;
    font-weight: 800;
}

.rental-websites-domain-record {
    margin-top: 24px;
    padding-top: 20px;

    border-top: 1px solid var(--nr-border);
}

.rental-websites-domain-record span {
    display: block;

    margin-bottom: 7px;

    color: var(--nr-text-muted);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.10em;
}

.rental-websites-domain-record code {
    display: block;

    padding: 13px 14px;

    border: 1px solid var(--nr-border);
    border-radius: 10px;

    background: var(--nr-card);

    color: var(--nr-text-dark);

    font-size: 11px;
    line-height: 1.5;

    word-break: break-word;
}


/* ============================================================
   12. CONNECTED SYSTEM
   ============================================================ */

.rental-websites-connected {
    background: var(--nr-paper);
}

.rental-websites-centered {
    max-width: 720px;

    margin-inline: auto;

    text-align: center;
}

.rental-websites-centered .nr-section-description {
    margin-inline: auto;
}

.rental-websites-connected-flow {
    max-width: 940px;

    display: grid;
    grid-template-columns:
        minmax(140px, 1fr)
        60px
        minmax(140px, 1fr)
        60px
        minmax(140px, 1fr)
        60px
        minmax(140px, 1fr);

    align-items: center;

    gap: 0;

    margin: 46px auto 0;
}

.rental-websites-connected-flow > div {
    min-height: 118px;

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

    padding: 18px;

    border: 1px solid var(--nr-border);
    border-radius: 18px;

    background: var(--nr-card);
}

.rental-websites-connected-flow > div span {
    color: var(--nr-text-dark);

    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;

    text-align: center;
}

.rental-websites-connected-flow > i {
    position: relative;

    display: block;

    height: 1px;

    background: var(--nr-primary-line);
}

.rental-websites-connected-flow > i::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 0;

    width: 7px;
    height: 7px;

    border-top: 1px solid var(--nr-primary);
    border-right: 1px solid var(--nr-primary);

    transform:
        translateY(-50%)
        rotate(45deg);
}


/* ============================================================
   13. TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .rental-websites-hero .nr-container {
        grid-template-columns: 1fr;

        gap: 54px;
    }

    .rental-websites-hero-copy {
        max-width: 720px;
    }

    .rental-websites-preview {
        max-width: 820px;
    }

    .rental-websites-foundation-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .rental-websites-settings-layout {
        grid-template-columns: 1fr;

        gap: 44px;
    }

    .rental-websites-settings-copy {
        max-width: 680px;
    }

    .rental-websites-settings-demo {
        max-width: 760px;
    }

    .rental-websites-domain-layout {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .rental-websites-domain-card {
        max-width: 620px;
    }

    .rental-websites-connected-flow {
        grid-template-columns:
            1fr
            40px
            1fr
            40px
            1fr
            40px
            1fr;
    }
}


/* ============================================================
   14. MOBILE
   ============================================================ */

@media (max-width: 800px) {

    .rental-websites-hero {
        padding-top: 62px;
        padding-bottom: 72px;
    }

    .rental-websites-site-hero {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .rental-websites-site-copy h2 {
        max-width: 430px;
    }

    .rental-websites-search-card {
        max-width: 380px;
    }

    .rental-websites-themes-header {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .rental-websites-theme-grid {
        grid-template-columns: 1fr;
    }

    .rental-websites-connected-flow {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .rental-websites-connected-flow > i {
        width: 1px;
        height: 34px;

        margin-inline: auto;
    }

    .rental-websites-connected-flow > i::after {
        top: auto;
        right: auto;
        bottom: 0;
        left: 50%;

        transform:
            translateX(-50%)
            rotate(135deg);
    }
}


/* ============================================================
   15. SMALL MOBILE
   ============================================================ */

@media (max-width: 560px) {

    .rental-websites-browser {
        border-radius: 20px;
    }

    .rental-websites-browser-bar {
        padding-inline: 14px;
    }

    .rental-websites-browser-domain {
        max-width: 180px;
    }

    .rental-websites-site-header {
        min-height: 58px;

        padding-inline: 17px;
    }

    .rental-websites-site-hero {
        min-height: 0;

        padding: 30px 18px 22px;
    }

    .rental-websites-search-card {
        padding: 18px;

        border-radius: 18px;
    }

    .rental-websites-foundation-grid {
        grid-template-columns: 1fr;
    }

    .rental-websites-foundation-grid article {
        min-height: 0;

        padding: 23px;
    }

    .rental-websites-foundation-grid article > span {
        margin-bottom: 30px;
    }

    .rental-websites-theme-preview {
        min-height: 300px;

        padding: 14px;
    }

    .theme-preview-content {
        min-height: 220px;

        padding:
            24px
            16px
            12px;
    }

    .theme-preview-content h3 {
        font-size: 31px;
    }

    .rental-websites-theme-meta {
        padding-inline: 17px;
    }

    .rental-websites-admin-body {
        padding: 14px;
    }

    .rental-websites-admin-actions {
        grid-template-columns: 1fr;
    }

    .rental-websites-domain-card {
        padding: 22px;
    }

    .rental-websites-domain-card > strong {
        font-size: 18px;
    }

    .rental-websites-connected-flow > div {
        min-height: 96px;
    }
}


/* ============================================================
   16. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .rental-websites-theme-card,
    .rental-websites-browser,
    .rental-websites-settings-demo,
    .rental-websites-domain-card {
        transition: none;
    }
}