
:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --surface-muted: #eef0f3;
  --line: #d9dde5;
  --text: #101114;
  --muted: #5a6472;
  --brand: #1b45c6;
  --brand-soft: #edf2ff;
  --accent: #16c4ef;
  --radius: 20px;
  --shadow: 0 16px 40px rgba(23, 36, 69, 0.08);
  --max: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.small-container { width: min(calc(100% - 48px), 1120px); margin: 0 auto; }

.topbar {
  background: #fafafa;
  border-bottom: 1px solid #eceef2;
  font-size: 12px;
}
.topbar .inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar .links, .topbar .left { display: flex; gap: 18px; align-items: center; }
.topbar a, .topbar span { color: #444c57; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #e8ebf0;
  backdrop-filter: blur(12px);
}
.site-header .inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.logo img { height: 48px; width: auto; }
.main-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  align-items: center;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #17191d;
}
.main-nav a.active, .main-nav a:hover { color: var(--brand); }
.header-tools { display: flex; align-items: center; gap: 12px; }
.icon-button {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line);
  display: grid; place-items: center; background: #fff; cursor: pointer; transition: .2s ease;
}
.icon-button:hover { color: var(--brand); border-color: #bec6d5; box-shadow: var(--shadow); }
.header-cta {
  padding: 13px 22px;
  border-radius: 999px;
  background: #111317;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.header-cta:hover { background: var(--brand); }
.nav-toggle { display: none; border: 0; background: none; font-size: 28px; }

.hero-home {
  background: #fff;
  padding: 22px 0 10px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, .88fr);
  overflow: hidden;
  background: #f1f2f4;
  min-height: 590px;
}
.hero-main, .hero-side { position: relative; min-height: 590px; }
.hero-main { background-size: cover; background-position: center; }
.hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.78) 40%, rgba(255,255,255,.22) 74%, rgba(255,255,255,0) 100%);
}
.hero-side { background-size: cover; background-position: center; }
.hero-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,23,83,.14) 0%, rgba(8,23,83,.62) 100%);
}
.hero-content {
  position: absolute;
  z-index: 2;
  top: 74px;
  left: clamp(28px, 5vw, 74px);
  max-width: 700px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d8dde8;
  background: rgba(255,255,255,.7);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: #3f4d64;
}
.hero-content h1 {
  margin: 18px 0 18px;
  font-size: clamp(56px, 6vw, 92px);
  line-height: .94;
  letter-spacing: -.055em;
  color: var(--brand);
  max-width: 820px;
}
.hero-content h1 .light { font-weight: 300; }
.hero-content p {
  margin: 0;
  max-width: 620px;
  color: #36404e;
  font-size: 19px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn-primary, .btn-secondary, .btn-link, .btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
}
.btn-primary { background: #111317; color: white; }
.btn-primary:hover { background: var(--brand); }
.btn-secondary { border: 1px solid #c3cbda; background: rgba(255,255,255,.82); color: #1d2430; }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn-link { padding: 0; color: var(--brand); }
.btn-accent { background: var(--accent); color: #032757; }
.hero-side-copy {
  position: absolute;
  z-index: 2;
  left: 44px;
  right: 30px;
  bottom: 48px;
  color: #fff;
}
.hero-side-copy .eyebrow { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); color: rgba(255,255,255,.88); }
.hero-side-copy h2 {
  margin: 16px 0 16px;
  font-size: clamp(40px, 4vw, 62px);
  line-height: .96;
  letter-spacing: -.04em;
}
.hero-side-copy h2 .light { font-weight: 300; }
.hero-dots { display: flex; justify-content: center; gap: 12px; padding: 14px 0 0; }
.hero-dots span { width: 38px; height: 3px; border-radius: 99px; background: #cfd4dc; }
.hero-dots .active { background: var(--brand); }

.section { padding: 76px 0; }
.section-white { background: #fff; }
.section-soft { background: var(--surface-soft); }
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-title h2, .page-hero h1, .project-layout h1, .feature-copy h2, .contact-card h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.section-title p, .muted, .card p, .feature-copy p, .contact-card p, .footer-note, .intro-copy p { color: var(--muted); }
.intro-panel {
  background: #efeff1;
  padding: 42px 28px 28px;
}
.intro-panel h2 {
  margin: 0 0 24px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
  color: var(--brand);
  max-width: 980px;
}
.teaser-grid, .grid-3, .grid-4, .project-grid, .stats-grid, .credits-grid {
  display: grid;
  gap: 20px;
}
.teaser-grid { grid-template-columns: repeat(3, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.project-grid { grid-template-columns: repeat(3, 1fr); }
.stats-grid { grid-template-columns: repeat(4, 1fr); }
.credits-grid { grid-template-columns: repeat(2, 1fr); }
.card, .project-card, .contact-card, .credit-card, .stat-box {
  background: #fff;
  border: 1px solid #e2e6ed;
  box-shadow: var(--shadow);
}
.card, .credit-card, .contact-card, .stat-box { padding: 28px; }
.card h3, .project-card h3, .credit-card h3, .contact-card h2 { margin: 0 0 10px; }
.card-index {
  width: 46px; height: 46px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); 
  display: grid; place-items: center; font-weight: 800; margin-bottom: 18px;
}
.announce {
  margin-top: 22px;
  background: #f7f8fa;
  border: 1px solid #e1e6ef;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  align-items: center;
  padding: 24px;
}
.announce-media {
  min-height: 118px;
  background: linear-gradient(180deg, #18df62 0%, #0c45c8 8%, #0c45c8 100%);
  position: relative;
}
.announce-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.12), transparent 42%);
}
.feature-split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
.feature-media { min-height: 520px; }
.feature-media img, .project-card img, .project-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy .meta {
  display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin-top: 26px;
}
.feature-copy .meta div {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 18px;
}
.feature-copy .meta span { display: block; color: #66707f; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.value-band {
  background: #fff;
  padding: 28px;
  border: 1px solid #e1e5ec;
  box-shadow: var(--shadow);
}
.value-band strong { display: block; font-size: 34px; line-height: 1; color: var(--brand); margin-bottom: 8px; }
.value-band .muted { display: block; }

.project-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.project-card .content { padding: 24px; }
.project-type, .search-type {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #eef2f8;
  color: #29446b;
  font-size: 12px;
  font-weight: 700;
}
.project-card h3 { font-size: 28px; line-height: 1.08; letter-spacing: -.04em; }
.project-tags, .tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px;
  background: #f2f4f7; border: 1px solid #e0e4eb; color: #405067; font-size: 12px; font-weight: 600;
}
.btn-line {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 999px;
  border: 1px solid #bfc7d8; background: #fff; color: #1b2433; font-weight: 700;
}
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.empty-state {
  background: #fff; border: 1px dashed #c7d0df; padding: 26px; color: var(--muted);
}

.page-hero {
  background: #fff;
  padding: 70px 0 46px;
  border-bottom: 1px solid #e9edf2;
}
.page-hero .split {
  display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: center;
}
.page-hero p { color: var(--muted); font-size: 18px; max-width: 820px; }
.page-hero .side-card {
  background: var(--surface-soft);
  border: 1px solid #e3e7ee;
  padding: 24px;
}
.page-hero .side-card strong { display: block; font-size: 18px; margin-bottom: 8px; }

.project-layout { display: grid; gap: 32px; }
.project-hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 28px; align-items: center; }
.project-hero-media { min-height: 420px; }
.project-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.project-info-grid .info-box { background: #fff; padding: 18px; border: 1px solid #e1e5ea; box-shadow: var(--shadow); }
.project-info-grid span { display: block; font-size: 12px; color: #6b7482; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 7px; }
.prose-block { background: #fff; padding: 28px; border: 1px solid #e1e5ea; box-shadow: var(--shadow); }
.prose-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
  min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid #d1d8e5; background: #fff; cursor: pointer; font-weight: 600;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--brand); color: var(--brand); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-list { display: grid; gap: 14px; }
.contact-list div { background: #fff; border: 1px solid #e1e5ea; padding: 16px 18px; box-shadow: var(--shadow); }
.contact-list strong { display: block; margin-bottom: 6px; }
.form-grid { display: grid; gap: 14px; }
.form-grid input, .form-grid textarea {
  width: 100%; border: 1px solid #d6dce7; padding: 14px 16px; border-radius: 12px; background: #fff;
}
.form-grid textarea { min-height: 140px; resize: vertical; }

.site-footer {
  background: #fff;
  border-top: 1px solid #e4e8ee;
  padding-top: 46px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .7fr .8fr;
  gap: 28px;
}
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h4 { margin: 0 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: #4f5e75; }
.footer-col a { color: #1c222c; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #edf0f4; margin-top: 32px; color: #66707f; font-size: 13px;
}

.search-modal {
  position: fixed; inset: 0; background: rgba(12, 18, 30, .18); z-index: 2200;
  display: none; align-items: flex-start; justify-content: center; padding: 110px 20px 30px;
}
.search-modal.open { display: flex; }
.search-panel {
  width: min(760px, 100%);
  background: #fff;
  border: 1px solid #e1e6ee;
  box-shadow: 0 30px 70px rgba(12,18,30,.14);
  padding: 18px;
}
.search-top { display: flex; gap: 14px; align-items: center; }
.search-input-row {
  flex: 1;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #d7dde8;
  background: #fff;
}
.search-input-row input { border: 0; outline: none; width: 100%; font-size: 18px; color: #111; background: transparent; }
.search-input-row input::placeholder { color: #8891a0; }
.search-close {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid #d7dde8; background: #fff; cursor: pointer; font-size: 26px; line-height: 1;
}
.search-help { color: #6d7582; padding: 12px 2px 0; font-size: 14px; }
.search-suggestions { display: grid; gap: 10px; padding-top: 16px; }
.search-item {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px; border: 1px solid #e2e6ec; background: #fff;
}
.search-item strong { display: block; margin-bottom: 4px; }
.search-item span { color: #677180; font-size: 14px; }
.search-item:hover { border-color: #c5cedf; box-shadow: var(--shadow); }

@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .hero-grid, .feature-split, .page-hero .split, .project-hero, .contact-grid { grid-template-columns: 1fr; }
  .grid-4, .stats-grid, .project-info-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .grid-3, .teaser-grid, .prose-grid, .footer-grid, .credits-grid { grid-template-columns: 1fr 1fr; }
  .feature-copy .meta { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .topbar { display: none; }
  .site-header .inner { grid-template-columns: auto auto; }
  .nav-toggle { display: block; justify-self: end; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #e7ebf0;
    display: none; flex-direction: column; align-items: flex-start; padding: 18px 24px;
  }
  .main-nav.open { display: flex; }
  .header-tools { display: none; }
  .hero-content h1 { font-size: clamp(46px, 14vw, 74px); }
  .hero-grid, .hero-main, .hero-side { min-height: auto; }
  .hero-main { min-height: 460px; }
  .hero-side { min-height: 340px; }
  .section-title { flex-direction: column; align-items: flex-start; }
  .teaser-grid, .grid-3, .grid-4, .project-grid, .stats-grid, .footer-grid, .credits-grid, .prose-grid, .project-info-grid { grid-template-columns: 1fr; }
  .announce { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 18px 0; }
}

/* --- v4 enterprise light refinements --- */
.topbar-light {
  background: #fff;
  border-bottom: 1px solid #e9edf2;
}
.topbar-light .links a,
.topbar-light .left span { color: #20252d; }

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #e7ebf0;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .03);
}
.site-header .inner { min-height: 82px; }
.logo img { height: 52px; }
.main-nav a { color: #1b2027; }
.main-nav a.active, .main-nav a:hover { color: #0e3da7; }
.icon-button-plain {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #111827;
  box-shadow: none;
}
.icon-button-plain:hover { background: #f3f5f8; color: #0e3da7; }
.header-cta-light {
  background: #fff;
  color: #111827;
  border: 1px solid #111827;
}
.header-cta-light:hover {
  background: #111827;
  color: #fff;
}

.hero-video-section {
  background: #f3f4f6;
  padding: 16px 0 0;
}
.hero-shell { padding-bottom: 24px; }
.hero-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #091222;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,13,28,.76) 0%, rgba(5,13,28,.58) 40%, rgba(5,13,28,.22) 100%);
}
.hero-enterprise-grid {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 380px;
  align-items: end;
  gap: 36px;
  padding: 74px 48px 48px;
}
.hero-enterprise-copy {
  max-width: 760px;
  color: #fff;
}
.eyebrow-dark {
  color: rgba(255,255,255,.92);
  border-color: rgba(255,255,255,.26);
  background: rgba(255,255,255,.08);
}
.hero-enterprise-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(54px, 6vw, 86px);
  line-height: .95;
  letter-spacing: -.05em;
  color: #fff;
}
.hero-enterprise-copy p {
  margin: 0;
  max-width: 620px;
  font-size: 19px;
  color: rgba(255,255,255,.9);
}
.btn-secondary-light {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}
.btn-secondary-light:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,.14);
}
.hero-promo-card {
  align-self: center;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.promo-kicker {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 12px;
  color: rgba(255,255,255,.8);
  font-weight: 700;
}
.hero-promo-card h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.04em;
}
.hero-promo-card p { color: rgba(255,255,255,.84); margin: 0 0 20px; }
.hero-info-panel {
  background: #efefef;
  padding: 34px 40px 38px;
}
.hero-info-panel h2 {
  margin: 0 0 24px;
  max-width: 980px;
  color: #173b8c;
  font-size: clamp(30px, 3.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.hero-info-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.hero-info-links article h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.hero-info-links article p { color: #525d6b; margin: 0 0 16px; }

.enterprise-footer {
  background: #f6f6f7;
  border-top: 1px solid #dfe5ee;
  padding-top: 0;
}
.footer-top-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 46px;
  padding: 54px 0 48px;
}
.footer-brand-area { display: grid; align-content: start; gap: 18px; }
.footer-logo img { height: 60px; }
.footer-actions { display: grid; gap: 12px; max-width: 180px; }
.footer-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #19a5f5;
  color: #08143b;
  font-weight: 700;
}
.footer-pill:hover { background: #0e8ddd; color: #08143b; }
.footer-link-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.enterprise-footer .footer-col h4 {
  color: #12298c;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: none;
  margin-bottom: 10px;
}
.enterprise-footer .footer-col a {
  display: block;
  color: #29303a;
  line-height: 1.8;
}
.footer-legal-bar {
  background: #0f2ea0;
}
.footer-bottom {
  min-height: 56px;
  color: #fff;
  border-top: 0;
  margin-top: 0;
  font-size: 13px;
}

.search-panel { border-radius: 0; }
.search-item { border-radius: 0; }
.search-input-row { border-radius: 0; }

@media (max-width: 1080px) {
  .hero-enterprise-grid,
  .footer-top-layout,
  .footer-link-columns,
  .hero-info-links {
    grid-template-columns: 1fr;
  }
  .hero-promo-card { max-width: 420px; }
}

@media (max-width: 820px) {
  .site-header .inner { grid-template-columns: auto auto; }
  .header-tools {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-bottom: 12px;
  }
  .header-cta-light { display: none; }
  .hero-stage { min-height: 520px; }
  .hero-enterprise-grid {
    min-height: 520px;
    padding: 34px 22px 26px;
    gap: 18px;
  }
  .hero-enterprise-copy h1 { font-size: clamp(42px, 12vw, 66px); }
  .hero-info-panel { padding: 28px 22px 30px; }
  .footer-top-layout { padding: 38px 0 34px; }
  .footer-actions { max-width: 100%; }
  .footer-pill { width: fit-content; }
}


/* --- v5 header/footer/hero cleanup --- */
.hero-video-fullbleed {
  padding: 0;
  background: #fff;
}
.hero-stage-full {
  min-height: 680px;
  border-radius: 0;
}
.hero-stage-content {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 72px;
}
.hero-enterprise-copy-wide {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.hero-enterprise-copy-wide h1 {
  max-width: 1320px;
  margin: 18px auto 18px;
  font-size: clamp(48px, 5.2vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #fff;
}
.hero-enterprise-copy-wide p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.65;
  color: rgba(255,255,255,0.88);
}
.hero-stage-full .hero-overlay {
  background: linear-gradient(90deg, rgba(4,10,22,0.74) 0%, rgba(4,10,22,0.58) 34%, rgba(4,10,22,0.18) 70%, rgba(4,10,22,0.06) 100%);
}
.hero-microgrid {
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
}
.hero-microgrid div {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}
.hero-microgrid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
  color: #fff;
}
.hero-microgrid span {
  display: block;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}
.hero-info-panel,
.hero-promo-card,
.hero-shell {
  display: contents;
}

.enterprise-footer {
  background: #f4f4f4;
  border-top: 1px solid #e0e3e8;
  padding-top: 0;
}
.footer-enterprise-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 52px;
  padding: 52px 0 36px;
  align-items: start;
}
.footer-brand-stack {
  display: grid;
  gap: 14px;
  align-content: start;
}
.footer-logo img {
  height: 58px;
  width: auto;
}
.footer-note {
  margin: 0;
  color: #4d5868;
  font-size: 14px;
  line-height: 1.65;
  max-width: 240px;
}
.footer-cta-stack {
  display: grid;
  gap: 14px;
  max-width: 180px;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: #17a9ef;
  color: #092345;
  border-radius: 999px;
  font-weight: 700;
}
.footer-cta-btn:hover {
  background: #0f96d6;
}
.footer-link-columns-enterprise {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 30px;
  align-items: start;
}
.enterprise-footer .footer-col {
  display: grid;
  gap: 12px;
}
.enterprise-footer .footer-col h4 {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #17308e;
}
.enterprise-footer .footer-col a {
  color: #243041;
  font-size: 15px;
  line-height: 1.45;
}
.enterprise-footer .footer-col a:hover {
  color: #17308e;
}
.footer-legal-bar {
  border-top: 1px solid #dfe3e9;
  margin-top: 6px;
}
.footer-bottom {
  min-height: 56px;
  margin-top: 0;
  border-top: 0;
}
.site-footer {
  margin-top: auto;
}

@media (max-width: 1080px) {
  .footer-enterprise-shell {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-link-columns-enterprise {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero-stage-full,
  .hero-stage-content {
    min-height: 560px;
  }
  .hero-stage-content {
    padding-top: 120px;
    padding-bottom: 40px;
  }
  .hero-enterprise-copy-wide h1 {
    font-size: clamp(42px, 12vw, 62px);
  }
  .hero-enterprise-copy-wide p {
    font-size: 17px;
  }
  .hero-microgrid {
    grid-template-columns: 1fr;
  }
  .footer-link-columns-enterprise {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .footer-link-columns-enterprise {
    grid-template-columns: 1fr;
  }
}


/* v7 spacing before footer */
main > .section:last-of-type {
  padding-bottom: 88px;
}

@media (max-width: 820px) {
  main > .section:last-of-type {
    padding-bottom: 64px;
  }
}


/* global CTA */
.global-cta-wrap {
  padding: 88px 0 88px;
  flex: 0 0 auto;
}
.global-cta {
  width: 100%;
  background: linear-gradient(135deg, #071733 0%, #17386b 100%);
  color: #fff;
  border-radius: 34px;
  padding: 72px 48px;
  text-align: center;
  box-shadow: 0 28px 60px rgba(9, 26, 61, 0.18);
}
.global-cta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(66, 196, 240, 0.45);
  background: rgba(28, 96, 164, 0.22);
  color: #d8ecff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.global-cta h2 {
  margin: 24px auto 18px;
  max-width: 900px;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.04;
  letter-spacing: -.045em;
  color: #ffffff;
}
.global-cta p {
  margin: 0 auto 28px;
  max-width: 860px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}
.global-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  background: #30b9f2;
  color: #0b2141;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 10px 25px rgba(10, 185, 242, 0.25);
}
.global-cta-button:hover {
  background: #58c8f6;
  color: #071733;
}
.global-cta small {
  display: block;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.76);
}

/* project cards */
.project-grid {
  align-items: start;
}
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-card .content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
}
.project-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.04em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 3.35em;
}
.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 4.5em;
}
.project-tags {
  min-height: 38px;
}
.project-card-actions {
  margin-top: auto;
  padding-top: 6px;
}

@media (max-width: 820px) {
  .global-cta-wrap {
    padding: 72px 0;
  }
  .global-cta {
    padding: 56px 28px;
    border-radius: 26px;
  }
  .global-cta p {
    font-size: 17px;
  }
  .project-card .content {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .global-cta-wrap {
    padding: 56px 0 64px;
  }
  .global-cta {
    padding: 44px 22px;
  }
  .global-cta-button {
    width: 100%;
    padding: 14px 18px;
    min-height: 54px;
    font-size: 16px;
  }
}

/* v10 project cards + CTA spacing */
.project-grid {
  gap: 30px;
}

.project-card.project-card-overlay {
  position: relative;
  min-height: 620px;
  border: 0;
  box-shadow: none;
  background: transparent;
  overflow: hidden;
}

.project-card-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  overflow: hidden;
  border-radius: 0;
  background: #0d1730;
}

.project-card.project-card-overlay img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  transition: transform .55s ease;
}

.project-card-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,14,28,0.03) 8%, rgba(8,14,28,0.18) 42%, rgba(8,14,28,0.78) 100%);
}

.project-card-overlay-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 22px 24px;
  color: #fff;
}

.project-card.project-card-overlay .project-type {
  background: rgba(255,255,255,.12);
  color: #fff;
  backdrop-filter: blur(10px);
}

.project-card.project-card-overlay h3 {
  margin: 14px 0 12px;
  min-height: 0;
  font-size: clamp(28px, 2.35vw, 44px);
  line-height: 1.02;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0,0,0,.25);
  -webkit-line-clamp: 3;
}

.project-card.project-card-overlay p {
  margin: 0 0 18px;
  min-height: 0;
  color: rgba(255,255,255,.92);
  font-size: 15px;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0,0,0,.28);
  -webkit-line-clamp: 3;
}

.project-card.project-card-overlay .btn-line-overlay {
  background: #fff;
  border-color: rgba(255,255,255,.35);
  color: #102544;
  pointer-events: none;
}

.project-card.project-card-overlay:hover img,
.project-card.project-card-overlay:focus-within img {
  transform: scale(1.06);
}

.section .project-grid + .global-cta-wrap,
.page-hero + .section .project-grid + .global-cta-wrap {
  margin-top: 0;
}

.global-cta-wrap {
  padding: 44px 0 56px;
}

main + .global-cta-wrap {
  margin-top: 0;
}

.home-projects-spacer,
.projects-page-spacer {
  height: 0;
}

.section.section-soft:has(.project-grid),
.section.section-white:has(.project-grid) {
  padding-bottom: 18px;
}

@media (max-width: 1080px) {
  .project-card.project-card-overlay,
  .project-card-media,
  .project-card.project-card-overlay img {
    min-height: 560px;
  }
}

@media (max-width: 820px) {
  .project-grid {
    gap: 24px;
  }
  .project-card.project-card-overlay,
  .project-card-media,
  .project-card.project-card-overlay img {
    min-height: 500px;
  }
  .project-card-overlay-content {
    padding: 24px 18px 20px;
  }
  .global-cta-wrap {
    padding: 36px 0 48px;
  }
}

@media (max-width: 560px) {
  .project-card.project-card-overlay,
  .project-card-media,
  .project-card.project-card-overlay img {
    min-height: 420px;
  }
  .project-card.project-card-overlay h3 {
    font-size: 34px;
  }
  .project-card.project-card-overlay p {
    font-size: 14px;
  }
}


/* v11 consistent project cards + CTA spacing */
.project-grid {
  gap: 26px;
  align-items: stretch;
}


.project-card.project-card-standard {
  position: relative;
  min-height: 640px;
  background: #fff;
  border: 1px solid #e2e6ed;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.project-card-media-standard {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #edf1f7;
}

.project-card-media-standard::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 17, 28, 0.08) 0%, rgba(10, 17, 28, 0.16) 30%, rgba(10, 17, 28, 0.66) 68%, rgba(10, 17, 28, 0.92) 100%);
}

