:root {
    --blu-profondo: #1a1a1a;
    --blu-mare: #1eb8d2;
    --azzurro-costa: #20c4d8;
    --avorio: #f7f7f7;
    --sabbia: #d8b23f;
    --testo: #4b4b4b;
    --grigio-pietra: #e5e5e5;
    --bianco-caldo: #ffffff;
    --verde-oliva: #7f8f76;
    --corallo-soft: #d8b23f;
    --titolo-immobile: #24322f;
    --titolo-immobile-soft: #314943;
    --titolo-immobile-accent: #b9942c;
    --font-immobile: "Source Serif 4", Georgia, "Times New Roman", serif;
    --shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--testo);
    background: var(--bianco-caldo);
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

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

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

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

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3 {
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    line-height: 1.12;
    color: var(--blu-profondo);
    letter-spacing: 0;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.sr-only,
.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.topbar {
    color: rgba(255, 255, 255, 0.86);
    background: var(--blu-profondo);
    font-size: 0.86rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 38px;
}

.language-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.language-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.language-current img,
.language-options img,
.language-switcher-mobile img {
    width: 32px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 60;
    display: none;
    min-width: 48px;
    padding: 0.45rem;
    border-radius: 6px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.language-dropdown:hover .language-options,
.language-dropdown:focus-within .language-options {
    display: grid;
    gap: 0.45rem;
}

.language-options a,
.language-switcher-mobile a {
    display: inline-flex;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.language-options a:hover,
.language-switcher-mobile a:hover {
    transform: scale(1.08);
}

.language-switcher-mobile {
    display: none;
}

.language-switcher-mobile a.is-active {
    opacity: 0.55;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 253, 248, 0.94);
    border-bottom: 1px solid rgba(216, 210, 200, 0.76);
    backdrop-filter: blur(14px);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 86px;
}

.brand img {
    width: 210px;
    height: 64px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.main-nav a {
    padding: 0.7rem 0.82rem;
    border-radius: var(--radius);
    color: var(--blu-profondo);
    font-size: 0.86rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #24526b;
    background: rgba(110, 168, 217, 0.14);
}

.main-nav .nav-cta {
    margin-left: 0.35rem;
    color: #fff;
    background: var(--blu-profondo);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta.is-active {
    color: #fff;
    background: var(--blu-mare);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--grigio-pietra);
    border-radius: var(--radius);
    background: #fff;
    color: var(--blu-profondo);
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: min(720px, 78vh);
    display: grid;
    align-items: end;
    color: #fff;
    overflow: hidden;
    background: var(--blu-profondo);
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    opacity: 0;
    transition: opacity 0.8s ease;
    background:
        linear-gradient(90deg, rgba(16, 35, 63, 0.82) 0%, rgba(16, 35, 63, 0.55) 42%, rgba(16, 35, 63, 0.2) 100%),
        var(--hero-image) center / cover no-repeat;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 6rem 0 5rem;
}

.hero-copy-slide {
    display: none;
}

.hero-copy-slide.is-active {
    display: block;
}

.hero-copy {
    max-width: 740px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.95rem;
    color: var(--blu-mare);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
    color: var(--sabbia);
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 1px;
    background: currentColor;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.8rem, 6.6vw, 5.4rem);
    max-width: 920px;
}

.hero p,
.hero-rich {
    max-width: 670px;
    margin-top: 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.04rem, 1.5vw, 1.24rem);
}

.hero-rich p,
.rich-copy p,
.service-card div p,
.guide-card div p,
.detail-copy div p,
.detail-excerpt p {
    margin: 0 0 0.7rem;
}

.hero-dots {
    position: absolute;
    z-index: 2;
    right: max(16px, calc((100vw - var(--container)) / 2));
    bottom: 28px;
    display: flex;
    gap: 8px;
}

.hero-dots button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    font-weight: 900;
}

.hero-dots button.is-active {
    color: var(--blu-profondo);
    background: var(--sabbia);
    border-color: var(--sabbia);
}

.home-legacy-hero .hero-dots {
    bottom: 9.2rem;
}

.hero-actions,
.closing-inner,
.property-footer,
.results-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero-actions {
    margin-top: 2rem;
}

.home-legacy-hero {
    min-height: min(760px, 84vh);
}

.home-legacy-hero .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 2rem;
    align-items: end;
    padding-bottom: 10.8rem;
}

.home-legacy-hero .hero-copy-slide {
    display: none;
}

.home-legacy-hero .hero-copy-slide.is-active {
    display: grid;
}

