
    @font-face {
      font-family: "Nunito Sans";
      src: url("/assets/nunito-sans-400.ttf") format("truetype");
      font-weight: 400;
      font-display: swap;
    }
    @font-face {
      font-family: "Nunito Sans";
      src: url("/assets/nunito-sans-800.ttf") format("truetype");
      font-weight: 700 900;
      font-display: swap;
    }

    :root {
      --navy: #215b7b;
      --navy-2: #4d8eae;
      --blue-light: #dcecf3;
      --terracotta: #dc7650;
      --terracotta-dark: #bf5835;
      --sand: #eaf3f7;
      --cream: #f7fbfd;
      --ink: #122333;
      --muted: #5f6c76;
      --line: #dbe2e7;
      --white: #fff;
      --shadow: 0 22px 58px rgba(31,89,121,.12);
      --radius: 30px;
      --max: 1180px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Nunito Sans", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
      color: var(--ink);
      background: var(--cream);
      font-size: 16px;
      line-height: 1.55;
    }
    img { display: block; max-width: 100%; }
    a { color: inherit; }
    button, select { font: inherit; }
    .wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
    .skip-link { position: fixed; left: 14px; top: -60px; z-index: 100; background: white; padding: 12px 16px; border-radius: 10px; }
    .skip-link:focus { top: 14px; }

    .topbar { background: linear-gradient(90deg, #174a6a 0%, #4e8eae 100%); color: rgba(255,255,255,.9); font-size: .86rem; }
    .topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .topbar a { text-decoration: none; }
    .topbar a:hover { color: white; }
    .topbar-links { display: flex; gap: 22px; }
    .topbar-social { font-weight: 800; }

    header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid rgba(49,112,145,.08); }
    .nav { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .brand { position: relative; display: block; flex: 0 0 auto; width: 440px; height: 108px; text-decoration: none; }
    .brand::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #fff, transparent 12%, transparent 88%, #fff), linear-gradient(180deg, #fff, transparent 12%, transparent 88%, #fff); }
    .brand img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      border-radius: 0;
      box-shadow: none;
    }
    .nav-links { display: flex; align-items: center; gap: 22px; }
    .nav-links a { text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--navy); }
    .nav-links a:hover { color: var(--terracotta-dark); }
    .nav-links .nav-cta { padding: 11px 18px; border-radius: 999px; color: white; background: linear-gradient(135deg, var(--terracotta), #ea956f); }
    .nav-links .nav-cta:hover { background: var(--terracotta-dark); color: white; }
    .menu-toggle { display: none; flex: 0 0 44px; min-height: 44px; border: 0; background: transparent; color: var(--navy); padding: 8px; cursor: pointer; }
    .nav-social { display: none; gap: 10px; padding: 10px; }
    .nav-social a { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 12px; }
    .header-tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
    .language-picker { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 78px; height: 44px; border: 1px solid #d5e6ee; border-radius: 999px; background: linear-gradient(145deg, #fff, #eaf5f9); color: var(--navy); font-weight: 800; font-size: .875rem; cursor: pointer; }
    .language-picker[hidden] { display: none; }
    .language-picker > svg { width: 17px; height: 17px; flex: none; }
    .language-picker > svg:last-of-type { width: 10px; }
    .language-picker select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
    .language-picker:focus-within { outline: 3px solid #f5a483; outline-offset: 3px; }
    h1, h2, h3, .fact strong { overflow-wrap: normal; word-break: normal; hyphens: none; }
    .nav-links a { overflow-wrap: normal; }

    .hero {
      min-height: 590px;
      color: white;
      display: grid;
      align-items: center;
      background:
        linear-gradient(90deg, rgba(20,72,101,.92) 0%, rgba(33,91,123,.76) 40%, rgba(79,142,174,.24) 70%, rgba(79,142,174,.06) 100%),
        url("/assets/hero-sardegna-v2.webp") center / cover no-repeat;
      position: relative;
      isolation: isolate;
    }
    .hero::after { content: ""; position: absolute; inset: auto 0 0; height: 150px; background: linear-gradient(transparent, rgba(7,25,40,.25)); z-index: -1; }
    .hero-content { max-width: 700px; padding: 60px 0 92px; }
    .eyebrow { display: inline-flex; align-items: center; gap: 9px; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; font-weight: 800; color: #ffd7c9; }
    .eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--terracotta); }
    h1 { max-width: 680px; margin: 18px 0 22px; font-size: clamp(2.7rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
    .hero p { max-width: 610px; margin: 0; color: rgba(255,255,255,.87); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
    .btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 999px; padding: 13px 21px; text-decoration: none; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
    .btn:hover { transform: translateY(-2px); }
    .btn-primary { color: white; background: linear-gradient(135deg, var(--terracotta), #ea956f); box-shadow: 0 10px 24px rgba(191,88,53,.22); }
    .btn-primary:hover { background: var(--terracotta-dark); }
    .btn-light { color: white; border-color: rgba(255,255,255,.56); background: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
    .btn-light:hover { background: rgba(255,255,255,.18); border-color: white; }
    .btn svg { width: 19px; height: 19px; }

    .search-shell { position: relative; margin-top: -48px; z-index: 5; }
    .search-card { background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(226,241,247,.96)); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.8); border-radius: 34px; padding: 18px; display: grid; grid-template-columns: 1.05fr 1fr 1fr auto; gap: 12px; align-items: end; }
    .field { min-width: 0; }
    .field label { display: block; margin: 0 0 7px 4px; color: var(--muted); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
    .field select { width: 100%; min-height: 52px; padding: 0 42px 0 15px; color: var(--ink); background: linear-gradient(145deg, #fff, #edf6fa); border: 1px solid rgba(49,112,145,.12); border-radius: 18px; cursor: pointer; }
    .search-button { min-height: 52px; border: 0; cursor: pointer; padding-inline: 24px; }

    section { padding: 78px 0; }
    .hero { padding: 0; }
    .section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
    .section-head h2, .split-copy h2, .cta-copy h2 { margin: 10px 0 0; font-size: clamp(2rem, 4.3vw, 3.5rem); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; color: var(--navy); }
    .section-head p { max-width: 520px; margin: 0; color: var(--muted); }
    .text-link { color: var(--navy); font-weight: 800; text-underline-offset: 5px; text-decoration-color: var(--terracotta); }

    .property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .property-card { overflow: hidden; background: linear-gradient(155deg, #fff 48%, #eaf5f9 100%); border: 1px solid rgba(255,255,255,.82); border-radius: 30px; box-shadow: 0 16px 42px rgba(31,89,121,.09); transition: transform .25s, box-shadow .25s; }
    .property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
    .property-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 30px 30px 14px 14px; }
    .property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
    .property-card:hover img { transform: scale(1.035); }
    .property-badge { position: absolute; left: 15px; top: 15px; background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(230,243,248,.92)); color: var(--navy); border-radius: 999px; padding: 7px 11px; font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; box-shadow: 0 8px 20px rgba(11,39,66,.1); }
    .property-body { padding: 20px; }
    .property-place { color: var(--terracotta-dark); text-transform: uppercase; letter-spacing: .08em; font-size: .73rem; font-weight: 900; }
    .property-body h3 { min-height: 56px; margin: 7px 0 14px; font-size: 1.18rem; line-height: 1.3; color: var(--navy); }
    .property-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; padding: 14px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
    .property-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
    .price { font-size: 1.45rem; letter-spacing: -.03em; color: var(--navy); }
    .card-link { color: var(--navy); font-weight: 800; text-decoration: none; }
    .card-link:hover { color: var(--terracotta-dark); }

    .trust { background: linear-gradient(125deg, #174a6a 0%, #2f7194 54%, #79abc2 100%); color: white; }
    .trust-grid { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; text-align: center; }
    .trust .split-copy { max-width: 820px; margin-inline: auto; }
    .trust .eyebrow { color: #ffd7c9; }
    .trust h2 { color: white; }
    .trust-copy { color: rgba(255,255,255,.75); font-size: 1.05rem; }
    .facts { width: 100%; max-width: 900px; margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .fact { min-height: 116px; padding: 22px; border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.07)); border: 1px solid rgba(255,255,255,.17); box-shadow: 0 14px 36px rgba(8,43,64,.1); }
    .fact strong { display: block; color: #ffe3d7; font-size: 1.85rem; letter-spacing: -.035em; font-weight: 800; }
    .fact span { display: block; margin-top: 5px; color: rgba(255,255,255,.77); }

    .reviews { padding: 60px 0; background: white; }
    .reviews-inner { text-align: center; }
    .reviews-inner h2 { margin: 10px auto 12px; max-width: 760px; color: var(--navy); font-size: clamp(2rem, 4.3vw, 3.35rem); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; }
    .rating-summary { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; color: var(--muted); }
    .rating-summary strong { color: var(--ink); }
    .google-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(145deg, #fff, #edf6fa); color: #4285f4; box-shadow: 0 8px 18px rgba(31,89,121,.11); font-weight: 900; }
    .stars { color: #eaa33d; letter-spacing: .08em; font-size: 1.03rem; }
    .reviews-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
    .review-card { min-height: 170px; padding: 21px; display: flex; flex-direction: column; border-radius: 28px; background: linear-gradient(145deg, #fff 0%, #eaf5f9 100%); border: 1px solid rgba(255,255,255,.85); box-shadow: 0 15px 38px rgba(31,89,121,.09); }
    .review-card blockquote { margin: 14px 0 20px; color: var(--ink); font-size: 1.05rem; line-height: 1.5; }
    .review-card cite { margin-top: auto; color: var(--navy); font-style: normal; font-weight: 800; }
    .review-source { display: block; margin-top: 2px; color: var(--muted); font-size: .84rem; }
    .reviews-action { margin-top: 22px; }

    .services { padding: 60px 0; background: linear-gradient(180deg, #f4fafd 0%, #e5f1f6 100%); }
    .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .service { padding: 22px; border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(218,236,244,.72)); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 15px 38px rgba(31,89,121,.08); }
    .service-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; color: white; background: linear-gradient(135deg, #2b6d91, #82b8cf); box-shadow: 0 10px 22px rgba(31,89,121,.16); }
    .service-icon svg { width: 25px; }
    .service h3 { margin: 17px 0 7px; color: var(--navy); font-size: 1.2rem; }
    .service p { margin: 0; color: var(--muted); }

    .portals { padding: 60px 0; background: white; }
    .portals-inner { text-align: center; }
    .portals-inner h2 { margin: 10px auto 12px; max-width: 780px; color: var(--navy); font-size: clamp(2rem, 4.3vw, 3.35rem); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; }
    .portals-intro { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 1.06rem; }
    .portal-logos { max-width: 930px; margin: 24px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .portal-logo { min-height: 98px; padding: 15px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.85); border-radius: 28px; background: linear-gradient(145deg, #fff 0%, #eaf5f9 100%); box-shadow: 0 15px 38px rgba(31,89,121,.09); transition: transform .2s, box-shadow .2s; }
    .portal-logo:hover { transform: translateY(-3px); box-shadow: 0 17px 38px rgba(31,89,121,.14); }
    .portal-logo img { width: 210px; max-width: 100%; height: 62px; object-fit: contain; }
    .portal-logo img.immobiliare { width: 245px; height: 62px; }
    .portal-logo img.idealista { height: 66px; object-fit: cover; object-position: center; }
    .portal-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
    .portal-social { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 20px; border-radius: 999px; background: linear-gradient(145deg, #fff, #eaf5f9); box-shadow: 0 8px 22px rgba(31,89,121,.08); color: var(--navy); font-weight: 800; text-decoration: none; }
    .portal-social img { width: 23px; height: 23px; }
    .portal-social:hover { background: #e5f1f6; }

    .contact-cta { padding: 50px 0 0; }
    .cta-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.85); border-radius: 38px; background: linear-gradient(145deg, #fff 0%, #eaf5f9 100%); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.2fr .8fr; }
    .cta-copy { padding: 42px; }
    .cta-copy p { max-width: 590px; color: var(--muted); font-size: 1.05rem; }
    .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
    .cta-actions .btn-light { color: var(--navy); border-color: var(--line); background: white; }
    .cta-panel { padding: 38px; background: linear-gradient(145deg, #2a6788, #82b8cf); color: white; display: flex; flex-direction: column; justify-content: center; }
    .cta-panel small { text-transform: uppercase; letter-spacing: .1em; font-weight: 800; opacity: .8; }
    .cta-panel a { display: block; margin-top: 8px; color: white; text-decoration: none; font-size: 1.38rem; font-weight: 750; }
    .cta-panel hr { width: 100%; border: 0; border-top: 1px solid rgba(255,255,255,.3); margin: 24px 0; }

    footer { margin-top: 50px; padding: 40px 0 24px; background: linear-gradient(120deg, #133f5c 0%, #2e7091 58%, #568fac 100%); color: rgba(255,255,255,.82); }
    .footer-grid { display: grid; grid-template-columns: 1.2fr .65fr .65fr .65fr; gap: 42px; }
    .footer-brand { color: white; font-size: 1.5rem; font-weight: 800; letter-spacing: -.025em; }
    .footer-grid h3 { color: white; margin: 0 0 12px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
    .footer-grid p { margin: 5px 0; }
    .footer-grid a { color: inherit; }
    .copyright { margin-top: 38px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-size: .84rem; }

    .whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: white; box-shadow: 0 12px 30px rgba(15,94,56,.32); }
    .whatsapp-logo { display: block; width: 22px; height: 22px; flex-shrink: 0; }
    .whatsapp-float .whatsapp-logo { width: 32px; height: 32px; filter: brightness(0) invert(1); }

    :focus-visible { outline: 3px solid #f5a483; outline-offset: 3px; }

    @media (max-width: 1200px) {
      .topbar .topbar-links span:first-child, .desktop-only { display: none; }
      .menu-toggle { display: block; }
      .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 100%; padding: 18px; border-radius: 16px; background: white; box-shadow: var(--shadow); align-items: stretch; flex-direction: column; gap: 6px; }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 11px 10px; }
      .nav-links .nav-cta { text-align: center; }
      .nav-social { display: flex; }
      .header-tools { flex-direction: column-reverse; gap: 4px; }
    }

    @media (max-width: 900px) {
      .hero { min-height: 570px; background-position: 61% center; }
      .hero-content { max-width: 640px; }
      .search-card { grid-template-columns: 1fr 1fr; }
      .search-button { grid-column: 1 / -1; }
      .property-grid { grid-template-columns: repeat(2, 1fr); }
      .property-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 11px); }
      .cta-card { grid-template-columns: 1fr; }
      .services-grid { grid-template-columns: 1fr; }
      .service { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: start; }
      .service-icon { grid-row: span 2; }
      .service h3 { margin: 0 0 6px; }
      .service p { grid-column: 2; }
      .reviews-grid { grid-template-columns: 1fr; }
      .portal-logos { grid-template-columns: 1fr; }
      .portal-logo { min-height: 90px; }
    }

    @media (max-width: 620px) {
      .wrap { width: min(calc(100% - 28px), var(--max)); }
      .topbar { display: none; }
      .nav { min-height: 108px; gap: 8px; }
      .brand { width: calc(100% - 86px); height: 102px; }
      .brand::after { background: linear-gradient(90deg, #fff, transparent 7%, transparent 93%, #fff), linear-gradient(180deg, #fff, transparent 12%, transparent 88%, #fff); }
      .nav-links { left: 14px; right: 14px; }
      .hero { min-height: 575px; background-position: 66% center; }
      .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,22,38,.24), rgba(5,22,38,.44)); z-index: -1; }
      .hero-content { padding: 60px 0 100px; }
      h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
      .hero-actions .btn { width: 100%; }
      .search-shell { margin-top: -58px; }
      .search-card { grid-template-columns: 1fr; padding: 16px; }
      .search-button { grid-column: auto; }
      section { padding: 58px 0; }
      .section-head { align-items: start; flex-direction: column; }
      .property-grid { grid-template-columns: 1fr; }
      .property-card:last-child { grid-column: auto; max-width: none; }
      .facts { grid-template-columns: 1fr; }
      .trust-grid { gap: 38px; }
      .reviews, .services, .portals { padding: 44px 0; }
      .reviews-grid, .services-grid, .portal-logos { gap: 14px; }
      .review-card { min-height: auto; padding: 19px; }
      .service { padding: 20px; }
      .portal-logo { min-height: 82px; padding: 12px; }
      .portal-social { padding-inline: 14px; }
      .contact-cta { padding: 40px 0 0; }
      .cta-copy, .cta-panel { padding: 25px 20px; }
      .cta-actions .btn { width: 100%; }
      .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
      .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
      .footer-grid > :last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
      .footer-grid > :last-child h3, .footer-grid > :last-child p { margin: 0; }
      .copyright { flex-direction: column; gap: 10px; margin-top: 24px; padding-top: 16px; }
      .whatsapp-float { right: 15px; bottom: 15px; }
    }
  
