/* ===== Austin Lubricants — Design System =====
   Brand source: Client Content/Austin CI Book.pdf
   Palette is blue-only (no red). Typeface: Prompt. */

:root {
  --color-primary: #004f92;   /* Congress Blue */
  --color-secondary: #0871b3; /* Deep Cyan-Blue */
  --color-ink: #1a1f26;
  --color-muted: #5b6573;
  --color-line: #e2e6eb;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-primary-dark: #003a6b;

  --font-sans: "Prompt", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1200px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0, 31, 63, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 31, 63, 0.14);
}

/* ----- Fonts (self-host woff2 in production; CDN fallback for scaffold) ----- */
@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600;700&display=swap");

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; color: var(--color-primary); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--color-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--alt { background: var(--color-bg-alt); }
.section--tight { padding-block: clamp(1.75rem, 3.5vw, 3rem); }
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 70ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--color-secondary); }

/* ----- Buttons ----- */
.btn {
  display: inline-block; padding: .8rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: .2s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn--ghost:hover { background: var(--color-primary); color: #fff; }
.btn--light { background: #fff; color: var(--color-primary); }
.btn--light:hover { background: #eaf2fa; }
.btn--outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(2px); }
.btn--outline-light:hover { background: #fff; color: var(--color-primary); border-color: #fff; }

/* ----- Utility bar ----- */
.utility-bar { background: var(--color-primary); color: rgba(255,255,255,.9); font-size: .82rem; }
.utility-bar__inner { display: flex; align-items: center; justify-content: space-between; padding-block: .4rem; gap: 1rem; }
.utility-bar__tag { letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }
.utility-bar__links { display: flex; align-items: center; gap: 1.2rem; }
.utility-bar a { color: #fff; }
.utility-bar__cta { font-weight: 600; border-bottom: 2px solid var(--color-secondary); padding-bottom: 2px; }
.utility-bar__cta:hover { text-decoration: none; color: #cfe6f7; }
@media (max-width: 860px) { .utility-bar__tag { display: none; } .utility-bar__inner { justify-content: flex-end; } .utility-bar__extra { display: none; } }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 3px solid var(--color-primary); box-shadow: var(--shadow);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.site-header__logo img { height: 42px; width: auto; }

.nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .25rem; color: var(--color-ink);
  padding: .6rem .7rem; border-radius: 6px; font-size: .92rem; font-weight: 600; white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--color-primary); background: var(--color-bg-alt); text-decoration: none; }
.nav__caret { color: var(--color-secondary); transition: transform .2s; flex: none; }
.nav__item--cta { margin-left: .4rem; }
.nav__item--cta .btn { padding: .55rem 1.1rem; }

/* Dropdowns */
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--color-line); border-top: 3px solid var(--color-secondary);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; padding: .6rem;
  z-index: 60;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .nav__caret { transform: rotate(180deg); }
.dropdown a {
  display: block; padding: .5rem .7rem; border-radius: 6px; color: var(--color-ink); font-size: .9rem; font-weight: 500;
}
.dropdown a:hover { background: var(--color-bg-alt); color: var(--color-primary); text-decoration: none; }
.dropdown__head { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--color-muted); font-weight: 700; margin: .3rem .7rem .2rem; }
.dropdown__all { color: var(--color-secondary) !important; font-weight: 600 !important; }

/* Mega menu (wide, multi-column) */
.dropdown--mega { left: 50%; transform: translate(-50%, 6px); }
.has-mega:hover > .dropdown--mega, .has-mega:focus-within > .dropdown--mega { transform: translate(-50%, 0); }
.dropdown--mega .dropdown__inner { display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: .2rem 1.2rem; }
.dropdown--mega { min-width: 460px; }
.dropdown__feature { align-self: start; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { width: 26px; height: 3px; background: var(--color-primary); border-radius: 2px; transition: .2s; }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .site-header__inner { position: relative; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: var(--shadow-lg); max-height: 80vh; overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gap); }
  .nav__item { border-bottom: 1px solid var(--color-line); }
  .nav__link { justify-content: space-between; padding: .9rem .4rem; }
  .nav__item--cta { border-bottom: 0; padding: .8rem .4rem; }
  .nav__item--cta .btn { display: block; text-align: center; }
  /* Mobile: dropdowns become inline accordions */
  .dropdown, .dropdown--mega {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-top: 0; padding: 0 0 .6rem; min-width: 0; display: none;
  }
  .nav__item.is-open > .dropdown { display: block; }
  /* Keep the centered mega-menu from inheriting its desktop translate(-50%) on tap/focus,
     which pushed the panel off the left edge. */
  .has-mega:hover > .dropdown--mega,
  .has-mega:focus-within > .dropdown--mega { left: 0; transform: none; }
  .dropdown--mega .dropdown__inner { grid-template-columns: 1fr; }
  .has-dropdown:hover .nav__caret { transform: none; }
  .nav__item.is-open .nav__caret { transform: rotate(180deg); }
  /* Make submenu links read as tappable links, distinct from the gray section labels.
     Links: brand-blue, indented under their heading, each a divided row with a chevron.
     Headings (.dropdown__head): stay muted uppercase, no chevron, not indented. */
  .nav__item.is-open .dropdown a {
    color: var(--color-secondary); font-weight: 600; border-radius: 0;
    padding: .75rem .4rem .75rem 1rem; border-bottom: 1px solid var(--color-line);
    display: flex; justify-content: space-between; align-items: center;
  }
  .nav__item.is-open .dropdown a:last-child { border-bottom: 0; }
  .nav__item.is-open .dropdown a:not(.dropdown__all)::after {
    content: "›"; color: var(--color-muted); font-weight: 400; font-size: 1.1rem;
  }
  .nav__item.is-open .dropdown__head {
    margin: .7rem .4rem .15rem; padding-top: .3rem;
  }
}

/* ----- Hero ----- */
.hero { position: relative; color: #fff; background: var(--color-primary-dark); overflow: hidden; display: flex; align-items: center; min-height: clamp(460px, 72vh, 660px); }
.hero__media, .hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(0,33,61,.94) 0%, rgba(0,40,75,.74) 44%, rgba(0,58,107,.30) 100%),
    linear-gradient(to top, rgba(0,33,61,.6), transparent 38%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; padding-block: clamp(3rem, 8vw, 5rem); }
.hero__inner > .eyebrow { color: #7fc4ef; margin-bottom: .75rem; }
.hero h1 { color: #fff; letter-spacing: -.01em; text-wrap: balance; margin-bottom: .6rem; max-width: 18ch; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.2rem; max-width: 50ch; }
@media (min-width: 700px) { .hero__inner > .eyebrow { white-space: nowrap; } }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; }
.hero__cta .btn { padding: .85rem 1.6rem; }

/* Compact hero (inner pages): solid brand band; page imagery lives in the body */
.hero--compact {
  min-height: 0; display: block;
  background-image: var(--hero-img, none);
  background-color: var(--color-primary-dark);
  background-size: cover; background-position: center;
}
.hero--compact::after { background: linear-gradient(100deg, rgba(0,40,75,.92) 0%, rgba(0,48,90,.74) 55%, rgba(0,58,107,.48) 100%); }
.hero--compact .hero__inner { padding-block: clamp(2.5rem, 6vw, 4rem); }
.hero--compact h1 { max-width: 24ch; }
.hero--compact p { max-width: 70ch; }

/* ----- Inline page figure (controlled-height banner; never full-bleed) ----- */
.page-figure { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.page-figure img { width: 100%; height: clamp(220px, 32vw, 360px); object-fit: cover; object-position: center; display: block; }

/* ----- Feature split (text + image) ----- */
.feature-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-split__text h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.feature-split__text .lede { margin-bottom: 1.5rem; }
.feature-split__media { position: relative; }
.feature-split__media img {
  width: 100%; height: 100%; max-height: 340px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
@media (max-width: 860px) { .feature-split { grid-template-columns: 1fr; } .feature-split__media { order: -1; } }

/* ----- About: logo-surround layout (logo centered, content gathered around it) ----- */
.about-surround {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 340px) 1fr;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  align-items: center;
  max-width: 1140px;
  margin-inline: auto;
}
/* soft brand halo that visually anchors everything to the logo */
.about-surround::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: min(640px, 64%); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(8, 113, 179, .12), rgba(8, 113, 179, 0) 68%);
  border-radius: 50%; z-index: 0; pointer-events: none;
}
.about-surround > * { position: relative; z-index: 1; }
.about-surround__col { display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3.25rem); }
/* blocks gather toward the logo: left col aligns right, right col aligns left */
.about-surround__block { max-width: 32ch; }
.about-surround__col--left .about-surround__block { margin-left: auto; text-align: right; }
.about-surround__col--right .about-surround__block { margin-right: auto; text-align: left; }
.about-surround__block h2 {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.25; margin-bottom: .55rem;
}
.about-surround__block h2::after {
  content: ""; display: block; width: 48px; height: 3px; margin-top: .55rem;
  background: var(--color-secondary); border-radius: 2px;
}
.about-surround__col--left .about-surround__block h2::after { margin-left: auto; }
.about-surround__col--right .about-surround__block h2::after { margin-right: auto; }
.about-surround__block p {
  margin-bottom: .55rem; color: var(--color-muted);
  font-size: .85rem; line-height: 1.5;
}
.about-surround__block p:last-child { margin-bottom: 0; }
.about-surround__center { text-align: center; padding-block: .5rem; }
.about-surround__center img {
  width: clamp(190px, 22vw, 280px); height: auto; margin-inline: auto;
  filter: drop-shadow(0 8px 22px rgba(0, 79, 146, .22));
}
.about-surround__caption { margin-top: 1rem; font-weight: 700; color: var(--color-primary); line-height: 1.35; }
.about-surround__caption span { display: block; font-weight: 500; font-size: .85rem; color: var(--color-muted); margin-top: .15rem; }

