/* ══════════════════════════════════════════
   OS Consulting — Site Stylesheet
   CI: Semaphore logo purple + orange
   Zero external dependencies, zero cookies
   ══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --purple:       #4E1D6B;
  --purple-light: #6B2E90;
  --purple-deep:  #2E0E40;
  --orange:       #E5781D;
  --orange-light: #F2993A;
  --orange-soft:  #FEF4EB;
  --purple-soft:  #F3EDF7;
  --text:         #1E1E1E;
  --text-mid:     #4A4A4A;
  --text-light:   #6E6E6E;
  --bg:           #FAFAFA;
  --white:        #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(78, 29, 107, 0.08);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--purple);
}

.nav-logo img { height: 36px; width: auto; }

.nav-logo span {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--purple); }

/* ── Hero ── */
.hero {
  padding: 10rem 2rem 6rem;
  text-align: left;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--purple-deep);
  max-width: 700px;
}

.hero h1 .accent { color: var(--orange); }

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--purple);
  border: 1.5px solid rgba(78, 29, 107, 0.25);
}

.btn-secondary:hover {
  border-color: var(--purple);
  background: var(--purple-soft);
}

/* ── Sections ── */
section { padding: 5rem 2rem; }

.container { max-width: 1080px; margin: 0 auto; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--purple-deep);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ── About ── */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.about-text p:last-child { margin-bottom: 0; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.highlight-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 1.5rem;
}

.highlight-card .number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
}

.highlight-card .label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.35rem;
  line-height: 1.4;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(78, 29, 107, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: rgba(78, 29, 107, 0.15);
  box-shadow: 0 4px 20px rgba(78, 29, 107, 0.06);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.service-icon.purple { background: var(--purple-soft); }
.service-icon.orange { background: var(--orange-soft); }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--purple-deep);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Approach ── */
.approach {
  background: var(--purple-deep);
  color: var(--white);
}

.approach .section-label { color: var(--orange-light); }
.approach .section-title { color: var(--white); }
.approach .section-intro { color: rgba(255, 255, 255, 0.7); }

.approach-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.approach-point {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.approach-point h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.approach-point p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ── Contact ── */
.contact { background: var(--white); }

.contact-box {
  background: var(--bg);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple-deep);
}

.contact-box p {
  color: var(--text-mid);
  margin-top: 0.5rem;
  max-width: 440px;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  background: #0A66C2;
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}

.linkedin-btn:hover {
  background: #004182;
  transform: translateY(-1px);
}

.linkedin-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ── Footer ── */
.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(78, 29, 107, 0.08);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--purple); }

/* ── Legal pages (imprint, privacy) ── */
.legal-page {
  padding: 8rem 2rem 5rem;
  max-width: 740px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--purple-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-page .legal-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--purple-deep);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-mid);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-page ul {
  list-style: none;
  padding-left: 0;
}

.legal-page ul li::before {
  content: '–';
  color: var(--orange);
  font-weight: 600;
  margin-right: 0.5rem;
}

.legal-page a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: rgba(78, 29, 107, 0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s;
}

.legal-page a:hover {
  text-decoration-color: var(--purple);
}

.legal-page .legal-block {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--orange);
  margin: 1.5rem 0;
}

.legal-page .legal-block p {
  margin-bottom: 0.25rem;
}

.legal-page .legal-block p:last-child {
  margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 7rem 1.5rem 4rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-box {
    padding: 2rem;
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .legal-page {
    padding: 7rem 1.5rem 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary:hover,
  .linkedin-btn:hover { transform: none; }
}