.hero-property-panel {
    display: grid;
    gap: 0.45rem;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    color: #fff;
    background: rgba(16, 35, 63, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.hero-property-panel span,
.hero-property-panel small {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-property-panel strong {
    color: #fff;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    font-size: 1.35rem;
    line-height: 1.2;
}

.hero-property-panel em {
    color: var(--sabbia);
    font-style: normal;
    font-weight: 900;
}

.hero-search-panel {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
}

.home-search-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr auto;
    gap: 0.8rem;
    align-items: end;
    padding: 1rem;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 20px 54px rgba(16, 35, 63, 0.22);
}

.home-search-card label {
    display: grid;
    gap: 0.35rem;
}

.home-search-card span {
    color: rgba(16, 35, 63, 0.74);
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-search-card input,
.home-search-card select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(16, 35, 63, 0.14);
    border-radius: var(--radius);
    padding: 0 0.9rem;
    color: var(--testo);
    background: var(--bianco-caldo);
}

.home-search-card button {
    white-space: nowrap;
}

.button,
.text-link {
    font-weight: 900;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.82rem 1.2rem;
    border: 1px solid var(--blu-profondo);
    border-radius: var(--radius);
    color: #fff;
    background: var(--blu-profondo);
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
    background: var(--blu-mare);
    border-color: var(--blu-mare);
}

.button-light {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

.button-outline {
    color: var(--blu-profondo);
    background: #fff;
    border-color: rgba(16, 35, 63, 0.16);
    box-shadow: none;
}

.button-outline:hover {
    color: #fff;
    background: var(--blu-profondo);
    border-color: var(--blu-profondo);
}

.text-link {
    color: var(--blu-mare);
}

.trust-band {
    background: var(--blu-profondo);
    color: rgba(255, 255, 255, 0.82);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.trust-grid article {
    padding: 1.6rem;
    background: var(--blu-profondo);
}

.trust-grid span {
    color: var(--sabbia);
    font-weight: 900;
    letter-spacing: 0.12em;
}

.trust-grid h2 {
    margin-top: 0.45rem;
    margin-bottom: 0.4rem;
    color: #fff;
    font-size: 1.35rem;
}

.home-info-strip {
    padding: 2.2rem 0 0;
    background: var(--bianco-caldo);
}

.home-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(16, 35, 63, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(16, 35, 63, 0.09);
    box-shadow: var(--shadow-soft);
}

.home-info-card {
    min-height: 210px;
    padding: 1.5rem;
    background: #fff;
}

.home-info-card span {
    color: var(--blu-mare);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.home-info-card h2 {
    margin: 0.55rem 0 0.55rem;
    font-size: 1.28rem;
}

.home-info-card p {
    color: rgba(16, 35, 63, 0.72);
}

.section {
    padding: 5rem 0;
}

.section-ivory {
    background: var(--avorio);
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 3rem;
    align-items: start;
}

.split-layout h2,
.section-head h2,
.page-hero h1,
.closing-inner h2 {
    font-size: clamp(1.9rem, 3.4vw, 3.15rem);
}

.split-layout p,
.rich-copy,
.section-head p,
.page-hero p,
.closing-inner p {
    color: rgba(16, 35, 63, 0.78);
    font-size: 1.06rem;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.7rem;
}

.section-head .eyebrow,
.section-head p {
    grid-column: 1 / -1;
}

.service-grid,
.property-grid,
.territory-grid,
.guide-grid,
.method-grid,
.service-page-grid,
.home-service-grid {
    display: grid;
    gap: 1.25rem;
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.guide-card,
.service-page-card,
.filter-panel,
.contact-panel,
.contact-form,
.facts-panel,
.detail-contact-box,
.detail-copy,
.legal-content {
    border: 1px solid rgba(216, 210, 200, 0.9);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.service-card,
.guide-card,
.service-page-card {
    padding: 1.35rem;
}

.service-card h3,
.guide-card h3,
.guide-card h2,
.service-page-card h2 {
    margin-bottom: 0.75rem;
    font-size: 1.45rem;
}

.service-card p,
.guide-card p,
.service-page-card p,
.property-body p,
.detail-copy p,
.about-copy p {
    color: rgba(16, 35, 63, 0.72);
}

.service-card a {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--blu-mare);
    font-weight: 900;
}

.home-service-section {
    background: var(--bianco-caldo);
}

.home-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2rem;
}

.home-service-card {
    min-height: 230px;
    padding: 1.35rem;
    border: 1px solid rgba(16, 35, 63, 0.09);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.home-service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.home-service-card p {
    color: rgba(16, 35, 63, 0.72);
}

.home-service-card a {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--blu-mare);
    font-weight: 900;
}

.home-feature-band {
    padding: 5rem 0;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(16, 35, 63, 0.94), rgba(44, 95, 122, 0.9)),
        url("../media/imported/apuliare/slides/revslider/bg_slide_2.jpg") center / cover no-repeat;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 3rem;
    align-items: center;
}

.home-feature-copy {
    max-width: 780px;
}

.home-feature-band h2,
.home-feature-band h3 {
    color: #fff;
}

.home-feature-band .eyebrow {
    color: var(--sabbia);
}

.home-feature-band p {
    color: rgba(255, 255, 255, 0.84);
}

.home-feature-band .button-outline {
    margin-top: 1.35rem;
    color: var(--blu-profondo);
    background: #fff;
    border-color: #fff;
}

.home-feature-band .button-outline:hover {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
}

.home-feature-logo {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.home-feature-logo img {
    max-height: 170px;
    object-fit: contain;
}

.apulia-legacy-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
    background: #dedede;
}

.legacy-slider-slides,
.legacy-slider-slide {
    position: absolute;
    inset: 0;
}

.legacy-slider-slide {
    opacity: 0;
    background: var(--hero-image) center / cover no-repeat;
    transform: scale(1);
    transition: opacity 1s ease;
}

.legacy-slider-slide.is-active {
    opacity: 1;
    animation: legacyKenBurns 10s linear forwards;
}

@keyframes legacyKenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.3);
    }
}

.legacy-slider-arrows {
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
}

.legacy-slider-arrows button {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    color: transparent;
    background: rgba(0, 0, 0, 0.48);
    cursor: pointer;
    pointer-events: auto;
}

.legacy-slider-arrows button::before {
    content: "";
    display: block;
    width: 11px;
    height: 11px;
    margin: 14px auto;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

.legacy-slider-arrows button:first-child {
    left: 24px;
}

.legacy-slider-arrows button:first-child::before {
    transform: rotate(-45deg);
}

.legacy-slider-arrows button:last-child {
    right: 24px;
}

.legacy-slider-arrows button:last-child::before {
    transform: rotate(135deg);
}

.legacy-slider-arrows button:not(:first-child):not(:last-child) {
    display: none;
}

.legacy-search-wrap {
    position: relative;
    z-index: 3;
    margin-top: -22px;
}

.legacy-search-form {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(130px, 0.8fr) minmax(140px, 1fr) minmax(140px, 1fr) auto;
    width: min(980px, 100%);
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.legacy-search-form input,
.legacy-search-form select,
.legacy-search-form button {
    min-height: 44px;
    border: 0;
    border-right: 1px solid #eeeeee;
    padding: 0 1rem;
    color: #777;
    background: #fff;
    font-size: 0.88rem;
}

.legacy-search-form button {
    min-width: 112px;
    color: #fff;
    background: var(--blu-mare);
    border-right: 0;
    cursor: pointer;
    font-weight: 700;
}

.legacy-invest-section {
    padding: 4.2rem 0 1.7rem;
    text-align: center;
    background: #fff;
}

.legacy-invest-section h1 {
    color: var(--blu-mare);
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 500;
    line-height: 1.28;
    text-transform: uppercase;
}

.legacy-small-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    margin-top: 1.25rem;
    padding: 0 1.25rem;
    border: 1px solid var(--blu-mare);
    border-radius: 2px;
    color: #fff;
    background: var(--blu-mare);
    font-size: 0.8rem;
    font-weight: 800;
}

.legacy-services-section {
    padding: 2rem 0 3.5rem;
    background: #fff;
}

.legacy-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.8rem 3rem;
    align-items: start;
}

.legacy-service-box {
    min-height: 235px;
    text-align: center;
}

.legacy-service-box img {
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    object-fit: contain;
}

.legacy-service-box h2 {
    max-width: 330px;
    margin: 0 auto 0.9rem;
    color: var(--blu-mare);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
}

.legacy-service-box p {
    max-width: 330px;
    margin: 0 auto;
    color: #777;
    font-size: 0.88rem;
    line-height: 1.75;
}

.legacy-service-box.is-featured {
    min-height: 285px;
    padding: 1.6rem 1.4rem;
    border: 4px solid var(--blu-mare);
}

.legacy-service-box.is-featured h2 {
    color: var(--blu-mare);
}

.legacy-service-box.is-featured p {
    color: var(--sabbia);
    font-weight: 700;
}

.legacy-properties-section {
    padding: 1.5rem 0 5rem;
    background: #fff;
}

.legacy-section-title {
    margin-bottom: 2rem;
    text-align: center;
}

.legacy-section-title span {
    color: var(--blu-mare);
    font-size: 0.95rem;
}

.legacy-section-title h2 {
    color: var(--blu-mare);
    font-size: clamp(1.9rem, 2.8vw, 2.55rem);
    font-weight: 500;
}

.legacy-section-title p {
    color: #8a8a8a;
}

.legacy-cta-section {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-top: 2rem;
    color: #fff;
    text-align: center;
    background: var(--blu-mare);
    clip-path: polygon(0 11%, 100% 0, 100% 89%, 0 100%);
}

.legacy-cta-background {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(30, 184, 210, 0.08), rgba(30, 184, 210, 0.38)),
        url("../../media/imported/apuliare/home/1-Santa-Cesarea-studio-mod.jpg") center / cover no-repeat;
}

