.aw-home {
    --home-purple: #872e83;
    --home-purple-dark: #6f256b;
    --home-text: #5f5660;
    --home-text-dark: #423338;
    --home-border: #ece7ec;
    --home-surface: #ffffff;
    --home-background: #f6f6f6;
    background: var(--home-background);
    color: var(--home-text);
    overflow: hidden;
}

.home-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.home-icon {
    width: 1.1em;
    height: 1.1em;
    fill: currentColor;
    flex: 0 0 auto;
}

.home-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.home-hero {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #302830;
}

.home-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.home-search-card {
    position: absolute;
    left: 50%;
    bottom: 1%;
    z-index: 2;
    width: min(800px, calc(100% - 32px));
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transform: translateX(-50%);
    transition: transform 0.26s ease, box-shadow 0.26s ease, background-color 0.26s ease;
    backdrop-filter: blur(5px);
}

.home-search-card:hover,
.home-search-card:focus-within {
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    transform: translate(-50%, -3px);
}

.home-search-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 16px;
}

.home-search-tab {
    min-height: 50px;
    padding: 12px 16px;
    border: 0;
    border-radius: 8px;
    background: #5a1f5e;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1.25;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.home-search-tab:hover {
    background: #915e91;
    transform: translateY(-2px);
}

.home-search-tab.is-active {
    background: #7a297a;
    box-shadow: 0 6px 14px rgba(90, 31, 94, 0.25);
}

.home-search-tab:focus-visible,
.home-search-select:focus-visible,
.home-search-button:focus-visible,
.home-service-link:focus-visible,
.home-clear-searches:focus-visible,
.home-card-image-link:focus-visible,
.home-card-copy a:focus-visible,
.home-guide-card a:focus-visible,
.home-recent-card:focus-visible,
.home-reviews-link:focus-visible {
    outline: 3px solid #ffcf4a;
    outline-offset: 3px;
}

.home-search-panel[hidden] {
    display: none;
}

