:root {
    --sea-blue: #005f83;
    --sea-blue-dark: #003f59;
    --soft-blue: #e3f6fc;
    --page-bg: #f6f9fc;
    --text: #18232b;
    --muted: #5a6a73;
    --border: #d4e0e7;
    --white: #ffffff;
    --overlay: rgba(6, 32, 44, 0.64);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: var(--page-bg);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
}

.nav {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    color: var(--sea-blue);
    font-size: 22px;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--sea-blue);
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.button-primary {
    background: var(--sea-blue);
    color: var(--white);
}

.button-primary:hover {
    background: var(--sea-blue-dark);
}

.button-outline {
    border-color: var(--sea-blue);
    color: var(--sea-blue);
    background: var(--white);
}

.button-outline:hover {
    background: var(--soft-blue);
}

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 63, 89, 0.86), rgba(0, 95, 131, 0.22)),
        url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=80");
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 63, 89, 0.76), rgba(0, 95, 131, 0.18));
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 84px 20px;
}

.hero-message {
    max-width: 620px;
    padding: 36px;
    border-radius: 16px;
    background: rgba(6, 32, 44, 0.62);
    color: var(--white);
    backdrop-filter: blur(8px);
}

.hero-message h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.05;
    letter-spacing: 0;
}

.hero-message p {
    margin: 0 0 28px;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 82px 20px;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 38px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.2;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

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

.guide-card {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 10px 28px rgba(25, 45, 57, 0.08);
}

.guide-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    background: var(--sea-blue-dark);
}

.guide-content {
    padding: 22px;
}

.guide-content h3 {
    margin: 0 0 8px;
    color: var(--sea-blue-dark);
    font-size: 22px;
}

.guide-content p {
    margin: 0;
    color: var(--muted);
}

.image-cta {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 34px rgba(25, 45, 57, 0.10);
}

.renter-cta {
    background-image:
        linear-gradient(90deg, rgba(0, 63, 89, 0.72), rgba(0, 95, 131, 0.12)),
        url("https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=1600&q=80");
}

.landlord-cta {
    background-image:
        linear-gradient(90deg, rgba(0, 63, 89, 0.72), rgba(0, 95, 131, 0.12)),
        url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1600&q=80");
}

.cta-panel {
    max-width: 540px;
    margin-left: 36px;
    padding: 32px;
    border-radius: 14px;
    background: var(--overlay);
    color: var(--white);
    backdrop-filter: blur(7px);
}

.cta-panel h2 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.2;
}

.cta-panel p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
}

.site-footer {
    background: #d7eef6;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
}

.footer-inner strong {
    display: block;
    margin-bottom: 6px;
    color: var(--sea-blue);
    font-size: 18px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 860px) {
    .nav {
        align-items: flex-start;
    }

    .nav-links {
        display: none;
    }

    .nav-actions .button-outline {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

    .hero-message {
        padding: 28px;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .image-cta {
        min-height: 390px;
    }

    .cta-panel {
        margin: 24px;
        padding: 26px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .brand {
        font-size: 19px;
    }

    .nav-actions .button-primary {
        min-height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }

    .hero-inner {
        padding: 54px 16px;
    }

    .hero-message {
        padding: 24px;
    }

    .hero-actions .button,
    .cta-panel .button {
        width: 100%;
    }

    .section {
        padding: 64px 16px;
    }
}
