

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../../fonts/inter-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../../fonts/inter-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('../../fonts/playfair-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url('../../fonts/playfair-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../../fonts/playfair-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../../fonts/playfair-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

    
    :root {
      --c-gray:    #4a4a4a;
      --c-red:     #e63329;
      --c-orange:  #f08c50;
      --c-coral:   #f07272;
      --c-light:   #f7f5f3;
      --c-white:   #ffffff;
      --c-text:    #3a3a3a;
      --c-muted:   #6b625a;
      --c-dark:    #1c1516;
      --c-dark-2:  #1c1516;
      --p-blue:    #0061D1;
      --p-green:   #5DAA00;
      --p-green-bright: #C8E84A;
      --p-red:     #E31837;
      --radius:    20px;
      --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
      --shadow-md: 0 6px 30px rgba(0,0,0,0.10);
      --shadow-lg: 0 16px 60px rgba(0,0,0,0.14);
      --ease:      cubic-bezier(0.4, 0, 0.2, 1);
      --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; -webkit-tap-highlight-color: transparent; }
    a, button, summary { touch-action: manipulation; }
    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      color: var(--c-text);
      background: var(--c-white);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    img { display: block; max-width: 100%; }
    a { text-decoration: none; color: inherit; }

    
    .r {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
    }
    .r.in { opacity: 1; transform: none; }
    .r.d1 { transition-delay: 0.10s; }
    .r.d2 { transition-delay: 0.20s; }
    .r.d3 { transition-delay: 0.30s; }
    .r.d4 { transition-delay: 0.40s; }

    
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 0 2.5rem;
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: background 0.4s ease, box-shadow 0.4s ease;
    }
    nav.scrolled {
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    nav.scrolled .nav-logo { opacity: 1; }
    .nav-logo-bars {
      display: flex;
      align-items: flex-end;
      gap: 4px;
    }
    .nlb { border-radius: 3px 3px 2px 2px; }
    .nlb.l { width: 8px; height: 16px; background: var(--c-orange); }
    .nlb.c { width: 8px; height: 28px; background: var(--c-red); }
    .nlb.r { width: 8px; height: 11px; background: var(--c-coral); }
    .nav-logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1;
    }
    .nav-logo-name {
      font-size: 1.1rem;
      font-weight: 900;
      color: var(--c-gray);
      letter-spacing: -0.5px;
    }
    .nav-logo-sub {
      font-size: 0.52rem;
      font-weight: 600;
      letter-spacing: 0.32em;
      color: var(--c-red);
      text-transform: uppercase;
      margin-top: 2px;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 2.5rem;
      list-style: none;
    }
    .nav-links a {
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      color: rgba(255,255,255,0.9);
      transition: color 0.2s;
    }
    nav.scrolled .nav-links a { color: var(--c-gray); }
    .nav-links a:hover { color: var(--c-red); }
    .nav-cta {
      font-size: 0.75rem;
      font-weight: 600;
      padding: 0.55rem 1.2rem;
      border-radius: 50px;
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.4);
      color: white;
      backdrop-filter: blur(8px);
      transition: all 0.25s ease;
    }
    nav.scrolled .nav-cta {
      background: var(--c-red);
      border-color: var(--c-red);
      color: white;
    }
    .nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

    
    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 44px; height: 44px;
      padding: 12px 11px;
      background: rgba(255,255,255,0.14);
      backdrop-filter: blur(12px) saturate(1.6);
      -webkit-backdrop-filter: blur(12px) saturate(1.6);
      border: 1px solid rgba(255,255,255,0.32);
      border-radius: 50%;
      box-shadow: 0 4px 18px rgba(0,0,0,0.12);
      cursor: pointer;
      z-index: 101;
      transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    }
    .nav-toggle:active { transform: scale(0.94); }
    nav.scrolled .nav-toggle,
    nav.menu-open .nav-toggle {
      background: rgba(0,0,0,0.05);
      border-color: rgba(0,0,0,0.10);
      box-shadow: none;
    }
    .nav-toggle span {
      display: block;
      width: 100%; height: 2.5px;
      border-radius: 2px;
      background: white;
      transition: transform 0.3s var(--ease), opacity 0.2s ease, background 0.3s ease;
    }
    nav.scrolled .nav-toggle span,
    nav.menu-open .nav-toggle span { background: var(--c-gray); }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    nav.menu-open {
      background: rgba(255,255,255,0.98);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    }
    nav.menu-open .nav-logo { opacity: 1; }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 76px; left: 0.9rem; right: 0.9rem;
      z-index: 99;
      flex-direction: column;
      padding: 0.5rem 1.4rem 1.4rem;
      background: rgba(255,255,255,0.78);
      backdrop-filter: blur(24px) saturate(1.8);
      -webkit-backdrop-filter: blur(24px) saturate(1.8);
      border: 1px solid rgba(255,255,255,0.55);
      border-radius: 24px;
      box-shadow: 0 24px 60px rgba(0,0,0,0.22);
      opacity: 0;
      transform: translateY(-14px) scale(0.98);
      pointer-events: none;
      transition: opacity 0.25s ease, transform 0.3s var(--ease-spring);
    }
    .mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
    .mobile-menu a {
      padding: 0.95rem 0.2rem;
      font-size: 0.98rem;
      font-weight: 500;
      color: var(--c-gray);
      border-bottom: 1px solid rgba(0,0,0,0.07);
    }
    .mobile-menu a:hover { color: var(--c-red); }
    .mobile-menu a.mm-cta {
      margin-top: 1rem;
      padding: 0.85rem;
      background: var(--c-red);
      color: white;
      text-align: center;
      border-radius: 50px;
      font-weight: 600;
      border-bottom: none;
    }
    .mobile-menu a.mm-cta:hover { color: white; opacity: 0.9; }

    
    #hero {
      position: relative;
      height: 100vh;
      height: 100svh;
      min-height: 640px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('https://psa.im-cdn.it/image/1791647973/xxl.jpg');
      background-size: cover;
      background-position: center;
      transform: scale(1.08);
      transition: transform 10s ease;
    }
    #hero.ready .hero-bg { transform: scale(1); }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        150deg,
        rgba(28, 21, 22, 0.70) 0%,
        rgba(28, 21, 22, 0.50) 55%,
        rgba(28, 21, 22, 0.35) 100%
      );
    }
    .hero-content {
      position: relative;
      z-index: 1;
      text-align: center;
      padding: 0 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    
    .hero-logo-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 1.75rem;
    }
    .hero-bars {
      display: flex;
      align-items: flex-end;
      gap: 8px;
      margin-bottom: 16px;
    }
    .hb { border-radius: 5px 5px 3px 3px; }
    .hb.l { width: 18px; height: 34px; background: #F08C50; }
    .hb.c { width: 18px; height: 66px; background: #E63329; }
    .hb.r { width: 18px; height: 25px; background: #F07272; }
    .hero-agency-name {
      font-size: clamp(4rem, 10vw, 7.5rem);
      font-weight: 900;
      color: white;
      letter-spacing: -3px;
      line-height: 1;
      text-shadow: 0 4px 30px rgba(0,0,0,0.25);
    }
    .hero-agency-sub {
      font-size: clamp(0.7rem, 1.8vw, 0.9rem);
      font-weight: 600;
      letter-spacing: 0.55em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.80);
      margin-top: 8px;
    }

    .hero-tagline {
      font-family: 'Playfair Display', Georgia, serif;
      font-style: italic;
      font-size: clamp(1.05rem, 2.5vw, 1.4rem);
      color: rgba(255,255,255,0.88);
      margin-bottom: 2.5rem;
      max-width: 580px;
      line-height: 1.6;
    }

    .hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      justify-content: center;
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 0.9rem 2rem;
      background: #e63329; 
      border-radius: 50px;
      color: white;
      font-size: 0.85rem;
      font-weight: 600;
      letter-spacing: 0.03em;
      transition: all 0.25s ease;
      box-shadow: 0 4px 20px rgba(230,51,41,0.4);
    }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(230,51,41,0.5); }
    .btn-glass {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 0.9rem 2rem;
      background: rgba(255,255,255,0.12);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255,255,255,0.28);
      border-radius: 50px;
      color: white;
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 0.03em;
      transition: all 0.25s ease;
    }
    .btn-glass:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

    .hero-scroll-hint {
      position: absolute;
      bottom: 2.5rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }
    .hero-scroll-hint span {
      font-size: 0.62rem;
      font-weight: 500;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.5);
    }
    .scroll-line {
      width: 1px;
      height: 40px;
      background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
      animation: scrollLine 2s ease infinite;
    }
    @keyframes scrollLine {
      0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
      50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
      100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
    }

    
    section { padding: 5rem 1.5rem; }
    .wrap { max-width: 1140px; margin: 0 auto; }
    .sec-eyebrow {
      display: inline-block;
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: #e63329;
      margin-bottom: 0.8rem;
    }
    .sec-title {
      font-size: clamp(2.2rem, 4.5vw, 3.2rem);
      font-weight: 800;
      color: var(--c-gray);
      letter-spacing: -1.5px;
      line-height: 1.12;
    }
    .sec-title em {
      font-style: italic;
      font-weight: 400;
      font-family: 'Playfair Display', Georgia, serif;
      color: var(--c-red);
      letter-spacing: -0.5px;
    }

    
    .ticker {
      background: var(--c-dark);
      padding: 1.1rem 0;
      overflow: hidden;
      position: relative;
    }
    .ticker::before,
    .ticker::after {
      content: '';
      position: absolute;
      top: 0; bottom: 0;
      width: 120px;
      z-index: 2;
      pointer-events: none;
    }
    .ticker::before { left: 0;  background: linear-gradient(to right, var(--c-dark), transparent); }
    .ticker::after  { right: 0; background: linear-gradient(to left,  var(--c-dark), transparent); }
    .ticker-track {
      display: flex;
      gap: 2.5rem;
      width: max-content;
      will-change: transform;
    }
    .ticker-item {
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
      font-size: 0.92rem;
      font-weight: 600;
      color: rgba(255,255,255,0.92);
      letter-spacing: 0.01em;
      white-space: nowrap;
    }
    .ticker-item .dot {
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--c-orange);
    }

    
    #evidenza {
      background: var(--c-dark);
      position: relative;
      overflow: hidden;
    }
    #evidenza::before {
      content: '';
      position: absolute;
      bottom: -160px; left: -120px;
      width: 460px; height: 460px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(230,51,41,0.16) 0%, transparent 70%);
      pointer-events: none;
    }
    #evidenza .sec-eyebrow { color: var(--c-orange); }
    .feat-card {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: 0;
      margin-top: 2.5rem;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 26px;
      overflow: hidden;
      box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    }
    .feat-media {
      position: relative;
      min-height: 420px;
      overflow: hidden;
    }
    .feat-media img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.9s var(--ease);
    }
    .feat-card:hover .feat-media img { transform: scale(1.06); }
    .feat-media-tag {
      position: absolute;
      top: 1.1rem; left: 1.1rem;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--c-red);
      color: white;
      font-size: 0.66rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.45rem 0.95rem;
      border-radius: 50px;
      box-shadow: 0 6px 20px rgba(230,51,41,0.45);
    }
    .feat-media-tag .pulse {
      width: 7px; height: 7px;
      border-radius: 50%;
      background: white;
      animation: featPulse 1.6s ease infinite;
    }
    @keyframes featPulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%      { opacity: 0.35; transform: scale(0.75); }
    }
    .feat-body {
      padding: 2.6rem 2.6rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .feat-loc {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--c-orange);
      margin-bottom: 0.7rem;
    }
    .feat-title {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: 1.85rem;
      font-weight: 700;
      color: white;
      line-height: 1.2;
      letter-spacing: -0.5px;
      margin-bottom: 0.7rem;
    }
    .feat-desc {
      font-size: 0.92rem;
      line-height: 1.7;
      color: rgba(255,255,255,0.62);
      margin-bottom: 1.6rem;
    }
    .feat-specs {
      display: flex;
      gap: 2rem;
      padding: 1.2rem 0;
      border-top: 1px solid rgba(255,255,255,0.10);
      border-bottom: 1px solid rgba(255,255,255,0.10);
      margin-bottom: 1.6rem;
    }
    .feat-spec .v {
      font-size: 1.5rem;
      font-weight: 800;
      color: white;
      letter-spacing: -1px;
      line-height: 1;
    }
    .feat-spec .v small { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.5); letter-spacing: 0; }
    .feat-spec .l {
      font-size: 0.62rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.42);
      margin-top: 6px;
    }
    .feat-spec.price .v { color: var(--c-orange); }
    .feat-cta-label {
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-bottom: 0.8rem;
    }
    .feat-portals {
      display: flex;
      gap: 0.7rem;
      flex-wrap: wrap;
    }
    .feat-portal {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 0.6rem 1.1rem;
      border-radius: 50px;
      font-size: 0.78rem;
      font-weight: 600;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.14);
      color: white;
      transition: all 0.25s ease;
    }
    .feat-portal img { width: 22px; height: 22px; border-radius: 6px; }
    .feat-portal:hover { transform: translateY(-2px); }
    .feat-portal.im:hover { background: rgba(0,97,209,0.22);  border-color: var(--p-blue); }
    .feat-portal.id:hover { background: rgba(200,232,74,0.20); border-color: var(--p-green-bright); }
    .feat-portal.ca:hover { background: rgba(227,24,55,0.20);  border-color: var(--p-red); }

    
    .more-label {
      position: relative;
      z-index: 1;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
      text-align: center;
      margin: 3rem 0 1.4rem;
    }
    .mini-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
    }
    .mini-card {
      display: flex;
      flex-direction: column;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 20px;
      overflow: hidden;
      transition: transform 0.3s var(--ease-spring), background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
    }
    .mini-card:hover {
      transform: translateY(-6px);
      background: rgba(255,255,255,0.07);
      border-color: rgba(255,255,255,0.20);
      box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    }
    .mini-media { position: relative; height: 170px; overflow: hidden; }
    .mini-media img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.6s var(--ease);
    }
    .mini-card:hover .mini-media img { transform: scale(1.06); }
    .mini-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: 6px; flex-grow: 1; }
    .mini-title { font-size: 0.95rem; font-weight: 700; color: white; line-height: 1.35; }
    .mini-loc { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
    .mini-meta {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      margin-top: auto;
      padding-top: 0.7rem;
    }
    .mini-price { font-size: 1.1rem; font-weight: 800; color: var(--c-orange); letter-spacing: -0.5px; }
    .mini-mq { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.55); }
    .mini-cta {
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-top: 0.6rem;
      transition: color 0.25s ease;
    }
    .mini-card:hover .mini-cta { color: var(--p-blue); }

    
    #chi-siamo { background: var(--c-white); }
    .about-layout {
      display: grid;
      grid-template-columns: 380px 1fr;
      gap: 5rem;
      align-items: start;
      margin-top: 2.5rem;
    }
    .about-left { position: sticky; top: 100px; }
    .stat-block {
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
    }
    .stat-item {
      padding-left: 1.5rem;
      border-left: 3px solid var(--c-red);
    }
    .stat-num {
      font-size: 3.2rem;
      font-weight: 900;
      color: var(--c-gray);
      letter-spacing: -2px;
      line-height: 1;
    }
    .stat-lbl {
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--c-muted);
      margin-top: 5px;
    }
    .about-right {}
    .about-right p {
      font-size: 1.08rem;
      line-height: 1.9;
      color: #555;
      margin-bottom: 1.4rem;
    }
    .about-right p:last-of-type { margin-bottom: 0; }
    .about-right strong { color: var(--c-gray); font-weight: 700; }
    .badge-fiaip {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      background: #f0faf5;
      border: 1px solid #b8e8cc;
      border-radius: 50px;
      padding: 0.6rem 1.4rem;
      font-size: 0.75rem;
      font-weight: 600;
      color: #00884a;
      letter-spacing: 0.04em;
      margin-top: 2rem;
    }
    .badge-fiaip svg { flex-shrink: 0; }

    
    #servizi { background: var(--c-dark-2); position: relative; overflow: hidden; }
    #servizi::before {
      content: '';
      position: absolute;
      top: -140px; right: -100px;
      width: 420px; height: 420px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(240,140,80,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    #servizi .wrap { position: relative; z-index: 1; }
    #servizi .sec-eyebrow { color: var(--c-orange); }
    #servizi .sec-title { color: white; }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.25rem;
      margin-top: 2.5rem;
    }
    .srv-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 22px;
      padding: 2.2rem 1.8rem;
      transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
    }
    .srv-card:hover {
      transform: translateY(-8px);
      background: rgba(255,255,255,0.07);
      border-color: rgba(255,255,255,0.16);
      box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    }
    .srv-icon {
      width: 52px;
      height: 52px;
      border-radius: 16px;
      background: rgba(230,51,41,0.14);
      border: 1px solid rgba(230,51,41,0.22);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.4rem;
    }
    .srv-icon svg { width: 26px; height: 26px; }
    .srv-name {
      font-size: 1.05rem;
      font-weight: 700;
      color: white;
      margin-bottom: 0.55rem;
    }
    .srv-desc {
      font-size: 0.83rem;
      color: rgba(255,255,255,0.58);
      line-height: 1.65;
    }

    
    #gallery {
      background: var(--c-white);
      padding-bottom: 2.6rem;
    }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-template-rows: 300px 260px;
      gap: 10px;
      margin-top: 2.5rem;
    }
    .gi {
      border-radius: 18px;
      overflow: hidden;
      position: relative;
    }
    .gi img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.65s var(--ease);
    }
    .gi:hover img { transform: scale(1.07); }
    .gi::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.22), transparent 50%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .gi:hover::after { opacity: 1; }
    .gi:nth-child(1) { grid-column: 1 / 7;  grid-row: 1; }
    .gi:nth-child(2) { grid-column: 7 / 13; grid-row: 1; }
    .gi:nth-child(3) { grid-column: 1 / 5;  grid-row: 2; }
    .gi:nth-child(4) { grid-column: 5 / 9;  grid-row: 2; }
    .gi:nth-child(5) { grid-column: 9 / 13; grid-row: 2; }

    
    #portali { background: var(--c-white); padding: 5rem 1.5rem; }
    .portals-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 2.5rem;
    }
    .pc {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 210px;
      background: var(--c-white);
      border-radius: 24px;
      border: 2px solid #e8e8e8;
      overflow: hidden;
      cursor: pointer;
      transition:
        transform  0.32s var(--ease-spring),
        box-shadow 0.32s var(--ease),
        border-color 0.32s var(--ease);
    }
    .pc::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--pc-glow);
      opacity: 0;
      transition: opacity 0.35s ease;
    }
    .pc:hover { transform: translateY(-10px) scale(1.025); }
    .pc:hover::before { opacity: 1; }

    .pc-body {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
      pointer-events: none;
    }
    .pc-logo {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .pc-name {
      font-size: 1.3rem;
      font-weight: 800;
      letter-spacing: -0.3px;
      transition: opacity 0.25s ease;
    }
    .pc-cta {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #6b625a;
      transition: color 0.25s ease;
    }

    
    .pc-im { --pc-glow: radial-gradient(circle at 50% 50%, rgba(0,97,209,0.11) 0%, transparent 68%); }
    .pc-im:hover { border-color: var(--p-blue); box-shadow: 0 0 0 1px rgba(0,97,209,0.12), 0 0 50px rgba(0,97,209,0.28), 0 20px 55px rgba(0,97,209,0.12); }
    .pc-im .pc-name { color: var(--p-blue); }
    .pc-im:hover .pc-cta { color: var(--p-blue); }

    
    .pc-id { --pc-glow: radial-gradient(circle at 50% 50%, rgba(200,232,74,0.18) 0%, transparent 68%); }
    .pc-id:hover { border-color: var(--p-green-bright); box-shadow: 0 0 0 1px rgba(200,232,74,0.3), 0 0 50px rgba(200,232,74,0.35), 0 20px 55px rgba(200,232,74,0.2); }
    .pc-id .pc-name { color: var(--p-green); }
    .pc-id:hover .pc-cta { color: var(--p-green); }

    
    .pc-ca { --pc-glow: radial-gradient(circle at 50% 50%, rgba(227,24,55,0.11) 0%, transparent 68%); }
    .pc-ca:hover { border-color: var(--p-red); box-shadow: 0 0 0 1px rgba(227,24,55,0.12), 0 0 50px rgba(227,24,55,0.28), 0 20px 55px rgba(227,24,55,0.12); }
    .pc-ca .pc-name { color: var(--p-red); }
    .pc-ca .pc-name .gray { color: #555; font-weight: 700; }
    .pc-ca:hover .pc-cta { color: var(--p-red); }

    
    #contatti {
      background: var(--c-dark);
      position: relative;
      overflow: hidden;
    }
    #contatti::before {
      content: '';
      position: absolute;
      top: -120px; right: -120px;
      width: 400px; height: 400px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(230,51,41,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    #contatti .sec-eyebrow { color: var(--c-orange); }
    #contatti .sec-title { color: white; }
    .contact-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      margin-top: 2.5rem;
    }
    .ct-item { text-align: center; }
    .ct-icon {
      width: 56px; height: 56px;
      border-radius: 18px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1.2rem;
    }
    .ct-icon svg { width: 24px; height: 24px; color: white; }
    .ct-lbl {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
      margin-bottom: 0.6rem;
    }
    .ct-val {
      font-size: 1rem;
      font-weight: 600;
      color: white;
      line-height: 1.6;
    }
    .ct-val a { color: white; transition: color 0.2s; }
    .ct-val a:hover { color: var(--c-orange); }
    .contact-map {
      position: relative;
      z-index: 1;
      margin-top: 3rem;
      border-radius: 22px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: 0 20px 60px rgba(0,0,0,0.35);
      line-height: 0;
    }
    .contact-map iframe {
      width: 100%;
      height: 360px;
      border: 0;
      filter: grayscale(0.3) contrast(1.05);
    }

    
    .wa-float {
      position: fixed;
      bottom: 1.6rem; right: 1.6rem;
      z-index: 120;
      display: flex;
      align-items: center;
      gap: 0;
      background: #25D366;
      color: white;
      border-radius: 50px;
      padding: 0;
      width: 58px; height: 58px;
      overflow: hidden;
      box-shadow: 0 8px 28px rgba(37,211,102,0.45);
      transition: width 0.35s var(--ease-spring), box-shadow 0.25s ease, transform 0.25s ease;
    }
    .wa-float svg { width: 28px; height: 28px; flex-shrink: 0; margin: 0 15px; }
    .wa-float .wa-text {
      font-size: 0.85rem;
      font-weight: 600;
      white-space: nowrap;
      opacity: 0;
      transition: opacity 0.25s ease;
      padding-right: 4px;
    }
    .wa-float:hover {
      width: 242px;
      box-shadow: 0 10px 34px rgba(37,211,102,0.6);
      transform: translateY(-2px);
    }
    .wa-float:hover .wa-text { opacity: 1; }

    
    #faq { background: var(--c-light); }
    .faq-list { max-width: 768px; margin: 2.5rem auto 0; }
    .faq-item {
      background: var(--c-white);
      border: 1px solid #ececec;
      border-radius: 16px;
      margin-bottom: 0.8rem;
      overflow: hidden;
      transition: box-shadow 0.25s ease;
    }
    .faq-item[open] { box-shadow: var(--shadow-md); }
    .faq-item summary {
      list-style: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1.15rem 1.4rem;
      font-size: 0.98rem;
      font-weight: 600;
      color: var(--c-gray);
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
      content: '+';
      flex-shrink: 0;
      width: 26px; height: 26px;
      border-radius: 50%;
      background: #fdeceb;
      color: var(--c-red);
      font-size: 1.1rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s var(--ease);
    }
    .faq-item[open] summary::after { transform: rotate(45deg); }
    .faq-item p {
      padding: 0 1.4rem 1.25rem;
      font-size: 0.9rem;
      line-height: 1.75;
      color: #666;
    }
    .faq-item p a { color: var(--c-red); font-weight: 600; }

    
    .mobile-cta-bar {
      display: none;
      position: fixed;
      left: 0.9rem; right: 0.9rem;
      bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
      z-index: 115;
      gap: 8px;
      padding: 8px;
      border-radius: 50px;
      background: rgba(28,21,22,0.85);
      border: 1px solid rgba(255,255,255,0.14);
    }
    .mobile-cta-bar a {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      height: 46px;
      border-radius: 50px;
      font-size: 0.88rem;
      font-weight: 700;
      color: white;
      transition: transform 0.2s ease, filter 0.2s ease;
    }
    .mobile-cta-bar a:active { transform: scale(0.95); }
    .mobile-cta-bar a svg { width: 18px; height: 18px; }
    .mobile-cta-bar .cta-call {
      background: linear-gradient(135deg, rgba(230,51,41,0.92), rgba(240,140,80,0.88));
      box-shadow: 0 4px 18px rgba(230,51,41,0.35);
    }
    .mobile-cta-bar .cta-wa {
      background: rgba(18,138,71,0.92);   
      box-shadow: 0 4px 18px rgba(37,211,102,0.30);
    }

    @media (max-width: 768px) {
      .contact-map iframe { height: 280px; }
      .mobile-cta-bar { display: flex; }
      .wa-float { display: none; }
      body { padding-bottom: 0; } body footer { padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px)); }
      .cookie-banner.cookie-banner { bottom: calc(62px + 2rem + env(safe-area-inset-bottom, 0px)); }
      .mini-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    }
    @media (min-width: 769px) and (max-width: 1024px) {
      .mini-grid { grid-template-columns: repeat(3, 1fr); }
    }

    
    @media (hover: none) {
      
      .pc:hover, .srv-card:hover, .rev-card:hover, .mini-card:hover,
      .feat-portal:hover, .btn-primary:hover, .btn-glass:hover,
      .valuta-btn.wa:hover, .valuta-btn.mail:hover, .nav-cta:hover { transform: none; }
      .gi:hover img, .feat-card:hover .feat-media img, .mini-card:hover .mini-media img { transform: none; }
      .gi:hover::after { opacity: 0; }
      .pc:hover::before { opacity: 0; }
      .pc-im:hover, .pc-id:hover, .pc-ca:hover { border-color: #e8e8e8; box-shadow: none; }
      .srv-card:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); box-shadow: none; }
      .rev-card:hover, .mini-card:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.10); box-shadow: none; }
      .feat-portal:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }

      
      .pc:active, .srv-card:active, .rev-card:active, .mini-card:active { transform: scale(0.98); }
      .btn-primary:active, .btn-glass:active, .valuta-btn:active,
      .feat-portal:active, .nav-cta:active, .cookie-btn:active { transform: scale(0.96); }
      .gi:active img { transform: scale(1.04); }
    }

    
    #recensioni { background: var(--c-dark); position: relative; overflow: hidden; }
    #recensioni::before {
      content: '';
      position: absolute;
      top: -120px; left: -120px;
      width: 420px; height: 420px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(240,140,80,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
    #recensioni .wrap { position: relative; z-index: 1; }
    #recensioni .sec-eyebrow { color: var(--c-orange); }
    #recensioni .sec-title { color: white; }
    .reviews-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;
      margin-top: 2.5rem;
    }
    .rev-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.09);
      border-radius: 22px;
      padding: 2rem 1.8rem;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s var(--ease-spring), background 0.3s var(--ease), border-color 0.3s var(--ease);
    }
    .rev-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); }
    .rev-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
    .rev-stars svg { width: 18px; height: 18px; color: #FFB400; }
    .rev-text {
      font-size: 0.95rem;
      line-height: 1.7;
      color: rgba(255,255,255,0.78);
      font-style: italic;
      margin-bottom: 1.5rem;
      flex-grow: 1;
    }
    .rev-author { display: flex; align-items: center; gap: 12px; }
    .rev-avatar {
      width: 44px; height: 44px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--c-orange), var(--c-red));
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      font-weight: 700;
      color: white;
      flex-shrink: 0;
    }
    .rev-name { font-size: 0.9rem; font-weight: 700; color: white; }
    .rev-meta { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-top: 2px; }
    .reviews-cta {
      position: relative;
      z-index: 1;
      text-align: center;
      margin-top: 2.5rem;
      font-size: 0.88rem;
      color: rgba(255,255,255,0.55);
    }
    .reviews-cta a { color: var(--c-orange); font-weight: 600; }
    .reviews-cta a:hover { text-decoration: underline; }

    
    .valuta {
      background: linear-gradient(115deg, var(--c-red) 0%, var(--c-orange) 100%);
      padding: 2.9rem 1.5rem;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .valuta::before {
      content: '';
      position: absolute;
      top: -80px; right: -60px;
      width: 320px; height: 320px;
      border-radius: 50%;
      background: rgba(255,255,255,0.10);
      pointer-events: none;
    }
    .valuta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
    .valuta-eyebrow {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.8);
      margin-bottom: 0.9rem;
    }
    .valuta-title {
      font-size: clamp(1.8rem, 4vw, 2.6rem);
      font-weight: 800;
      color: white;
      letter-spacing: -1px;
      line-height: 1.15;
      margin-bottom: 0.8rem;
    }
    .valuta-title em { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 400; }
    .valuta-sub {
      font-size: 1rem;
      color: rgba(255,255,255,0.9);
      line-height: 1.6;
      margin-bottom: 2rem;
    }
    .valuta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
    .valuta-note {
      margin-top: 1.5rem;
      font-size: 0.78rem;
      line-height: 1.6;
      color: rgba(255,255,255,0.72);
    }
    .valuta-btn {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 0.9rem 1.9rem;
      border-radius: 50px;
      font-size: 0.88rem;
      font-weight: 600;
      transition: all 0.25s ease;
    }
    .valuta-btn svg { width: 18px; height: 18px; }
    .valuta-btn.wa { background: white; color: var(--c-red); box-shadow: 0 6px 22px rgba(0,0,0,0.18); }
    .valuta-btn.wa:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.26); }
    .valuta-btn.mail {
      background: rgba(255,255,255,0.14);
      border: 1px solid rgba(255,255,255,0.45);
      color: white;
      backdrop-filter: blur(8px);
    }
    .valuta-btn.mail:hover { background: rgba(255,255,255,0.24); transform: translateY(-3px); }

    
    .cookie-banner {
      position: fixed;
      bottom: 1.2rem; left: 1.2rem; right: 1.2rem;
      max-width: 560px;
      margin: 0 auto;
      z-index: 130;
      background: #1c1516;
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 18px;
      padding: 1.3rem 1.5rem;
      box-shadow: 0 16px 50px rgba(0,0,0,0.5);
      transform: translateY(160%);
      opacity: 0;
      
      visibility: hidden;
      transition: transform 0.5s var(--ease-spring), opacity 0.4s ease, visibility 0s linear 0.5s;
    }
    .cookie-banner.show { transform: translateY(0); opacity: 1; visibility: visible;
      transition: transform 0.5s var(--ease-spring), opacity 0.4s ease; }
    .cookie-title { font-size: 0.95rem; font-weight: 700; color: white; margin-bottom: 0.4rem; }
    .cookie-text { font-size: 0.8rem; line-height: 1.6; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
    .cookie-text a { color: var(--c-orange); text-decoration: underline; }
    .cookie-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
    .cookie-btn {
      flex: 1;
      min-width: min(120px, 100%);
      padding: 0.6rem 1rem;
      border-radius: 50px;
      font-size: 0.78rem;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid transparent;
      transition: all 0.2s ease;
    }
    .cookie-btn.accept { background: #e63329; color: white; }
    .cookie-btn.accept:hover { background: #c92a21; }
    .cookie-btn.reject { background: transparent; border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); }
    .cookie-btn.reject:hover { background: rgba(255,255,255,0.08); }
    .map-placeholder {
      width: 100%;
      height: 360px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      background: rgba(255,255,255,0.04);
      color: rgba(255,255,255,0.5);
      font-size: 0.85rem;
      line-height: 1.55; 
      text-align: center;
      padding: 1rem;
    }
    .map-placeholder svg { width: 32px; height: 32px; opacity: 0.5; }
    .map-placeholder button {
      margin-top: 4px;
      padding: 0.5rem 1.3rem;
      border-radius: 50px;
      border: 1px solid rgba(255,255,255,0.25);
      background: transparent;
      color: white;
      font-size: 0.78rem;
      font-weight: 600;
      cursor: pointer;
    }
    .map-placeholder button:hover { background: rgba(255,255,255,0.1); }

    
    .legal-modal {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      background: rgba(10,8,8,0.65);
      backdrop-filter: blur(4px);
    }
    .legal-modal.open { display: flex; }
    .legal-box {
      background: white;
      border-radius: 22px;
      max-width: 640px;
      width: 100%;
      max-height: 82vh;
      overflow-y: auto;
      padding: 2.5rem;
      position: relative;
    }
    .legal-box h3 { font-size: 1.5rem; font-weight: 800; color: var(--c-gray); margin-bottom: 1.2rem; letter-spacing: -0.5px; }
    .legal-box h4 { font-size: 0.95rem; font-weight: 700; color: var(--c-gray); margin: 1.4rem 0 0.5rem; }
    .legal-box p { font-size: 0.88rem; line-height: 1.7; color: #555; margin-bottom: 0.8rem; }
    .legal-close {
      position: absolute;
      top: 1.4rem; right: 1.4rem;
      width: 34px; height: 34px;
      border-radius: 50%;
      border: none;
      background: var(--c-light);
      color: var(--c-gray);
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .legal-close:hover { background: #eee; }

    
    footer {
      background: #1c1516;
      
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='44'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M28 44V26L42 14l14 12v18'/%3E%3Cpath d='M38 44V33h8v11'/%3E%3Cpath d='M51 18v-7h4'/%3E%3C/g%3E%3C/svg%3E");
      background-repeat: repeat-x;
      background-position: bottom center;
      padding: 1.7rem 2.5rem calc(2.2rem + 56px);  
    }
    .footer-inner {
      max-width: 1140px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .f-logo {
      display: flex;
      align-items: center;
      gap: 11px;
    }
    .f-bars {
      display: flex;
      align-items: flex-end;
      gap: 4px;
    }
    .fb { border-radius: 3px 3px 2px 2px; opacity: 0.65; }
    .fb.l { width: 9px; height: 18px; background: var(--c-orange); }
    .fb.c { width: 9px; height: 33px; background: var(--c-red); }
    .fb.r { width: 9px; height: 13px; background: var(--c-coral); }
    .f-name {
      font-size: 0.95rem;
      font-weight: 700;
      color: rgba(255,255,255,0.45);
      letter-spacing: -0.3px;
    }
    .f-copy {
      font-size: 0.7rem;
      color: rgba(255,255,255,0.28);
      line-height: 1.7;
      width: 100%;
      text-align: center;
      margin-top: 0.4rem;
      padding-top: 1.2rem;
      border-top: 1px solid rgba(255,255,255,0.07);
    }
    .f-links {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.78rem;
    }
    .f-links a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
    .f-links a:hover { color: var(--c-orange); }
    .f-sep { color: rgba(255,255,255,0.2); }
    .f-social { display: flex; gap: 0.6rem; }
    .f-social a {
      width: 36px; height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.06);
      color: rgba(255,255,255,0.6);
      transition: all 0.25s ease;
    }
    .f-social a svg { width: 17px; height: 17px; }
    .f-social a:hover { background: var(--c-red); color: white; transform: translateY(-2px); }
    @media (max-width: 768px) {
      .footer-inner { justify-content: center; text-align: center; }
    }

    
    @media (max-width: 1024px) {
      .about-layout { grid-template-columns: 1fr; gap: 3rem; }
      .about-left { position: static; }
      .stat-block { flex-direction: row; flex-wrap: wrap; gap: 2rem; }
      .services-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      section { padding: 3.5rem 1.5rem; }
      nav { padding: 0 1.5rem; }
      
      .portals-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
      .contact-grid { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
      .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px 200px;
        height: auto;
      }
      .gi:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
      .gi:nth-child(2) { grid-column: 1 / 2; grid-row: 2; }
      .gi:nth-child(3) { grid-column: 2 / 3; grid-row: 2; }
      .gi:nth-child(4) { grid-column: 1 / 2; grid-row: 3; }
      .gi:nth-child(5) { grid-column: 2 / 3; grid-row: 3; }
      .services-grid { grid-template-columns: 1fr; }
      .hero-agency-name { letter-spacing: -2px; }
      .feat-card { grid-template-columns: 1fr; }
      .feat-media { min-height: 260px; }
      .feat-body { padding: 1.8rem 1.5rem; }
      .feat-specs { gap: 1.3rem; }
      .feat-portals { flex-direction: column; }
      .feat-portal { justify-content: center; }
      .reviews-grid { grid-template-columns: 1fr; }
      .valuta-actions { flex-direction: column; }
      .valuta-btn { justify-content: center; }
      .legal-box { padding: 1.8rem 1.4rem; }
    }
    @media (max-width: 1024px) {
      .reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    }

.page-head { background: var(--c-dark); color: #fff; padding: 54px 0 44px; text-align: center; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0%, rgba(240,140,80,.16), transparent 55%); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head .sec-title { color: #fff; }
.page-head .sec-title em { color: var(--c-orange); }
.page-lead { color: rgba(255,255,255,.72); max-width: 620px; margin: 12px auto 0; }

.estate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.estate-card { background: #fff; border: 1px solid var(--c-border); border-radius: 18px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.07); cursor: pointer; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.estate-card:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.estate-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eee; }
.estate-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.estate-card:hover .estate-media img { transform: scale(1.06); }
.estate-tag { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 30px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #fff; backdrop-filter: blur(4px); }
.estate-tag.vendita { background: rgba(230,51,41,.94); }
.estate-tag.affitto { background: rgba(240,140,80,.95); }
.estate-tag .pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulseW 1.8s infinite; }
@keyframes pulseW { 0%{box-shadow:0 0 0 0 rgba(255,255,255,.6)} 70%{box-shadow:0 0 0 8px rgba(255,255,255,0)} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0)} }
.estate-evid { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(28,21,22,.82); color: #fff; padding: 5px 11px; border-radius: 30px; font-size: .68rem; font-weight: 700; letter-spacing: .5px; }
.estate-flags { position: absolute; bottom: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; }
.estate-flag { background: rgba(255,255,255,.92); color: var(--c-gray); border-radius: 8px; padding: 4px 8px; font-size: .68rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.estate-flag svg { color: var(--c-red); }
.estate-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.estate-type { font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: #a8480d; font-weight: 700; }
.estate-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.22rem; font-weight: 700; color: var(--c-gray); margin: 4px 0 6px; line-height: 1.25; }
.estate-loc { display: flex; align-items: center; gap: 5px; font-size: .85rem; color: var(--c-muted); margin-bottom: 14px; }
.estate-loc svg { flex-shrink: 0; color: var(--c-coral); }
.estate-specs { display: flex; gap: 16px; padding-top: 14px; margin-top: auto; border-top: 1px solid var(--c-border); }
.estate-spec { display: flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--c-gray); }
.estate-spec svg { color: var(--c-muted); }
.estate-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.estate-price { font-size: 1.35rem; font-weight: 800; color: var(--c-red); letter-spacing: -.5px; }
.estate-price small { font-size: .78rem; font-weight: 600; color: var(--c-muted); }
.estate-cta { font-size: .82rem; font-weight: 700; color: #a8480d; }

.filters { position: sticky; top: 0; z-index: 40; background: rgba(247,245,243,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-border); padding: 16px 1.5rem; }
.filters-inner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--c-border); border-radius: 30px; padding: 3px; }
.seg button { border: none; background: none; padding: 7px 16px; border-radius: 30px; font-size: .85rem; font-weight: 600; color: var(--c-gray); cursor: pointer; transition: .18s; }
.seg button.on { background: #e63329; color: #fff; }
.fld { background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 9px 12px; font: inherit; font-size: .85rem; color: var(--c-text); cursor: pointer; min-width: min(150px, 100%); }
.fld:focus { outline: 2px solid var(--c-orange); }
.filters-meta { margin-left: auto; font-size: .85rem; color: var(--c-muted); }
.filters-meta b { color: var(--c-gray); }
.btn-reset { background: none; border: none; color: var(--c-red); font: inherit; font-size: .82rem; font-weight: 600; text-decoration: underline; cursor: pointer; }
.empty { text-align: center; padding: 70px 20px; color: var(--c-muted); }
.empty h3 { font-family: 'Playfair Display', serif; color: var(--c-gray); font-size: 1.5rem; margin-bottom: 8px; }

.crumbs { padding: 20px 0; font-size: .85rem; color: var(--c-muted); }
.crumbs a { color: var(--c-red); }
.detail { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-areas: "hero side" "body side"; gap: 10px 40px; align-items: start; padding-bottom: 28px; }
.detail-main, .detail-hero, .detail-body { min-width: 0; }
.detail-hero { grid-area: hero; }
.detail-body { grid-area: body; }

.gallery-main { position: relative; aspect-ratio: 16/10; background: #ddd; border-radius: 16px; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs img { width: 92px; height: 66px; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .55; border: 2px solid transparent; transition: .2s; flex-shrink: 0; }
.gallery-thumbs img.on { opacity: 1; border-color: var(--c-red); }

.d-tagrow { display: flex; align-items: center; gap: 10px; margin: 24px 0 8px; }
.d-tag { padding: 5px 12px; border-radius: 30px; font-size: .72rem; font-weight: 700; text-transform: uppercase; color: #fff; letter-spacing: .5px; }
.d-tag.vendita { background: var(--c-red); } .d-tag.affitto { background: var(--c-orange); }
.d-ref { font-size: .78rem; color: var(--c-muted); }
.d-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--c-gray); line-height: 1.2; }
.d-loc { display: flex; align-items: center; gap: 6px; color: var(--c-muted); margin: 10px 0 4px; }
.d-loc svg { color: var(--c-coral); }

.d-block { margin-top: 30px; }
.d-block h2 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--c-gray); margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.d-block h2 svg { color: var(--c-red); }
.d-desc { color: var(--c-gray); }

.d-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; }
.d-spec { background: #fff; padding: 13px 15px; display: flex; justify-content: space-between; font-size: .88rem; }
.d-spec .k { color: var(--c-muted); } .d-spec .v { font-weight: 700; color: var(--c-gray); }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.plan { border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; background: #fff; cursor: zoom-in; }
.plan img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--c-light); }
.plan span { display: block; padding: 8px 12px; font-size: .82rem; color: var(--c-muted); }

.embed { position: relative; border-radius: 14px; overflow: hidden; background: var(--c-light); aspect-ratio: 16/9; border: 1px solid var(--c-border); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.d-map { aspect-ratio: 16/7; }

.embed .map-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--c-light); color: var(--c-muted); font-size: 0.85rem; text-align: center; padding: 1rem; }
.embed .map-placeholder button { padding: 0.5rem 1.3rem; border-radius: 50px; border: 1px solid var(--c-border); background: #fff; color: var(--c-text); font-size: 0.78rem; font-weight: 600; cursor: pointer; }
.embed .map-placeholder button:hover { border-color: var(--c-red); color: var(--c-red); }

.d-side { grid-area: side; position: sticky; top: 84px; background: #fff; border: 1px solid var(--c-border); border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,.07); padding: 24px; }
.d-price { font-size: 2.1rem; font-weight: 800; color: var(--c-red); letter-spacing: -1px; margin-bottom: 4px; }
.d-price small { font-size: .95rem; font-weight: 600; color: var(--c-muted); }

.estate-price.price-req { font-size: 1rem; letter-spacing: 0; }
.d-price.price-req { font-size: 1.5rem; letter-spacing: -.3px; }
.d-sub { color: var(--c-muted); font-size: .85rem; margin-bottom: 16px; }
.d-side .btn-call, .d-side .btn-wa, .d-side .btn-mail { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 12px; font-weight: 700; font-size: .92rem; margin-top: 10px; transition: .2s; }
.btn-call { background: var(--c-red); color: #fff; } .btn-call:hover { background: var(--c-red-d, #c9281f); }
.btn-wa { background: #25d366; color: #fff; } .btn-wa:hover { filter: brightness(.94); }
.btn-mail { background: var(--c-light); color: var(--c-gray); border: 1px solid var(--c-border); }
.d-agent { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--c-border); font-size: .88rem; color: var(--c-muted); }
.d-agent b { color: var(--c-gray); display: block; margin-bottom: 4px; }

.notfound { text-align: center; padding: 90px 20px; }
.notfound h1 { font-family: 'Playfair Display', serif; color: var(--c-gray); font-size: 2rem; margin-bottom: 12px; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; background: rgba(16,12,12,.985); padding: 0; }
.lightbox.open { display: grid; }

.lb-stage {
  
  width: 100vw; height: 100vh; height: 100svh;
  display: grid; place-items: center; padding: 62px 84px;
  overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}

.lightbox img { width: 100%; height: 100%; min-width: 0; min-height: 0;
  object-fit: contain; border-radius: 8px; cursor: default; }
.lightbox.zoomabile img { cursor: zoom-in; }   

.lightbox.zoom .lb-stage { padding: 0; place-items: start; cursor: grab; }
.lightbox.zoom .lb-stage.dragging { cursor: grabbing; }
.lightbox.zoom img { width: auto; height: auto; max-width: none; max-height: none;
  object-fit: none; border-radius: 0; cursor: zoom-out; }
.lightbox-close { position: absolute; top: 18px; right: 22px; z-index: 4; color: #fff; font-size: 2rem; background: none; border: none; cursor: pointer; }

.lightbox .lb-nav, .lightbox .lb-counter { z-index: 4; }

body.no-scroll .dx-bar, body.no-scroll .mobile-cta-bar, body.no-scroll .whatsapp-float { display: none !important; }
@media (max-width: 768px) {
  .lb-stage { padding: 58px 10px 66px; }
  .lb-nav { width: 46px; height: 46px; font-size: 1.7rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-counter { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; grid-template-areas: "hero" "side" "body"; }
  .d-side { position: static; }
  
  #main { padding-left: 1.5rem; padding-right: 1.5rem; }
  
  .filters :is(input, select), .filters .fld, .filters-search { font-size: 16px; }
  .filters .fld { min-height: 44px; }
}
@media (max-width: 560px) {
  .filters-meta { width: 100%; margin: 4px 0 0; }
  .fld { min-width: 0; flex: 1 1 45%; }
  .d-specs { grid-template-columns: 1fr; }
}

:root {
  --tone-light: #f7f4f0;
  --tone-dark:  #1c1516;
  
  --c-light:  #f7f4f0;
  --c-dark:   #1c1516;
  --c-dark-2: #1c1516;
}

#portali, #chi-siamo, #gallery, #faq, #team {
  background: var(--tone-light) !important;
}

#evidenza, #servizi, #recensioni, #contatti, .ticker {
  background: var(--tone-dark) !important;
}

.page-head { background: var(--tone-dark) !important; }

#evidenza::before, #servizi::before, #contatti::before, #recensioni::before,
.page-head::after { display: none !important; }

html, body { overflow-x: clip; max-width: 100%; }
body { overflow-wrap: break-word; }
img, iframe, video, table { max-width: 100%; }

body { background: var(--tone-light); }
.section:not(.section--dark) { background: var(--tone-light) !important; }

.valuta { background: linear-gradient(120deg, #e6473d 0%, #ef8a54 100%) !important; }

nav.scrolled, nav.nav-solid {
  background: rgba(255,255,255,.66) !important;
  backdrop-filter: blur(22px) saturate(1.8);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.filters {
  background: rgba(247,244,240,.62) !important;
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
}
.filters .fld, .filters .seg {
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 30px;
  border: 1px solid var(--c-border); background: rgba(255,255,255,.75);
  font-size: .8rem; font-weight: 600; color: var(--c-gray);
  cursor: pointer; user-select: none; transition: .18s;
}
.chip.on { background: var(--c-red); border-color: var(--c-red); color: #fff; }

.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px; margin-top: 44px;
}
.team-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: 18px;
  padding: 30px 22px; text-align: center; box-shadow: 0 6px 26px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.team-avatar {
  width: 118px; height: 118px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(160deg, #f8ece3 0%, #f3d7c6 100%);
  border: 3px solid #fff; box-shadow: 0 4px 16px rgba(240,140,80,.25);
}
.team-avatar svg { width: 66px; height: 66px; color: var(--c-red); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: 'Playfair Display', Georgia, serif; font-size: 1.18rem; font-weight: 700; color: var(--c-gray); }
.team-role { font-size: .76rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--c-orange); margin-top: 5px; }
.team-note { font-size: .85rem; color: var(--c-muted); margin-top: 10px; line-height: 1.5; }

.filters { position: sticky !important; top: 68px !important; z-index: 60 !important; }

.page-head { padding: 40px 1.5rem 26px !important; }
.page-head + section { padding-top: 34px !important; }

.nav-cta, nav .nav-cta, nav.scrolled .nav-cta { color: #fff !important; font-weight: 700 !important; }

.f-links { flex-wrap: wrap; justify-content: center; }

html { background-color: #1c1516; }
    
    nav { padding-top: env(safe-area-inset-top, 0px); height: calc(68px + env(safe-area-inset-top, 0px)); }
    .mobile-menu { top: calc(76px + env(safe-area-inset-top, 0px)); }

.map-open { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; background: #1c1516; color: var(--c-orange); font-size: .85rem; font-weight: 600; border-top: 1px solid rgba(255,255,255,.1); }
.map-open:hover { background: #241a1b; }

.gallery-main { position: relative; cursor: zoom-in; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(0,0,0,.42); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); transition: background .2s; z-index: 3; }
.g-nav:hover { background: rgba(0,0,0,.66); }
.g-prev { left: 12px; } .g-next { right: 12px; }
.g-badge { position: absolute; z-index: 3; padding: 5px 11px; border-radius: 30px; font-size: .74rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.g-count { bottom: 12px; left: 12px; } .g-count b { font-weight: 700; }
.g-zoom { bottom: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px; }

.d-quicknav { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 2px; }
.d-quicknav + .d-block { margin-top: 20px; }
.d-quicknav a { display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 30px; background: #fff; border: 1.5px solid #d8cfc8; font-size: .86rem; font-weight: 700; color: var(--c-text); box-shadow: 0 2px 8px rgba(0,0,0,.06); transition: .18s; }
.d-quicknav a:hover { background: var(--c-red); color: #fff; border-color: var(--c-red); }
#sec-foto, #sec-planimetrie, #sec-video, #sec-tour, #sec-posizione { scroll-margin-top: 84px; }

.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: none; background: rgba(255,255,255,.16); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; place-items: center; backdrop-filter: blur(6px); transition: background .2s; }
.lb-nav { display: grid; }
.lb-nav:hover { background: rgba(255,255,255,.32); }
.lb-prev { left: 22px; } .lb-next { right: 22px; }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; font-weight: 600; background: rgba(0,0,0,.45); padding: 5px 14px; border-radius: 20px; }

.d-map-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.d-map-actions > span { color: var(--c-muted); font-size: .88rem; }
.btn-directions { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 30px; background: #e63329; color: #fff; font-weight: 700; font-size: .86rem; }
.btn-directions:hover { background: var(--c-red-d, #c9281f); }
.map-open { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; background: #1c1516; color: #fff; font-size: .88rem; font-weight: 700; }
.map-open:hover { background: #241a1b; color: var(--c-orange); }

.footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 0.85rem; }
.f-copy { border-top: none; padding-top: 0; margin-top: 0; }

section { padding-top: 2.6rem; padding-bottom: 2.6rem; }

@media (max-width: 768px) {
  section { padding-top: 2rem; padding-bottom: 2rem; }
}

.estate-flags { gap: 5px; }
.estate-flag { padding: 4px 9px; font-size: .66rem; background: rgba(255,255,255,.9); }

#portali { padding-top: 2.6rem; padding-bottom: 2.6rem; }

.d-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); border-radius: 12px; overflow: hidden; margin: 18px 0 22px; }
.d-highlights > div { background: #fff; padding: 12px 6px; text-align: center; }
.d-highlights b { display: block; font-size: 1.05rem; font-weight: 800; color: var(--c-gray); letter-spacing: -.3px; }
.d-highlights span { font-size: .66rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .3px; }
.d-side-title { font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--c-muted); margin: 4px 0 10px; }
.d-portal { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--c-border); border-radius: 12px; margin-bottom: 8px; font-weight: 600; font-size: .9rem; color: var(--c-gray); transition: .18s; }
.d-portal img { width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; }
.d-portal span { margin-left: auto; color: var(--c-orange); font-weight: 700; }
.d-portal:hover { border-color: var(--c-red); background: var(--c-light); }
.d-side .btn-wa { margin-top: 14px; }

.d-referente { font-size: .88rem; color: var(--c-muted); margin: -2px 0 14px; }
.d-referente b { color: var(--c-text); }
.d-contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.d-contact { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 13px 6px; border-radius: 12px; font-size: .76rem; font-weight: 700; color: #fff; transition: .18s; }
.d-contact svg { width: 20px; height: 20px; }
.d-contact.call { background: var(--c-red); } .d-contact.call:hover { background: #c9281f; }
.d-contact.wa { background: #25d366; } .d-contact.wa:hover { filter: brightness(.94); }
.d-contact.mail { background: var(--c-gray); } .d-contact.mail:hover { background: #333; }

.ct-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 2.4rem; }
.ct-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 40px; font-weight: 700; font-size: .95rem; color: #fff; transition: .2s; }
.ct-btn svg { width: 20px; height: 20px; }
.ct-btn.call { background: var(--c-red); box-shadow: 0 8px 22px rgba(230,51,41,.3); } .ct-btn.call:hover { background: #c9281f; transform: translateY(-2px); }
.ct-btn.wa { background: #25d366; box-shadow: 0 8px 22px rgba(37,211,102,.3); } .ct-btn.wa:hover { filter: brightness(.94); transform: translateY(-2px); }
.ct-btn.mail { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); } .ct-btn.mail:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }

.estate-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3rem; }
.estate-loc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.estate-flags { gap: 6px; }
.estate-flag { width: 30px; height: 30px; padding: 0; justify-content: center; border-radius: 9px; background: rgba(255,255,255,.92); }
.estate-flag svg { width: 15px; height: 15px; }

.ct-btn.call, .d-contact.call {
  background: linear-gradient(135deg, rgba(230,51,41,.96) 0%, rgba(240,140,80,.92) 100%) !important;
  box-shadow: 0 6px 20px rgba(230,51,41,.32);
}
.ct-btn.call:hover, .d-contact.call:hover { filter: brightness(1.05); transform: translateY(-2px); }

.ct-btn.wa, .d-contact.wa {
  background: linear-gradient(135deg, #2bd66e 0%, #1eb257 100%) !important;
  box-shadow: 0 6px 20px rgba(37,211,102,.28);
}
.ct-btn.wa:hover, .d-contact.wa:hover { filter: brightness(1.05); transform: translateY(-2px); }

.ct-btn.mail {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.32);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.ct-btn.mail:hover { background: rgba(255,255,255,.2) !important; transform: translateY(-2px); }
.d-contact.mail { background: linear-gradient(135deg, #574f4d 0%, #332b2a 100%) !important; }
.d-contact.mail:hover { filter: brightness(1.1); }

.filters-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filters-search { flex: 1 1 240px; min-width: 0; }
.filters-meta { margin-left: auto; font-size: .85rem; color: var(--c-muted); white-space: nowrap; }
.filters-meta b { color: var(--c-gray); font-size: 1rem; }

.filters-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--c-border); color: var(--c-gray); font-weight: 700; font-size: .88rem; cursor: pointer; transition: .18s; }
.filters-toggle:hover { border-color: var(--c-red); color: var(--c-red); }
.filters-toggle[aria-expanded="true"] { background: var(--c-red); color: #fff; border-color: var(--c-red); }
.filters-badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--c-red); color: #fff; font-size: .7rem; font-weight: 800; }
.filters-toggle[aria-expanded="true"] .filters-badge { background: #fff; color: var(--c-red); }

.filters-panel { display: none; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--c-border); }
.filters.open .filters-panel { display: flex; }
.filters-panel .fld { flex: 1 1 160px; min-width: 0; }
.filters-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.filters .btn-reset { margin-left: auto; padding: 6px; }

@media (max-width: 820px) {
  .filters-search { flex: 1 1 100%; order: 5; }
  .filters-meta { order: 6; }
  .filters-panel .fld { flex: 1 1 calc(50% - 5px); }
}

@media (max-width: 560px) {
  .seg { flex: 1 1 100%; }
  .seg button { flex: 1; }
  .filters-panel .fld { flex: 1 1 100%; }
  .filters-chips { flex: 1 1 100%; }
  .filters .btn-reset { flex: 1 1 100%; text-align: center; margin-left: 0; }
}
.filters-badge[hidden] { display: none !important; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 44px; }
.pagination button { min-width: 44px; height: 44px; padding: 0 6px; border-radius: 12px; border: 1px solid var(--c-border); background: #fff; color: var(--c-gray); font-weight: 700; font-size: .92rem; cursor: pointer; transition: .18s; }
.pagination button:hover:not(:disabled) { border-color: var(--c-red); color: var(--c-red); }
.pagination .pg-num.on { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: default; }
.pagination .pg-arrow { font-size: 1.35rem; line-height: 1; }

@media (max-width: 820px) {
  html nav.scrolled, html nav.nav-solid {
    background: rgba(28, 21, 22, 0.80) !important;
    backdrop-filter: blur(22px) saturate(1.5);
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    box-shadow: 0 1px 0 rgba(255,255,255,0.07);
  }
  html nav.scrolled .nav-logo-name, html nav.nav-solid .nav-logo-name { color: #fff; }
  html nav.scrolled .nav-toggle, html nav.nav-solid .nav-toggle {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.18);
  }
  html nav.scrolled .nav-toggle span, html nav.nav-solid .nav-toggle span { background: #fff; }
}

.nav-spacer { height: calc(68px + env(safe-area-inset-top, 0px)); background: #1c1516; }

body { background-color: #1c1516; }

main#main {
  background-color: var(--c-light);
  box-shadow: 0 0 0 100vmax var(--c-light);
  clip-path: inset(0 -100vmax);
}

main.err-wrap { background-color: var(--c-light); }

footer .f-name { color: rgba(255,255,255,0.92); font-size: 1.02rem; }
footer .fb { opacity: 0.9; }
footer .f-links { gap: 0.55rem 1.7rem; font-size: 0.84rem; }
footer .f-links a { color: rgba(255,255,255,0.62); font-weight: 500; }
footer .f-links a:hover { color: #fff; }
footer .f-ig { display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%; }
footer .f-ig:hover { border-color: rgba(255,255,255,0.45); }
footer .f-copy { width: 100%; border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 1rem; margin-top: 0; color: rgba(255,255,255,0.42);
  font-size: 0.72rem; letter-spacing: 0.2px; }

.d-dotazioni { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.d-dotazioni span { border: 1px solid #ddd3cb; background: #fff; border-radius: 20px;
  padding: 5px 13px; font-size: 0.82rem; font-weight: 600; color: #6a5f58; }

.d-permq { font-size: 0.83rem; color: var(--c-muted); font-weight: 600; margin: -2px 0 10px; }
.d-highlights svg { display: block; margin: 0 auto 5px; width: 17px; height: 17px; color: var(--c-red); }
.d-agente { display: flex; align-items: center; gap: 12px; margin: 2px 0 14px; }
.d-avatar { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--c-red), var(--c-orange)); color: #fff;
  font-weight: 800; font-size: 1rem; letter-spacing: 0.5px;
  display: flex; align-items: center; justify-content: center; }
.d-agente b { display: block; font-size: 0.98rem; color: var(--c-gray); }
.d-agente small { font-size: 0.74rem; color: var(--c-muted); }
.d-pub { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-border);
  font-size: 0.74rem; color: var(--c-muted); }
.d-simili { margin-top: 1.4rem; }
.d-simili h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem;
  color: var(--c-gray); margin-bottom: 1.3rem; }

html nav.scrolled, html nav.nav-solid {
  background: rgba(28, 21, 22, 0.80) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}
html nav.scrolled .nav-logo-name, html nav.nav-solid .nav-logo-name { color: #fff; }
html nav.scrolled .nav-links a, html nav.nav-solid .nav-links a { color: rgba(255, 255, 255, 0.78); }
html nav.scrolled .nav-links a:hover, html nav.nav-solid .nav-links a:hover,
html nav.scrolled .nav-links a.active, html nav.nav-solid .nav-links a.active { color: #fff; }
html nav.scrolled .nav-toggle, html nav.nav-solid .nav-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}
html nav.scrolled .nav-toggle span, html nav.nav-solid .nav-toggle span { background: #fff; }

.nav-links a { font-size: 0.92rem; }
.nav-logo-name { font-size: 1.32rem; }
.nav-logo-sub { font-size: 0.6rem; }
.nlb.l { width: 9px; height: 19px; }
.nlb.c { width: 9px; height: 33px; }
.nlb.r { width: 9px; height: 13px; }
.nav-cta, nav .nav-cta, html nav.scrolled .nav-cta, html nav.nav-solid .nav-cta {
  font-size: 0.88rem;
  padding: 0.65rem 1.5rem;
  background: linear-gradient(135deg, var(--c-red), var(--c-orange)) !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(230, 51, 41, 0.35);
}
.nav-cta:hover { filter: brightness(1.06); }

.page-head { padding: 30px 1.5rem 52px !important; }
.page-head + section { padding-top: 44px !important; }
.page-head .wrap::after {
  content: "";
  display: block;
  width: 58px;
  height: 3.5px;
  border-radius: 4px;
  margin: 26px auto 0;
  background: linear-gradient(90deg, var(--c-red), var(--c-orange));
}
.page-head .page-lead { margin-bottom: 0; }

@media (max-width: 560px) {
  
  .filters { padding: 9px 1.5rem 10px; }
  .filters-top { gap: 7px; }
  .seg { flex: 1 1 auto; }
  
  .seg button { padding: 7px 6px; font-size: 0.8rem; min-height: 44px; }
  .filters-toggle { padding: 8px 13px; font-size: 0.8rem; min-height: 44px; }
  .filters-search { flex: 1 1 auto; order: 5; padding: 8px 12px; min-width: 0; }
  .filters-meta { order: 5; margin-left: 0; width: auto; font-size: 0.76rem; }
  .filters-meta b { font-size: 0.92rem; }
}

.filters {
  background: rgba(250, 248, 245, 0.96) !important;
  border-bottom: 1px solid var(--c-border);
}

.pg-dots { min-width: 28px; text-align: center; color: var(--c-muted); font-weight: 700; letter-spacing: 1px; user-select: none; }

@media (max-width: 560px) {
  .pagination { gap: 5px; }
  .pagination button { min-width: 37px; height: 37px; font-size: 0.84rem; border-radius: 10px; }
  .pg-dots { min-width: 18px; }
}

.d-simili { margin-top: 0; padding-top: 14px; }
.d-simili .ds-head { text-align: center; max-width: 620px; margin: 0 auto 2rem; }
.d-simili .ds-eyebrow { display: inline-block; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-red); margin-bottom: 10px; }
.d-simili h2 { font-size: clamp(1.6rem, 3.4vw, 2rem); margin-bottom: 10px; }
.d-simili .ds-head p { color: var(--c-muted); font-size: 0.92rem; line-height: 1.55; margin: 0; }
.d-simili .ds-head::after { content: ""; display: block; width: 58px; height: 3.5px; border-radius: 99px;
  background: linear-gradient(90deg, var(--c-red), var(--c-orange)); margin: 20px auto 0; }
.d-simili .ds-more { text-align: center; margin-top: 2.2rem; }

.d-fine { display: flex; align-items: flex-end; justify-content: center; gap: 5px;
  max-width: 460px; margin: 6px auto 10px; }
.d-fine span { flex: 1; height: 1px; margin-bottom: 8px;
  background: linear-gradient(90deg, transparent, #d8cfc8); }
.d-fine span:last-child { background: linear-gradient(90deg, #d8cfc8, transparent); }
.d-fine span:first-child { margin-right: 13px; }
.d-fine span:last-child { margin-left: 13px; }
.d-fine i { width: 6px; border-radius: 3px 3px 2px 2px; }
.d-fine i.l { height: 12px; background: var(--c-orange); }
.d-fine i.c { height: 21px; background: var(--c-red); }
.d-fine i.r { height: 8px; background: var(--c-coral); }

#guide { background: var(--c-light); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 2.2rem; }
.gcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #e9e2dc;
  border-radius: 18px; overflow: hidden; box-shadow: 0 4px 22px rgba(0,0,0,0.06);
  text-decoration: none; transition: transform .25s, box-shadow .25s; }
.gcard:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.13); }
.gcard-top { background: #1c1516; height: 128px; display: flex; align-items: center;
  justify-content: center; padding: 14px; }
.gcard-top svg { width: auto; height: 100%; max-width: 92%; overflow: visible; transition: transform .3s ease; }
.gcard:hover .gcard-top svg { transform: scale(1.07) translateY(-3px); }
.gcard-body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.gcard-body h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.16rem;
  color: var(--c-gray); line-height: 1.25; margin: 0 0 7px; }
.gcard-body p { font-size: 0.875rem; color: var(--c-muted); line-height: 1.5; margin: 0 0 14px; }
.gcard-go { margin-top: auto; font-size: 0.82rem; font-weight: 700; color: #e63329; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 560px) { .guide-grid { grid-template-columns: 1fr; } }

.nav-links a { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav-links { gap: 1.5rem; }
  .nav-links a { font-size: 0.86rem; }
  .nav-cta, nav .nav-cta, html nav.scrolled .nav-cta, html nav.nav-solid .nav-cta {
    font-size: 0.82rem; padding: 0.58rem 1.15rem;
  }
  nav .lang-sw summary { margin-left: 4px; padding: 5px 10px 5px 7px; }
}
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
}

.estate-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28, 21, 22, 0.55); color: #fff;
  font-size: 1.75rem; line-height: 1; padding-bottom: 4px;
  opacity: 0; transition: opacity .2s ease, background .2s ease;
  user-select: none;
}

.estate-nav::before { content: ""; position: absolute; inset: -11px; border-radius: 50%; }
.estate-nav.prev { left: 10px; }
.estate-nav.next { right: 10px; }
.estate-card:hover .estate-nav,
.estate-card:focus-within .estate-nav { opacity: 1; }
.estate-nav:hover { background: rgba(28, 21, 22, 0.85); }
.estate-nav:active { transform: translateY(-50%) scale(0.92); }
.estate-count {
  position: absolute; bottom: 12px; right: 12px; z-index: 3;
  background: rgba(28, 21, 22, 0.72); color: #fff;
  border-radius: 30px; padding: 3px 9px;
  font-size: .68rem; font-weight: 700; letter-spacing: .3px;
  opacity: 0; transition: opacity .2s ease;
}
.estate-card:hover .estate-count { opacity: 1; }

@media (hover: none) {
  .estate-nav { opacity: .92; width: 50px; height: 50px; font-size: 2rem; }
  .estate-nav::before { inset: -14px; }
  .estate-count { opacity: 1; font-size: .74rem; padding: 4px 11px; }
}

.ssr-scheda { max-width: 768px; margin: 0 auto; padding: 1.6rem 0 2.2rem; }
.ssr-scheda h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.18; margin: 0 0 .7rem; }
.ssr-scheda .ssr-prezzo { font-size: 1.15rem; margin: 0 0 .25rem; }
.ssr-scheda .ssr-spec { color: var(--c-muted); margin: 0 0 1.1rem; }
.ssr-scheda img { width: 100%; height: auto; border-radius: 10px; margin: 0 0 1.2rem; }
.ssr-scheda p { line-height: 1.62; margin: 0 0 .9rem; }
.ssr-altri { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--c-line, #e8ded6); }
.ssr-altri h2 { font-size: 1.05rem; margin: 0 0 .6rem; }
.ssr-altri ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.ssr-altri a { color: var(--c-orange); text-decoration: none; }
.ssr-altri a:hover { text-decoration: underline; }

.dx-form form, form.dx-form { display: grid; gap: 11px; }
.dx-form label { display: grid; gap: 4px; font-size: .74rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted); }
.dx-form label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.dx-form .mod-riga { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.dx-form input[type=text], .dx-form input[type=email], .dx-form input[type=tel],
.dx-form input[type=number], .dx-form input[type=search],
.dx-form select, .dx-form textarea {
  width: 100%; padding: 12px 13px; border: 1px solid #ddd3cb; border-radius: 11px;
  font: inherit; color: var(--c-gray); background: #fff;
  text-transform: none; letter-spacing: 0;
  
  font-size: 16px;
  min-height: 46px;   
}

.dx-form select { appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a7f78' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; }
.dx-form textarea { resize: vertical; min-height: 88px; }
.dx-form :is(input, select, textarea):focus { outline: none; border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(240,140,80,.16); }
.dx-form .dx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.dx-form .dx-priv { display: flex; align-items: center; gap: 10px; text-transform: none;
  letter-spacing: 0; font-weight: 500; font-size: .78rem; line-height: 1.45; color: #6b625a;
  min-height: 44px; padding: 4px 0; }
.dx-form .dx-priv input { width: 21px; height: 21px; flex: none; accent-color: var(--c-red); }
.dx-form .dx-priv a { color: var(--c-red); text-decoration: underline; }
.dx-form button[type=submit] { margin-top: 4px; padding: 13px 22px; border: none; border-radius: 99px;
  background: linear-gradient(135deg, var(--c-red), var(--c-orange)); color: #fff;
  font-weight: 700; font-size: .95rem; cursor: pointer; transition: .2s; min-height: 48px; }
.dx-form button[type=submit]:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.04); }
.dx-form button[type=submit]:disabled { opacity: .6; cursor: default; transform: none; }
.dx-form-esito:empty { display: none; }
.dx-form-esito { font-size: .82rem; color: var(--c-red); margin: 4px 0 0; }
.dx-form-ok { font-size: .95rem; line-height: 1.55; color: var(--c-gray); background: #f2f8f1;
  border: 1px solid #cfe6cb; border-radius: 14px; padding: 20px; margin: 0; text-align: center; }

body:has(.dx-form :is(input, textarea, select):focus) :is(.dx-bar, .mobile-cta-bar, .wa-float),
body.form-attivo :is(.dx-bar, .mobile-cta-bar, .wa-float) { opacity: 0; pointer-events: none; }

.mod-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--c-border, #e9e2dc);
  border-radius: 22px;
  padding: 38px 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.mod-box .mod-testo .sec-title { text-align: left; margin: .3rem 0 .7rem; }
.mod-box .mod-testo p { color: var(--c-muted); font-size: .95rem; margin: 0 0 .9rem; line-height: 1.6; }

.mod-box ul.mod-punti { list-style: none; padding: 0; margin: 1.1rem 0 0; }
.mod-box ul.mod-punti li {
  position: relative; padding-left: 1.5rem; margin-bottom: .55rem;
  font-size: .9rem; color: var(--c-gray); line-height: 1.5;
}
.mod-box ul.mod-punti li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-red);
  font-size: 0;   
}

.art .mod-box { grid-template-columns: 1fr; gap: 22px; padding: 30px 28px; margin: 2rem 0 0; clear: both; }

@media (max-width: 860px) {
  
  .mod-box, .art .mod-box { grid-template-columns: 1fr; gap: 26px; padding: 28px 22px; }
  
  .dx-form .mod-riga { grid-template-columns: 1fr; }
}

:root {
  --btn-fs-lg: 15px;   --btn-pad-lg: 14px 28px;  --btn-h-lg: 48px;
  --btn-fs-md: 13px;   --btn-pad-md: 9px 18px;   --btn-h-md: 38px;
  --btn-fw: 700;
  --btn-tondo: 999px;
}

:is(.btn-primary, .btn-glass, .valuta-btn, .ct-btn, .mobile-menu a.mm-cta,
    .dx-form button[type=submit], .ds-more .btn-primary) {
  padding: var(--btn-pad-lg);
  font-size: var(--btn-fs-lg);
  font-weight: var(--btn-fw);
  border-radius: var(--btn-tondo);
  min-height: var(--btn-h-lg);
}

:is(.nav-cta, .chip, .chip-warm, .cookie-btn, .btn-directions) {
  padding: var(--btn-pad-md);
  font-size: var(--btn-fs-md);
  font-weight: var(--btn-fw);
  border-radius: var(--btn-tondo);
}

:is(.filters-toggle, .d-side .btn-call, .d-side .btn-wa, .d-side .btn-mail) {
  font-size: var(--btn-fs-md);
  font-weight: var(--btn-fw);
}

:is(.btn-primary, .btn-glass, .nav-cta, .ct-btn, .valuta-btn, .chip, .chip-warm,
    .btn-directions, .cookie-btn, .pc-cta, .err-btn, .dx-cta a,
    .ds-more .btn-primary):hover:not(:disabled) {
  transform: translateY(-2px);
}
:is(.btn-primary, .btn-glass, .nav-cta, .ct-btn, .valuta-btn, .chip, .chip-warm,
    .btn-directions, .cookie-btn, .pc-cta, .err-btn, .dx-cta a) {
  transition: transform .2s ease, background .2s ease, color .2s ease,
              box-shadow .2s ease, filter .2s ease, border-color .2s ease;
}

@media (max-width: 560px) {
  body .spot, body .spot.left {
    float: none; display: block;
    width: min(150px, 45%); margin: 8px auto 16px;
  }
}

@media (max-width: 640px) {
  footer { padding-left: 24px; padding-right: 24px; }
  .footer-inner { gap: 1.05rem; }
  .f-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 0.94rem; max-width: 330px; margin-inline: auto; }
  .f-links a { padding: 3px 0; }
  
  .f-copy .fc-line, .f-copy .fc-sep { display: inline; }
  .f-copy > span:nth-child(4) { display: none; }
  .f-copy > span:nth-child(5) { display: block; margin-top: 5px; }
  .f-copy { font-size: 0.72rem; line-height: 1.7; padding-top: 1.25rem; }
  .f-credit { font-size: 0.64rem !important; line-height: 1.8; opacity: .85; }
}

.fb.r { opacity: 1 !important; transform: none !important; transition: none !important; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #b3271e;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  
  .r { opacity: 1 !important; transform: none !important; }
}

@media (hover: none), (pointer: coarse) {
  *, *::before, *::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  
  html nav.scrolled, html nav.nav-solid { background: rgba(28, 21, 22, .94) !important; }
  .mobile-menu { background: rgba(255, 255, 255, .97) !important; }
  .filters { background: rgba(247, 244, 240, .96) !important; }
}