@media (max-width: 900px) {
  .about-surround { grid-template-columns: 1fr; }
  .about-surround::before { width: 420px; }
  .about-surround__center { order: -1; }
  .about-surround__col--left .about-surround__block,
  .about-surround__col--right .about-surround__block { margin-inline: auto; text-align: center; }
  .about-surround__col--left .about-surround__block h2::after,
  .about-surround__col--right .about-surround__block h2::after { margin-inline: auto; }
}

/* Analysis programs grid (Lubricants Analysis) — icon tiles */
.la-grid {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: grid; gap: 1.5rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.la-card { margin: 0; text-align: center; }
.la-card__tile {
  background: var(--color-bg-alt); border-radius: var(--radius);
  aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 16%;
}
.la-card__tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.la-card__label { margin: .8rem 0 0; font-weight: 600; font-size: .95rem; color: var(--color-ink); }

/* Sub-brand logo lockups (Austin Tech / Austin Insight intros) */
.brand-logo { display: block; width: 240px; height: auto; margin: 0 0 1.5rem; }

/* Section divider rule (Technical Services intro blocks) */
.ts-rule { border: 0; border-top: 1px solid var(--color-line); margin: 2.25rem 0; }

/* Product description block (after Key Features) */
.product-desc { margin-top: 1.5rem; }
.product-desc h3 { margin: 0 0 .6rem; }
.product-desc p { margin: 0; color: var(--color-muted); }

/* Slideshow (OEM feature media) */
.slideshow { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.slideshow__track { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.feature-split__media .slideshow__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; max-height: none;
  object-fit: cover; opacity: 0; transition: opacity .6s ease; border-radius: 0; box-shadow: none;
}
.feature-split__media .slideshow__slide.is-active { opacity: 1; }
.slideshow__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: rgba(0, 79, 146, .55); color: #fff; font-size: 1.1rem; line-height: 1;
  cursor: pointer; transition: background .2s ease; z-index: 2;
}
.slideshow__arrow:hover { background: rgba(0, 79, 146, .9); }
.slideshow__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.slideshow__arrow--prev { left: 12px; }
.slideshow__arrow--next { right: 12px; }
.slideshow__dots {
  display: flex; justify-content: center; gap: .5rem;
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2;
}
.slideshow__dot {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .35);
  transition: background .2s ease, transform .2s ease;
}
.slideshow__dot:hover { background: rgba(255, 255, 255, .7); }
.slideshow__dot.is-active { background: #fff; transform: scale(1.15); }
.slideshow__dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--color-muted); }
.check-list li strong { color: var(--color-ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 1.2rem; height: 1.2rem;
  background: var(--color-secondary); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/0.9rem no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/0.9rem no-repeat;
}

/* ----- Cards ----- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); transition: .2s; display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--color-muted); font-size: .95rem; }
.card__link { margin-top: auto; font-weight: 600; color: var(--color-secondary); }
.card { border-top: 3px solid transparent; }
.card:hover { border-top-color: var(--color-secondary); }

/* Section heading accent */
.section > .container > h2::after,
.feature-split__text h2::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: .6rem;
  background: var(--color-secondary); border-radius: 2px;
}

