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

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

:root {
  --green: #10B981;
  --green-dark: #059669;
  --green-darker: #047857;
  --green-light: #D1FAE5;
  --green-mid: #6EE7B7;
  --slate: #1E293B;
  --slate-dark: #0F172A;
  --slate-mid: #334155;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --radius: 12px;
  --radius-lg: 20px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: var(--slate);
  line-height: 1.6;
}

/* ─── LANGUAGE ─────────────────────────────────────── */
html.lang-it .t-en { display: none !important; }
html.lang-en .t-it { display: none !important; }

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--gray-200);
  height: 68px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { width: 38px; height: 38px; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-brand { font-size: 17px; font-weight: 800; color: var(--slate); line-height: 1.1; }
.nav-brand em { color: var(--green); font-style: normal; }
.nav-sub { font-size: 11px; font-weight: 600; color: var(--gray-400); letter-spacing: .5px; text-transform: uppercase; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-link {
  text-decoration: none; color: var(--gray-600); font-size: 14px; font-weight: 500;
  padding: 6px 10px; border-radius: 6px; transition: color .15s;
}
.nav-link:hover { color: var(--slate); }

.lang-toggle {
  display: flex; align-items: center; gap: 2px;
  background: var(--gray-100); border-radius: 8px; padding: 3px;
}
.lang-btn {
  border: none; background: transparent; padding: 4px 10px; border-radius: 6px;
  font-size: 12px; font-weight: 700; cursor: pointer; color: var(--gray-600);
  transition: all .15s; font-family: inherit;
}
.lang-btn.active { background: #fff; color: var(--slate); box-shadow: var(--shadow-sm); }

.btn-nav-cta {
  background: var(--green); color: #fff;
  padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background .15s; white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--green-dark); }

/* ─── HERO ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--slate-dark) 0%, var(--slate) 60%, #1a3a2a 100%);
  padding: 96px 24px 88px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(16,185,129,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3);
  color: var(--green-mid); font-size: 13px; font-weight: 600;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px); font-weight: 800;
  color: #fff; line-height: 1.15; letter-spacing: -1px; margin-bottom: 22px;
}
.hero h1 em { color: var(--green); font-style: normal; }

.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 44px; line-height: 1.7;
}

.hero-ctas {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all .2s;
}
.btn-whatsapp {
  background: #25D366; color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.45); }
.btn-email {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-email:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* ─── SECTIONS ────────────────────────────────────── */
.section { padding: 72px 24px; }
.section-gray { background: var(--gray-50); }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  text-align: center; font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  color: var(--slate); margin-bottom: 48px; line-height: 1.15;
}
.section-title em { color: var(--green); font-style: normal; }

/* ─── SERVICES ────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 36px 32px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.service-card:hover {
  border-color: var(--green); box-shadow: 0 8px 28px rgba(16,185,129,.12);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.service-icon svg { width: 24px; height: 24px; color: var(--green-dark); }
.service-card h3 { font-size: 17px; font-weight: 800; color: var(--slate); margin-bottom: 10px; }
.service-lead { font-size: 14px; color: var(--gray-600); margin-bottom: 16px; font-style: italic; }

.service-list {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px; flex: 1;
}
.service-list li {
  font-size: 13.5px; color: var(--gray-600); line-height: 1.5;
  padding-left: 18px; position: relative;
}
.service-list li::before {
  content: '→'; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 12px;
}
.service-ideal {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--gray-100);
  font-size: 12px; color: var(--green-dark); font-weight: 600;
}

/* ─── WHY ─────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px;
}
.why-card {
  background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 32px 28px; text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.why-card:hover {
  border-color: var(--green); box-shadow: 0 8px 28px rgba(16,185,129,.1); transform: translateY(-3px);
}
.why-icon { font-size: 32px; margin-bottom: 16px; }
.why-card h4 { font-size: 16px; font-weight: 700; color: var(--slate); margin-bottom: 10px; }
.why-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.65; }

/* ─── INDUSTRIES ──────────────────────────────────── */
.industries-intro {
  text-align: center; font-size: 15px; color: var(--gray-600);
  max-width: 680px; margin: 0 auto 40px; line-height: 1.7;
}
.industries-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
}
.industry-tag {
  display: flex; align-items: center; gap: 12px;
  background: var(--gray-50); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); padding: 16px 22px;
  font-size: 14px; font-weight: 600; color: var(--slate);
  transition: border-color .2s, background .2s;
}
.industry-tag:hover { border-color: var(--green); background: var(--green-light); }
.ind-icon { font-size: 20px; flex-shrink: 0; }
.industry-tag-other { border-style: dashed; color: var(--gray-600); }

