/* =====================================================
   EETP product page concept (individual product template)
   Builds on tokens.css, components.css and the shared
   callout / footer / reveal rules in styles.css.
   ===================================================== */

:root {
  --ink: #071927;
  --tint-blue: #EAF4FA;
  --line-blue: #C9D8E1;
  --muted-blue: #8FA6B4;
  --on-dark: #D7E5ED;
}

/* ---------- button + label variants used on this page ---------- */
.btn--md { padding: 13px 22px; font-size: 14px; line-height: 1.5; }
.btn--lg { padding: 12px 24px; font-size: 18px; line-height: 1.7; }
.btn--outline { border-color: var(--color-accent); color: var(--color-accent); background: transparent; }
.btn--outline:hover { background: var(--color-accent); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 117, 193, .3); }

.eyebrow--mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0; }
.eyebrow--tint { color: var(--color-accent-tint); }

.h-block {
  font-family: var(--font-secondary); font-weight: 700; font-size: var(--font-h2); line-height: 1.15;
  letter-spacing: -.56px; text-transform: uppercase; color: var(--ink);
}

.text-link--sm { gap: 10px; font-size: 13px; }
.text-link--sm .arrow-tile { width: 24px; height: 24px; border-radius: 3px; }

/* ---------- top bar ---------- */
.topbar { background: var(--color-primary-tint); padding: 10px var(--page-pad); }
.topbar__inner { max-width: 1210px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.topbar__brand { position: relative; display: block; width: 105px; height: 54px; flex: none; }
.topbar__brand img { position: absolute; inset: 0; width: 105px; height: 54px; object-fit: contain; transition: opacity .35s var(--ease); }
.topbar__brand .logo-dark { mix-blend-mode: multiply; }
.topbar__brand .logo-light { opacity: 0; }

/* sticky header: solid blue once the page scrolls, with a white button */
.topbar { position: sticky; top: 0; z-index: 40; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease); }
.topbar.is-stuck { background: var(--color-accent); box-shadow: 0 8px 26px rgba(0, 0, 0, .22); }
.topbar.is-stuck .logo-dark { opacity: 0; }
.topbar.is-stuck .logo-light { opacity: 1; }
.topbar.is-stuck .topbar__links { color: var(--white); }
.topbar.is-stuck .topbar__links a:hover { color: var(--white); }
.topbar.is-stuck .topbar__links a::after { background: var(--white); }
.topbar.is-stuck .btn--primary { background: var(--white); color: var(--color-accent); }
.topbar.is-stuck .btn--primary:hover { background: var(--color-accent-tint); box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.topbar__links { display: flex; align-items: center; gap: 27px; font-size: var(--font-body-lg); line-height: 1.7; color: var(--color-primary); }
.topbar__links a { position: relative; display: inline-block; transition: color .3s var(--ease); }
.topbar__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left center; transition: transform .4s var(--ease);
}
.topbar__links a:hover { color: var(--color-accent); }
.topbar__links a:hover::after { transform: scaleX(1); }
.js .topbar { animation: navIn .9s var(--ease) .1s both; }

/* ---------- product intro ---------- */
.pintro {
  display: flex; align-items: flex-start; gap: 30px;
  max-width: 1200px; margin: 0 auto; padding: 96px var(--page-pad);
}
.pintro__media { flex: 1 1 0; min-width: 0; max-width: 800px; height: 482px; overflow: hidden; background: var(--white); }
.pintro__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.1s var(--ease); }
.pintro__media:hover img { transform: scale(1.04); }
.pintro__info { flex: 1 1 0; min-width: 0; max-width: 400px; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-24); }
.pintro__code { font-family: var(--font-mono); font-weight: 700; font-size: 10px; line-height: normal; text-transform: uppercase; color: var(--color-primary); }
.pintro__title { font-family: var(--font-secondary); font-weight: 700; font-size: var(--font-h1); line-height: 1.15; letter-spacing: -1px; color: var(--ink); }
.pintro__text { font-size: 17px; line-height: 1.6; color: var(--color-secondary); }
.pintro__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- details blocks (specifications, benefits, inquiry) ---------- */
.details { background: var(--tint-blue); padding: 92px var(--page-pad) 104px; }
.details__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 52px; }
.details .block { display: flex; flex-direction: column; gap: var(--space-32); }
.block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.block__title { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.block__index { flex: none; font-family: var(--font-mono); font-weight: 700; font-size: 10px; line-height: normal; text-transform: uppercase; text-align: right; color: var(--muted-blue); }

.specbox { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-32); padding: 20px; background: var(--white); }
.specbox__list { list-style: disc; width: 100%; padding-left: 27px; font-size: var(--font-body-lg); line-height: 1.7; color: var(--color-secondary); }

