/* Cores da marca: valores por defeito (Vila Azulejo demo). A marca ativa
   substitui-os com partials/brand/css-vars (html:root). */
:root {
    --brand-primary: #045679;
    --brand-primary-dark: #033d57;
    --brand-accent: #08b1e9;
    --brand-accent-hover: #06a0d4;
    --brand-accent-hover-admin: #0699c9;
    --brand-cream: #f7f5f1;
    --brand-primary-rgb: 4, 86, 121;
    --brand-primary-dark-rgb: 3, 61, 87;
    --brand-accent-rgb: 8, 177, 233;
}

/* Vila Azulejo — public site polish */

:root {
    --rf-brand: var(--brand-primary);
    --rf-accent: var(--brand-accent);
    --rf-cream: var(--brand-cream);
}

/* Shared page layout */
.rf-page-section {
    background: var(--rf-cream);
    padding-top: 5rem;
    padding-bottom: 5.5rem;
}

.rf-page-intro h5,
.section-title h5,
.about-title h5 {
    color: var(--rf-accent);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.rf-page-intro h2,
.section-title h2,
.about-title h2 {
    color: var(--rf-brand);
    margin-bottom: 1rem;
}

.rf-page-lead,
.section-title > p,
.rf-page-intro .rf-page-lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: #5a6b75;
    font-size: 1.05rem;
    line-height: 1.7;
}

.rf-panel {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 18px 42px rgba(var(--brand-primary-rgb), 0.12);
}

.rf-panel--center {
    padding: 3rem 2rem;
}

.rf-panel--compact {
    padding: 2rem 1.75rem;
}

.rf-media-grid__item {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(var(--brand-primary-rgb), 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rf-media-grid__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(var(--brand-primary-rgb), 0.16);
}

.rf-media-grid__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.rf-accommodation-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.rf-accommodation-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 42px rgba(var(--brand-primary-rgb), 0.12);
}

.rf-accommodation-card__media {
    height: 100%;
    min-height: 280px;
}

.rf-accommodation-card__media .rf-gallery,
.rf-accommodation-card__media .rf-gallery__slide {
    height: 100%;
    min-height: 280px;
    border-radius: 0;
}

.rf-accommodation-card__media .rf-gallery__slide {
    object-fit: cover;
}

.rf-accommodation-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 2.5rem;
}

.rf-accommodation-card__body h3 {
    color: var(--rf-brand);
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    margin-bottom: 1rem;
}

.rf-accommodation-card__body p {
    color: #5a6b75;
    line-height: 1.75;
    margin-bottom: 0;
}

.rf-article-card {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem;
    box-shadow: 0 18px 42px rgba(var(--brand-primary-rgb), 0.12);
}

.rf-article-card__header h1 {
    color: var(--rf-brand);
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 0;
}

.rf-article-card__meta {
    color: #6b7c86;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.rf-article-card__cover {
    width: 100%;
    border-radius: 14px;
    margin: 2rem 0;
    display: block;
}

.rf-article-card__content {
    color: #4f5f68;
    line-height: 1.8;
}

.rf-article-card__footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8eef2;
}

.services-08-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(var(--brand-primary-rgb), 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-08-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(var(--brand-primary-rgb), 0.14);
}

.contact-area.rf-page-section {
    background: var(--rf-cream);
}

.contact-area .contact-info.rf-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-area .contact-info .single-cta {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 1.5rem;
    float: none;
    width: 100%;
}

.contact-area .contact-info .single-cta:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-area .contact-info .single-cta small {
    display: block;
    margin-top: 0.5rem;
    color: #6b7c86;
    line-height: 1.5;
}

.contact-area .contact-bg02.rf-panel {
    background: #fff;
    padding: 2.5rem;
    text-align: left;
}

.about-area .s-about-img img,
.about-area .about-icon img {
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(var(--brand-primary-rgb), 0.1);
}

.rf-booking-search__fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem;
    justify-content: center;
}

.rf-booking-search__field {
    flex: 1 1 260px;
    max-width: 420px;
    margin: 0;
}

.rf-booking-search__actions {
    flex: 0 0 auto;
}

.rf-booking-search__submit {
    min-width: 220px;
    background-color: var(--rf-accent) !important;
}

.rf-booking-search--compact .rf-booking-search__fields {
    max-width: 720px;
    margin: 0 auto;
}