.legacy-cta-content {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
}

.legacy-cta-content p {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.25;
    text-transform: uppercase;
}

.legacy-cta-content h2 {
    max-width: 1060px;
    margin: 1rem auto 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.7;
}

.legacy-light-button {
    color: #5f5f5f;
    background: #fff;
    border-color: #fff;
}

.territory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.territory-card {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--blu-profondo);
    box-shadow: var(--shadow-soft);
}

.territory-card img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    opacity: 0.76;
    transition: transform 0.35s ease;
}

.territory-card:hover img {
    transform: scale(1.04);
}

.territory-card div {
    position: absolute;
    inset: auto 0 0;
    padding: 1.25rem;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(16, 35, 63, 0.88));
}

.territory-card h3 {
    margin-bottom: 0.35rem;
    color: #fff;
    font-size: 1.55rem;
}

.method-section {
    color: #fff;
    background: var(--blu-mare);
}

.method-section h2,
.method-section h3 {
    color: #fff;
}

.method-section .eyebrow,
.method-section p {
    color: rgba(255, 255, 255, 0.82);
}

.method-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.method-grid article {
    padding-top: 1.4rem;
    border-top: 1px solid rgba(217, 194, 154, 0.82);
}

.method-grid h3 {
    margin-bottom: 0.45rem;
    font-size: 1.4rem;
}

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