.benefits {
  display: flex; flex-direction: column; gap: 16px; padding: 28px;
  background: var(--ink); border: 1px solid var(--color-accent);
}
.benefits p:not(.eyebrow) { font-size: 16px; line-height: 1.58; color: var(--on-dark); }
.benefits__rule { width: 100%; height: 1px; margin: 0; border: 0; background: #214257; }

/* ---------- exploded view ---------- */
.exploded { background: var(--white); }
.exploded__canvas { position: relative; max-width: var(--page-max); margin: 0 auto; }
.exploded__canvas svg { display: block; width: 100%; height: auto; }
.frame { fill: var(--white); stroke: var(--color-secondary-tint); stroke-width: 1; }
.part { cursor: pointer; outline: none; }
.hs { fill: transparent; stroke: transparent; stroke-width: 1.5; transition: fill .2s var(--ease), stroke .2s var(--ease); }
.part:hover .hs, .part:focus-visible .hs { fill: rgba(0, 117, 193, .38); stroke: var(--color-accent); stroke-width: 2.5; }
.badge { opacity: 0; transition: opacity .2s var(--ease); }
.badge circle { fill: var(--color-accent); stroke: var(--white); stroke-width: 2; }
.part:hover .badge, .part:focus-visible .badge { opacity: 1; }

.tip {
  position: absolute; z-index: 5; pointer-events: none; max-width: 260px;
  padding: 8px 12px; border-radius: var(--radius-md); background: var(--ink); color: var(--white);
  font-size: 13px; line-height: 1.3; box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  transform: translate(-50%, -110%);
}
.tip b { display: block; font-family: var(--font-secondary); font-weight: 700; }
.tip small { font-size: 12px; color: #cfd8df; }
.tip[hidden] { display: none; }

/* lightbox */
body.lock { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: rgba(7, 25, 39, .72); animation: lbFade .25s var(--ease) both; }
.lb[hidden] { display: none; }
.lb-card {
  position: relative; width: min(980px, 100%); max-height: 92vh; overflow: auto; display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 24px 64px rgba(0, 0, 0, .45);
  animation: lbPop .4s var(--ease) both;
}
.lb-media { padding: 24px; background: var(--color-primary-tint); display: flex; align-items: flex-start; }
.lb-crop { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--white); border: 1px solid var(--color-secondary-tint); border-radius: var(--radius-md); }
.lb-crop svg { display: block; width: 100%; height: 100%; }
.lb-nophoto { height: 100%; display: grid; place-items: center; padding: 16px; text-align: center; font-size: 14px; color: var(--color-secondary); }
.lb-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 40px 32px 32px; }
.lb-title { font-family: var(--font-secondary); font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: -.4px; color: var(--ink); }
.lb-desc { font-size: 16px; line-height: 1.6; color: var(--color-secondary); }
.lb-lines { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.6; color: var(--color-primary); }
.lb-lines strong { color: var(--ink); }
.lb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.lb-x {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--color-secondary-tint); background: var(--white); color: var(--color-primary);
  font-size: 22px; line-height: 1; transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.lb-x:hover { border-color: var(--color-accent); color: var(--color-accent); transform: rotate(90deg); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbPop { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- inquiry form ---------- */
.inquiry {
  display: flex; flex-direction: column; gap: 22px; padding: 28px;
  background: var(--white); border: 1px solid var(--line-blue); box-shadow: 0 10px 28px rgba(7, 25, 39, .08);
}
.inquiry__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.inquiry__step { font-family: var(--font-mono); font-size: 10px; line-height: normal; color: var(--color-secondary); }
.inquiry__row { display: flex; gap: 16px; }
.inquiry__row .field { flex: 1; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-weight: 700; font-size: 15px; line-height: normal; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 12px; border: 1px solid #214257; border-radius: var(--radius-sm); background: var(--white);
  font: inherit; font-size: 16px; color: var(--color-primary);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input { height: 48px; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--color-accent); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(0, 117, 193, .18); }

/* ---------- related products ---------- */
.related { background: var(--color-bg); padding: 96px var(--page-pad) 104px; }
.related__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 42px; }
.related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.related__title { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.related__h { font-family: var(--font-secondary); font-weight: 800; font-size: clamp(32px, 3.33vw, 48px); line-height: 1; text-transform: uppercase; color: var(--ink); }
.related__all {
  flex: none; font-weight: 700; font-size: 14px; line-height: normal; text-transform: uppercase; color: var(--color-accent);
  text-decoration: underline; text-underline-position: from-font; text-underline-offset: 3px;
  transition: text-underline-offset .3s var(--ease), color .3s var(--ease);
}
.related__all:hover { color: var(--color-accent-hover); text-underline-offset: 6px; }
.related__row { display: flex; gap: 20px; }
.rcard {
  --hover-transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  flex: 1; min-width: 0; height: 390px; display: flex; flex-direction: column; overflow: hidden;
  background: var(--ink); border: 1px solid var(--color-accent); box-shadow: 0 10px 28px rgba(7, 25, 39, .08);
}
.rcard:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(0, 117, 193, .3); }
.rcard__media { flex: none; height: 214px; overflow: hidden; background: var(--white); }
.rcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.rcard:hover .rcard__media img { transform: scale(1.07); }
.rcard__body { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 20px; }
.rcard__copy { display: flex; flex-direction: column; gap: 8px; }
.rcard__copy h3 { font-family: var(--font-secondary); font-weight: 800; font-size: 20px; line-height: 1.1; text-transform: uppercase; color: var(--color-primary-tint); }
.rcard__copy p { font-size: 15px; line-height: 1.45; color: var(--on-dark); }

/* ---------- footer (product variant) ---------- */
.footer--product { padding: 64px 0 30px; }
.footer--product .footer__inner { gap: 48px; }
.footer--product .footer__brand { width: 390px; }
.footer--product .footer__brand img { width: 120px; height: 66px; }
.footer--product .footer__brand p { font-size: 14px; line-height: 1.5; color: var(--muted-blue); }
.footer--product .footer__brand .footer__name {
  width: 340px; max-width: 100%; font-family: var(--font-secondary); font-weight: 700; font-size: 22px; line-height: 1.15;
  text-transform: uppercase; color: var(--color-primary-tint);
}
.footer--product .footer__col { width: 180px; gap: 15px; }
.footer--product .footer__col ul { gap: 15px; font-weight: 700; font-size: 15px; line-height: normal; color: var(--color-primary-tint); }
.footer--product .footer__bottom {
  flex-direction: row; align-items: center; justify-content: space-between; align-self: auto;
  padding-top: 24px; border-top-color: #214257; font-size: 10px; text-transform: uppercase; color: var(--muted-blue);
}
.footer--product .footer__call { color: var(--color-accent); }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .topbar__links { gap: 20px; font-size: 16px; }
}

