/* ==========================================================================
   PNPX — Ship Chandler
   Brand: blue #005CCB · green #01AB4D · charcoal #2B2A29
   ========================================================================== */

:root {
  --blue: #005ccb;
  --blue-700: #0a47a3;
  --blue-50: #eaf2fd;
  --green: #01ab4d;
  --green-600: #00933f;
  --green-50: #e6f7ee;
  --navy-950: #040e22;
  --navy-900: #071a3a;
  --navy-800: #0c2552;
  --ink: #2b2a29;
  --text: #2f3640;
  --muted: #5d6676;
  --line: #e3e8f0;
  --soft: #f4f7fb;
  --white: #fff;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(7, 26, 58, .06), 0 2px 8px rgba(7, 26, 58, .04);
  --shadow: 0 10px 30px -10px rgba(7, 26, 58, .18);
  --shadow-lg: 0 30px 60px -20px rgba(7, 26, 58, .35);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 600;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--green); color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy-900); color: #c6d0e1; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #7fb4ff; }

.h-xl { font-size: clamp(40px, 6.4vw, 76px); letter-spacing: -.035em; font-weight: 600; }
.h-lg { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.03em; }
.h-md { font-size: clamp(24px, 2.6vw, 32px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); line-height: 1.7; }
.section--dark .lead { color: #aebad0; }
.accent { color: var(--green); }

.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
.section-head--center { text-align: center; justify-items: center; max-width: 760px; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--green); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic--arrow { transform: translateX(4px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(1, 171, 77, .7); }
.btn--primary:hover { background: var(--green-600); transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 92, 203, .7); }
.btn--blue:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: #fff; color: var(--navy-900); }
.btn--outline { border-color: var(--line); color: var(--navy-900); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--blue); }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #9fb0cc; font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 42px; }
.topbar__group { display: flex; align-items: center; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; color: var(--green); }
.topbar__live { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(7, 26, 58, .18); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .brand img { height: 40px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 16px; border-radius: 999px;
  font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--navy-900);
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--blue); background: var(--blue-50); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--green); }
.header__cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--navy-900); align-items: center; justify-content: center;
}
.nav-toggle .ic { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(4, 14, 34, .55); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
  background: #fff; padding: 20px 24px 32px; display: flex; flex-direction: column; gap: 24px;
  transform: translateX(100%); transition: transform .4s var(--ease); overflow-y: auto;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head img { height: 36px; width: auto; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--navy-900); }
.drawer__nav a.is-active { color: var(--blue); }
.drawer__contact { display: grid; gap: 12px; font-size: 15px; color: var(--muted); }
.drawer__contact a { display: flex; gap: 10px; align-items: center; }
.drawer__contact .ic { color: var(--green); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: min(880px, calc(100svh - 42px - var(--header-h)));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: clamp(80px, 12vw, 140px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 14, 34, .92) 0%, rgba(4, 14, 34, .72) 45%, rgba(4, 14, 34, .25) 100%),
    linear-gradient(0deg, rgba(4, 14, 34, .9) 0%, rgba(4, 14, 34, 0) 45%);
}
.hero__content { max-width: 780px; padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero .lead { color: #c9d4e6; max-width: 620px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #e4ebf6;
  backdrop-filter: blur(8px);
}
.chip .ic { width: 15px; height: 15px; color: var(--green); }

.hero__stats {
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(4, 14, 34, .45);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero__stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.stat__num span { color: var(--green); }
.stat__label { font-size: 14px; color: #9fb0cc; margin-top: 4px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; padding-block: clamp(96px, 13vw, 168px) clamp(64px, 8vw, 104px); overflow: hidden; background: var(--navy-900); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(4, 14, 34, .92) 15%, rgba(4, 14, 34, .5) 60%, rgba(4, 14, 34, .2) 100%); }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero .lead { color: #c9d4e6; max-width: 640px; margin-top: 20px; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #9fb0cc; margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Intro / welcome ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.media-stack { position: relative; }
.media-stack__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.2; }
.media-stack__main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack__card {
  position: absolute; right: -24px; bottom: 32px;
  background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px; max-width: 290px;
}
.media-stack__card .icon-badge { flex: none; }
.media-stack__card strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--navy-900); line-height: 1.1; letter-spacing: -.02em; }
.media-stack__card small { color: var(--muted); font-size: 14px; }
.media-stack__deco { position: absolute; left: -28px; top: -28px; width: 120px; height: 120px; z-index: -1; border-radius: 24px; background: radial-gradient(circle, var(--green) 1.5px, transparent 1.6px) 0 0 / 14px 14px; opacity: .55; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue);
}
.icon-badge .ic { width: 24px; height: 24px; }
.icon-badge--green { background: var(--green-50); color: var(--green); }

