:root {
  --navy: #245b77;
  --navy-2: #4f8daa;
  --blue-light: #edf5f9;
  --sand: #f5e8d2;
  --cream: #f7f2e8;
  --coastal-wash: linear-gradient(90deg, #deedf5 0%, #e7eff0 35%, #f1eddf 70%, var(--sand) 100%);
  --ink: #263f4d;
  --muted: #536b79;
  --line: #dce8ee;
  --terracotta: #c56942;
  --terracotta-dark: #ad4e2a;
  --shadow: 0 12px 34px #245b7712;
  --body-font: "Nunito Sans", "Avenir Next", "Segoe UI", sans-serif;
}
body { line-height: 1.65; background: var(--coastal-wash); }
header, .home-featured header { background: var(--coastal-wash); }
/* The same horizontal wash joins the masthead, photograph and page sections. */
.home-featured #immobili { background: linear-gradient(180deg, transparent, #f5ebda80 45%, transparent); }
.reviews, .portals { background: transparent; }
.btn { min-height: 48px; padding: 11px 20px; border-radius: 999px; font-size: 1rem; font-weight: 700; line-height: 1.4; text-align: center; box-shadow: none; }
.nav-links .nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; line-height: 1.4; border-radius: 999px; }
.service .btn, .footer-grid .footer-contact-button, .hero-actions .btn, .home-opening .hero-actions .btn { min-height: 48px; padding: 11px 18px; font-size: .9375rem; line-height: 1.4; }
.btn-primary, .nav-links .nav-cta, .home-featured .nav-links .nav-cta { background: linear-gradient(110deg, #b5502b, #b95a34); color: #fff; box-shadow: 0 6px 18px #ad4e2a1a; }
.btn-primary:hover, .nav-links .nav-cta:hover, .home-featured .nav-links .nav-cta:hover { background: #a54a27; }
.btn-secondary { color: var(--navy); border-color: #cbdfe8; background: #f5fafc; }
.eyebrow { font-size: .875rem; letter-spacing: .08em; color: var(--terracotta-dark); }
.home-featured .section-head h2, .trust .split-copy h2, .reviews-inner h2, .portals-inner h2, .catalog-page .catalog-intro h1, .fact strong {
  font-family: var(--body-font); font-weight: 800; font-synthesis: none; font-style: normal;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem); letter-spacing: -.02em; line-height: 1.25;
}
.section-head { align-items: flex-start; gap: 20px 36px; }
.section-head p { max-width: 400px; padding-top: 12px; line-height: 1.7; }
.topbar-social { font-weight: 400; }
.hero { min-height: 570px; background: linear-gradient(105deg, #fff 5%, #f5fafc 58%, #e3f0f6); }
.hero-content { width: 58%; padding-block: 44px 84px; }
.hero h1 { font-size: clamp(3rem, 4.8vw, 4.35rem); line-height: 1.24; max-width: 590px; margin: 8px 0 22px; }
.hero p { font-size: 1.125rem; line-height: 1.7; max-width: 470px; }
.since-signature { font-size: 1.5em; }
.hero-actions { margin-top: 26px; }
.hero-photo { width: clamp(350px, 39vw, 460px); inset: 0 max(0px, calc((100vw - 1280px) / 2)) 0 auto; mask-image: linear-gradient(90deg, transparent, #000 17%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.search-card { background: #fff; border: 1px solid #dde9ef; border-radius: 24px; box-shadow: 0 12px 36px #245b7712; padding: 20px; }
.search-card .field label { font-size: .875rem; text-transform: none; letter-spacing: 0; font-weight: 700; color: #4c6675; margin-left: 2px; }
.search-card .field select { border-radius: 13px; background: #f7fafc; border: 1px solid #d8e5ed; min-height: 50px; }
.search-card .field select:focus { background: #fff; }
.quick-search { padding-top: 16px; }
.quick-search a { font-weight: 400; }
.quick-search a[aria-current] { font-weight: 700; }
.property-grid { gap: 24px; align-items: stretch; }
.property-card { background: #fff; border: 1px solid #dce8ee; border-radius: 22px; box-shadow: 0 8px 26px #245b770c; }
.property-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px #245b771a; }
.property-image { aspect-ratio: 4 / 3; border-radius: 21px 21px 0 0; }
.property-image { background: #edf2f3; }
.property-image img { display: block; object-fit: contain; object-position: center; }
.property-card:hover img { transform: none; }
.property-badge { font-size: .875rem; font-weight: 700; letter-spacing: .03em; padding: 7px 12px; border: 1px solid transparent; box-shadow: 0 3px 12px #245b7712; background: #fffffff2; }
.property-badge--sale, .detail-tags .tag--sale { color: #184f6b; background: #dceef9; border: 1px solid #bad6e5; }
.property-badge--rent, .detail-tags .tag--rent { color: #71512a; background: #f4e6cc; border: 1px solid #e2c9a2; }
.property-availability { font-size: .875rem; font-weight: 700; }
.property-body { padding: 18px 20px 16px; }
.property-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.property-summary .price { flex: 0 1 auto; max-width: 65%; overflow-wrap: anywhere; }
.property-summary .price small { font-size: .875rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.property-summary .price-on-request { font-size: 1.125rem; line-height: 1.4; }
.property-summary .property-place { flex: 1; min-width: 0; text-align: right; padding-top: 4px; }
.property-address { display: block; margin-top: 3px; font-size: .875rem; font-weight: 400; color: var(--muted); }
.property-place { font-size: .9375rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: #35637b; line-height: 1.45; }
.property-body h3 { font-family: var(--body-font); font-style: normal; font-size: 1.125rem; line-height: 1.45; min-height: 2.9em; margin: 0 0 12px; font-weight: 700; }
.property-meta { font-size: .875rem; border: 0; padding: 0; gap: 6px 12px; line-height: 1.5; }
.property-meta span + span { border-left: 1px solid #cbdde3; padding-left: 12px; }
.property-meta:empty { padding-bottom: 0; border: 0; }
.property-foot { align-items: center; gap: 4px 12px; margin-top: 6px; }
.price { font-size: clamp(1.55rem, 2vw, 1.8rem); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price small { display: block; margin-top: 3px; line-height: 1.4; }
.card-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; font-size: .9375rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #a9c5d3; }
.card-link:hover { text-decoration-color: currentColor; }
.trust { background: linear-gradient(180deg, transparent, #dfeef380 45%, transparent); color: var(--ink); }
.trust .eyebrow { color: #a94d29; }
.trust .split-copy h2 { color: var(--navy); }
.trust-copy { color: #4a6675; line-height: 1.75; font-size: 1.0625rem; }
.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 960px; }
.fact { min-height: 0; padding: 14px 20px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.fact + .fact { border-left: 1px solid #c9e0eb; }
.fact strong { color: #2b637f; font-size: clamp(1.2rem, 2.4vw, 1.75rem); }
.fact span { color: #506b7a; font-size: .9375rem; line-height: 1.6; }
.review-card, .service, .portal-logo { background: #fff; border: 1px solid #dfebf0; border-radius: 22px; box-shadow: 0 6px 24px #245b7708; }
.review-card { padding: 23px; }
.review-card cite { font-weight: 700; }
.service { padding: 24px; }
.service-icon { color: #2d6886; background: #e9f3f8; box-shadow: none; border-radius: 14px; }
.services { background: linear-gradient(180deg, transparent, #f2e8d680 52%, transparent); }
.contact-cta { background: linear-gradient(180deg, transparent, #dcecf480 48%, transparent); }
.contact-cta .cta-card { border: 0; background: transparent; box-shadow: none; border-radius: 30px; }
.contact-cta .cta-copy h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.detail-heading h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.025em; line-height: 1.25; }
.detail-heading h1, .detail-main h2, .property-contact h2, .service h3 { font-family: var(--body-font); font-style: normal; }
.detail-price { font-variant-numeric: tabular-nums; }
.gallery { background: #edf2f3; }
.gallery-image { background: #edf2f3; }
.gallery-image img { display: block; height: auto; }
.photo-stage { position: relative; }
.gallery .photo-stage { cursor: default; }
.photo-zone { position: absolute; top: 0; bottom: 0; width: 50%; border: 0; padding: 14px; display: flex; align-items: center; background: transparent; color: #245b77; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.photo-zone-prev { left: 0; justify-content: flex-start; }
.photo-zone-next { right: 0; justify-content: flex-end; }
.photo-zone span { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #d1e0e7; border-radius: 50%; background: #fffffff0; box-shadow: 0 2px 12px #153d5226; font: 400 2rem/1 var(--body-font); }
.photo-zone:hover span { color: #ad4e2a; background: #fff; border-color: #ba8c70; }
.photo-zone:focus-visible { outline: 3px solid #b65a34; outline-offset: -5px; }
.gallery-controls { justify-content: space-between; gap: 12px; padding: 8px 14px; }
.gallery-controls #photo-counter { font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.gallery-controls #zoom-photo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; padding: 8px 14px; border-radius: 999px; font: 700 .9375rem/1.4 var(--body-font); }
.gallery-controls #zoom-photo:focus-visible { outline: 3px solid #b65a34; outline-offset: 2px; }
.photo-dialog .photo-stage { width: min(1100px, 94vw); height: min(78dvh, 900px); }
.photo-dialog .photo-stage > img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.photo-dialog .photo-close { z-index: 2; box-shadow: 0 2px 12px #153d5226; }
.photo-dialog .dialog-controls { min-height: 44px; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .photo-zone { padding: 8px; }
  .gallery-controls { padding: 8px 12px; }
}
.property-contact { border-radius: 22px; box-shadow: 0 8px 28px #245b770d; }
.property-highlights li { background: #eef6fa; border-color: #dceaf1; font-weight: 700; }
.description-text { font-size: 1.0625rem; line-height: 1.8; }
.detail-main .property-sharing { margin: 12px 0 8px; }
footer { margin-top: 20px; padding-block: 28px 20px; background: linear-gradient(180deg, transparent, #cddfe833 100px), var(--coastal-wash); color: #486776; border-top: 0; }
.footer-grid { grid-template-columns: 1.15fr 1fr 1fr .7fr; gap: 24px; align-items: start; }
.footer-grid > div { min-width: 0; }
.footer-grid h3, .footer-grid .footer-brand, .footer-brand span { color: #245b77; }
.footer-grid h3 { margin-bottom: 8px; font-weight: 700; font-size: .875rem; line-height: 1.5; }
.footer-grid .footer-brand { margin-bottom: 8px; }
.footer-identity p { margin: 0; line-height: 1.5; }
.footer-brand img { mix-blend-mode: multiply; }
.footer-contacts p { margin: 0; }
.footer-contacts > p > a { min-height: 44px; }
.footer-contacts > p > a:not(.footer-person) { display: inline-flex; align-items: center; }
.footer-person { display: flex; flex-direction: row; flex-wrap: wrap; align-content: center; align-items: center; gap: 0 10px; justify-content: space-between; max-width: 250px; padding-block: 4px; line-height: 1.4; text-decoration: none; }
.footer-person .phone-number { font-variant-numeric: tabular-nums; }
.footer-person:hover .phone-number { text-decoration: underline; text-underline-offset: 3px; }
.footer-visit > p { line-height: 1.5; }
.footer-grid .footer-contact-button { margin-top: 6px; border-color: #abc6d2; background: #f8fbfc; }
.footer-grid .footer-contact-note { margin-top: 8px; font-size: .875rem; line-height: 1.45; }
.copyright { margin-top: 22px; padding-top: 12px; border-top-color: #bcd6e1; }
.footer-bottom-links { gap: 6px 18px; align-items: center; }
.footer-bottom-links > * { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 901px) {
  body > .topbar { display: none; }
  header, .home-featured header {
    --masthead-width: min(640px, calc(100vw - 400px));
    --brand-height: calc(var(--masthead-width) * 215 / 900);
    top: calc(-1 * var(--header-collapse, calc(var(--brand-height) + 8px)));
    background: var(--coastal-wash); border-bottom-color: #cbdde2; box-shadow: 0 4px 18px #245b7708;
  }
  .nav, .home-featured .nav { width: min(calc(100% - 48px), 1280px); grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: var(--brand-height) auto; padding-block: 8px 6px; gap: 0 24px; }
  .brand, .home-featured .brand { grid-column: 1; grid-row: 1; width: var(--masthead-width); height: var(--brand-height); justify-self: start; margin: 0; mix-blend-mode: multiply; }
  .desktop-social-tools, .home-featured .desktop-social-tools { display: flex; grid-column: 2; grid-row: 1; align-items: center; justify-content: flex-end; gap: 20px; font-size: .875rem; color: #245b77; }
  .desktop-social-tools .topbar-social { font-weight: 400; }
  .desktop-social-tools .topbar-social img { width: 27px; height: 27px; }
  .nav-links, .home-featured .nav-links { grid-column: 1 / -1; grid-row: 2; min-height: 54px; padding-top: 5px; gap: 8px 30px; justify-content: flex-start; border-top: 1px solid #dceaf1; }
  .nav-links a { font-size: .9375rem; font-weight: 700; }
  .nav-links .nav-cta, .home-featured .nav-links .nav-cta { margin-left: auto; padding: 10px 20px; }
  header.has-scroll-brand .scroll-brand { grid-row: 2; min-height: 54px; }
  header.has-scroll-brand .scroll-brand img.mattesu-logo { width: auto; max-width: 100%; height: 54px; object-fit: contain; }
  header.has-scroll-brand .nav-links, .home-featured header.has-scroll-brand .nav-links { grid-row: 2; grid-column: 2; border-top-color: transparent; gap: 8px 22px; }
  header.has-scroll-brand .nav-links .nav-cta { margin-left: auto; }
  .property-contact { top: 88px; }
}
@media (min-width: 1180px) { .home-featured .property-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 901px) and (max-width: 1179px) { .home-featured .property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 901px) and (max-width: 1100px) { .desktop-social-tools, .home-featured .desktop-social-tools { gap: 12px; } header.has-scroll-brand .nav-links, .home-featured header.has-scroll-brand .nav-links { gap: 6px 14px; } }
@media (max-width: 900px) {
  body > .topbar, .home-featured .topbar { background: var(--coastal-wash); color: #245b77; }
  .topbar-inner, .home-featured .topbar-inner { min-height: 44px; }
  .topbar-links, .home-featured .topbar-links { padding-block: 0; }
  .topbar-social, .home-featured .topbar-social { font-weight: 400; font-size: .875rem; }
  .topbar-social img { width: 26px; height: 26px; padding: 0; background: transparent; box-shadow: none; }
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 0 8px; min-height: 0; padding-block: 2px 3px; }
  .brand { grid-column: 1; grid-row: 1; width: min(100%, 400px); height: auto; aspect-ratio: 900 / 215; }
  .brand img { object-fit: contain; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .nav-links { grid-column: 1 / -1; padding: 12px; border: 1px solid #dce8ef; border-radius: 18px; max-height: calc(100dvh - 180px); overflow-y: auto; }
  .nav-links a { min-height: 44px; }
  .section-head p { padding-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
}
@media (max-width: 800px) {
  .hero { min-height: 0; display: block; background: linear-gradient(180deg, #fff, #eef6fa); }
  .hero-content { width: 100%; max-width: 650px; padding-block: 26px 18px; text-align: center; }
  .hero h1 { margin: 0 auto 16px; max-width: 18ch; font-size: clamp(2.4rem, 7.7vw, 3.5rem); }
  .hero p { font-size: 1rem; }
  .hero-actions { margin-top: 18px; gap: 10px; }
  .hero-actions .btn { min-height: 48px; font-size: .9375rem; padding: 11px 16px; }
  .hero-photo { position: relative; inset: auto; width: min(100%, 500px); height: clamp(330px, 90vw, 420px); margin: 0 auto; mask-image: linear-gradient(180deg, transparent, #000 8%, #000 94%, transparent); }
  .hero-photo img { height: 100%; margin: 0; object-fit: cover; object-position: 50% 63%; }
  .home-featured .search-shell { margin-top: 18px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .topbar-links { gap: 12px; }
  .topbar .language-picker { min-height: 40px; }
  .search-card { padding: 18px; border-radius: 20px; gap: 13px; }
  .section-head { gap: 14px; margin-bottom: 24px; }
  .home-featured .section-head h2, .trust .split-copy h2, .reviews-inner h2, .portals-inner h2 { font-size: 1.9rem; }
  .property-grid { gap: 22px; }
  .property-body { padding: 16px 18px 14px; }
  .property-body h3 { font-size: 1.2rem; min-height: 0; }
  .property-summary .price { font-size: 1.75rem; }
  .property-summary .price-on-request { font-size: 1.125rem; }
  .facts { gap: 0; }
  .fact { padding: 9px 8px; }
  .fact strong { font-size: 1.15rem; }
  .fact span { font-size: .875rem; }
  .review-card, .service { padding: 20px; }
  .contact-cta .cta-copy h2 { font-size: 2.1rem; }
  .description-text { font-size: 1rem; }
  footer { margin-top: 8px; padding-block: 22px 16px; }
  .footer-grid { gap: 16px 18px; }
  .footer-grid .footer-brand { margin-bottom: 5px; }
  .footer-brand span { font-size: 1.75rem; }
  .footer-person { flex-direction: column; align-content: flex-start; align-items: flex-start; justify-content: center; font-size: .9375rem; }
  .footer-grid .footer-follow { gap: 8px 14px; }
  .footer-social-links { gap: 16px; }
  .footer-social-links a { flex-direction: row-reverse; gap: 7px; padding: 0; }
  .footer-social-links img { width: 30px; height: 30px; }
  .copyright { gap: 4px; margin-top: 16px; padding-top: 10px; padding-right: 42px; }
}
@media (max-width: 360px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-person { max-width: none; flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-visit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; align-items: start; }
  .footer-visit h3, .footer-visit .footer-contact-note { grid-column: 1 / -1; margin: 0; }
  .footer-visit > p { margin: 0; }
  .footer-grid .footer-contact-button { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .property-card:hover, .property-card:hover img, .btn:hover { transform: none; } }

/* A single opening scene: the photograph belongs to the title and leads into search. */
.home-opening {
  position: relative;
  isolation: isolate;
  padding-bottom: 20px;
  background: var(--coastal-wash);
}
.home-opening .hero { min-height: 380px; background: transparent; }
.home-opening .hero-content { width: 60%; padding-block: 30px 50px; }
.home-opening .hero h1 { max-width: 620px; font-size: clamp(2.65rem, 4.2vw, 3.65rem); margin: 0 0 14px; }
.home-opening .hero p { max-width: 490px; color: #284b5d; }
.home-opening .hero-actions { margin-top: 18px; gap: 10px; align-items: flex-start; }
.home-opening .hero-actions .btn { min-height: 48px; padding: 11px 18px; }
.hero-seller-action { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 100%; }
.hero-seller-action small { color: #46606e; font-size: .875rem; line-height: 1.4; }
.home-opening .hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(72vw, 1000px);
  height: 100%;
  margin: 0;
  z-index: -1;
  mask-image: linear-gradient(90deg, transparent 12%, rgba(0,0,0,.10) 32%, #000 52%), linear-gradient(180deg, #000 88%, transparent);
  mask-composite: intersect;
}
.home-opening .hero-photo img { height: 100%; object-fit: cover; object-position: 60% 46%; }
.home-featured .home-opening .search-shell { margin-top: -22px; }
.home-opening .search-card { padding: 18px; }
.home-opening .quick-search { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding-top: 14px; }
.home-opening .quick-search p { margin: 0; font-size: .875rem; }
.home-opening .quick-search-links { gap: 8px; }
.home-featured #immobili { padding-top: 38px; }
@media (min-width: 901px) {
  .home-featured header { --masthead-width: min(560px, calc(100vw - 400px)); }
}
@media (min-width: 1101px) {
  .home-opening .search-card { grid-template-columns: 1.05fr 1.3fr 1.1fr 1fr auto; }
}
@media (min-width: 801px) and (max-width: 1100px) {
  .home-opening .hero-content { width: 52%; }
  .home-opening .hero-photo { width: 70%; }
}
@media (min-width: 1000px) and (max-width: 1100px) {
  .home-opening .search-card { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .home-opening { padding-bottom: 20px; }
  .home-opening .hero { min-height: 0; display: block; }
  .home-opening .hero-content { width: 100%; max-width: 620px; margin-inline: auto; padding-block: 18px 12px; text-align: center; }
  .home-opening .hero h1 { max-width: 20ch; font-size: clamp(1.85rem, 5.8vw, 2.8rem); margin: 0 auto 10px; }
  .home-opening .hero p { max-width: none; font-size: 1rem; line-height: 1.5; }
  .home-opening .hero-actions { display: flex; justify-content: center; margin: 16px 0 6px; }
  .home-opening .hero-actions > a:not(.hero-valuation) { display: none; }
  .home-opening .hero-actions .hero-valuation { width: auto; max-width: 100%; }
  .home-opening .hero-seller-action { align-items: center; }
  .home-opening .search-card { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; gap: 12px; }
  .home-opening .search-button { grid-column: 1 / -1; }
  .home-opening .search-card .field select { padding-inline: 12px 24px; font-size: 1rem; }
  .home-opening .quick-search { gap: 8px; padding-top: 12px; }
  .home-opening .quick-search p { flex-basis: 100%; }
  .home-opening .quick-search a { padding-inline: 12px; font-size: .875rem; }
  .home-opening .hero-photo {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    margin: 0;
    mask-image: linear-gradient(180deg, transparent, #000 6%, #000 96%, transparent);
  }
  .home-opening .hero-photo img { width: 100%; height: 100%; margin: 0; object-fit: contain; object-position: center; }
  .home-featured .home-opening .search-shell { margin-top: 8px; }
  .home-featured #immobili { padding-top: 28px; }
}
@media (max-width: 480px) {
  .home-opening .search-card { grid-template-columns: minmax(0, 1fr); }
}

/* Keep desktop sections connected without stacking large outer and inner gaps. */
@media (min-width: 901px) {
  .home-featured #immobili { padding-bottom: 36px; }
  .home-featured .contact-cta { padding-top: 20px; }
  .home-featured .contact-cta .cta-copy { padding-block: 24px; }
  .home-featured .trust { padding-block: 40px; }
  .home-featured .reviews,
  .home-featured .services,
  .home-featured .portals { padding-block: 36px; }
  .home-featured footer { margin-top: 0; padding-top: 24px; }
}
