/* ATOZ International ((주)아토즈인터내셔널) official marine navy & cyan-blue theme */
:root {
  --lux-ink: #091924;
  --lux-ink-2: #21315d;
  --lux-muted: #566879;
  --lux-line: rgba(9, 25, 36, 0.14);
  --lux-rose: #019ab9;
  --lux-rose-deep: #0062af;
  --lux-gold: #00a3dc;
  --lux-pearl: #ffffff;
  --lux-blush: #f4f8fb;
  --lux-shadow: 0 24px 64px rgba(9, 25, 36, 0.10);
  --lux-soft-shadow: 0 12px 36px rgba(9, 25, 36, 0.06);
}

body {
  background: #f5f8fb !important;
  color: #091924;
}

body::before,
body::after {
  display: none !important;
}

.brand-name,
.detail-title,
.section-head h2,
.contact-card h2,
.product-intro-head h2,
.intro-title,
.notice-title {
  font-family: "Noto Sans KR", "Plus Jakarta Sans", sans-serif !important;
  color: #091924 !important;
}

.kolmar-logo,
.kolmar-admin-logo,
.detail-company-logo {
  display: block;
  width: 158px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.account-topbar .brand {
  gap: 14px;
}

.kolmar-admin-logo {
  margin-inline: auto;
}

.sidebar .brand {
  flex-wrap: wrap;
  justify-content: center;
}

.sidebar .kolmar-admin-logo {
  flex: 0 0 148px;
}

.login-view {
  background: #f4f8fb !important;
}

.login-panel {
  background: #ffffff !important;
}

.login-header h1 {
  font-family: "Noto Sans KR", "Plus Jakarta Sans", sans-serif !important;
  color: #091924 !important;
  font-size: clamp(22px, 5vw, 30px);
}

.login-form button[type="submit"] {
  background: #019ab9 !important;
  box-shadow: none !important;
}

/* Header */
#site .topbar {
  grid-template-columns: minmax(170px, 1fr) auto minmax(40px, 1fr) !important;
  height: 96px !important;
  min-height: 96px !important;
  padding-inline: 5vw !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
}

#site .topbar::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 251, 0.96)) !important;
}

#site .topbar.is-scrolled {
  height: 86px !important;
  min-height: 86px !important;
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid rgba(9, 25, 36, 0.1) !important;
  box-shadow: 0 10px 30px rgba(9, 25, 36, 0.07) !important;
}

#site .topbar .brand-logo-image {
  width: 158px !important;
  max-height: 58px !important;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.34)) !important;
}

#site .topbar.is-scrolled .brand-logo-image {
  content: url("./assets/atoz/logo-dark.png");
  filter: none !important;
}

#site .topbar .nav-links {
  gap: clamp(2rem, 5vw, 5rem) !important;
}

#site .topbar .nav-links a {
  font-family: "Noto Sans KR", "Plus Jakarta Sans", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
}

#site .topbar.is-scrolled .nav-links a {
  color: #091924 !important;
}

#site .topbar.is-scrolled .nav-links a:hover,
#site .topbar.is-scrolled .nav-links a.is-active {
  color: #019ab9 !important;
}

#site .topbar .nav-links a::after {
  background: #019ab9 !important;
}

#site .topbar .brand::before {
  content: none !important;
}

/* Hero Carousel */
.hero.hero-generated {
  min-height: min(900px, 100svh) !important;
  background: #091924 !important;
}

.hero.hero-generated .hero-media {
  height: min(900px, 100svh) !important;
  min-height: 620px !important;
}

.hero.hero-generated .hero-brand-image img {
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

.hero-brand-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
}

.hero.hero-generated .hero-brand-shade {
  background:
    linear-gradient(96deg, rgba(9, 25, 36, 0.84) 0%, rgba(19, 42, 60, 0.52) 56%, rgba(9, 25, 36, 0.24) 100%),
    linear-gradient(180deg, rgba(9, 25, 36, 0.52), transparent 28%, rgba(9, 25, 36, 0.34) 64%, rgba(9, 25, 36, 0.80)) !important;
}