.feature-list { display: grid; gap: 22px; margin-top: 36px; }
.feature { display: flex; gap: 18px; }
.feature h3 { font-size: 18px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card__img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--soft); }
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.07); }
.svc-card__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; flex: 1; }
.svc-card__num { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: var(--green); letter-spacing: .08em; display: block; margin-bottom: 4px; }
.svc-card h3 { font-size: 16.5px; letter-spacing: -.01em; }
.svc-card__go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--navy-900); transition: background .3s, color .3s, transform .3s var(--ease); }
.svc-card__go .ic { width: 16px; height: 16px; }
.svc-card:hover .svc-card__go { background: var(--blue); color: #fff; transform: rotate(-45deg); }

/* ---------- Ports ---------- */
.ports { position: relative; isolation: isolate; overflow: hidden; }
.ports__bg { position: absolute; inset: 0; z-index: -1; opacity: .12; }
.ports__bg img { width: 100%; height: 100%; object-fit: cover; }
.ports__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.coast {
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
}
.coast__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; gap: 16px; }
.coast__head h3 { font-size: 20px; }
.coast__count { font-family: var(--font-display); font-size: 14px; color: var(--green); font-weight: 600; }
.port-list { display: flex; flex-wrap: wrap; gap: 8px; }
.port-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: #dbe3f0;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
  transition: background .2s, border-color .2s;
}
.port-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.port-list li:hover { background: rgba(1, 171, 77, .15); border-color: rgba(1, 171, 77, .4); }

/* ---------- Certifications ---------- */
.certs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cert {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  height: 128px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.cert:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cert img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.cert small { font-size: 12.5px; color: var(--muted); font-weight: 500; }

/* ---------- Logo marquee ---------- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 16px; }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 50s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.logo-tile {
  flex: none; width: 200px; height: 104px; display: grid; place-items: center; padding: 18px 26px;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.logo-tile img { max-height: 58px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }

/* ---------- Stats band ---------- */
.stats-band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--blue); }
.stats-band__bg { position: absolute; inset: 0; z-index: -1; }
.stats-band__bg img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .22; }
.stats-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(0, 92, 203, .96) 0%, rgba(7, 26, 58, .92) 100%); }
.stats-band .container { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: center; padding-block: clamp(56px, 8vw, 96px); }
.stats-band h2 { color: #fff; }
.big-stat { display: flex; align-items: center; gap: 20px; padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .2); }
.big-stat .icon-badge { background: rgba(255, 255, 255, .12); color: #fff; width: 60px; height: 60px; }
.big-stat__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -.04em; }
.big-stat__num span { color: #6ee7a6; }
.big-stat__label { color: #c9d9f3; font-size: 15px; margin-top: 6px; }

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; }
.testi-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi {
  scroll-snap-align: start; text-align: left; border: 1px solid var(--line); background: #fff; padding: 0;
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .3s, transform .3s var(--ease);
}
.testi:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testi__img { position: relative; aspect-ratio: 3 / 3.4; overflow: hidden; background: var(--soft); }
.testi__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.testi__zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy-900); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .2s, color .2s; }
.testi:hover .testi__zoom { background: var(--blue); color: #fff; }
.testi__body { padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.testi__body small { display: block; color: var(--green); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.testi__body strong { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--navy-900); line-height: 1.35; }
.slider-nav { display: flex; gap: 10px; }
.slider-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy-900); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.slider-nav button:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 56px 16px 24px; background: rgba(4, 14, 34, .92); }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: min(900px, 100%); width: auto; border-radius: 8px; box-shadow: var(--shadow-lg); background: #fff; }
.lightbox__close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox__close:hover { background: rgba(255, 255, 255, .25); }
.lightbox__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox__btn--prev { left: 16px; }
.lightbox__btn--next { right: 16px; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px);
  background: var(--navy-900); color: #c6d0e1;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(0, 92, 203, .55), transparent 65%); }
