/* ============================================================
   Luxuria homepage — modern real-estate layout
   Hand-written CSS. Layout patterns inspired by contemporary
   real-estate site design; no third-party theme assets used.
   Scoped to index.html only (hz- prefix).
   ============================================================ */

:root {
    --hz-accent: #FFCA3A;      /* golden amber, matches reference */
    --hz-on-accent: #171B2A;   /* dark text — white on yellow is unreadable */
    --hz-dark: #171B2A;
    --hz-body: #5C727D;
    --hz-line: #E7EBEE;
    --hz-bg-soft: #F6F8F9;
    --hz-radius: 8px;
    --hz-shadow-sm: 0 6px 20px rgba(23, 27, 42, .07);
    --hz-shadow-md: 0 18px 45px rgba(23, 27, 42, .13);
}

.hz-section { padding: 100px 0; }
.hz-section .container,
.hz-hero .container,
.hz-typestrip .container,
.hz-stats .container,
.hz-cta .container { max-width: 1290px; }

/* ---------- Buttons ---------- */
.hz-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 4px;
    font-family: var(--ltn__heading-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all .3s ease;
    white-space: nowrap;
}
.hz-btn--primary { background: var(--hz-accent); color: var(--hz-on-accent); }
.hz-btn--primary:hover { background: var(--hz-dark); color: #fff; }
.hz-btn--light { background: var(--hz-dark); color: #fff; }
.hz-btn--light:hover { background: #fff; color: var(--hz-dark); }

/* ---------- Section headings ---------- */
.hz-sechead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 55px;
    flex-wrap: wrap;
}
.hz-sechead__title {
    font-family: var(--ltn__heading-font);
    font-size: 44px;
    line-height: 1.18;
    font-weight: 700;
    color: var(--hz-dark);
    margin: 0;
}
.hz-sechead--stacked { flex-direction: column; align-items: flex-start; }
.hz-sechead__lede {
    max-width: 640px;
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: var(--hz-body);
}

/* ---------- Grids ---------- */
.hz-grid { display: grid; gap: 30px; }
.hz-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hz-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   HERO
   ============================================================ */
.hz-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 190px 0 150px;
    color: #fff;
}
.hz-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(23,27,42,.72) 0%, rgba(23,27,42,.50) 50%, rgba(23,27,42,.32) 100%);
}
.hz-hero__inner { position: relative; z-index: 2; }
/* theme style.css sets an explicit dark color on headings — override inside the hero */
.hz-hero__inner h1,
.hz-hero__inner p { color: #fff; }
.hz-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ltn__heading-font);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 18px;
}
.hz-hero__eyebrow i { color: var(--hz-accent); }
.hz-hero__title {
    font-family: 'Plus Jakarta Sans', var(--ltn__heading-font);
    font-size: 44px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -1px;
    text-transform: capitalize;
    margin: 0 0 22px;
    max-width: 860px;
}
.hz-hero__lede {
    font-size: 17px;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 42px;
    color: rgba(255,255,255,.86);
}

