:root {
  --color-bg: #f2f5f9;
  --color-surface: #ffffff;
  --color-text: #0e1c2e;
  --color-text-muted: #4a6075;
  --color-accent: #0dab8a;
  --color-accent-strong: #0a9277;
  --color-accent-soft: rgba(13, 171, 138, 0.12);
  --color-accent-muted: #14366e;
  --color-border: #c5d4e5;
  --color-border-light: #dce8f2;
  --color-warm: #e5eef8;
  --logo-row-1: #0dab8a;
  --logo-row-2: #14366e;
  --logo-row-3: #0e1c2e;
  --font-heading: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-4xl: 2.5rem;
  --line-tight: 1.2;
  --line-normal: 1.55;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --container-max: 72rem;
  --container-padding: 1.5rem;
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --transition: 0.2s ease;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: var(--line-normal);
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-strong); }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.main-content { min-height: 60vh; }
.section { padding: var(--space-3xl) 0; }
.section-alt { background: var(--color-warm); }

.page-home + .section-alt {
  background: var(--color-bg);
}
.page-home + .section-alt .kicker {
  color: var(--color-accent);
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.page-home + .section-alt .mix-card {
  background: var(--color-surface);
  border-left: none;
  border-top: 3px solid var(--color-accent);
  border-right: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  border-left: 1px solid var(--color-border-light);
}
.page-home + .section-alt .mix-card h3,
.page-home + .section-alt .mix-card p {
  color: var(--color-text);
}
.page-home + .section-alt .mix-card p {
  color: var(--color-text-muted);
}
.page-home + .section-alt .mix-num {
  background: var(--color-accent);
  color: #fff;
}

.page-about-hero {
  text-align: center;
}

.about-center {
  max-width: 52rem;
  margin: 0 auto;
}

.about-center .lead {
  margin-left: auto;
  margin-right: auto;
}

.about-center .hero-actions {
  justify-content: center;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.page-about + .section-alt {
  background: var(--color-bg);
}
.page-about {
  background: #0dab8a;
}
.page-about .kicker,
.page-about .page-title {
  color: #fff;
}
.page-about .lead {
  color: rgba(255, 255, 255, 0.9);
}
.page-home + .section-alt .mix-card,
.page-about .about-panel,
.page-services.section-contact .service-cluster,
.page-contact .contact-form-shell {
  box-shadow: 0 10px 24px rgba(8, 14, 22, 0.1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-light);
}

.site-nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-md) var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: inherit;
}

.logo-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark-svg {
  width: 1.3rem;
  height: 1.3rem;
}
.logo-bar-1 { fill: var(--logo-row-1); }
.logo-bar-2 { fill: var(--logo-row-2); }
.logo-bar-3 { fill: var(--logo-row-3); }

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.1rem;
}

.nav-links a {
  color: var(--color-text-muted);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a.current {
  color: var(--color-accent-muted);
  background: rgba(20, 54, 110, 0.1);
}
.nav-links a.current {
  color: #fff;
  background: var(--color-accent-muted);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--color-text);
  font-size: 1.25rem;
}

@media (max-width: 47.99em) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--space-lg);
    flex-direction: column;
    display: none;
  }
  .site-nav.nav-open .nav-links { display: flex; }
}

.page-title {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  line-height: var(--line-tight);
}

.lead {
  margin: 0 0 var(--space-xl);
  max-width: 52ch;
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

h2 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
}

h3 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
}

p { margin: 0 0 var(--space-md); color: var(--color-text-muted); max-width: 66ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius);
  border: 0;
  background: var(--color-accent-muted);
  color: #fff;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.btn:hover {
  background: #0c2350;
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-warm);
  color: var(--color-text);
}

