/* RESET DI BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #f5f7fb;
  line-height: 1.6;
}

/* SEZIONI GENERALI */
.section {
  padding: 96px 24px;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-inner h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.section-inner p {
  font-size: 1rem;
  color: #4b5563;
}

/* NAVBAR */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(15, 23, 42, 0.97);
  color: #e5e7eb;
  z-index: 50;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.45);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: #cbd5f5;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #ffffff;
}

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  padding-top: 72px; /* altezza nav */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background-image: linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.5),
      rgba(15, 23, 42, 0.85)
    ),
    url("../hero-plant.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  max-width: 900px;
  padding: 40px 16px 72px;
}

.hero-logo {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #d1d5db;
}

.hero h1 {
  font-size: clamp(2.3rem, 3vw + 1.6rem, 3.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 0.98rem;
  color: #e5e7eb;
  margin-bottom: 32px;
}

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

/* BOTTONI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background 0.12s ease, color 0.12s ease;
}

.btn.primary {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.btn.outline {
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn.outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn.full-width {
  width: 100%;
}

/* ABOUT */
.about {
  background: #f5f7fb;
}

.about .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.about .text p {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 12px;
}

.about .image img {
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

/* CARDS (Key Strengths, Services) */
.cards {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #111827;
}

.card p {
  font-size: 0.95rem;
  color: #4b5563;
}

/* KEY STRENGTHS */
.strengths {
  background: #ffffff;
}

/* CHINA–EUROPE */
.china-europe {
  background: #edf1ff;
}

.china-europe .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  padding-top: 120px;
  padding-bottom: 120px;
}

.china-europe ul {
  padding-left: 18px;
  color: #4b5563;
}

.china-europe li {
  margin-bottom: 6px;
}

/* GLOBAL REACH */
.global-reach {
  background: #e5edff;
}

.global-reach .section-inner {
  text-align: center;
}

/* CONTACT – LAYOUT CHIARO COME OSW */
.contact {
  background: #f9fafb;
  color: #111827;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

/* Colonna sinistra */
.contact h2 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.contact-intro {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 28px;
}

.contact-subtitle {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #111827;
}

.company-block {
  margin-bottom: 14px;
  font-size: 0.96rem;
  color: #374151;
}

.company-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.company-label {
  font-weight: 500;
  color: #111827;
}

.contact-details a {
  color: #2563eb;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #6b7280;
}

/* Colonna destra – card form */
.contact-form-card {
  background: #f3f4f6;
  border-radius: 18px;
  padding: 28px 28px 32px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.contact-form-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #111827;
}

.contact-form-intro {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 14px;
  color: #111827;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  font-family: inherit;
  font-size: 0.9rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #2563eb;
  border-color: #2563eb;
}

/* Bottone scuro come nella preview */
.contact-form .contact-submit {
  background: #111827;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4);
}

.contact-form .contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.5);
}

/* RESPONSIVE CONTACT */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-card {
    margin-top: 24px;
  }
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;     /* BIANCO */
  color: #111827;          /* TESTO SCURO */
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #4f46e5;
  border-color: #4f46e5;
}

/* FOOTER */
.footer {
  background: #020617;
  color: #9ca3af;
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .about .section-inner,
  .china-europe .section-inner,
  .contact .section-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: 80vh;
    padding-top: 72px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* menu mobile semplificato */
  }

  .hero-content {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
/* FORZA STILE PULITO PER I CAMPI FORM */
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;      /* BIANCO */
  color: #111827;           /* TESTO SCURO */
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #4f46e5;
  border-color: #4f46e5;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
/* ============================
   PATCH FINALE LOOK & FEEL
   ============================ */


/* Bottoni hero e in generale */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.btn.primary {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.55);
}

.btn.outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.btn.outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* GRID GENERICA PER CARD (Key Strengths / Services) */
.cards-grid,
.strengths-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Stile card premium */
.card,
.strength-card,
.service-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 24px 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

/* ABOUT layout (se le classi esistono) */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.about-image img {
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.25);
}
/* ============================
   SERVICES SECTION
   ============================ */

.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0f172a;
  margin-bottom: 10px;
}

.section-intro {
  max-width: 640px;
  color: #4b5563;
  font-size: 1rem;
  margin-bottom: 32px;
}

/* griglia servizi: 4 sopra, 1 sotto */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

/* card larga in seconda riga (solo desktop/tablet) */
.service-card.service-card--wide {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .section {
    padding: 56px 16px;
  }

  .service-card.service-card--wide {
    grid-column: auto;
  }
}
/* ============================
   GLOBAL REACH SECTION
   ============================ */

.section--muted {
  background-color: #f5f7fb;
}

.reach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.reach-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid #e5e7eb;
  text-align: center;
}

.reach-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.reach-card p {
  font-size: 0.95rem;
  color: #4b5563;
}
/* ============================
   ABOUT + KEY STRENGTHS LAYOUT
   ============================ */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: flex-start;
}

.about-text p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 16px;
  max-width: 48rem;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-block h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
}

.about-block ul,
.about-block ol {
  margin: 0;
  padding-left: 1.2rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-block li + li {
  margin-top: 4px;
}

/* Responsivo */
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-side {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }

  .about-block {
    flex: 1 1 260px;
  }
}

@media (max-width: 640px) {
  .about-side {
    flex-direction: column;
  }
}
/* ============================
   CHINA–EUROPE FOCUS SECTION
   ============================ */

.focus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.focus-text p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 16px;
  max-width: 46rem;
}

.focus-text ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.focus-text li + li {
  margin-top: 4px;
}

.focus-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

/* Responsivo */
@media (max-width: 900px) {
  .focus-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .focus-image {
    max-width: 520px;
    margin: 0 auto;
  }
}