/* CyberForge Consulting – brand colours from high-res logo & banner */
:root {
  --primary: #5A81C8;
  --secondary: #8899AA;
  --bg: #FFFFFF;
  --accent-dark: #4466AA;
  --accent-mid: #5A78B4;
  --accent-light: #BEC8D2;
  --text: #1a2a3a;
  --text-muted: #4a5f7a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--accent-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 2px solid var(--primary);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  position: absolute;
}

.logo-icon::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary) 0,
    var(--primary) 2px,
    transparent 2px,
    transparent 4px
  );
  transform: rotate(-45deg);
}

.logo-icon.small {
  width: 28px;
  height: 28px;
}

.logo-icon.small::before {
  width: 14px;
  height: 14px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--primary);
}

.logo-tagline {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--secondary);
  margin-left: 0.15rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: var(--primary);
}

/* Hero – theme from brand colours and symbols, no image */
.hero {
  position: relative;
  padding: 4rem 1.5rem 4rem;
  background: var(--bg);
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-wave {
  position: absolute;
  width: 40%;
  max-width: 420px;
  height: 120%;
  top: -10%;
  opacity: 0.12;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 2px,
    var(--primary) 2px,
    var(--primary) 3px
  );
  transform: skewY(-6deg);
}

.hero-wave--left {
  left: -5%;
  transform-origin: top left;
}

.hero-wave--right {
  left: auto;
  right: -5%;
  transform: skewY(6deg);
  transform-origin: top right;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.hero-logo-mark {
  display: inline-block;
  width: 56px;
  height: 56px;
  border: 2px solid var(--primary);
  border-radius: 6px;
  position: relative;
  margin-bottom: 1rem;
}

.hero-logo-mark::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid var(--primary);
  border-radius: 50%;
}

.hero-logo-mark::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 2px,
    var(--primary) 2px,
    var(--primary) 3px
  );
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 70% 70% at center, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, black 40%, transparent 70%);
}

.hero-brand {
  margin: 0 0 0.5rem;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.hero-brand-name {
  display: block;
  color: var(--primary);
}

.hero-brand-tagline {
  display: block;
  font-size: clamp(1rem, 3.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--secondary);
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin: 1.5rem 0 0.5rem;
}

.hero-mission {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.65;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--bg);
}

.btn-large {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section:nth-child(even) {
  background: linear-gradient(180deg, #f7f9fc 0%, rgba(190, 200, 210, 0.2) 100%);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.section-intro {
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 56ch;
}

/* Services grid */
.services-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--accent-light);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 16px rgba(90, 129, 200, 0.12);
}

.service-icon {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Approach */
.approach-lead {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 1rem;
}

.approach-text {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.approach-mission {
  background: var(--bg);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
}

.approach-mission p {
  margin: 0;
  color: var(--text);
}

.approach-mission strong {
  color: var(--primary);
}

/* CTA */
.section-cta {
  text-align: center;
}

.cta-text {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--accent-dark);
  color: var(--accent-light);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-logo .logo-text {
  color: var(--bg);
}

.footer-logo .logo-tagline {
  color: var(--accent-light);
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}