.hero.hero-generated .hero-video-primary .hero-brand-shade {
  background:
    linear-gradient(100deg, rgba(9, 25, 36, 0.82) 0%, rgba(19, 42, 60, 0.48) 58%, rgba(9, 25, 36, 0.26) 100%),
    linear-gradient(180deg, rgba(9, 25, 36, 0.54), transparent 28%, rgba(9, 25, 36, 0.38) 60%, rgba(9, 25, 36, 0.84)) !important;
}

.hero.hero-generated .hero-brand-overlay {
  inset: 0 !important;
  width: 100% !important;
  transform: none !important;
}

.hero.hero-generated .hero-brand-content {
  left: 8vw !important;
  top: 32% !important;
  width: 84vw !important;
  max-width: 920px !important;
}

.hero.hero-generated .hero-brand-logo {
  margin-bottom: 22px;
}

.hero.hero-generated .hero-brand-logo img {
  width: 148px !important;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.36)) !important;
}

.hero.hero-generated .hero-brand-copy {
  margin: 0;
  width: 100% !important;
  max-width: 100% !important;
}

.hero.hero-generated .hero-brand-copy span {
  font-family: "Noto Sans KR", "Plus Jakarta Sans", sans-serif !important;
  font-size: clamp(30px, 4.1vw, 58px) !important;
  font-weight: 700 !important;
  line-height: 1.32 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
}

.hero.hero-generated .hero-brand-copy .hero-subtitle {
  margin-top: 20px;
  font-family: "Noto Sans KR", "Plus Jakarta Sans", sans-serif !important;
  font-size: clamp(14px, 1.35vw, 19px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  color: #e4f8ff !important;
  text-shadow: 0 2px 14px rgba(9, 25, 36, 0.72) !important;
}

.hero.hero-generated .hero-video-primary .hero-brand-content {
  top: auto !important;
  bottom: 120px !important;
}

.hero.hero-generated .hero-video-primary .hero-brand-copy span {
  font-family: "Noto Sans KR", "Plus Jakarta Sans", sans-serif !important;
  font-size: clamp(34px, 4.7vw, 66px) !important;
  font-weight: 800 !important;
  line-height: 1.24 !important;
  letter-spacing: -0.035em !important;
  text-shadow: 0 4px 24px rgba(9, 25, 36, 0.65) !important;
}

.hero.hero-generated .hero-video-primary .hero-brand-copy .hero-subtitle {
  margin-top: 18px;
  font-size: clamp(14px, 1.25vw, 19px) !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  color: #e4f8ff !important;
  text-shadow: 0 2px 14px rgba(9, 25, 36, 0.78) !important;
}

.hero.hero-generated .hero-brand-dots {
  bottom: 44px !important;
  gap: 12px !important;
}

.hero.hero-generated .hero-brand-dot {
  position: relative;
  width: 34px !important;
  height: 4px !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.36) !important;
}

.hero.hero-generated .hero-brand-dot::after {
  content: "";
  position: absolute;
  inset: -18px -4px;
}

.hero.hero-generated .hero-brand-dot.is-active {
  width: 64px !important;
  background: #019ab9 !important;
  box-shadow: 0 0 14px rgba(1, 154, 185, 0.6) !important;
}

.hero-playback {
  position: absolute;
  right: 5vw;
  bottom: 28px;
  z-index: 8;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(9, 25, 36, 0.56);
  color: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease;
}

.hero-playback:hover,
.hero-playback:focus-visible {
  background: #019ab9;
  border-color: #019ab9;
}

/* Company Overview */
#products {
  padding-top: 44px !important;
}

