:root {
  --ethyly-red: #B4285A;
  --ethyly-blue: #00E4FF;
  --text-muted: rgba(255,255,255,0.72);
  --line: rgba(255,255,255,0.18);
  --line-strong: rgba(255,255,255,0.4);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background: #000;
  color: #fff;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }

/* TOPBAR identica alle altre pagine */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 72px; padding: 0 36px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; z-index: 50;
  background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.topbar-left { display: flex; align-items: center; gap: 32px; justify-self: start; }
.nav-link {
  font-family: 'Josefin Sans', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: #fff; background: transparent; border: none; cursor: pointer;
  padding: 4px 0; text-indent: 0.28em;
  transition: color 0.35s ease, letter-spacing 0.35s ease;
}
.nav-link.is-current { color: var(--ethyly-blue); }
.nav-distribuzione:hover, .nav-distribuzione:focus-visible { color: var(--ethyly-blue); outline: none; }
.nav-export:hover,       .nav-export:focus-visible       { color: var(--ethyly-red); outline: none; }
.nav-consulenza:hover,   .nav-consulenza:focus-visible   { color: #fff; letter-spacing: 0.32em; outline: none; }
.nav-contattaci:hover,   .nav-contattaci:focus-visible   { color: var(--ethyly-blue); outline: none; }

.topbar-center { justify-self: center; display: flex; align-items: center; }
.topbar-center a { display: block; line-height: 0; }
.topbar-logo-text {
  font-family: 'Josefin Sans', sans-serif; font-weight: 700;
  font-size: 20px; letter-spacing: 0.42em; text-indent: 0.42em;
  color: #fff;
}
.topbar-right { display: flex; align-items: center; gap: 22px; justify-self: end; }
.lang-group { display: flex; align-items: center; gap: 14px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: none; cursor: pointer;
  font-family: 'Josefin Sans', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); text-indent: 0.22em;
  transition: color 0.25s ease;
}
.lang-btn.active { color: #fff; }
.lang-btn .flag {
  width: 18px; height: 12px; display: inline-block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
  border-radius: 1px; opacity: 0.55;
  transition: opacity 0.25s ease;
  overflow: hidden; line-height: 0;
}
.lang-btn.active .flag { opacity: 1; }
.lang-btn .flag svg { display: block; width: 100%; height: 100%; }
.lang-sep { width: 1px; height: 12px; background: var(--line); }
.contact-sep { width: 1px; height: 14px; background: var(--line); }

/* HERO */
.contact-hero {
  padding: 160px 36px 60px;
  max-width: 1180px;
  margin: 0 auto;
}
.eyebrow {
  font-family: 'Josefin Sans', sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--ethyly-blue); text-indent: 0.42em;
  margin-bottom: 20px;
}
.contact-hero h1 {
  font-family: 'Josefin Sans', sans-serif; font-weight: 700;
  font-size: clamp(32px, 5vw, 56px); line-height: 1.1;
  letter-spacing: 0.02em; text-transform: none;
  margin-bottom: 20px;
}
.contact-hero p.lead {
  font-family: 'Jost', 'Josefin Sans', sans-serif; font-weight: 400;
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
}

/* GRID: form + info */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  padding: 20px 36px 120px;
  max-width: 1180px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; padding-bottom: 80px; }
  .contact-hero { padding: 120px 20px 32px; }
  .contact-grid { padding-left: 20px; padding-right: 20px; }
}

