/* Compuland — corporate tech palette */
:root {
  --navy: #0b1f3a;
  --navy-deep: #071526;
  --blue: #1a4f8a;
  --blue-mid: #2563a8;
  --accent: #3b82c4;
  --accent-light: #5ba3d9;
  --cta: #e8a317;
  --cta-hover: #f0b83a;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #f4f7fb;
  --white: #ffffff;
  --border: #dce3ed;
  --placeholder-bg: #2a3f5a;
  --placeholder-border: #4a6280;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(11, 31, 58, 0.08);
  --max: 1120px;
  --header-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-mid); text-decoration: none; }
a:hover { color: var(--accent); }
ul { list-style: none; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.logo:hover { color: var(--accent-light); }
.logo-name { font-size: 1.35rem; letter-spacing: 0.06em; }
.logo-tag { font-size: 0.65rem; font-weight: 500; opacity: 0.75; letter-spacing: 0.04em; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(255,255,255,.88);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  text-align: center;
}
.btn-cta {
  background: var(--cta);
  color: var(--navy-deep) !important;
  border-color: var(--cta);
}
.btn-cta:hover { background: var(--cta-hover); color: var(--navy-deep) !important; }
.btn-primary {
  background: var(--blue-mid);
  color: var(--white) !important;
}
.btn-primary:hover { background: var(--accent); color: var(--white) !important; }
.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover { background: rgba(255,255,255,.1); color: var(--white) !important; }
.btn-outline-dark {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white) !important; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }

/* —— Hero —— */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--blue) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}
.hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.25;
  font-weight: 700;
  max-width: 38rem;
  margin-bottom: 1.25rem;
}
.hero-lead { max-width: 40rem; opacity: 0.92; margin-bottom: 0.85rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.25rem 0 1.85rem;
}
.page-hero h1 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.88; max-width: 42rem; }
.breadcrumb {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 0.65rem;
}
.breadcrumb a { color: var(--accent-light); }

/* —— Sections —— */
main { flex: 1; }
.section { padding: 2.75rem 0; }
.section-alt { background: var(--white); }
.section h2 {
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-intro { color: var(--text-muted); max-width: 46rem; margin-bottom: 1.75rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(11,31,58,.12); }
.card-body { padding: 1.15rem 1.2rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.5rem; }
.card-body p { font-size: 0.92rem; color: var(--text-muted); flex: 1; }
.card-link { margin-top: 0.9rem; font-weight: 600; font-size: 0.88rem; color: var(--blue-mid); }
.card-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

/* —— Placeholders —— */
.ph {
  background: linear-gradient(145deg, var(--placeholder-bg), #1e3250);
  border: 1px dashed var(--placeholder-border);
  color: rgba(255,255,255,.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
  min-height: 160px;
  gap: 0.35rem;
}
.ph-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cta);
  letter-spacing: 0.04em;
}
.ph-desc { font-size: 0.78rem; opacity: 0.8; max-width: 22rem; line-height: 1.4; }
.ph-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.55; }
.ph-hero { min-height: 220px; border-radius: var(--radius); }
.ph-card { min-height: 140px; }
.ph-wide { min-height: 200px; border-radius: var(--radius); margin-bottom: 1.5rem; }
.ph-side { min-height: 180px; border-radius: var(--radius); }
.ph-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.ph-grid .ph { min-height: 120px; border-radius: 8px; }

/* —— Client strip —— */
.client-strip {
  background: var(--white);
  border-block: 1px solid var(--border);
  padding: 1.35rem 0;
}
.client-strip-label {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-weight: 600;
}
.client-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}
.client-cat {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* —— Content blocks —— */
.prose { max-width: 46rem; }
.prose p + p { margin-top: 0.9rem; }
.prose strong { color: var(--navy); }

.service-list-title {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 1.75rem 0 0.85rem;
  font-weight: 700;
}
.service-list {
  display: grid;
  gap: 0.45rem;
}
.service-list li {
  position: relative;
  padding: 0.55rem 0.85rem 0.55rem 1.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.94rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.highlight-box {
  background: linear-gradient(135deg, #0e2744, #163a66);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin: 1.75rem 0;
  border-left: 4px solid var(--cta);
}
.highlight-box h3 {
  color: var(--cta);
  font-size: 1rem;
  margin-bottom: 0.65rem;
  letter-spacing: 0.03em;
}
.highlight-box p { opacity: 0.95; font-size: 0.95rem; }

.client-group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
}
.client-group h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.client-group p { font-size: 0.93rem; color: var(--text-muted); }

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.75rem;
  align-items: start;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 2.25rem 0;
  text-align: center;
}
.cta-band h2 { font-size: 1.35rem; margin-bottom: 0.5rem; color: var(--white); }
.cta-band p { opacity: 0.85; margin-bottom: 1.25rem; max-width: 36rem; margin-inline: auto; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

.service-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* —— Contact placeholder —— */
.contact-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 36rem;
}
.contact-block h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.75rem; }
.contact-placeholder {
  background: #fff8e6;
  border: 1px dashed #d4a017;
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #6b5200;
}
.contact-placeholder strong { display: block; margin-bottom: 0.35rem; color: #5a4500; }
.fake-form { display: grid; gap: 0.75rem; margin-top: 1.25rem; opacity: 0.85; }
.fake-form label { font-size: 0.82rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 0.25rem; }
.fake-form input, .fake-form select, .fake-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
  background: var(--bg);
}
.fake-form textarea { min-height: 110px; resize: vertical; }
.fake-form .note { font-size: 0.8rem; color: var(--text-muted); }

/* —— Footer —— */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.8);
  padding: 2.25rem 0 1.5rem;
  margin-top: auto;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}
.footer-brand .logo-name { color: var(--white); font-size: 1.2rem; font-weight: 700; letter-spacing: 0.06em; }
.footer-brand p { margin-top: 0.5rem; font-size: 0.85rem; opacity: 0.75; max-width: 22rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.footer-col a { color: rgba(255,255,255,.75); display: block; padding: 0.2rem 0; font-size: 0.88rem; }
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  opacity: 0.7;
}
.footer-bottom a { color: var(--accent-light); }

/* —— Responsive —— */
@media (max-width: 900px) {
  .grid-3, .split, .footer-grid { grid-template-columns: 1fr; }
  .grid-2, .ph-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: var(--header-h);
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.25rem;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.7rem 0.25rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav .btn-cta { margin-top: 0.75rem; text-align: center; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

@media (max-width: 600px) {
  .hero { padding: 2.5rem 0 2rem; }
  .section { padding: 2rem 0; }
}
