:root {
  --g-navy: #173c57;
  --g-blue: #2f91c7;
  --g-orange: #ef8126;
  --g-text: #183241;
  --g-muted: #6d808c;
  --g-line: #dfe7ec;
  --g-light: #f5f8fa;
}
html {
  scroll-behavior: smooth;
}
body {
  word-break: keep-all;
  overflow-wrap: normal;
}
h1,
h2,
h3,
h4,
p,
li,
a,
button,
span,
strong {
  word-break: keep-all;
  line-break: strict;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}

.andami-global-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid var(--g-line);
  box-shadow: 0 4px 16px rgba(23, 60, 87, 0.055);
  backdrop-filter: blur(12px);
  font-family: "Noto Sans KR", "Pretendard", "Malgun Gothic", Arial, sans-serif;
}
.andami-global-top {
  background: #123b55;
  color: #dce7ed;
}
.andami-global-top-inner,
.andami-global-main-inner {
  width: min(1200px, 94vw);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.andami-global-top-inner {
  min-height: 29px;
  font-size: 9px;
}
.andami-global-top a {
  color: #e8f0f4;
  text-decoration: none;
}
.andami-global-main-inner {
  min-height: 68px;
  gap: 18px;
}
.andami-global-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--g-navy);
  flex: 0 0 auto;
}
.andami-global-mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--g-navy), var(--g-blue));
  color: #fff;
  font-weight: 950;
  font-size: 18px;
}
.andami-global-brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.andami-global-brand small {
  display: block;
  font-size: 7px;
  letter-spacing: 0.18em;
  color: #82949f;
  font-weight: 900;
}
.andami-global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex: 1;
  min-width: 0;
}
.andami-global-nav a {
  min-height: 68px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  color: #355366;
  text-decoration: none;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
  position: relative;
}
.andami-global-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--g-orange);
  transform: scaleX(0);
  transition: 0.18s ease;
}
.andami-global-nav a:hover::after,
.andami-global-nav a.active::after {
  transform: scaleX(1);
}
.andami-global-nav a.active {
  color: var(--g-navy);
}
.andami-global-cta {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  background: var(--g-orange);
  color: #fff !important;
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.andami-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--g-line);
  border-radius: 9px;
  background: #fff;
  padding: 9px;
}
.andami-mobile-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--g-navy);
  border-radius: 2px;
}

/* Use this only on actual product screenshots – do not force frames onto all images */
.andami-ui-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--g-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 60, 87, 0.055);
  image-rendering: auto;
  filter: none;
}
.andami-zoomable {
  cursor: zoom-in;
}

.andami-global-footer {
  background: #0d283a;
  color: #adbdc6;
  padding: 32px 0 17px;
  font-family: "Noto Sans KR", "Pretendard", "Malgun Gothic", Arial, sans-serif;
}
.andami-global-footer .inner {
  width: min(1200px, 94vw);
  margin: auto;
}
.andami-global-footer .top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}
.andami-global-footer strong {
  color: #fff;
}
.andami-global-footer p {
  margin: 7px 0 0;
  font-size: 10px;
  line-height: 1.7;
}
.andami-global-footer .links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.andami-global-footer a {
  color: #d5e0e6;
  text-decoration: none;
  font-size: 10px;
}
.andami-global-footer .copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 18px;
  padding-top: 12px;
  font-size: 9px;
}

/* image lightbox */
.andami-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(7, 22, 32, 0.9);
}
.andami-lightbox.active {
  display: flex;
}
.andami-lightbox img {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}
.andami-lightbox button {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 24px;
}