/* FORM */
form.lead-form {
  display: flex; flex-direction: column; gap: 24px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field {
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.field label {
  font-family: 'Josefin Sans', sans-serif; font-weight: 700;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); text-indent: 0.28em;
}
.field label .req { color: var(--ethyly-red); margin-left: 4px; }
.field input,
.field select,
.field textarea {
  font-family: 'Jost', 'Josefin Sans', sans-serif;
  font-weight: 400; font-size: 16px;
  color: #fff; background: transparent;
  border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 2px; outline: none;
  transition: border-color 0.25s ease;
  -webkit-appearance: none; appearance: none;
  border-radius: 0;
}
.field textarea { min-height: 110px; resize: vertical; font-family: 'Jost', sans-serif; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.6) 50%),
                    linear-gradient(135deg, rgba(255,255,255,0.6) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 24px;
}
.field select option { background: #000; color: #fff; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--ethyly-blue);
}
.field input:invalid:not(:placeholder-shown),
.field select:invalid:not([data-dirty="false"]) { border-bottom-color: var(--ethyly-red); }
.field .hint-txt {
  font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: 12px; color: rgba(255,255,255,0.4);
  margin-top: 4px;
}
.checkboxes {
  display: flex; flex-wrap: wrap; gap: 18px 24px;
  padding: 4px 0;
}
.chk {
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer;
  font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: 14px; color: rgba(255,255,255,0.85);
}
.chk input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--line-strong); background: transparent;
  cursor: pointer; display: inline-grid; place-content: center;
  flex-shrink: 0;
}
.chk input[type="checkbox"]:checked { background: var(--ethyly-blue); border-color: var(--ethyly-blue); }
.chk input[type="checkbox"]:checked::after {
  content: ''; width: 8px; height: 4px;
  border-left: 2px solid #000; border-bottom: 2px solid #000;
  transform: rotate(-45deg) translateY(-1px);
}
.consent {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.75);
}
.consent input { margin-top: 3px; }
.consent a { color: var(--ethyly-blue); text-decoration: underline; }

/* HONEYPOT nascosto */
.hp {
  position: absolute; left: -10000px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

/* SUBMIT */
.submit-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 10px;
  flex-wrap: wrap;
}
.cta-submit {
  font-family: 'Josefin Sans', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.36em; text-transform: uppercase;
  color: #000; background: var(--ethyly-blue);
  border: 0; padding: 18px 32px; cursor: pointer;
  text-indent: 0.36em;
  transition: background-color 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease;
}
.cta-submit:hover, .cta-submit:focus-visible {
  background: #fff; outline: none; letter-spacing: 0.4em;
}
.cta-submit[disabled] { opacity: 0.5; cursor: wait; }
.cta-alt {
  font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: 13px; color: rgba(255,255,255,0.6);
}
.cta-alt a { color: var(--ethyly-blue); border-bottom: 1px solid rgba(0,228,255,0.3); }
.form-feedback {
  padding: 14px 16px; margin-top: 12px;
  border: 1px solid var(--line-strong);
  font-family: 'Jost', sans-serif; font-weight: 400; font-size: 14px;
  display: none;
}
.form-feedback.ok { border-color: var(--ethyly-blue); color: var(--ethyly-blue); display: block; }
.form-feedback.err { border-color: var(--ethyly-red); color: var(--ethyly-red); display: block; }

/* ASIDE INFO */
aside.direct-contact { display: flex; flex-direction: column; gap: 28px; }
aside.direct-contact h2 {
  font-family: 'Josefin Sans', sans-serif; font-weight: 700;
  font-size: 14px; letter-spacing: 0.32em; text-transform: uppercase;
  color: #fff; text-indent: 0.32em;
  padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.info-block {
  font-family: 'Jost', sans-serif; font-weight: 400;
  font-size: 14px; line-height: 1.65; color: var(--text-muted);
}
.info-block strong {
  font-family: 'Josefin Sans', sans-serif; font-weight: 700;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: #fff; text-indent: 0.28em;
  display: block; margin-bottom: 6px;
}
.info-block a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.3); }
.info-block a:hover { color: var(--ethyly-blue); border-bottom-color: var(--ethyly-blue); }
.closing-line {
  margin-top: 12px;
  font-family: 'Josefin Sans', sans-serif; font-weight: 300;
  font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.85);
  padding-top: 20px; border-top: 1px solid var(--line);
  font-style: italic; letter-spacing: 0.02em;
}

/* FOOTER */
.footer-min {
  padding: 28px 36px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  font-family: 'Josefin Sans', sans-serif; font-weight: 300;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-indent: 0.26em;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .topbar-center { display: none; }
  .topbar { grid-template-columns: 1fr auto !important; }
}
@media (max-width: 768px) {
  .topbar { height: 56px; padding: 0 16px; }
  .topbar-left { gap: 12px; }
  .topbar-left a { font-size: 9px; letter-spacing: 0.16em; }
  .nav-contattaci { font-size: 9px !important; letter-spacing: 0.16em !important; }
  .lang-btn { font-size: 9px; letter-spacing: 0.14em; gap: 4px; }
  .lang-btn > span:not(.flag) { display: none; }
  .lang-btn .flag { width: 16px !important; height: 11px !important; }
  .lang-group { gap: 8px; }
  .topbar-right { gap: 10px; }
  .footer-min { flex-direction: column; gap: 8px; padding: 20px 18px; }
}