.rf-booking-search--compact .rf-booking-search__field {
    flex: 1 1 320px;
    max-width: none;
}

.rf-home-booking {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 1.25rem 0 1.5rem;
    background: var(--rf-cream);
    border-bottom: 1px solid rgba(var(--brand-primary-rgb), 0.08);
}

.rf-home-booking .rf-booking-search--compact .rf-booking-search__fields {
    max-width: 760px;
}

.rf-home-booking__card {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
}

.rf-booking-search--button-only {
    display: flex;
    justify-content: center;
}

.rf-booking-search--button-only .rf-booking-search__actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

.rf-booking-search--button-only .rf-booking-search__submit {
    width: 100%;
    max-width: 420px;
}


.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: var(--rf-brand);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid var(--rf-accent);
    outline-offset: 2px;
}

.rf-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rf-brand);
}

.rf-input {
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rf-input:focus {
    outline: none;
    border-color: var(--rf-accent) !important;
    box-shadow: 0 0 0 3px rgba(var(--brand-accent-rgb), 0.2);
}

.rf-alert {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.rf-alert ul {
    padding-left: 1rem;
}

.rf-alert--error {
    background: #fdecea;
    color: #9b2c2c;
    border: 1px solid #f5c6cb;
}

.rf-alert--success {
    background: #e8f8ef;
    color: #1f6b43;
    border: 1px solid #b7e4c7;
}

.locale-switcher {
    display: flex;
    gap: 0.35rem;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

.locale-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.locale-switcher a:hover,
.locale-switcher a:focus {
    border-color: var(--rf-accent);
    transform: translateY(-1px);
}

.locale-switcher a.is-active {
    border-color: var(--rf-brand);
    box-shadow: 0 0 0 2px rgba(var(--brand-primary-rgb), 0.15);
}

.locale-switcher img {
    display: block;
    border-radius: 50%;
}

.nav-book-mobile {
    margin-top: 0.5rem;
}

.nav-book-mobile .top-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
}

#map {
    width: 100%;
    min-height: 380px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(var(--brand-primary-rgb), 0.12);
}

.mapboxgl-ctrl-group {
    border-radius: 10px !important;
    box-shadow: 0 8px 20px rgba(var(--brand-primary-rgb), 0.12) !important;
}

.rf-gallery {
    position: relative;
}

.rf-gallery__slide {
    display: none;
    width: 100%;
    border-radius: 12px;
}

.rf-gallery__slide.is-active {
    display: block;
}

.rf-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(var(--brand-primary-rgb), 0.85);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    z-index: 2;
}

.rf-gallery__nav:hover,
.rf-gallery__nav:focus {
    background: var(--rf-brand);
    outline: none;
    transform: translateY(-50%) scale(1.05);
}

.rf-gallery__nav--prev {
    left: 12px;
}

.rf-gallery__nav--next {
    right: 12px;
}

.rf-success-page {
    text-align: center;
    padding: 4rem 0 5rem;
}

.rf-success-page__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rf-accent), var(--brand-accent-hover));
    color: #fff;
    font-size: 2.2rem;
    box-shadow: 0 16px 32px rgba(var(--brand-accent-rgb), 0.25);
}

.rf-success-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.rf-success-page__actions .btn.ss-btn {
    min-width: 180px;
}

.blog-card {
    height: 100%;
}

.rf-blog-index,
.rf-page-section.blog-area {
    background: var(--rf-cream);
}

.rf-blog-index__intro,
.rf-page-intro {
    text-align: center;
}

.rf-blog-index__intro h5,
.rf-page-intro h5 {
    color: var(--rf-accent);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.rf-blog-index__intro h2,
.rf-page-intro h2 {
    color: var(--rf-brand);
    margin-bottom: 1rem;
}

.rf-blog-index__lead,
.rf-page-lead {
    max-width: 640px;
    margin: 0 auto;
    color: #5a6b75;
    font-size: 1.05rem;
    line-height: 1.7;
}

.rf-blog-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 42px rgba(var(--brand-primary-rgb), 0.12);
}

.rf-blog-featured__media {
    display: block;
    min-height: 320px;
    overflow: hidden;
}

.rf-blog-featured__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.rf-blog-featured:hover .rf-blog-featured__media img {
    transform: scale(1.03);
}

.rf-blog-featured__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
}

