/* ==========================================================================
   TEMPLATE HOMEZON — vendita, affitto, affitti brevi, studentati.
   Navy e arancio del marchio, ricerca con selettore dei servizi.
   ========================================================================== */
.t-homezon {
    --bg: #ffffff; --surface: #ffffff; --soft: color-mix(in srgb, var(--c2) 5%, #fff); --ink: #10233a; --muted: #586579; --line: color-mix(in srgb, var(--c2) 12%, #fff);
    --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-on-c1);
}
.t-homezon h1, .t-homezon h2, .t-homezon h3 { font-weight: 700; letter-spacing: -.02em; }
.t-homezon .hd { background: var(--c2); color: var(--c2-ink); border: 0; }
.t-homezon .logo-txt { font-weight: 800; color: var(--c2-ink); }
.t-homezon .logo-img { filter: none; }
.t-homezon .nav a { color: color-mix(in srgb, var(--c2-ink) 88%, var(--c2)); }
.t-homezon .nav a:hover { background: color-mix(in srgb, var(--c2-ink) 10%, var(--c2)); }
.t-homezon .nav a[aria-current="page"] { color: var(--c1-on-c2); }
.t-homezon .hd-cta { background: var(--c1); color: var(--c2-on-c1); padding: 11px 18px; border-radius: var(--radius); font-weight: 800; }
.t-homezon .nav-btn { background: transparent; color: var(--c2-ink); border-color: color-mix(in srgb, var(--c2-ink) 30%, var(--c2)); }

/* Hero con selettore di servizio */
.t-homezon .hero { background: var(--c2); color: var(--c2-ink); position: relative; overflow: hidden; }
.t-homezon .hero.has-img::after { content: ""; position: absolute; inset: 0; z-index: 0; 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%); }
.t-homezon .hero-in { position: relative; z-index: 1; }
.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: color-mix(in srgb, var(--c2-ink) 80%, var(--c2)); 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-text, 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-text, var(--c2)); font-family: var(--font-head); }
.t-homezon .card-kind { color: var(--c1-text, var(--c1)); font-weight: 700; }
.t-homezon .facts .ic { color: var(--c1-text, var(--c1)); }
.t-homezon .sec-title { color: var(--c2-text, var(--c2)); }
.t-homezon .more { color: var(--c2-text, var(--c2)); }

.t-homezon .band-brevi { background: var(--c2); color: color-mix(in srgb, var(--c2-ink) 88%, var(--c2)); }
.t-homezon .band .sec-title, .t-homezon .band .more, .t-homezon .band .card-title, .t-homezon .band .card-price { color: var(--c2-ink); }
.t-homezon .band .card-imm { background: transparent; }
.t-homezon .band .card-place { color: color-mix(in srgb, var(--c2-ink) 70%, var(--c2)); }
.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: color-mix(in srgb, var(--c2-ink) 7%, var(--c2)); border-left: 4px solid var(--c1); }
.t-homezon .owner h3 { color: var(--c2-ink); 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-text, 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-text, var(--c2)); font-size: 20px; }
.t-homezon .page-head h1 { color: var(--c2-text, var(--c2)); }
.t-homezon .imm-head h1, .t-homezon .imm-price { color: var(--c2-text, var(--c2)); }
.t-homezon .contact-box { box-shadow: 0 10px 30px rgba(16, 35, 58, .08); }

.t-homezon .ft { background: var(--c2); color: color-mix(in srgb, var(--c2-ink) 80%, var(--c2)); }
.t-homezon .ft .logo-txt { color: var(--c2-ink); }

.t-homezon .ft-slogan { margin-top: 12px !important; color: var(--c2-ink); }
.t-homezon .ft h2 { color: var(--c1-on-c2); }

@media (max-width: 1080px) {
    .t-homezon .nav { background: var(--c2); border-color: color-mix(in srgb, var(--c2-ink) 14%, var(--c2)); }
}
.t-homezon .hd.compact .nav { background: var(--c2); border-color: color-mix(in srgb, var(--c2-ink) 14%, var(--c2)); }
.t-homezon .hd.compact .nav a { border-color: color-mix(in srgb, var(--c2-ink) 12%, var(--c2)); }
@media (max-width: 1080px) {
    .t-homezon .nav a { border-color: color-mix(in srgb, var(--c2-ink) 12%, var(--c2)); }
    .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; }
}

.t-homezon .hd.duerighe .nav { border-top-color: color-mix(in srgb, var(--c2-ink) 14%, var(--c2)); }
