/* Naukatek AS — shared styles for every page.
   Colours and fonts follow the original Wix site. */
:root {
  --navy: #1a2b6d;
  --navy-dark: #0d1637;
  --red: #d41317;
  --red-dark: #8d0d0f;
  --grey-light: #f2f2f2;
  --grey: #757575;
  --text: #222;
  --white: #fff;
  --heading-font: "Spinnaker", "Helvetica Neue", Arial, sans-serif;
  --body-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--heading-font); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header and menu ---------- */
.site-header { background: var(--white); border-bottom: 1px solid #e5e5e5; position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.logo { font-family: var(--heading-font); font-size: 1.6rem; letter-spacing: .08em; color: var(--navy); text-decoration: none; white-space: nowrap; }
.logo span { color: var(--red); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.8rem; color: var(--navy); cursor: pointer; padding: 4px 8px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav li { position: relative; }
.nav a { display: block; padding: 10px 14px; text-decoration: none; color: var(--text); font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav ul ul { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white); box-shadow: 0 6px 20px rgba(0,0,0,.12); list-style: none; padding: 6px 0; margin: 0; }
.nav ul ul ul { position: static; box-shadow: none; padding: 0 0 0 14px; display: block; }
.nav li:hover > ul, .nav li:focus-within > ul { display: block; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,.1); max-height: 80vh; overflow-y: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; padding: 10px 20px; }
  .nav ul ul { display: block; position: static; box-shadow: none; padding-left: 16px; }
}

/* ---------- Page banner ---------- */
.hero { position: relative; color: var(--white); background: var(--navy) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(13, 22, 55, .55); }
.hero .wrap { position: relative; padding: 110px 20px; }
.hero p { font-size: 1.25rem; max-width: 640px; }
.hero.small .wrap { padding: 70px 20px; }

.btn { display: inline-block; background: var(--red); color: var(--white); padding: 12px 28px; text-decoration: none; border: 0; font: inherit; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--red-dark); color: var(--white); }
.btn.outline { background: transparent; border: 1px solid currentColor; color: inherit; }
.btn.outline:hover { background: var(--white); color: var(--navy); }

/* ---------- Content ---------- */
section { padding: 60px 0; }
section.grey { background: var(--grey-light); }
.prose { max-width: 780px; }
.prose ul { padding-left: 1.2em; }
.back { display: inline-block; margin-top: 30px; text-decoration: none; }
.back:hover { color: var(--red); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--white); border-top: 4px solid var(--red); padding: 28px; box-shadow: 0 2px 10px rgba(0,0,0,.06); display: flex; flex-direction: column; }
.card p { flex: 1; }
.card a.more { color: var(--red); text-decoration: none; font-weight: 400; }
.card a.more:hover { text-decoration: underline; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #000; }

.industries { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; }
.industries h3 { color: var(--navy); border-bottom: 2px solid var(--red); padding-bottom: 6px; }
.industries ul { list-style: none; padding: 0; margin: 0; }

.shop { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.shop .item { text-align: center; }
.shop .item img { aspect-ratio: 1; object-fit: contain; background: #fff; margin-bottom: 12px; width: 100%; }

table.specs { border-collapse: collapse; width: 100%; margin: 20px 0; }
table.specs th, table.specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #ddd; }
table.specs th { color: var(--navy); font-weight: 400; width: 40%; }
table.specs thead th { background: var(--navy); color: var(--white); }

/* ---------- Contact and footer ---------- */
.contact { background: var(--navy); color: var(--white); }
.contact a { color: var(--white); }
.contact form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact label { display: flex; flex-direction: column; font-size: .9rem; gap: 4px; }
.contact label.full { grid-column: 1 / -1; }
.contact input, .contact textarea { font: inherit; padding: 10px; border: 1px solid rgba(255,255,255,.6); background: transparent; color: var(--white); }
.contact textarea { min-height: 120px; resize: vertical; }
.contact .note { font-size: .85rem; opacity: .8; grid-column: 1 / -1; margin: 0; }
@media (max-width: 560px) { .contact form { grid-template-columns: 1fr; } }

.site-footer { background: var(--navy-dark); color: #c7c7c7; padding: 26px 0; font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.social { display: flex; gap: 12px; }
.social a { color: #c7c7c7; }
.social a:hover { color: var(--white); }
.social svg { width: 22px; height: 22px; fill: currentColor; display: block; }