.cta::after { content: ""; position: absolute; width: 420px; height: 420px; left: -120px; bottom: -260px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(1, 171, 77, .35), transparent 65%); }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta .eyebrow { color: #7fb4ff; }
.cta .lead { color: #aebad0; }
.cta__actions { display: grid; gap: 14px; justify-items: start; }
.cta__phone { display: flex; align-items: center; gap: 14px; color: #fff; }
.cta__phone .icon-badge { background: rgba(1, 171, 77, .16); color: var(--green); }
.cta__phone small { display: block; color: #9fb0cc; font-size: 13px; }
.cta__phone strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h3 { font-size: 24px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--navy-900); }
.field label em { color: var(--green); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 92, 203, .12); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-foot small { color: var(--muted); font-size: 13px; }
.form-status { margin-top: 14px; font-size: 14px; color: var(--green-600); min-height: 1em; }

/* ---------- Contact blocks ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.info-list { display: grid; gap: 14px; }
.info-item { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-item h4 { font-size: 15px; margin-bottom: 4px; }
.info-item p, .info-item a { color: var(--muted); font-size: 15px; }
.info-item a:hover { color: var(--blue); }
.info-item .lines { display: grid; gap: 2px; }
.open-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.open-badge.is-open { background: var(--green-50); color: var(--green-600); }
.open-badge.is-closed { background: #fdeceb; color: #c0392b; }

.quick-contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.qc { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.qc:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.qc .icon-badge { margin-bottom: 20px; }
.qc h3 { font-size: 18px; margin-bottom: 10px; }
.qc .lines { display: grid; gap: 4px; color: var(--muted); font-size: 15px; }
.qc .lines a:hover { color: var(--blue); }
.qc .lines b { color: var(--navy-900); font-weight: 600; }

.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office { position: relative; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.office--hq { background: var(--navy-900); border-color: var(--navy-900); color: #c6d0e1; }
.office--hq h3 { color: #fff; }
.office__flag { width: 48px; height: 34px; border-radius: 6px; object-fit: cover; box-shadow: var(--shadow-sm); }
.office__tag { position: absolute; top: 28px; right: 28px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.office h3 { font-size: 22px; }
.office address { font-style: normal; color: inherit; line-height: 1.6; }
.office__meta { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.office--hq .office__meta { border-color: rgba(255, 255, 255, .12); }
.office__meta a, .office__meta span { display: flex; align-items: center; gap: 10px; }
.office__meta .ic { width: 16px; height: 16px; color: var(--green); }
.office__meta a:hover { color: var(--blue); }
.office--hq .office__meta a:hover { color: #fff; }

.satellites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sat { padding: 24px 26px; border-radius: var(--radius); background: var(--soft); display: grid; gap: 6px; }
.sat h4 { font-size: 18px; display: flex; align-items: center; gap: 10px; }
.sat h4 .ic { color: var(--green); }
.sat p { color: var(--navy-900); font-weight: 500; margin: 4px 0 2px; }
.sat a { color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.sat a .ic { width: 15px; height: 15px; }
.sat a:hover { color: var(--blue); }

.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 420px; background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- About ---------- */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.why { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why .icon-badge { margin-bottom: 22px; }
.why h3 { font-size: 17px; }
.why p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv { position: relative; overflow: hidden; padding: clamp(32px, 4vw, 48px); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.mv .icon-badge { background: rgba(1, 171, 77, .14); color: var(--green); margin-bottom: 24px; }
.mv h3 { font-size: 26px; margin-bottom: 12px; }
.mv p { font-size: 17px; color: #b7c3d7; }
.mv__num { position: absolute; right: 28px; top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 96px; line-height: 1; color: rgba(255, 255, 255, .04); }

.team-group + .team-group { margin-top: 56px; }
.team-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.team-group__head img { width: 32px; height: 22px; border-radius: 4px; object-fit: cover; box-shadow: var(--shadow-sm); }
.team-group__head h3 { font-size: 20px; }
.team-group__head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.member { text-align: left; }
.member__photo { aspect-ratio: 1 / 1.08; border-radius: var(--radius); overflow: hidden; background: linear-gradient(140deg, var(--blue-50), var(--green-50)); margin-bottom: 14px; display: grid; place-items: center; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); }
.member__initials { font-family: var(--font-display); font-weight: 600; font-size: 34px; color: var(--blue); letter-spacing: -.02em; }
.member h4 { font-size: 16.5px; letter-spacing: -.01em; }
.member small { color: var(--muted); font-size: 14px; }

.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.brand-grid .logo-tile { width: auto; height: 96px; }

/* ---------- Services page ---------- */
.svc-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-layout > * { min-width: 0; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 24px); padding: 14px; border-radius: var(--radius); background: var(--soft); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.svc-nav h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 10px; font-weight: 600; }
.svc-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; color: var(--text); transition: background .2s, color .2s; }
.svc-nav a span { font-family: var(--font-display); font-size: 11.5px; color: var(--muted); width: 18px; }
.svc-nav a:hover { background: #fff; color: var(--blue); }
.svc-nav a.is-active { background: #fff; color: var(--blue); font-weight: 600; box-shadow: var(--shadow-sm); }
.svc-nav a.is-active span { color: var(--green); }

.svc-block { display: grid; grid-template-columns: 320px 1fr; gap: 36px; padding-block: 48px; border-top: 1px solid var(--line); }
.svc-block:first-child { border-top: 0; padding-top: 0; }
.svc-block__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--soft); }
.svc-block__img img { width: 100%; height: 100%; object-fit: cover; }
.svc-block__num { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--green); margin-bottom: 8px; }
.svc-block h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 20px; }
.svc-block h3 { font-size: 15px; margin: 20px 0 10px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.check-list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301ab4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 7px 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--navy-900); }
.svc-chips { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #93a3bf; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.5fr 1.3fr; gap: 48px; padding-block: clamp(64px, 8vw, 96px) 56px; }
.footer__brand img { height: 44px; width: auto; margin-bottom: 22px; }
.footer__brand p { max-width: 340px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 20px; letter-spacing: 0; }
.footer__links { display: grid; gap: 10px; }
.footer__links--2col { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact a, .footer__contact div { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ic { color: var(--green); margin-top: 3px; width: 17px; height: 17px; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px; font-size: 14px; }
.footer__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__badges span { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; }

/* Floating call button (mobile) */
.fab-call { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: none; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15px; box-shadow: 0 14px 30px -10px rgba(1, 171, 77, .8); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .quick-contacts { grid-template-columns: 1fr 1fr; }
  .testi-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav, .header__cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 40px; }
  .header.is-scrolled .brand img { height: 36px; }
  .topbar__group--secondary { display: none; }
  .split, .contact-grid, .section-head--split, .cta { grid-template-columns: 1fr; }
  .media-stack { max-width: 560px; }
  .media-stack__card { right: 16px; }
  .stats-band .container { grid-template-columns: 1fr 1fr; }
  .stats-band .container > :first-child { grid-column: 1 / -1; }
  .big-stat:first-of-type { padding-left: 0; border-left: 0; }
  .ports__grid, .mv-grid { grid-template-columns: 1fr; }
  .certs { grid-template-columns: repeat(3, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .offices, .satellites { grid-template-columns: 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-nav { display: none; }
  .svc-chips {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
    padding: 12px var(--gutter); margin-inline: calc(var(--gutter) * -1); margin-bottom: 32px; border-bottom: 1px solid var(--line);
  }
  .svc-chips::-webkit-scrollbar { display: none; }
  .svc-chips a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 500; white-space: nowrap; }
  .svc-chips a.is-active { background: var(--blue); color: #fff; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero__bg img { object-position: 74% 50%; }
  .hero__stats .container { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; border-left: 0; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .1); }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .svc-card__body { padding: 14px; }
  .svc-card h3 { font-size: 15px; }
  .svc-card__go { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .certs { grid-template-columns: 1fr 1fr; }
  .stats-band .container { grid-template-columns: 1fr; }
  .big-stat { padding-left: 0; border-left: 0; }
  .testi-track { grid-auto-columns: 72%; }
  .svc-block { grid-template-columns: 1fr; gap: 22px; padding-block: 36px; }
  .check-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .quick-contacts { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .fab-call { display: inline-flex; }
  .footer { padding-bottom: 80px; }
  .media-stack__card { position: relative; right: auto; bottom: auto; margin: -48px 16px 0; }
  .media-stack__deco { display: none; }
  .lightbox__btn { top: auto; bottom: 16px; transform: none; }
}

@media (max-width: 420px) {
  .services-grid { gap: 10px; }
  .svc-card__body { padding: 12px; }
  .svc-card h3 { font-size: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { width: 100%; }
}

/* ==========================================================================
   Products — Megger catalogue & product pages
   ========================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Home teaser */
.megger-band__logo { height: 40px; width: auto; margin-bottom: 22px; }
.megger-band__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.megger-band__tile {
  display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease);
}
.megger-band__tile:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.megger-band__tile img { aspect-ratio: 1; width: 100%; object-fit: contain; }
.megger-band__tile span { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--navy-900); line-height: 1.35; }
.tag-list--links li { padding: 0; }
.tag-list--links a { display: block; padding: 7px 14px; transition: color .2s; }
.tag-list--links a:hover { color: var(--blue); }

/* Catalogue */
.catalog__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.catalog__search {
  flex: 1 1 320px; max-width: 520px; display: flex; align-items: center; gap: 10px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.catalog__search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.catalog__search .ic { width: 18px; height: 18px; color: var(--muted); flex: none; }
.catalog__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; padding: 13px 0; color: var(--text); }
.catalog__count { color: var(--muted); font-size: 14.5px; }
.catalog__count strong { color: var(--navy-900); font-family: var(--font-display); }
.cat-nav a span { width: 26px; text-align: right; flex: none; order: 2; margin-left: auto; }
.catalog__empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--line); border-radius: var(--radius); }
.catalog__empty .icon-badge { margin: 0 auto 16px; }
.catalog__empty h3 { font-size: 20px; margin-bottom: 8px; }
.catalog__empty p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod-grid--4 { grid-template-columns: repeat(4, 1fr); }
.prod-card {
  display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.prod-card[hidden], .catalog__empty[hidden] { display: none; }
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.prod-card__img { aspect-ratio: 1; background: #fff; padding: 22px; border-bottom: 1px solid var(--line); }
.prod-card__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.prod-card:hover .prod-card__img img { transform: scale(1.05); }
.prod-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-card__cat { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.prod-card h3 { font-size: 16px; line-height: 1.35; letter-spacing: -.01em; transition: color .2s; }
.prod-card:hover h3 { color: var(--blue); }
.prod-card p { font-size: 14px; color: var(--muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Product page */
.pd-top { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px); background: linear-gradient(var(--soft), #fff); }
.crumbs--light { color: var(--muted); flex-wrap: wrap; row-gap: 4px; }
.crumbs--light a:hover { color: var(--blue); }
.crumbs--light span:last-child { color: var(--navy-900); font-weight: 500; }
.pd-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery__main { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery__thumbs button { aspect-ratio: 1; padding: 8px; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s; }
.gallery__thumbs button:hover { border-color: #b9c6da; }
.gallery__thumbs button.is-active { border-color: var(--blue); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pd-info__tags > * { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pd-brand { background: #e30613; color: #fff; letter-spacing: .02em; }
.pd-info__tags a { background: var(--green-50); color: var(--green-600); }
.pd-info__tags a:hover { background: var(--green); color: #fff; }
.pd-info h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }
.pd-info .lead { margin-bottom: 24px; }
.check-list--1col { grid-template-columns: 1fr; margin-bottom: 8px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff7e6; border: 1px solid #f6d48b; color: #7a4b00; margin-bottom: 20px; font-size: 14.5px; }
.notice .ic { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pd-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pd-trust li { display: flex; align-items: center; gap: 8px; }
.pd-trust .ic { width: 18px; height: 18px; color: var(--green); }

.pd-body { padding-top: 0; }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.pd-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.pd-block + .pd-block { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.pd-block h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 20px; }
.pd-prose p { color: var(--text); line-height: 1.75; margin-bottom: 14px; }
.pd-prose + .check-list { margin-top: 20px; }
.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table > div { display: grid; grid-template-columns: minmax(140px, 2fr) 3fr; }
.spec-table > div:nth-child(odd) { background: var(--soft); }
.spec-table dt, .spec-table dd { padding: 13px 18px; font-size: 14.5px; line-height: 1.55; }
.spec-table dt { font-weight: 600; color: var(--navy-900); }
.spec-table dd { color: var(--text); margin: 0; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.res {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 46px 16px 18px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s;
}
.res:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.res small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.res strong { font-size: 14.5px; font-weight: 600; color: var(--navy-900); line-height: 1.4; }
.res .ic { position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }
.res:hover .ic { color: var(--blue); }

@media (max-width: 1180px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid--4 { grid-template-columns: repeat(3, 1fr); }
  .pd-layout { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .pd-hero, .pd-layout { grid-template-columns: 1fr; }
  .pd-aside { position: static; }
  .gallery { max-width: 560px; }
  .catalog__bar { margin-bottom: 0; }
}
@media (max-width: 768px) {
  .prod-grid, .prod-grid--4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod-card__img { padding: 14px; }
  .prod-card__body { padding: 12px 14px 16px; }
  .prod-card h3 { font-size: 14.5px; }
  .prod-card p { font-size: 13px; }
  .res-grid { grid-template-columns: 1fr; }
  .spec-table > div { grid-template-columns: 1fr; }
  .spec-table dt { padding-bottom: 2px; }
  .spec-table dd { padding-top: 0; }
  .pd-actions .btn { flex: 1 1 auto; }
}
