:root {
  --accent: #ff7a2d;
  --font-sans: "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --content-w: 900px;
  --pad: 20px;
  --logo-h: 220px;
  --title-min: 1.5rem;
  --title-max: 3rem;
  --card-radius: 12px;
  --card-pad: 32px;
}

/* Reset / base */
* {
  box-sizing: border-box;
}
html {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background: url("/assets/images/bgi.png") center/cover no-repeat fixed;
  color: #111;
  padding: var(--pad);
  font-size: 1.2em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Layout wrapper */
.wrap {
  width: 100%;
  padding-inline: 12px;
  margin: 0 auto;
}
.content-center {
  max-width: var(--content-w);
  margin: 0 auto;
}

/* Header grid */
header {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  margin: 0 0 18px;
  position: relative;
  align-items: start;
}
.brand {
  grid-column: 1/2;
  grid-row: 1/3;
  align-self: start;
  justify-self: start;
  line-height: 0;
}
.brand img {
  height: var(--logo-h);
  width: auto;
  display: block;
}

/* site title and nav wrap */
.site-title {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(var(--title-min), 3.6vw, var(--title-max));
  line-height: 1.02;
  letter-spacing: -0.35px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  text-align: right;
  max-width: 80%;
  padding-left: 6px;
}
.nav-wrap {
  grid-column: 2/3;
  grid-row: 2/3;
  align-self: end;
  justify-self: end;
  display: flex;
  gap: 8px;
  padding-left: 6px;
  flex-direction: column;
  align-items: flex-end;
}

/* Language switch */
.lang-switch {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.16s,
    box-shadow 0.16s,
    border 0.16s;
  height: 36px;
}
.lang-btn:hover {
  transform: translateY(-2px);
}
.lang-btn.active {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--accent);
  box-shadow: 0 0 4px rgba(255, 122, 45, 0.25);
}
.lang-btn:focus-visible {
  outline: none;
  border: 2px solid var(--accent);
  box-shadow: 0 0 6px rgba(255, 122, 45, 0.3);
}

.flag-icon {
  width: 22px;
  height: 14px;
  display: inline-block;
  flex-shrink: 0;
}
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* Navigation */
.nav-list {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-list a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.18s,
    color 0.18s,
    background 0.18s;
}
.nav-list a:hover {
  transform: translateY(-2px);
  color: var(--accent);
}
.nav-list a.active {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(255, 122, 45, 0.18);
}

/* Content typography */
h1 {
  color: #f79151;
  margin: 0 0 12px;
  font-size: 2rem;
}
h2 {
  color: #39497c;
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 600;
} /* single canonical h2 rule */
p {
  text-indent: 2em;
  line-height: 1.6;
  margin: 0 0 12px;
}

/* Lists */
ul {
  padding-left: 2em;
  margin: 0 0 16px;
  list-style-position: outside;
}
li {
  line-height: 1.6;
  margin-bottom: 0.6em;
}

/* Cards */
.primary-card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  margin: 24px 0;
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.28);
  border: 1px solid rgba(8, 12, 24, 0.06);
}
.secondary-card-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.secondary-card {
  padding: 22px 26px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(10, 20, 30, 0.05);
  box-shadow:
    0 6px 20px rgba(10, 20, 30, 0.08),
    0 2px 6px rgba(10, 20, 30, 0.04);
  width: 100%;
  box-sizing: border-box;
}

/* Services grid and small cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 12px;
  width: 100%;
}

.small-card {
  background: #fff;
  border-radius: 10px;
  min-height: 160px;
  border: 1px solid rgba(10, 20, 30, 0.04);
  box-shadow: 0 6px 20px rgba(10, 20, 30, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: var(--card-pad);
}
.small-card > div {
  width: 100%;
}
.small-card h4 {
  color: #39497c;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.small-card p {
  margin: 0 0 10px;
  color: #333;
  text-indent: 0;
}
.small-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #333;
}
.small-card ul li {
  margin-bottom: 0.6em;
  line-height: 1.6;
}
.small-card.center {
  align-items: center;
  text-align: center;
}

/* Clients */
.clients-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.inner-rounded-rect {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  flex: 1 1 45%;
  min-width: 260px;
  border: 1px solid rgba(10, 20, 30, 0.04);
  box-shadow: 0 6px 20px rgba(10, 20, 30, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.inner-rounded-rect ul {
  padding-left: 0;
  margin: 0;
  list-style: none; /* optional: remove bullets/indent completely */
}
.client-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}
.client-item img {
  height: auto;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}
.client-item span {
  font-size: 0.8em;
}

/* Address & contact */
address {
  font-style: normal;
  line-height: 1.6;
  margin: 0 0 12px;
}
.indent-all {
  padding: 0.75em 2em;
  margin: 1em 0;
  text-indent: 0;
}

/* spares-grid single column */
.spares-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 12px;
  width: 100%;
}

/* spares-grid small-card tweaks */
.spares-grid .small-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  border: 1px solid rgba(10, 20, 30, 0.05);
  box-shadow: 0 6px 18px rgba(18, 35, 50, 0.06);
  box-sizing: border-box;
}
.spares-grid .small-card h4 {
  margin: 0 0 16px;
  font-weight: 700;
  color: #203a63;
}
.spares-grid .small-card .content-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 900px) {
  .spares-grid .small-card .content-cols {
    grid-template-columns: 1fr 1fr;
  }
}
.spares-grid .small-card .content-cols .col ul {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.6;
}
.spares-grid .small-card .content-cols .col ul ul {
  margin-top: 0.5rem;
  padding-left: 1rem;
}
.spares-grid .small-card ul ul {
  font-size: 0.85em;
  color: #444;
  margin-top: 4px;
}
.spares-grid .small-card ul ul li {
  margin-bottom: 0.4em;
  line-height: 1.5;
}

/* Footer */
footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 700px) {
  .nav-wrap {
    align-items: flex-start;
  }
  .site-title {
    position: static;
    text-align: left;
    max-width: 100%;
    margin: 0 0 6px;
    font-size: 1.4rem;
  }
  .lang-switch {
    margin-bottom: 6px;
  }
  .secondary-card,
  .small-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .inner-rounded-rect {
    flex: 1 1 100%;
    max-width: 100%;
  }
  ul {
    padding-left: 1.6em;
  }
}