.company-overview-panel h2 {
  color: #091924;
  font-family: "Noto Sans KR", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.company-overview-stage {
  background:
    linear-gradient(108deg, rgba(9, 25, 36, 0.88) 0%, rgba(19, 42, 60, 0.78) 54%, rgba(0, 98, 175, 0.52) 100%),
    url("./assets/atoz/bg-01.jpg") center / cover !important;
}

.company-overview-card {
  background: rgba(19, 42, 60, 0.72);
  border-color: rgba(205, 247, 255, 0.28);
  border-top: 2px solid #019ab9;
  backdrop-filter: blur(6px);
}

.company-overview-card strong {
  font-weight: 800;
}

/* Product section framing (products themselves untouched) */
.product-matrix-block,
.product-intro-block {
  background: transparent !important;
  border-color: #dbe6ef !important;
  box-shadow: none !important;
}

#products .product-matrix-card,
#products .product-marquee-card {
  background: #ffffff !important;
  border: 1px solid #dbe6ef !important;
  box-shadow: 0 10px 30px rgba(9, 25, 36, 0.04) !important;
  border-radius: 12px !important;
}

#products .product-matrix-card {
  grid-template-rows: minmax(220px, 1fr) minmax(54px, auto) 44px !important;
}

/* Opaque product photos sit on the same white canvas without a rectangular shadow. */
#products .product-matrix-media,
#products .product-marquee-media {
  position: relative !important;
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}

#products .product-matrix-grid .product-matrix-card img,
#products .product-marquee-media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain !important;
  padding: 5px !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

#products .product-matrix-media::before,
#products .product-matrix-media::after,
#products .product-matrix-orbit {
  display: none !important;
}

#products .product-matrix-name,
.product-marquee-name {
  color: #091924 !important;
  font-weight: 600 !important;
}

#products .product-matrix-buy-btn {
  background: #019ab9 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  transition: background 200ms ease !important;
}

#products .product-matrix-buy-btn:hover,
#products .product-matrix-buy-btn:focus-visible {
  background: #0062af !important;
}

.product-marquee-copy,
.product-marquee-info {
  background: #ffffff !important;
}

/* Capabilities & Contact Section */
.section-kicker {
  color: #019ab9 !important;
  font-family: "Plus Jakarta Sans", "Noto Sans KR", sans-serif !important;
  font-weight: 700 !important;
}

.section-head p {
  color: #4f6274 !important;
}

.tech-card.glass-panel,
.contact-card.glass-panel {
  background: #ffffff !important;
  border: 1px solid #dbe6ef !important;
  border-top: 3px solid #21315d !important;
  box-shadow: 0 12px 34px rgba(9, 25, 36, 0.05) !important;
  border-radius: 12px !important;
}

.tech-card.glass-panel:hover {
  border-top-color: #019ab9 !important;
}

.tech-card h3 {
  color: #091924 !important;
  font-weight: 700 !important;
}

.tech-card p,
.contact-card p {
  color: #445566 !important;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.contact-card p[data-i18n="contact_desc"] {
  white-space: pre-line;
  line-height: 1.9;
}

.contact-card a[href^="mailto:"] {
  color: #0062af !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-card a[href^="mailto:"]:hover {
  color: #019ab9 !important;
}

/* Bottom Company Showcase Cards (Production / QC / ISO 22716 / R&D) */
.bottom-image-card {
  border: 1px solid #dbe6ef !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 28px rgba(9, 25, 36, 0.05) !important;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease !important;
}

.bottom-image-card:hover {
  border-color: rgba(1, 154, 185, 0.55) !important;
  box-shadow: 0 18px 42px rgba(9, 25, 36, 0.1) !important;
}

.bottom-image-title {
  color: #091924 !important;
  font-family: "Noto Sans KR", "Plus Jakarta Sans", sans-serif !important;
  font-weight: 700 !important;
}

.bottom-image-desc {
  color: #4f6274 !important;
}

.bottom-image-media {
  background: #091924 !important;
}

.bottom-image-media img {
  object-fit: cover !important;
}

.bottom-image-media.is-certificate {
  background: #eaf0f5 !important;
}

.bottom-image-media.is-certificate img {
  object-fit: contain !important;
  padding: 6px !important;
}