.rf-blog-featured__badge {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(var(--brand-accent-rgb), 0.14);
    color: var(--rf-brand);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rf-blog-featured__meta {
    color: #6b7c86;
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
}

.rf-blog-featured__title {
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.rf-blog-featured__title a {
    color: var(--rf-brand);
    text-decoration: none;
}

.rf-blog-featured__title a:hover {
    color: var(--brand-primary-dark);
}

.rf-blog-featured__excerpt {
    color: #4f5f68;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.rf-blog-grid {
    --bs-gutter-x: 1.75rem;
}

.rf-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(var(--brand-primary-rgb), 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rf-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(var(--brand-primary-rgb), 0.14);
}

.rf-blog-card .blog-thumb2 {
    overflow: hidden;
}

.rf-blog-card .blog-thumb2 img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.rf-blog-card:hover .blog-thumb2 img {
    transform: scale(1.04);
}

.rf-blog-card .blog-content2 {
    display: flex;
    flex-direction: column;
    flex: 1;
    float: none;
    width: 100%;
    border: 0;
    padding: 2.4rem 1.6rem 1.6rem;
}

.rf-blog-card .blog-content2 h4 {
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.rf-blog-card .blog-content2 h4 a {
    color: var(--rf-brand);
}

.rf-blog-card__meta {
    color: #6b7c86;
    margin-top: 0.15rem;
}

.rf-blog-card__excerpt {
    color: #5a6b75;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex: 1;
}

.rf-blog-card .blog-btn {
    margin-top: auto;
}

.rf-blog-empty {
    max-width: 520px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.rf-blog-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: rgba(var(--brand-accent-rgb), 0.14);
    color: var(--rf-brand);
    font-size: 2rem;
}

.rf-blog-empty h3 {
    color: var(--rf-brand);
    margin-bottom: 0.75rem;
}

.rf-blog-empty p {
    color: #5a6b75;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.rf-blog-pagination .pagination {
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
}

.rf-blog-pagination .page-link {
    min-width: 44px;
    height: 44px;
    padding: 0 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px !important;
    border: 1px solid #d7e3ea;
    color: var(--rf-brand);
    font-weight: 600;
    box-shadow: none;
    background: #fff;
}

.rf-blog-pagination .page-link:hover,
.rf-blog-pagination .page-link:focus {
    background: rgba(var(--brand-accent-rgb), 0.12);
    border-color: rgba(var(--brand-accent-rgb), 0.35);
    color: var(--rf-brand);
    box-shadow: none;
}

.rf-blog-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--rf-accent), var(--brand-accent-hover));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 20px rgba(var(--brand-accent-rgb), 0.22);
}

.rf-blog-pagination .page-item.disabled .page-link {
    color: #9aa8b0;
    background: #f4f7f9;
}