/* main representative image */
.andami-company-hero {
  background: #fff;
  border: 1px solid var(--g-line);
  border-radius: 18px;
  padding: 7px;
  box-shadow: 0 22px 50px rgba(23, 60, 87, 0.13);
  overflow: hidden;
}
.andami-company-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* About / Contact */
.andami-sub-hero {
  padding: 88px 0 68px;
  background: linear-gradient(135deg, #eef6fb, #fff);
}
.andami-sub-hero .inner,
.andami-section .inner {
  width: min(1200px, 94vw);
  margin: auto;
}
.andami-sub-hero .eyebrow {
  color: var(--g-orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.andami-sub-hero h1 {
  font-size: 44px;
  line-height: 1.2;
  color: var(--g-navy);
  margin: 9px 0 14px;
}
.andami-sub-hero p {
  max-width: 780px;
  color: var(--g-muted);
  line-height: 1.8;
}
.andami-section {
  padding: 80px 0;
}
.andami-section.alt {
  background: var(--g-light);
}
.andami-section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 28px;
}
.andami-section-head h2 {
  font-size: 34px;
  color: var(--g-navy);
  margin: 0;
}
.andami-section-head p {
  margin: 0;
  color: var(--g-muted);
  line-height: 1.8;
}
.andami-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.andami-card {
  padding: 20px;
  border: 1px solid var(--g-line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}
.andami-card small {
  color: var(--g-orange);
  font-size: 8px;
  font-weight: 950;
}
.andami-card b {
  display: block;
  margin: 5px 0;
  color: var(--g-navy);
  font-size: 16px;
}
.andami-card p {
  margin: 0;
  color: var(--g-muted);
  font-size: 11px;
  line-height: 1.65;
}
.andami-cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.andami-cert {
  padding: 16px;
  border: 1px solid var(--g-line);
  border-radius: 12px;
  background: #fff;
}
.andami-cert b {
  display: block;
  color: var(--g-navy);
  font-size: 13px;
}
.andami-cert span {
  font-size: 9px;
  color: var(--g-muted);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
.contact-form,
.contact-info {
  border: 1px solid var(--g-line);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field.full {
  grid-column: 1/-1;
}
.form-field label {
  font-size: 10px;
  font-weight: 850;
  color: var(--g-navy);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #cfdae0;
  border-radius: 9px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}
.form-field textarea {
  min-height: 150px;
  resize: vertical;
}
.solution-checks {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.solution-checks label {
  padding: 8px 10px;
  border: 1px solid var(--g-line);
  border-radius: 999px;
  background: #f9fbfc;
  font-size: 9px;
}
.contact-submit {
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  background: var(--g-orange);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.contact-info h3 {
  color: var(--g-navy);
  font-size: 22px;
  margin: 0 0 14px;
}
.contact-info dl {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 9px 12px;
  font-size: 11px;
}
.contact-info dt {
  font-weight: 900;
  color: #536b79;
}
.contact-info dd {
  margin: 0;
  color: #243f50;
}
.contact-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  background: #f1f7fa;
  color: #516875;
  font-size: 10px;
  line-height: 1.7;
}

@media (max-width: 1040px) {
  .andami-global-nav {
    display: none;
  }
  .andami-mobile-toggle {
    display: block;
    margin-left: auto;
  }
  .andami-global-cta {
    display: none;
  }
  .andami-global-main-inner {
    position: relative;
  }
  .andami-global-nav.open {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 8px 4vw 14px;
    border-top: 1px solid var(--g-line);
    box-shadow: 0 18px 30px rgba(23, 60, 87, 0.11);
  }
  .andami-global-nav.open a {
    min-height: 46px;
  }
  .andami-section-head,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .andami-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .andami-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .andami-global-top {
    display: none;
  }
  .andami-global-main-inner {
    min-height: 62px;
  }
  .andami-global-nav.open {
    top: 62px;
  }
  .andami-card-grid,
  .andami-cert-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .andami-sub-hero h1 {
    font-size: 35px;
  }
  .andami-global-footer .top {
    display: block;
  }
  .andami-global-footer .links {
    margin-top: 14px;
  }
}

/* ==========================================================
   v4 Premium unified header — single bar + mega menu
   ========================================================== */
.andami-global-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid #e2e8ec;
  box-shadow: 0 5px 22px rgba(23, 60, 87, 0.055);
  backdrop-filter: blur(14px);
  font-family: "Noto Sans KR", "Pretendard", "Malgun Gothic", Arial, sans-serif;
}
.andami-global-top {
  background: #123b55;
  color: #dce7ed;
}
.andami-global-top-inner,
.andami-global-main-inner {
  width: min(1200px, 94vw);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.andami-global-top-inner {
  min-height: 30px;
  font-size: 9px;
}
.andami-global-top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.andami-global-top-left i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef8126;
  box-shadow: 0 0 0 4px rgba(239, 129, 38, 0.12);
}
.andami-global-top-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.andami-global-top a {
  color: #e7f0f4;
  text-decoration: none;
}
.andami-global-main-inner {
  min-height: 74px;
  gap: 22px;
}
.andami-global-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #173c57;
  min-width: 188px;
}
.andami-global-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #173c57, #2f91c7);
  color: #fff;
  font-weight: 950;
  font-size: 19px;
  box-shadow: 0 8px 18px rgba(23, 60, 87, 0.14);
}
.andami-global-brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.andami-global-brand small {
  display: block;
  margin-top: 3px;
  font-size: 7px;
  letter-spacing: 0.18em;
  color: #81939e;
  font-weight: 900;
}
.andami-global-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
  flex: 1;
  height: 74px;
}
.andami-menu-item {
  position: relative;
  display: flex;
  align-items: stretch;
}
.andami-menu-link {
  height: 74px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #355366;
  text-decoration: none;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.andami-menu-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #ef8126;
  transform: scaleX(0);
  transition: transform 0.18s ease;
}
.andami-menu-item:hover > .andami-menu-link::after,
.andami-menu-item.is-open > .andami-menu-link::after,
.andami-menu-link.active::after {
  transform: scaleX(1);
}
.andami-menu-link.active {
  color: #173c57;
}
.andami-menu-caret {
  font-size: 8px;
  color: #8fa0aa;
  transition: 0.18s;
}
.andami-menu-item.is-open .andami-menu-caret {
  transform: rotate(180deg);
}
.andami-global-cta {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 10px;
  background: #ef8126;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 9px 20px rgba(239, 129, 38, 0.16);
}

/* Mega menu */
.andami-mega {
  position: fixed;
  left: 50%;
  top: 104px;
  transform: translateX(-50%) translateY(-7px);
  width: min(1130px, 94vw);
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  padding: 20px;
  border: 1px solid #dfe7ec;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: 0 28px 65px rgba(23, 60, 87, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.16s ease;
}
.andami-menu-item:hover .andami-mega,
.andami-menu-item.is-open .andami-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.andami-mega-intro {
  padding: 8px 16px 8px 4px;
  border-right: 1px solid #e7edf1;
}
.andami-mega-intro small {
  display: block;
  color: #ef8126;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.12em;
}
.andami-mega-intro b {
  display: block;
  margin-top: 7px;
  color: #173c57;
  font-size: 20px;
  line-height: 1.4;
}
.andami-mega-intro p {
  margin: 10px 0 0;
  color: #738590;
  font-size: 10px;
  line-height: 1.65;
}
.andami-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.andami-mega-card {
  min-height: 112px;
  padding: 14px;
  border: 1px solid #e1e8ec;
  border-radius: 12px;
  background: #fbfcfd;
  text-decoration: none;
  transition: 0.16s ease;
}
.andami-mega-card:hover {
  transform: translateY(-2px);
  border-color: #b9cedb;
  background: #fff;
  box-shadow: 0 10px 23px rgba(23, 60, 87, 0.07);
}
.andami-mega-card small {
  display: block;
  color: #7690a0;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.1em;
}
.andami-mega-card strong {
  display: block;
  margin: 4px 0 2px;
  color: #173c57;
  font-size: 15px;
}
.andami-mega-card p {
  margin: 6px 0 0;
  color: #7b8d97;
  font-size: 8px;
  line-height: 1.55;
}
.andami-mega-card.eq {
  background: linear-gradient(145deg, #fff7f0, #fff);
}
.andami-mega-card.eq strong {
  color: #c96518;
}

/* Small dropdown */
.andami-dropdown {
  position: absolute;
  top: 66px;
  left: 50%;
  transform: translateX(-50%) translateY(-7px);
  width: 285px;
  padding: 8px;
  border: 1px solid #dfe7ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(23, 60, 87, 0.13);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.16s ease;
}
.andami-menu-item:hover .andami-dropdown,
.andami-menu-item.is-open .andami-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.andami-dropdown a {
  display: block;
  padding: 11px 12px;
  border-radius: 9px;
  text-decoration: none;
}
.andami-dropdown a:hover {
  background: #f5f8fa;
}
.andami-dropdown small {
  display: block;
  color: #ef8126;
  font-size: 7px;
  font-weight: 950;
}
.andami-dropdown strong {
  display: block;
  margin: 2px 0;
  color: #173c57;
  font-size: 12px;
}
.andami-dropdown span {
  display: block;
  color: #81919a;
  font-size: 8px;
}
.andami-mobile-toggle {
  display: none;
}

/* ==========================================================
   Premium About page
   ========================================================== */
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 74px;
  background: linear-gradient(135deg, #eef6fb 0%, #fff 56%, #f8fbfd 100%);
}
.about-hero .inner {
  width: min(1200px, 94vw);
  margin: auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: center;
}
.about-hero .eyebrow {
  color: #ef8126;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
}
.about-hero h1 {
  margin: 10px 0 16px;
  color: #173c57;
  font-size: 46px;
  line-height: 1.2;
  letter-spacing: -1.5px;
}
.about-hero p {
  margin: 0;
  color: #657b87;
  line-height: 1.85;
  font-size: 14px;
}
.about-hero-visual {
  background: #fff;
  border: 1px solid #dfe7ec;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 24px 55px rgba(23, 60, 87, 0.12);
}
.about-hero-visual img {
  display: block;
  width: 100%;
  border-radius: 14px;
}
.about-value-strip {
  width: min(1200px, 94vw);
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #dfe7ec;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.about-value-strip div {
  padding: 16px 18px;
  border-right: 1px solid #e5ecef;
}
.about-value-strip div:last-child {
  border-right: 0;
}
.about-value-strip small {
  display: block;
  color: #ef8126;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.09em;
}
.about-value-strip b {
  display: block;
  margin-top: 4px;
  color: #173c57;
  font-size: 13px;
}
.premium-section {
  padding: 86px 0;
}
.premium-section.alt {
  background: #f5f8fa;
}
.premium-section .inner {
  width: min(1200px, 94vw);
  margin: auto;
}
.premium-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: end;
  margin-bottom: 30px;
}
.premium-head small {
  display: block;
  color: #ef8126;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
}
.premium-head h2 {
  margin: 6px 0 0;
  color: #173c57;
  font-size: 34px;
  line-height: 1.3;
}
.premium-head p {
  margin: 0;
  color: #6d808b;
  line-height: 1.8;
  font-size: 12px;
}
.ceo-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
}
.ceo-card {
  padding: 28px;
  border-radius: 17px;
  background: linear-gradient(145deg, #153d56, #0f2f45);
  color: #fff;
}
.ceo-card small {
  color: #ffb477;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.1em;
}
.ceo-card h3 {
  font-size: 25px;
  line-height: 1.4;
  margin: 8px 0 14px;
}
.ceo-card p {
  color: #d8e4e9;
  font-size: 12px;
  line-height: 1.85;
}
.ceo-card strong {
  display: block;
  margin-top: 16px;
}
.about-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.about-principle {
  padding: 20px;
  border: 1px solid #dfe7ec;
  border-radius: 14px;
  background: #fff;
}
.about-principle small {
  color: #ef8126;
  font-size: 8px;
  font-weight: 950;
}
.about-principle b {
  display: block;
  margin: 5px 0;
  color: #173c57;
  font-size: 16px;
}
.about-principle p {
  margin: 0;
  color: #6f818c;
  font-size: 10px;
  line-height: 1.7;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.proof-card {
  padding: 20px;
  border: 1px solid #dfe7ec;
  border-radius: 14px;
  background: #fff;
  min-height: 122px;
}
.proof-card small {
  color: #ef8126;
  font-size: 8px;
  font-weight: 950;
}
.proof-card b {
  display: block;
  margin: 6px 0;
  color: #173c57;
  font-size: 15px;
}
.proof-card p {
  margin: 0;
  color: #71838e;
  font-size: 10px;
  line-height: 1.65;
}
.cert-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.cert-card {
  padding: 17px;
  border: 1px solid #dfe7ec;
  border-radius: 13px;
  background: #fff;
}
.cert-card b {
  display: block;
  color: #173c57;
  font-size: 12px;
}
.cert-card span {
  display: block;
  margin-top: 5px;
  color: #758792;
  font-size: 8px;
  line-height: 1.55;
}
.about-portfolio {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.about-product {
  padding: 20px;
  border: 1px solid #dfe7ec;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: 0.16s ease;
}
.about-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(23, 60, 87, 0.07);
}
.about-product small {
  color: #ef8126;
  font-size: 8px;
  font-weight: 950;
}
.about-product strong {
  display: block;
  color: #173c57;
  font-size: 17px;
  margin: 5px 0;
}
.about-product p {
  margin: 0;
  color: #70828d;
  font-size: 10px;
  line-height: 1.6;
}

/* ==========================================================
   Premium Contact page
   ========================================================== */
.contact-hero {
  padding: 78px 0 66px;
  background: linear-gradient(135deg, #123b55, #245e80);
  color: #fff;
}
.contact-hero .inner {
  width: min(1200px, 94vw);
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}
.contact-hero small {
  display: block;
  color: #ffb477;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.12em;
}
.contact-hero h1 {
  margin: 8px 0 15px;
  font-size: 42px;
  line-height: 1.25;
}
.contact-hero p {
  margin: 0;
  color: #d8e5eb;
  line-height: 1.8;
  font-size: 13px;
}
.contact-hero-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.contact-hero-point {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}
.contact-hero-point b {
  display: block;
  font-size: 12px;
}
.contact-hero-point span {
  font-size: 8px;
  color: #c9dae2;
}
.contact-main {
  padding: 72px 0;
  background: #f5f8fa;
}
.contact-main .inner {
  width: min(1200px, 94vw);
  margin: auto;
}
.contact-layout-premium {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 20px;
}
.contact-form-premium,
.contact-side-card {
  background: #fff;
  border: 1px solid #dfe7ec;
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(23, 60, 87, 0.045);
}
.contact-form-premium {
  padding: 26px;
}
.contact-form-premium h2 {
  margin: 0 0 5px;
  color: #173c57;
  font-size: 24px;
}
.contact-form-premium > p {
  margin: 0 0 22px;
  color: #70828d;
  font-size: 10px;
}
.contact-side-card {
  padding: 24px;
}
.contact-side-card h3 {
  margin: 0 0 16px;
  color: #173c57;
  font-size: 19px;
}
.contact-info-list {
  display: grid;
  gap: 10px;
}
.contact-info-item {
  padding: 13px;
  border: 1px solid #e3e9ed;
  border-radius: 11px;
  background: #fbfcfd;
}
.contact-info-item small {
  display: block;
  color: #ef8126;
  font-size: 7px;
  font-weight: 950;
}
.contact-info-item b,
.contact-info-item a {
  display: block;
  margin-top: 3px;
  color: #173c57;
  font-size: 11px;
  text-decoration: none;
}
.contact-process {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e4ebef;
}
.contact-process h4 {
  margin: 0 0 10px;
  color: #173c57;
}
.contact-steps {
  display: grid;
  gap: 8px;
}
.contact-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.contact-step i {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #edf4ff;
  color: #2366bd;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 9px;
  font-weight: 950;
}
.contact-step b {
  display: block;
  color: #173c57;
  font-size: 10px;
}
.contact-step span {
  font-size: 8px;
  color: #738590;
}
.form-grid-premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full {
  grid-column: 1/-1;
}
.form-group label {
  font-size: 9px;
  font-weight: 900;
  color: #345266;
}
.form-group input,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfd9df;
  border-radius: 9px;
  background: #fff;
  padding: 11px 12px;
  font: inherit;
}
.form-group textarea {
  min-height: 150px;
  resize: vertical;
}
.solution-pill-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.solution-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border: 1px solid #dce5ea;
  border-radius: 999px;
  background: #f9fbfc;
  font-size: 8px;
  color: #516977;
  white-space: nowrap;
}
.solution-pill input {
  width: auto;
  min-height: 0;
  border: 0;
  padding: 0;
  background: none;
}
.contact-submit-premium {
  min-height: 44px;
  padding: 0 17px;
  border: 0;
  border-radius: 9px;
  background: #ef8126;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.mail-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 9px;
  background: #f1f7fa;
  color: #5c727f;
  font-size: 9px;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .andami-global-nav {
    display: none;
  }
  .andami-mobile-toggle {
    display: block;
    margin-left: auto;
  }
  .andami-global-cta {
    display: none;
  }
  .andami-global-main-inner {
    position: relative;
  }
  .andami-global-nav.open {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    height: auto;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 4vw 14px;
    border-top: 1px solid #e3e9ed;
    box-shadow: 0 18px 30px rgba(23, 60, 87, 0.11);
  }
  .andami-menu-item {
    display: block;
  }
  .andami-menu-link {
    width: 100%;
    height: 48px;
    justify-content: space-between;
    padding: 0 4px;
  }
  .andami-mega,
  .andami-dropdown {
    position: static;
    width: 100%;
    transform: none !important;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 10px;
  }
  .andami-menu-item.is-open .andami-mega,
  .andami-menu-item.is-open .andami-dropdown {
    display: block;
  }
  .andami-mega {
    grid-template-columns: 1fr;
  }
  .andami-mega-intro {
    display: none;
  }
  .andami-mega-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-hero .inner,
  .ceo-grid,
  .contact-hero .inner,
  .contact-layout-premium,
  .premium-head {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .andami-global-top {
    display: none;
  }
  .andami-global-main-inner {
    min-height: 64px;
  }
  .andami-global-nav.open {
    top: 64px;
  }
  .andami-mega-grid,
  .about-principles,
  .proof-grid,
  .about-portfolio,
  .cert-row,
  .form-grid-premium,
  .contact-hero-points {
    grid-template-columns: 1fr;
  }
  .about-value-strip {
    grid-template-columns: 1fr 1fr;
  }
  .about-hero h1,
  .contact-hero h1 {
    font-size: 34px;
  }
}

/* ==========================================================
   v5 FINAL POLISH
   ========================================================== */

/* Product Korean labels */
.andami-mega-card em {
  display: block;
  margin-top: 2px;
  color: #4f6877;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}
.andami-mega-card.eq em {
  color: #b86624;
}
.solution-korean-name {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-top: 10px;
  padding: 0 10px;
  border-radius: 999px;
  background: #edf4f7;
  color: #355569;
  font-size: 10px;
  font-weight: 900;
}
.solution-korean-name.orange {
  background: #fff1e5;
  color: #bf621e;
}
.solution-family-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.solution-family-link {
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid #dfe7ec;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}
.solution-family-link:hover {
  transform: translateY(-2px);
  border-color: #bdcfda;
  box-shadow: 0 9px 22px rgba(23, 60, 87, 0.06);
}
.solution-family-link strong {
  display: block;
  color: #173c57;
  font-size: 13px;
}
.solution-family-link span {
  display: block;
  margin-top: 2px;
  color: #70838e;
  font-size: 9px;
  font-weight: 850;
}
.solution-family-link b {
  color: #ef8126;
  font-size: 15px;
}

/* Two image grammars only */
.brand-visual {
  display: block;
  width: 100%;
  height: auto;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  background: transparent !important;
}
.andami-ui-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 1px solid #dfe7ec;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(23, 60, 87, 0.055);
  filter: none !important;
  image-rendering: auto;
}

/* Product-specific CTA */
.product-final-cta {
  width: min(1200px, 94vw);
  margin: 26px auto 0;
  padding: 18px 20px;
  border: 1px solid #dfe7ec;
  border-radius: 14px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.product-final-cta strong {
  display: block;
  color: #173c57;
  font-size: 14px;
}
.product-final-cta span {
  display: block;
  margin-top: 3px;
  color: #71838e;
  font-size: 9px;
}
.product-final-cta a {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  background: #ef8126;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 900;
}

/* About – stronger trust / hierarchy */
.about-trust-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 17px;
  background: linear-gradient(145deg, #143b54, #0f2d42);
  color: #fff;
}
.about-trust-band h3 {
  margin: 0 0 10px;
  font-size: 23px;
}
.about-trust-band p {
  margin: 0;
  color: #d6e3e9;
  font-size: 11px;
  line-height: 1.8;
}
.about-trust-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.about-trust-point {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
}
.about-trust-point b {
  display: block;
  font-size: 11px;
}
.about-trust-point span {
  font-size: 8px;
  color: #c8d9e1;
}

/* Contact intent selector */
.contact-intents {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.contact-intent {
  padding: 12px;
  border: 1px solid #dce5ea;
  border-radius: 11px;
  background: #fbfcfd;
  cursor: pointer;
}
.contact-intent input {
  margin-right: 5px;
}
.contact-intent b {
  font-size: 10px;
  color: #173c57;
}
.contact-intent span {
  display: block;
  margin: 4px 0 0 19px;
  color: #788994;
  font-size: 8px;
}

/* Skeleton-safe dimensions / transitions */
[data-tabs] {
  position: relative;
}
.tab,
.andami-tab-button {
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
}
img[loading="lazy"] {
  content-visibility: auto;
}

/* Focus accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 145, 199, 0.35);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .solution-family-strip {
    grid-template-columns: 1fr 1fr;
  }
  .product-final-cta {
    display: block;
  }
  .product-final-cta a {
    margin-top: 12px;
  }
  .contact-intents {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .solution-family-strip,
  .contact-intents,
  .about-trust-band,
  .about-trust-points {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   v6 Menu typography + simplified solution mega menu
   ========================================================== */
.andami-global-top-inner {
  font-size: 10px;
}
.andami-global-brand strong {
  font-size: 19px;
}
.andami-global-brand small {
  font-size: 8px;
}

.andami-menu-link {
  font-size: 13px !important;
  font-weight: 850 !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
}
.andami-global-cta {
  font-size: 11px !important;
  min-height: 44px !important;
  padding: 0 17px !important;
}
.andami-mega {
  grid-template-columns: 220px 1fr !important;
}
.andami-mega-intro b {
  font-size: 18px !important;
  line-height: 1.45 !important;
}
.andami-mega-intro p {
  font-size: 10px !important;
}
.andami-mega-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 9px !important;
}
.andami-mega-card {
  min-height: 76px !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}
.andami-mega-card strong {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}
.andami-mega-card em {
  margin: 0 !important;
  flex: 0 0 auto;
  font-size: 11px !important;
  color: #526b79 !important;
}
.andami-mega-card.eq em {
  color: #b86624 !important;
}
.andami-mega-card small,
.andami-mega-card p {
  display: none !important;
}
.andami-dropdown strong {
  font-size: 13px !important;
}
.andami-dropdown span {
  font-size: 9px !important;
}
.andami-dropdown small {
  font-size: 8px !important;
}

@media (max-width: 1080px) {
  .andami-menu-link {
    font-size: 12px !important;
  }
  .andami-mega-card {
    min-height: 64px !important;
  }
}

/* ==========================================================
   v6 Main SHMS / EquipCare image-space correction
   fixed-height blank space removed, stable aspect canvas used
   ========================================================== */
#shms .panel.active,
#equipcare .panel.active {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  align-items: stretch !important;
}
#shms .screen,
#equipcare .screen {
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  padding: 4px !important;
  background: #fff !important;
  align-self: stretch !important;
}
#shms .screen {
  aspect-ratio: 1.84 / 1;
}
#equipcare .screen {
  aspect-ratio: 2.2 / 1;
}
#shms .screen img,
#equipcare .screen img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  border-radius: 8px !important;
}
#shms .panel-copy,
#equipcare .panel-copy {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
#shms .panel.active {
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.52fr) !important;
}
#equipcare .panel.active {
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr) !important;
}
@media (max-width: 1000px) {
  #shms .screen,
  #equipcare .screen {
    aspect-ratio: auto !important;
  }
  #shms .screen img,
  #equipcare .screen img {
    height: auto !important;
  }
}