.property-card {
    overflow: hidden;
    border: 1px solid rgba(216, 210, 200, 0.86);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.property-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--grigio-pietra);
}

.property-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.property-card:hover .property-media img {
    transform: scale(1.04);
}

.property-media span {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(22, 58, 112, 0.92);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-body {
    display: flex;
    min-height: 286px;
    flex-direction: column;
    padding: 1.1rem;
}

.property-kicker {
    margin-bottom: 0.45rem;
    color: var(--blu-mare);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.property-body h3 {
    margin-bottom: 0.65rem;
    font-family: var(--font-immobile);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.12;
    color: var(--titolo-immobile);
    font-variant-numeric: lining-nums;
}

.property-body h3 a {
    display: inline;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    text-decoration: none;
    transition: color 0.22s ease, background-size 0.22s ease;
}

.property-card:hover .property-body h3 a,
.property-body h3 a:focus-visible {
    color: var(--titolo-immobile-soft);
    background-size: 100% 1px;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1rem;
}

.property-meta:empty {
    display: none;
}

.property-meta span,
.highlight-list span,
.value-grid span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.32rem 0.62rem;
    border: 1px solid rgba(216, 210, 200, 0.9);
    border-radius: 999px;
    background: var(--avorio);
    color: var(--blu-profondo);
    font-size: 0.84rem;
    font-weight: 700;
}

.property-feature-icons {
    display: grid;
    gap: 0.65rem;
}

.property-feature-icons-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.property-feature-icons-detail {
    grid-template-columns: repeat(5, minmax(110px, 1fr));
}

.property-feature-icon {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    border: 1px solid rgba(216, 210, 200, 0.9);
    border-radius: 8px;
    background: #fff;
    color: var(--blu-profondo);
}

.property-feature-icons-compact .property-feature-icon {
    min-height: 48px;
    padding: 0.45rem 0.55rem;
}

.property-feature-icons-detail .property-feature-icon {
    min-height: 88px;
    flex-direction: column;
    justify-content: center;
    padding: 0.9rem 0.65rem;
    text-align: center;
}

.property-feature-symbol {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    color: var(--corallo-soft);
}

.property-feature-symbol svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.property-feature-copy {
    display: grid;
    min-width: 0;
    gap: 0.1rem;
}

.property-feature-label {
    color: rgba(16, 35, 63, 0.58);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.property-feature-icon strong {
    overflow-wrap: anywhere;
    font-size: 0.94rem;
    line-height: 1.15;
}

.property-footer {
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.property-footer strong,
.detail-price {
    color: var(--blu-profondo);
    font-size: 1.12rem;
    font-weight: 900;
}

.property-footer a {
    color: var(--blu-mare);
    font-weight: 900;
}

.reason-list {
    display: grid;
    gap: 1rem;
}

.about-band {
    color: #fff;
    background: linear-gradient(135deg, var(--blu-profondo), var(--blu-mare));
}

.about-grid,
.about-page-grid,
.contact-layout,
.listing-layout,
.detail-layout,
.property-detail-grid {
    display: grid;
    gap: 2rem;
}

.about-grid {
    grid-template-columns: 360px minmax(0, 1fr);
    align-items: center;
}

.about-band h2,
.about-band p {
    color: #fff;
}

.about-band .eyebrow {
    color: #f2d08d;
}

.about-band .eyebrow::before {
    background: currentColor;
}

.about-band .button-outline {
    color: var(--blu-profondo);
    background: #fff;
    border-color: #fff;
}

.about-band .button-outline:hover {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.86);
}

.about-mark {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
}

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

.guide-card span {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--corallo-soft);
    font-weight: 900;
}

.closing-cta {
    padding: 4rem 0;
    color: #fff;
    background: var(--blu-profondo);
}

.closing-inner {
    justify-content: space-between;
}

.closing-inner h2,
.closing-inner p {
    color: #fff;
}

.closing-inner p,
.closing-inner div {
    max-width: 460px;
    color: rgba(255, 255, 255, 0.78);
}

.page-hero {
    padding: 5rem 0 4rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(16, 35, 63, 0.96), rgba(44, 95, 122, 0.9)),
        var(--blu-profondo);
}

