/* Connected Industrial Story Layout — Enhanced from reference site */
.connected-home {
  background: #f6f8fa;
  overflow-x: clip;
}

/* Transparent Floating Header over Full-Bleed Hero */
body.home-overlay-nav .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(7, 22, 41, 0.58) 0%, rgba(7, 22, 41, 0.16) 68%, rgba(7, 22, 41, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

body.home-overlay-nav .site-header .logo-dark {
  display: none;
}

body.home-overlay-nav .site-header .logo-white {
  display: block;
}

body.home-overlay-nav .site-header .brand-copy strong {
  color: #ffffff;
}

body.home-overlay-nav .site-header .brand-copy small {
  color: rgba(226, 232, 240, 0.8);
}

body.home-overlay-nav .site-header .site-nav a {
  color: rgba(241, 245, 249, 0.88);
}

body.home-overlay-nav .site-header .site-nav a:hover,
body.home-overlay-nav .site-header .site-nav a.active {
  color: #ffffff;
}

body.home-overlay-nav .site-header .header-cta {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

body.home-overlay-nav .site-header .header-cta:hover {
  background: #2589d8;
  border-color: #2589d8;
}

body.home-overlay-nav .site-header .menu-toggle {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* Scrolled State: Airy Frosted Glass */
body.home-overlay-nav .site-header.scrolled {
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body.home-overlay-nav .site-header.scrolled .logo-white {
  display: none;
}

body.home-overlay-nav .site-header.scrolled .logo-dark {
  display: block;
}

body.home-overlay-nav .site-header.scrolled .brand-copy strong {
  color: var(--ink);
}

body.home-overlay-nav .site-header.scrolled .brand-copy small {
  color: var(--muted);
}

body.home-overlay-nav .site-header.scrolled .site-nav a {
  color: var(--body);
}

body.home-overlay-nav .site-header.scrolled .site-nav a:hover,
body.home-overlay-nav .site-header.scrolled .site-nav a.active {
  color: var(--navy);
}

body.home-overlay-nav .site-header.scrolled .header-cta {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

body.home-overlay-nav .site-header.scrolled .menu-toggle {
  background: #ffffff;
  border-color: var(--border);
  color: var(--ink);
}

body.home-overlay-nav .company-hero {
  height: 100vh;
  max-height: 840px;
  padding-top: 76px;
}

.hero-business {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin-top: 27px;
  max-width: 540px;
  border-top: 1px solid #d5e6f675;
}
.hero-business a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 0;
  font-size: 14px;
  color: white;
}
.hero-business a span { color: #b6d2e9; transition: transform .18s ease; }
.hero-business a:hover span { transform: translate(3px, 3px); }
.hero-business a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#home-products { scroll-margin-top: 100px; }
@media (prefers-reduced-motion: reduce) {
  .connected-home .hero-slide,
  .connected-home .line-progress,
  .hero-business a span { transition: none; }
}

/* 1. Full-Bleed Real Workshop Hero Carousel */
.company-hero {
  position: relative;
  min-height: 620px;
  height: calc(100vh - 76px);
  max-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a1f38;
}

.hero-slides {
  position: absolute;
  inset: -1px;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 5.5s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-carousel-controls {
  position: absolute;
  left: 0;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 28px;
  height: 4px;
  border: 0;
  padding: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.active {
  width: 44px;
  background: #2589d8;
}

.company-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, rgba(7, 22, 41, 0.92) 0%, rgba(10, 32, 58, 0.78) 46%, rgba(10, 32, 58, 0.25) 100%);
  z-index: 1;
}

.company-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 64px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0;
}

.company-intro {
  max-width: 620px;
  color: #ffffff;
}

.company-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #93c5fd;
  margin: 0 0 18px;
}

.company-name::before {
  content: "";
  width: 24px;
  height: 2px;
  background: #2589d8;
}

.company-intro h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: #ffffff;
}

.company-lines {
  font-size: 16.5px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 14px;
}

.company-lines span {
  color: #2589d8;
  margin: 0 8px;
}

.company-summary {
  font-size: 16px;
  color: #cbd5e1;
  margin: 0 0 34px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions-inline {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.company-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2589d8;
  color: #ffffff;
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
}

.company-entry:hover {
  background: #1a6fb5;
  transform: translateY(-1px);
}

.company-entry-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.company-entry-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.company-photo-label {
  position: absolute;
  right: 0;
  bottom: 24px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(7, 22, 41, 0.72);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-left: 3px solid #2589d8;
}

/* 2. Dynamic SVG Journey Line Connecting Sections */
.product-journey {
  position: relative;
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  padding: 88px 0 96px;
}

.journey-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.journey-line path {
  fill: none;
  stroke: rgba(148, 163, 184, 0.45);
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.journey-line path.line-glow {
  stroke: rgba(37, 137, 216, 0.16);
  stroke-width: 12px;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--journey-offset, 0.85);
}

.journey-line path.line-progress {
  stroke: #2589d8;
  stroke-width: 4px;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--journey-offset, 0.85);
}

.journey-line path.line-pulse {
  stroke: #60b5f7;
  stroke-width: 4.5px;
  stroke-dasharray: 0.06 0.94;
  stroke-dashoffset: 1;
  opacity: 0.9;
  animation: journeyPulse 3.2s linear infinite;
}

@keyframes journeyPulse {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

.journey-head-ring {
  fill: rgba(37, 137, 216, 0.2);
}

.journey-head-dot {
  fill: #2589d8;
  stroke: #ffffff;
  stroke-width: 0.45;
}

/* 3. Interactive Custom Capability Showcase */
.part-story {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-areas:
    "intro figure"
    "selector figure";
  gap: 28px 56px;
  align-items: center;
  margin-bottom: 112px;
}

.part-intro {
  grid-area: intro;
  background: transparent;
  padding: 12px 16px 12px 0;
}

.part-intro .eyebrow-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #2589d8;
  margin-bottom: 10px;
}

.part-intro h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.22;
  margin: 0 0 14px;
  color: #0b223d;
}

.part-intro p {
  font-size: 16px;
  color: #475569;
  margin: 0 0 22px;
  line-height: 1.7;
}

.story-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.story-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: #0b223d;
  padding: 4px 0 6px;
}