/* ─── HOW IT WORKS ────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
  margin-bottom: 24px;
}
.step-card {
  background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--green); color: #fff;
  font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step-card h4 { font-size: 15px; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.65; }
.steps-note {
  text-align: center; font-size: 12px; color: var(--gray-400); margin-top: 8px;
}

/* ─── CONTACT CTA ─────────────────────────────────── */
.contact-cta { background: linear-gradient(135deg, var(--slate-dark) 0%, var(--slate) 100%); }
.contact-box { max-width: 720px; margin: 0 auto; text-align: center; }
.contact-box h2 {
  font-size: clamp(22px, 3.5vw, 36px); font-weight: 800;
  color: #fff; margin-bottom: 16px; line-height: 1.2;
}
.contact-sub { font-size: 16px; color: rgba(255,255,255,.7); margin-bottom: 40px; line-height: 1.7; }
.contact-buttons {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px;
}
.cta-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 32px; border-radius: 14px; text-decoration: none;
  transition: all .2s; min-width: 240px;
}
.cta-whatsapp {
  background: #25D366; color: #fff;
  box-shadow: 0 4px 24px rgba(37,211,102,.35);
}
.cta-whatsapp:hover { background: #1ebe5d; transform: translateY(-3px); box-shadow: 0 10px 36px rgba(37,211,102,.45); }
.cta-email {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
}
.cta-email:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.cta-label { display: block; font-size: 11px; font-weight: 600; opacity: .75; text-align: left; }
.cta-value { display: block; font-size: 15px; font-weight: 700; text-align: left; }
.contact-note { font-size: 13px; color: rgba(255,255,255,.45); }

/* ─── INQUIRY FORM ────────────────────────────────── */
.inquiry-section { background: var(--gray-50); }
.inquiry-wrap {
  max-width: 700px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-lg); padding: 48px;
  box-shadow: var(--shadow-md);
}
.inquiry-wrap h3 {
  font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: var(--slate); margin-bottom: 8px;
}
.inquiry-sub { font-size: 14px; color: var(--gray-600); margin-bottom: 28px; line-height: 1.6; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--slate-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px; border: 1.5px solid var(--gray-200);
  border-radius: 8px; font-size: 14px; font-family: inherit;
  color: var(--slate); transition: border-color .15s, box-shadow .15s; background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.logistics-fields {
  display: none; background: var(--gray-50); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); padding: 20px 20px 4px; margin-bottom: 16px;
}
.logistics-fields.visible { display: block; }
.logistics-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
  color: var(--green-dark); margin-bottom: 16px;
}

.btn-submit {
  width: 100%; padding: 15px; background: #25D366; color: #fff;
  border: none; border-radius: 10px; font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: background .15s, transform .15s;
  margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { background: #1ebe5d; transform: translateY(-1px); }

/* ─── FOOTER ──────────────────────────────────────── */
footer { background: var(--slate-dark); color: var(--gray-400); padding: 48px 32px 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 36px;
}
.footer-brand .logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand .logo-row img { width: 32px; height: 32px; object-fit: contain; }
.footer-brand .logo-row span { font-size: 17px; font-weight: 800; color: #fff; }
.footer-brand p { font-size: 13px; max-width: 240px; line-height: 1.65; }
.footer-brand address {
  font-style: normal; font-size: 12px; color: var(--gray-400); line-height: 1.7; margin-top: 10px;
}
.footer-links h5 {
  color: #fff; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px;
}
.footer-links a {
  display: block; color: var(--gray-400); text-decoration: none;
  font-size: 13px; margin-bottom: 8px; transition: color .15s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #1E293B; padding-top: 20px;
  font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-sub { display: none; }
  .hide-sm { display: none; }
  .hero { padding: 72px 20px 64px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-buttons { flex-direction: column; align-items: center; }
  .cta-btn { min-width: 280px; justify-content: center; }
  .inquiry-wrap { padding: 32px 24px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 16px 52px; }
  .section { padding: 52px 16px; }
  .btn-nav-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 20px; }
}