.home-search-form {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.home-search-select {
    width: 150px;
    max-width: 55%;
    height: 40px;
    padding: 8px 15px;
    border: 2px solid #7a297a;
    border-radius: 12px;
    background: #fff;
    color: var(--home-text-dark);
    font: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-search-select:focus {
    border-color: #5e1f5e;
    box-shadow: 0 0 0 3px rgba(122, 41, 122, 0.2);
}

.home-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 110px;
    height: 40px;
    padding: 8px 15px;
    border: 0;
    border-radius: 8px;
    background: #7a297a;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.home-search-button:hover {
    background: #5e1f5e;
    box-shadow: 0 8px 18px rgba(122, 41, 122, 0.22);
    transform: translateY(-2px);
}

.home-section {
    padding: 0 0 48px;
}

.home-intro-section {
    padding-top: 48px;
}

.home-intro-card,
.home-panel,
.home-feature-card {
    border: 1px solid var(--home-border);
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, background-color 0.26s ease;
}

.home-panel,
.home-feature-card {
    background: var(--home-surface);
}

.home-panel {
    padding: 24px;
    overflow: hidden;
}

.home-panel:hover,
.home-panel:focus-within,
.home-feature-card:hover,
.home-feature-card:focus-within {
    border-color: rgba(122, 41, 122, 0.23);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 34px rgba(122, 41, 122, 0.13);
    transform: translateY(-5px);
}

.home-intro-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    background: linear-gradient(135deg, #271c27 0%, #872e83 72%);
    color: #fff;
}

.home-intro-card::before {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    content: "";
}

.home-intro-card > * {
    position: relative;
    z-index: 1;
}

.home-intro-card:hover {
    border-color: rgba(135, 46, 131, 0.24);
    box-shadow: 0 18px 38px rgba(135, 46, 131, 0.14);
    transform: translateY(-4px);
}

.home-intro-card h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.04;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.home-intro-card p {
    margin: 0;
    color: #fff;
    line-height: 1.75;
    opacity: 0.94;
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-feature-stack {
    display: grid;
    gap: 48px;
}

.home-feature-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: center;
    overflow: hidden;
    padding: 24px;
}

.home-feature-copy h2,
.home-section-title,
.home-guide-card h3,
.home-recent h2 {
    color: var(--home-purple);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.home-feature-copy h2 {
    position: relative;
    margin: 0 0 24px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.home-feature-copy h2::after,
.home-section-title::after {
    display: block;
    width: 64px;
    height: 3px;
    margin: 0.85rem 0 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(122, 41, 122, 0.15), #7a297a, rgba(122, 41, 122, 0.15));
    content: "";
}

.home-feature-copy p,
.home-guide-card p,
.home-guide-card li {
    color: var(--home-text);
    line-height: 1.75;
}

.home-feature-copy p {
    margin: 0;
}

.home-feature-media {
    overflow: hidden;
    border-radius: 18px;
}

.home-feature-media picture {
    display: block;
}

.home-feature-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 18px;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.home-feature-card:hover .home-feature-image,
.home-feature-card:focus-within .home-feature-image {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.055);
}

.home-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.home-service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 16px;
    border-radius: 999px;
    background: var(--home-purple);
    box-shadow: 0 8px 18px rgba(135, 46, 131, 0.2);
    color: #fff;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.home-service-link:hover {
    background: var(--home-purple-dark);
    box-shadow: 0 8px 18px rgba(122, 41, 122, 0.22);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.home-guide-card h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.home-guide-card {
    padding: 30px;
}

.home-guide-card h3 {
    margin: 24px 0 10px;
    font-size: 1.25rem;
}

.home-guide-card p {
    margin: 14px 0 0;
}

.home-guide-card ul {
    margin: 16px 0 0;
    padding-left: 22px;
}

.home-guide-card a {
    color: var(--home-purple);
    font-weight: 800;
    text-decoration-color: rgba(135, 46, 131, 0.45);
    transition: color 0.22s ease, text-decoration-color 0.22s ease;
}

.home-guide-card a:hover {
    color: var(--home-purple-dark);
    text-decoration-color: var(--home-purple-dark);
}

.home-section-title {
    position: relative;
    margin: 0 0 28px;
    font-size: 1.5rem;
}

.home-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.home-property-card,
.home-news-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-property-card:hover,
.home-property-card:focus-within,
.home-news-card:hover,
.home-news-card:focus-within {
    border-color: rgba(122, 41, 122, 0.23);
    box-shadow: 0 12px 24px rgba(122, 41, 122, 0.14);
    transform: translateY(-5px);
}

.home-card-image-link {
    display: block;
    overflow: hidden;
    background: #f3eff3;
}

.home-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.home-property-card:hover .home-card-image,
.home-property-card:focus-within .home-card-image,
.home-news-card:hover .home-card-image,
.home-news-card:focus-within .home-card-image {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.055);
}

.home-card-copy {
    padding: 16px;
    text-align: center;
}

.home-card-copy a {
    color: var(--home-purple);
    text-decoration: none;
}

.home-card-copy a:hover {
    color: var(--home-purple-dark);
    text-decoration: underline;
}

.home-card-copy h3 {
    margin: 0;
    color: inherit;
    font-size: 1.08rem;
    line-height: 1.35;
}

.home-card-copy p {
    margin: 8px 0;
    color: var(--home-text);
}

.home-card-copy strong {
    display: block;
    color: var(--home-purple);
    font-size: 1.05rem;
}

.home-card-copy strong span {
    font-size: 0.85rem;
    font-weight: 600;
}

.home-news-copy {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-recent {
    padding-top: 42px;
}

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

.home-section-heading-row h2 {
    margin: 0;
}

.home-clear-searches {
    padding: 8px 14px;
    border: 1px solid var(--home-purple);
    border-radius: 999px;
    background: #fff;
    color: var(--home-purple);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.home-clear-searches:hover {
    background: var(--home-purple);
    color: #fff;
    transform: translateY(-2px);
}

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

.home-recent-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--home-border);
    border-radius: 16px;
    background: #fff;
    color: var(--home-text);
    text-decoration: none;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-recent-card:hover {
    border-color: rgba(122, 41, 122, 0.23);
    box-shadow: 0 12px 24px rgba(122, 41, 122, 0.14);
    color: var(--home-text);
    text-decoration: none;
    transform: translateY(-4px);
}

.home-recent-image-wrap {
    overflow: hidden;
}

.home-recent-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 150px;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.home-recent-card:hover img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.055);
}