.project-card-media-standard img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  transition: transform .7s ease;
}

.project-card.project-card-standard:hover .project-card-media-standard img,
.project-card.project-card-standard:focus-within .project-card-media-standard img {
  transform: scale(1.08);
}

.project-card.project-card-standard .content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 640px;
  padding: 28px 28px 30px;
  color: #fff;
}

.project-card.project-card-standard .project-type {
  align-self: flex-start;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  backdrop-filter: blur(6px);
}

.project-card.project-card-standard h3 {
  margin: 0;
  font-size: clamp(28px, 2.2vw, 40px);
  line-height: 1.02;
  letter-spacing: -.045em;
  max-width: 92%;
  text-shadow: 0 8px 26px rgba(0,0,0,.34);
}

.project-card.project-card-standard p {
  margin: 0;
  color: rgba(255,255,255,.92);
  line-height: 1.55;
  max-width: 92%;
  text-shadow: 0 6px 18px rgba(0,0,0,.28);
}

.project-card.project-card-standard .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-card.project-card-standard .project-tags .tag {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.2);
  color: #fff;
  backdrop-filter: blur(6px);
}

.project-card.project-card-standard .project-card-actions {
  margin-top: 6px;
}

.project-card.project-card-standard .project-card-actions .btn-line {
  background: #fff;
  border-color: rgba(255,255,255,.6);
  color: #0f1d38;
}