@media (max-width: 1100px) {
  .topbar__links { display: none; }
  .pintro { flex-direction: column; align-items: stretch; padding-top: 56px; padding-bottom: 64px; }
  .pintro__media { flex: none; width: 100%; max-width: none; height: min(482px, 70vw); }
  .pintro__info { max-width: 640px; }
  .block__head, .related__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .block__index { text-align: left; }
  .related__row { flex-direction: column; }
  .rcard { flex: none; height: auto; min-height: 390px; }
  .footer--product .footer__main { flex-wrap: wrap; }
  .footer--product .footer__brand { width: 100%; }
}

@media (max-width: 720px) {
  .topbar__inner { gap: 12px; }
  .topbar__brand img { width: 82px; height: 42px; }
  .btn--lg { padding: 9px 15px; font-size: 14px; }
  .details { padding-top: 64px; padding-bottom: 72px; }
  .details__inner { gap: 40px; }
  .inquiry__row { flex-direction: column; }
  .related { padding-top: 64px; padding-bottom: 72px; }
  .lb { padding: 12px; }
  .lb-card { grid-template-columns: 1fr; }
  .lb-body { padding: 24px 20px 24px; }
  .footer--product .footer__col { width: calc(50% - 20px); }
  .footer--product .footer__bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .topbar { opacity: 1 !important; transform: none !important; }
}