.story-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: rgba(11, 34, 61, 0.22);
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.story-link:hover {
  color: #2589d8;
}

.story-link:hover::after {
  background: #2589d8;
}

.part-selector {
  grid-area: selector;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.part-selector button {
  text-align: left;
  padding: 13px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.part-selector button small {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}

.part-selector button:hover {
  border-color: #0e3358;
  color: #0e3358;
}

.part-selector button[aria-pressed="true"] {
  background: #0b223d;
  color: #ffffff;
  border-color: #0b223d;
  box-shadow: 0 10px 24px rgba(11, 34, 61, 0.16);
}

.part-selector button[aria-pressed="true"] small {
  color: #7cc4fa;
}

.part-figure {
  grid-area: figure;
  margin: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06);
}

.part-image {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 6px;
  overflow: hidden;
}

.part-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.92);
  color: #0b223d;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
  z-index: 2;
}

.part-nav-btn:hover {
  background: #0b223d;
  color: #ffffff;
  border-color: #0b223d;
}

.part-nav-prev { left: 12px; }
.part-nav-next { right: 12px; }

.part-image img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
  transform: scale(1);
  transition: opacity 0.25s ease, transform 0.3s ease;
  cursor: zoom-in;
}

.part-image:hover img {
  transform: scale(1.04);
}

.part-figure figcaption {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  display: grid;
  gap: 4px;
}

.part-figure figcaption strong {
  font-size: 17px;
  color: #0b223d;
}

.part-figure figcaption span {
  font-size: 14.5px;
  color: #475569;
}

/* 4. Staggered Production Story Section */
.production-story {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.production-story figure {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.10);
  border: 1px solid #dbe2ea;
}

.production-story figure img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  cursor: zoom-in;
}

.production-story figure figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(7, 22, 41, 0.84);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-left: 3px solid #2589d8;
}

.production-copy {
  background: transparent;
  padding: 18px 0 18px 16px;
}

.production-copy .eyebrow-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #2589d8;
  margin-bottom: 10px;
}

.production-copy h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin: 0 0 14px;
  color: #0b223d;
}

.production-copy p {
  font-size: 16px;
  color: #475569;
  margin: 0 0 24px;
  line-height: 1.72;
}

.production-points {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
}

.production-points li {
  font-size: 14.5px;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 10px;
}

.production-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #2589d8;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 5. Bottom Clean CTA Strip */
.home-cta-strip {
  background: #0b223d;
  color: #ffffff;
  padding: 48px 0;
}

