:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #183042;
  --muted: #567083;
  --line: rgba(15, 76, 129, 0.12);
  --brand: #0f4c81;
  --brand-dark: #0a3357;
  --shadow: 0 18px 50px rgba(24, 48, 66, 0.08);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #eff3f6 0%, #f8fafb 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; }
.site-shell { max-width: 1400px; margin: 0 auto; padding: 0 20px 40px; }
.topbar {
  position: sticky; top: 12px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin: 12px 0 24px;
  padding: 16px 20px; background: rgba(255,255,255,0.94); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.brand { display: flex; gap: 14px; align-items: center; min-width: 0; }
.brand strong { display: block; text-transform: uppercase; letter-spacing: 0.04em; }
.brand small { color: var(--muted); display: block; margin-top: 3px; }
.brand-mark {
  width: 16px; height: 50px; border-radius: 12px;
  background: linear-gradient(180deg, #b69858 0%, #d7bb77 100%);
  position: relative; flex: 0 0 auto;
}
.brand-mark::after {
  content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 38px;
  border: 2px solid #fff; border-left: 0; border-bottom: 0; opacity: 0.7;
}
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover, .nav a:focus { color: var(--brand); }
.toolbar { display: flex; align-items: center; gap: 10px; }
.lang-switch, .filter-btn, .menu-toggle {
  border: 1px solid var(--line); background: #fff; color: var(--brand-dark);
  padding: 10px 14px; border-radius: 999px; cursor: pointer; font-weight: 700;
}
.lang-switch.active, .filter-btn.active, .btn-primary {
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.menu-toggle { display: none; }
.section { padding: 36px 0; }
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center;
  min-height: calc(100vh - 120px);
}
.hero-copy, .highlight-panel > div:last-child, .client-section > div:last-child {
  padding: 18px 0;
}
.eyebrow, .section-kicker { color: var(--brand); font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.hero h1, .section h2 { margin: 10px 0 16px; line-height: 1.05; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); max-width: 8.5ch; }
.section h2 { font-size: clamp(2rem, 3vw, 3.2rem); max-width: 15ch; }
.lead, .section p, .icon-list li, .contact-cards span, .contact-cards a { color: var(--muted); font-size: 1.03rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 20px; border-radius: 999px; font-weight: 700; border: 1px solid var(--brand);
}
.btn-secondary { color: var(--brand); background: transparent; }
.framed-image {
  background: var(--surface); padding: 16px; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.framed-image img { border-radius: calc(var(--radius) - 10px); }
.framed-image.tall img { aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }
.two-col, .highlight-panel, .client-section, .contact-section {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; align-items: center;
}
.fact-grid, .team-grid, .logo-list, .contact-cards {
  display: grid; gap: 14px; margin-top: 24px;
}
.fact-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.fact-grid article, .stack-cards article, .team-grid article, .logo-list span, .contact-cards a, .contact-cards span {
  background: rgba(255,255,255,0.8); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px; box-shadow: var(--shadow);
}
.fact-grid strong, .stack-cards h3, .team-grid h3 { display: block; margin-bottom: 8px; }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.solution-grid, .project-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.solution-card, .project-card {
  background: var(--surface); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.solution-card div, .project-copy { padding: 18px; }
.solution-card h3, .project-card h3 { margin: 0 0 8px; }
.solution-card p, .project-card p { margin: 0; }
.solution-card img, .project-card img { aspect-ratio: 16 / 11; object-fit: cover; }
.highlight-panel {
  background: linear-gradient(135deg, rgba(15,76,129,0.06), rgba(15,76,129,0.01));
  padding: 28px; border: 1px solid var(--line); border-radius: 28px;
}
.icon-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.icon-list li {
  padding: 16px 18px 16px 52px; background: rgba(255,255,255,0.72); border: 1px solid var(--line); border-radius: 18px; position: relative;
}
.icon-list li::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--brand);
  position: absolute; left: 20px; top: 24px; box-shadow: 0 0 0 8px rgba(15,76,129,0.12);
}
.stack-cards { display: grid; gap: 16px; margin-top: 22px; }
.team-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: start; }
.team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.logo-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
.contact-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
.contact-cards a:hover { color: var(--brand); }
.footer {
  display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-top: 24px; padding: 20px 4px; color: var(--muted);
}
@media (max-width: 1080px) {
  .hero, .two-col, .highlight-panel, .client-section, .contact-section, .team-layout { grid-template-columns: 1fr; }
  .solution-grid, .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fact-grid, .logo-list, .contact-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .site-shell { padding: 0 14px 30px; }
  .topbar { flex-wrap: wrap; top: 8px; }
  .nav { display: none; width: 100%; flex-direction: column; padding-top: 10px; }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .hero { min-height: auto; padding-top: 10px; }
  .solution-grid, .project-grid, .fact-grid, .team-grid, .logo-list, .contact-cards { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .hero h1 { max-width: none; }
}
