/* =======================
   Global Variables
======================= */
:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --muted: #6b7280;
  --accent: #0ea5a4; /* finale Version */
  --accent-dark: #0369a1;
  --text: #0f172a;
  --radius: 12px;
}

/* =======================
   Global Styles
======================= */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; line-height: 1.5; }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 28px; }

/* Skip Link */
.skip {
  position: absolute;
  left: -999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px;
  background: #111;
  color: #fff;
  z-index: 9999;
}

/* =======================
   Header & Navigation
======================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e6eef6;
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}
.brand-title { font-weight: 700; }
.brand-sub { font-size: 13px; color: var(--muted); }

.nav-list {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-list a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 6px;
}
.nav-list a.cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}
.nav-list a.active { color: var(--accent); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 20px;
  padding: 6px;
}

/* Responsive Nav */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 18px; }
  .contact-card { grid-template-columns: 1fr; }
  .hero-image { min-height: 180px; }
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    right: 20px;
    top: 64px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.12);
    flex-direction: column;
    gap: 8px;
  }
  .nav-list.show { display: flex; }
}

/* =======================
   Hero Section
======================= */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 48px 0 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
}
.hero-content h1 { font-size: 36px; margin: 0 0 12px; }
.lead { color: var(--muted); margin-bottom: 12px; }
.hero-ctas { display: flex; gap: 12px; margin: 12px 0; }
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: transparent;
  color: var(--text);
  font-weight: 600;
}
.btn.small { padding: 8px 12px; }
.btn.primary { background: var(--accent); color: #fff; border: 0; }
.btn.ghost { background: transparent; border: 1px solid #e6eef6; }
.hero-features {
  margin-top: 10px;
  list-style: none;
  padding: 0;
  display: flex;
  gap: 14px;
  color: var(--muted);
}
.hero-image {
  background: #eef2ff;
  border-radius: 12px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #dbeafe;
}
.image-placeholder { color: #94a3b8; }

/* =======================
   KPIs Section
======================= */
.kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}
.kpi {
  background: var(--card);
  padding: 16px 14px;
  border-radius: 10px;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.04);
  flex: 1 1 120px;
  max-width: 250px;
  box-sizing: border-box;
}
.kpi-number {
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
}
.kpi-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  line-height: 1.3;
}

/* Small screens */
@media (max-width: 640px) {
  .kpis { flex-direction: column; gap: 16px; align-items: center; }
  .kpi { width: 90%; max-width: 300px; padding: 18px 16px; }
  .kpi-number { font-size: 1.8rem; }
  .kpi-label { font-size: 0.85rem; line-height: 1.3; }
}

/* Medium screens */
@media (min-width: 641px) and (max-width: 900px) {
  .kpis { justify-content: space-around; }
  .kpi { flex: 1 1 45%; max-width: 45%; }
}

/* =======================
   Cards Section
======================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--card);
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* =======================
   Timeline
======================= */
.timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -0.25rem;
  top: 0;
  width: 1rem;
  height: 1rem;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid #ffffff;
}
.timeline-date { font-weight: 600; color: var(--accent); margin-bottom: 0.25rem; }
.timeline-content { padding-left: 1.5rem; }

/* =======================
   Sections (generic)
======================= */
h2 { font-size: 22px; margin: 0 0 8px; }
.muted { color: var(--muted); }

/* =======================
   Team
======================= */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.team-member { text-align: center; }
.team-photo {
  height: 110px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-bottom: 8px;
}

/* =======================
   Contact
======================= */
.contact-card { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.contact-form label { display: block; margin-bottom: 10px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6eef6;
}
.contact-info {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.04);
}

/* =======================
   CTA & Footer
======================= */
.cta-row { text-align: center; margin: 28px 0; }
.site-footer {
  background: #0f172a;
  color: #fff;
  padding: 24px 0;
  margin-top: 28px;
}
.footer-grid { display: flex; gap: 20px; align-items: center; justify-content: space-between; }

/* =======================
   Process Section
======================= */
.process { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.process-step {
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  min-width: 180px;
  box-shadow: 0 4px 18px rgba(2,6,23,0.03);
}
.process-step strong { display: block; font-size: 20px; color: var(--accent); }
.process-step span { font-weight: 600; }

/* =======================
   Map Placeholder
======================= */
.map-placeholder {
  height: 240px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f1f5f9, #eef2ff);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #c7d2fe;
  color: #64748b;
}