.home-recent-copy {
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.home-recent-copy h3 {
    margin: 0;
    color: var(--home-purple);
    font-size: 1.05rem;
}

.home-recent-copy p,
.home-recent-copy small {
    margin: 6px 0 0;
}

.home-recent-copy strong {
    margin-top: auto;
    padding-top: 10px;
    color: var(--home-purple);
}

.home-testimonials {
    padding-bottom: 64px;
}

.home-testimonials-heading {
    text-align: center;
}

.home-testimonials-heading::after {
    margin-right: auto;
    margin-left: auto;
}

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

.home-review-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 30px;
    border: 1px solid var(--home-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(73, 38, 72, 0.08);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.home-review-card:hover,
.home-review-card:focus-within {
    border-color: rgba(122, 41, 122, 0.23);
    box-shadow: 0 14px 30px rgba(122, 41, 122, 0.12);
    transform: translateY(-4px);
}

.home-review-title {
    margin: 0 0 16px;
    color: var(--home-purple);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
}

.home-review-copy {
    margin: 0;
    color: var(--home-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

.home-quote {
    display: block;
    width: 34px;
    height: 34px;
    margin: 0 0 14px;
    fill: #e5dce5;
}

.home-review-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 22px;
}

.home-review-footer strong {
    color: var(--home-purple);
    font-size: 0.9rem;
    text-align: right;
}

.home-rating-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 1.25rem;
}

.home-rating-star {
    color: #d4cbd4;
}

.home-rating-star.is-full {
    color: var(--home-purple);
}

.home-rating-star.is-half {
    background: linear-gradient(90deg, var(--home-purple) 50%, #d4cbd4 50%);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.home-reviews-cta {
    margin-top: 30px;
    text-align: center;
}

.home-reviews-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 22px;
    border: 2px solid var(--home-purple);
    border-radius: 999px;
    background: var(--home-purple);
    box-shadow: 0 8px 18px rgba(135, 46, 131, 0.2);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.home-reviews-link:hover {
    background: var(--home-purple-dark);
    box-shadow: 0 12px 24px rgba(135, 46, 131, 0.26);
    transform: translateY(-2px);
}

.home-testimonials-empty {
    text-align: center;
}

@media (max-width: 991.98px) {
    .home-feature-card {
        grid-template-columns: 1fr;
    }

    .home-feature-card--image-mobile-first .home-feature-media {
        order: -1;
    }

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

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

@media (max-width: 768px) {
    .home-hero {
        height: 40vh;
    }

    .home-search-card {
        width: min(95%, 700px);
        padding: 10px;
    }

    .home-search-tab {
        min-height: 46px;
        padding: 9px 7px;
        font-size: 0.8rem;
    }

    .home-search-button {
        height: 38px;
        padding: 6px 12px;
    }

    .home-search-select {
        height: 38px;
    }

    .home-section {
        padding-bottom: 34px;
    }

    .home-intro-section {
        padding-top: 34px;
    }

    .home-feature-stack {
        gap: 34px;
    }

    .home-panel,
    .home-feature-card {
        padding: 22px 18px;
    }

    .home-panel:hover,
    .home-panel:focus-within,
    .home-feature-card:hover,
    .home-feature-card:focus-within,
    .home-property-card:hover,
    .home-property-card:focus-within,
    .home-news-card:hover,
    .home-news-card:focus-within {
        transform: translateY(-3px);
    }

    .home-action-grid {
        grid-template-columns: 1fr;
    }

    .home-recent-grid {
        grid-template-columns: 1fr;
    }

    .home-review-grid {
        grid-template-columns: 1fr;
    }

    .home-review-card {
        padding: 26px 24px;
    }
}

@media (max-width: 575.98px) {
    .home-search-tabs {
        gap: 3px;
    }

    .home-search-tab {
        font-size: 0.72rem;
    }

    .home-search-select {
        width: 56%;
        max-width: none;
    }

    .home-search-button {
        min-width: 100px;
    }

    .home-intro-card {
        padding: 24px 20px;
    }

    .home-intro-card h1 {
        font-size: 2rem;
    }

    .home-card-grid {
        grid-template-columns: 1fr;
    }

    .home-recent-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .home-section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .home-review-footer strong {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aw-home *,
    .aw-home *::before,
    .aw-home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
