:root {
  --navy: #153b67;
  --navy-deep: #0b2747;
  --orange: #f4a000;
  --cream: #f3eee3;
  --paper: #fffdf8;
  --ink: #102f52;
  --muted: #657486;
  --line: rgba(16, 47, 82, 0.17);
  --page-pad: clamp(24px, 5.5vw, 104px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
}
[hidden], .t-sr, .t-en { display: none !important; }
.eyebrow, .section-label { display: none; }
[data-lang="sr"] .t-ru, [data-lang="sr"] .t-en { display: none !important; }
[data-lang="sr"] .t-sr { display: revert !important; }
[data-lang="en"] .t-ru, [data-lang="en"] .t-sr { display: none !important; }
[data-lang="en"] .t-en { display: revert !important; }

.container { width: 100%; padding-inline: var(--page-pad); }

nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 72px;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 18px;
  color: var(--ink);
  background: var(--paper);
  border-right: 1px solid var(--line);
  text-decoration: none;
  min-width: 220px;
  justify-self: start;
}
.brand-lockup { display: flex; align-items: center; gap: 10px; }
.brand-wordmark { display: block; width: 142px; height: auto; }
.brand-lockup-icon,
.brand-lockup-word {
  display: block;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}
.brand-lockup-icon {
  width: 44px;
  height: 45px;
  color: var(--orange);
  -webkit-mask-image: url("assets/selzio-logo-icon.png");
  mask-image: url("assets/selzio-logo-icon.png");
}
.brand-lockup-word {
  width: 142px;
  height: 28px;
  color: var(--navy);
  -webkit-mask-image: url("assets/selzio-wordmark-2026.png");
  mask-image: url("assets/selzio-wordmark-2026.png");
}
.brand-name { font-size: 24px; font-weight: 800; line-height: 1; }
.brand-sub {
  margin-top: 5px;
  font: 500 8px/1.3 "IBM Plex Mono", monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: stretch; list-style: none; }
.nav-links a {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 25px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  font: 600 11px/1 "IBM Plex Mono", monospace;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links a:hover { color: #fff; background: var(--navy); }
.nav-controls { display: flex; align-items: center; justify-self: end; padding: 0 22px; gap: 0; }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.lang-btn {
  position: relative;
  width: 36px;
  min-width: 36px;
  height: 40px;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: 600 10px/1 "IBM Plex Mono", monospace;
  letter-spacing: .06em;
}
.lang-btn:hover:not(.active) { color: var(--navy-deep); background: transparent; }
.lang-btn.active { color: var(--navy); background: transparent; box-shadow: none; font-weight: 700; }
.lang-btn.active::after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: 3px;
  left: 9px;
  height: 2px;
  background: var(--orange);
}

.sites-hero {
  min-height: 610px;
  display: flex;
  align-items: flex-end;
  padding: 160px 0 90px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(7,29,53,.98) 0%, rgba(9,35,62,.88) 55%, rgba(9,35,62,.36) 100%),
    url("assets/selzio-hero-company-process-v2.webp") center / cover;
}
.eyebrow {
  margin-bottom: 18px;
  color: var(--orange);
  font: 700 11px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}
h1 {
  max-width: 900px;
  font-size: clamp(46px, 6.5vw, 96px);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-copy { max-width: 650px; margin-top: 26px; color: rgba(255,255,255,.78); font-size: 17px; }

section { padding: 112px 0; }
.section-label {
  margin-bottom: 14px;
  color: var(--orange);
  font: 700 11px/1.4 "IBM Plex Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-title {
  max-width: 800px;
  margin-bottom: 20px;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.section-desc { max-width: 680px; margin-bottom: 54px; color: var(--muted); }

.portfolio { background: var(--cream); }
.sites-grid, .pricing-grid {
  display: grid;
  margin-inline: calc(-1 * var(--page-pad));
  border-block: 1px solid var(--line);
}
.sites-grid { grid-template-columns: repeat(3, 1fr); }
.site-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 36px;
  color: var(--navy-deep);
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.site-card:nth-child(2), .site-card:nth-child(4), .site-card:nth-child(6) { color: #fff; background: var(--navy); }
.site-card:nth-child(3) { background: var(--orange); }
.site-card:hover { box-shadow: inset 0 -8px 0 var(--orange); }
.site-name { font-size: 25px; font-weight: 800; }
.site-url { margin-top: 4px; color: var(--orange); font: 500 11px/1.4 "IBM Plex Mono", monospace; }
.site-card:nth-child(3) .site-url { color: var(--navy-deep); }
.site-desc { margin-top: 24px; color: inherit; opacity: .75; font-size: 14px; }
.site-tech {
  width: fit-content;
  margin-top: auto;
  padding: 6px 9px;
  color: #fff;
  background: var(--navy);
  font: 600 10px/1 "IBM Plex Mono", monospace;
}
.site-card:nth-child(even) .site-tech { color: var(--navy); background: #fff; }

.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.price-card {
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 38px 32px;
  color: var(--navy-deep);
  background: #fff;
  border-right: 1px solid var(--line);
}
.price-card:nth-child(2) { background: var(--cream); }
.price-card.accent { color: #fff; background: var(--orange); }
.price-title { font-size: 22px; font-weight: 800; }
.price-desc { margin-top: 16px; opacity: .7; font-size: 14px; }
.price { margin-top: auto; padding-top: 34px; font-size: 27px; font-weight: 800; }
.price small { display: block; margin-top: 5px; font: 500 11px/1.3 "IBM Plex Mono", monospace; }
.button {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  color: #fff;
  background: var(--navy);
  font: 700 11px/1 "IBM Plex Mono", monospace;
  text-decoration: none;
  text-transform: uppercase;
}

.cta { color: #fff; background: var(--navy); }
.cta .section-title { color: #fff; }
.cta .section-desc { color: rgba(255,255,255,.72); }
.cta .button { width: fit-content; min-width: 230px; background: var(--orange); }
footer { padding: 30px var(--page-pad); display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: 12px; }
footer a { color: inherit; }

/* Unified CTA buttons: flat at rest, raised only on hover. */
.button,
.cta .button {
  min-height: 52px;
  padding: 16px 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: none;
  transform: none;
  font: 700 14px/1.2 "Manrope", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover,
.cta .button:hover {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 8px 8px 0 rgba(11, 39, 71, 0.14);
}

.button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  box-shadow: none;
}

@media (hover: none) {
  .button:hover,
  .cta .button:hover {
    background: var(--navy);
    border-color: var(--navy);
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .sites-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  :root { --page-pad: 22px; }
  nav { min-height: 60px; }
  .brand { min-width: 0; padding: 9px 16px; }
  .brand-lockup { gap: 8px; }
  .brand-wordmark { width: 118px; }
  .brand-lockup-icon { width: 38px; height: 39px; }
  .brand-lockup-word { width: 118px; height: 24px; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 7px; }
  .nav-controls { padding: 0 8px; }
  .lang-switcher { gap: 2px; }
  .lang-btn { width: 34px; min-width: 34px; height: 44px; font-size: 9px; }
  .sites-hero { min-height: 540px; padding: 130px 0 70px; }
  h1 { font-size: 48px; }
  .hero-copy { font-size: 14px; }
  section { padding: 82px 0; }
  .section-title { font-size: 38px; }
  .sites-grid { grid-template-columns: 1fr; }
  .site-card { min-height: 250px; border-right: 0; }
  footer { align-items: flex-start; flex-direction: column; }
}
