/* ============================================
   Sydeone — Styles
   Dark minimal theme, logo-derived palette
   ============================================ */

:root {
  --bg-primary:    #0d1117;
  --bg-secondary:  #111827;
  --bg-card:       #141d2e;
  --border:        #1e2a3a;
  --border-subtle: #172030;

  --text-primary:   #e2e8f4;
  --text-secondary: #7a8fa8;
  --text-muted:     #4a5c72;

  --blue:       #1a72cc;
  --blue-light: #2e8de8;
  --blue-dim:   rgba(26, 114, 204, 0.12);
  --green:      #4db032;
  --green-dim:  rgba(77, 176, 50, 0.12);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --max-width: 1100px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- Layout ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo img { height: 32px; }
.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.logo-syde { color: var(--blue-light); }
.logo-one  { color: var(--green); }
.nav nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav nav a:hover { color: var(--text-primary); }
.btn-nav {
  color: var(--text-primary) !important;
  background: var(--blue);
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 14px !important;
  font-weight: 500;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--blue-light) !important; }

/* ---- Hero ---- */
.hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(26, 114, 204, 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}
.hero-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2;
}
.hero-mark img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  opacity: 0.85;
}
.hero-text { order: 1; }
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-light); }
.btn-ghost {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--text-primary); }

/* ---- Intro strip ---- */
.intro-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 32px 0;
}
.intro-strip p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-secondary); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-top: 12px; margin-bottom: 16px; }
.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-primary);
}

/* ---- Services grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}
.service-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon--blue { background: var(--blue-dim); color: var(--blue-light); }
.service-icon--green { background: var(--green-dim); color: var(--green); }

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}
.about-text .label { margin-bottom: 10px; }
.about-text h2 { margin-bottom: 24px; }
.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.about-tags span {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 12px;
}

.about-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 36px 28px;
  position: sticky;
  top: 84px;
}
.about-logo-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 24px;
  opacity: 0.7;
}
blockquote {
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-secondary);
  border-left: 3px solid var(--blue);
  padding-left: 16px;
  margin-bottom: 32px;
}
.about-stat-group { display: flex; flex-direction: column; gap: 16px; }
.about-stat { display: flex; flex-direction: column; gap: 2px; }
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.stat-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ---- Contact ---- */
.section--contact {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0a111c 100%);
  border-top: 1px solid var(--border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-inner .label { margin-bottom: 10px; }
.contact-inner h2 { margin-bottom: 16px; }
.contact-inner > div > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px 24px;
  transition: border-color 0.2s, background 0.2s;
  color: var(--text-primary);
}
.contact-card:hover {
  border-color: var(--blue);
  background: #141d2e;
}
.contact-card svg { color: var(--blue); flex-shrink: 0; }
.contact-card span { font-size: 15px; font-weight: 500; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg-primary);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-mark { order: -1; }
  .hero-mark img { width: 160px; height: 160px; }
  .hero-body { margin: 0 auto 36px; }
  .hero-cta { justify-content: center; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; }
  .about-card-inner { position: static; }

  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .nav nav a:not(.btn-nav) { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
