.renewal-main-page {
    --renewal-navy: #0b2545;
    --renewal-ocean: #1d7ac2;
    --renewal-sky: #eaf4fb;
    --renewal-line: #e3ecf3;
    --renewal-muted: #66788a;
    color: #17222e;
    background: #fff;
    padding-bottom: 4rem;
}

.renewal-container {
    width: min(1400px, calc(100% - 2rem));
    margin: 0 auto;
}

.renewal-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    overflow: hidden;
    padding: 3rem 0;
    text-align: center;
    color: #fff;
}

.renewal-hero::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 24, 45, 0.16), rgba(6, 24, 45, 0.06) 45%, rgba(6, 24, 45, 0.2));
    content: "";
}

.renewal-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 54%;
}

.renewal-hero-content {
    position: relative;
    z-index: 1;
}

.renewal-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.25;
    text-shadow: 0 2px 14px rgba(0, 20, 40, 0.35);
}

.renewal-hero h1 span {
    color: #8fd4ff;
}

.renewal-hero-content > p {
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.renewal-hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.renewal-hero-tags span {
    padding: 0.3rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.82rem;
}

.renewal-search-wrap {
    position: relative;
    z-index: 2;
    margin-top: -2.75rem;
}

.renewal-search {
    max-width: 820px;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 1.1rem;
    border: 1px solid rgba(227, 236, 243, 0.9);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(11, 37, 69, 0.18);
}

.renewal-search h2 {
    margin: 0 0 0.75rem;
    color: var(--renewal-muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.renewal-search-row {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.renewal-field {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.renewal-field span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--renewal-navy);
    font-size: 0.78rem;
    font-weight: 700;
}

.renewal-field select {
    width: 100%;
    height: 52px;
    padding: 0 1rem;
    border: 1.5px solid var(--renewal-line);
    border-radius: 12px;
    background: #fff;
    color: #17222e;
    font: inherit;
}

.renewal-field select:focus {
    outline: 2px solid rgba(29, 122, 194, 0.2);
    border-color: var(--renewal-ocean);
}

.renewal-search-button {
    display: inline-flex;
    flex: 0 0 140px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 52px;
    border: 0;
    border-radius: 12px;
    background: var(--renewal-navy);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.renewal-search-button:hover {
    background: var(--renewal-ocean);
}

.renewal-search-count {
    margin-top: 0.7rem;
    color: var(--renewal-muted);
    font-size: 0.82rem;
}

.renewal-search-count strong {
    color: var(--renewal-ocean);
}

.renewal-section {
    padding: 4rem 0 0;
}

.renewal-section-heading {
    margin-bottom: 1.4rem;
}

.renewal-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.45rem;
    color: var(--renewal-ocean);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.renewal-section-eyebrow span {
    width: 1.35rem;
    height: 1px;
    background: currentColor;
}

.renewal-section-heading h2 {
    margin: 0;
    color: var(--renewal-navy);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.renewal-section-heading p {
    margin: 0.35rem 0 0;
    color: var(--renewal-muted);
    font-size: 0.95rem;
}

.renewal-region-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.renewal-region-card {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 16px;
    background: #d7e7f2;
}

.renewal-region-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(6, 24, 45, 0.74));
    content: "";
}

.renewal-region-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.renewal-region-card:hover img {
    transform: scale(1.05);
}

.renewal-region-caption {
    position: absolute;
    z-index: 1;
    right: 1rem;
    bottom: 0.9rem;
    left: 1rem;
    color: #fff;
}

.renewal-region-caption strong,
.renewal-region-caption small {
    display: block;
}

.renewal-region-caption strong {
    font-size: 1.05rem;
}

.renewal-region-caption small {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
}

.renewal-listings {
    padding-bottom: 0.5rem;
}

.renewal-preview-notice {
    margin: -0.65rem 0 1rem;
    color: var(--renewal-muted);
    font-size: 0.8rem;
}

.renewal-list-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.renewal-property-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--renewal-line);
    border-radius: 16px;
    background: #fff;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.renewal-property-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(11, 37, 69, 0.12);
}

.renewal-property-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eaf4fb;
}

.renewal-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.renewal-ocean-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(29, 122, 194, 0.94);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.renewal-property-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.9rem 1rem 1rem;
}

.renewal-property-type {
    color: var(--renewal-ocean);
    font-size: 0.75rem;
    font-weight: 700;
}

.renewal-property-body h3 {
    margin: 0;
    color: var(--renewal-navy);
    font-size: 1.05rem;
    font-weight: 700;
}

.renewal-property-location {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0.15rem 0 0;
    color: var(--renewal-muted);
    font-size: 0.8rem;
    overflow-wrap: anywhere;
}

.renewal-property-location i {
    flex: 0 0 auto;
    color: var(--renewal-ocean);
}

.renewal-property-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-top: 0.35rem;
    color: var(--renewal-navy);
}

.renewal-property-price strong {
    font-size: 1.15rem;
    font-weight: 800;
}

.renewal-property-price small {
    color: var(--renewal-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.renewal-property-fees {
    margin: 0;
    color: var(--renewal-muted);
    font-size: 0.78rem;
}

.renewal-property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.renewal-property-tags span {
    padding: 0.22rem 0.5rem;
    border-radius: 6px;
    background: var(--renewal-sky);
    color: #33556f;
    font-size: 0.7rem;
}

.renewal-empty {
    grid-column: 1 / -1;
    padding: 3rem 1rem;
    border: 1px dashed var(--renewal-line);
    border-radius: 16px;
    color: var(--renewal-muted);
    text-align: center;
}

.renewal-list-more {
    margin-top: 1.5rem;
    text-align: center;
}

.renewal-list-more a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.1rem;
    border: 1px solid var(--renewal-line);
    border-radius: 999px;
    color: var(--renewal-navy);
    font-size: 0.9rem;
    font-weight: 700;
}

.renewal-list-more a:hover {
    border-color: var(--renewal-ocean);
    color: var(--renewal-ocean);
}

.renewal-trust {
    margin-top: 3.5rem;
    padding: 0;
    background: transparent;
}

.renewal-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 2.1rem 1.9rem;
    border-radius: 20px;
    background: var(--renewal-sky);
}

.renewal-feature span {
    font-size: 1.5rem;
}

.renewal-feature strong {
    display: block;
    margin-top: 0.3rem;
    color: var(--renewal-navy);
    font-size: 0.95rem;
}

.renewal-feature p {
    margin: 0.2rem 0 0;
    color: var(--renewal-muted);
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .renewal-region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .renewal-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .renewal-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .renewal-hero {
        min-height: 440px;
        padding: 2.5rem 0 4rem;
    }

    .renewal-hero h1 {
        font-size: 1.7rem;
    }

    .renewal-hero-content > p {
        font-size: 0.9rem;
    }

    .renewal-hero-tags {
        gap: 0.4rem;
    }

    .renewal-hero-tags span {
        padding: 0.25rem 0.6rem;
        font-size: 0.72rem;
    }

    .renewal-search {
        padding: 1rem;
    }

    .renewal-search-row {
        flex-direction: column;
        align-items: stretch;
    }

    .renewal-search-button {
        flex-basis: auto;
        width: 100%;
    }

    .renewal-section {
        padding-top: 3rem;
    }

    .renewal-section-heading h2 {
        font-size: 1.3rem;
    }

    .renewal-feature-grid {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 520px) {
    .renewal-list-grid {
        grid-template-columns: 1fr;
    }

    .renewal-feature-grid {
        gap: 1rem;
    }
}