/* Remove duplicate CTA spacing when one canonical CTA is used */
.product-final-cta {
  display: none !important;
}

.section-product-name .section-name-ko {
  display: inline-block;
  margin-left: 9px;
  vertical-align: middle;
  color: #5d7481;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}
.section-product-name.orange .section-name-ko {
  color: #b76524;
}

/* ==========================================================
   v7 Readability / original logo / tab definition
   ========================================================== */

/* Original homepage logo */
.andami-global-brand {
  min-width: 184px !important;
  gap: 0 !important;
}
.andami-header-logo {
  display: block;
  width: 175px;
  height: 41px;
  object-fit: contain;
  object-position: left center;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.andami-global-mark,
.andami-global-brand > span {
  display: none !important;
}

/* Main menu readability */
.andami-global-top-inner {
  font-size: 11px !important;
}
.andami-menu-link {
  font-size: 14px !important;
  font-weight: 850 !important;
  letter-spacing: -0.12px;
}
.andami-global-cta {
  font-size: 12px !important;
  font-weight: 900 !important;
}
.andami-mega-card strong {
  font-size: 17px !important;
}
.andami-mega-card em {
  font-size: 12px !important;
}
.andami-dropdown strong {
  font-size: 14px !important;
}
.andami-dropdown span {
  font-size: 10px !important;
}

/* Common body readability — only raise undersized text */
.section-head p,
.hero p,
.panel-copy p,
.solution-premium-desc,
.premium-head p,
.contact-hero p,
.about-hero p {
  font-size: max(12px, 0.78rem) !important;
}
.panel-copy small,
.kicker,
.product-name-eyebrow,
.solution-premium-top small {
  font-size: 10px !important;
}
.panel-copy li {
  font-size: 11px !important;
}
.andami-global-footer p,
.andami-global-footer a {
  font-size: 11px !important;
}
.andami-global-footer .copy {
  font-size: 10px !important;
}

/* All tab controls: visible colored border */
.tab,
[role="tab"],
button[data-target],
.kpi-tab,
.fac-law-tab,
.ecq-tab,
.tabs button,
.tab-btn,
.tab-button {
  border: 1.5px solid #79aeca !important;
  box-shadow: 0 1px 0 rgba(23, 60, 87, 0.025);
}
.tab:hover,
[role="tab"]:hover,
button[data-target]:hover,
.kpi-tab:hover,
.fac-law-tab:hover,
.ecq-tab:hover,
.tabs button:hover,
.tab-btn:hover,
.tab-button:hover {
  border-color: #ef8126 !important;
}
.tab.active,
[role="tab"].active,
button[data-target].active,
.kpi-tab.active,
.fac-law-tab.active,
.ecq-tab.active,
.tabs button.active,
.tab-btn.active,
.tab-button.active,
[aria-selected="true"] {
  border-color: #173c57 !important;
  box-shadow: inset 0 -3px 0 #ef8126 !important;
}

/* CMS hero title / subtitle error correction */
.cms-product-title-wrap {
  display: block;
  position: relative;
  margin: 0 0 14px;
  padding: 0;
}
.cms-product-title-wrap h1 {
  margin-bottom: 8px !important;
}
.cms-product-subtitle {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #9fc1d4;
  border-radius: 999px;
  background: #f7fbfd;
  color: #244d68;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  position: static !important;
  transform: none !important;
  z-index: auto !important;
}

/* Reduce very small product meta labels */
.solution-family-link span,
.about-product p,
.proof-card p,
.cert-card span,
.contact-info-item small,
.contact-step span {
  font-size: 10px !important;
}

@media (max-width: 1080px) {
  .andami-header-logo {
    width: 160px;
    height: auto;
  }
  .andami-menu-link {
    font-size: 13px !important;
  }
}
@media (max-width: 640px) {
  .andami-header-logo {
    width: 148px;
    height: auto;
  }
}

/* ==========================================================
   v8 SHMS main-page panel overlap fix
   ========================================================== */
#shms .panel.active {
  display: grid !important;
  grid-template-columns: minmax(0, 1.32fr) minmax(330px, 0.68fr) !important;
  gap: 14px !important;
  padding: 14px !important;
  align-items: stretch !important;
}
#shms .screen {
  min-width: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
  aspect-ratio: auto !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 4px !important;
}
#shms .screen img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 560px !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
}
#shms .panel-copy {
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  min-height: 100% !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
  padding: 22px !important;
}
#shms .panel-copy h3,
#shms .panel-copy p,
#shms .panel-copy ul,
#shms .panel-copy li {
  position: relative !important;
  z-index: 2 !important;
}
@media (max-width: 1000px) {
  #shms .panel.active {
    grid-template-columns: 1fr !important;
  }
  #shms .screen img {
    max-height: none !important;
  }
}