/* =====================================================
   PRODUCT PAGE VARIANTS 03 and 03.1
   ===================================================== */
.h-block--xl { font-weight: 800; font-size: clamp(36px, 3.75vw, 54px); line-height: .96; letter-spacing: 0; }
.details--wide .details__inner, .related--wide .related__inner { max-width: 1296px; }

/* dark hero (variant 03) */
.phero { position: relative; display: flex; flex-direction: column; min-height: 440px; background: var(--ink); color: var(--color-primary-tint); overflow: hidden; }
.phero .nav { border-bottom-color: rgba(255, 255, 255, .4); }
.phero__bg { position: absolute; inset: 0; pointer-events: none; }
.phero__bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 21, 33, .95) 0%, rgba(6, 21, 33, .61) 58%, rgba(6, 21, 33, .16) 100%); }
.js .phero__bg img { animation: heroZoom 2.8s var(--ease) both; }
.phero__content { position: relative; z-index: 2; flex: 1; display: flex; align-items: flex-end; width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 168px var(--page-pad) 58px; }
.phero__statement { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; width: min(900px, 100%); }
.phero__crumbs { font-family: var(--font-mono); font-weight: 700; font-size: 10px; line-height: normal; text-transform: uppercase; color: var(--muted-blue); }
.phero__title { font-family: var(--font-secondary); font-weight: 800; font-size: clamp(40px, 4.72vw, 68px); line-height: .94; text-transform: uppercase; color: var(--color-primary-tint); }
.phero__text { max-width: 700px; font-size: 18px; line-height: 1.55; color: var(--on-dark); }
.phero__crumbs { --hd: .35s; }

/* product overview (gallery + description) */
.pov { background: var(--color-primary-tint); padding: 88px var(--page-pad); }
.pov__inner { max-width: 1296px; margin: 0 auto; display: flex; align-items: flex-start; gap: 72px; }
.pov__gallery { flex: none; width: min(610px, 47%); height: 544px; overflow: hidden; background: var(--white); border: 1px solid var(--line-blue); }
.pov__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pov__gallery:hover img { transform: scale(1.05); }
.pov__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-24); }
.pov__title { font-family: var(--font-secondary); font-weight: 800; font-size: 40px; line-height: 1; text-transform: uppercase; color: var(--ink); }
.pov__body p:not(.eyebrow):not(.pov__note-text) { font-size: 17px; line-height: 1.6; color: var(--color-secondary); }
.pov__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pov__note { display: flex; align-items: center; gap: 12px; padding-top: 8px; width: 100%; }
.pov__tile { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-md); background: var(--color-accent); transition: transform .35s var(--ease); }
.pov__note:hover .pov__tile { transform: scale(1.12) rotate(-6deg); }
.pov__tile img { width: 18px; height: 18px; }
.pov__note-text { flex: 1; min-width: 0; font-size: 15px; line-height: 1.45; color: var(--ink); }

/* details grid + specification table */
.dgrid { display: flex; align-items: flex-start; gap: 28px; }
.dgrid > * { flex: 1; min-width: 0; }
.dgrid--stack { flex-direction: column; align-items: stretch; }
.dgrid__col { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-24); padding-bottom: 20px; }
.dgrid__col--end { padding-bottom: 0; gap: 28px; align-items: stretch; }
.stable { width: 100%; background: var(--white); border: 1px solid var(--line-blue); box-shadow: 0 10px 28px rgba(7, 25, 39, .08); }
.stable li { display: flex; align-items: center; gap: 18px; min-height: 58px; padding: 16px 18px; border-bottom: 1px solid var(--line-blue); transition: background-color .3s var(--ease); }
.stable li:last-child { border-bottom: 0; }
.stable li:hover { background: var(--tint-blue); }
.stable b { flex: none; width: 30px; font-family: var(--font-mono); font-weight: 400; font-size: 10px; line-height: normal; color: var(--color-accent); }
.stable span { flex: 1; min-width: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }

@media (max-width: 1100px) {
  .phero__content { padding-top: 150px; }
  .pov__inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .pov__gallery { width: 100%; height: min(544px, 80vw); }
  .dgrid { flex-direction: column; align-items: stretch; }
}
@media (max-width: 720px) {
  .pov { padding-top: 56px; padding-bottom: 56px; }
  .pov__title { font-size: 32px; }
  .phero__text { font-size: 16px; }
}
