*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  :root {
    --b950: #0a0a0a;
    --b900: #1a1a1a;
    --b800: #242424;
    --b700: #333333;
    --b600: #404040;
    --b500: #595959;
    --b400: #737373;
    --b300: #8a8a8a;
    --b200: #b0b0b0;
    --b150: #cccccc;
    --b100: #e5e5e5;
    --b050: #f2f2f2;
    --feed-bg: #f5f3f0;
    --white: #ffffff;
    --text: #1a1a1a;
    --text-mid: #595959;
    --border: #dcdcdc;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: 'DM Sans', system-ui, sans-serif;

    /* Palette settoriale (allineata ai tag del logo) */
    --c-sicurezza:    #E67E22;
    --c-antincendio:  #C0392B;
    --c-energia:      #F1C40F;
    --c-impianti:     #34495E;
    --c-formazione:   #2980B9;
    --c-incentivi:    #27AE60;
  }

  body { font-family: var(--sans); background: var(--white); color: var(--text); line-height: 1.6; }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }

  .container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

  /* === Accenti cromatici settoriali (allineati alla palette del logo) ===
     Applica .is-{settore} a un elemento per agganciare il colore. La regola
     espone una custom property --acc che le regole sotto consumano. */
  .is-sicurezza   { --acc: var(--c-sicurezza); }
  .is-antincendio { --acc: var(--c-antincendio); }
  .is-energia     { --acc: var(--c-energia); }
  .is-impianti    { --acc: var(--c-impianti); }
  .is-formazione  { --acc: var(--c-formazione); }
  .is-incentivi   { --acc: var(--c-incentivi); }
  /* Service cards in #servizi: striscia top + sub-label colorata */
  .svc-block { border-top: 3px solid transparent; transition: border-color 0.2s, transform 0.2s; }
  .svc-block[class*="is-"] { border-top-color: var(--acc); }
  .svc-block[class*="is-"] .svc-sub { color: var(--acc); }
  .svc-block.is-energia .svc-sub { color: #B8930F; } /* il giallo puro è poco leggibile come testo, scendo a oro */
  /* Industries cards in #competenze */
  .ind-card { border-top: 3px solid transparent; transition: border-color 0.2s; }
  .ind-card[class*="is-"] { border-top-color: var(--acc); }
  .ind-card[class*="is-"] .ind-icon { color: var(--acc); }
  .ind-card.is-energia .ind-icon { color: #B8930F; }
  /* Modali "elaborati" e "servizi": striscia top sull'header del modal */
  .modal[class*="is-"] .modal-hd { border-top: 3px solid var(--acc); }
  .modal[class*="is-"] .mh-kicker { color: var(--acc); }
  .modal.is-energia .mh-kicker { color: #B8930F; }
  /* Footer dei modali: barra colorata */
  .modal[class*="is-"] .modal-ft { border-top: 1px solid var(--acc); }

  /* === Card dedicata ANTINCENDIO (full-width sotto la grid Settori) === */
  .ind-card-fire {
    margin-top: 1px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--c-antincendio);
    border-radius: 8px;
    padding: 36px 40px;
    position: relative;
    overflow: hidden;
  }
  .ind-card-fire::before {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0;
    width: 200px;
    background: radial-gradient(circle at 80% 50%, rgba(192,57,43,0.06), transparent 70%);
    pointer-events: none;
  }
  .ind-fire-grid {
    display: grid; grid-template-columns: auto 1fr; gap: 32px;
    align-items: start; position: relative; z-index: 1;
  }
  .ind-fire-icon-wrap { position: relative; flex-shrink: 0; }
  .ind-fire-icon {
    width: 88px; height: 88px;
    background: rgba(192,57,43,0.08);
    color: var(--c-antincendio);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
  }
  .ind-fire-icon svg { width: 44px; height: 44px; }
  .ind-fire-badge {
    position: absolute; top: -8px; right: -10px;
    background: var(--c-antincendio); color: var(--white);
    font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 9px; border-radius: 4px;
    box-shadow: 0 2px 6px rgba(192,57,43,0.25);
  }
  .ind-fire-content { min-width: 0; }
  .ind-fire-kicker {
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--c-antincendio);
    margin-bottom: 8px;
  }
  .ind-fire-h4 {
    font-family: var(--serif); font-size: 26px; font-weight: 600;
    color: var(--text); line-height: 1.25; margin-bottom: 12px;
  }
  .ind-fire-lead {
    font-size: 15px; color: var(--text-mid); line-height: 1.65;
    margin-bottom: 16px; max-width: 720px;
  }
  .ind-fire-list {
    list-style: none; display: grid;
    grid-template-columns: 1fr 1fr; gap: 8px 24px;
    font-size: 13.5px; color: var(--text);
  }
  .ind-fire-list li {
    position: relative; padding-left: 18px;
  }
  .ind-fire-list li::before {
    content: ""; position: absolute; left: 0; top: 7px;
    width: 8px; height: 8px;
    background: var(--c-antincendio);
    border-radius: 50%;
  }
  @media (max-width: 720px) {
    .ind-card-fire { padding: 24px 20px; }
    .ind-fire-grid { grid-template-columns: 1fr; gap: 16px; }
    .ind-fire-icon { width: 64px; height: 64px; }
    .ind-fire-icon svg { width: 32px; height: 32px; }
    .ind-fire-h4 { font-size: 22px; }
    .ind-fire-list { grid-template-columns: 1fr; }
  }

  /* HEADER / NAV */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
  .brand-logo { height: 144px; width: auto; flex-shrink: 0; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }
  .nav-links { display: flex; gap: 32px; align-items: center; }
  .nav-links a {
    font-size: 14px; font-weight: 500; color: var(--text);
    position: relative; padding: 4px 0; transition: color 0.2s;
  }
  .nav-links a::after {
    content: ""; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--b600);
    transition: width 0.25s ease;
  }
  .nav-links a:hover { color: var(--b600); }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta {
    background: var(--b600); color: var(--white) !important;
    padding: 10px 22px !important; border-radius: 24px;
    font-size: 13px !important; font-weight: 600 !important;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--b800); }
  .nav-cta::after { display: none !important; }

  /* HERO */
  .hero { background: var(--b050); padding: 80px 0 100px; overflow: hidden; position: relative; }
  .hero::before {
    content: ""; position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--b100) 0%, transparent 60%);
    opacity: 0.8; pointer-events: none;
  }
  .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; position: relative; }
  .hero-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--b600); margin-bottom: 20px;
  }
  .hero-kicker::before { content: ""; width: 28px; height: 2px; background: var(--b500); }
  .hero h1 {
    font-family: var(--serif);
    font-size: 56px; font-weight: 700;
    line-height: 1.1; color: var(--b950);
    margin-bottom: 24px; letter-spacing: -0.01em;
  }
  .hero h1 em { font-style: italic; color: var(--b600); font-weight: 500; }
  .hero-lead { font-size: 18px; color: var(--text-mid); line-height: 1.7; max-width: 540px; margin-bottom: 36px; }
  .hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
  .btn-primary {
    background: var(--b600); color: var(--white);
    padding: 15px 32px; border-radius: 28px;
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.04em; border: none;
    cursor: pointer; transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .btn-primary:hover { background: var(--b800); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(26,26,26,0.2); }
  .btn-secondary {
    color: var(--b600); padding: 15px 24px;
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.04em; background: transparent;
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    border: 1.5px solid var(--b600); border-radius: 28px;
    transition: all 0.2s;
  }
  .btn-secondary:hover { background: var(--b100); }

  .hero-photo {
    position: relative; aspect-ratio: 4/5;
    background: var(--b600); border-radius: 8px;
    overflow: hidden;
    box-shadow: -30px 30px 0 -10px var(--b150);
  }
  .hero-photo-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 16px;
    color: var(--b300);
  }
  .hpp-icon {
    width: 80px; height: 80px;
    border: 2px dashed var(--b400);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }
  .hpp-text { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }

  .hero-stat-card {
    position: absolute; bottom: 32px; left: -32px;
    background: var(--white); padding: 10px 18px 12px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    display: flex; flex-direction: column; gap: 4px;
    border-left: 3px solid #1A486C;
    min-width: 230px;
  }
  .hsc-name {
    font-size: 13px; font-weight: 600; color: #1A486C;
    letter-spacing: 0.01em; line-height: 1.15;
    padding-bottom: 5px; border-bottom: 1px solid var(--b100);
  }
  .hsc-name span { color: var(--text-mid); font-weight: 500; font-size: 11px; }
  .hsc-row { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
  .hsc-num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--b600); line-height: 0.95; }
  .hsc-lbl { font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid); line-height: 1.3; }
  .hsc-lbl strong { display: block; color: var(--b950); font-size: 11px; margin-bottom: 1px; letter-spacing: 0.04em; }

  /* TRUST BAR */
  .trust-bar { background: var(--b950); padding: 24px 0; }
  .trust-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: center; }
  .trust-item {
    display: flex; flex-direction: column; gap: 2px;
    text-align: center;
    border-right: 1px solid var(--b900);
    padding: 0 14px;
  }
  .trust-item:last-child { border-right: none; }
  .trust-num { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--white); line-height: 1; }
  .trust-lbl { font-size: 10.5px; color: var(--b300); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; line-height: 1.35; }

  /* SERVICES */
  .services { padding: 100px 0; background: var(--white); }
  .section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
  .section-kicker {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--b600); margin-bottom: 16px;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .section-kicker::before, .section-kicker::after { content: ""; width: 24px; height: 1px; background: var(--b300); }
  .section-title {
    font-family: var(--serif); font-size: 44px; font-weight: 600;
    color: var(--b950); line-height: 1.2;
    margin-bottom: 16px; letter-spacing: -0.01em;
  }
  .section-sub { font-size: 16px; color: var(--text-mid); line-height: 1.7; }

  .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .svc-block {
    background: var(--white); padding: 36px 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    position: relative; overflow: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
    /* Per quando svc-block è un <a> tag (link verso pagine settore) */
    display: block; text-decoration: none; color: inherit;
  }
  .svc-block::before {
    content: ""; position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--b600);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s ease;
  }
  .svc-block:hover {
    border-color: var(--b300);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  }
  .svc-block:hover::before { transform: scaleX(1); }
  .svc-big-num {
    font-family: var(--serif); font-size: 56px; font-weight: 700;
    color: var(--b100); line-height: 1; margin-bottom: 12px;
    user-select: none; letter-spacing: -0.02em;
  }
  .svc-block:hover .svc-big-num { color: var(--b300); }
  .svc-sub {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--b600); margin-bottom: 10px;
  }
  .svc-h3 {
    font-family: var(--serif); font-size: 24px; font-weight: 600;
    color: var(--b950); margin-bottom: 14px; line-height: 1.25;
  }
  .svc-block p { font-size: 14.5px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; }
  .svc-more {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--b600);
    display: inline-flex; align-items: center; gap: 8px;
    transition: gap 0.2s;
  }
  .svc-block:hover .svc-more { gap: 12px; }

  /* ABOUT */
  .about { padding: 100px 0; background: var(--feed-bg); position: relative; }
  .about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
  .about-visual {
    position: relative;
    aspect-ratio: 1 / 1.1;
    background: var(--b600);
    border-radius: 8px;
    overflow: hidden;
  }
  .about-exp-badge {
    position: absolute; top: 30px; left: -30px;
    background: var(--white);
    padding: 18px 22px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    border-top: 3px solid var(--b600);
  }
  .about-exp-badge .n { font-family: var(--serif); font-size: 38px; font-weight: 700; color: var(--b600); line-height: 1; }
  .about-exp-badge .l { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--b950); margin-top: 4px; }

  .about-content h2 {
    font-family: var(--serif); font-size: 42px; font-weight: 600;
    color: var(--b950); line-height: 1.2;
    margin-bottom: 20px; letter-spacing: -0.01em;
  }
  .about-content > p { font-size: 16px; color: var(--text-mid); line-height: 1.75; margin-bottom: 14px; }
  .about-highlights {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; margin-top: 32px;
    padding-top: 32px; border-top: 1px solid var(--border);
  }
  .about-hl h4 {
    font-family: var(--serif); font-size: 18px; font-weight: 600;
    color: var(--b600); margin-bottom: 8px;
    display: flex; align-items: center; gap: 10px;
  }
  .about-hl h4::before { content: ""; width: 18px; height: 2px; background: var(--b500); }
  .about-hl p { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; }

  /* INDUSTRIES */
  .industries { padding: 100px 0; background: var(--white); }
  .ind-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden;
  }
  .ind-card {
    background: var(--white); padding: 40px 32px;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .ind-card:hover { background: var(--b050); }
  .ind-icon {
    width: 56px; height: 56px;
    border-radius: 8px;
    background: var(--b100);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    transition: all 0.25s ease;
  }
  .ind-card:hover .ind-icon { background: var(--b600); }
  .ind-icon svg { width: 26px; height: 26px; stroke: var(--b600); transition: stroke 0.25s; }
  .ind-card:hover .ind-icon svg { stroke: var(--white); }
  .ind-card h4 {
    font-family: var(--serif); font-size: 22px; font-weight: 600;
    color: var(--b950); margin-bottom: 10px; line-height: 1.3;
  }
  .ind-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

  /* TESTIMONIALS */
  .testimonials { padding: 100px 0; background: var(--b950); position: relative; overflow: hidden; }
  .testimonials::before {
    content: "\201D"; position: absolute;
    top: -40px; right: 60px;
    font-family: var(--serif); font-size: 400px;
    color: var(--b900); line-height: 1;
    pointer-events: none;
  }
  .testimonials .section-head { position: relative; }
  .testimonials .section-title { color: var(--white); }
  .testimonials .section-kicker { color: var(--b300); }
  .testimonials .section-kicker::before, .testimonials .section-kicker::after { background: var(--b700); }
  .testimonials .section-sub { color: var(--b200); }
  .t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; position: relative; }
  .t-grid > .t-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 14px);
    justify-self: center;
  }
  .t-card {
    background: var(--b900); padding: 40px 36px;
    border-radius: 8px;
    border: 1px solid var(--b800);
    display: flex; flex-direction: column; gap: 20px;
  }
  .t-quote {
    font-family: var(--serif); font-size: 18px;
    color: var(--b150); line-height: 1.7;
    font-style: italic; font-weight: 400;
  }
  .t-author {
    display: flex; align-items: center; gap: 14px;
    padding-top: 20px; border-top: 1px solid var(--b800);
  }
  .t-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--b600); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 14px; flex-shrink: 0;
  }
  .t-name { font-weight: 600; font-size: 14px; color: var(--white); }
  .t-role { font-size: 12px; color: var(--b300); margin-top: 2px; }

  /* SKILLS */
  .skills { padding: 100px 0; background: var(--white); }
  .skills-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
  .skills-left h2 {
    font-family: var(--serif); font-size: 40px; font-weight: 600;
    color: var(--b950); line-height: 1.2;
    margin-bottom: 20px; letter-spacing: -0.01em;
  }
  .skills-left > p { font-size: 16px; color: var(--text-mid); line-height: 1.75; margin-bottom: 24px; }
  .skill-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .skill-pill {
    font-size: 12px; font-weight: 500;
    padding: 7px 14px; border-radius: 16px;
    background: var(--b050); color: var(--b700);
    border: 1px solid var(--b150);
  }
  .skill-bars { display: flex; flex-direction: column; gap: 24px; }
  .skill-bar .sb-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 10px;
  }
  .sb-name { font-size: 14px; font-weight: 600; color: var(--b950); }
  .sb-pct { font-size: 12px; font-weight: 600; color: var(--b600); letter-spacing: 0.06em; }
  .sb-track { height: 6px; background: var(--b100); border-radius: 3px; overflow: hidden; }
  .sb-fill { height: 100%; background: var(--b600); border-radius: 3px; transition: width 1s ease; }

  /* CTA */
  .cta-section { padding: 80px 0; background: var(--b600); position: relative; overflow: hidden; }
  .cta-section::before {
    content: ""; position: absolute;
    top: -100px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--b500) 0%, transparent 70%);
    opacity: 0.4; pointer-events: none;
  }
  .cta-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; position: relative; }
  .cta-kicker {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--b200); margin-bottom: 14px;
  }
  .cta-title {
    font-family: var(--serif); font-size: 42px; font-weight: 600;
    color: var(--white); line-height: 1.2; letter-spacing: -0.01em;
  }
  .cta-right { text-align: right; }
  .cta-btn-lg {
    background: var(--white); color: var(--b600);
    padding: 18px 36px; border-radius: 32px;
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.06em;
    display: inline-flex; align-items: center; gap: 12px;
    transition: all 0.2s;
    border: none; cursor: pointer;
  }
  .cta-btn-lg:hover { background: var(--b950); color: var(--white); transform: translateY(-2px); }
  .cta-sub { font-size: 13px; color: var(--b200); margin-top: 16px; }

  /* CONTACT */
  .contact-sec { padding: 100px 0; background: var(--feed-bg); }
  .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
  .contact-info h3 {
    font-family: var(--serif); font-size: 34px; font-weight: 600;
    color: var(--b950); line-height: 1.25; margin-bottom: 16px;
  }
  .contact-info > p { font-size: 15.5px; color: var(--text-mid); line-height: 1.75; margin-bottom: 32px; }
  .c-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
  .c-item { display: flex; gap: 16px; align-items: flex-start; }
  .c-ic {
    width: 42px; height: 42px;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .c-ic svg { width: 18px; height: 18px; stroke: var(--b600); }
  .c-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--b600); margin-bottom: 3px; }
  .c-val { font-size: 14.5px; color: var(--b950); font-weight: 500; }
  .c-val a { color: var(--b600); }
  .c-val a:hover { color: var(--b800); }

  .contact-form {
    background: var(--white); padding: 40px;
    border-radius: 8px; border: 1px solid var(--border);
  }
  .contact-form h4 {
    font-family: var(--serif); font-size: 22px; font-weight: 600;
    color: var(--b950); margin-bottom: 6px;
  }
  .contact-form .form-sub { font-size: 13px; color: var(--text-mid); margin-bottom: 24px; }
  .form-field { margin-bottom: 16px; }
  .form-field label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--b600); margin-bottom: 6px; }
  .form-field input, .form-field textarea, .form-field select {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--sans); font-size: 14px;
    color: var(--b950); background: var(--white);
    transition: border-color 0.2s;
  }
  .form-field input:focus, .form-field textarea:focus, .form-field select:focus {
    outline: none; border-color: var(--b600); box-shadow: 0 0 0 3px rgba(64,64,64,0.12);
  }
  .form-field textarea { resize: vertical; min-height: 90px; }
  .form-submit {
    width: 100%; background: var(--b600); color: var(--white);
    padding: 14px; border-radius: 28px;
    font-size: 14px; font-weight: 600;
    letter-spacing: 0.06em; border: none;
    cursor: pointer; transition: background 0.2s;
    margin-top: 8px;
  }
  .form-submit:hover { background: var(--b800); }

  /* FOOTER */
  footer { background: var(--b950); color: var(--b200); padding: 60px 0 0; }
  .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--b900); }
  .footer-logo { background: var(--white); padding: 14px 18px; border-radius: 8px; display: inline-block; margin-bottom: 18px; }
  .footer-logo img { height: 110px; width: auto; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }
  .footer-about { font-size: 14px; color: var(--b300); line-height: 1.75; max-width: 320px; }
  .footer-col h5 {
    font-family: var(--serif); font-size: 16px; font-weight: 600;
    color: var(--white); margin-bottom: 18px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col a { font-size: 13.5px; color: var(--b300); transition: color 0.2s; }
  .footer-col a:hover { color: var(--white); }
  .footer-bottom {
    padding: 22px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; color: var(--b400);
  }
  .footer-bottom a { color: var(--b300); }

  /* MODALS */
  .modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 25, 51, 0.82);
    backdrop-filter: blur(6px);
    display: none; align-items: flex-start; justify-content: center;
    z-index: 1000; padding: 40px 20px;
    overflow-y: auto; animation: fadeIn 0.2s ease;
  }
  .modal-overlay.active { display: flex; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .modal {
    background: var(--white); width: 100%; max-width: 780px;
    border-radius: 12px; overflow: hidden;
    display: none; flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    animation: slideUp 0.3s ease; margin: auto 0;
  }
  .modal.active { display: flex; }
  @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
  .modal-hd { background: var(--b600); padding: 28px 36px; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
  .mh-kicker { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--b200); margin-bottom: 8px; }
  .mh-title { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--white); line-height: 1.15; }
  .mh-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--b400); background: transparent; color: var(--white); cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: all 0.2s; }
  .mh-close:hover { background: var(--b800); border-color: var(--b300); }
  .modal-bd { padding: 32px 36px; max-height: 70vh; overflow-y: auto; }
  .mb-lead { font-size: 15.5px; line-height: 1.75; color: var(--text); margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
  .mb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; margin-bottom: 24px; }
  .mb-block-lbl { font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--b600); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
  .mb-block-lbl::before { content: ""; width: 18px; height: 2px; background: var(--b500); border-radius: 2px; }
  .mb-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
  .mb-list li { font-size: 13px; color: var(--b950); line-height: 1.6; padding-left: 18px; position: relative; }
  .mb-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--b500); }
  .mb-list li strong { font-weight: 600; color: var(--b600); }
  .mb-projects { background: var(--b050); border-left: 3px solid var(--b500); padding: 18px 22px; border-radius: 0 6px 6px 0; margin-bottom: 24px; }
  .mp-ttl { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--b600); margin-bottom: 12px; }
  .mp-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
  .mp-list li { font-size: 13px; color: var(--b950); line-height: 1.55; }
  .mp-list li strong { color: var(--b600); font-weight: 600; }
  .mb-regs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .mb-reg { font-size: 11px; font-weight: 500; padding: 5px 11px; border-radius: 12px; background: var(--b100); color: var(--b700); border: 1px solid var(--b150); }
  .modal-ft { background: var(--b050); padding: 18px 36px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
  .mf-text { font-size: 12px; color: var(--text-mid); flex: 1 1 auto; min-width: 180px; }
  .mf-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .mf-link { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--acc, var(--b600)); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: opacity 0.2s; }
  .mf-link:hover { opacity: 0.7; }
  .mf-btn { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; padding: 10px 20px; border-radius: 20px; background: var(--b600); color: var(--white); text-decoration: none; border: none; cursor: pointer; transition: background 0.2s; }
  .mf-btn:hover { background: var(--b800); }
  @media (max-width: 600px) {
    .modal-ft { flex-direction: column; align-items: stretch; padding: 16px 20px; }
    .mf-actions { justify-content: space-between; width: 100%; }
  }


  /* PORTFOLIO */
  .portfolio { padding: 100px 0; background: var(--b050); }
  .pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .pf-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; overflow: hidden;
    transition: all 0.25s ease; cursor: pointer;
    display: flex; flex-direction: column;
  }
  .pf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--b300);
  }
  .pf-illus {
     background: var(--b050);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    padding: 20px; overflow: hidden; position: relative;
    aspect-ratio: 210 / 297;
  }