/* Retire CMS subtitle style because badge is removed */
.cms-product-subtitle {
  display: none !important;
}

/* ==========================================================
   v9 FINAL SHMS overlap isolation
   ========================================================== */
#shms .panel.active {
  display: grid !important;
  grid-template-columns: minmax(0, 67%) minmax(0, 33%) !important;
  column-gap: 14px !important;
  align-items: stretch !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
#shms .panel.active > .screen,
#shms .panel.active > .panel-copy {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
#shms .panel.active > .screen {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  contain: layout paint !important;
  padding: 4px !important;
}
#shms .panel.active > .screen > img {
  display: block !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 560px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  box-sizing: border-box !important;
}
#shms .panel.active > .panel-copy {
  width: 100% !important;
  position: relative !important;
  z-index: 5 !important;
  overflow: auto !important;
  min-height: 0 !important;
  height: auto !important;
}
@media (max-width: 1000px) {
  #shms .panel.active {
    grid-template-columns: 1fr !important;
    overflow: visible !important;
  }
  #shms .panel.active > .panel-copy {
    overflow: visible !important;
  }
  #shms .panel.active > .screen > img {
    max-height: none !important;
  }
}

/* v11 About original homepage content */
.original-results-grid {
  grid-template-columns: repeat(3, 1fr);
}
.original-results-grid .proof-card {
  min-height: 88px;
  display: flex;
  align-items: center;
}
.original-results-grid .proof-card b {
  margin: 0;
  font-size: 14px;
}
@media (max-width: 900px) {
  .original-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .original-results-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   v12 — Unified tabs: 3s / no-wrap / no page shake
   ========================================================== */

/* Tab text must never wrap */
.tabs,
.domain-tabs,
.ecq-reg-tabs,
.fac-law-tabs,
[data-tabs],
[data-ecq-tabs],
[data-fac-tabs] {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.tab,
[role="tab"],
button[data-target],
.ecq-reg-tab,
.fac-law-tab {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  flex-shrink: 0;
}

/* Screenshot/card labels that should remain one line */
.no-wrap-label,
.icms-fact b,
.icms-fact span,
.solution-family-link strong,
.solution-family-link span {
  white-space: nowrap !important;
  word-break: keep-all !important;
}

/* Keep very long one-line labels readable without wrapping */
@media (max-width: 700px) {
  .no-wrap-label {
    font-size: 10px !important;
    letter-spacing: -0.25px;
  }
}

/* ==========================================================
   v12 About — original homepage photo/logo/certificate assets
   ========================================================== */
.about-original-ceo {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid #dfe7ec;
  border-radius: 18px;
  background: #fff;
}
.about-original-ceo-copy p {
  margin: 0 0 10px;
  color: #536b79;
  font-size: 12px;
  line-height: 1.78;
}
.about-original-ceo-copy strong {
  display: block;
  margin-top: 18px;
  color: #173c57;
  font-size: 14px;
}
.about-original-ceo-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.about-original-ceo-image img {
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
  object-fit: contain;
}

.original-results-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.original-result-card {
  min-height: 178px;
  padding: 18px;
  border: 1px solid #dfe7ec;
  border-radius: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.original-result-logo {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.original-result-logo img {
  max-width: 180px !important;
  max-height: 60px !important;
  width: auto;
  height: auto;
  object-fit: contain;
}
.original-result-card p {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #edf1f3;
  color: #345266;
  font-size: 10px;
  line-height: 1.6;
  font-weight: 800;
}

.original-cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.original-cert-card {
  padding: 14px;
  border: 1px solid #dfe7ec;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}
.original-cert-image {
  aspect-ratio: 0.72/1;
  margin-bottom: 12px;
  background: #f7f9fa;
  border: 1px solid #e7ecef;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.original-cert-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.original-cert-card b {
  display: block;
  color: #173c57;
  font-size: 11px;
}
.original-cert-card span {
  display: block;
  margin-top: 5px;
  color: #738590;
  font-size: 9px;
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .about-original-ceo {
    grid-template-columns: 1fr;
  }
  .original-results-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .original-cert-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .original-results-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .original-cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .original-results-logo-grid,
  .original-cert-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   v13 FINAL IMAGE LAYOUT SAFETY
   Prevent images from crossing grid/card boundaries site-wide
   ========================================================== */

/* Every media element must remain inside its own layout box */
img,
svg,
video,
canvas {
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.andami-ui-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none;
  object-fit: contain !important;
  object-position: center !important;
  position: static !important;
  float: none !important;
  transform: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Grid/flex children that contain product images may shrink correctly */
.panel > *,
.domain-panel > *,
.show-panel > *,
.ai-grid > *,
.product-detail > *,
.icms-hero-grid > *,
.icms-deck-grid > *,
.fac-panel-grid > *,
.ecq-reg-panel > *,
.contact-layout-premium > *,
.about-original-ceo > * {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Actual screenshot containers clip only their own visual */
.screen,
.show-screen,
.domain-image,
.ai-visual,
.product-screen,
.fac-screen,
.icms-hero-image,
.product-image {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Do not let inner images create a wider intrinsic track */
.screen img,
.show-screen img,
.domain-image img,
.ai-visual img,
.product-screen img,
.fac-screen img,
.icms-hero-image img,
.product-image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  position: static !important;
  transform: none !important;
  float: none !important;
}

/* Tablet/mobile: every image-content pair becomes a single safe column */
@media (max-width: 1000px) {
  .panel.active,
  .domain-panel.active,
  .show-panel.active,
  .ai-grid,
  .product-detail,
  .icms-hero-grid,
  .fac-panel-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   v15 CEO MESSAGE REFINED
   ========================================================== */
.ceo-message-section {
  background: #fff;
}
.ceo-message-head {
  margin-bottom: 30px;
}
.ceo-message-head h2 {
  max-width: 690px;
}
.ceo-message-card {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr) !important;
  gap: 34px !important;
  padding: 32px !important;
  align-items: stretch !important;
  border-color: #d9e4ea !important;
  box-shadow: 0 12px 34px rgba(23, 60, 87, 0.055);
}
.ceo-message-quote {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-left: 4px solid #ef8126;
  border-radius: 0 10px 10px 0;
  background: #f7fafc;
  color: #173c57;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 900;
  letter-spacing: -0.35px;
}
.ceo-message-card .about-original-ceo-copy p {
  font-size: 12.5px;
  line-height: 1.85;
  color: #506978;
}
.ceo-message-closing {
  margin-top: 18px !important;
  color: #173c57 !important;
  font-weight: 800;
}
.ceo-signature {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid #e4ebef;
}
.ceo-signature span {
  color: #81939e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.ceo-signature strong {
  color: #173c57;
  font-size: 15px;
}
.ceo-photo-card {
  position: relative;
  min-height: 390px !important;
  padding: 16px;
  border-radius: 15px;
  background: linear-gradient(145deg, #eef6fa, #f9fbfc);
  overflow: hidden;
}
.ceo-photo-card img {
  width: 100% !important;
  max-width: 420px !important;
  height: 100% !important;
  max-height: 390px;
  object-fit: contain !important;
  object-position: center bottom;
  margin: auto;
}
.ceo-photo-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(23, 60, 87, 0.08);
}
.ceo-photo-caption small {
  display: block;
  color: #ef8126;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.1em;
}
.ceo-photo-caption strong {
  display: block;
  margin-top: 2px;
  color: #173c57;
  font-size: 12px;
}
.ceo-value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.ceo-value-row > div {
  min-height: 94px;
  padding: 16px;
  border: 1px solid #dfe7ec;
  border-radius: 12px;
  background: #fbfcfd;
}
.ceo-value-row small {
  color: #ef8126;
  font-size: 8px;
  font-weight: 950;
}
.ceo-value-row b {
  display: block;
  margin: 4px 0;
  color: #173c57;
  font-size: 13px;
}
.ceo-value-row span {
  display: block;
  color: #70828d;
  font-size: 9px;
  line-height: 1.5;
}
@media (max-width: 1000px) {
  .ceo-message-card {
    grid-template-columns: 1fr !important;
  }
  .ceo-photo-card {
    min-height: 320px !important;
  }
  .ceo-value-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .ceo-message-quote {
    font-size: 16px;
  }
  .ceo-signature {
    display: block;
  }
  .ceo-signature strong {
    display: block;
    margin-top: 6px;
  }
  .ceo-value-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   v16 FINAL POLISH
   ========================================================== */

/* All actual product screenshot frames use the same breathing room */
.screen,
.show-screen,
.domain-image,
.ai-visual,
.product-screen,
.fac-screen,
.icms-hero-image,
.product-image {
  padding: 12px !important;
  background: #fff !important;
  border: 1px solid #dfe7ec !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}
.screen img,
.show-screen img,
.domain-image img,
.ai-visual img,
.product-screen img,
.fac-screen img,
.icms-hero-image img,
.product-image img {
  border-radius: 9px !important;
}

/* Main SHMS / EquipCare visual canvas: enough whitespace, no overflow */
#shms .panel.active > .screen,
#equipcare .panel.active > .screen,
#ai .panel.active > .screen {
  padding: 12px !important;
}
#shms .panel.active > .screen img,
#equipcare .panel.active > .screen img,
#ai .panel.active > .screen img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: auto !important;
  object-fit: contain !important;
}

/* EquipCare365 mega-menu card must use same background as all solutions */
.andami-mega-card.eq {
  background: #fbfcfd !important;
}
.andami-mega-card.eq:hover {
  background: #fff !important;
}
.andami-mega-card.eq strong,
.andami-mega-card.eq em {
  color: #173c57 !important;
}

/* Venture certification mark in footer */
.venture-footer-mark {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.venture-footer-mark img {
  display: block;
  width: 150px;
  height: auto;
  max-width: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  filter: none !important;
}
.andami-global-footer .venture-footer-mark + .copy {
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 640px) {
  .screen,
  .show-screen,
  .domain-image,
  .ai-visual,
  .product-screen,
  .fac-screen,
  .icms-hero-image,
  .product-image {
    padding: 8px !important;
  }
  .venture-footer-mark img {
    width: 130px;
  }
}

/* ==========================================================
   v17 FINAL CUSTOMER UX POLISH
   ========================================================== */

/* Main hero clarity */
.hero-primary-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.hero-primary-btn,
.hero-secondary-btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}
.hero-primary-btn {
  background: #173c57;
  color: #fff;
}
.hero-secondary-btn {
  background: #fff;
  color: #173c57;
  border: 1px solid #b9cbd6;
}

/* Equal product hierarchy */
.final-product-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.final-product-card {
  border: 1px solid #dfe7ec;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.final-product-card:hover {
  transform: translateY(-3px);
  border-color: #b8ccd8;
  box-shadow: 0 14px 30px rgba(23, 60, 87, 0.08);
}
.final-product-image {
  aspect-ratio: 1.55/1;
  background: #f8fafb;
  padding: 8px;
  overflow: hidden;
}
.final-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9px;
}
.final-product-copy {
  padding: 15px;
}
.final-product-copy small {
  display: block;
  color: #ef8126;
  font-size: 9px;
  font-weight: 900;
}
.final-product-copy strong {
  display: block;
  margin: 4px 0;
  color: #173c57;
  font-size: 17px;
}
.final-product-copy p {
  margin: 0;
  color: #6e818c;
  font-size: 10px;
  line-height: 1.6;
}

/* RAS: visual rhythm and actual UI */
.ras-value-strip-final {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: -18px;
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}
.ras-value-strip-final > div {
  padding: 16px;
  border: 1px solid #dfe7ec;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(23, 60, 87, 0.06);
}
.ras-value-strip-final small {
  display: block;
  color: #ef8126;
  font-size: 9px;
  font-weight: 950;
}
.ras-value-strip-final b {
  display: block;
  margin: 4px 0;
  color: #173c57;
  font-size: 13px;
}
.ras-value-strip-final span {
  display: block;
  color: #70828d;
  font-size: 9px;
  line-height: 1.5;
}
.ras-live-ui-section {
  background: linear-gradient(180deg, #f4f8fa, #fff);
}
.ras-live-ui-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(280px, 0.52fr);
  gap: 16px;
  align-items: stretch;
}
.ras-ui-main {
  padding: 10px;
  border: 1px solid #dfe7ec;
  border-radius: 15px;
  background: #fff;
}
.ras-ui-main img,
.ras-ui-secondary img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.ras-ui-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.ras-ui-point {
  padding: 16px;
  border-radius: 13px;
  background: #153f58;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ras-ui-point small {
  display: block;
  color: #ffb477;
  font-size: 8px;
  font-weight: 950;
}
.ras-ui-point b {
  display: block;
  margin: 4px 0;
  font-size: 13px;
}
.ras-ui-point p {
  margin: 0;
  color: #d9e4e9;
  font-size: 9px;
  line-height: 1.6;
}
.ras-ui-secondary {
  margin-top: 14px;
  padding: 10px;
  border: 1px solid #dfe7ec;
  border-radius: 15px;
  background: #fff;
}
.final-value-cards article strong {
  font-size: 15px !important;
}

/* Contact: optional title feels lighter */
.contact-form-premium input[name="subject"]::placeholder {
  color: #9aa8b0;
}

/* Footer certification should support, not dominate */
.venture-footer-mark {
  margin-top: 14px;
  padding-top: 12px;
}
.venture-footer-mark img {
  width: 118px !important;
  opacity: 0.92;
}

/* Slightly reduce marketing repetition in About */
.ceo-value-row {
  display: none !important;
}

@media (max-width: 1050px) {
  .final-product-showcase,
  .ras-value-strip-final {
    grid-template-columns: repeat(2, 1fr);
  }
  .ras-live-ui-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .final-product-showcase,
  .ras-value-strip-final {
    grid-template-columns: 1fr;
  }
  .hero-primary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-primary-btn,
  .hero-secondary-btn {
    justify-content: center;
  }
}

/* ==========================================================
   v18 USER REVIEW FIXES
   ========================================================== */

/* Global navigation readability */
.andami-global-top-inner {
  font-size: 10px;
}
.andami-menu-link {
  font-size: 12px;
  padding: 0 14px;
}
.andami-global-cta {
  font-size: 11px;
}
.andami-mega-intro b {
  font-size: 22px;
}
.andami-mega-card {
  min-height: 118px;
  padding: 16px;
}
.andami-mega-card strong {
  font-size: 17px;
}
.andami-mega-card em {
  display: block;
  margin-top: 3px;
  color: #7a8d98;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
}
.andami-mega-card.eq {
  background: #fbfcfd !important;
}
.andami-mega-card.eq strong {
  color: #173c57 !important;
}

/* Solution quick links readability */
.quick-product-nav {
  padding-top: 2px;
}
.quick-product-nav-inner {
  gap: 0;
}
.quick-product-nav-inner a {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 102px;
}
.quick-product-nav-inner span {
  font-size: 10px;
}
.quick-product-nav-inner b {
  font-size: 16px;
  line-height: 1.2;
}
.quick-product-nav-inner small {
  display: block;
  color: #6d7f8b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}
.quick-product-nav-inner em {
  font-size: 11px;
  margin-top: 2px;
  font-style: normal;
}

/* Homepage hero/button cleanup */
.hero-primary-actions {
  margin-top: 20px;
  margin-bottom: 10px;
}
.hero-primary-btn,
.hero-secondary-btn {
  min-height: 46px;
  font-size: 13px;
  padding: 0 18px;
}
.hero .btn {
  display: none !important;
}

/* Reduce duplicate-feel on homepage solution area */
.solution-family-strip {
  margin-top: 18px;
}
.solution-family-link {
  padding: 14px 16px;
}
.solution-family-link strong {
  font-size: 17px;
}
.solution-family-link span {
  font-size: 11px;
}
.final-product-showcase {
  display: none !important;
}

/* Main product cards readability */
.solution-premium-card {
  padding: 22px;
}
.solution-premium-top small {
  font-size: 10px;
}
.solution-premium-top h4 {
  font-size: 29px;
  line-height: 1.32;
}
.solution-korean-name {
  font-size: 11px;
}
.solution-icon-row b {
  font-size: 11px;
}
.solution-icon-row span {
  font-size: 9px;
}
.solution-premium-desc {
  font-size: 12px;
  line-height: 1.72;
  min-height: auto;
}
.solution-main-btn {
  min-height: 42px;
  font-size: 12px;
}
.solution-text-btn {
  font-size: 11px;
}

/* Global section readability */
.section-head h2 {
  font-size: 38px;
}
.section-head p {
  font-size: 16px;
  line-height: 1.82;
}
.tab {
  font-size: 13px !important;
  min-height: 44px;
  padding: 11px 16px !important;
}

/* Stable tab images: remove excess blank space and tiny appearance */
#ai .panel.active,
#shms .panel.active,
#equipcare .panel.active {
  gap: 18px !important;
  padding: 18px !important;
  align-items: start !important;
}
#ai .panel.active > .screen,
#shms .panel.active > .screen,
#equipcare .panel.active > .screen {
  align-items: flex-start !important;
  justify-content: center !important;
  min-height: 0 !important;
  padding: 8px !important;
  background: #fff !important;
}
#ai .panel.active > .screen img,
#shms .panel.active > .screen img,
#equipcare .panel.active > .screen img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: top center !important;
}

/* RAS actual UI section */
.ras-value-strip-final b {
  font-size: 14px;
}
.ras-value-strip-final span {
  font-size: 10px;
}
.ras-live-ui-grid {
  grid-template-columns: minmax(0, 1.58fr) minmax(280px, 0.42fr);
  gap: 14px;
}
.ras-ui-main {
  padding: 8px;
}
.ras-ui-point {
  padding: 18px;
}
.ras-ui-point b {
  font-size: 14px;
}
.ras-ui-point p {
  font-size: 10px;
}
.ras-ui-secondary {
  display: none !important;
}
.final-value-cards article strong {
  font-size: 16px !important;
}
.final-value-cards article b {
  font-size: 14px !important;
}
.final-value-cards article small {
  font-size: 10px !important;
  line-height: 1.55;
}

/* CMS page space normalization */
.icms-hero {
  padding: 76px 0 60px !important;
}
.icms-hero-grid {
  align-items: center !important;
  gap: 34px !important;
}
.icms-hero .icms-hero-image,
.icms-hero-image-compact {
  padding: 10px !important;
}
.icms-hero .icms-hero-image img {
  max-height: 520px !important;
  object-position: center top !important;
}
.icms-section {
  padding: 72px 0 !important;
}
.icms-section-head h2 {
  font-size: 36px !important;
}
.icms-section-head p,
.icms-hero p {
  font-size: 15px !important;
  line-height: 1.8 !important;
}
.ecq-stage {
  padding: 18px !important;
}
.ecq-stage-top {
  padding-bottom: 12px !important;
  gap: 16px !important;
}
.ecq-stage-top h3 {
  font-size: 22px !important;
}
.ecq-tabs {
  gap: 8px !important;
}
.ecq-tab {
  padding: 10px 14px !important;
  font-size: 13px !important;
}
.ecq-panel.active {
  grid-template-columns: 1.55fr 0.45fr !important;
  gap: 16px !important;
  align-items: start !important;
}
.ecq-screen {
  padding: 8px !important;
  min-height: 0 !important;
  align-items: flex-start !important;
}
.ecq-screen img {
  max-height: none !important;
  object-position: top center !important;
}
.ecq-screen-info {
  padding: 20px !important;
}
.ecq-screen-info b {
  font-size: 18px !important;
}
.ecq-screen-info p {
  font-size: 12px !important;
  line-height: 1.7 !important;
}
.ecq-reg-tab,
.fac-law-tab {
  font-size: 13px !important;
  padding: 13px 14px !important;
}
.ecq-reg-panel-head h3,
.fac-panel-head h3 {
  font-size: 24px !important;
}
.ecq-reg-panel-head p,
.fac-panel-head p {
  font-size: 14px !important;
  line-height: 1.75 !important;
}
.fac-panel-grid {
  gap: 14px !important;
  align-items: start !important;
}
.fac-screen {
  padding: 8px !important;
}
.fac-screen.large img {
  height: auto !important;
  max-height: 500px !important;
}
.fac-screen.thumb img {
  height: auto !important;
  max-height: 180px !important;
}
.fac-screen-title {
  font-size: 12px !important;
  padding: 3px 4px 8px !important;
}
.fac-point-list article {
  padding: 14px !important;
}
.fac-point-list b,
.fac-keypoints b {
  font-size: 14px !important;
}
.fac-point-list p,
.fac-keypoints p {
  font-size: 12px !important;
  line-height: 1.65 !important;
}

@media (max-width: 980px) {
  .ecq-panel.active {
    grid-template-columns: 1fr !important;
  }
  .quick-product-nav-inner {
    overflow-x: auto;
  }
}
@media (max-width: 640px) {
  .section-head h2,
  .icms-section-head h2 {
    font-size: 30px !important;
  }
  .andami-mega-grid {
    grid-template-columns: 1fr !important;
  }
  .quick-product-nav-inner a {
    min-width: 220px;
  }
}

/* ==========================================================
   v19 FINAL CONFIRMED — production UX lock
   ========================================================== */
/* Main solution hierarchy: no duplicate lower strip */
.solution-family-strip {
  display: none !important;
}

/* Menu typography: readable but not oversized */
.andami-menu-link {
  font-size: 13px !important;
  font-weight: 850 !important;
}
.andami-mega-card strong {
  font-size: 17px !important;
}
.andami-mega-card em {
  font-size: 12px !important;
}

/* Product-card headings should wrap naturally, never force awkward line breaks */
.solution-premium-top h4 {
  white-space: normal !important;
  word-break: keep-all !important;
  text-wrap: balance;
}

/* Tab controls — unified final */
.tab,
.ecq-tab,
.ecq-reg-tab,
.fac-law-tab,
[role="tab"],
button[data-target] {
  white-space: nowrap !important;
  word-break: keep-all !important;
  min-height: 44px !important;
  font-size: 13px !important;
}

/* Main tab screenshots: intrinsic height only, compact frame */
#ai .panel.active,
#shms .panel.active,
#equipcare .panel.active {
  align-items: start !important;
  overflow: hidden !important;
}
#ai .panel.active > .screen,
#shms .panel.active > .screen,
#equipcare .panel.active > .screen {
  min-height: 0 !important;
  height: auto !important;
  padding: 8px !important;
  align-self: start !important;
}
#ai .panel.active > .screen img,
#shms .panel.active > .screen img,
#equipcare .panel.active > .screen img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: top center !important;
  margin: 0 auto !important;
}
#ai .panel.active > .panel-copy,
#shms .panel.active > .panel-copy,
#equipcare .panel.active > .panel-copy {
  align-self: stretch !important;
}

/* RAS actual screen should dominate visually */
.ras-live-ui-grid {
  grid-template-columns: minmax(0, 1.62fr) minmax(300px, 0.38fr) !important;
  align-items: start !important;
}
.ras-ui-main {
  padding: 8px !important;
}
.ras-ui-main img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}
.ras-ui-secondary {
  display: none !important;
}