.blog-card .blog-thumb2 img {
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.footer-social a,
.header-social a {
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.footer-social a:hover,
.header-social a:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.top-btn,
.btn.ss-btn {
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.top-btn:hover,
.btn.ss-btn:hover {
    transform: translateY(-1px);
}

.feature-content img,
.s-about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.breadcrumb-area {
    position: relative;
    background-position: center;
    background-size: cover;
    background-color: var(--brand-primary-dark) !important;
    /* .header-three .menu-area uses margin-bottom: -106px — keep title below the bar */
    padding-top: 7.5rem;
    padding-bottom: 3rem;
    min-height: 360px;
}

.breadcrumb-area::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(var(--brand-primary-rgb), 0.82) 0%,
        rgba(var(--brand-primary-dark-rgb), 0.72) 55%,
        rgba(var(--brand-primary-rgb), 0.65) 100%
    );
    z-index: 0;
}

.breadcrumb-area .container {
    position: relative;
    z-index: 1;
}

.breadcrumb-title h1,
.breadcrumb-title h2,
.breadcrumb-title .breadcrumb-hero {
    color: #fff !important;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
    max-width: 920px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb li a {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.breadcrumb > .active {
    color: rgba(255, 255, 255, 0.88) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7) !important;
}

@media (max-width: 767px) {
    #map {
        min-height: 280px;
    }

    .breadcrumb-title h1,
    .breadcrumb-title h2,
    .breadcrumb-title .breadcrumb-hero {
        font-size: 1.75rem;
        margin-top: 0;
        margin-bottom: 0.75rem;
    }

    .breadcrumb-area {
        min-height: 280px;
        padding-top: 6.5rem;
        padding-bottom: 2rem;
    }

    .rf-blog-featured {
        grid-template-columns: 1fr;
    }

    .rf-blog-featured__media {
        min-height: 220px;
    }

    .rf-blog-featured__body {
        padding: 1.75rem 1.25rem;
    }

    .rf-blog-index__intro,
    .rf-page-intro {
        margin-bottom: 2rem !important;
    }

    .rf-accommodation-card__body {
        padding: 1.75rem 1.25rem;
    }

    .rf-article-card {
        padding: 1.75rem 1.25rem;
    }

    .rf-panel {
        padding: 1.75rem 1.25rem;
    }

    .rf-home-booking__card {
        padding: 1.25rem 1rem;
    }

    .rf-booking-search__fields {
        flex-direction: column;
        align-items: stretch;
    }

    .rf-booking-search__submit {
        width: 100%;
        min-width: 0;
    }
}

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


/* ASAE / LRE legal line in footer */
.footer-legal {
    margin-top: 0.4rem;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.footer-lre-link {
    display: inline-block;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.05em;
    letter-spacing: 0.02em;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 6px;
    padding: 0.35rem 0.65rem;
    margin-top: 0.25rem;
    line-height: 1.35;
}

.footer-link .footer-lre-link {
    margin-top: 0.15rem;
}

.footer-legal .footer-lre-link {
    font-size: inherit;
    padding: 0.2rem 0.5rem;
    margin-top: 0.35rem;
}

.footer-lre-link:hover,
.footer-lre-link:focus {
    color: var(--brand-primary) !important;
    background: #fff;
    border-color: #fff;
}

.footer-legal a {
    color: #fff;
}

.footer-legal a:hover,
.footer-legal a:focus {
    color: var(--brand-accent);
}


/* Footer contact: vertically center icon with single-line items (email, RNAL) */
.f-contact ul li {
    display: flex;
    align-items: center;
    float: none;
}

.f-contact .icon {
    float: none;
    margin-top: 0;
    flex-shrink: 0;
}

/* Homepage hero */
/* Full-screen hero: it ends at the bottom of the screen (stats strip just below the fold).
   --rf-hero-top = where the hero starts on the page (top bar above it); the fallbacks below are
   refined by a small script in partials/home-hero.blade.php that measures the real value. */
.rf-hero {
    --rf-hero-top: 28px;
    position: relative;
    height: calc(100vh - var(--rf-hero-top));
    height: calc(100svh - var(--rf-hero-top));
    min-height: 560px;
}

.rf-hero__content-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.rf-hero__content-wrap .rf-hero__actions,
.rf-hero__content-wrap a {
    pointer-events: auto;
}

.rf-hero .rf-hero__slide {
    height: calc(100vh - var(--rf-hero-top, 28px));
    height: calc(100svh - var(--rf-hero-top, 28px));
    /* theme's .slider-bg forces min-height: 900px !important, which made slides taller than the hero */
    min-height: 560px !important;
    background-size: cover !important;
    background-position: center;
    position: relative;
}

.rf-hero-slider,
.rf-hero-slider .slick-list,
.rf-hero-slider .slick-track,
.rf-hero-slider .slick-slide {
    height: 100%;
}

.rf-hero-slider .slick-slide > div {
    height: 100%;
}

.rf-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 30, 44, 0.55) 0%, rgba(4, 30, 44, 0.72) 100%);
}

.rf-hero__content {
    position: relative;
    z-index: 2;
    padding: 6rem 1rem 4rem;
    color: #fff;
}