.pf-illus > img, .pf-illus > svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block; object-fit: contain; object-position: center;
  }
  .pf-illus { position: relative; overflow: hidden; }

  .pf-illus svg { width: 100%; height: 100%; max-height: 100%; }
  .pf-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
  .pf-tag {
    display: inline-block; font-size: 10px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--b600); margin-bottom: 10px;
  }
  .pf-title {
    font-family: var(--serif); font-size: 20px; font-weight: 600;
    color: var(--b950); line-height: 1.3; margin-bottom: 10px;
  }
  .pf-desc { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; margin-bottom: 18px; flex: 1; }
  .pf-link {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--b700); display: inline-flex; align-items: center; gap: 8px;
    transition: gap 0.2s;
  }
  .pf-card:hover .pf-link { gap: 12px; }

  /* A3 landscape sub-section */
  .pf-subsection-divider {
    margin: 72px 0 40px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    text-align: center;
  }
  .pf-subsection-kicker {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--b600); margin-bottom: 10px;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .pf-subsection-kicker::before,
  .pf-subsection-kicker::after {
    content: ''; width: 24px; height: 1px; background: var(--b400);
  }
  .pf-subsection-title {
    font-family: var(--serif); font-size: 26px; font-weight: 600;
    color: var(--b950); margin-bottom: 10px; line-height: 1.25;
  }
  .pf-subsection-sub {
    font-size: 14px; color: var(--text-mid);
    line-height: 1.6; max-width: 640px; margin: 0 auto;
    font-family: var(--serif); font-style: italic;
  }
  .pf-grid-landscape {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  }
  .pf-grid-landscape .pf-illus {
    aspect-ratio: 297 / 210;
  }
  .pf-placeholder-badge {
    position: absolute; top: 14px; right: 14px;
    font-size: 9px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--b600); background: var(--white);
    padding: 5px 10px; border-radius: 3px;
    border: 1px solid var(--border);
    z-index: 2;
  }
  .pf-card.is-placeholder {
    cursor: default;
  }
  .pf-card.is-placeholder:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
  }
  .pf-card.is-placeholder .pf-link {
    color: var(--b500);
    font-style: italic;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 500;
  }

  /* SOCIAL FOOTER */
  .social-strip {
    background: var(--b900);
    padding: 28px 0;
    border-top: 1px solid var(--b800);
  }
  .social-wrap {
    display: flex; flex-direction: column;
    align-items: center; gap: 18px;
  }
  .social-row { display: flex; gap: 10px; }
  .social-btn {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--b800);
    display: flex; align-items: center; justify-content: center;
    color: var(--b200);
    transition: all 0.2s;
    border: 1px solid transparent;
  }
  .social-btn:hover {
    background: var(--b600);
    color: var(--white);
    transform: translateY(-2px);
  }
  .social-btn svg { width: 18px; height: 18px; }
  .legal-row {
    display: flex; gap: 0; align-items: center; flex-wrap: wrap;
    justify-content: center;
  }
  .legal-row a {
    font-size: 12px; color: var(--b300);
    padding: 0 14px; transition: color 0.2s;
    position: relative;
  }
  .legal-row a:not(:last-child)::after {
    content: ''; position: absolute; right: -1px; top: 50%;
    transform: translateY(-50%); width: 1px; height: 11px;
    background: var(--b700);
  }
  .legal-row a:hover { color: var(--white); }

  @media (max-width: 960px) {
    .pf-grid { grid-template-columns: 1fr; }
    .pf-grid-landscape { grid-template-columns: 1fr; }
    .pf-subsection-divider { margin: 56px 0 28px; padding-top: 36px; }
    .pf-subsection-title { font-size: 22px; }
    .portfolio { padding: 60px 0; }
    .articles-grid { grid-template-columns: 1fr; }
    .books-row { grid-template-columns: 1fr; }
    .press { padding: 60px 0; }
    .social-row { flex-wrap: wrap; justify-content: center; }
    .legal-row { gap: 8px; }
    .legal-row a { padding: 0 10px; font-size: 11px; }
  }


  /* DIVULGAZIONE */
  .press { padding: 100px 0; background: var(--feed-bg); }

  .press-outlets {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px; margin: 0 auto 56px; max-width: 860px;
  }
  .outlet-tag {
    font-size: 12px; font-weight: 500;
    padding: 8px 16px; border-radius: 20px;
    background: var(--white); color: var(--b800);
    border: 1px solid var(--border);
    font-family: var(--serif); font-style: italic;
  }
  .outlet-tag strong { font-style: normal; font-weight: 700; color: var(--b950); }

  .articles-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-bottom: 56px;
  }
  .article-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; padding: 28px 28px 24px;
    display: flex; flex-direction: column;
    transition: all 0.2s ease;
    cursor: pointer;
  }
  .article-card:hover {
    border-color: var(--b400);
    box-shadow: 0 16px 32px rgba(0,0,0,0.06);
    transform: translateY(-2px);
  }
  .article-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
  }
  .article-outlet {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--b800);
  }
  .article-date {
    font-size: 10.5px; color: var(--text-mid);
    font-style: italic; font-family: var(--serif);
  }
  .article-title {
    font-family: var(--serif); font-size: 18px; font-weight: 600;
    color: var(--b950); line-height: 1.35;
    margin-bottom: 10px; flex: 1;
  }
  .article-blurb {
    font-size: 13px; color: var(--text-mid);
    line-height: 1.6; margin-bottom: 14px;
  }
  .article-link {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--b700);
    display: inline-flex; align-items: center; gap: 6px;
    transition: gap 0.2s;
  }
  .article-card:hover .article-link { gap: 10px; }

  .books-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
  }
  .books-head {
    grid-column: 1 / -1;
    text-align: center; margin-bottom: 8px;
  }
  .books-kicker {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--b600); margin-bottom: 8px;
  }
  .books-title {
    font-family: var(--serif); font-size: 24px; font-weight: 600;
    color: var(--b950);
  }
  .book-card {
    display: grid; grid-template-columns: 96px 1fr;
    gap: 20px; align-items: center;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; padding: 20px 24px 20px 20px;
  }
  .book-cover {
    aspect-ratio: 3/4; background: var(--b900);
    border-radius: 4px; padding: 14px 10px;
    color: var(--white);
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative; overflow: hidden;
  }
  .book-cover::before {
    content: ''; position: absolute; left: 0; top: 0;
    width: 4px; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.1), transparent);
  }
  .book-cover-head {
    font-size: 7px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--b300);
  }
  .book-cover-ttl {
    font-family: var(--serif); font-size: 10px;
    line-height: 1.25; font-weight: 600;
  }
  .book-cover-ftr {
    font-size: 7px; color: var(--b400);
    font-style: italic; font-family: var(--serif);
  }
  .book-cover-img {
    padding: 0;
    background: var(--white);
  }
  .book-cover-img::before { display: none; }
  .book-cover-img img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block; border-radius: 3px;
  }
  .book-info .book-tag {
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--b600); margin-bottom: 6px;
  }
  .book-info h4 {
    font-family: var(--serif); font-size: 16px; font-weight: 600;
    color: var(--b950); line-height: 1.35; margin-bottom: 6px;
  }
  .book-info p {
    font-size: 12.5px; color: var(--text-mid);
    line-height: 1.55; margin-bottom: 8px;
  }
  .book-info .book-meta {
    font-size: 11px; color: var(--text-mid);
    font-style: italic; font-family: var(--serif);
  }

  .press-cta {
    margin-top: 48px; text-align: center;
    padding: 28px; background: var(--white);
    border-radius: 8px; border: 1px solid var(--border);
  }
  .press-cta p {
    font-family: var(--serif); font-size: 18px;
    color: var(--b900); line-height: 1.6;
    margin-bottom: 16px; font-style: italic;
  }
  .press-cta a {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--b700);
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border: 1.5px solid var(--b700);
    border-radius: 22px; transition: all 0.2s;
  }
  .press-cta a:hover { background: var(--b900); color: var(--white); border-color: var(--b900); }


  /* ARCHIVE / BLOG */
  .archive { padding: 100px 0; background: var(--white); }

  .archive-tools {
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px; margin-bottom: 40px; flex-wrap: wrap;
    padding-bottom: 24px; border-bottom: 1px solid var(--border);
  }
  .archive-filters { display: flex; gap: 6px; flex-wrap: wrap; }
  .filter-btn {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 8px 16px; border-radius: 18px;
    background: transparent; color: var(--text-mid);
    border: 1px solid var(--border);
    cursor: pointer; transition: all 0.2s;
    font-family: var(--sans);
  }
  .filter-btn:hover { color: var(--b900); border-color: var(--b600); }
  .filter-btn.active {
    background: var(--b900); color: var(--white);
    border-color: var(--b900);
  }
  .archive-count {
    font-size: 12px; color: var(--text-mid);
    font-style: italic; font-family: var(--serif);
  }
  .archive-count strong { color: var(--b900); font-weight: 700; font-style: normal; }

  .archive-list {
    display: flex; flex-direction: column; gap: 0;
  }
  .archive-item {
    display: grid; grid-template-columns: 110px 1fr auto;
    gap: 28px; align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
    transition: padding 0.2s;
    text-decoration: none;
  }
  .archive-item:first-child { border-top: 1px solid var(--border); }
  .archive-item:hover {
    padding-left: 12px; padding-right: 12px;
    background: var(--b050);
  }
  .ai-date {
    font-family: var(--serif); font-size: 12px;
    color: var(--text-mid); font-style: italic;
    letter-spacing: 0.02em;
  }
  .ai-date strong {
    display: block; font-style: normal;
    font-size: 26px; font-weight: 700;
    color: var(--b900); line-height: 1;
    margin-bottom: 4px;
  }
  .ai-body { min-width: 0; }
  .ai-topbar {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 6px;
  }
  .ai-outlet {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--b800);
  }
  .ai-cat {
    font-size: 9.5px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 10px;
    background: var(--b050); color: var(--b700);
    border: 1px solid var(--b150);
  }
  .ai-title {
    font-family: var(--serif); font-size: 19px;
    font-weight: 600; color: var(--b950);
    line-height: 1.35; margin-bottom: 6px;
  }
  .ai-blurb {
    font-size: 13.5px; color: var(--text-mid);
    line-height: 1.6;
  }
  .ai-arrow {
    font-size: 13px; font-weight: 600;
    color: var(--b700);
    opacity: 0.5; transition: all 0.2s;
  }
  .archive-item:hover .ai-arrow { opacity: 1; transform: translateX(4px); }

  .archive-footer {
    margin-top: 48px; padding: 32px 36px;
    background: var(--b050); border-radius: 8px;
    display: grid; grid-template-columns: 1fr auto;
    gap: 24px; align-items: center;
  }
  .archive-footer-txt {
    font-family: var(--serif); font-size: 16px;
    color: var(--b900); line-height: 1.55;
  }
  .archive-footer-txt strong { font-weight: 700; }
  .archive-footer-btn {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 12px 24px; border-radius: 22px;
    background: var(--b900); color: var(--white);
    transition: all 0.2s; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .archive-footer-btn:hover { background: var(--b700); }

  .hidden { display: none !important; }

  @media (max-width: 760px) {
    .archive-item {
      grid-template-columns: 1fr;
      gap: 10px; padding: 20px 0;
    }
    .archive-item:hover { padding-left: 0; padding-right: 0; background: transparent; }
    .ai-date { display: flex; align-items: baseline; gap: 10px; }
    .ai-date strong { font-size: 20px; display: inline; }
    .ai-arrow { display: none; }
    .archive-footer { grid-template-columns: 1fr; text-align: center; }
    .archive-tools { flex-direction: column; align-items: flex-start; }
  }

  @media (max-width: 960px) {
    .archive { padding: 60px 0; }
  }


  /* SCHOOLS SPOTLIGHT */
  .schools-spot {
    padding: 90px 0;
    background: var(--b950);
    color: var(--white);
    position: relative; overflow: hidden;
  }
  .schools-spot::before {
    content: ''; position: absolute;
    top: -150px; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--b800) 0%, transparent 65%);
    opacity: 0.6; pointer-events: none;
  }
  .ss-grid {
    display: grid; grid-template-columns: 0.9fr 1.1fr;
    gap: 60px; align-items: center;
    position: relative;
  }
  .ss-left .section-kicker { color: var(--b300); }
  .ss-left .section-kicker::before { background: var(--b600); }
  .ss-left h2 {
    font-family: var(--serif); font-size: 40px; font-weight: 600;
    color: var(--white); line-height: 1.2;
    margin-bottom: 20px; letter-spacing: -0.01em;
  }
  .ss-lead {
    font-size: 16px; color: var(--b200);
    line-height: 1.75; margin-bottom: 20px;
  }
  .ss-lead strong { color: var(--white); font-weight: 600; }

  .ss-numbers {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; margin-top: 28px;
    border-top: 1px solid var(--b800);
    padding-top: 24px;
  }
  .ss-num {
    text-align: left; padding-right: 20px;
  }
  .ss-num .n {
    font-family: var(--serif); font-size: 38px; font-weight: 700;
    color: var(--white); line-height: 1; display: block;
    margin-bottom: 6px;
  }
  .ss-num .l {
    font-size: 10px; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--b300); line-height: 1.5;
  }

  .ss-right {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .ss-card {
    background: var(--b900); border: 1px solid var(--b800);
    padding: 24px; border-radius: 8px;
    transition: border-color 0.25s;
  }
  .ss-card:hover { border-color: var(--b600); }
  .ss-card-ic {
    width: 38px; height: 38px; border-radius: 6px;
    background: var(--b800);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
  }
  .ss-card-ic svg { width: 18px; height: 18px; stroke: var(--b300); }
  .ss-card h4 {
    font-family: var(--serif); font-size: 15px; font-weight: 600;
    color: var(--white); margin-bottom: 6px; line-height: 1.3;
  }
  .ss-card p {
    font-size: 12.5px; color: var(--b200);
    line-height: 1.6;
  }

  @media (max-width: 960px) {
    .schools-spot { padding: 60px 0; }
    .ss-grid { grid-template-columns: 1fr; gap: 40px; }
    .ss-left h2 { font-size: 28px; }
    .ss-numbers { grid-template-columns: 1fr 1fr; gap: 16px; }
    .ss-right { grid-template-columns: 1fr; }
  }



  /* X TICKER */
  .xticker { padding: 90px 0 70px; background: var(--feed-bg); overflow: hidden; }
  .xticker-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    gap: 40px; margin-bottom: 36px; flex-wrap: wrap;
  }
  .xticker-headline { max-width: 640px; }
  .xticker-headline .section-kicker { justify-content: flex-start; }
  .xticker-headline h2 {
    font-family: var(--serif); font-size: 40px; font-weight: 600;
    color: var(--b950); line-height: 1.2;
    margin-bottom: 12px; letter-spacing: -0.01em;
  }
  .xticker-headline p {
    font-size: 15.5px; color: var(--text-mid);
    line-height: 1.7;
  }
  .xticker-cta {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 22px; border-radius: 22px;
    background: var(--b900); color: var(--white);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    transition: all 0.2s; white-space: nowrap;
  }
  .xticker-cta:hover { background: var(--b700); transform: translateY(-1px); }
  .xticker-cta svg { width: 14px; height: 14px; fill: currentColor; }

  /* The viewport: no overflow, mask at the edges */
  .ticker-viewport {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 60px, black calc(100% - 60px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, black 60px, black calc(100% - 60px), transparent 100%);
  }
  /* Track: flex row, animated left */
  .ticker-track {
    display: flex; gap: 20px; width: max-content;
    animation: tick-scroll 70s linear infinite;
  }
  .ticker-viewport:hover .ticker-track { animation-play-state: paused; }
  @keyframes tick-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* Ticker card (fixed width so loop math is consistent) */
  .tpost {
    flex: 0 0 auto;
    width: 360px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 22px 18px;
    display: flex; flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
    text-decoration: none;
    min-height: 210px;
  }
  .tpost:hover {
    border-color: var(--b500);
    transform: translateY(-2px);
  }
  .tpost-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .tpost-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--b900); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-weight: 700; font-size: 15px;
    flex-shrink: 0;
  }
  .tpost-ident { flex: 1; min-width: 0; line-height: 1.3; }
  .tpost-name {
    font-size: 13px; font-weight: 700;
    color: var(--b950);
    display: flex; align-items: center; gap: 4px;
  }
  .tpost-verified { width: 13px; height: 13px; fill: var(--b700); flex-shrink: 0; }
  .tpost-handle { font-size: 11.5px; color: var(--text-mid); }
  .tpost-logo { color: var(--b900); flex-shrink: 0; }
  .tpost-logo svg { width: 16px; height: 16px; fill: currentColor; }
  .tpost-body {
    font-size: 13.5px; color: var(--b900);
    line-height: 1.55; margin-bottom: 12px; flex: 1;
  }
  .tpost-hash { color: var(--b700); font-weight: 500; }
  .tpost-foot {
    display: flex; justify-content: space-between; align-items: center;
    gap: 10px; padding-top: 10px;
    border-top: 1px solid var(--border);
  }
  .tpost-date { font-size: 11px; color: var(--text-mid); font-family: var(--serif); font-style: italic; }
  .tpost-metrics { display: flex; gap: 12px; }
  .tpost-m {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 11px; color: var(--text-mid);
    font-variant-numeric: tabular-nums;
  }
  .tpost-m svg { width: 12px; height: 12px; stroke: var(--text-mid); }

  .xticker-footer {
    margin-top: 40px;
    padding: 22px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: grid; grid-template-columns: auto 1fr auto;
    gap: 20px; align-items: center;
  }
  .xtf-ic {
    width: 46px; height: 46px;
    background: var(--b900); color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
  }
  .xtf-ic svg { width: 20px; height: 20px; fill: currentColor; }
  .xtf-txt { font-size: 13px; color: var(--text); line-height: 1.5; }
  .xtf-txt strong { color: var(--b950); font-weight: 700; }
  .xtf-btn {
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    padding: 10px 20px; border-radius: 22px;
    border: 1.5px solid var(--b900); color: var(--b900);
    background: transparent;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.2s; white-space: nowrap;
  }
  .xtf-btn:hover { background: var(--b900); color: var(--white); }

  @media (max-width: 960px) {
    .xticker { padding: 60px 0 50px; }
    .xticker-head { flex-direction: column; align-items: flex-start; }
    .xticker-headline h2 { font-size: 28px; }
    .tpost { width: 300px; }
    .xticker-footer { grid-template-columns: 1fr; text-align: center; }
    .xtf-ic { margin: 0 auto; }
  }


  /* MOODLE / COURSES */
  .moodle { padding: 100px 0; background: var(--b950); color: var(--white); overflow: hidden; }
  .moodle-grid {
    display: grid; grid-template-columns: 0.9fr 1.1fr;
    gap: 60px; align-items: center;
  }
  .moodle-left .section-kicker { color: var(--b300); justify-content: flex-start; }
  .moodle-left .section-kicker::before, .moodle-left .section-kicker::after { background: var(--b600); }
  .moodle-left h2 {
    font-family: var(--serif); font-size: 40px; font-weight: 600;
    color: var(--white); line-height: 1.2;
    margin-bottom: 20px; letter-spacing: -0.01em;
  }
  .moodle-left > p {
    font-size: 16px; color: var(--b200);
    line-height: 1.75; margin-bottom: 20px;
  }
  .moodle-left > p strong { color: var(--white); font-weight: 600; }
  .moodle-btn-row {
    display: flex; gap: 14px; flex-wrap: wrap;
    margin-top: 32px;
  }
  .moodle-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 28px; border-radius: 26px;
    background: var(--white); color: var(--b950);
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    transition: all 0.2s;
  }
  .moodle-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.3); }
  .moodle-btn svg { width: 16px; height: 16px; stroke: currentColor; }
  .moodle-btn-sec {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 28px; border-radius: 26px;
    background: transparent; color: var(--white);
    border: 1.5px solid var(--b600);
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    transition: all 0.2s;
  }
  .moodle-btn-sec:hover { background: var(--b900); border-color: var(--b400); }

  .moodle-ribbon {
    display: inline-block;
    font-size: 10.5px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 3px;
    background: rgba(255,255,255,0.08);
    color: var(--b300);
    margin-bottom: 16px;
    border: 1px solid var(--b800);
  }

  .moodle-visual {
    position: relative;
    background: linear-gradient(135deg, var(--b900) 0%, var(--b800) 100%);
    border-radius: 12px;
    padding: 36px;
    border: 1px solid var(--b800);
  }
  .moodle-mock {
    background: var(--b900); border: 1px solid var(--b700);
    border-radius: 10px; overflow: hidden;
  }
  .mm-bar {
    background: var(--b800); padding: 10px 16px;
    display: flex; align-items: center; gap: 8px;
    border-bottom: 1px solid var(--b700);
  }
  .mm-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--b700); }
  .mm-url {
    flex: 1; text-align: center; padding: 4px 12px;
    background: var(--b950); border-radius: 10px;
    font-size: 11px; color: var(--b300); letter-spacing: 0.02em;
    font-family: 'SF Mono', 'Courier New', monospace;
  }
  .mm-body { padding: 22px 26px; }
  .mm-h4 {
    font-family: var(--serif); font-size: 16px; font-weight: 600;
    color: var(--white); margin-bottom: 4px;
  }
  .mm-sub {
    font-size: 11px; color: var(--b300);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 18px;
  }
  .mm-course-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .mm-course {
    display: grid; grid-template-columns: 28px 1fr auto;
    gap: 12px; align-items: center;
    padding: 10px 14px;
    background: var(--b950); border-radius: 6px;
    border-left: 2px solid var(--b600);
  }
  .mm-course-ic {
    width: 24px; height: 24px; border-radius: 4px;
    background: var(--b800); color: var(--b300);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 10px; font-weight: 700;
  }
  .mm-course-t { font-size: 12.5px; color: var(--white); font-weight: 500; line-height: 1.3; }
  .mm-course-s { font-size: 10px; color: var(--b400); margin-top: 2px; }
  .mm-course-h {
    font-size: 10px; font-weight: 600;
    padding: 3px 8px; border-radius: 10px;
    letter-spacing: 0.08em; text-transform: uppercase;
  }
  .mm-open { background: rgba(255,255,255,0.12); color: var(--b150); }
  .mm-soon { background: transparent; color: var(--b400); border: 1px solid var(--b700); }

  /* GALLERY — posters A4 */
  .gallery-section { padding: 100px 0; background: var(--white); }
  .gallery-filters {
    display: flex; gap: 6px; flex-wrap: wrap;
    justify-content: center; margin-bottom: 40px;
  }
  .gfilter-btn {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 8px 16px; border-radius: 18px;
    background: transparent; color: var(--text-mid);
    border: 1px solid var(--border);
    cursor: pointer; transition: all 0.2s;
    font-family: var(--sans);
  }
  .gfilter-btn:hover { color: var(--b900); border-color: var(--b600); }
  .gfilter-btn.active {
    background: var(--b900); color: var(--white);
    border-color: var(--b900);
  }

  .posters-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    grid-auto-flow: dense; /* permette ai landscape di occupare 2 col senza buchi */
  }
  .poster {
    aspect-ratio: 1 / 1.414;
    background: var(--b050);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
  }
  /* Varianti orizzontali: occupano 2 colonne nella griglia desktop */
  .poster.is-landscape-169 { aspect-ratio: 16 / 9; grid-column: span 2; }
  .poster.is-landscape-a4  { aspect-ratio: 1.414 / 1; grid-column: span 2; }
  /* Se l'immagine caricata è ancora portrait (in attesa di sostituzione), evito lo strappo:
     la mostra "contain" su sfondo neutro invece di tagliarla con cover. */
  .poster.is-landscape-169 img,
  .poster.is-landscape-a4 img { object-fit: contain; background: var(--feed-bg); }
  .poster svg { width: 100%; height: 100%; display: block; }
  .poster img {
    width: 100%; height: 100%; display: block;
    object-fit: cover; object-position: top center;
  }
  .poster:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px rgba(0,0,0,0.15);
  }
  .poster-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 50%);
    opacity: 0; transition: opacity 0.25s ease;
    display: flex; align-items: flex-end;
    padding: 20px;
  }
  .poster:hover .poster-overlay { opacity: 1; }
  .po-txt { color: var(--white); font-size: 12px; line-height: 1.4; }
  .po-txt strong { display: block; font-family: var(--serif); font-size: 14px; margin-bottom: 3px; font-weight: 600; }
  .po-txt em { font-style: normal; color: var(--b300); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }

  /* LIGHTBOX */
  .lightbox {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center;
    z-index: 2000; padding: 30px 60px;
    animation: fadeIn 0.2s ease;
  }
  .lightbox.active { display: flex; }
  .lb-content {
    position: relative;
    max-width: 100%; max-height: 100%;
    display: flex; flex-direction: column;
    align-items: center;
  }
  .lb-poster {
    background: var(--white);
    max-height: calc(100vh - 140px);
    aspect-ratio: 1 / 1.414;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  }
  /* Varianti orizzontali nel lightbox */
  .lb-poster.is-landscape-169 { aspect-ratio: 16 / 9; max-width: calc(100vw - 140px); }
  .lb-poster.is-landscape-a4  { aspect-ratio: 1.414 / 1; max-width: calc(100vw - 140px); }
  .lb-poster svg { width: 100%; height: 100%; display: block; }
  .lb-poster img {
    width: 100%; height: 100%; display: block;
    object-fit: contain; background: var(--white);
  }
  .lb-info {
    margin-top: 18px; text-align: center; color: var(--white);
    max-width: 600px;
  }
  .lb-info h3 {
    font-family: var(--serif); font-size: 22px; font-weight: 600;
    color: var(--white); margin-bottom: 6px;
  }
  .lb-info p {
    font-size: 13px; color: rgba(255,255,255,0.7);
    letter-spacing: 0.04em;
  }
  .lb-close {
    position: absolute; top: 24px; right: 24px;
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; line-height: 1;
    transition: all 0.2s;
  }
  .lb-close:hover { background: rgba(255,255,255,0.2); }
  .lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 54px; height: 54px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    transition: all 0.2s;
  }
  .lb-nav:hover { background: rgba(255,255,255,0.2); }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
  .lb-counter {
    position: absolute; top: 32px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 12px; letter-spacing: 0.14em;
    font-family: var(--serif); font-style: italic;
  }

  @media (max-width: 960px) {
    .moodle { padding: 60px 0; }
    .moodle-grid { grid-template-columns: 1fr; gap: 40px; }
    .moodle-left h2 { font-size: 28px; }
    .gallery-section { padding: 60px 0; }
    .posters-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .poster.is-landscape-169,
    .poster.is-landscape-a4 { grid-column: span 2; }
    .lightbox { padding: 20px; }
    .lb-nav { width: 42px; height: 42px; }
    .lb-prev { left: 10px; }
    .lb-next { right: 10px; }
  }
  @media (max-width: 540px) {
    .posters-grid { grid-template-columns: 1fr 1fr; }
  }


  /* SECONDARY NAV STRIP */
  .subnav {
    background: var(--b950);
    border-bottom: 1px solid var(--b900);
  }
  .subnav-inner {
    display: flex; justify-content: center; align-items: center;
    gap: 4px; padding: 8px 40px;
    flex-wrap: wrap;
  }
  .subnav a {
    font-size: 11.5px; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--b300);
    padding: 6px 14px; border-radius: 3px;
    transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 8px;
  }
  .subnav a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
  .subnav-sep {
    width: 1px; height: 14px; background: var(--b800);
    margin: 0 2px;
  }
  .subnav a .sn-ic { width: 12px; height: 12px; opacity: 0.7; }

  /* tighten header a touch, since we took items away */
  .nav-links { gap: 28px; }

  @media (max-width: 960px) {
    .subnav-inner { padding: 8px 20px; gap: 2px; }
    .subnav a { font-size: 10.5px; padding: 5px 9px; letter-spacing: 0.1em; }
    .subnav-sep { display: none; }
  }


  /* Header: 3 zones → main brand left, nav centre, partner+CTA right */
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: 36px;
  }
  .nav-right {
    display: flex; align-items: center; gap: 20px;
  }


  /* Partner logo block (E&S Energia & Sicurezza) */
  .brand-partner {
    display: inline-flex; align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.2s ease;
    background: var(--white);
  }
  .brand-partner:hover {
    border-color: var(--b700);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  }
  .brand-partner img {
    height: 54px; width: auto; display: block;
    image-rendering: -webkit-optimize-contrast;
  }
  .brand-partner-caption {
    margin-left: 14px; line-height: 1.25;
    border-left: 1px solid var(--border);
    padding-left: 14px;
  }
  .bpc-top {
    font-size: 9.5px; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--text-mid);
  }
  .bpc-bottom {
    font-size: 13px; font-weight: 600;
    color: var(--b900); letter-spacing: 0.02em;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .bpc-bottom svg { width: 11px; height: 11px; stroke: var(--b700); }

  @media (max-width: 1200px) {
    .brand-partner-caption { display: none; }
    .nav-right { gap: 14px; }
  }
  @media (max-width: 960px) {
    .nav { gap: 16px; }
    .nav-links { display: none; }
    .brand-partner { padding: 6px 10px; }
    .brand-partner img { height: 40px; }
  }
  @media (max-width: 540px) {
    .brand-partner img { height: 34px; }
    .nav-right { gap: 8px; }
  }


  /* Primary items in subnav (moved from header) get a slightly stronger style */
  .subnav a.subnav-primary {
    color: var(--white);
    font-weight: 600;
  }
  .subnav a.subnav-primary:hover {
    background: rgba(255,255,255,0.08);
  }
  /* Optional visual "break" marker (a thicker separator between primary and secondary groups) */
  .subnav-sep.subnav-break {
    width: 2px; height: 18px; background: var(--b700);
    margin: 0 8px;
  }
  /* Allow the subnav to breathe a bit and wrap gracefully on small widths */
  .subnav-inner { padding-top: 10px; padding-bottom: 10px; row-gap: 2px; }


  /* Photo-based illustrations inside portfolio cards */
  .pf-illus-photo { padding: 0 !important; overflow: hidden; }
  .pf-illus-photo img {
    width: 100%; height: 100%; display: block;
    object-fit: cover; object-position: center;
    transition: transform 0.35s ease;
  }
  .pf-card:hover .pf-illus-photo img { transform: scale(1.03); }

  /* Hero preview image inside modal body */
  .mb-hero {
    margin: 0 0 22px; padding: 0;
    border-radius: 6px; overflow: hidden;
    border: 1px solid var(--border);
    background: var(--b050);
  }
  .mb-hero img {
    width: 100%; height: auto; display: block;
    cursor: zoom-in;
  }
  .mb-hero figcaption {
    font-size: 12px; color: var(--text-mid);
    font-style: italic; line-height: 1.55;
    padding: 12px 16px;
    background: var(--white);
    border-top: 1px solid var(--border);
    font-family: var(--serif);
  }
  .mb-hero figcaption strong {
    color: var(--b900); font-weight: 700; font-style: normal;
  }


  /* RUOLI ISTITUZIONALI — inside About section */
  .about-roles {
    margin: 32px 0;
    padding: 24px 0 8px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .about-roles-head {
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--b700);
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
  }
  .about-roles-head::before {
    content: ""; display: inline-block;
    width: 24px; height: 1.5px; background: var(--b900);
  }
  .about-roles-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
    gap: 8px;
  }
  .about-role {
    display: grid; grid-template-columns: 14px 1fr;
    gap: 14px; align-items: flex-start;
    padding: 8px 0;
  }
  .about-role-ic {
    margin-top: 6px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--b900);
  }
  .about-role.past .about-role-ic {
    background: transparent;
    border: 1.5px solid var(--b600);
  }
  .about-role-body {
    font-family: var(--serif); font-size: 14.5px;
    color: var(--b900); line-height: 1.55;
  }
  .about-role-body strong { font-weight: 700; }
  .about-role-body em {
    display: block; margin-top: 2px;
    font-size: 12px; font-style: italic;
    color: var(--text-mid);
    font-family: var(--sans); letter-spacing: 0.02em;
  }


  /* MOODLE COLLAB (ASR 2025 training partners) */
  .moodle-collab {
    margin: 28px 0 12px;
    padding: 20px 22px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--b800);
    border-radius: 8px;
  }
  .mc-title {
    font-size: 11.5px; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--b200);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--b800);
  }
  .mc-title em { font-style: italic; color: var(--white); text-transform: none; letter-spacing: 0.01em; font-family: var(--serif); }
  .mc-row { display: flex; flex-direction: column; gap: 14px; }
  .mc-cat {
    display: grid; grid-template-columns: 44px 1fr;
    gap: 14px; align-items: flex-start;
  }
  .mc-tag {
    font-family: var(--serif); font-weight: 700;
    font-size: 17px; color: var(--white);
    background: var(--b800); border-radius: 4px;
    padding: 4px 0; text-align: center;
    letter-spacing: 0.01em;
  }
  .mc-cat strong { color: var(--white); font-size: 13px; font-weight: 600; display: block; margin-bottom: 4px; }
  .mc-cat p { font-size: 12.5px; color: var(--b200); line-height: 1.55; }
  .mc-cat p strong { display: inline; color: var(--white); font-weight: 600; font-size: inherit; margin: 0; }

  /* DETRAZIONI SECTION */
  .detrazioni { padding: 100px 0; background: var(--b025, #f9f7f3); }

  .det-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; margin-top: 40px;
  }
  .det-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 26px 24px;
    display: flex; flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .det-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  }
  .det-card-featured {
    border: 1.5px solid var(--b900);
    background: var(--b950);
    color: var(--white);
  }
  .det-card-featured::before {
    content: "Opportunit\E0  2026"; position: absolute;
    top: -12px; right: 22px;
    background: var(--white);
    color: var(--b900);
    font-size: 9.5px; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 14px;
    border: 1.5px solid var(--b900);
  }

  .det-card-head {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 16px;
  }
  .det-ic {
    width: 44px; height: 44px; border-radius: 8px;
    background: var(--b050); color: var(--b900);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .det-ic svg { width: 22px; height: 22px; stroke: currentColor; }
  .det-card-featured .det-ic { background: rgba(255,255,255,0.08); color: var(--white); }
  .det-type {
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-mid);
  }
  .det-card-featured .det-type { color: var(--b300); }

  .det-title {
    font-family: var(--serif); font-size: 24px; font-weight: 700;
    color: var(--b950); margin-bottom: 8px; line-height: 1.2;
  }
  .det-card-featured .det-title { color: var(--white); }

  .det-lead {
    font-size: 13px; color: var(--text-mid);
    line-height: 1.6; margin-bottom: 22px;
  }
  .det-card-featured .det-lead { color: var(--b200); }

  .det-rates {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-bottom: 20px;
    padding: 14px;
    background: var(--b050); border-radius: 6px;
  }
  .det-card-featured .det-rates { background: rgba(255,255,255,0.05); }
  .det-rate { text-align: center; padding: 4px; }
  .det-rate + .det-rate { border-left: 1px solid var(--border); }
  .det-card-featured .det-rate + .det-rate { border-left-color: rgba(255,255,255,0.1); }
  .det-rate-val {
    display: block;
    font-family: var(--serif); font-size: 34px; font-weight: 700;
    color: var(--b900); line-height: 1;
    margin-bottom: 6px; letter-spacing: -0.02em;
  }
  .det-card-featured .det-rate-val { color: var(--white); }
  .det-rate-lbl {
    display: block;
    font-size: 10.5px; color: var(--text-mid);
    line-height: 1.45;
  }
  .det-card-featured .det-rate-lbl { color: var(--b300); }
  .det-rate-lbl em { font-style: italic; font-size: 9.5px; }
  .det-rate-lbl strong { font-weight: 700; color: var(--b900); font-size: 11px; }
  .det-card-featured .det-rate-lbl strong { color: var(--white); }

  .det-list {
    list-style: none; padding: 0;
    display: flex; flex-direction: column; gap: 7px;
    font-size: 12.5px; color: var(--b800);
    line-height: 1.5; margin-bottom: 20px; flex: 1;
  }
  .det-card-featured .det-list { color: var(--b200); }
  .det-list li {
    padding-left: 14px; position: relative;
  }
  .det-list li::before {
    content: ""; position: absolute;
    left: 0; top: 8px;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--b600);
  }
  .det-card-featured .det-list li::before { background: var(--b400); }
  .det-list strong { color: var(--b900); font-weight: 600; }
  .det-card-featured .det-list strong { color: var(--white); }

  .det-warn {
    font-size: 11.5px; color: var(--text-mid);
    font-style: italic; font-family: var(--serif);
    line-height: 1.5;
    padding: 12px 14px; border-radius: 5px;
    background: var(--b050); border-left: 2.5px solid var(--b600);
  }
  .det-card-featured .det-warn {
    background: rgba(255,255,255,0.05);
    color: var(--b200);
    border-left-color: var(--b400);
  }
  .det-warn-good { border-left-color: #6b9c55; }

  /* Compare block */
  .det-compare {
    margin-top: 48px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px 36px;
  }
  .det-compare-head {
    text-align: center; margin-bottom: 22px;
  }
  .dc-label {
    font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--b700);
    padding: 5px 14px;
    background: var(--b050); border-radius: 12px;
  }
  .det-compare-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 32px; margin-bottom: 20px;
  }
  .dc-cell-ttl {
    font-family: var(--serif); font-size: 16px; font-weight: 600;
    color: var(--b950); margin-bottom: 12px;
    padding-bottom: 10px; border-bottom: 1px solid var(--border);
  }
  .dc-cell-ttl em { font-style: italic; color: var(--text-mid); font-size: 12.5px; font-weight: 400; display: block; margin-top: 3px; }
  .dc-cell ul {
    list-style: none; padding: 0;
    font-size: 13px; color: var(--b800); line-height: 1.7;
  }
  .dc-cell ul li {
    padding-left: 18px; position: relative;
  }
  .dc-cell ul li::before {
    content: "\2192"; position: absolute;
    left: 0; top: 0; color: var(--b700); font-weight: 700;
  }
  .dc-note {
    margin-top: 18px; padding: 14px 16px;
    background: var(--b050); border-radius: 5px;
    font-size: 12.5px; color: var(--b800); line-height: 1.6;
    font-style: italic; font-family: var(--serif);
  }
  .dc-note strong { font-style: normal; color: var(--b950); font-weight: 700; }

  .det-cta-row {
    margin-top: 40px;
    display: grid; grid-template-columns: 1.5fr auto;
    gap: 32px; align-items: center;
    padding: 28px 36px;
    background: var(--b950); color: var(--white);
    border-radius: 10px;
  }
  .det-cta-txt {
    font-size: 14px; line-height: 1.6;
    color: var(--b200);
  }
  .det-cta-txt strong { color: var(--white); font-weight: 600; }
  .det-cta-row .btn-primary { background: var(--white); color: var(--b900); }
  .det-cta-row .btn-primary:hover { background: var(--b050); }

  @media (max-width: 960px) {
    .detrazioni { padding: 60px 0; }
    .det-grid { grid-template-columns: 1fr; }
    .det-compare-grid { grid-template-columns: 1fr; gap: 22px; }
    .det-cta-row { grid-template-columns: 1fr; gap: 18px; text-align: left; }
    .mc-cat { grid-template-columns: 36px 1fr; gap: 10px; }
  }


  .contact-form .form-privacy {
    padding-top: 4px;
  }
  .contact-form select {
    width: 100%;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--b900);
    transition: border-color 0.15s;
    appearance: none;
    -webkit-appearance: none;
    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' stroke='%23595959' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
  }
  .contact-form select:focus { outline: none; border-color: var(--b700); }
  .contact-form .form-note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-mid);
    font-style: italic;
    font-family: var(--serif);
    line-height: 1.55;
  }
  .contact-form .form-note strong {
    font-style: normal;
    color: var(--b900);
    font-weight: 600;
  }
  .contact-form label em {
    font-weight: 400;
    color: var(--text-mid);
    font-style: italic;
    font-size: 12px;
  }


  /* Form two-column rows */
  .contact-form .form-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  @media (max-width: 760px) {
    .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
  }
  /* Privacy label should NOT inherit uppercase label styling */
  .contact-form .form-privacy label {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: var(--text-mid);
    font-size: 12.5px;
    margin-bottom: 0;
    line-height: 1.55;
  }
  .contact-form .form-privacy input[type="checkbox"] {
    width: auto; padding: 0; border: none; min-height: 0;
    accent-color: var(--b900);
  }


  .brand-stack {
    display: flex; flex-direction: column; gap: 8px;
  }
  .brand-row {
    display: flex; flex-direction: row; gap: 8px;
  }
  .brand-group { display: flex; align-items: center; gap: 8px; }
  .brand-whatsapp-tall {
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; overflow: hidden; flex-shrink: 0;
    transition: all 0.2s ease;
  }
  .brand-whatsapp-tall:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.06); }
  .brand-whatsapp-tall img { height: 108px; width: auto; display: block; }
  @media (max-width: 1200px) { .brand-whatsapp-tall img { height: 128px; } }
  @media (max-width: 960px) { .brand-whatsapp-tall img { height: 88px; } }
  @media (max-width: 480px) {
    .brand-stack { display: none; }
    .brand-logo { height: 80px; }
    .brand-whatsapp-tall img { height: auto; width: auto; max-height: 56px; max-width: 100px; }
  }
  @media (max-width: 360px) {
    .brand-whatsapp-tall img { max-height: 44px; max-width: 78px; }
  }

  .brand-stack .brand-partner {
    padding: 6px 14px; margin: 0;
    width: 100%; box-sizing: border-box; justify-content: center;
  }
  .brand-stack .brand-partner img {
    height: 36px;
  }
  @media (max-width: 1200px) {
    .brand-stack .brand-partner img { height: 46px; }
  }
  @media (max-width: 960px) {
    .brand-stack { gap: 4px; }
    .brand-row { gap: 4px; }
    .brand-stack .brand-partner { padding: 4px 8px; }
    .brand-stack .brand-partner img { height: 32px; }
  }
  @media (max-width: 540px) {
    .brand-row { flex-direction: column; gap: 4px; }
  }

  @media (max-width: 960px) {
    .container { padding: 0 24px; }
    .nav-links { display: none; }
    .brand-logo { height: 96px; }
    .hero { padding: 60px 0 80px; }
    .hero-grid, .about-grid, .skills-grid, .contact-grid, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 40px; }
    .svc-grid, .ind-grid, .t-grid { grid-template-columns: 1fr; }
    .section-title, .about-content h2, .skills-left h2, .cta-title { font-size: 32px; }
    .hero-photo { max-width: 400px; margin: 0 auto; box-shadow: -20px 20px 0 -8px var(--b150); }
    .hero-stat-card { left: -10px; }
    .hero-nameplate { right: -10px; top: 16px; padding: 10px 14px; max-width: 78%; }
    .hero-nameplate .hn-name { font-size: 15px; }
    .hero-nameplate .hn-role { font-size: 11px; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .trust-item:last-child { border-right: 1px solid var(--b900); }
    .trust-item:nth-child(2n) { border-right: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .cta-right { text-align: left; }
    .about-exp-badge { left: 0; }
    .mb-grid { grid-template-columns: 1fr; }
    .services, .about, .industries, .testimonials, .skills, .contact-sec { padding: 60px 0; }
  }

  /* Banner Giornata SSL 2026 (sotto il menu, prima dell'hero) */
  .home-banner-wrap {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 18px 32px;
    display: flex; justify-content: center;
  }
  .home-banner {
    display: block;
    max-width: 800px; width: 100%;
    transition: opacity 0.2s ease;
  }
  .home-banner img {
    width: 100%; height: auto; display: block;
    border-radius: 4px;
  }
  .home-banner:hover { opacity: 0.92; }
  @media (max-width: 720px) {
    .home-banner-wrap { padding: 12px 16px; }
  }

  /* === Ticker "Ultime notizie da Energia & Sicurezza" — sopra l'header === */
  .es-ticker {
    background: #1E3A32;
    color: #fff;
    display: flex; /* sempre visibile, mostra fallback se la fetch non ha ancora risposto */
    align-items: center;
    gap: 14px;
    padding: 14px 32px;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    transition: opacity 0.2s ease;
  }
  .es-ticker:hover { opacity: 0.92; }
  .es-ticker-pill {
    background: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 0;
  }
  .es-ticker-pill img { height: 40px; width: auto; display: block; }
  .es-ticker-kicker {
    flex-shrink: 0;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.7;
  }
  .es-ticker-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: #fff;
  }
  .es-ticker-date {
    flex-shrink: 0;
    font-size: 11px;
    opacity: 0.7;
  }
  @media (max-width: 880px) {
    .es-ticker-kicker { display: none; }
  }
  @media (max-width: 720px) {
    .es-ticker { padding: 10px 14px; gap: 12px; font-size: 12px; }
    .es-ticker-pill { padding: 4px 7px; }
    .es-ticker-pill img { height: 30px; }
    .es-ticker-date { display: none; }
  }

  /* === Targhette identità "Ing. Felicetto Massa" === */
  /* Wrapper foto+stat-card: la stat-card sporge da qui e non più dal wrapper esterno (così non copre la nameplate) */
  .hero-photo-block { position: relative; }
  /* Nameplate sovrapposta in alto a destra della foto, simmetrica alla stat-card in basso a sinistra */
  .hero-nameplate {
    position: absolute; top: 32px; right: -32px; z-index: 2;
    background: var(--white);
    padding: 14px 20px;
    border-radius: 8px;
    border-right: 3px solid #1A486C;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    max-width: 70%;
  }
  .hero-nameplate .hn-name {
    font-size: 18px;
    font-weight: 600;
    color: #1A486C;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  .hero-nameplate .hn-role {
    font-size: 12px;
    color: var(--text-mid);
    line-height: 1.4;
  }
  /* Identità nella sezione Chi sono */
  .about-id {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: -8px 0 18px;
    padding: 8px 14px;
    background: rgba(26,72,108,0.06);
    border-left: 3px solid #1A486C;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    color: var(--text);
  }
  .about-id strong { font-weight: 600; color: #1A486C; }
  .about-id em { font-style: normal; color: var(--text-mid); font-size: 13px; }
  /* Nome nel footer (sotto al logo) */
  .footer-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
  }
  .footer-name-role {
    font-size: 12px;
    color: var(--b300);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  /* === Sezione "Formazione in presenza e videoconferenza" — sopra Moodle === */
  .fp-section {
    background: var(--feed-bg);
    padding: 80px 0;
    border-top: 1px solid var(--border);
  }
  .fp-head { max-width: 880px; margin: 0 auto 48px; text-align: center; }
  .fp-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
    text-transform: uppercase; color: #1A486C;
    background: rgba(26,72,108,0.08);
    padding: 6px 14px; border-radius: 20px;
    margin-bottom: 18px;
  }
  .fp-kicker::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: #1A486C; display: inline-block;
  }
  .fp-section h2 {
    font-family: var(--serif);
    font-size: 40px; font-weight: 500; line-height: 1.15;
    color: var(--text); margin-bottom: 16px;
  }
  .fp-section h2 em { font-style: italic; color: #1A486C; font-weight: 500; }
  .fp-section .fp-lead {
    font-size: 17px; color: var(--text-mid); line-height: 1.6;
    max-width: 720px; margin: 0 auto;
  }
  /* Card credenziali */
  .fp-creds {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    max-width: 1000px; margin: 0 auto 56px;
  }
  .fp-cred {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 8px; padding: 24px 26px;
    border-left: 4px solid #1A486C;
  }
  .fp-cred.is-new { border-left-color: #C0392B; position: relative; }
  .fp-cred-new-badge {
    position: absolute; top: 14px; right: 14px;
    background: #C0392B; color: var(--white);
    font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
    padding: 3px 8px; border-radius: 3px;
  }
  .fp-cred-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 6px;
    background: rgba(26,72,108,0.08); color: #1A486C;
    margin-bottom: 14px;
  }
  .fp-cred.is-new .fp-cred-icon { background: rgba(192,57,43,0.08); color: #C0392B; }
  .fp-cred-icon svg { width: 20px; height: 20px; }
  .fp-cred h3 {
    font-size: 17px; font-weight: 600; color: var(--text);
    margin-bottom: 4px; line-height: 1.3;
  }
  .fp-cred-norm {
    font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
    color: var(--text-mid); margin-bottom: 12px;
  }
  .fp-cred-desc {
    font-size: 14px; color: var(--text-mid); line-height: 1.6;
  }
  /* Catalogo corsi */
  .fp-catalog {
    max-width: 1000px; margin: 0 auto;
  }
  .fp-cat-block { margin-bottom: 40px; }
  .fp-cat-block:last-child { margin-bottom: 0; }
  .fp-cat-head {
    display: flex; align-items: baseline; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
    padding-bottom: 14px; margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
  }
  .fp-cat-head h4 {
    font-size: 18px; font-weight: 600; color: var(--text);
    letter-spacing: 0.01em;
  }
  .fp-cat-norm {
    font-size: 12px; font-weight: 500; color: var(--text-mid);
    letter-spacing: 0.04em;
  }
  .fp-courses {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  }
  .fp-course {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; background: var(--white);
    border: 1px solid var(--border); border-radius: 6px;
    transition: border-color 0.2s, transform 0.15s;
  }
  .fp-course:hover { border-color: #1A486C; transform: translateX(2px); }
  .fp-course-tag {
    flex-shrink: 0; width: 42px; height: 42px;
    border-radius: 4px; background: #1A486C; color: var(--white);
    font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
    display: flex; align-items: center; justify-content: center;
  }
  .fp-course.is-fire .fp-course-tag { background: #C0392B; }
  .fp-course-body { flex: 1; min-width: 0; }
  .fp-course-name {
    font-size: 14px; font-weight: 500; color: var(--text);
    line-height: 1.35; margin-bottom: 3px;
  }
  .fp-course-meta {
    font-size: 11.5px; color: var(--text-mid); line-height: 1.4;
  }
  /* Footer-nota della sezione */
  .fp-footnote {
    max-width: 880px; margin: 36px auto 0;
    padding: 16px 20px;
    background: var(--white); border: 1px solid var(--border);
    border-left: 3px solid #1A486C;
    border-radius: 0 6px 6px 0;
    font-size: 13px; color: var(--text-mid); line-height: 1.6;
  }
  .fp-footnote strong { color: var(--text); font-weight: 600; }
  /* Mobile */
  @media (max-width: 880px) {
    .fp-creds, .fp-courses { grid-template-columns: 1fr; }
    .fp-section { padding: 60px 0; }
    .fp-section h2 { font-size: 30px; }
  }

  /* ================================================================
     RAFFINAMENTO ELEGANTE — grigio chiaro + nero
     ================================================================ */
  .trust-bar {
    background: var(--b050);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
  }
  .trust-num { color: var(--b950); }
  .trust-lbl { color: var(--b500); }
  .trust-item { border-right-color: var(--border); }

  .svc-block { border-top: 3px solid var(--b100); }
  .svc-block:hover { border-top-color: var(--b600); }
  .svc-block::before { display: none; }

  .about-highlights {
    background: var(--b050);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px;
    margin-top: 32px;
  }

  .ind-card:hover { background: var(--b050); }
  .ind-card:hover .ind-icon { background: var(--b950); }

  .contact-form { background: var(--b050); border-color: var(--border); }
  .pf-card:hover { border-color: var(--b600); }
  /* Icone ambiti servizio */
  .svc-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.05);
    border-radius: 12px;
    margin-bottom: 16px;
    color: var(--acc, var(--b600));
    transition: background .25s, color .25s;
    flex-shrink: 0;
  }
  .svc-block:hover .svc-icon {
    background: var(--acc, var(--b600));
    color: #fff;
  }
  .svc-icon svg {
    width: 28px; height: 28px;
    stroke: currentColor; fill: none;
    stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  }

  /* NEWSLETTER (footer) */
  .nl-box { max-width: 600px; margin: 0 auto 24px; text-align: center; }
  .nl-box .nl-title { font-family: var(--sans, 'DM Sans', sans-serif); color: var(--white); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 6px; }
  .nl-box .nl-sub { color: var(--b300); font-size: 13px; line-height: 1.5; margin: 0 0 16px; }
  .nl-form { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .nl-row { display: flex; gap: 10px; width: 100%; max-width: 460px; }
  .nl-row input[type="email"] {
    flex: 1 1 auto; min-width: 0; padding: 12px 16px;
    border: 1px solid var(--b700); border-radius: 24px;
    font-family: var(--sans, 'DM Sans', sans-serif); font-size: 14px;
    color: var(--b950); background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
  }
  .nl-row input[type="email"]:focus { outline: none; border-color: var(--white); box-shadow: 0 0 0 3px rgba(255,255,255,0.15); }
  .nl-btn {
    flex: 0 0 auto; background: var(--white); color: var(--b950);
    border: none; cursor: pointer; padding: 12px 26px; border-radius: 24px;
    font-family: var(--sans, 'DM Sans', sans-serif); font-size: 14px; font-weight: 600;
    letter-spacing: 0.04em; transition: background 0.2s;
  }
  .nl-btn:hover { background: var(--b200); }
  .nl-consent { display: flex; align-items: flex-start; gap: 8px; max-width: 460px; margin: 0 auto; text-align: left; font-size: 11px; line-height: 1.45; color: var(--b400); }
  .nl-consent input { margin-top: 2px; flex-shrink: 0; width: 14px; height: 14px; accent-color: var(--b500); cursor: pointer; }
  .nl-consent a { color: var(--b200); text-decoration: underline; }
  .nl-divider { height: 1px; background: var(--b800); max-width: 600px; margin: 0 auto 24px; }
  @media (max-width: 520px) {
    .nl-row { flex-direction: column; max-width: 360px; }
    .nl-btn { width: 100%; }
  }
