html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--flh-background);
    color: var(--flh-foreground);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
}

p {
    margin: 0;
}

button,
input,
textarea,
select {
    font: inherit;
}

.flh-container {
    width: min(100%, 1400px);
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.flh-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.flh-nav.is-scrolled {
    background: rgba(var(--flh-background-rgb), 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 18px rgba(var(--flh-successive_shadow-rgb), 0.06);
    border-bottom-color: var(--flh-border);
}

.flh-nav__inner {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flh-nav__brand img,
.flh-footer__logo {
    height: var(--flh-nav-logo-size, 3rem);
    width: auto;
    object-fit: contain;
}

.flh-nav__links {
    display: none;
    align-items: center;
    gap: 2.5rem;
}

.flh-nav__links a,
.flh-nav__mobile-links a,
.flh-footer__nav a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    transition: color 0.2s ease;
}

.flh-nav__links a {
    color: rgba(var(--flh-white-rgb), 0.9);
}

.flh-nav.is-scrolled .flh-nav__links a {
    color: rgba(var(--flh-foreground-rgb), 0.8);
}

.flh-nav__links a:hover,
.flh-nav.is-scrolled .flh-nav__links a:hover,
.flh-nav__mobile-links a:hover,
.flh-footer__nav a:hover,
.flh-footer__built-by a:hover {
    color: var(--flh-accent);
}

.flh-nav__toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.flh-nav__toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--flh-white);
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.flh-nav.is-scrolled .flh-nav__toggle span {
    background: var(--flh-foreground);
}

.flh-nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.flh-nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.flh-nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.flh-nav__mobile {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}

.flh-nav__mobile.is-open {
    max-height: 16rem;
    padding-bottom: 1.5rem;
}

.flh-nav__mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.flh-nav__mobile-links a {
    color: rgba(var(--flh-foreground-rgb), 0.8);
}

.flh-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.flh-hero__media,
.flh-hero__overlay,
.flh-hero__media img {
    position: absolute;
    inset: 0;
}

.flh-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flh-hero__overlay {
    background: rgba(var(--flh-hero_overlay-rgb), 0.6);
}

.flh-hero__content-wrap {
    position: relative;
    z-index: 1;
    text-align: center;
}

.flh-hero__content {
    max-width: 64rem;
    margin: 0 auto;
}

.flh-section-line {
    width: 5rem;
    height: 2px;
    margin: 0 auto 2.5rem;
    background: rgba(var(--flh-accent-rgb), 0.5);
}

.flh-section-line--hero {
    width: 4rem;
    margin-bottom: 2.5rem;
    background: var(--flh-accent);
}

.flh-hero h1 {
    font-size: clamp(3.125rem, 7vw, 5.25rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    color: var(--flh-white);
}

.flh-hero__subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-style: italic;
    margin-bottom: 2rem;
    color: rgba(var(--flh-white-rgb), 0.8);
}

.flh-hero__description {
    max-width: 42rem;
    margin: 0 auto 3rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.75;
    color: rgba(var(--flh-white-rgb), 0.7);
}

.flh-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.flh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 11rem;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.flh-button--solid {
    background: var(--flh-white);
    color: var(--flh-primary);
}

.flh-button--solid:hover {
    background: rgba(var(--flh-white-rgb), 0.9);
}

.flh-button--outline {
    border: 1px solid rgba(var(--flh-white-rgb), 0.4);
    color: var(--flh-white);
}

.flh-button--outline:hover {
    border-color: var(--flh-accent);
    color: var(--flh-accent);
}

.flh-hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.flh-hero__scroll-indicator span {
    display: block;
    width: 2px;
    height: 4rem;
    background: linear-gradient(to bottom, rgba(var(--flh-white-rgb), 0.5), transparent);
}

.flh-section {
    padding: 6rem 0;
}

.flh-section--soft {
    background: rgba(var(--flh-secondary-rgb), 0.3);
}

.flh-section__intro,
.flh-section__narrow {
    max-width: 64rem;
    margin: 0 auto;
}

.flh-section__narrow--center,
.flh-section__intro {
    text-align: center;
}

.flh-section__label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--flh-accent);
}

.flh-section__heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.flh-section__lead {
    margin-bottom: 2rem;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    color: rgba(var(--flh-foreground-rgb), 0.8);
}

.flh-section__copy {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--flh-muted);
}

.flh-section__copy--center {
    max-width: 48rem;
    margin: 0 auto;
}

.flh-values-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--flh-border);
}

.flh-value-card {
    text-align: center;
}

.flh-icon {
    width: 2.5rem;
    height: 2.5rem;
}

.flh-icon--value,
.flh-icon--service {
    color: var(--flh-accent);
}

.flh-value-card__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.flh-value-card__title {
    margin-bottom: 0.5rem;
    font-size: 1.875rem;
    color: var(--flh-accent);
}

.flh-value-card__description,
.flh-service-card__description,
.flh-partner-card__subtitle,
.flh-contact__note,
.flh-portfolio-block__subtitle,
.flh-footer__copyright {
    color: var(--flh-muted);
}

.flh-services-grid {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
}