.page-hero h1 {
    max-width: 820px;
    color: #fff;
}

.page-hero p {
    max-width: 720px;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.78);
}

.listing-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
}

.filter-panel {
    position: sticky;
    top: 112px;
    padding: 1.2rem;
}

.filter-panel form,
.contact-form {
    display: grid;
    gap: 0.9rem;
}

label {
    display: grid;
    gap: 0.35rem;
    color: var(--blu-profondo);
    font-size: 0.84rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.78rem 0.9rem;
    border: 1px solid var(--grigio-pietra);
    border-radius: var(--radius);
    color: var(--testo);
    background: #fff;
    text-transform: none;
    letter-spacing: 0;
}

textarea {
    min-height: 160px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--azzurro-costa);
    box-shadow: 0 0 0 4px rgba(110, 168, 217, 0.18);
}

.demo-note,
.form-microcopy,
.legal-soft {
    color: rgba(16, 35, 63, 0.62);
    font-size: 0.92rem;
}

.results-head {
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.results-head h2 {
    font-size: 1.8rem;
}

.listing-empty {
    padding: 2rem;
    border: 1px solid rgba(216, 210, 200, 0.9);
    border-radius: var(--radius);
    background: #fff;
    color: var(--grigio-testo);
}

.listing-empty h3 {
    margin: 0 0 0.4rem;
    color: var(--blu-profondo);
    font-size: 1.15rem;
}

.listing-empty p {
    margin: 0;
}

.property-detail-hero {
    padding: 4.5rem 0 3rem;
    background: var(--avorio);
}

.property-photo-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(16, 35, 63, 0.12) 0%, rgba(16, 35, 63, 0.88) 100%),
        var(--property-hero-image) center / cover no-repeat;
}

.property-photo-hero-inner {
    padding: 6rem 0 3.4rem;
}