.home-cta-inner {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.home-cta-inner h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.home-cta-inner p {
  margin: 0;
  font-size: 15px;
  color: #cbd5e1;
}

@media (max-width: 980px) {
  .company-hero {
    height: auto;
    min-height: 540px;
  }
  .company-hero-inner,
  .product-journey,
  .home-cta-inner {
    width: calc(100% - 32px);
  }
  .journey-line {
    display: none;
  }
  .part-story {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "selector"
      "figure";
    margin-bottom: 64px;
  }
  .part-image {
    height: 260px;
  }
  .production-story {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .production-story figure img {
    height: 260px;
  }
}

@media (max-width: 560px) {
  .part-selector {
    grid-template-columns: 1fr;
  }
}

body.home-overlay-nav .site-header .lang-switch {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

body.home-overlay-nav .site-header .lang-btn {
  color: rgba(241, 245, 249, 0.88);
}

body.home-overlay-nav .site-header .lang-btn:hover {
  color: #ffffff;
}

body.home-overlay-nav .site-header .lang-btn.active {
  background: #ffffff;
  color: var(--navy);
}

body.home-overlay-nav .site-header.scrolled .lang-switch {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.09);
}

body.home-overlay-nav .site-header.scrolled .lang-btn {
  color: var(--body);
}

body.home-overlay-nav .site-header.scrolled .lang-btn.active {
  background: var(--navy);
  color: #ffffff;
}

/* Multi-Language & Mobile Connected Home Polish */
.part-selector button {
  min-height: 54px;
  line-height: 1.35;
  font-size: 13.5px;
}

@media (max-width: 980px) {
  body.home-overlay-nav .company-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    align-items: flex-start;
    padding-top: 92px;
  }
  .company-hero-inner {
    height: auto;
    justify-content: flex-start;
    padding: 20px 0 64px;
  }
}

@media (max-width: 640px) {
  .company-photo-label {
    display: none;
  }
  .hero-carousel-controls {
    bottom: 20px;
  }
  .hero-business {
    gap: 0 16px;
  }
  .part-nav-btn {
    width: 34px;
    height: 34px;
  }
}

/* Deep-Navy Macro Product Hero + Circular STOP Loupe */
.company-hero--product {
  background: radial-gradient(circle at 72% 48%, #0e3b70 0%, #06264d 50%, #041933 100%);
}

.company-hero--product::after {
  display: none;
}

.company-hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 36px;
}

.hero-product-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 56px 12px;
  cursor: pointer;
}

.hero-product-main {
  width: 100%;
  max-width: 680px;
  max-height: 470px;
  object-fit: contain;
  transform: scale(1.06);
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.48));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-product-stage:hover .hero-product-main {
  transform: translateY(-4px) scale(1.09);
}

.hero-loupe {
  position: absolute;
  left: 6%;
  bottom: 0;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 2px solid rgba(147, 197, 253, 0.9);
  background: #06254a;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.48), 0 0 0 6px rgba(37, 137, 216, 0.16);
  overflow: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.hero-loupe img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(2.85) translate(-11%, -13%);
  transform-origin: center;
}

.hero-product-stage:hover .hero-loupe {
  transform: scale(1.06);
  border-color: #ffffff;
}

.hero-loupe-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(6, 30, 58, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.hero-loupe-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60b5f7;
  box-shadow: 0 0 0 4px rgba(96, 181, 247, 0.25);
}

.hero-product-stage:hover .hero-loupe-pill {
  background: #2589d8;
  border-color: #2589d8;
  color: #ffffff;
}

@media (max-width: 980px) {
  .company-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-product-stage {
    padding: 0;
    margin-top: 8px;
  }
  .hero-product-main {
    max-height: 310px;
  }
  .hero-loupe {
    width: 132px;
    height: 132px;
    left: 2%;
    bottom: 6%;
  }
  .hero-loupe-pill {
    right: 0;
    bottom: 0;
    font-size: 11.5px;
    padding: 6px 11px;
  }
}

/* 2-Slide Hero Product Carousel */
.hero-product-carousel {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-carousel .hero-product-stage {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-product-carousel .hero-product-stage.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-product-main--bellows {
  max-width: 720px;
  max-height: 380px;
  transform: scale(1.12);
}

.hero-product-stage:hover .hero-product-main--bellows {
  transform: translateY(-4px) scale(1.15);
}

.hero-loupe--bellows img {
  transform: scale(2.85) translate(31%, -2%);
}

.hero-product-dots {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}

.hero-product-dot {
  width: 26px;
  height: 4px;
  border: 0;
  padding: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-product-dot.active {
  width: 42px;
  background: #2589d8;
}

@media (max-width: 980px) {
  .hero-product-carousel {
    min-height: 320px;
  }
  .hero-product-dots {
    bottom: -20px;
  }
}

/* Real Cursor-Tracking Magnifier Lens & Touch Zoom Modal */
.hero-magnifier {
  position: absolute;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  border: 2px solid rgba(147, 197, 253, 0.95);
  background-color: #06254a;
  background-repeat: no-repeat;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.52), 0 0 0 6px rgba(37, 137, 216, 0.16);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 6;
}

.hero-magnifier.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.hero-stage-actions {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.hero-stage-actions .hero-loupe-pill {
  position: static;
}

.hero-zoom-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

@media (hover: none), (pointer: coarse), (max-width: 980px) {
  .hero-magnifier { display: none !important; }
  .hero-zoom-btn { display: inline-flex; }
}

.hero-zoom-modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 21, 42, 0.88);
  backdrop-filter: blur(8px);
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero-zoom-modal.open {
  display: flex;
}

.hero-zoom-dialog {
  width: min(860px, 94vw);
  background: #072242;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  color: #ffffff;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}

.hero-zoom-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
}

.hero-zoom-viewport {
  max-height: 64vh;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hero-zoom-viewport img {
  width: 140%;
  max-width: none;
  height: auto;
  object-fit: contain;
}

.hero-zoom-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #cbd5e1;
}