.hero-shell {
  background: linear-gradient(145deg, #ffffff, var(--color-warm));
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: grid;
  gap: var(--space-xl);
}
.page-home.section-contact .hero-shell {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-section {
  background: linear-gradient(to right, rgba(104, 197, 159, 0.10) 0%, #fafbfc 55%);
  margin-bottom: 0;
}

.hero-billboard {
  min-height: 62vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-2xl);
  padding: 0 0 0 calc(var(--container-padding) * 3);
}

.hero-content {
  padding-bottom: var(--space-xl);
}

.hero-person {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  align-self: stretch;
}

.hero-person-img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: contain;
  object-position: bottom right;
  display: block;
}

.hero-accent {
  display: block;
  width: 3rem;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: var(--space-lg);
}

.hero-section .kicker { color: var(--color-accent); font-size: 1.5rem; }
.hero-section .page-title { color: var(--color-text); font-size: 3.75rem; }
.hero-section .lead { color: var(--color-text-muted); font-size: 1.125rem; }

.kicker {
  margin: 0 0 var(--space-md);
  color: var(--color-accent-muted);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.mix-grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.mix-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.mix-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--color-accent-muted);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.about-split {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.about-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.placeholder-image {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.placeholder-image img {
  width: 100%;
  object-fit: cover;
}

.placeholder-image.square img { aspect-ratio: 1/1; }
.placeholder-image.wide img { aspect-ratio: 16/9; }

.services-intro {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto var(--space-2xl);
}

.services-intro .kicker {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.services-intro .lead {
  margin-left: auto;
  margin-right: auto;
}

.services-stack {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.service-cluster {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.service-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.service-list {
  margin: var(--space-md) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.service-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.55rem;
}

.service-list li::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: var(--color-accent);
}

.services-cta {
  margin-top: var(--space-2xl);
  max-width: none;
  text-align: center;
}

.services-banner {
  background: var(--color-accent);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.services-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}

.section-contact {
  background: linear-gradient(145deg, #14366e 0%, #0c2350 100%);
}

.contact-wrap {
  display: grid;
  gap: var(--space-xl);
}

.contact-note {
  color: rgba(255, 255, 255, 0.88);
}

.contact-form-shell {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.section-contact .page-title,
.section-contact .lead,
.section-contact .contact-note,
.section-contact label { color: #fff; }
.section-contact .kicker { color: rgba(255, 255, 255, 0.88); }
.hero-section .btn-secondary {
  color: var(--color-text);
  border-color: var(--color-border);
}
.hero-section .btn-home-primary {
  background: var(--color-accent);
  border: none;
}
.hero-section .btn-home-primary:hover {
  background: var(--color-accent-strong);
}
.hero-section .btn-secondary:hover {
  background: var(--color-warm);
  color: var(--color-text);
}
.page-contact .contact-form-shell .btn {
  border: 1px solid rgba(255, 255, 255, 0.85);
}
.page-services.section-contact .btn {
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.form-group { margin-bottom: var(--space-lg); }
.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: var(--text-sm);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.75rem;
  font: inherit;
}

.form-group textarea { min-height: 10rem; resize: vertical; }

.form-status {
  display: none;
  margin-top: var(--space-md);
  padding: 0.75rem;
  border-radius: var(--radius);
  font-size: var(--text-sm);
}

.form-status.visible { display: block; }
.form-status.success {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
.form-status.error {
  background: #fff;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.site-footer {
  border-top: 1px solid var(--color-border-light);
  background: var(--color-surface);
  padding: var(--space-2xl) var(--container-padding);
}

.footer-inner { max-width: var(--container-max); margin: 0 auto; text-align: center; }
.footer-tagline {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.footer-links {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.footer-copy { margin: 0; max-width: none; font-size: var(--text-sm); }

.legal-content { max-width: 66ch; }
.legal-content h2 { margin-top: var(--space-2xl); }

@media (max-width: 68.75em) {
  .hero-billboard {
    grid-template-columns: 1fr;
    padding: var(--space-2xl) var(--container-padding) 0;
    min-height: auto;
    text-align: center;
  }
  .hero-section .page-title { font-size: 2.5rem; }
  .hero-section .kicker { font-size: 1.125rem; }
  .hero-actions { justify-content: center; }
  .hero-accent { margin-left: auto; margin-right: auto; }
  .hero-person {
    justify-content: center;
    align-items: flex-end;
  }
  .hero-person-img {
    max-height: 380px;
    width: auto;
    margin: 0 auto;
    display: block;
    vertical-align: bottom;
  }
  .hero-content .lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 47.99em) {
  .contact-wrap { text-align: center; }
  .contact-form-shell { order: 2; }
  .contact-wrap > div:last-child { order: 1; }
  .section-alt .kicker {
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .page-about + .section-alt .about-panel { order: 1; }
  .page-about + .section-alt .placeholder-image { order: 2; }
  .page-about .kicker {
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .page-services .kicker {
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .page-contact .kicker {
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .page-services .lead {
    text-align: center;
  }
  .page-about .lead {
    text-align: center;
  }
  .page-title { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .contact-wrap .lead,
  .contact-wrap .contact-note { margin-left: auto; margin-right: auto; }
  .form-actions { text-align: center; }
  .page-contact .form-group {
    text-align: left;
  }
  .page-contact .form-group label {
    text-align: left;
  }
}

@media (min-width: 48em) {
  .hero-shell {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }
  .mix-grid { grid-template-columns: repeat(3, 1fr); }
  .about-split { grid-template-columns: 1fr 1fr; align-items: start; }
  .services-stack { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact-wrap { grid-template-columns: 1fr 42%; align-items: start; }
}

/* ===================== CAPABILITIES SECTION ===================== */
.section-caps {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
}
.kicker-caps {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.caps-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: var(--line-tight);
  color: var(--color-text);
  margin: 0 0 var(--space-2xl);
  max-width: 36ch;
}
.br-desk { display: none; }
@media (min-width: 48em) { .br-desk { display: block; } }

.caps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-border-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 48em) {
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
  .caps-grid { grid-template-columns: repeat(3, 1fr); }
}

.cap-card {
  background: var(--color-bg);
  padding: var(--space-xl) var(--space-xl) var(--space-2xl);
  transition: background var(--transition);
}
.cap-card:hover { background: var(--color-surface); }

.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}
.cap-card h3 {
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}
.cap-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  max-width: 38ch;
}
.caps-cta {
  margin: var(--space-2xl) 0 0;
  max-width: none;
}

@media (max-width: 47.99em) {
  .kicker-caps { text-align: center; display: table; margin-left: auto; margin-right: auto; }
  .caps-heading { text-align: center; margin-left: auto; margin-right: auto; }
  .cap-card { text-align: center; }
  .cap-icon { margin-left: auto; margin-right: auto; }
  .cap-card p { margin-left: auto; margin-right: auto; }
  .caps-cta { text-align: center; }
}
