/* =========================================================================
   Aluminium Bottle Caps & Packaging Products — public site styles
   Navy + white industrial theme. Mobile-first, no horizontal scroll.
   ========================================================================= */

:root {
  /* --- Approved navy & white B2B palette --- */
  --brand: #0B192C;          /* primary navy */
  --brand-deep: #061326;     /* deep navy (overlays, footer) */
  --brand-600: #102A4C;      /* secondary navy (hover) */
  --brand-400: #2563EB;      /* restrained blue accent — links, focus, small lines */
  --accent: #0B192C;         /* legacy var kept for compatibility: primary CTA = navy */
  --accent-600: #102A4C;     /* legacy var kept for compatibility */
  --blue: #2563EB;
  --blue-600: #1D4ED8;
  --rule-red: #D5323B;       /* the small section-heading underline only */
  --ink: #101828;
  --muted: #475467;
  --line: #E3E8EF;
  --bg: #ffffff;
  --bg-soft: #F7F9FC;
  --bg-navy: #0B192C;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 25, 44, .08), 0 2px 8px rgba(11, 25, 44, .06);
  --shadow-md: 0 6px 24px rgba(11, 25, 44, .12);
  --container: 1200px;
  --header-h: 76px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-400); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.22; color: var(--brand); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --- Utilities --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto;
  z-index: 1000; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px;
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.icon { width: 24px; height: 24px; flex: none; }
.inline-icon { width: 18px; height: 18px; vertical-align: -3px; flex: none; }
.btn-icon { width: 18px; height: 18px; flex: none; }
.flip { transform: rotate(180deg); width: 1.15em; height: 1.15em; flex: none; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700;
  color: var(--brand); margin: 0 0 .6rem;
}
.eyebrow--light { color: #8FB3E0; }
.muted-note, .figure-note { color: var(--muted); font-size: .85rem; }
.hl { color: #5B9BD5; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s, background .15s, box-shadow .15s;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-600); color: #fff; }
.btn--accent { background: var(--brand); color: #fff; }
.btn--accent:hover { background: var(--brand-600); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
/* On light surfaces the ghost button becomes a navy outline so it stays visible */
.aside-card .btn--ghost,
.section--white .btn--ghost,
.section--light .btn--ghost,
.detail-card .btn--ghost { color: var(--brand); border-color: var(--brand); }
.aside-card .btn--ghost:hover,
.section--white .btn--ghost:hover,
.section--light .btn--ghost:hover,
.detail-card .btn--ghost:hover { background: rgba(11,25,44,.06); color: var(--brand); }
.btn--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

/* On dark navy surfaces, the primary CTA flips to white so it stays visible */
.hero .btn--accent,
.section--navy .btn--accent,
.cta-band .btn--accent,
.enquiry-cta .btn--accent,
.pagehead .btn--accent {
  background: #fff; color: var(--brand);
}
.hero .btn--accent:hover,
.section--navy .btn--accent:hover,
.cta-band .btn--accent:hover,
.enquiry-cta .btn--accent:hover,
.pagehead .btn--accent:hover {
  background: #E8EEF6; color: var(--brand);
}

/* --- Header / nav (full-width navy, connects into the hero) --- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--brand);
  border-bottom: 1px solid rgba(255,255,255,.10); transition: box-shadow .2s, background .2s;
}
.site-header.is-stuck { box-shadow: 0 2px 14px rgba(6,19,38,.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; max-height: 52px; }
.brand:hover { text-decoration: none; }
/* Safe CSS treatment: render whatever logo is set as a clean white mark on the
   navy header/footer. Replace with a purpose-made white logo in the admin to
   keep colour. */
.site-header .brand img,
.site-footer__logo { filter: brightness(0) invert(1); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px;
  background: transparent; color: #fff; cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }

@media (max-width: 960px) {
  .primary-nav[data-open="true"] {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--brand); border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 30px rgba(6,19,38,.4);
    padding: 12px 20px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .primary-nav > ul > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 4px; font-weight: 600; color: #fff; font-size: 1.05rem;
  }
  .primary-nav > ul > li > a[aria-current="page"] { color: #fff; }
  .primary-nav .has-dropdown { position: relative; }
  .dropdown-toggle {
    position: absolute; right: 0; top: 6px; width: 44px; height: 44px;
    background: transparent; border: 0; color: #fff; cursor: pointer;
  }
  .dropdown-toggle[aria-expanded="true"] .dd-caret { transform: rotate(90deg); }
  .dropdown { display: none; padding: 0 0 10px 12px; }
  .has-dropdown[data-open="true"] .dropdown { display: block; }
  .dropdown a { display: block; padding: 10px 4px; color: rgba(255,255,255,.72); }
  .dropdown a:hover { color: #fff; }
  .primary-nav > ul > li > a .dd-caret { display: none; }
  .nav-cta { display: inline-flex; margin-top: 16px; }
}

@media (min-width: 961px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: .4rem; }
  .primary-nav > ul { display: flex; align-items: center; gap: .2rem; }
  .primary-nav > ul > li { position: relative; }
  .primary-nav > ul > li > a {
    display: inline-flex; align-items: center; gap: .3rem; padding: .7rem .9rem;
    font-weight: 600; color: rgba(255,255,255,.86); border-radius: 8px;
  }
  .primary-nav > ul > li > a:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
  .primary-nav > ul > li > a[aria-current="page"] {
    color: #fff; background: transparent; box-shadow: inset 0 -3px 0 var(--blue);
  }
  .dropdown-toggle { display: none; }
  .dd-caret { width: 16px; height: 16px; transition: transform .15s; }
  .dropdown {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 260px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown,
  .has-dropdown[data-open="true"] .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
  .has-dropdown:hover .dd-caret,
  .has-dropdown[data-open="true"] .dd-caret { transform: rotate(90deg); }
  .dropdown a { display: block; padding: .6rem .8rem; border-radius: 8px; color: var(--ink); }
  .dropdown a:hover { background: var(--bg-soft); color: var(--brand); text-decoration: none; }
  .nav-cta { margin-left: .6rem; }
}

/* Header CTA: solid white pill on the navy bar (stays high-contrast) */
.nav-cta.btn--accent { background: #fff; color: var(--brand); border-color: #fff; }
.nav-cta.btn--accent:hover { background: #E8EEF6; color: var(--brand); }

/* --- Hero carousel --- */
.hero { position: relative; background: var(--bg-navy); overflow: hidden; }
.hero__track { position: relative; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.hero__slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(103deg, rgba(6,19,38,.96) 0%, rgba(6,19,38,.9) 42%, rgba(11,25,44,.68) 74%, rgba(11,25,44,.52) 100%),
    linear-gradient(0deg, rgba(6,19,38,.6) 0%, rgba(6,19,38,.1) 55%);
}
.hero__content {
  position: relative; z-index: 2; padding: clamp(3rem, 9vw, 7rem) 20px;
  max-width: var(--container); color: #fff;
}
.hero__content > * { max-width: 40rem; }
.hero__title { color: #fff; margin-bottom: .6rem; }
.hero__desc { font-size: 1.1rem; color: #dfe6f0; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__controls {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 64px;
  display: flex; align-items: center; gap: .6rem;
}
.hero__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(6,17,36,.45); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.hero__btn:hover { background: rgba(6,17,36,.8); }
.hero__btn .icon { width: 20px; height: 20px; }
.hero__btn--play { font-size: .8rem; }
.hero__btn--play [data-pause-icon] { display: none; }
.hero[data-playing="true"] .hero__btn--play [data-play-icon] { display: none; }
.hero[data-playing="true"] .hero__btn--play [data-pause-icon] { display: inline; }
.hero__counter { color: #fff; font-variant-numeric: tabular-nums; font-size: .9rem; min-width: 52px; text-align: center; }
.hero__dots {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 30px;
  display: flex; gap: .5rem;
}
.hero__dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0;
}
.hero__dots button[aria-selected="true"] { background: #fff; border-color: #fff; }

@media (max-width: 780px) {
  .hero__slide.is-active { min-height: 78vh; display: flex; align-items: flex-end; }
  .hero__content { padding-bottom: 8rem; }
  .hero__controls { bottom: 58px; }
}

/* --- Benefits strip --- */
.benefits { background: var(--brand); color: #fff; }
.benefits__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.14);
}
.benefit { background: var(--brand); display: flex; gap: .9rem; padding: 1.6rem 1.2rem; align-items: flex-start; }
.benefit__icon { color: #8FB3E0; }
.benefit h2 { color: #fff; font-size: 1.02rem; margin: 0 0 .2rem; }
.benefit p { color: #c8d2e2; font-size: .9rem; margin: 0; }
@media (max-width: 900px) { .benefits__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .benefits__grid { grid-template-columns: 1fr; } }

/* --- Sections --- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--white { background: #fff; }
.section--light { background: var(--bg-soft); }
.section--navy { background: var(--bg-navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-title { text-align: center; padding-bottom: .85rem; margin-bottom: 1.4rem; }
.section-title::after {
  content: ""; display: block; width: 56px; height: 3px; border-radius: 2px;
  background: var(--blue); margin: .85rem auto 0;
}
.section--navy .section-title::after { background: #5B9BD5; }
.section-sub { text-align: center; color: var(--muted); max-width: 62ch; margin: -.2rem auto 2.2rem; }
.section--navy .section-sub { color: #c8d2e2; }
.section-cta { text-align: center; margin-top: 2.2rem; margin-bottom: 0; }
.eyebrow { text-align: center; }
.section .prose .eyebrow, .split .eyebrow, .detail-main .eyebrow { text-align: left; }

/* --- Category grid --- */
.cat-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1.4rem; }
.cat-grid--compact { --cols: 3; margin-bottom: 2.4rem; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
  color: var(--ink);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.cat-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--brand); display: block; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__icon {
  position: absolute; left: 14px; bottom: -20px; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.cat-card__body { padding: 1.6rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.cat-card__title { font-weight: 700; color: var(--brand); font-size: 1.12rem; }
.cat-card__desc { color: var(--muted); font-size: .92rem; flex: 1; }
.cat-card__more { color: var(--brand); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.cat-card:hover .cat-card__more { color: var(--blue); }
@media (max-width: 900px) { .cat-grid, .cat-grid--compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid, .cat-grid--compact { grid-template-columns: 1fr; } }

/* --- Feature cards --- */
.feature-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1.2rem; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm); }
.section--light .feature-card { background: #fff; }
.feature-card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: #fff;
  border: 1.5px solid var(--brand); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.section--navy .feature-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.section--navy .feature-card__icon { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.section--navy .feature-card p { color: #c8d2e2; }
.feature-card h3 { margin-bottom: .3rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* --- Split --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__body h2 { margin-bottom: .6rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split__media { order: -1; } }

/* --- CTA band --- */
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band__inner h2 { margin-bottom: .4rem; }
.cta-band__inner p { color: #c8d2e2; margin: 0; max-width: 52ch; }

/* --- Prose --- */
.prose { max-width: 72ch; }
.prose--wide { max-width: 60rem; margin: 0 auto; }
.prose h2, .prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose a { color: var(--brand-400); text-decoration: underline; }
.tick-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.tick-list li { display: flex; gap: .6rem; align-items: flex-start; }
.tick { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { background: rgba(11,25,44,.06); color: var(--brand); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-size: .88rem; font-weight: 600; }

/* Navy "size option" pills (Available Sizes) */
.size-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: .3rem 0 1.4rem; }
.size-pill {
  background: var(--brand); color: #fff; border-radius: 8px; padding: .55rem 1rem;
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
}

/* --- Page head / inner banner --- */
.pagehead { position: relative; background: var(--brand-deep); color: #fff; overflow: hidden; }
.pagehead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.pagehead__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,19,38,.97) 0%, rgba(6,19,38,.88) 48%, rgba(11,25,44,.7) 100%);
}
.pagehead__inner { position: relative; z-index: 2; padding: clamp(2.6rem, 6vw, 4.8rem) 20px; }
.pagehead h1 { color: #fff; margin: 0; padding-bottom: .7rem; }
.pagehead h1::after {
  content: ""; display: block; width: 64px; height: 3px; border-radius: 2px;
  background: var(--rule-red); margin-top: .7rem;
}
.pagehead__intro { color: #dbe2ee; max-width: 62ch; margin: .9rem 0 0; font-size: 1.06rem; }

/* --- Breadcrumbs --- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1rem; font-size: .85rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: .4rem; color: rgba(255,255,255,.6); }
.pagehead .breadcrumbs a { color: #cdd6e4; }
.pagehead .breadcrumbs span { color: #fff; }

/* --- Detail layout --- */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.detail-layout > * { min-width: 0; }
.detail-main { display: flex; flex-direction: column; gap: 1.6rem; }
.detail-main > * { min-width: 0; }
.detail-figure a[data-lightbox] { display: block; }
.detail-main > h2 {
  margin: 1rem 0 0; padding-bottom: .55rem; position: relative;
}
.detail-main > h2::after {
  content: ""; display: block; width: 46px; height: 3px; border-radius: 2px;
  background: var(--rule-red); margin-top: .55rem;
}
.detail-main > h2:first-child { margin-top: 0; }
/* Consistent section-card wrapper used across every product/category block */
.detail-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm);
}
.detail-card > :last-child { margin-bottom: 0; }
.section--light .detail-card { background: #fff; }
.detail-figure img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--brand); }
.detail-figure { margin-bottom: 0; }
.thumb-row { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.thumb { width: 84px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 16px); }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); display: grid; gap: .7rem; }
.aside-card h2 { margin: 0; font-size: 1.15rem; }
.aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.aside-list a { display: flex; align-items: center; gap: .3rem; padding: .45rem 0; color: var(--ink); border-bottom: 1px solid var(--line); }
.aside-list a:hover { color: var(--brand); text-decoration: none; }
.aside-back { display: inline-flex; align-items: center; gap: .3rem; margin-top: .4rem; font-weight: 600; }
@media (max-width: 900px) { .detail-layout { grid-template-columns: 1fr; } .detail-aside { position: static; } }

.spec-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; border-collapse: collapse; margin: .3rem 0 .4rem; min-width: 320px; }
.spec-table th, .spec-table td { text-align: left; padding: .95rem 1.1rem; border: 1px solid var(--line); vertical-align: top; }
.spec-table th { background: var(--bg-soft); width: 38%; color: var(--brand); font-weight: 600; }
.spec-table tr:nth-child(even) td { background: #fbfcfe; }
@media (max-width: 560px) {
  .spec-table, .spec-table tbody, .spec-table tr { display: block; width: 100%; }
  .spec-table tr { border: 1px solid var(--line); border-radius: 8px; margin-bottom: .6rem; overflow: hidden; }
  .spec-table th, .spec-table td { display: block; width: 100%; border: 0; }
  .spec-table th { background: var(--bg-soft); }
  .spec-table td { border-top: 1px solid var(--line); }
}

/* --- Product grid --- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card__media { aspect-ratio: 4/3; display: block; background: var(--brand); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card__tag { align-self: flex-start; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .6rem; border-radius: 6px; }
.product-card h2, .product-card h3 { font-size: 1.08rem; margin: 0; }
.product-card p { color: var(--muted); font-size: .92rem; margin: 0; flex: 1; }
.link-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--brand); }
.product-card:hover .link-more { color: var(--blue); }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

/* --- Product filter --- */
.product-filter { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin: 0 0 1.6rem; }
.product-filter__search { position: relative; flex: 1 1 260px; }
.product-filter__search .inline-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.product-filter input[type="search"] { width: 100%; padding: .75rem .9rem .75rem 2.4rem; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; }
.product-filter select { padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; background: #fff; flex: 0 1 220px; }
.product-filter__clear { font-weight: 600; }
.result-count { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }

.empty-state { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.empty-state__icon { width: 44px; height: 44px; color: var(--muted); margin: 0 auto 1rem; }

/* --- Enquiry CTA --- */
.enquiry-cta {
  background: var(--brand); color: #fff; border-radius: 0;
  padding: clamp(2rem, 5vw, 3rem) 0;
}
.enquiry-cta { display: block; }
.enquiry-cta > * { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.enquiry-cta { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 780px) {
  .enquiry-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}
.enquiry-cta h2 { color: #fff; margin: 0 0 .3rem; }
.enquiry-cta p { color: #c8d2e2; margin: 0; }

/* --- Gallery + lightbox --- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.gallery__item { aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery__item:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(4,10,22,.92);
  display: flex; align-items: center; justify-content: center; padding: 4vmin;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
}
.lightbox__close { top: 3vmin; right: 3vmin; }
.lightbox__nav--prev { left: 3vmin; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 3vmin; top: 50%; transform: translateY(-50%); }

/* --- FAQ --- */
.faq__item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .7rem; background: #fff; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--brand);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__caret { width: 18px; height: 18px; transition: transform .15s; flex: none; }
.faq__item[open] .faq__caret { transform: rotate(90deg); }
.faq__body { padding: 0 1.2rem 1.1rem; color: var(--muted); }

/* --- Contact --- */
.contact-layout { display: grid; grid-template-columns: 340px 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list .icon { color: var(--brand); }
.contact-list__label { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: .5rem; }
.contact-block { padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-block:first-of-type { border-top: 0; padding-top: 0; }
.contact-block .contact-list { margin-bottom: 0; }
.extra-contact { display: grid; gap: .15rem; padding: .9rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.extra-contact strong { color: var(--brand); }

/* --- Forms --- */
.enquiry-form { display: grid; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 2rem); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: grid; gap: .35rem; }
.form-group label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.req { color: #c0392b; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%; padding: .75rem .85rem; border: 1px solid #c9d2de; border-radius: 9px; font: inherit; font-size: 1rem; background: #fff;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--blue); outline: 2px solid rgba(37,99,235,.25); outline-offset: 0; }
.enquiry-form [aria-invalid="true"] { border-color: #c0392b; }
.field-error { color: #c0392b; font-size: .85rem; }
.form-consent label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.form-consent input { width: auto; margin-top: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: .8rem; padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.2rem; }
.alert__icon { width: 24px; height: 24px; flex: none; }
.alert--success { background: #e7f6ec; color: #1c6b3a; border: 1px solid #b6e0c4; }
.alert--error { background: #fdecea; color: #a33025; border: 1px solid #f5c6c0; }
.alert p { margin: .2rem 0 0; }

/* --- Footer (four columns: bio · products · contact/biz-dev · certifications) --- */
.site-footer { background: var(--brand-deep); color: #b9c4d4; padding-top: clamp(2.5rem, 6vw, 4rem); }
.site-footer a { color: #cdd6e4; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr .9fr 1.5fr 1.25fr; gap: 2rem;
  padding-bottom: 2.5rem;
}
@media (max-width: 1100px) { .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; } }
.site-footer__logo { max-height: 54px; width: auto; margin-bottom: 1rem; }
.site-footer__about p { font-size: .92rem; max-width: 42ch; }
.site-footer__col h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .92rem; }
.site-footer address { font-style: normal; display: grid; gap: .6rem; font-size: .92rem; }
.site-footer address p { display: flex; gap: .5rem; margin: 0; align-items: flex-start; }
.site-footer .inline-icon { color: #8FB3E0; margin-top: 3px; flex: none; }

/* Contact / Business Development column — two clearly separated blocks */
.footer-contact-block { padding: .95rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.footer-contact-block:first-of-type { border-top: 0; padding-top: 0; }
.footer-contact-block__label {
  display: block; color: #fff; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem;
}
.footer-contact-block__name { display: block; color: #e7edf5; font-weight: 600; }
.footer-contact-block p { display: flex; gap: .5rem; margin: .3rem 0 0; align-items: flex-start; }

/* Certifications — framed, contained, badges side by side */
.footer-certs__frame {
  background: #fff; border-radius: var(--radius); padding: 1rem 1.1rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
}
.footer-certs__badge {
  height: 54px; width: auto; max-width: 120px; object-fit: contain; display: block;
}
.footer-certs__text {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 54px; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 8px;
  color: var(--brand); font-weight: 700; font-size: .82rem; letter-spacing: .02em; background: var(--bg-soft);
}
.footer-certs__note { font-size: .8rem; color: #93a2b6; margin: .7rem 0 0; }

.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.social a:hover { background: rgba(255,255,255,.1); }
.social__icon { width: 20px; height: 20px; }
.site-footer__bar { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; flex-wrap: wrap; gap: .5rem; }
.site-footer__bar p { margin: 0; }
@media (max-width: 980px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } .footer-certs__frame { justify-content: flex-start; } }

/* --- WhatsApp FAB --- */
.whatsapp-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 200; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
}
.whatsapp-fab:hover { background: #1fb457; }
.whatsapp-fab__icon { width: 30px; height: 30px; }

/* --- Error pages --- */
.errorpage { text-align: center; }
.errorpage .prose { margin: 0 auto; }
.errorpage__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* Client update: Quality and Extended range middle sections. */
.quality-cert { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-bottom: 3.5rem; }
.quality-cert__preview { display: block; max-width: 420px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.quality-cert__preview img { width: 100%; height: auto; }
.quality-list { padding-left: 1.4rem; margin: 1.25rem 0; }
.quality-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.quality-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quality-grid--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.quality-grid .feature-card { padding: 1.25rem; min-width: 0; }
.quality-grid .feature-card h3 { font-size: 1rem; overflow-wrap: anywhere; }
.quality-grid .feature-card p { font-size: .9rem; }
.quality-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.quality-table { min-width: 650px; width: 100%; }
.quality-table thead { background: var(--brand); color: #fff; }
.quality-table thead th { color: #fff; }
.quality-last { margin-top: 3.5rem; }
.extended-heading { text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); padding-bottom: .5rem; border-bottom: 2px solid var(--brand-400); margin-bottom: 1.5rem; }
.extended-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.extended-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.extended-card { min-width: 0; display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: 1rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.extended-grid--three .extended-card { display: block; }
.extended-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }
.extended-card h3 { font-size: 1rem; text-transform: uppercase; overflow-wrap: anywhere; }
.extended-card p { font-size: .93rem; }
.extended-card a { display: inline-flex; gap: .3rem; align-items: center; font-weight: 700; }
.extended-partner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.extended-partner > div { max-width: 55ch; }
.extended-partner ul { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; margin: 0; color: var(--brand); font-weight: 700; }
.site-footer__bar a[href^="https://diskwebitsolutions.com"] { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 960px) {
 .quality-grid, .quality-grid--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .extended-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .extended-partner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 650px) {
 .quality-cert { grid-template-columns: 1fr; }
 .quality-cert__preview { max-width: 350px; margin: 0 auto; }
 .quality-grid, .quality-grid--three, .quality-grid--five, .extended-grid, .extended-grid--three { grid-template-columns: 1fr; }
 .extended-card { grid-template-columns: 1fr; }
 .extended-card img { max-height: 240px; }
 .extended-partner ul { display: block; }
 .extended-partner li { margin-bottom: .5rem; }
}

/* Client-approved accent and responsive adjustments. */
.hl, .eyebrow--light { color: #2663EB; }
.quality-table { table-layout: fixed; }
.quality-table th:first-child { width: 15%; }
.quality-table thead th:not(:first-child) { width: 28.333%; }
.quality-table th, .quality-table td { overflow-wrap: anywhere; vertical-align: top; }
.pagehead__bg { object-fit: cover; }
.footer-certs__badge { object-fit: contain; max-width: 110px; height: 70px; }
@media (max-width: 650px) {
 .quality-table { min-width: 720px; }
 .hero__title { overflow-wrap: anywhere; }
 .pagehead__inner { min-width: 0; }
 .site-footer__bar { align-items: flex-start; }
}

/* Targeted corrections from client PDF, 22 October 2026. */
.footer-certs__frame { justify-content: center; }
.quality-table thead th { background: #0b192c; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.45; }
.quality-table thead th:first-child { width: 15%; }
.extended-request { max-width: 460px; margin-left: auto; }
@media (max-width: 560px) {
  .footer-certs__frame { justify-content: center; }
  .quality-table, .quality-table tbody, .quality-table tr { display: table; width: 100%; }
  .quality-table thead { display: table-header-group; }
  .quality-table tbody { display: table-row-group; }
  .quality-table tr { display: table-row; border: 0; border-radius: 0; }
  .quality-table th, .quality-table td { display: table-cell; width: auto; border: 1px solid var(--line); }
  .quality-table thead th:first-child { width: 15%; }
  .quality-table thead th:not(:first-child) { width: 28.333%; }
}

/* All three slides use their desktop artwork behind the mobile hero copy. */
@media (max-width: 780px) {
  .hero__slide:nth-child(1) .hero__media,
  .hero__slide:nth-child(2) .hero__media,
  .hero__slide:nth-child(3) .hero__media {
    position: absolute; inset: 0; width: 100%; height: 100%;
  }
  .hero__slide:nth-child(1) .hero__media img,
  .hero__slide:nth-child(2) .hero__media img,
  .hero__slide:nth-child(3) .hero__media img {
    display: block; width: 100%; height: 100%;
    object-fit: cover; object-position: 78% center !important;
  }
  .hero__slide:nth-child(1) .hero__overlay,
  .hero__slide:nth-child(2) .hero__overlay,
  .hero__slide:nth-child(3) .hero__overlay {
    background: linear-gradient(0deg, rgba(6,19,38,.98) 0%, rgba(6,19,38,.90) 39%, rgba(6,19,38,.49) 77%, rgba(6,19,38,.18) 100%);
    pointer-events: none;
  }
}