.property-photo-hero h1 {
    max-width: 980px;
    color: #fff;
    font-family: var(--font-immobile);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 600;
    line-height: 1.02;
    font-variant-numeric: lining-nums;
    text-wrap: balance;
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.property-photo-hero .eyebrow {
    color: #f2d08d;
}

.property-breadcrumb {
    display: inline-flex;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.property-search-band {
    margin-top: -34px;
    position: relative;
    z-index: 2;
}

.property-search-band .legacy-search-form {
    box-shadow: 0 18px 44px rgba(16, 35, 63, 0.16);
}

.legacy-search-form-compact {
    grid-template-columns: minmax(200px, 1.4fr) minmax(130px, 0.8fr) minmax(140px, 1fr) minmax(140px, 1fr) auto;
}

.property-detail-section {
    padding-top: 3rem;
}

.property-title-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-end;
    margin-bottom: 1.4rem;
}

.property-title-row h2 {
    margin: 0.25rem 0 0.35rem;
    max-width: 860px;
    font-family: var(--font-immobile);
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 600;
    line-height: 1.08;
    color: var(--titolo-immobile);
    font-variant-numeric: lining-nums;
    text-wrap: balance;
}

.property-title-row p {
    margin: 0;
    color: rgba(16, 35, 63, 0.68);
}

.property-code {
    color: var(--titolo-immobile-accent);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.property-title-actions {
    display: grid;
    gap: 0.3rem;
    justify-items: end;
}

.property-title-actions span {
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    color: #fff;
    background: var(--blu-mare);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.property-title-actions strong {
    color: var(--blu-profondo);
    font-size: 1.35rem;
}

.property-detail-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: end;
}

.property-detail-hero h1 {
    max-width: 820px;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.property-detail-hero p {
    max-width: 720px;
    margin-top: 1rem;
    color: rgba(16, 35, 63, 0.72);
}

.detail-contact-box {
    padding: 1.2rem;
}

.detail-contact-box span {
    color: var(--corallo-soft);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.property-detail-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
}

.detail-layout > *,
.property-detail-layout > * {
    min-width: 0;
}

.detail-gallery {
    min-width: 0;
    overflow: hidden;
}

.detail-gallery-main {
    width: 100%;
    max-height: 650px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.detail-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scrollbar-width: thin;
}

.detail-thumbs button {
    flex: 0 0 112px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}

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

.detail-copy,
.facts-panel,
.property-summary-panel,
.property-content-panel,
.property-sidebar-panel {
    margin-top: 1.2rem;
    padding: 1.3rem;
}

.property-summary-panel,
.property-content-panel,
.property-sidebar-panel {
    border: 1px solid rgba(216, 210, 200, 0.9);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.detail-copy h2,
.facts-panel h2 {
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
}

.highlight-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.facts-panel {
    position: sticky;
    top: 112px;
}

.facts-panel dl {
    display: grid;
    gap: 0.75rem;
    margin: 0;
}

.facts-panel div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(216, 210, 200, 0.72);
    padding-bottom: 0.55rem;
}

.facts-panel dt {
    color: rgba(16, 35, 63, 0.58);
    font-weight: 900;
    min-width: 0;
    overflow-wrap: anywhere;
}

.facts-panel dd {
    margin: 0;
    text-align: right;
    font-weight: 700;
    min-width: 0;
    overflow-wrap: anywhere;
}

.property-additional-details dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
}

.property-additional-details div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(216, 210, 200, 0.72);
}

.property-additional-details dt {
    color: rgba(16, 35, 63, 0.58);
    font-weight: 900;
    min-width: 0;
    overflow-wrap: anywhere;
}

.property-additional-details dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
    min-width: 0;
    overflow-wrap: anywhere;
}

.property-feature-list span::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: var(--corallo-soft);
}

.property-map-frame {
    overflow: hidden;
    border-radius: 8px;
    background: var(--grigio-pietra);
}

.property-map-consent {
    min-height: 320px;
    display: grid;
    place-items: center;
    padding: 1.4rem;
    background:
        linear-gradient(135deg, rgba(16, 35, 63, 0.9), rgba(30, 132, 152, 0.78)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 18px);
    color: #fff;
    text-align: center;
}

.property-map-consent-copy {
    max-width: 440px;
}

.property-map-consent-copy strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #fff;
    font-size: 1.2rem;
}

.property-map-consent-copy p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.84);
}

.property-map-frame iframe {
    display: block;
    width: 100%;
    min-height: 320px;
    border: 0;
}

.property-map-note {
    margin: 0.85rem 0 0;
    color: rgba(16, 35, 63, 0.68);
    font-size: 0.92rem;
}

.property-sidebar {
    position: sticky;
    top: 112px;
}

.property-sidebar .detail-contact-box,
.property-sidebar .facts-panel {
    margin-top: 0;
}

.property-sidebar .detail-contact-box h2,
.property-sidebar-panel h2 {
    margin-bottom: 0.7rem;
    font-size: 1.35rem;
}

.property-side-related {
    display: grid;
    gap: 0.85rem;
}

.property-side-related a {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    color: var(--blu-profondo);
}