.project-card.project-card-standard .project-card-actions .btn-line:hover {
  background: var(--accent);
  color: #0f1d38;
  border-color: var(--accent);
}

.home-projects-section,
.projects-list-section {
  padding-bottom: 18px;
}

.global-cta-wrap {
  padding: 72px 0 88px;
}


.global-cta {
  max-width: 1220px;
  margin: 0 auto;
}

main + .global-cta-wrap {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .project-card.project-card-standard .content {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .global-cta-wrap {
    padding: 56px 0 72px;
  }
  .project-grid {
    gap: 22px;
  }
}


@media (max-width: 1080px) {
  .project-card.project-card-standard,
  .project-card.project-card-standard .content,
  .project-card.project-card-standard .project-card-media-standard img {
    min-height: 560px;
  }
}

@media (max-width: 820px) {
  .project-card.project-card-standard,
  .project-card.project-card-standard .content,
  .project-card.project-card-standard .project-card-media-standard img {
    min-height: 500px;
  }

  .project-card.project-card-standard .content {
    padding: 22px 22px 24px;
  }

  .project-card.project-card-standard h3 {
    font-size: clamp(24px, 7vw, 34px);
    max-width: 100%;
  }

  .project-card.project-card-standard p {
    max-width: 100%;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}
.lang-switch a {
  color: #111827;
  text-decoration: none;
  opacity: .65;
}
body[data-current-lang="ro"] .lang-switch a[data-lang="ro"],
body[data-current-lang="en"] .lang-switch a[data-lang="en"],
body[data-current-lang="de"] .lang-switch a[data-lang="de"],
body[data-current-lang="fr"] .lang-switch a[data-lang="fr"] {
  opacity: 1;
  color: #0f3ea8;
}
@media (max-width: 960px) {
  .lang-switch { gap: 8px; font-size: 12px; }
}


.project-grid[data-count="1"] {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1120px;
  margin: 0 auto;
}
.project-grid[data-count="2"] {
  grid-template-columns: repeat(2, 1fr);
}

.project-grid[data-count="1"] .project-card.project-card-standard,
.project-grid[data-count="1"] .project-card.project-card-standard .content,
.project-grid[data-count="1"] .project-card.project-card-standard .project-card-media-standard img {
  min-height: 700px;
}

@media (max-width: 900px) {
  .project-grid[data-count="2"] {
    grid-template-columns: 1fr;
  }
  .project-grid[data-count="1"] .project-card.project-card-standard,
  .project-grid[data-count="1"] .project-card.project-card-standard .content,
  .project-grid[data-count="1"] .project-card.project-card-standard .project-card-media-standard img {
    min-height: 560px;
  }
}

@media (max-width: 1100px) {
  .hero-enterprise-copy-wide {
    max-width: 980px;
  }

  .hero-enterprise-copy-wide h1 {
    max-width: 920px;
    font-size: clamp(54px, 7vw, 86px);
  }

  .hero-enterprise-copy-wide p {
    max-width: 700px;
    font-size: 18px;
  }

  .hero-microgrid {
    max-width: 860px;
  }
}

@media (max-width: 820px) {
  .hero-stage-content {
    align-items: flex-end;
    justify-content: flex-start;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .hero-enterprise-copy-wide {
    max-width: 760px;
    text-align: left;
  }

  .hero-enterprise-copy-wide h1 {
    max-width: 100%;
    margin: 18px 0 18px;
    font-size: clamp(42px, 12vw, 62px);
  }

  .hero-enterprise-copy-wide p {
    max-width: 100%;
    margin: 0;
    font-size: 17px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-microgrid {
    margin: 30px 0 0;
    max-width: 100%;
    grid-template-columns: 1fr;
  }
}

/* === Floating buttons imported from 17-04-2026 === */

#toTop{
  position:fixed;
  right:18px;
  bottom:18px;
  width:52px;
  height:52px;
  border-radius:999px;
  border:none;
  background:transparent;
  cursor:pointer;
  z-index:9999;
  opacity:1;
  transform:translateY(0);
  transition:opacity .18s ease, transform .18s ease;
}
#toTop.show{opacity:1; transform:translateY(0)}
#toTop .inner{position:relative; z-index:1;}
#toTop svg{
  position:absolute;
  inset:0;
  transform:rotate(-90deg);
  transform-origin:50% 50%;
  pointer-events:none;
  z-index:2;
}
#toTop circle{fill:none; stroke-linecap:round;}
#toTop .arrow{color:#000; font-weight:900; font-size:18px; line-height:1;}

:root{
  --a11y-bg:#f4efff;
  --a11y-card:#efe8ff;
  --a11y-primary:#6b2cff;
  --a11y-shadow:0 20px 40px rgba(0,0,0,.15);
}
.a11y-fab{
  position:fixed;
  right:86px;
  bottom:18px;
  width:56px;
  height:56px;
  border-radius:999px;
  background:var(--a11y-primary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:9999;
  box-shadow:var(--a11y-shadow);
  user-select:none;
}
.a11y-fab:focus{outline:3px solid rgba(107,44,255,.35); outline-offset:3px;}
.a11y-fab .a11y-icon{font-size:26px;}
.a11y-panel{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.25);
  display:none;
  z-index:9998;
}
.a11y-panel.open{display:block;}
.a11y-card{
  position:absolute;
  right:18px;
  bottom:86px;
  width:min(520px, calc(100vw - 36px));
  background:var(--a11y-bg);
  border-radius:18px;
  box-shadow:var(--a11y-shadow);
  padding:18px;
}
.a11y-header{display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:14px;}
.a11y-title{font-size:22px; font-weight:700; color:#2a2a2a;}
.a11y-sub{font-size:14px; opacity:.75; margin-top:4px;}
.a11y-actions{display:flex; gap:10px;}
.a11y-btn{border:0; border-radius:12px; padding:10px 14px; cursor:pointer; font:inherit;}
.a11y-btn-ghost{background:#e6dcff;}
.a11y-btn-primary{background:var(--a11y-primary); color:#fff; width:44px;}
.a11y-section{background:var(--a11y-card); border-radius:16px; padding:14px; margin-top:12px;}
.a11y-section-title{font-weight:700; margin-bottom:10px;}
.a11y-row{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0;}
.a11y-label{opacity:.85;}
.a11y-controls{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;}
.a11y-pill{border:1px solid rgba(0,0,0,.08); background:#fff; border-radius:12px; padding:10px 12px; cursor:pointer; font:inherit;}
.a11y-pill.active{background:var(--a11y-primary); color:#fff; border-color:transparent;}
html[data-a11y="on"]{font-size:var(--a11y-font-scale, 100%);}
body{line-height:var(--a11y-line-height, normal); letter-spacing:var(--a11y-letter-spacing, normal); font-family:var(--a11y-font-family, inherit);}
html[data-contrast="high"]{filter:contrast(1.2);}
html[data-contrast="invert"]{filter:invert(1) hue-rotate(180deg);}
html[data-headings="on"] h1,
html[data-headings="on"] h2,
html[data-headings="on"] h3{outline:3px solid rgba(107,44,255,.35); border-radius:8px; padding:2px 6px;}
html[data-links="on"] a{text-decoration:underline !important; text-decoration-thickness:3px !important; text-underline-offset:3px !important;}

.assistant-fab{
  position:fixed;
  right:154px;
  bottom:18px;
  width:56px;
  height:56px;
  border-radius:999px;
  background:#0b77d5;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:9999;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
  user-select:none;
  border:none;
  font-size:22px;
}
.assistant-panel{position:fixed; inset:0; background:rgba(0,0,0,.25); display:none; z-index:9998;}
.assistant-panel.open{display:block;}
.assistant-card{
  position:absolute;
  right:18px;
  bottom:86px;
  width:min(380px, calc(100vw - 36px));
  background:#ffffff;
  border-radius:18px;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
  padding:16px;
}
.assistant-header{display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:10px;}
.assistant-title{font-size:16px; font-weight:800;}
.assistant-sub{font-size:12px; opacity:.7; margin-top:2px;}
.assistant-close{border:0; background:#f2f2f2; border-radius:999px; width:36px; height:36px; cursor:pointer; font-weight:700;}
.assistant-bubble{background:#0b77d5; color:#fff; border-radius:14px; padding:10px 12px; font-size:13px; line-height:1.35; margin-bottom:10px;}
.assistant-qa-title{font-weight:800; font-size:13px; margin:8px 0 6px;}
.assistant-qa-list{max-height:220px; overflow:auto; padding-right:4px;}
.assistant-q{width:100%; text-align:left; border:1px solid rgba(0,0,0,.08); background:#eef3ff; border-radius:999px; padding:10px 12px; cursor:pointer; font-size:13px; margin-bottom:8px;}
.assistant-answer{border:1px solid rgba(0,0,0,.08); background:#fff; border-radius:12px; padding:10px 12px; font-size:13px; line-height:1.45; display:none;}
.assistant-answer.show{display:block;}
.assistant-footer{margin-top:10px; padding-top:10px; border-top:1px solid rgba(0,0,0,.08);}
.assistant-noanswer{color:#0b77d5; text-decoration:underline; font-size:13px;}

@media (max-width: 420px){
  .assistant-fab{right:146px;}
  .a11y-fab{right:82px;}
  #toTop{right:18px;}
}

#toTopCircle{stroke-dasharray:138.23007675795088 138.23007675795088;stroke-dashoffset:138.23007675795088;transition:stroke-dashoffset .15s linear;}
#toTop{pointer-events:auto;}
#toTop .inner{pointer-events:none;}
