/* AppStack — appstack.ro */

@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/exo2-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/exo2-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #2e3238;
  --ink-dark: #23272c;
  --blue: #1e7bc8;
  --blue-deep: #14456f;
  --blue-light: #5aa9e6;
  --blue-pale: #8cc4ef;
  --text: #5a6470;
  --muted: #8b95a1;
  --bg-light: #f5f7fa;
  --border: #e4e9ef;
  --chip-bg: #eaf2f9;
  --hero-text: #b8c2cc;
  --contact-text: #cfe2f2;
  --display: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }
img { max-width: 100%; }

.wrap { max-width: 1100px; margin: 0 auto; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img { height: 44px; display: block; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.nav-link { color: var(--ink); transition: color 0.15s; }
.nav-link:hover { color: var(--blue); }

.lang {
  display: flex;
  border: 1px solid #d4dbe3;
  border-radius: 6px;
  overflow: hidden;
  font-size: 13px;
}
.lang a {
  padding: 6px 12px;
  font-family: var(--display);
  font-weight: 700;
  background: transparent;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
}
.lang a:hover { color: var(--blue); }
.lang a.active { background: var(--blue); color: #fff; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 700;
  white-space: nowrap;
  transition: filter 0.15s, transform 0.15s;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, #2e3238 0%, #23272c 60%, #14456f 140%);
  color: #fff;
  padding: 96px 48px 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

.kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.12;
  margin: 0 0 24px;
  text-wrap: pretty;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--hero-text);
  margin: 0 0 36px;
  max-width: 540px;
  text-wrap: pretty;
}

.hero-ctas { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.btn-hero {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  padding: 15px 30px;
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  transition: filter 0.15s, transform 0.15s;
}
.btn-hero:hover { filter: brightness(1.1); transform: translateY(-1px); }

.link-arrow {
  color: var(--blue-light);
  padding: 15px 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  transition: color 0.15s;
}
.link-arrow:hover { color: var(--blue-pale); }

.hero-visual { display: flex; justify-content: center; }
.hero-visual img { width: 100%; max-width: 380px; border-radius: 12px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 40px;
  margin-top: 72px;
}

.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  color: var(--blue-light);
}
.stat-label { font-size: 14px; color: var(--hero-text); margin-top: 4px; }

/* ---------- Sections ---------- */

.section { padding: 88px 48px; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--ink); color: #fff; }

.section-kicker {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-dark .section-kicker { color: var(--blue-light); }

.section h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  margin: 0 0 48px;
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(20, 69, 111, 0.1); transform: translateY(-2px); }

.service-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
  margin-bottom: 14px;
}

.service-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 12px;
}

.service-card p { font-size: 15px; line-height: 1.6; color: var(--text); }

/* ---------- Work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.work-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.work-card:hover {
  box-shadow: 0 8px 24px rgba(20, 69, 111, 0.1);
  transform: translateY(-2px);
  border-color: #c6d6e4;
}

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  gap: 12px;
}

.work-sector {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.work-years { font-size: 13px; color: var(--muted); white-space: nowrap; }

.work-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 10px;
}

.work-card p { font-size: 15px; line-height: 1.6; color: var(--text); margin: 0 0 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--chip-bg);
  padding: 4px 10px;
  border-radius: 4px;
}

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}

.portrait {
  width: 340px;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.team-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  margin-top: 18px;
}
.team-role { font-size: 15px; color: var(--blue-light); margin-top: 4px; }

.team-bio p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--hero-text);
  margin: 0 0 20px;
  text-wrap: pretty;
}
.team-bio p:last-of-type { margin-bottom: 32px; }

.chip-dark {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-pale);
  background: rgba(30, 123, 200, 0.15);
  border: 1px solid rgba(30, 123, 200, 0.35);
  padding: 6px 14px;
  border-radius: 4px;
}

/* ---------- Contact ---------- */

.contact {
  padding: 96px 48px;
  background: linear-gradient(160deg, var(--blue-deep) 0%, var(--blue) 130%);
  color: #fff;
}

.contact-inner { max-width: 800px; margin: 0 auto; text-align: center; }

.contact h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  margin: 0 0 20px;
  text-wrap: pretty;
}

.contact-sub { font-size: 18px; line-height: 1.65; color: var(--contact-text); margin: 0 0 40px; }

.contact-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: var(--blue-deep);
  padding: 15px 30px;
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); }

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.contact-line { font-size: 15px; color: var(--contact-text); }
.contact-line a { color: #fff; font-weight: 600; }
.contact-line a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.footer {
  background: var(--ink-dark);
  color: var(--muted);
  padding: 32px 48px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
.footer-logo span { color: var(--blue-light); }

.footer-tagline { letter-spacing: 2px; text-transform: uppercase; font-size: 11px; }

.footer-legal { text-align: center; line-height: 1.7; }

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: #fff; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero h1 { font-size: 42px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 220px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .nav { padding: 12px 20px; }
  .nav-link { display: none; }
  .section, .hero, .contact { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 680px) {
  .hero { padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: 33px; }
  .hero-sub { font-size: 16px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section h2 { font-size: 29px; margin-bottom: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .stat-num { font-size: 34px; }
  .services-grid, .work-grid { grid-template-columns: 1fr; }
  .contact h2 { font-size: 31px; }
  .contact { padding-top: 64px; padding-bottom: 64px; }
  .portrait { width: 100%; max-width: 340px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .nav { gap: 12px; }
  .nav-logo img { height: 36px; }
  .btn-primary { padding: 9px 14px; font-size: 14px; }
}