.property-side-related img {
    width: 84px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.property-side-related span,
.property-side-related strong {
    grid-column: 2;
}

.property-side-related span {
    font-weight: 900;
    line-height: 1.2;
}

.property-side-related strong {
    color: var(--corallo-soft);
    font-size: 0.9rem;
}

.service-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.territory-page-list {
    display: grid;
    gap: 1.5rem;
}

.territory-feature {
    display: grid;
    grid-template-columns: 44% minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}

.territory-feature img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.territory-feature h2 {
    margin-bottom: 0.8rem;
    font-size: 2.4rem;
}

.about-page-grid {
    grid-template-columns: 390px minmax(0, 1fr);
    align-items: center;
}

.portrait-placeholder {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--avorio);
    box-shadow: var(--shadow-soft);
}

.about-copy {
    display: grid;
    gap: 1rem;
}

.value-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.contact-layout {
    grid-template-columns: 360px minmax(0, 1fr);
}

.contact-panel,
.contact-form,
.legal-content {
    padding: 1.4rem;
}

.contact-panel {
    display: grid;
    align-content: start;
    gap: 0.7rem;
}

.contact-panel h2 {
    margin-bottom: 0.4rem;
    font-size: 1.8rem;
}

.contact-panel a {
    color: var(--blu-mare);
    font-weight: 900;
}

.field-wide {
    grid-column: 1 / -1;
}

.privacy-summary {
    display: grid;
    gap: 0.55rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(16, 35, 63, 0.12);
    border-radius: var(--radius);
    background: rgba(248, 246, 241, 0.82);
}

.privacy-summary p {
    margin: 0;
    color: rgba(16, 35, 63, 0.72);
    font-size: 0.92rem;
    line-height: 1.55;
}

.privacy-summary a {
    color: var(--blu-mare);
    font-weight: 900;
}

.privacy-consent-check {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    color: var(--blu-profondo);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.42;
    letter-spacing: 0;
    text-transform: none;
}

.privacy-consent-check input {
    width: 18px;
    min-height: auto;
    height: 18px;
    margin-top: 0.1rem;
    accent-color: var(--blu-mare);
}

.notice {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-weight: 700;
}

.notice-success {
    color: #235c43;
    background: rgba(98, 116, 95, 0.14);
}

.notice-error {
    color: #8b302a;
    background: rgba(189, 116, 97, 0.14);
}

.site-footer {
    color: rgba(255, 255, 255, 0.9);
    background: var(--blu-mare);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.footer-logo {
    width: 230px;
    max-width: 100%;
    margin-bottom: 1rem;
    padding: 0.45rem;
    border-radius: var(--radius);
    background: #fff;
}

.footer-agency {
    display: grid;
    gap: 0.25rem;
    margin-top: 0.9rem;
    font-size: 0.86rem;
    line-height: 1.45;
}

.footer-agency strong {
    color: #fff;
}

.footer-agency span {
    display: block;
    margin: 0;
}

.site-footer h2 {
    margin-bottom: 0.8rem;
    color: #fff;
    font-size: 1.25rem;
}

.site-footer a,
.site-footer span {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.82);
}

