*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --cream: #F7F4EF;
    --warm-white: #FDFBF8;
    --charcoal: #1C1C1A;
    --mid: #6B6860;
    --light: #C4C1B8;
    --accent: #C02A30;
    --accent-light: #F0E8DC;
    --border: #E2DED6;
    --font-display: 'Lato', system-ui, sans-serif;
    --font-body: 'Lato', system-ui, sans-serif;

    /* category accent colors */
    --clima: #3A7BB8;
    --clima-light: #EBF2FA;
    --illum: #B8A33A;
    --illum-light: #FAF7EB;
    --domo: #3AB88A;
    --domo-light: #EBF9F4;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--warm-white);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
  }

  /* ── NAV ── */
  nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    padding: 0 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  .nav-logo { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--charcoal); text-decoration: none; }
  .nav-logo span { color: var(--accent); }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a { font-size: 13px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--mid); transition: color 0.2s; }
  .nav-links a:hover, .nav-links a.active { color: var(--charcoal); }

  /* ── BREADCRUMB ── */
  .breadcrumb {
    padding: 1.25rem 4vw;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 12px; color: var(--mid); letter-spacing: 0.06em;
  }
  .breadcrumb a { color: var(--mid); text-decoration: none; }
  .breadcrumb a:hover { color: var(--accent); }
  .breadcrumb span { color: var(--light); }
  .breadcrumb strong { color: var(--charcoal); font-weight: 400; }

  /* ── PAGE HEADER ── */
  .page-header {
    background: var(--charcoal);
    padding: 5rem 4vw 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    border-bottom: 3px solid var(--accent);
    overflow: hidden;
    position: relative;
  }

  /* decorative circuit lines sfondo */
  .page-header::before {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 55%;
    height: 100%;
    background-image:
      linear-gradient(rgba(184,118,58,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(184,118,58,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
  }

  .page-header-left { padding-bottom: 4rem; position: relative; z-index: 1; }

  .header-eyebrow {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255,255,255,0.7); font-weight: 500; display: block; margin-bottom: 1rem;
  }

  .page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400; line-height: 1.1; color: #fff; letter-spacing: -0.01em;
  }
  .page-title em { font-style: normal; color: #fff; }

  .page-desc {
    margin-top: 1.5rem;
    font-size: 15px; line-height: 1.85; color: rgba(255,255,255,0.85); font-weight: 300;
    max-width: 480px;
  }

  /* right side: 3 categorie visual */
  .page-header-right {
    display: flex;
    align-items: flex-end;
    gap: 1px;
    position: relative; z-index: 1;
    align-self: stretch;
  }

  .cat-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem 1rem 2rem;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
  }

  .cat-preview:hover { background: rgba(255,255,255,0.04); }
  .cat-preview.cat-clima { border-top: 3px solid var(--clima); }
  .cat-preview.cat-illum { border-top: 3px solid var(--illum); }
  .cat-preview.cat-domo  { border-top: 3px solid var(--domo); }

  .cat-preview-icon {
    width: 48px; height: 48px; margin-bottom: 0.75rem;
    opacity: 0.7;
  }

  .cat-preview-name {
    font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
    font-weight: 500; color: rgba(255,255,255,0.6);
  }

  .cat-preview-count {
    font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 0.25rem;
  }

  /* ── STICKY CATEGORY NAV ── */
  /* Si aggancia subito sotto al .site-header sticky.
     L'header scrolled è ~100px (60px bar + ~40px breadcrumb + bordi),
     mobile ~86px. Bumpiamo top così la cat-nav non finisce sotto al bordo. */
  .cat-nav {
    position: sticky;
    top: 100px;
    z-index: 100;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: 4px;
  }
  @media (max-width: 768px) {
    .cat-nav { top: 86px; padding-top: 3px; }
  }
  .cat-nav::-webkit-scrollbar { display: none; }

  .cat-nav-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 2.5rem;
    height: 60px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    color: var(--mid);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-family: var(--font-body);
    flex-shrink: 0;
  }

  .cat-nav-item:hover { color: var(--charcoal); }
  .cat-nav-item.active-clima { color: var(--clima); border-bottom-color: var(--clima); }
  .cat-nav-item.active-illum { color: var(--illum); border-bottom-color: var(--illum); }
  .cat-nav-item.active-domo  { color: var(--domo);  border-bottom-color: var(--domo); }

  .cat-dot {
    width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  }

  .cat-nav-cta {
    margin-left: auto;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    color: var(--accent);
    flex-shrink: 0;
    border-left: 1px solid var(--border);
  }

  /* ── SECTION BLOCKS ── */
  .section-block {
    padding: 5rem 4vw;
    border-bottom: 1px solid var(--border);
    /* Compensa header sticky (~100px) + cat-nav (~64px) per gli anchor jump */
    scroll-margin-top: 168px;
  }
  @media (max-width: 768px) {
    .section-block { scroll-margin-top: 154px; }
  }

  .section-block:nth-child(even) { background: var(--cream); }

  .section-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
  }

  .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.75rem;
  }

  .section-tag .dot {
    width: 8px; height: 8px; border-radius: 50%;
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--charcoal);
  }

  .section-title em { font-style: normal; }

  .section-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--mid);
    max-width: 480px;
    margin-top: 0.75rem;
  }

  .section-brand-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
  }

  .brand-badge {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    font-weight: 400;
    border: 1px solid var(--border);
    color: var(--mid);
    background: var(--warm-white);
  }

  /* ── PRODUCT GRID ── */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .products-grid.three-col { grid-template-columns: repeat(3, 1fr); }

  /* card prodotto */
  .product-card {
    background: var(--warm-white);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, box-shadow 0.25s;
    cursor: pointer;
    position: relative;
  }

  .product-card:hover {
    border-color: var(--charcoal);
    box-shadow: 0 8px 32px rgba(28,28,26,0.07);
  }

  /* se è dentro sezione con bg cream, card è bianca */
  .section-block:nth-child(even) .product-card { background: #fff; }

  .card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background: var(--cream);
  }

  .section-block:nth-child(even) .card-image { background: var(--warm-white); }

  .card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    z-index: 1;
  }

  .product-card:hover .card-image img { transform: scale(1.06); }

  /* placeholder immagine prodotto */
  .prod-ph {
    width: 75%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .prod-ph svg { width: 100%; height: 100%; opacity: 0.18; }

  .card-category-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    z-index: 2;
  }

  .card-content { padding: 1.25rem 1.25rem 1rem; flex: 1; display: flex; flex-direction: column; }

  .card-brand {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.4rem;
  }

  .card-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    flex: 1;
  }

  .card-description {
    font-size: 12px;
    line-height: 1.6;
    color: var(--mid);
    margin-bottom: 1rem;
  }

  .card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .card-spec {
    font-size: 10px;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    background: var(--cream);
    color: var(--mid);
    border: 1px solid var(--border);
  }

  .section-block:nth-child(even) .card-spec { background: var(--warm-white); }

  .card-footer {
    padding: 0.9rem 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .card-ask-btn {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--charcoal);
    background: transparent;
    border: 1px solid var(--charcoal);
    padding: 6px 14px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.2s, color 0.2s;
  }

  .product-card:hover .card-ask-btn { background: var(--charcoal); color: #fff; }

  .card-avail {
    font-size: 11px;
    color: #5A9B6A;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }

  .avail-dot { width: 6px; height: 6px; border-radius: 50%; background: #5A9B6A; }

  /* ── CARD FEATURED (wide) ── */
  .product-card-wide {
    grid-column: span 2;
    background: var(--warm-white);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: border-color 0.25s, box-shadow 0.25s;
    cursor: pointer;
  }

  .product-card-wide:hover {
    border-color: var(--charcoal);
    box-shadow: 0 8px 32px rgba(28,28,26,0.07);
  }

  .section-block:nth-child(even) .product-card-wide { background: #fff; }

  .wide-image {
    aspect-ratio: unset;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  .section-block:nth-child(even) .wide-image { background: var(--warm-white); }

  .wide-image .prod-ph {
    width: 60%; height: auto;
    transition: transform 0.4s;
  }

  .wide-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
    z-index: 1;
  }

  .product-card-wide:hover .wide-image img { transform: scale(1.05); }

  .wide-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .wide-badge {
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 1rem;
    width: fit-content;
  }

  .wide-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
  }

  .wide-desc {
    font-size: 13px;
    line-height: 1.75;
    color: var(--mid);
    margin-bottom: 1.5rem;
    flex: 1;
  }

  .wide-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .wide-spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
  }

  .wide-spec-row .k { color: var(--mid); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
  .wide-spec-row .v { color: var(--charcoal); font-weight: 400; }

  .wide-actions { display: flex; gap: 0.75rem; }

  .btn-primary-cat {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
    padding: 9px 18px; cursor: pointer; font-family: var(--font-body);
    border: 1.5px solid; transition: background 0.2s, color 0.2s;
    text-decoration: none; display: inline-block;
  }

  .btn-ghost {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
    padding: 9px 18px; cursor: pointer; font-family: var(--font-body);
    border: 1.5px solid var(--border); color: var(--mid); background: transparent;
    transition: border-color 0.2s, color 0.2s;
    text-decoration: none; display: inline-block;
  }

  .btn-ghost:hover { border-color: var(--charcoal); color: var(--charcoal); }

  /* ── MODAL CONTATTO ── */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(28,28,26,0.55);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }

  .modal-overlay.open { display: flex; }

  .modal {
    background: var(--warm-white);
    max-width: 520px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    animation: slideUp 0.3s ease;
  }

  @keyframes slideUp {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
  }

  .modal-close {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    background: none; border: none;
    font-size: 1.4rem; color: var(--mid); cursor: pointer; line-height: 1;
    font-family: var(--font-body);
    transition: color 0.2s;
  }

  .modal-close:hover { color: var(--charcoal); }

  .modal-eyebrow {
    font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
    font-weight: 500; color: var(--accent); margin-bottom: 0.5rem;
  }

  .modal-title {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 400; color: var(--charcoal);
    margin-bottom: 0.5rem;
  }

  .modal-product-name {
    font-size: 13px; color: var(--mid); margin-bottom: 1.75rem;
    padding-bottom: 1.75rem; border-bottom: 1px solid var(--border);
  }

  .form-group { margin-bottom: 1.15rem; }

  .form-label {
    font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
    font-weight: 500; color: var(--mid); display: block; margin-bottom: 0.4rem;
  }

  .form-input, .form-select, .form-textarea {
    width: 100%; font-family: var(--font-body); font-size: 14px; font-weight: 300;
    color: var(--charcoal); background: transparent;
    border: 1px solid var(--border); padding: 0.65rem 0.85rem;
    outline: none; transition: border-color 0.2s;
    appearance: none;
  }

  .form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--charcoal);
  }

  .form-textarea { resize: vertical; min-height: 90px; }

  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  .form-submit {
    width: 100%;
    font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
    padding: 0.9rem; cursor: pointer; font-family: var(--font-body);
    border: none; background: var(--charcoal); color: #fff;
    margin-top: 0.5rem; transition: background 0.2s;
  }

  .form-submit:hover { background: #2E2E2C; }

  .form-note {
    font-size: 11px; color: var(--light); text-align: center; margin-top: 0.75rem;
    letter-spacing: 0.04em;
  }

  /* ── INFO STRIP ── */
  .info-strip {
    background: var(--accent-light);
    border-top: 1px solid #D9C9B0;
    border-bottom: 1px solid #D9C9B0;
    padding: 3rem 4vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
  }

  .info-item {}
  .info-icon { font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }
  .info-title { font-family: var(--font-display); font-size: 1rem; font-weight: 400; margin-bottom: 0.25rem; }
  .info-desc { font-size: 12px; color: var(--mid); line-height: 1.6; }

  /* ── CTA BAND ── */
  .cta-band {
    padding: 4rem 4vw;
    display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    background: var(--charcoal);
  }

  .cta-band h3 {
    font-family: var(--font-display);
    font-size: 1.75rem; font-weight: 400; color: #fff; margin-bottom: 0.4rem;
  }

  .cta-band p { font-size: 14px; color: rgba(255,255,255,0.45); font-weight: 300; }

  .cta-band-actions { display: flex; gap: 1rem; flex-shrink: 0; }

  .btn {
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
    padding: 0.85rem 1.75rem; text-decoration: none; cursor: pointer;
    border: 1.5px solid; font-family: var(--font-body); transition: background 0.2s, color 0.2s;
    display: inline-block;
  }

  .btn-light { border-color: #fff; color: #fff; background: transparent; }
  .btn-light:hover { background: #fff; color: var(--charcoal); }
  .btn-accent { border-color: var(--accent); color: #fff; background: var(--accent); }
  .btn-accent:hover { background: #9E6328; border-color: #9E6328; }

  /* ── FOOTER ── */
  footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.55);
    padding: 3rem 4vw 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .footer-logo { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 0.75rem; }
  .footer-logo span { color: var(--accent); }
  footer p, footer address { font-size: 13px; font-style: normal; line-height: 1.8; }
  .footer-col h4 { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 1rem; font-weight: 500; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 0.4rem; }
  .footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
  .footer-col ul a:hover { color: #fff; }

  .footer-bottom {
    background: var(--charcoal); border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 4vw; display: flex; justify-content: space-between; align-items: center;
  }
  .footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.04em; }

  /* ── RESPONSIVE ── */
  @media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .product-card-wide { grid-column: span 3; }
  }

  @media (max-width: 1024px) {
    .page-header { grid-template-columns: 1fr; }
    .page-header-right { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .product-card-wide { grid-template-columns: 1fr; grid-column: span 2; }
    .wide-image { min-height: 220px; border-right: none; border-bottom: 1px solid var(--border); }
    .info-strip { grid-template-columns: repeat(2, 1fr); }
    footer { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 640px) {
    .nav-links { display: none; }
    .products-grid { grid-template-columns: 1fr; }
    .product-card-wide { grid-column: span 1; }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .info-strip { grid-template-columns: 1fr 1fr; }
    footer { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
  }
