@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::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; }
.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; align-items: center; position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; opacity: .18; }
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.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-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; object-fit: contain; }
.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-intro { max-width: 600px; margin-bottom: 56px; }
.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-visual img { max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.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); }
.sede-flag { font-size: 2rem; margin-bottom: 16px; }
.sede-country { font-size: .75rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.sede-name { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.sede-details p { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 4px; }
.sede-details a { color: var(--navy); font-weight: 500; }
.sede-details a:hover { color: var(--gold); }
.sede-badge { display: inline-block; background: var(--light); color: var(--navy); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-top: 12px; }

/* ── CONTATTI ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 40px; box-shadow: var(--shadow); }
.contact-form-wrap h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.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: .92rem; color: var(--text);
  background: var(--light); transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,43,74,.08); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-info h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 28px; }
.contact-block { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.contact-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-block-label { font-size: .72rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.contact-block h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.contact-block p { font-size: .9rem; color: var(--muted); line-height: 1.7; }
.contact-block a:hover { color: var(--gold); }

/* ── FOOTER ── */
footer { background: var(--navy); color: var(--white); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand-desc { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; margin: 12px 0 16px; max-width: 320px; }
.footer-col h5 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-bottom a { color: var(--gold); }

/* ── CONTACT FORM 7 OVERRIDES ── */
.wpcf7 .wpcf7-form { display: contents; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: .92rem; color: var(--text);
  background: var(--light); transition: border-color .2s, box-shadow .2s; outline: none;
  margin-bottom: 0;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,43,74,.08); background: var(--white); }
.wpcf7 input[type="submit"] {
  width: 100%; padding: 14px 28px; background: var(--gold); color: var(--navy);
  border: none; border-radius: 8px; font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: all .2s; margin-top: 8px;
}
.wpcf7 input[type="submit"]:hover { background: var(--gold2); transform: translateY(-1px); }
.wpcf7-response-output { margin-top: 16px !important; border-radius: 8px !important; padding: 12px 16px !important; font-size: .88rem !important; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-svg { display: none; }
  .about-grid, .product-grid, .machines-content { grid-template-columns: 1fr; gap: 40px; }
  .brands-grid, .services-grid, .sectors-grid, .sedi-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .brands-grid, .services-grid, .sectors-grid, .sedi-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