.footer-bottom {
    padding: 1rem 0 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom small {
    color: rgba(255, 255, 255, 0.62);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.footer-links {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
}

.footer-links::before {
    content: "·";
}

.footer-links a {
    display: inline;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.footer-links a + a::before {
    content: "·";
    margin-right: 0.45rem;
    color: rgba(255, 255, 255, 0.62);
}

.legal-content {
    display: grid;
    gap: 1rem;
}

.legal-content h2 {
    margin-top: 0.8rem;
}

.legal-content ul {
    margin: 0;
    padding-left: 1.2rem;
}

.legal-table-wrap {
    overflow-x: auto;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
    padding: 0.85rem;
    border: 1px solid rgba(16, 35, 63, 0.12);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    color: var(--blu-profondo);
    background: var(--avorio);
}

@media (max-width: 1080px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 1rem 1rem;
        border-top: 1px solid var(--grigio-pietra);
        background: var(--bianco-caldo);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a,
    .main-nav .nav-cta {
        margin: 0;
        border-radius: 0;
    }

    .main-nav .language-switcher-mobile {
        display: flex;
        justify-content: center;
        gap: 12px;
        padding: 1rem 0 0.35rem;
    }

    .menu-toggle {
        display: inline-block;
    }

    .service-grid,
    .territory-grid,
    .method-grid,
    .property-grid,
    .guide-grid,
    .home-info-grid,
    .home-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-legacy-hero .hero-inner,
    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-property-panel {
        max-width: 420px;
    }

    .home-search-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legacy-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legacy-search-form {
        grid-template-columns: 1fr 1fr;
    }

    .legacy-search-form button {
        grid-column: 1 / -1;
    }

    .listing-layout,
    .detail-layout,
    .property-detail-grid,
    .contact-layout,
    .about-page-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .filter-panel,
    .facts-panel,
    .property-sidebar {
        position: static;
    }

    .legacy-search-form-compact,
    .property-title-row {
        grid-template-columns: 1fr;
    }

    .property-title-row {
        display: grid;
        align-items: start;
    }

    .property-title-actions {
        justify-items: start;
    }

    .property-feature-icons-detail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .topbar {
        display: none;
    }

    .footer-legal,
    .footer-links {
        justify-content: center;
    }

    .header-main {
        min-height: 72px;
    }

    .brand img {
        width: 168px;
        height: 52px;
    }

    .hero {
        min-height: 620px;
    }

    .home-legacy-hero {
        min-height: auto;
        display: block;
    }

    .hero-slide {
        background:
            linear-gradient(180deg, rgba(16, 35, 63, 0.25) 0%, rgba(16, 35, 63, 0.92) 72%),
            var(--hero-image) center / cover no-repeat;
    }

    .hero-inner {
        padding: 4.5rem 0 3rem;
    }

    .home-legacy-hero .hero-inner {
        min-height: 620px;
        padding-bottom: 6rem;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.7rem);
    }

    .section {
        padding: 3.4rem 0;
    }

    .trust-grid,
    .split-layout,
    .service-grid,
    .territory-grid,
    .method-grid,
    .property-grid,
    .guide-grid,
    .about-grid,
    .service-page-grid,
    .territory-feature,
    .home-info-grid,
    .home-service-grid,
    .home-search-card {
        grid-template-columns: 1fr;
    }

    .hero-property-panel {
        display: none;
    }

    .hero-search-panel {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        z-index: 5;
        margin: -4.3rem auto 0;
    }

    .home-search-card {
        padding: 0.9rem;
    }

    .home-info-strip {
        padding-top: 1.6rem;
    }

    .home-info-card {
        min-height: auto;
    }

    .section-head {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .closing-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .territory-card,
    .territory-card img {
        min-height: 270px;
    }

    .property-body {
        min-height: auto;
    }

    .hero-dots {
        right: 16px;
        bottom: 14px;
    }

    .home-legacy-hero .hero-dots {
        bottom: 1.2rem;
    }

    .home-feature-band {
        padding: 3.4rem 0;
    }

    .home-feature-logo {
        min-height: 190px;
    }

    .apulia-legacy-slider {
        height: 360px;
    }

    .legacy-slider-arrows button {
        width: 34px;
        height: 34px;
    }

    .legacy-slider-arrows button:first-child {
        left: 12px;
    }

    .legacy-slider-arrows button:last-child {
        right: 12px;
    }

    .legacy-search-wrap {
        margin-top: 0;
        padding: 1rem 0 0;
        background: #fff;
    }

    .legacy-search-form,
    .legacy-services-grid {
        grid-template-columns: 1fr;
    }

    .legacy-search-form {
        box-shadow: var(--shadow-soft);
    }

    .legacy-search-form input,
    .legacy-search-form select,
    .legacy-search-form button {
        border-right: 0;
        border-bottom: 1px solid #eeeeee;
    }

    .legacy-invest-section {
        padding: 3rem 0 1rem;
    }

    .legacy-services-section {
        padding-bottom: 2.8rem;
    }

    .legacy-services-grid {
        gap: 1.8rem;
    }

    .legacy-service-box {
        min-height: auto;
    }

    .legacy-service-box.is-featured {
        min-height: auto;
    }

    .legacy-cta-section {
        min-height: 430px;
        clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    }

    .legacy-cta-content p {
        font-size: 1.65rem;
    }

    .legacy-cta-content h2 {
        font-size: 0.95rem;
    }

    .property-photo-hero {
        min-height: 360px;
    }

    .property-search-band {
        margin-top: 0;
        background: #fff;
    }

    .property-search-band .container {
        width: 100%;
    }

    .legacy-search-form-compact {
        border-radius: 0;
        box-shadow: none;
    }

    .property-feature-icons-compact {
        grid-template-columns: 1fr;
    }

    .property-feature-icons-detail,
    .property-additional-details dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .property-feature-icons-detail .property-feature-icon {
        min-height: 78px;
    }
}