/* ---------- Hero search ---------- */
.hz-search { max-width: 1090px; }
.hz-search__tabs { display: flex; gap: 4px; }
.hz-search__tab {
    border: 0;
    background: var(--hz-accent);
    color: var(--hz-on-accent);
    font-family: 'Plus Jakarta Sans', var(--ltn__heading-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 10px 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all .25s ease;
}
.hz-search__tab:hover { filter: brightness(1.06); }
.hz-search__tab.is-active { background: #fff; color: var(--hz-on-accent); }

.hz-search__form {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 64px;
    gap: 14px;
    align-items: end;          /* keeps every control on one baseline */
    background: transparent;   /* fields float on the hero, as in the reference */
    padding: 18px 0 0;
    border-radius: 0;
    box-shadow: none;
}
.hz-search__field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.hz-search__field label {
    font-family: var(--ltn__heading-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(23, 27, 42, .55);
}
.hz-search__field input,
.hz-search__field select {
    height: 50px;
    border: 1px solid var(--hz-line);
    border-radius: 4px;
    padding: 0 14px;
    font-size: 15px;
    color: var(--hz-dark);
    background: #fff;
    width: 100%;
    font-family: var(--ltn__body-font);
}
/* the theme sets a 30px bottom margin on inputs — it breaks row alignment here */
.hz-search__field input,
.hz-search__field select,
.hz-search__field textarea { margin-bottom: 0 !important; }

/* keep every label one line tall so all controls sit on the same baseline */
.hz-search__field label {
    white-space: nowrap;
    line-height: 20px;
    min-height: 20px;
}

.hz-search__field input:focus,
.hz-search__field select:focus { outline: 2px solid var(--hz-accent); outline-offset: -1px; }

/* main.js converts every <select> into a .nice-select div — style that widget
   so the hero search fields match the inputs beside them */
.hz-search__field .nice-select {
    height: 50px;
    line-height: 48px;
    border: 1px solid var(--hz-line);
    border-radius: 4px;
    padding: 0 34px 0 14px;
    font-family: var(--ltn__body-font);
    font-size: 15px;
    font-weight: 400;
    color: var(--hz-dark);
    background: #fff;
    width: 100%;
    float: none;
}
.hz-search__field .nice-select .list { width: 100%; z-index: 30; max-height: 260px; overflow-y: auto; }
.hz-search__field .nice-select .option { font-size: 15px; line-height: 38px; min-height: 38px; }
.hz-search__field .nice-select::after { right: 16px; }
.hz-search__submit {
    align-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 50px;
    border: 0;
    border-radius: 4px;
    background: var(--hz-accent);
    color: var(--hz-on-accent);
    font-size: 19px;
    cursor: pointer;
    transition: background .3s ease;
}
.hz-search__submit:hover { background: var(--hz-dark); color: #fff; }

/* ============================================================
   PROPERTY TYPE STRIP
   ============================================================ */
.hz-typestrip { margin-top: -55px; position: relative; z-index: 5; }
.hz-typestrip__card {
    background: #fff;
    border-radius: var(--hz-radius);
    box-shadow: var(--hz-shadow-md);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 34px 20px;
}
.hz-typestrip__item {
    border-radius: 6px;
    transition: background .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 6px;
}
.hz-typestrip__icon {
    width: 58px; height: 58px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    color: var(--hz-dark);
    transition: color .3s ease, transform .3s ease;
}
.hz-typestrip__label {
    font-family: var(--ltn__heading-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--hz-dark);
    text-align: center;
}
.hz-typestrip__item:hover { background: var(--hz-accent); }
.hz-typestrip__item:hover .hz-typestrip__icon { color: var(--hz-dark); transform: translateY(-4px); }
.hz-typestrip__item:hover .hz-typestrip__label { color: var(--hz-on-accent); }

/* ============================================================
   PROPERTY CARDS
   ============================================================ */
.hz-card {
    background: #fff;
    border-radius: var(--hz-radius);
    overflow: hidden;
    box-shadow: var(--hz-shadow-sm);
    transition: box-shadow .3s ease, transform .3s ease;
    display: flex;
    flex-direction: column;
}
.hz-card:hover { box-shadow: var(--hz-shadow-md); transform: translateY(-5px); }
.hz-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.hz-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hz-card:hover .hz-card__media img { transform: scale(1.06); }
.hz-card__badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--hz-accent); color: var(--hz-on-accent);
    font-family: var(--ltn__heading-font);
    font-size: 11px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 6px 13px; border-radius: 3px;
}
.hz-card__body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.hz-card__title { font-size: 20px; font-weight: 700; margin: 0 0 8px; line-height: 1.35; }
.hz-card__title a { color: var(--hz-dark); text-decoration: none; }
.hz-card__title a:hover { color: var(--hz-body); }
.hz-card__price {
    font-family: var(--ltn__heading-font);
    font-size: 20px; font-weight: 700; color: var(--hz-dark); margin: 0 0 6px;
}
.hz-card__price span { font-size: 14px; font-weight: 500; color: var(--hz-body); }
.hz-card__type {
    font-size: 12px; font-weight: 600; letter-spacing: .05em;
    text-transform: uppercase; color: var(--hz-body); margin: 0 0 18px;
}
.hz-card__meta {
    display: flex; gap: 22px; list-style: none; margin: auto 0 0; padding: 16px 0 0;
    border-top: 1px solid var(--hz-line);
}
.hz-card__meta li {
    display: flex; align-items: center; gap: 7px;
    font-size: 14px; font-weight: 600; color: var(--hz-dark);
}
.hz-card__meta i { color: var(--hz-body); font-size: 15px; }
.hz-card__meta small { font-weight: 500; color: var(--hz-body); }

.hz-card--cta { background: var(--hz-dark); }
.hz-card__ctainner { padding: 42px 34px; color: #fff; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hz-card__ctainner h3 { color: #fff; font-size: 24px; margin: 0 0 14px; line-height: 1.3; }
.hz-card__ctainner p { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.7; margin: 0 0 26px; }
.hz-card__ctainner .hz-btn { align-self: flex-start; }

/* ============================================================
   SERVICES
   ============================================================ */
.hz-services { background: var(--hz-bg-soft); }
.hz-services__grid { margin-top: 10px; }
.hz-service {
    background: #fff;
    border-radius: var(--hz-radius);
    padding: 42px 34px;
    box-shadow: var(--hz-shadow-sm);
    transition: box-shadow .3s ease, transform .3s ease;
}
.hz-service:hover { box-shadow: var(--hz-shadow-md); transform: translateY(-5px); }
.hz-service__icon {
    width: 66px; height: 66px; border-radius: 50%;
    background: rgba(255, 202, 58, .18);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--hz-dark); margin-bottom: 24px;
}
.hz-service h3 { font-size: 21px; font-weight: 700; color: var(--hz-dark); margin: 0 0 12px; }
.hz-service p { font-size: 15px; line-height: 1.75; color: var(--hz-body); margin: 0 0 18px; }
.hz-service__link {
    font-family: var(--ltn__heading-font);
    font-size: 13px; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; color: var(--hz-dark); text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
}
.hz-service__link:hover { color: var(--hz-dark); }

/* ============================================================
   SPLIT / MARKET EXPERTISE
   ============================================================ */
.hz-split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.hz-split__media { position: relative; }
.hz-split__media img { width: 100%; border-radius: var(--hz-radius); display: block; }
.hz-split__badge {
    position: absolute; right: -28px; bottom: 42px;
    background: #fff; border-radius: var(--hz-radius);
    box-shadow: var(--hz-shadow-md);
    padding: 22px 26px; display: flex; align-items: center; gap: 16px;
}
.hz-split__badge-icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--hz-accent); color: var(--hz-on-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.hz-split__badge-text { font-size: 14px; line-height: 1.4; color: var(--hz-body); }
.hz-split__badge-text strong {
    display: block; font-family: var(--ltn__heading-font);
    font-size: 22px; font-weight: 700; color: var(--hz-dark);
}
.hz-split__content h2 {
    font-family: var(--ltn__heading-font);
    font-size: 42px; line-height: 1.2; font-weight: 700;
    color: var(--hz-dark); margin: 0 0 20px;
}
.hz-split__content > p { font-size: 16px; line-height: 1.8; color: var(--hz-body); margin: 0 0 24px; }
.hz-split__list { list-style: none; padding: 0; margin: 0 0 32px; }
.hz-split__list li {
    position: relative; padding-left: 30px; margin-bottom: 12px;
    font-size: 15px; color: var(--hz-dark);
}
.hz-split__list li::before {
    content: "\2713";
    position: absolute; left: 0; top: 0;
    color: var(--hz-dark); font-weight: 700;
}

/* ============================================================
   STATS
   ============================================================ */
.hz-stats { background: var(--hz-dark); padding: 78px 0; }
.hz-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.hz-stat { text-align: center; color: #fff; }
.hz-stat__icon { font-size: 40px; color: var(--hz-accent); display: block; margin-bottom: 16px; }
.hz-stat h3 {
    font-family: var(--ltn__heading-font);
    font-size: 42px; font-weight: 700; color: #fff; margin: 0 0 6px;
}
.hz-stat p { font-size: 15px; color: rgba(255,255,255,.72); margin: 0; }

/* ============================================================
   AMENITIES
   ============================================================ */
.hz-amenities__grid { margin-top: 10px; }
.hz-amenity {
    display: flex; align-items: center; gap: 16px;
    background: #fff; border: 1px solid var(--hz-line);
    border-radius: var(--hz-radius); padding: 22px 24px;
    font-family: var(--ltn__heading-font);
    font-size: 16px; font-weight: 600; color: var(--hz-dark);
    transition: border-color .3s ease, box-shadow .3s ease;
}
.hz-amenity:hover { border-color: var(--hz-accent); box-shadow: var(--hz-shadow-sm); }
.hz-amenity span {
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255, 202, 58, .18); color: var(--hz-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 21px; flex-shrink: 0;
}

/* ============================================================
   AGENTS
   ============================================================ */
.hz-agents { background: var(--hz-bg-soft); }
.hz-agent {
    background: #fff; border-radius: var(--hz-radius); overflow: hidden;
    box-shadow: var(--hz-shadow-sm);
    transition: box-shadow .3s ease, transform .3s ease;
}
.hz-agent:hover { box-shadow: var(--hz-shadow-md); transform: translateY(-5px); }
.hz-agent__media { aspect-ratio: 1 / 1; overflow: hidden; }
.hz-agent__media img { width: 100%; height: 100%; object-fit: cover; }
.hz-agent__body { padding: 24px; text-align: center; }
.hz-agent__body h3 { font-size: 19px; font-weight: 700; margin: 0 0 5px; }
.hz-agent__body h3 a { color: var(--hz-dark); text-decoration: none; }
.hz-agent__body h3 a:hover { color: var(--hz-body); }
.hz-agent__body p { font-size: 14px; color: var(--hz-body); margin: 0 0 14px; }
.hz-agent__link {
    font-family: var(--ltn__heading-font);
    font-size: 13px; font-weight: 700; color: var(--hz-dark);
    text-decoration: none; letter-spacing: .04em;
}
.hz-agent__link:hover { color: var(--hz-dark); }

/* ============================================================
   CTA BAND
   ============================================================ */
.hz-cta { padding: 0 0 100px; }
.hz-cta__inner {
    background: var(--hz-accent); border-radius: var(--hz-radius);
    padding: 56px 60px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px; flex-wrap: wrap;
}
.hz-cta__inner h2 {
    font-family: var(--ltn__heading-font);
    font-size: 36px; font-weight: 700; color: var(--hz-on-accent); margin: 0 0 8px;
}
.hz-cta__inner p { color: rgba(23,27,42,.8); font-size: 16px; margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
    .hz-hero__title { font-size: 32px; }
    .hz-search__tab { padding: 12px 24px; }
    .hz-sechead__title { font-size: 38px; }
    .hz-search__form { grid-template-columns: repeat(2, 1fr); }
    .hz-search__submit { width: 100%; grid-column: 1 / -1; }
    .hz-typestrip__card { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
}

@media (max-width: 991px) {
    .hz-section { padding: 76px 0; }
    .hz-hero { padding: 140px 0 110px; }
    .hz-hero__title { font-size: 32px; }
    .hz-grid--3, .hz-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .hz-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 42px; }
    .hz-split__inner { grid-template-columns: 1fr; gap: 46px; }
    .hz-split__badge { right: 20px; bottom: 20px; }
    .hz-split__content h2 { font-size: 34px; }
    .hz-cta__inner { padding: 44px 38px; }
}

@media (max-width: 767px) {
    .hz-section { padding: 60px 0; }
    .hz-hero { padding: 110px 0 90px; }
    .hz-hero__title { font-size: 24px; }
    .hz-hero__lede { font-size: 15px; margin-bottom: 30px; }
    .hz-sechead { margin-bottom: 38px; }
    .hz-sechead__title { font-size: 29px; }
    .hz-search__form { grid-template-columns: 1fr; }
    .hz-search__tab { padding: 8px; font-size: 12px; }
    .hz-typestrip { margin-top: -30px; }
    .hz-typestrip__card { grid-template-columns: repeat(2, 1fr); padding: 26px 14px; }
    .hz-grid--3, .hz-grid--4 { grid-template-columns: 1fr; }
    .hz-stats__grid { grid-template-columns: 1fr; }
    .hz-split__badge { position: static; margin-top: 18px; }
    .hz-split__content h2 { font-size: 28px; }
    .hz-cta__inner { padding: 36px 26px; }
    .hz-cta__inner h2 { font-size: 27px; }
}