/* Official ATOZ Deep Marine Navy Footer (#0a1a26) */
.kolmar-footer {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 52px max(5vw, 24px);
  border-top: 3px solid #019ab9;
  color: #e0e0e0;
  background: #0a1a26;
  font-size: 13px;
  line-height: 1.9;
}

.kolmar-footer strong {
  color: #ffffff;
  font-weight: 700;
}

.kolmar-footer p {
  margin: 0 0 8px;
}

.kolmar-footer small {
  display: inline-block;
  margin-top: 8px;
  color: #97adbf;
}

.kolmar-footer > a {
  flex-shrink: 0;
  color: #ffffff;
}

.kolmar-footer a[href^="mailto:"] {
  color: #cdf7ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kolmar-footer a[href^="mailto:"]:hover {
  color: #00a3dc;
}

.kolmar-footer img {
  width: 158px;
  height: auto;
}

body[data-auth-mode] .auth-brand-panel h2,
body[data-auth-mode] .auth-brand-panel > p,
body[data-auth-mode] .auth-proof-grid dt,
body[data-auth-mode] .auth-proof-grid dd {
  color: #ffffff !important;
}

.btn-primary,
.auth-link-btn,
.order-btn,
.metric-option-btn.is-active,
.metric-option-btn[aria-pressed="true"] {
  background: #019ab9 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(1, 154, 185, 0.22) !important;
}

.product-visual {
  background: #ffffff !important;
  box-shadow: none !important;
}

.product-visual img {
  object-fit: contain !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

@media (max-width: 760px) {
  #site .topbar,
  #site .topbar.is-scrolled {
    grid-template-columns: 1fr !important;
    grid-template-rows: 46px 38px !important;
    height: 106px !important;
    min-height: 106px !important;
    padding: 8px 20px !important;
    gap: 5px !important;
  }

  #site .topbar .brand {
    height: 46px !important;
  }

  #site .topbar .brand-logo-image {
    width: 118px !important;
    max-height: 42px !important;
  }

  #site .topbar .nav-links {
    height: 38px !important;
    gap: 0 !important;
  }

  #site .topbar .nav-links a {
    font-size: 13px !important;
  }

  #site .topbar .nav-links a::after {
    bottom: 1px !important;
  }

  .hero.hero-generated {
    min-height: 620px !important;
  }

  .hero.hero-generated .hero-media {
    height: 84svh !important;
    min-height: 620px !important;
    max-height: 780px !important;
  }

  .hero.hero-generated .hero-brand-content {
    left: 7vw !important;
    top: 32% !important;
    max-width: 86vw !important;
  }

  .hero.hero-generated .hero-brand-copy span {
    font-size: clamp(24px, 6.4vw, 38px) !important;
  }

  .hero.hero-generated .hero-brand-logo img {
    width: 112px !important;
  }

  .hero.hero-generated .hero-brand-copy .hero-subtitle {
    margin-top: 14px;
    font-size: 12px !important;
  }

  .hero.hero-generated .hero-video-primary .hero-brand-content {
    bottom: 120px !important;
  }

  .hero.hero-generated .hero-video-primary .hero-brand-copy span {
    font-size: clamp(26px, 7.2vw, 40px) !important;
  }

  .hero.hero-generated .hero-brand-dots {
    bottom: 66px !important;
  }

  .hero-playback {
    bottom: 14px;
    right: 20px;
    min-height: 36px;
    padding: 6px 14px;
  }

  #products .product-matrix-card {
    grid-template-rows: 165px minmax(58px, auto) 36px !important;
  }

  #products .product-matrix-name {
    -webkit-line-clamp: 3 !important;
    max-height: none !important;
    font-size: 12px !important;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .kolmar-footer {
    flex-direction: column;
    gap: 22px;
    padding: 36px 24px;
    font-size: 12px;
  }

  .kolmar-footer img {
    width: 132px;
  }

  .kolmar-logo {
    width: 126px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .hero-brand-slide,
  .hero-brand-image img,
  .hero-brand-copy span {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
