:root {
  --navy: #0b2941;
  --blue: #1087b9;
  --blue-bright: #3898ec;
  --ice: #e9f6fc;
  --text: #333;
  --muted: #6b7b8a;
  --bg: #ffffff;
  --card: #ffffff;
  --ring: rgba(11, 41, 65, 0.08);
  --shadow: 0 6px 24px rgba(11, 41, 65, 0.08);
  --radius: 14px;
  --content-w: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background: #fff url('assets/bg-body.png') repeat;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }

.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  min-height: 56px;
}
.brand { display: inline-flex; align-items: center; }
.brand img {
  width: 110px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 36px;
}
.nav a {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  position: relative;
}
.nav a:hover { color: var(--ice); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 41, 65, 0.72), rgba(11, 41, 65, 0.45)),
    url('assets/bg-hero.png') center/cover no-repeat;
  display: flex;
  align-items: center;
}
.hero-inner {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 140px 24px 80px;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 0 12px;
  line-height: 1;
}
.hero p {
  color: var(--ice);
  font-size: clamp(18px, 2.4vw, 32px);
  font-weight: 600;
  max-width: 720px;
  margin: 0 0 40px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
}
.hero-cta img { width: 28px; height: auto; }
.hero-cta:hover { color: var(--ice); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }

.section-title {
  color: var(--navy);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  margin: 0 0 8px;
}
.section-sub {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 28px;
}

/* ---------- About ---------- */
.about-body {
  max-width: 980px;
  font-size: 15px;
  color: var(--text);
  margin: 0 0 56px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: left;
}
.about-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.about-card-img img { max-height: 180px; width: auto; }
.about-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0.5px;
}
.about-card h3 .muted { color: var(--navy); }
.about-card h3 .accent { color: var(--blue); }
.about-card p {
  font-size: 14px;
  margin: 0;
  color: var(--text);
}

/* ---------- Services ---------- */
.services { background: transparent; }
.services-group-title {
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  margin: 36px 0 20px;
}
.services-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 8px;
}
.services-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.services-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 600px; }

.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card-img {
  background: var(--ice);
  border-radius: 10px;
  width: 100%;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  min-height: 140px;
}
.service-card-img img { width: 110px; height: auto; }
.service-card-title {
  color: var(--blue);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text);
  font-size: 13.5px;
  margin: 0;
}

/* ---------- Clients ---------- */
.clients { background: transparent; }
.clients .section-title { text-align: center; margin-bottom: 40px; }
.clients-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 32px;
}
.clients-row img {
  max-height: 70px;
  width: auto;
  filter: none;
  opacity: 0.9;
  transition: opacity .2s;
}
.clients-row img.wide { max-height: 48px; }
.clients-row img:hover { opacity: 1; }

/* ---------- Products ---------- */
.products { background: transparent; }
.products .section-title { text-align: center; margin-bottom: 40px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
}
.product-card-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
}
.product-card-img img { max-height: 100px; width: auto; }
.product-card-title {
  color: var(--blue);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 8px;
}
.product-card p {
  color: var(--text);
  font-size: 14px;
  margin: 0 0 18px;
  flex: 1;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  margin-top: auto;
}
.product-link img { width: 22px; height: auto; }

/* ---------- Contact ---------- */
.contact { background: transparent; }
.contact .section-title { margin-bottom: 32px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-heading {
  color: var(--navy);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
}
.contact-col p {
  font-size: 14px;
  margin: 0 0 24px;
  color: var(--text);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.contact-item img { width: 30px; height: 30px; flex: 0 0 auto; }
.contact-label {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  font-size: 14px;
}

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}
.contact-form .field {
  margin-bottom: 16px;
}
.contact-form .field > label,
.contact-form .field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d0d9e1;
  border-radius: 6px;
  font: inherit;
  font-weight: 400;
  background: #fff;
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue-bright);
  outline-offset: 1px;
  border-color: var(--blue-bright);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 2px;
}
.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
}
.radio input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue-bright);
  flex: 0 0 auto;
}
.submit-btn {
  background: var(--blue-bright);
  color: #fff;
  border: 0;
  padding: 12px 22px;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.submit-btn:hover { background: #1c7ad1; }
.form-status {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
}
.form-status[data-kind="success"] { background: #e8f6ea; color: #226a2e; }
.form-status[data-kind="error"]   { background: #fde8e8; color: #8a1f1f; }
.form-status[data-kind="pending"] { background: #e6f0fb; color: #1c4a7a; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.turnstile-field { margin-bottom: 16px; }
.turnstile-field[hidden] { display: none; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  align-items: start;
}
.footer-brand img {
  width: 166px;
  height: auto;
}
.footer-content {
  display: flex;
  gap: 80px;
  justify-content: flex-end;
}
.footer-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-heading {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.footer-block a {
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
}
.footer-block a:hover { opacity: 1; color: var(--ice); }
.social { display: flex; gap: 14px; }
.social img { width: 29px; height: auto; }
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 28px 0 18px;
}
.footer-copy {
  text-align: center;
  font-size: 13px;
  opacity: 0.8;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .services-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-content { justify-content: flex-start; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--ring);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #eef2f6; }
  .nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid.cols-4,
  .services-grid.cols-2 { grid-template-columns: 1fr; max-width: none; }
  .products-grid { grid-template-columns: 1fr; }
  .clients-row { gap: 28px; }
  .clients-row img { max-height: 48px; }
  .footer-content { flex-direction: column; gap: 24px; }
}
