/* ===== WELDOMET — styles ===== */
:root {
  --navy: #0b2545;
  --navy-2: #13355f;
  --blue: #2c98c9;      /* logo blue */
  --orange: #e0761e;    /* accent orange */
  --ink: #1d2733;
  --muted: #5b6878;
  --line: #e3e8ee;
  --bg-soft: #f4f7fa;
  --radius: 10px;
  --header-h: 80px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.6; background: #fff; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h2::after {
  content: ""; display: block; width: 48px; height: 3px;
  background: var(--orange); margin-top: .5rem; border-radius: 2px;
}
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.section-head { margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); max-width: 62ch; margin: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: .75rem 1.5rem; border-radius: 999px; cursor: pointer;
  background: var(--orange); color: #fff; font: 600 1rem var(--font); text-decoration: none;
  border: 2px solid var(--orange); transition: background .2s, color .2s;
}
.btn:hover { background: #c4630f; border-color: #c4630f; }
.btn-ghost { background: transparent; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  box-shadow: 0 2px 12px rgba(11, 37, 69, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand img { width: 46px; height: 46px; }
.brand-text { font-weight: 800; letter-spacing: .04em; font-size: 1.2rem; line-height: 1.15; }
.brand-text small { font-weight: 600; color: var(--muted); font-size: .72rem; }
.brand-text em {
  display: block; font-style: normal; font-weight: 500; letter-spacing: .02em;
  font-size: .72rem; color: var(--orange);
}

/* Main menu (desktop) */
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.menu > li { position: relative; }
.menu > li > a {
  display: flex; align-items: center; gap: .35rem;
  padding: .6rem .95rem; color: var(--navy); font-weight: 600; text-decoration: none; border-radius: 6px;
}
.menu > li > a:hover { color: var(--orange); }
.menu .nav-cta { background: var(--orange); color: #fff; border-radius: 999px; padding: .55rem 1.25rem; margin-left: .5rem; }
.menu .nav-cta:hover { background: #c4630f; color: #fff; }
.caret {
  width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.submenu {
  list-style: none; margin: 0; padding: .5rem 0;
  position: absolute; top: 100%; left: 0; min-width: 270px;
  background: #fff; border-radius: var(--radius); border-top: 3px solid var(--orange);
  box-shadow: 0 14px 34px rgba(11, 37, 69, .16);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu-wide { min-width: 330px; }
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: .5rem 1.2rem; font-size: .92rem;
  color: var(--ink); text-decoration: none;
}
.submenu a:hover { background: var(--bg-soft); color: var(--orange); }

/* Hamburger (hidden on desktop) */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.hamburger { display: none; }

/* ===== Hero ===== */
.hero {
  background:
    linear-gradient(100deg, rgba(11,37,69,.93) 0%, rgba(11,37,69,.72) 50%, rgba(11,37,69,.2) 100%),
    url("assets/hero.jpg") center / cover no-repeat;
  color: #fff;
}
.hero-inner { padding: clamp(4.5rem, 11vw, 8rem) 0; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 20ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; color: var(--orange); font-weight: 700; margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 52ch; color: #e6eef6; margin: 0 0 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== Icons ===== */
.ico {
  display: grid; place-items: center; flex: none;
  width: 64px; height: 64px; border-radius: 14px;
  background: rgba(44, 152, 201, .1); color: var(--blue);
}
.ico svg { width: 38px; height: 38px; }

/* ===== Product showcase ===== */
.showcase { padding: 5rem 0; }
.showcase-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.tile {
  display: flex; flex-direction: column; gap: .2rem;
  padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line);
  text-decoration: none; color: inherit; background: #fff;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tile .ico { margin-bottom: 1rem; }
.tile h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.tile p { color: var(--muted); font-size: .93rem; margin: 0 0 1rem; flex: 1; }
.tile .more { color: var(--orange); font-weight: 600; font-size: .9rem; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(11,37,69,.1); border-color: var(--blue); }
.tile:hover .ico { background: var(--blue); color: #fff; }

/* ===== Product category pages ===== */
.menu > li > a.is-active { color: var(--orange); }
.submenu a[aria-current="page"] { color: var(--orange); font-weight: 600; }

.ico-sm { width: 48px; height: 48px; border-radius: 10px; }
.ico-sm svg { width: 28px; height: 28px; }
.ico-lg { width: 84px; height: 84px; border-radius: 18px; background: rgba(255,255,255,.12); color: #fff; }
.ico-lg svg { width: 50px; height: 50px; }

.page-banner {
  background:
    linear-gradient(100deg, rgba(11,37,69,.95) 0%, rgba(11,37,69,.82) 60%, rgba(11,37,69,.55) 100%),
    url("assets/hero.jpg") center / cover no-repeat;
  color: #fff; padding: 2.5rem 0 3.5rem;
}
.breadcrumb { font-size: .88rem; color: #b8c8da; margin-bottom: 1.75rem; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 .35rem; }
.breadcrumb [aria-current] { margin: 0; color: var(--orange); }
.banner-title { display: flex; gap: 1.5rem; align-items: center; }
.banner-title h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: .4rem; }
.banner-title p { margin: 0; color: #dbe6f1; max-width: 65ch; }

.category { background: var(--bg-soft); padding: 4rem 0; }
.category-layout { display: grid; grid-template-columns: 270px 1fr; gap: 2.5rem; align-items: start; }

.cat-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.side-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.side-title::after { width: 32px; }
.cat-sidebar ul {
  list-style: none; margin: 0 0 1.5rem; padding: .4rem 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.cat-sidebar li a {
  display: block; padding: .6rem 1.1rem; font-size: .93rem;
  color: var(--ink); text-decoration: none; border-left: 3px solid transparent;
}
.cat-sidebar li a:hover { color: var(--orange); background: var(--bg-soft); }
.cat-sidebar li a.current { border-left-color: var(--orange); color: var(--orange); font-weight: 600; background: #fff7f0; }
.side-cta { background: var(--navy); color: #fff; padding: 1.5rem; border-radius: var(--radius); }
.side-cta h3 { color: #fff; font-size: 1.05rem; margin-bottom: .4rem; }
.side-cta p { color: #c9d6e4; font-size: .9rem; margin: 0 0 1rem; }

.count { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.product {
  display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem;
  transition: border-color .2s, box-shadow .2s;
}
.product:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(11,37,69,.08); }
.product h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.product p { margin: 0 0 .6rem; color: var(--muted); font-size: .92rem; }
.enquire { font-size: .88rem; font-weight: 600; color: var(--orange); text-decoration: none; }
.enquire:hover { text-decoration: underline; }

.cat-pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.cat-pager a {
  padding: .7rem 1.1rem; border-radius: 8px; background: #fff; border: 1px solid var(--line);
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: .92rem;
}
.cat-pager a:hover { border-color: var(--orange); color: var(--orange); }

.cta-strip { background: var(--orange); color: #fff; padding: 2rem 0; }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-strip p { margin: 0; font-weight: 600; max-width: 60ch; }
.cta-strip .btn { background: var(--navy); border-color: var(--navy); }
.cta-strip .btn:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; padding: 5rem 0; }
.about-text p { color: var(--muted); }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.values li { background: var(--bg-soft); border-radius: var(--radius); padding: 1.25rem; border-left: 4px solid var(--blue); }
.values h3 { font-size: 1rem; margin-bottom: .35rem; }
.values p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ===== Services ===== */
.services { background: var(--bg-soft); padding: 5rem 0; }
.service-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem; border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.card:hover, .card:target { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(11, 37, 69, .1); }
.card:target { border-color: var(--orange); }
.card .num { position: absolute; top: 1.25rem; right: 1.25rem; font-size: 1.9rem; font-weight: 800; color: var(--line); }
.card h3 { font-size: 1.12rem; padding-right: 2.5rem; }
.card > p { color: var(--muted); font-size: .95rem; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 1.2rem; margin-bottom: .45rem; font-size: .92rem; }
.card li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}

/* ===== Contact ===== */
.contact { background: var(--navy); color: #fff; padding: 5rem 0; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-info p { color: #c9d6e4; }
.contact address {
  font-style: normal; display: grid; gap: .3rem; margin-top: 1.5rem;
  background: var(--navy-2); padding: 1.5rem 1.75rem; border-radius: var(--radius);
  border-left: 4px solid var(--orange); color: #c9d6e4;
}
.contact address strong { color: #fff; }
.contact address a { color: #fff; text-decoration: none; }
.contact address a:hover { color: var(--orange); }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  background: #fff; color: var(--ink); padding: 2rem; border-radius: var(--radius);
}
.contact-form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 .95rem var(--font); padding: .65rem .8rem;
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg-soft); color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--blue); outline-offset: 0; background: #fff;
}
.contact-form .btn { justify-self: start; }

/* ===== Footer ===== */
.site-footer { background: #071a31; color: #8fa3b8; font-size: .88rem; }
.site-footer .container { display: flex; justify-content: space-between; padding: 1.25rem 0; }
.site-footer p { margin: 0; }
.site-footer a { color: #8fa3b8; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { width: 40px; height: 40px; }
  .brand-text em { display: none; }

  .hamburger {
    display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer;
    border-radius: 8px; border: 1px solid var(--line);
  }
  .hamburger span, .hamburger span::before, .hamburger span::after {
    content: ""; display: block; width: 22px; height: 2px; background: var(--navy);
    position: relative; transition: transform .2s, background .2s;
  }
  .hamburger span::before { position: absolute; top: -7px; }
  .hamburger span::after  { position: absolute; top: 7px; }
  .nav-toggle:checked + .hamburger span { background: transparent; }
  .nav-toggle:checked + .hamburger span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .hamburger span::after  { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    box-shadow: 0 14px 30px rgba(11,37,69,.15);
    display: none;
  }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .menu > li > a { padding: .85rem 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .caret { display: none; }
  .submenu, .submenu-wide {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; min-width: 0; padding: .25rem 0 .5rem;
  }
  .submenu a { padding: .4rem 0 .4rem 1rem; color: var(--muted); }
  .menu .nav-cta { margin: 1rem 0 0; justify-content: center; border-bottom: 0; }

  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .showcase, .services, .about, .contact, .category { padding: 3.5rem 0; }
}
@media (max-width: 960px) {
  .category-layout { grid-template-columns: 1fr; }
  .cat-sidebar { position: static; order: 2; }
}
@media (max-width: 700px) {
  .product-grid { grid-template-columns: 1fr; }
  .banner-title { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .ico-lg { width: 64px; height: 64px; }
  .ico-lg svg { width: 38px; height: 38px; }
}
@media (max-width: 560px) {
  .values, .service-grid, .contact-form, .showcase-grid { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .site-footer .container { flex-direction: column; gap: .4rem; }
}
