/* ------------------------------------------------------------------
   Development Consulting (devcons.ro) — static refresh
   Self-contained, no external dependencies.
------------------------------------------------------------------ */

:root {
  --navy:        #12324f;   /* primary brand navy (from logo)      */
  --navy-deep:   #0d2439;   /* top bar / footer                    */
  --steel:       #2e6da4;   /* accent                              */
  --steel-soft:  #4d86bc;
  --ink:         #24313d;   /* body text                           */
  --muted:       #64717d;
  --line:        #dde3ea;
  --paper:       #ffffff;
  --panel:       #f4f7fa;   /* section tint                        */
  --maxw:        1080px;
  --radius:      6px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--steel); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--steel-soft); outline-offset: 2px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #b9c6d3;
  font-size: 13px;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 34px; gap: 12px;
}
.topbar .date { letter-spacing: .02em; }
.lang { display: flex; align-items: center; gap: 10px; }
.lang a { display: inline-flex; opacity: .85; }
.lang a:hover { opacity: 1; }
.lang img { width: 22px; height: 15px; border: 1px solid rgba(255,255,255,.25); }
.lang a[aria-current="true"] { opacity: 1; }
.lang a[aria-current="true"] img { outline: 2px solid var(--steel-soft); }

/* ---------- Header / logo ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .container { padding-top: 20px; padding-bottom: 20px; }
.logo img { width: 453px; max-width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  background: var(--navy);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
}
.nav .container { display: flex; align-items: stretch; }
.nav-toggle {
  display: none;
  background: none; border: 0; color: #fff;
  font-size: 15px; padding: 14px 4px; cursor: pointer;
  align-items: center; gap: 9px;
}
.nav-toggle .bars { width: 20px; height: 2px; background: #fff; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top:  6px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.nav li { display: flex; }
.nav a {
  color: #dbe6f0; text-decoration: none;
  padding: 15px 18px; font-size: 15px; letter-spacing: .01em;
  border-bottom: 3px solid transparent; transition: color .15s, border-color .15s, background .15s;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--steel-soft); }

/* ---------- Hero (home only) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); }
.hero .slides { position: absolute; inset: 0; }
.hero .slides .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.hero .slides .slide.is-active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,36,57,.90) 0%, rgba(13,36,57,.70) 45%, rgba(18,50,79,.45) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; padding: 74px 22px 78px;
  color: #fff;
}
.hero h1 {
  margin: 0 0 10px; font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 700; letter-spacing: -.01em; line-height: 1.1;
}
.hero p { margin: 0; font-size: clamp(15px, 2vw, 19px); color: #cdd9e5; max-width: 46ch; }
.hero .rule { width: 64px; height: 3px; background: var(--steel-soft); margin: 20px 0 0; }

/* ---------- Content ---------- */
main { padding: 52px 0 60px; }
.page-title { margin: 0 0 6px; font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.page-title + .lead { margin-top: 0; color: var(--muted); }

.section { margin-top: 40px; }
.section:first-child { margin-top: 0; }

h2 {
  font-size: 22px; font-weight: 700; color: var(--navy);
  margin: 0 0 14px; padding-bottom: 8px; position: relative;
}
h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--steel); }
h3 { font-size: 18px; color: var(--navy); margin: 22px 0 8px; }

p { margin: 0 0 16px; max-width: 72ch; }

.prose ul { margin: 0 0 16px; padding-left: 20px; }
.prose li { margin: 4px 0; }

/* two-column capability list */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; }
.cap-group { margin: 0 0 14px; }
.cap-group > strong { color: var(--navy); display: block; margin-bottom: 4px; }
.cap-group ul { list-style: none; padding-left: 14px; margin: 0; }
.cap-group ul li { position: relative; padding-left: 14px; color: var(--ink); }
.cap-group ul li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 6px; height: 6px; background: var(--steel-soft); border-radius: 1px;
}

/* customer reference chips */
.refs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.refs li {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 7px 13px; font-size: 14px; color: var(--ink);
}

/* portfolio gallery */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.portfolio-grid figure { margin: 0; }
.portfolio-grid img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel);
}

/* under-construction / notice */
.notice {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 4px solid var(--steel); border-radius: var(--radius);
  padding: 20px 22px; color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; max-width: 560px;
}
.contact-panel .row {
  display: grid; grid-template-columns: 130px 1fr; gap: 4px 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--line); align-items: baseline;
}
.contact-panel .row:last-child { border-bottom: 0; }
.contact-panel .k { color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.contact-panel .v { color: var(--ink); font-size: 17px; }
.contact-panel .v a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep); color: #9fb0c0;
  font-size: 13px; padding: 22px 0; margin-top: 20px;
}
.site-footer .container { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; align-items: center; }
.site-footer a { color: #cdd9e5; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav .container { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .nav ul { flex-basis: 100%; flex-direction: column; display: none; }
  .nav.open ul { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,.08); border-left: 3px solid var(--steel-soft); padding-left: 12px; }
  .cols2 { grid-template-columns: 1fr; gap: 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-panel .row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .hero .slides .slide { transition: none; }
}
