/* ── SETTORI — page specific ── */
.page-hero {
    background: var(--hero-bg);
    padding: 10rem 3rem 6rem;
    position: relative;
    overflow: hidden;
  }
  .page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(46,163,242,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(46,163,242,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .page-hero-inner { position: relative; max-width: 900px; margin: 0 auto; }
  .eyebrow {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--teal-accent); margin-bottom: 1.2rem;
  }
  .page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 1.5rem;
  }
  .page-hero h1 em { font-style: normal; color: var(--teal-accent); }
  .page-hero-sub {
    font-size: 1.1rem; color: rgba(255,255,255,0.6); max-width: 700px; line-height: 1.75;
  }

  /* ── SECTOR TABS ── */
  .sector-nav {
    background: #0F1B3D;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 72px;
    z-index: 50;
  }
  .sector-tabs {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .sector-tabs::-webkit-scrollbar { display: none; }
  .sector-tab {
    padding: 1.1rem 1.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    text-decoration: none;
  }
  .sector-tab:hover { color: rgba(255,255,255,0.75); }
  .sector-tab.active { color: var(--teal-accent); border-bottom-color: var(--teal-accent); }

  /* ── SECTOR PANELS ── */
  .sector-panel { display: none; }
  .sector-panel.active { display: block; }

  /* ── GENERIC SECTOR LAYOUT ── */
  .sector-hero {
    padding: 5rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  .sector-hero.difesa { background: #0B1020; }
  .sector-hero.pubblica { background: #0D1B35; }
  .sector-hero.infrastrutture { background: #091A2A; }
  .sector-hero.territorio { background: #0A1F2E; }

  .sh-content .sector-icon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(46,163,242,0.1);
    border: 1px solid rgba(46,163,242,0.2);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-accent);
    margin-bottom: 1.5rem;
  }
  .sh-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  .sh-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    margin-bottom: 1.5rem;
  }
  .sh-cta {
    display: inline-block;
    background: var(--teal-accent);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
  }
  .sh-cta:hover { opacity: 0.85; }
  .sh-visual {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .sh-visual .use-cases {
    list-style: none;
    padding: 0; margin: 0;
  }
  .sh-visual .use-cases li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
  }
  .sh-visual .use-cases li:last-child { border-bottom: none; }
  .sh-visual .use-cases li .uc-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--teal-accent); flex-shrink: 0; margin-top: 0.45rem;
  }

  /* ── CORPS GRID (Pubblica Sicurezza) ── */
  .corps-section {
    padding: 4rem 3rem;
    background: #F5F7FA;
  }
  .corps-section .section-label {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--blue-primary); margin-bottom: 1rem;
  }
  .corps-section h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem; font-weight: 800;
    color: var(--dark-blue); margin-bottom: 2rem;
  }
  .corps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  .corps-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.4rem 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-align: left;
  }
  .corps-card:hover {
    border-color: var(--blue-primary);
    box-shadow: 0 4px 16px rgba(33,64,154,0.08);
  }
  .corps-card h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem; font-weight: 700;
    color: var(--dark-blue); margin-bottom: 0.4rem;
  }
  .corps-card p {
    font-size: 0.8rem; color: #5a6475; line-height: 1.55;
  }

  /* ── PLATFORMS MINI ── */
  .platforms-mini {
    padding: 4rem 3rem;
    background: var(--white);
  }
  .platforms-mini .section-label {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--blue-primary); margin-bottom: 1rem;
  }
  .platforms-mini h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem; font-weight: 800;
    color: var(--dark-blue); margin-bottom: 2rem;
  }
  .platform-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  a.platform-pill { text-decoration: none; }
  .platform-pill {
    background: #F5F7FA;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .platform-pill .pill-cat {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal-accent);
    background: rgba(46,163,242,0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
  }

  /* ── DIFFERENTIATORS ── */
  .diff-section {
    padding: 4rem 3rem;
    background: #F5F7FA;
  }
  .diff-section .section-label {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--blue-primary); margin-bottom: 1rem;
  }
  .diff-section h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem; font-weight: 800;
    color: var(--dark-blue); margin-bottom: 2rem;
  }
  .diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  .diff-item {
    background: var(--white);
    border-left: 3px solid var(--teal-accent);
    border-radius: 0 8px 8px 0;
    padding: 1.2rem 1.5rem;
  }
  .diff-item h5 {
    font-family: var(--font-heading);
    font-size: 0.88rem; font-weight: 700;
    color: var(--dark-blue); margin-bottom: 0.3rem;
  }
  .diff-item p { font-size: 0.8rem; color: #5a6475; line-height: 1.55; }

  /* ── SECTOR CTA ── */
  .sector-cta {
    padding: 4rem 3rem;
    text-align: center;
  }
  .sector-cta.dark { background: var(--hero-bg); }
  .sector-cta.light { background: var(--blue-primary); }
  .sector-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem; font-weight: 800;
    color: var(--white); margin-bottom: 0.75rem;
  }
  .sector-cta p { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-bottom: 1.8rem; }
  .btn-cta-outline {
    display: inline-block;
    border: 2px solid var(--teal-accent);
    color: var(--teal-accent);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  .btn-cta-outline:hover { background: var(--teal-accent); color: var(--white); }

  @media (max-width: 768px) {
    .sector-hero { grid-template-columns: 1fr; gap: 2rem; }
    .corps-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 480px) {
    .corps-grid { grid-template-columns: 1fr; }
  }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}