/* CMS: compact vertical rhythm and remove unnecessary blank space */
.icms-hero {
  padding-top: 64px !important;
  padding-bottom: 48px !important;
}
.icms-hero-image,
.icms-hero-image-compact {
  padding: 8px !important;
}
.icms-section {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}
.ecq-stage {
  padding: 16px !important;
}
.ecq-panel {
  padding-top: 14px !important;
}
.ecq-panel.active {
  align-items: start !important;
  gap: 14px !important;
}
.ecq-screen {
  min-height: 0 !important;
  padding: 7px !important;
  align-items: flex-start !important;
}
.ecq-screen img {
  height: auto !important;
  max-height: none !important;
  object-position: top center !important;
}
.ecq-screen-info {
  padding: 18px !important;
  align-self: stretch !important;
}
.fac-law-panel {
  padding: 16px !important;
}
.fac-panel-grid {
  align-items: start !important;
  gap: 14px !important;
}
.fac-screen {
  padding: 7px !important;
}
.fac-screen.large img {
  height: auto !important;
  max-height: 480px !important;
}
.fac-screen.thumb img {
  height: auto !important;
  max-height: 170px !important;
}

/* Mobile */
@media (max-width: 1000px) {
  .ras-live-ui-grid {
    grid-template-columns: 1fr !important;
  }
  .ecq-panel.active,
  .fac-panel-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   v20 TAB IMAGE / RAS UPDATE
   ========================================================== */

#showcase .show-panel.active {
  display: grid !important;
  grid-template-columns: minmax(0, 1.72fr) minmax(250px, 0.38fr) !important;
  gap: 12px !important;
  align-items: start !important;
}
#showcase .show-screen {
  padding: 5px !important;
}
#showcase .show-screen img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: top center !important;
}
#showcase .show-copy {
  align-self: stretch !important;
}
.ecq-panel.active {
  grid-template-columns: minmax(0, 1.72fr) minmax(245px, 0.38fr) !important;
  gap: 12px !important;
  align-items: start !important;
}
.ecq-screen {
  padding: 5px !important;
  min-height: 0 !important;
}
.ecq-screen img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: top center !important;
}
.risk-screen-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 8px 22px rgba(23, 60, 87, 0.04);
}
.risk-screen-card .matrix-title {
  padding: 0 4px 12px;
}
.risk-screen-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
@media (max-width: 1000px) {
  #showcase .show-panel.active,
  .ecq-panel.active {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   v21 GLOBAL TAB MEDIA BASE — natural intrinsic sizing only
   ========================================================== */
.andami-stable-tab-panel {
  min-height: 0 !important;
  height: auto !important;
}
.screen,
.show-screen,
.domain-image,
.ecq-screen,
.ecq-master-screen,
.fac-screen {
  min-height: 0 !important;
  max-height: none !important;
}
.screen img,
.show-screen img,
.domain-image img,
.ecq-screen img,
.ecq-master-screen img,
.fac-screen img {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: top center !important;
}

/* scrollup + solution shortcut pill button */
.scrollup,
.dropdown-shortcut {
  width: 60px;
  position: fixed;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: transparent;
  border: 1.5px solid #9a9a9a;
  color: #8f8f8f;
  cursor: pointer;
  z-index: 1000;
  transition: border-color .3s, color .3s, opacity .5s;
  text-decoration: none !important;
}
.scrollup:hover,
.dropdown-shortcut:hover {
  border-color: #337ab7;
  color: #337ab7;
  background: transparent;
}
.scrollup {
  height: 60px;
  bottom: 80px;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  opacity: 0;
  visibility: hidden;
}
.scrollup.is-visible { opacity: .6; visibility: visible }
.scrollup:hover { opacity: 1 }
.scrollup a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
}
.scrollup i {
  font-size: 18px;
  color: inherit;
  position: static;
  margin: 0 0 4px;
}
.scrollup::after {
  content: "TOP";
  position: static;
  font-size: 12px;
  letter-spacing: .5px;
  line-height: 1;
  color: inherit;
}
.dropdown-shortcut {
  height: 60px;
  bottom: 24px;
  border-radius: 0 0 10px 10px;
  gap: 6px;
}
.dropdown-shortcut i {
  font-size: 22px;
  color: inherit;
  position: static;
  top: auto;
  left: auto;
  text-decoration: none;
}
.dropdown-shortcut::after {
  content: "문의";
  position: static;
  white-space: nowrap;
  font-size: 12px;
  letter-spacing: -.5px;
  line-height: 1.2;
  color: inherit;
}
@media (max-width: 768px) {
  .dropdown-shortcut { display: none }
  .scrollup {
    border-bottom: 1.5px solid #9a9a9a;
    border-radius: 40px;
  }
}