.flh-service-card {
    padding: 2rem;
    background: var(--flh-card);
    border: 1px solid var(--flh-border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.flh-service-card:hover {
    border-color: rgba(var(--flh-accent-rgb), 0.3);
    box-shadow: 0 18px 40px rgba(var(--flh-successive_shadow-rgb), 0.08);
}

.flh-service-card__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.5rem;
    background: rgba(var(--flh-accent-rgb), 0.1);
    color: var(--flh-accent);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.flh-service-card:hover .flh-service-card__icon-wrap {
    background: var(--flh-accent);
    color: var(--flh-white);
}

.flh-service-card__title,
.flh-portfolio-block__title,
.flh-partner-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.flh-service-card__description,
.flh-faq-item__answer,
.flh-contact__note,
.flh-portfolio-block__subtitle,
.flh-partner-card__subtitle,
.flh-footer__nav a,
.flh-footer__tagline,
.flh-footer__built-by {
    font-size: 1rem;
    line-height: 1.75;
}

.flh-portfolio-block {
    margin-bottom: 5rem;
}

.flh-portfolio-rentals-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}

.flh-portfolio-rental-item + .flh-portfolio-rental-item {
    margin-top: 0;
}

@media (min-width: 768px) {
    .flh-portfolio-rentals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
    }

    .flh-portfolio-rental-item:nth-child(odd):last-child {
        grid-column: 1 / -1;
    }
}

.flh-portfolio-block__title--property {
    text-align: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.flh-portfolio-block__title,
.flh-portfolio-block__subtitle,
.flh-portfolio-block__title--partners {
    text-align: center;
}

.flh-portfolio-block__subtitle {
    margin-bottom: 2rem;
}

.flh-portfolio-block__carousel--wide {
    max-width: 64rem;
    margin: 0 auto;
}

.flh-carousel {
    position: relative;
}

.flh-carousel__viewport {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: rgba(var(--flh-secondary-rgb), 0.65);
}

.flh-carousel__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.flh-carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    cursor: pointer;
    background: rgba(var(--flh-background-rgb), 0.8);
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.flh-carousel:hover .flh-carousel__button {
    opacity: 1;
}

.flh-carousel__button:hover {
    background: var(--flh-background);
}

.flh-carousel__button--prev {
    left: 1rem;
}

.flh-carousel__button--next {
    right: 1rem;
}

.flh-icon--carousel,
.flh-icon--faq,
.flh-icon--mail {
    width: 1.25rem;
    height: 1.25rem;
}

.flh-carousel__dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.flh-carousel__dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(var(--flh-background-rgb), 0.6);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.flh-carousel__dot.is-active {
    background: var(--flh-accent);
}

.flh-partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.flh-partner-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.flh-partner-card__header img {
    height: 4rem;
    width: auto;
    object-fit: contain;
}

.flh-faq-list {
    max-width: 48rem;
    margin: 0 auto;
}

.flh-faq-item {
    border-bottom: 1px solid var(--flh-border);
}

.flh-faq-item__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.flh-faq-item__trigger:hover {
    color: var(--flh-accent);
}

.flh-faq-item__question {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
}

.flh-faq-item__chevron {
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.flh-faq-item.is-open .flh-faq-item__chevron {
    transform: rotate(180deg);
}

.flh-faq-item__panel {
    overflow: hidden;
}

.flh-faq-item__answer {
    padding-bottom: 1.5rem;
}

.flh-contact__button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding: 1rem 2rem;
    background: var(--flh-primary);
    color: var(--flh-white);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: background-color 0.2s ease;
}

.flh-contact__button:hover {
    background: rgba(var(--flh-primary-rgb), 0.9);
}

.flh-contact__note {
    margin-top: 2rem;
    font-size: 0.875rem;
}

.flh-footer {
    padding: 3rem 0;
    background: var(--flh-primary);
    color: var(--flh-white);
}

.flh-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flh-footer__inner > img,
.flh-footer__logo {
    margin-bottom: 1.5rem;
}

.flh-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.flh-footer__nav a {
    color: rgba(var(--flh-white-rgb), 0.7);
}

.flh-footer__tagline {
    margin-bottom: 2rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    color: rgba(var(--flh-white-rgb), 0.7);
}

.flh-footer__divider {
    width: 4rem;
    height: 1px;
    margin-bottom: 2rem;
    background: rgba(var(--flh-white-rgb), 0.2);
}

.flh-footer__copyright {
    font-size: 0.875rem;
    color: rgba(var(--flh-white-rgb), 0.6);
}

.flh-footer__built-by {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(var(--flh-white-rgb), 0.5);
}

.flh-footer__built-by a {
    margin-left: 0.25rem;
    text-decoration: underline;
}

@media (min-width: 640px) {
    .flh-hero__actions {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .flh-nav__links {
        display: flex;
    }

    .flh-nav__toggle,
    .flh-nav__mobile {
        display: none;
    }

    .flh-values-grid,
    .flh-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .flh-partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
    }

    .flh-partner-card:nth-child(odd):last-child {
        grid-column: 1 / -1;
    }

    .flh-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (min-width: 1024px) {
    .flh-section {
        padding: 8rem 0;
    }

    .flh-partners-grid {
        gap: 4rem;
    }

    .flh-service-card {
        padding: 2.5rem;
    }
}