.rf-hero__title {
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.rf-hero__brand {
    display: block;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: 0.02em;
    color: #fff;
    font-weight: 700;
}

.rf-hero__subtitle {
    display: block;
    margin-top: 0.35rem;
    font-size: clamp(0.75rem, 2vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #fff;
    text-transform: uppercase;
}

.rf-hero__tagline {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.95);
}

.rf-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.rf-hero__btn {
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-transform: none;
    min-width: 11rem;
}

.rf-hero__btn--primary {
    background: #fff;
    color: var(--rf-brand);
    border: 2px solid #fff;
}

.rf-hero__btn--primary:hover,
.rf-hero__btn--primary:focus {
    background: var(--rf-accent);
    border-color: var(--rf-accent);
    color: #fff;
}

.rf-hero__btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.rf-hero__btn--ghost:hover,
.rf-hero__btn--ghost:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.rf-hero > .slick-prev,
.rf-hero > .slick-next,
.rf-hero > .rf-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #fff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    padding: 0;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rf-hero > .slick-prev,
.rf-hero > .rf-hero-arrow.slick-prev {
    left: max(1rem, 2vw);
    right: auto;
}

.rf-hero > .slick-next,
.rf-hero > .rf-hero-arrow.slick-next {
    right: max(1rem, 2vw);
    left: auto;
}

.rf-hero > .slick-prev::before,
.rf-hero > .slick-next::before {
    content: none;
}

.rf-hero > .slick-prev i,
.rf-hero > .slick-next i {
    color: var(--rf-brand);
    font-size: 1.35rem;
    line-height: 1;
}

.rf-hero > .slick-prev:hover,
.rf-hero > .slick-next:hover,
.rf-hero > .slick-prev:focus,
.rf-hero > .slick-next:focus {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
}

@media (max-width: 575px) {
    .rf-hero > .slick-prev,
    .rf-hero > .slick-next,
    .rf-hero > .rf-hero-arrow {
        width: 38px;
        height: 38px;
    }

    .rf-hero > .slick-prev i,
    .rf-hero > .slick-next i {
        font-size: 1.1rem;
    }
}

.rf-hero-stats {
    background: var(--rf-brand);
    color: #fff;
}

.rf-hero-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.rf-hero-stats__item {
    padding: 1.35rem 1.25rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.rf-hero-stats__item:last-child {
    border-right: none;
}

.rf-hero-stats__item strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.rf-hero-stats__item span {
    display: block;
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 991px) {
    .rf-hero-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rf-hero-stats__item:nth-child(2) {
        border-right: none;
    }

    .rf-hero-stats__item:nth-child(1),
    .rf-hero-stats__item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }
}

/* Mobile hero: text at the bottom so the apartment photos are recognisable */
@media (min-width: 768px) and (max-width: 991px) {
    .rf-hero {
        --rf-hero-top: 0px;
    }
}

@media (max-width: 767px) {
    .rf-hero {
        --rf-hero-top: 47px;
    }

    .rf-hero__slide {
        background-position: center center !important;
    }

    /* Lighter at the top so the photo shows, darker at the bottom behind the text */
    .rf-hero__overlay {
        background: linear-gradient(180deg, rgba(4, 30, 44, 0.45) 0%, rgba(4, 30, 44, 0.12) 30%, rgba(4, 30, 44, 0.35) 55%, rgba(4, 30, 44, 0.82) 100%);
    }

    .rf-hero__content-wrap {
        align-items: flex-end;
    }

    .rf-hero__content {
        padding: 0 0.25rem 2.25rem;
    }

    .rf-hero__title,
    .rf-hero__tagline {
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    }

    .rf-hero__tagline {
        margin-bottom: 1.25rem;
    }

    /* Arrows sit over the photo, above the text block */
    .rf-hero > .slick-prev,
    .rf-hero > .slick-next,
    .rf-hero > .rf-hero-arrow {
        top: 36%;
    }
}

@media (max-width: 575px) {
    .rf-hero-stats__grid {
        grid-template-columns: 1fr;
    }

    .rf-hero-stats__item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .rf-hero-stats__item:last-child {
        border-bottom: none;
    }

    .rf-hero__btn {
        width: 100%;
        min-width: 0;
    }
}

.contact-area .contact-info .single-cta.rf-contact-cta,
.contact-area .contact-info .single-cta:has(.single-cta__body) {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    float: none;
}

.contact-area .contact-info .single-cta__body {
    flex: 1;
    min-width: 0;
}

.rf-contact-details {
    margin: 0;
}

.rf-contact-details__line {
    margin: 0 0 0.65rem;
}

.rf-contact-details__line:last-child {
    margin-bottom: 0;
}

.rf-contact-details__line a {
    color: #777;
    text-decoration: none;
}

.rf-contact-details__line a:hover,
.rf-contact-details__line a:focus {
    color: var(--rf-brand);
}

.rf-contact-footnote {
    display: block;
    margin-top: 0.75rem;
    color: #777;
}

.rf-whatsapp-pill {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.rf-whatsapp-pill:hover,
.rf-whatsapp-pill:focus {
    text-decoration: none;
}

.rf-whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #e8f7ef;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    vertical-align: middle;
}

.rf-whatsapp-badge__label {
    color: #128C7E;
    font-size: 0.88rem;
    font-weight: 600;
}
