/* ==========================================================================
   TEMPLATE HOMEZON — vendita, affitto, affitti brevi, studentati.
   Navy e arancio del marchio, ricerca con selettore dei servizi.
   ========================================================================== */
.t-homezon {
    --bg: #ffffff; --surface: #ffffff; --soft: #f1f4f9; --ink: #10233a; --muted: #586579; --line: #e0e6ef;
    --radius: 12px; --radius-lg: 20px;
    --font-head: "Sora", system-ui, sans-serif; --font-body: "Manrope", system-ui, sans-serif;
    --btn-bg: var(--c1); --btn-ink: var(--c2);
}
.t-homezon h1, .t-homezon h2, .t-homezon h3 { font-weight: 700; letter-spacing: -.02em; }
.t-homezon .hd { background: var(--c2); color: #fff; border: 0; }
.t-homezon .logo-txt { font-weight: 800; color: #fff; }
.t-homezon .logo-img { filter: none; }
.t-homezon .nav a { color: #e3e9f3; }
.t-homezon .nav a:hover { background: rgba(255,255,255,.08); }
.t-homezon .nav a[aria-current="page"] { color: var(--c1); }
.t-homezon .hd-cta { background: var(--c1); color: var(--c2); padding: 11px 18px; border-radius: var(--radius); font-weight: 800; }
.t-homezon .nav-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }

/* Hero con selettore di servizio */
.t-homezon .hero { background: var(--c2); color: #fff; position: relative; overflow: hidden; }
.t-homezon .hero.has-img { background: linear-gradient(90deg, color-mix(in srgb, var(--c2) 94%, transparent) 0%, color-mix(in srgb, var(--c2) 70%, transparent) 60%, color-mix(in srgb, var(--c2) 40%, transparent) 100%), var(--hero) center / cover; }
.t-homezon .hero-in { padding-block: clamp(56px, 9vw, 112px); }
.t-homezon .hero h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1.02; max-width: 15ch; margin-bottom: 18px; }
.t-homezon .hero-sub { font-size: 19px; max-width: 54ch; color: #cfd9e8; margin-bottom: 34px; }
.t-homezon .finder { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 10px 20px 22px; max-width: 1040px; box-shadow: 0 24px 60px rgba(4, 16, 32, .35); }
.t-homezon .finder-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 -8px 18px; overflow-x: auto; scrollbar-width: none; }
.t-homezon .finder-tabs button { background: none; border: 0; padding: 14px 16px 12px; font: 700 16px var(--font-head); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.t-homezon .finder-tabs button[aria-selected="true"] { color: var(--c2); border-bottom-color: var(--c1); }

.t-homezon .card-imm { border-radius: var(--radius-lg); }
.t-homezon .card-media { border-radius: var(--radius-lg); }
.t-homezon .card-title { font-size: 19px; }
.t-homezon .card-price { color: var(--c2); font-family: var(--font-head); }
.t-homezon .card-kind { color: var(--c1); font-weight: 700; }
.t-homezon .facts .ic { color: var(--c1); }
.t-homezon .sec-title { color: var(--c2); }
.t-homezon .more { color: var(--c2); }

.t-homezon .band-brevi { background: var(--c2); color: #e3e9f3; }
.t-homezon .band .sec-title, .t-homezon .band .more, .t-homezon .band .card-title, .t-homezon .band .card-price { color: #fff; }
.t-homezon .band .card-imm { background: transparent; }
.t-homezon .band .card-place { color: #b9c5d6; }
.t-homezon .owner { margin-top: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border-left: 4px solid var(--c1); }
.t-homezon .owner h3 { color: #fff; font-size: 26px; }
.t-homezon .owner p { margin: 0; }
.t-homezon .owner p:last-child { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

.t-homezon .stud { display: grid; grid-template-columns: .8fr 2fr; gap: 40px; align-items: start; }
.t-homezon .stud-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.t-homezon .avail { color: var(--c2); background: color-mix(in srgb, var(--c1) 22%, #fff); padding: 6px 12px; border-radius: 999px; font-size: 15px; }

.t-homezon .service { border-top: 3px solid var(--c1); padding-top: 18px; }
.t-homezon .service h3 { color: var(--c2); font-size: 20px; }
.t-homezon .page-head h1 { color: var(--c2); }
.t-homezon .imm-head h1, .t-homezon .imm-price { color: var(--c2); }
.t-homezon .contact-box { box-shadow: 0 10px 30px rgba(16, 35, 58, .08); }

.t-homezon .ft { background: var(--c2); color: #c9d4e3; }
.t-homezon .ft .logo-txt { color: #fff; }
.t-homezon .ft .logo-img { max-height: 44px; background: #fff; padding: 6px 10px; border-radius: 8px; }
.t-homezon .ft-slogan { margin-top: 12px !important; color: #fff; }
.t-homezon .ft h2 { color: var(--c1); }

@media (max-width: 1080px) {
    .t-homezon .nav { background: var(--c2); border-color: rgba(255,255,255,.12); }
    .t-homezon .nav a { border-color: rgba(255,255,255,.1); }
    .t-homezon .stud { grid-template-columns: 1fr; }
    .t-homezon .owner { grid-template-columns: 1fr; }
    .t-homezon .owner p:last-child { justify-content: flex-start; }
}
@media (max-width: 680px) {
    .t-homezon .stud-list { grid-template-columns: 1fr; }
    .t-homezon .finder { padding: 6px 14px 16px; }
}
