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

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

    :root {
      --navy:   #1a2b4a;
      --navy2:  #243756;
      --gold:   #c8a96e;
      --gold2:  #e0c48a;
      --light:  #f7f9fc;
      --text:   #2d3748;
      --muted:  #718096;
      --white:  #ffffff;
      --border: #e2e8f0;
      --radius: 12px;
      --shadow: 0 4px 24px rgba(26,43,74,.10);
      --shadow-lg: 0 8px 40px rgba(26,43,74,.16);
    }

    html { scroll-behavior: smooth; font-size: 16px; }
    body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

    a { color: inherit; text-decoration: none; }
    img, svg { display: block; }
    ul { list-style: none; }

    /* ── UTILITIES ── */
    .container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
    .section { padding: 96px 0; }
    .section--dark { background: var(--navy); color: var(--white); }
    .section--light { background: var(--light); }
    .section--mid  { background: #eef2f7; }

    .section-label {
      display: inline-block;
      font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
      color: var(--gold); margin-bottom: 12px;
    }
    .section-title {
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      font-weight: 800; line-height: 1.2; color: var(--navy);
      margin-bottom: 16px;
    }
    .section--dark .section-title { color: var(--white); }
    .section-sub {
      font-size: 1.05rem; color: var(--muted); max-width: 620px; line-height: 1.7;
    }
    .section--dark .section-sub { color: rgba(255,255,255,.65); }
    .divider {
      width: 48px; height: 4px; background: var(--gold);
      border-radius: 2px; margin: 20px 0 32px;
    }

    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 14px 28px; border-radius: 8px; font-weight: 600;
      font-size: .95rem; cursor: pointer; border: none; transition: all .2s;
    }
    .btn-primary { background: var(--gold); color: var(--navy); }
    .btn-primary:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,169,110,.4); }
    .btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
    .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

    /* ── NAV ── */
    #navbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      padding: 20px 0; transition: all .3s;
    }
    #navbar.scrolled {
      background: rgba(26,43,74,.97); backdrop-filter: blur(8px);
      padding: 12px 0; box-shadow: 0 2px 20px rgba(0,0,0,.25);
    }
    .nav-inner { display: flex; align-items: center; justify-content: space-between; }
    .nav-logo {
      display: flex; align-items: center; gap: 12px;
      opacity: 0; transition: opacity .3s; pointer-events: none;
    }
    #navbar.scrolled .nav-logo { opacity: 1; pointer-events: auto; }
    .nav-logo-mark {
      width: 40px; height: 40px;
    }
    .nav-logo-text { color: var(--white); }
    .nav-logo-text span { display: block; }
    .nav-logo-name { font-size: 1.2rem; font-weight: 800; line-height: 1; }
    .nav-logo-sub  { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

    .nav-links { display: flex; align-items: center; gap: 28px; }
    .nav-links a { color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500; transition: color .2s; }
    .nav-links a:hover { color: var(--gold); }
    .nav-cta { margin-left: 8px; padding: 10px 20px; font-size: .85rem; }

    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
    .hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }
    .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .mobile-menu {
      display: none; flex-direction: column; gap: 0;
      background: var(--navy); padding: 12px 0;
      border-top: 1px solid rgba(255,255,255,.1);
    }
    .mobile-menu a {
      color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500;
      padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,.06);
      transition: color .2s;
    }
    .mobile-menu a:hover { color: var(--gold); }
    .mobile-menu.open { display: flex; }

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      background: linear-gradient(135deg, #0f1c30 0%, #1a2b4a 50%, #243756 100%);
      display: flex; flex-direction: column; align-items: stretch; justify-content: center;
      position: relative; overflow: hidden; padding-top: 100px;
    }
    .hero-bg {
      position: absolute; inset: 0; opacity: .18;
    }
    #hero .container { width: 100%; }
    .hero-logo {
      position: relative; z-index: 3; text-align: center;
      width: 100%; margin-bottom: 128px;
      transition: opacity .3s, transform .3s;
    }
    .hero-logo img { width: clamp(360px, 52vw, 640px); height: auto; margin: 0 auto; }
    body.scrolled-past .hero-logo {
      opacity: 0; transform: translateY(-20px); pointer-events: none;
    }
    .hero-content {
      position: relative; z-index: 2;
      display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
    }
    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 10px;
      background: rgba(200,169,110,.15); border: 1px solid rgba(200,169,110,.3);
      border-radius: 24px; padding: 6px 16px;
      font-size: .8rem; font-weight: 600; color: var(--gold); letter-spacing: .1em;
      text-transform: uppercase; margin-bottom: 24px;
    }
    .hero-title {
      font-size: clamp(2.2rem, 4.5vw, 3.6rem);
      font-weight: 800; color: var(--white); line-height: 1.15;
      margin-bottom: 24px;
    }
    .hero-title em { font-style: normal; color: var(--gold); }
    .hero-title--full {
      font-size: clamp(1.5rem, 4.4vw, 3.4rem);
      white-space: nowrap; line-height: 1.1; margin-bottom: 40px;
    }
    .hero-desc {
      font-size: 1.1rem; color: rgba(255,255,255,.7);
      line-height: 1.75; margin-bottom: 36px; max-width: 500px;
    }
    .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
    .hero-stats {
      display: flex; gap: 32px; margin-top: 48px; padding-top: 36px;
      border-top: 1px solid rgba(255,255,255,.12);
    }
    .hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
    .hero-stat-lbl { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 4px; }

    /* ── CHI SIAMO ── */
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
    .about-text p:last-child { margin-bottom: 0; }
    .about-visual { position: relative; }
    .about-card {
      background: var(--navy); color: var(--white);
      border-radius: var(--radius); padding: 32px;
      margin-bottom: 16px;
    }
    .about-card-year {
      font-size: 3rem; font-weight: 800; color: var(--gold); line-height: 1;
    }
    .about-card-text { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: 8px; }
    .values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
    .value-item {
      background: var(--light); border-radius: 10px;
      padding: 20px; border-left: 3px solid var(--gold);
    }
    .value-item h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
    .value-item p  { font-size: .82rem; color: var(--muted); }

    /* ── MARCHI ── */
    .brands-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
    .brand-card {
      background: var(--white); border-radius: var(--radius);
      border: 1px solid var(--border); padding: 40px 32px;
      text-align: center; transition: all .25s; cursor: default;
      box-shadow: var(--shadow);
    }
    .brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
    .brand-icon { width: 182px; height: 182px; margin: 0 auto 24px; }
    .brand-num {
      font-size: .75rem; font-weight: 700; color: var(--gold);
      letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px;
    }
    .brand-name { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
    .brand-desc { font-size: .9rem; color: var(--muted); line-height: 1.65; }

    /* ── SERVIZI PROGETTI ── */
    .services-head {
      display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
      align-items: center; margin-bottom: 56px;
    }
    .services-intro { max-width: 600px; }
    .services-video video {
      width: 100%; max-width: 380px; margin: 0 auto;
      border-radius: var(--radius); display: block;
      box-shadow: var(--shadow-lg);
    }
    .service-photo {
      width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
      border-radius: 8px; margin-bottom: 18px; display: block;
    }
    .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    .service-card {
      background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
      border-radius: var(--radius); padding: 32px 28px; transition: all .25s;
    }
    .service-card:hover { background: rgba(255,255,255,.1); border-color: var(--gold); transform: translateY(-4px); }
    .service-num {
      font-size: .75rem; font-weight: 700; color: var(--gold);
      letter-spacing: .1em; margin-bottom: 16px;
    }
    .service-icon { width: 48px; height: 48px; margin-bottom: 18px; }
    .service-title { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
    .service-desc { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.65; }

    /* ── ATEKA / HOME COOKING ── */
    .product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .product-visual { display: flex; justify-content: center; }
    .product-text .section-title { font-size: clamp(1.5rem, 2.5vw, 2rem); }
    .product-text p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
    .product-tag {
      display: inline-block; background: var(--gold); color: var(--navy);
      font-size: .75rem; font-weight: 700; padding: 4px 12px;
      border-radius: 20px; margin-bottom: 16px;
    }
    .feature-list { margin-top: 24px; }
    .feature-item {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 12px 0; border-bottom: 1px solid var(--border);
    }
    .feature-item:last-child { border-bottom: none; }
    .feature-check {
      width: 22px; height: 22px; background: var(--navy);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; margin-top: 1px;
    }
    .feature-item p { font-size: .9rem; color: var(--text); }

    /* ── SETTORI ── */
    .sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
    .sector-card {
      background: var(--white); border-radius: var(--radius);
      border: 1px solid var(--border); padding: 40px 32px;
      box-shadow: var(--shadow); transition: all .25s;
    }
    .sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .sector-icon { width: 60px; height: 60px; margin-bottom: 20px; }
    .sector-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
    .sector-desc { font-size: .9rem; color: var(--muted); line-height: 1.65; }

    /* ── MACCHINE ── */
    .machines-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .machines-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-box {
      background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
      border-radius: var(--radius); padding: 28px 24px; text-align: center;
      transition: background .2s;
    }
    .stat-box:hover { background: rgba(255,255,255,.11); }
    .stat-num { font-size: 2.4rem; font-weight: 800; color: var(--gold); line-height: 1; }
    .stat-unit { font-size: 1rem; font-weight: 400; }
    .stat-lbl { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 6px; line-height: 1.4; }
    .machines-list { margin-top: 32px; }
    .machines-list li {
      display: flex; align-items: center; gap: 12px;
      color: rgba(255,255,255,.75); font-size: .92rem;
      padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .machines-list li:last-child { border-bottom: none; }
    .list-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

    /* ── SEDI ── */
    .sedi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
    .sede-card {
      background: var(--white); border-radius: var(--radius);
      border: 1px solid var(--border); padding: 36px 32px;
      box-shadow: var(--shadow); transition: all .25s;
    }
    .sede-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
    .sede-card.hq { border-top: 4px solid var(--gold); }
    .sede-flag { font-size: 2rem; margin-bottom: 16px; }
    .sede-label {
      font-size: .72rem; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
    }
    .sede-name { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
    .sede-info { font-size: .9rem; color: var(--muted); line-height: 1.8; }
    .sede-info strong { color: var(--text); }

    /* ── CONTATTI ── */
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
    .contact-form-wrap {}
    .contact-form-wrap h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
    .form-group { margin-bottom: 20px; }
    .form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%; padding: 12px 16px;
      border: 1.5px solid var(--border); border-radius: 8px;
      font-family: inherit; font-size: .95rem; color: var(--text);
      background: var(--white); transition: border-color .2s;
      outline: none;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus { border-color: var(--gold); }
    .form-group textarea { min-height: 120px; resize: vertical; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

    .contact-info h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
    .contact-block { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
    .contact-block:last-child { border-bottom: none; }
    .contact-block-label {
      font-size: .72rem; font-weight: 700; letter-spacing: .1em;
      text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
    }
    .contact-block h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
    .contact-block p { font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
    .contact-block a { color: var(--navy); font-weight: 500; transition: color .2s; }
    .contact-block a:hover { color: var(--gold); }

    /* ── FOOTER ── */
    footer {
      background: #0d1824; color: rgba(255,255,255,.55);
      padding: 48px 0 32px;
    }
    .footer-inner {
      display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
      padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08);
      margin-bottom: 24px;
    }
    .footer-brand-name { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
    .footer-brand-desc { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
    .footer-col h5 { color: var(--white); font-size: .85rem; font-weight: 700; margin-bottom: 16px; letter-spacing: .05em; }
    .footer-col ul li { margin-bottom: 10px; }
    .footer-col ul li a { font-size: .88rem; transition: color .2s; }
    .footer-col ul li a:hover { color: var(--gold); }
    .footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; flex-wrap: wrap; gap: 8px; }
    .footer-bottom a { color: var(--gold); }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .hero-content, .about-grid, .product-grid, .machines-content, .contact-grid, .services-head { grid-template-columns: 1fr; gap: 48px; }
      .hero-title--full { white-space: normal; text-align: center; }
      .brands-grid, .services-grid, .sectors-grid, .sedi-grid { grid-template-columns: 1fr 1fr; }
      .hero-stats { gap: 24px; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
      .hero-svg img { margin: 24px auto 0 !important; }
    }
    /* Nav collapses to hamburger earlier so the language switch never crowds the links */
    @media (max-width: 820px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
    }
    @media (max-width: 600px) {
      .section { padding: 64px 0; }
      .brands-grid, .services-grid, .sectors-grid, .sedi-grid, .machines-stats { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr; }
      .form-row { grid-template-columns: 1fr; }
      .values-grid { grid-template-columns: 1fr; }
      .hero-actions { flex-direction: column; }
    }

    /* ── LANGUAGE SWITCH ── */
    .lang-switch { display:flex; align-items:center; gap:2px; margin-left:12px; }
    .lang-switch a { font-size:.8rem; font-weight:700; color:rgba(255,255,255,.55); padding:5px 8px; border-radius:6px; letter-spacing:.04em; transition:color .2s, background .2s; }
    .lang-switch a:hover { color:var(--gold); }
    .lang-switch a.active { color:var(--navy); background:var(--gold); }
    .mobile-lang { display:flex; gap:8px; padding:16px 24px 8px; border-bottom:1px solid rgba(255,255,255,.06); }
    .mobile-lang a { font-size:.85rem; font-weight:700; color:rgba(255,255,255,.7); padding:6px 14px; border:1px solid rgba(255,255,255,.18); border-radius:6px; transition:all .2s; }
    .mobile-lang a:hover { color:var(--gold); border-color:var(--gold); }
    .mobile-lang a.active { color:var(--navy); background:var(--gold); border-color:var(--gold); }