/* ----- Category cards (full-color image + content) ----- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.cat-card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--color-line); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); color: var(--color-ink); transition: transform .25s, box-shadow .25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
/* brand accent bar reveals on hover */
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card__media { aspect-ratio: 16/10; overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__body { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.25rem 1.2rem; flex: 1; }
.cat-card__group { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--color-secondary); }
.cat-card__title { font-size: 1.18rem; font-weight: 600; color: var(--color-primary); line-height: 1.2; }
.cat-card__cta { margin-top: auto; padding-top: .8rem; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .9rem; color: var(--color-secondary); }
.cat-card__arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--color-secondary);
  display: inline-flex; align-items: center; justify-content: center; color: var(--color-secondary);
  transition: background .25s, color .25s, transform .25s;
}
.cat-card:hover .cat-card__arrow { background: var(--color-secondary); color: #fff; transform: translateX(2px); }
.cat-card__arrow svg { flex: none; }

/* ----- Application cards (image with overlaid title) ----- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.app-card {
  position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; border-radius: 12px;
  box-shadow: var(--shadow); color: #fff; transition: transform .25s, box-shadow .25s;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.app-card:hover img { transform: scale(1.06); }
.app-card::after {
  content: ""; position: absolute; inset: 0; transition: background .3s;
  background: linear-gradient(to top, rgba(0,24,52,.92) 6%, rgba(0,33,66,.3) 52%, rgba(0,40,80,0) 80%);
}
.app-card:hover::after { background: linear-gradient(to top, rgba(0,40,86,.93) 6%, rgba(0,64,120,.42) 58%, rgba(0,80,150,.06) 88%); }
.app-card__inner { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.1rem 1.25rem 1.2rem; }
.app-card__title { display: block; color: #fff; font-weight: 600; font-size: 1.12rem; line-height: 1.2; margin-bottom: .4rem; }
.app-card__link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .85rem; color: #bcdff5; transition: gap .2s; }
.app-card:hover .app-card__link { gap: .6rem; }
.app-card__link svg { flex: none; }

/* ----- Industry rows (horizontal media list) ----- */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 1.25rem; }
.sector-row {
  display: flex; align-items: stretch; min-height: 96px; background: #fff;
  border: 1px solid var(--color-line); border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow); color: var(--color-ink); transition: transform .2s, box-shadow .2s;
}
.sector-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.sector-row__img { position: relative; width: 124px; flex: none; overflow: hidden; }
.sector-row__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, #fff); opacity: .15; }
.sector-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sector-row:hover .sector-row__img img { transform: scale(1.08); }
.sector-row__body { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: 1; padding: .9rem 1.25rem; }
.sector-row__name { font-weight: 600; font-size: 1.05rem; color: var(--color-primary); line-height: 1.25; }
.sector-row__arrow { color: var(--color-secondary); flex: none; opacity: .55; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.sector-row:hover .sector-row__arrow { opacity: 1; transform: translateX(0); }

/* ----- Service cards (image + content) ----- */
.service-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card__media { aspect-ratio: 16/9; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.service-card__body h3 { margin: 0; }
.service-card__body p { margin: 0; color: var(--color-muted); font-size: .94rem; }
.service-card__body p strong { color: var(--color-ink); }
.service-card__cta { margin-top: auto; align-self: flex-start; }

/* ----- Tier table ----- */
.tier-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .93rem; }
.tier-table th, .tier-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--color-line); vertical-align: top; }
.tier-table thead th { background: var(--color-primary); color: #fff; }
.tier-table tbody tr:nth-child(even) { background: var(--color-bg-alt); }
.tier-badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #fff; }
.tier-badge--Ultra { background: var(--color-primary); }
.tier-badge--Pro { background: var(--color-secondary); }
.tier-badge--Standard { background: var(--color-muted); }

/* ----- Document list (TDS / SDS) ----- */
.doc-list { list-style: none; padding: 0; margin: .5rem 0 1rem; display: grid; gap: .5rem; }
.doc-list a {
  display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; background: var(--color-bg-alt);
  border: 1px solid var(--color-line); border-radius: var(--radius); color: var(--color-ink); transition: .2s;
}
.doc-list a:hover { border-color: var(--color-secondary); background: #eef5fb; text-decoration: none; }
.doc-list__tag { flex: none; font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: #fff; padding: .2rem .45rem; border-radius: 4px; }
.doc-list__tag--TDS { background: var(--color-primary); }
.doc-list__tag--PDS { background: var(--color-primary); }
.doc-list__tag--SDS { background: var(--color-secondary); }

/* ----- Viscosity grade chips (product page) ----- */
.visc-grades { margin: 1.4rem 0 0; }
.visc-grades__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--color-secondary); margin-bottom: .55rem; }
.visc-grades__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.visc-grades__list li {
  font-size: .9rem; font-weight: 600; color: var(--color-primary);
  background: var(--color-bg-alt); border: 1px solid var(--color-line);
  border-radius: 6px; padding: .35rem .7rem;
}
.doc-list__label { flex: 1; font-size: .92rem; font-weight: 500; }
.doc-list a svg { flex: none; color: var(--color-secondary); }

/* ----- FAQ ----- */
.faq details { border: 1px solid var(--color-line); border-radius: var(--radius); margin-bottom: .6rem; background: #fff; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--color-primary); }
.faq details[open] summary { border-bottom: 1px solid var(--color-line); }
.faq details > p { padding: 1rem 1.2rem; margin: 0; color: var(--color-muted); }

/* ----- Prose / sections ----- */
/* Prose keeps the full content frame; only the line length of running text is capped (left-aligned),
   so every page shares one consistent content width while text stays readable. */
.prose h2 { margin-top: 2rem; }
/* Body content fills the same container width as the rest of the site (header, nav, listing grids)
   so it never looks "cut off" with empty space on the right. */
/* Standalone document pages (legal, articles): a centered reading column reads better than a
   left-aligned one when there is no full-width content alongside it. */
.prose--narrow { max-width: 78ch; margin-inline: auto; }
.spec-list { list-style: none; padding: 0; margin: 1rem 0; }
.spec-list li { padding: .5rem 0 .5rem 1.5rem; position: relative; border-bottom: 1px solid var(--color-line); }
.spec-list li::before { content: "▸"; position: absolute; left: 0; color: var(--color-secondary); }

/* ----- Factor / knowledge list (term + description) ----- */
.factor-list { margin: 1rem 0 1.5rem; display: grid; gap: 1.1rem; }
.factor-list dt { font-weight: 600; color: var(--color-primary); font-size: 1.05rem; margin-bottom: .2rem; }
.factor-list dd { margin: 0; color: var(--color-muted); padding-left: 1rem; border-left: 3px solid var(--color-line); }

/* ----- Breadcrumb ----- */
.breadcrumb { font-size: .85rem; color: var(--color-muted); padding-block: 1rem; margin-bottom: clamp(-2.75rem, -3vw, -1rem); }
.breadcrumb a { color: var(--color-muted); }

/* ----- CTA band ----- */
.cta-band {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background:
    linear-gradient(rgba(0,46,90,.9), rgba(0,33,66,.92)),
    url("/assets/img/cta-bg.jpg") center/cover no-repeat;
  background-attachment: scroll, fixed;
}
.cta-band h2 { color: #fff; }
.cta-band h2::after { margin-left: auto !important; margin-right: auto !important; background: #7fc4ef !important; } /* center the heading accent on this centered band */
.cta-band p { color: rgba(255,255,255,.88); }
.cta-band .btn { margin-top: .5rem; }

/* ----- Contact page layout ----- */
.contact-layout { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: minmax(260px, 340px) 1fr; } }
.contact-main { min-width: 0; }

.contact-aside__title, .contact-main__title { font-size: 1.3rem; margin-bottom: 1.25rem; }

/* ----- Contact details panel ----- */
.contact-panel { border: 1px solid var(--color-line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.contact-row {
  display: flex; align-items: center; gap: .85rem; padding: .9rem 1.1rem;
  color: inherit; text-decoration: none; transition: background .15s;
}
.contact-row + .contact-row { border-top: 1px solid var(--color-line); }
.contact-row:hover { background: var(--color-bg-alt); text-decoration: none; }
.contact-row__icon {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--color-primary); color: #fff;
}
.contact-row__icon svg { width: 18px; height: 18px; }
.contact-row__body { display: flex; flex-direction: column; gap: .05rem; min-width: 0; }
.contact-row__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); font-weight: 700; }
.contact-row__value { color: var(--color-secondary); font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }

/* LINE add-us card */
.line-card {
  display: flex; align-items: center; gap: 1rem; margin-top: 1.1rem; padding: 1rem;
  border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-bg-alt);
  color: inherit; text-decoration: none; transition: border-color .15s;
}
.line-card:hover { text-decoration: none; border-color: var(--color-secondary); }
.line-card__qr { flex: none; width: 104px; height: 104px; border-radius: 6px; background: #fff; padding: 6px; border: 1px solid var(--color-line); }
.line-card__text { display: flex; flex-direction: column; gap: .2rem; }
.line-card__text strong { color: var(--color-primary); font-size: .95rem; }
.line-card__text span { color: var(--color-muted); font-size: .82rem; }

/* ----- Forms ----- */
.form-grid { display: grid; gap: 1.25rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { display: flex; flex-direction: column; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--color-primary); }
.field input, .field select, .field textarea {
  padding: .7rem .8rem; border: 1px solid var(--color-line); border-radius: 6px; font: inherit; font-weight: 400; color: var(--color-ink);
  width: 100%; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(8,113,179,.15);
}
.field input[type="file"] { padding: .55rem .8rem; background: var(--color-bg-alt); cursor: pointer; }
.field textarea { min-height: 130px; resize: vertical; }

.form-tabs { display: inline-flex; gap: .25rem; flex-wrap: wrap; margin-bottom: 2rem; padding: .3rem; background: var(--color-bg-alt); border: 1px solid var(--color-line); border-radius: 10px; }
.form-tab { padding: .6rem 1.25rem; border: 0; border-radius: 7px; background: transparent; cursor: pointer; font: inherit; font-weight: 600; color: var(--color-muted); transition: background .15s, color .15s; }
.form-tab:hover { color: var(--color-primary); }
.form-tab.is-active { background: var(--color-primary); color: #fff; box-shadow: var(--shadow); }
.form-panel { display: none; }
.form-panel.is-active { display: block; padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-panel form > p:last-child { margin-bottom: 0; margin-top: 1.75rem; }

/* ----- Footer ----- */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,.85); padding-block: 3rem 1.5rem; }
.site-footer a { color: #fff; }
.site-footer h4 { color: #fff; font-size: 1rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .4rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.footer-contact li { display: flex; align-items: center; gap: .7rem; margin: 0; }
.footer-contact svg {
  width: 32px; height: 32px; flex: none; box-sizing: border-box; padding: 7px;
  border-radius: 50%; background: rgba(255,255,255,.13); color: #fff; stroke-width: 1.8;
}
.footer-contact__body { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.footer-contact__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.55); }
.footer-contact a { color: #fff; font-size: .92rem; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 100; border-radius: 6px; }
