@import url("./variables.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}


/* Header */

.sub-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.sub-header-inner {
  width: calc(100% - 60px);
  max-width: 1280px;
  height: 74px;

  margin: 0 auto;

  display: flex;
  align-items: center;

}

.sub-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;

  font-size: 14px;
  font-weight: 700;
  flex-wrap: wrap;
  line-height: 1.1;
}

/* A shrink-to-fit flex container with flex-wrap sizes itself to the SUM
   of its children (as if unwrapped), not the widest wrapped line — so
   without this, the tagline's width gets added to the logo image's width
   and the whole row claims far more space than it visually occupies,
   crowding the nav next to it. Capping it to the image's own width fixes
   that. */
.sub-logo.has-logo-img {
  max-width: 400px;
}

.sub-logo strong {
  color: #1557d5;
  font-size: 25px;
  font-style: italic;
}

.sub-logo span {
  color: #888;
  font-size: 10px;
  font-weight: 400;
}

/* The image wordmark already carries the brand name, so the small
   tagline text underneath it is dropped for a cleaner header. */
.sub-logo.has-logo-img span,
.sub-logo.has-logo-img .sub-logo-break {
  display: none;
}

/* Zero-size element that forces the tagline onto its own flex line,
   without giving the tagline itself a percentage width (which resolves
   unpredictably against this shrink-to-fit flex container). */
.sub-logo-break {
  flex-basis: 100%;
  width: 0;
  height: 0;
}

.sub-nav {
  height: 100%;

  display: flex;
  align-items: center;
  gap: 42px;
}

.sub-nav a {
  position: relative;

  height: 100%;

  display: flex;
  align-items: center;

  font-size: 14px;
  font-weight: 600;
}

.sub-nav a:hover,
.sub-nav a.active {
  color: #1557d5;
}

.sub-nav a.active::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;

  height: 2px;
  background: #1557d5;
}

.sub-actions {
  display: flex;
  align-items: center;
  gap: 22px;

  margin-left: 45px;
}

.company-home {
  font-size: 13px;
  font-weight: 600;
}

.sub-quote {
  padding: 13px 20px;

  color: #fff;
  background: #1557d5;

  border-radius: 6px;

  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}


/* Hero */

.hero {
  width: calc(100% - 60px);
  max-width: 1280px;
  min-height: 420px;

  margin: 0 auto;

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      90deg,
      rgba(3, 12, 27, 0.98) 0%,
      rgba(3, 12, 27, 0.80) 45%,
      rgba(3, 12, 27, 0.15) 100%
    ),
    url("../assets/images/hero-main.png");

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-content {
  width: 100%;
  max-width: 1180px;

  margin: 0 auto;
}

.hero h1 {
  color: #fff;

  font-size: 52px;
  line-height: 1.18;

  margin-bottom: 26px;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);

  font-size: 17px;
  line-height: 1.7;

  margin-bottom: 30px;
}

.hero-button {
  width: fit-content;

  display: flex;
  align-items: center;
  gap: 100px;

  padding: 15px 22px;

  color: #fff;
  background: #0755d9;

  border-radius: 5px;

  font-weight: 700;
}


/* Services */

.services {
  width: calc(100% - 60px);
  max-width: 1280px;

  margin: 0 auto;
  padding: 30px 0 60px;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.service-card {
  min-height: 250px;

  padding: 22px 15px;

  text-align: center;

  border: 1px solid #e2e2e2;
  border-radius: 8px;

  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-image {
  height: 115px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 15px;
}

.service-image img {
  max-width: 130px;
  max-height: 110px;

  object-fit: contain;
}

.service-card h2 {
  margin-bottom: 14px;

  font-size: 17px;
}

.service-card p {
  color: #666;

  font-size: 13px;
  line-height: 1.7;
}


/* Popup */

.popup-overlay {
  position: fixed;
  inset: 0;

  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.62);
}

.popup {
  position: relative;

  width: calc(100% - 40px);
  max-width: 520px;

  padding: 42px;

  text-align: center;

  background: #fff;

  border-radius: 8px;

  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.popup-close {
  position: absolute;

  top: 16px;
  right: 18px;

  border: 0;
  background: none;

  color: #aaa;
  font-size: 25px;

  cursor: pointer;
}

.popup-icon {
  width: 70px;
  height: 70px;

  margin: 0 auto 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #0b55da;
  background: #eef4ff;

  border-radius: 50%;

  font-size: 34px;
}

.popup h2 {
  font-size: 20px;
  line-height: 1.55;

  margin-bottom: 20px;
}

.popup h2 strong {
  color: #0755d9;
}

.popup p {
  color: #777;

  font-size: 14px;
  line-height: 1.7;
}

.popup hr {
  margin: 25px 0;

  border: 0;
  border-top: 1px solid #e7e7e7;
}

.popup-button {
  min-height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;

  color: #fff;
  background: #0b55d9;

  border-radius: 5px;

  font-weight: 700;

  width: 100%;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}

/* Why us */

.why-us {
  width: calc(100% - 60px);
  max-width: 1280px;

  margin: 20px auto 70px;
}

.why-us-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

.why-us-info h2 {
  font-size: 28px;
  line-height: 1.3;
}

.why-us-info h2 strong {
  color: #1557d5;
}

.why-list {
  margin-top: 24px;

  list-style: none;
}

.why-list li {
  position: relative;

  margin-bottom: 12px;
  padding-left: 24px;

  font-size: 13px;
  line-height: 1.5;
}

.why-list li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: 0;

  width: 16px;
  height: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  background: #1557d5;

  border-radius: 50%;

  font-size: 10px;
}

.why-button {
  width: fit-content;

  margin-top: 22px;
  padding: 12px 20px;

  display: flex;
  align-items: center;
  gap: 28px;

  border: 1px solid #1557d5;
  border-radius: 6px;

  color: #1557d5;

  font-size: 13px;
  font-weight: 700;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.why-card {
  display: flex;
  flex-direction: column;

  padding: 14px;

  border: 1px solid #e7ecf3;
  border-radius: 12px;
  background: #fff;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.why-card-img {
  height: 200px;

  overflow: hidden;

  border-radius: 10px;
  background: #f6f8fb;
}

.why-card-img img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.3s ease;
}

.why-card:hover .why-card-img img {
  transform: scale(1.05);
}

.why-card span {
  margin-top: 14px;

  color: #17202c;

  font-size: 15px;
  font-weight: 700;
}

.why-card p {
  margin-top: 4px;

  color: #8a94a3;

  font-size: 12.5px;
}

/* Factory Badge Banner */

.factory-badge-banner {
  padding: 32px 40px;
}

.factory-badge-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 26px 40px;
  display: flex;
  align-items: center;
  gap: 0;
  background: #f0f4fb;
  border: 1px solid #d8e2f0;
  border-radius: 12px;
}

.factory-badge-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  min-width: 0;
}

.factory-badge-img {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  display: block;
}

.factory-badge-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.factory-badge-text strong {
  font-size: 20px;
  font-weight: 800;
  color: #0d1f3c;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.factory-badge-text span {
  font-size: 13px;
  color: #5a6a80;
  line-height: 1.5;
}

.factory-badge-sep {
  width: 1px;
  height: 52px;
  background: #c8d4e8;
  margin: 0 40px;
  flex-shrink: 0;
}

.factory-badge-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.factory-badge-bldg {
  width: 34px;
  height: 34px;
  color: #8a9ab4;
  stroke: #8a9ab4;
  flex-shrink: 0;
}

.factory-badge-right p {
  font-size: 13px;
  color: #5a6a80;
  line-height: 1.7;
}

/* 인증 및 증명서 Section */

.cert-docs-section {
  padding: 64px 0;
  background: #fff;
}

.cert-docs-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.cert-docs-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cert-docs-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0d1f3c;
  letter-spacing: -0.03em;
  margin-right: 4px;
}

.cert-docs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-tab {
  padding: 6px 18px;
  border-radius: 20px;
  border: 1.5px solid #c8d4e8;
  background: #fff;
  color: #4a5568;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.cert-tab.active {
  background: #1557d5;
  border-color: #1557d5;
  color: #fff;
}

.cert-docs-hint {
  margin-left: auto;
  font-size: 12px;
  color: #8a9ab4;
}

.cert-docs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-doc-card {
  border: 1px solid #e4eaf4;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.cert-doc-card:hover {
  box-shadow: 0 6px 24px rgba(21,87,213,0.12);
  transform: translateY(-2px);
}

.cert-doc-preview {
  position: relative;
  background: #f4f7fc;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-doc-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-doc-placeholder {
  color: #b0bccc;
}

.cert-doc-placeholder svg {
  width: 48px;
  height: 48px;
}

.cert-doc-zoom {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(21,87,213,0.85);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.cert-doc-card:hover .cert-doc-zoom { opacity: 1; }

.cert-doc-zoom svg {
  width: 16px;
  height: 16px;
  color: #fff;
  stroke: #fff;
}

.cert-doc-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cert-doc-info strong {
  font-size: 13px;
  font-weight: 700;
  color: #0d1f3c;
}

.cert-doc-info span {
  font-size: 12px;
  color: #5a6a80;
}

.cert-doc-info small {
  font-size: 11px;
  color: #8a9ab4;
  margin-top: 2px;
}

.cert-docs-empty {
  color: #8a9ab4;
  font-size: 14px;
  padding: 40px 0;
  text-align: center;
}

/* 인증서 뷰어 */
.cert-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cert-viewer-box {
  position: relative;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
}

.cert-viewer-box .port-gallery {
  border-radius: 12px;
}

.cert-viewer-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  z-index: 1;
}

/* Home featured-portfolio carousel */

.home-portfolio-section {
  background: #fff;
  padding: 48px 0;
}

.home-portfolio-inner {
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: 0 auto;
}

.home-portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.home-portfolio-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: #07182d;
  margin-bottom: 6px;
}

.home-portfolio-header p {
  font-size: 14px;
  color: #6a7b8c;
}

.home-portfolio-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1557d5;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.home-portfolio-all svg {
  width: 15px;
  height: 15px;
}

.home-portfolio-carousel {
  overflow: hidden;
}

.home-portfolio-track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: homePortfolioMarquee linear infinite;
}

.home-portfolio-carousel:hover .home-portfolio-track {
  animation-play-state: paused;
}

@keyframes homePortfolioMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 11px)); }
}

.home-portfolio-card {
  flex: 0 0 260px;
  width: 260px;
  display: block;
  color: inherit;
  text-decoration: none;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}

.home-portfolio-card-img {
  aspect-ratio: 1 / 1;
  background: #f3f5f8;
  overflow: hidden;
}

.home-portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.home-portfolio-card:hover .home-portfolio-card-img img {
  transform: scale(1.04);
}

.home-portfolio-card h3 {
  margin: 14px 16px 6px;
  font-size: 15px;
  color: #17202c;
}

.home-portfolio-card p {
  margin: 0 16px 16px;
  color: #666;
  font-size: 12.5px;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 550px) {
  .home-portfolio-card {
    flex: 0 0 200px;
    width: 200px;
  }

  .home-portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section-title-with-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
  }
}


/* Home products section */

.home-products-section {
  background: #f8fafd;
  padding: 72px 0;
}

.home-products-inner {
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: 0 auto;
}

.home-products-inner .section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.home-products-inner .section-title-wrap h2 {
  font-size: 28px;
  font-weight: 800;
  color: #07182d;
  margin-bottom: 8px;
}

.home-products-inner .section-title-wrap p {
  font-size: 15px;
  color: #6a7b8c;
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.home-product-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
}

.home-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
}

.home-product-img {
  aspect-ratio: 4/3;
  background: #f0f3f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-product-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #07182d;
  padding: 14px 16px 4px;
}

.home-product-card p {
  font-size: 13px;
  color: #6a7b8c;
  padding: 0 16px 16px;
  line-height: 1.5;
}

.client-logos-section {
  background: #fff;
  padding: 72px 0;
}

.client-logos-inner {
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: 0 auto;
}

.client-logos-inner .section-title-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.client-logos-inner .section-title-wrap h2 {
  font-size: 28px;
  font-weight: 800;
  color: #07182d;
  margin-bottom: 8px;
}

.client-logos-inner .section-title-wrap p {
  font-size: 15px;
  color: #6a7b8c;
}

.client-logos-grid {
  overflow: hidden;
}

.client-logos-track {
  display: flex;
  width: max-content;
  gap: var(--logo-gap, 16px);
}

.client-logos-track.is-scrolling {
  animation: clientLogosMarquee linear infinite;
}

.client-logos-grid:hover .client-logos-track {
  animation-play-state: paused;
}

@keyframes clientLogosMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - var(--logo-gap, 16px) / 2)); }
}

.client-logo-item {
  flex: 0 0 var(--logo-w, 150px);
  width: var(--logo-w, 150px);
  aspect-ratio: 3/2;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform .2s;
}

.client-logo-item:hover {
  transform: scale(1.05);
}

.client-logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .7;
  transition: filter .2s, opacity .2s;
}

.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Trust section */

.trust-section {
  width: calc(100% - 60px);
  max-width: 1280px;

  margin: 0 auto 30px;
  padding: 25px 0;
}

.trust-content {
  display: grid;
  grid-template-columns: 1fr;
}

.trust-title {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 14px;
}

.trust-title h3 {
  font-size: 16px;
}

.trust-title a {
  color: #1557d5;

  font-size: 12px;
  font-weight: 600;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-item {
  transition: transform 0.2s ease;
}

.trust-item:hover {
  transform: translateY(-3px);
}

.trust-item img {
  display: block;
  width: 100%;
  height: 240px;

  object-fit: contain;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
}

.trust-item h4 {
  margin-top: 14px;

  font-size: 15px;
  font-weight: 700;
  color: #17202c;
  text-align: left;
}

.trust-item p {
  margin-top: 4px;

  font-size: 12.5px;
  font-weight: 400;
  color: #8a94a3;
  text-align: left;
}

.trust-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-heading svg {
  width: 25px;
  height: 25px;
  color: #1557d5;
  stroke-width: 1.8;
}


/* Quote banner */

.quote-banner {
  width: 100%;
  margin: 0;
  background: #0b43b8;
}

.quote-banner-inner {
  min-height: 90px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 35px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quote-banner-text {
  display: flex;
  align-items: center;
  gap: 18px;
}

.quote-banner-text svg {
  width: 38px;
  height: 38px;

  color: #fff;
}

.quote-banner-text h2 {
  color: #fff;

  font-size: 20px;
  margin-bottom: 4px;
}

.quote-banner-text p {
  color: rgba(255,255,255,0.75);

  font-size: 12px;
}

.quote-banner-button {
  min-width: 190px;

  padding: 15px 22px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #1557d5;
  background: #fff;

  border-radius: 6px;

  font-size: 13px;
  font-weight: 700;
}


/* Footer */

.footer {
  width: 100%;
  margin: 0;
  color: #fff;
  background: #07182d;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 35px 40px 28px;

  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 50px;
}

.footer h2 {
  margin-bottom: 12px;

  font-size: 21px;
  font-style: italic;
}

.footer-logo-img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer h3 {
  margin-bottom: 14px;

  font-size: 13px;
}

.footer-company p {
  margin-bottom: 6px;

  color: #b9c2cf;

  font-size: 11px;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links a {
  margin-bottom: 9px;

  color: #b9c2cf;

  font-size: 11px;
}

.footer-links a:hover {
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 9px;

  margin-bottom: 20px;
}

.social-icons a {
  width: 28px;
  height: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #627087;
  border-radius: 4px;
}

.social-icons svg {
  width: 15px;
  height: 15px;
}

.footer-main-site {
  min-height: 42px;

  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 1px solid #627087;
  border-radius: 5px;

  font-size: 12px;
}

.footer-bottom {
  width: 100%;
  margin: 0;
  padding: 15px 0;
  font-size: 12px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* =========================
   Manufacturing Page
========================= */

.manufacturing-hero {
  width: calc(100% - 60px);
  max-width: 1280px;
  height: 370px;

  margin: 0 auto;

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.92) 35%,
      rgba(255, 255, 255, 0.15) 65%
    ),
    url("../assets/images/manufacturing-hero.png");

  background-size: cover;
  background-position: center right;
}

.manufacturing-hero-content {
  padding-left: 55px;
}

.manufacturing-hero h1 {
  margin-bottom: 25px;

  color: #08182c;
  font-size: 48px;
  line-height: 1.2;
}

.manufacturing-hero p {
  color: #4d5560;
  font-size: 15px;
  line-height: 1.8;
}


/* Fields */

.manufacturing-fields {
  width: calc(100% - 60px);
  max-width: 1280px;

  margin: 0 auto;
  padding: 35px 0 70px;
}

.section-title {
  margin-bottom: 25px;
  text-align: center;
}

.section-title h2 {
  color: #17202c;
  font-size: 21px;
}

.section-title span {
  width: 32px;
  height: 2px;

  display: block;

  margin: 10px auto 0;

  background: #1557d5;
}

.section-title-with-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}

.section-title-with-link h2 {
  text-align: left;
}

.section-title-with-link span {
  margin: 10px 0 0;
}

.section-title-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  color: #1557d5;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.section-title-all svg {
  width: 15px;
  height: 15px;
}


/* Cards */

.manufacturing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.manufacturing-card {
  padding: 16px;

  border: 1px solid #e7ecf3;
  border-radius: 12px;

  background: #fff;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.manufacturing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.manufacturing-card-img {
  height: 190px;

  overflow: hidden;

  border-radius: 10px;
  background: #f6f8fb;
}

.manufacturing-card-img img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.3s ease;
}

.manufacturing-card:hover .manufacturing-card-img img {
  transform: scale(1.05);
}

.manufacturing-card h3 {
  margin-top: 16px;

  color: #17202c;
  font-size: 17px;
}

.manufacturing-card p {
  margin-top: 6px;

  color: #4a5568;
  font-size: 13px;
}

.manufacturing-card p.manufacturing-card-sub {
  margin-top: 2px;
  color: #8a94a3;
  font-size: 12px;
}

/* Process steps */

.process-steps {
  margin-top: 56px;
  padding: 36px 0;

  background: #f4f8ff;
  border-radius: 14px;
}

.process-steps-inner {
  width: calc(100% - 60px);
  max-width: 1280px;
  margin: 0 auto;
}

.process-steps .section-title h2 {
  font-size: 20px;
}

.process-steps .section-title p {
  margin-top: 6px;
  color: #6a7b8c;
  font-size: 13px;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
}

.process-step {
  padding: 4px 24px;
  border-left: 1px solid #d7e0ef;
}

.process-step:first-child {
  padding-left: 4px;
  border-left: none;
}

.process-step-num {
  display: block;

  color: #1557d5;
  font-size: 13px;
  font-weight: 800;
}

.process-step h4 {
  margin-top: 10px;

  color: #17202c;
  font-size: 15px;
}

.process-step p {
  margin-top: 4px;

  color: #6a7b8c;
  font-size: 12.5px;
}

@media (min-width: 901px) {
  .process-steps {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
  }
}

/* Industry Banner */

.industry-banner {
  width: 100%;
  min-height: 155px;

  margin-top: 40px;
  padding: 28px 38px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #fff;
  background: #071f43;

  border-radius: 8px;
}

.industry-banner-text {
  width: 42%;
}

.industry-banner-text h2 {
  margin-bottom: 12px;

  font-size: 21px;
  line-height: 1.4;
}

.industry-banner-text p {
  color: #aebdd1;

  font-size: 12px;
  line-height: 1.7;
}


/* Industry icons */

.industry-list {
  width: 55%;

  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.industry-item {
  min-height: 80px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 9px;

  border-left: 1px solid rgba(255,255,255,0.15);
}

.industry-item:first-child {
  border-left: 0;
}

.industry-item svg {
  width: 31px;
  height: 31px;

  color: #4d8cff;
  stroke-width: 1.7;
}

.industry-item span {
  color: #fff;

  font-size: 11px;
  font-weight: 600;

  white-space: nowrap;
}


/* =========================
   Representative Products (manufacturing page)
========================= */

.rep-products {
  width: calc(100% - 60px);
  max-width: 1280px;

  margin: 0 auto;
  padding: 10px 0 60px;
}

.rep-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rep-product-card {
  text-align: center;

  padding: 28px 18px 24px;

  border: 1px solid #e2e2e2;
  border-radius: 10px;

  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rep-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.rep-product-img {
  height: 140px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;
}

.rep-product-img img {
  max-width: 140px;
  max-height: 130px;
  object-fit: contain;
}

.rep-product-card h3 {
  margin-bottom: 10px;

  font-size: 16px;
  color: #17202c;
}

.rep-product-card p {
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}

.rep-product-link {
  height: 100%;
  display: block;
}


/* =========================
   Sub-page shared hero
========================= */

.sub-page-hero {
  width: calc(100% - 60px);
  max-width: 1280px;
  height: 260px;

  margin: 0 auto;

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.97) 0%,
      rgba(255,255,255,0.88) 40%,
      rgba(255,255,255,0.10) 100%
    ),
    url("../assets/images/manufacturing-hero.png");

  background-size: cover;
  background-position: center;
}

.sub-page-hero-content {
  padding-left: 55px;
}

.sub-page-hero h1 {
  margin-bottom: 16px;

  color: #08182c;
  font-size: 42px;
  line-height: 1.2;
}

.sub-page-hero p {
  color: #4d5560;
  font-size: 15px;
  line-height: 1.8;
}

.sub-page-hero-content .hero-button {
  margin-top: 22px;
}


/* =========================
   Equipment page
========================= */

.equip-section {
  width: calc(100% - 60px);
  max-width: 1280px;

  margin: 0 auto;
  padding: 35px 0 60px;
}

.equip-showcase-section {
  background: #f3f6fb;
  padding: 40px 0;
}

.equip-showcase-inner {
  width: calc(100% - 60px);
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.equip-showcase-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1557d5;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.equip-showcase-text h2 {
  font-size: 30px;
  line-height: 1.45;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
}

.equip-showcase-desc {
  font-size: 14px;
  color: #667;
  line-height: 1.75;
}

/* Carousel */
.equip-showcase-carousel-wrap {
  position: relative;
  max-width: 600px;
  margin-left: auto;
}

.equip-showcase-carousel {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  background: #dde3ee;
  cursor: zoom-in;
}

.equip-showcase-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.equip-showcase-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.equip-showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.equip-showcase-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 18px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .equip-showcase-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .equip-showcase-section { padding: 32px 0; }
  .equip-showcase-carousel-wrap {
    max-width: 320px;
    margin-left: 0;
  }
}

@media (max-width: 550px) {
  .equip-showcase-text h2 { font-size: 24px; }
}

.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.equip-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.equip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}

.equip-card-img {
  width: 140px;
  min-height: 130px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8fb;
  overflow: hidden;
}

.equip-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equip-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.equip-card-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: #07182d;
  margin-bottom: 8px;
}

.equip-card-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.equip-card-specs li {
  font-size: 12px;
  color: #4a5568;
  line-height: 1.4;
}

.equip-card-specs li::before {
  content: '· ';
  color: #1557d5;
}

.equip-badge {
  display: inline-block;

  padding: 3px 10px;
  margin-bottom: 10px;

  color: #1557d5;
  background: #eef4ff;

  border-radius: 20px;

  font-size: 11px;
  font-weight: 600;
}

.equip-card-body h3 {
  margin-bottom: 10px;

  font-size: 18px;
  color: #17202c;
}

.equip-card-body p {
  margin-bottom: 18px;

  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.equip-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 9px 16px;

  color: #1557d5;
  border: 1px solid #1557d5;
  border-radius: 5px;

  background: none;
  cursor: pointer;

  font-size: 13px;
  font-weight: 600;

  transition: background 0.15s, color 0.15s;
}

.equip-detail-btn:hover {
  background: #1557d5;
  color: #fff;
}


/* Equipment Modal */

.equip-modal {
  position: fixed;
  inset: 0;

  z-index: 1100;

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.60);
  padding: 20px;
}

.equip-modal.is-open {
  display: flex;
}

.equip-modal-box {
  position: relative;

  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  max-height: 90dvh;

  display: flex;
  flex-direction: column;
  gap: 0;
}

.equip-modal-card {
  display: flex;
  flex: 0 1 auto;
  min-height: 0;

  background: #fff;
  border-radius: 12px 12px 0 0;

  overflow: hidden;
}

.equip-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;

  z-index: 10;

  border: 0;
  background: none;

  color: #888;
  font-size: 26px;

  cursor: pointer;
  line-height: 1;
}

.equip-modal-img {
  position: relative;
  width: 42%;
  flex-shrink: 0;

  background: #f3f5f8;
  display: flex;
}

.equip-modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.equip-modal-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 28px 24px;
}

.equip-modal-scroll > :last-child {
  margin-bottom: 0;
}

.equip-modal-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;

  padding: 6px 12px;

  color: #fff;
  background: rgba(8, 12, 20, .68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  pointer-events: none;
}

.equip-modal-tag:empty {
  display: none;
}

.equip-modal-info h2 {
  margin-bottom: 14px;

  font-size: 22px;
  color: #17202c;
}

.equip-modal-info > p {
  margin-bottom: 24px;

  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.equip-modal-specs {
  margin-bottom: 28px;

  padding: 18px 20px;

  background: #f6f8fb;
  border-radius: 8px;
}

.equip-modal-specs h4 {
  margin-bottom: 12px;

  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.equip-modal-specs ul {
  list-style: none;
}

.equip-modal-specs li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;

  color: #333;
  font-size: 13px;
  line-height: 1.5;
}

.equip-modal-specs li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: #1557d5;
  font-weight: 700;
}

.equip-modal-cta {
  display: block;
  flex-shrink: 0;
  text-align: center;

  padding: 12px 22px;

  color: #fff;
  background: #1557d5;
  border-radius: 6px;

  font-size: 14px;
  font-weight: 700;

  transition: background 0.15s;
}

.equip-modal-cta:hover {
  background: #0e44b5;
}

.equip-modal-box .equip-modal-cta,
.equip-modal-box .equip-modal-cta:hover {
  border-radius: 0 0 12px 12px;
  transform: none;
  box-shadow: none;
}


/* =========================
   Portfolio page
========================= */

.portfolio-section {
  width: calc(100% - 60px);
  max-width: 1280px;

  margin: 0 auto;
  padding: 35px 0 60px;
}

.portfolio-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;

  margin-bottom: 32px;
}

.portfolio-filter-btn {
  padding: 9px 20px;

  border: 1px solid #dde2ea;
  border-radius: 30px;

  background: #fff;
  color: #555;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.15s;
}

.portfolio-filter-btn:hover {
  border-color: #1557d5;
  color: #1557d5;
}

.portfolio-filter-btn.active {
  background: #1557d5;
  border-color: #1557d5;
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-card {
  border: 1px solid #e2e2e2;
  border-radius: 10px;

  overflow: hidden;

  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}

.portfolio-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.portfolio-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f3f5f8;
  overflow: hidden;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.04);
}

/* Photo / video counters shown on the card thumbnail */
.portfolio-media-flags {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}

.portfolio-media-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(8,12,20,.72);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
}

.portfolio-media-count svg {
  width: 12px;
  height: 12px;
}

.portfolio-card-body {
  padding: 18px 18px 20px;
}

.portfolio-badge {
  display: inline-block;

  padding: 3px 10px;
  margin-bottom: 8px;

  color: #1557d5;
  background: #eef4ff;

  border-radius: 20px;

  font-size: 11px;
  font-weight: 600;
}

.portfolio-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}

.portfolio-badges .portfolio-badge {
  margin-bottom: 0;
}

.portfolio-card-body h3 {
  margin-bottom: 8px;

  font-size: 16px;
  color: #17202c;
}

.portfolio-card-body p {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.portfolio-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  background: none;
  border: none;
  color: #1557d5;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: border-color .15s;
}

/* The affordance is a span inside the card link, so the card drives its hover. */
.portfolio-detail-btn:hover,
.portfolio-card-link:hover .portfolio-detail-btn {
  border-bottom-color: #1557d5;
}

.portfolio-empty {
  grid-column: 1 / -1;

  text-align: center;
  padding: 60px 0;

  color: #888;
  font-size: 15px;
}


/* =========================
   Portfolio Detail Page
========================= */

.port-detail {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 70px;
}

.port-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  color: #8a93a3;
  font-size: 12.5px;
}

.port-detail-breadcrumb a {
  color: #5a6474;
  text-decoration: none;
}

.port-detail-breadcrumb a:hover { color: #1557d5; }
.port-detail-breadcrumb [aria-current="page"] { color: #17202c; font-weight: 600; }

.port-detail-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid #e8ebf1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(18,32,58,.07);
}

.port-detail-media {
  flex: 1 1 58%;
  min-width: 0;
  align-self: stretch;
  display: flex;
}

.port-detail-info {
  flex: 1 1 42%;
  max-width: 460px;
  min-width: 0;
  padding: 34px 32px 30px;
  display: flex;
  flex-direction: column;
}

.port-detail-title {
  font-size: 26px;
  font-weight: 700;
  color: #17202c;
  margin: 10px 0 14px;
  line-height: 1.35;
}

.port-detail-summary {
  color: #666;
  font-size: 14.5px;
  line-height: 1.75;
}

.port-detail-summary:empty { display: none; }

.port-detail-back {
  margin-top: 14px;
  align-self: flex-start;
  color: #5a6474;
  font-size: 13px;
  text-decoration: none;
}

.port-detail-back:hover { color: #1557d5; }

/* ── Portfolio quick-view (opens in place over the grid, no navigation) ── */
.port-quickview-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 10, 18, .6);
  padding: 24px;
}

.port-quickview-overlay.open {
  display: flex;
}

.port-quickview-box {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  display: flex;
  flex-direction: column;
}

.port-quickview-box .port-detail-inner {
  flex-direction: column;
  border-radius: 16px 16px 0 0;
  border: none;
  box-shadow: none;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
}

.port-quickview-box .port-detail-media {
  flex-shrink: 0;
  width: 100%;
  position: relative;
}

.port-quickview-box .port-detail-info {
  flex: 1;
  min-height: 0;
  max-width: none;
  width: 100%;
  overflow: hidden;
}
.port-quickview-box .port-detail-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.port-quickview-box .port-gallery-thumbs {
  display: none !important;
}
.port-quickview-box .port-detail-scroll::-webkit-scrollbar {
  display: none;
}
.port-quickview-box .port-gallery-caption {
  display: none;
}

.port-media-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 4;

  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px 6px 9px;

  color: #fff;
  background: rgba(8, 12, 20, .68);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 20px;

  font-size: 12px;
  font-weight: 600;

  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity .18s, transform .18s;
}

.port-media-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.port-media-badge em {
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

.port-detail-media:hover .port-media-badge,
.port-detail-media:focus-within .port-media-badge {
  opacity: 1;
  transform: translateY(0);
}
.port-quickview-box .port-modal-cta {
  flex: none;
  margin: 0;
  padding: 0;
  border-top: none;
  background: none;
}

.port-quickview-box .port-modal-cta-btn,
.port-quickview-box .port-modal-cta-btn:hover {
  border-radius: 0 0 16px 16px;
  transform: none;
  box-shadow: none;
}

.port-quickview-box .port-detail-info {
  padding-bottom: 22px;
}

.port-quickview-box .port-detail-media .port-gallery-viewport {
  min-height: 0;
  height: auto;
  flex: none;
  background: #f4f6fb;
  border-radius: 12px 12px 0 0;
}
.port-quickview-box .port-detail-media .port-gallery-stage {
  height: auto;
}
.port-quickview-box .port-detail-media .port-gallery-image {
  width: 100%;
  height: auto;
  max-height: 38vh;
  object-fit: contain;
}

.port-quickview-box .port-modal-section-title {
  font-size: 14px;
}
.port-quickview-box .port-modal-detail-text {
  font-size: 15px;
  line-height: 1.7;
}
.port-quickview-box .port-modal-specs-list li {
  font-size: 15px;
}

.port-quickview-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(8,12,20,.5);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.port-quickview-close:hover {
  background: rgba(8,12,20,.75);
}

.port-quickview-close svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 767px) {
  .port-quickview-box .port-detail-media .port-gallery-image {
    max-height: 50vh;
  }
}

/* Related case studies */
.port-detail-related {
  margin-top: 46px;
}

.port-detail-related > h2 {
  font-size: 19px;
  font-weight: 700;
  color: #17202c;
  margin-bottom: 18px;
}

.port-detail-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.port-detail-related-card {
  display: block;
  background: #fff;
  border: 1px solid #e8ebf1;
  border-radius: 12px;
  overflow: hidden;
  padding-bottom: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform .18s, box-shadow .18s;
}

.port-detail-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(18,32,58,.12);
}

.port-detail-related-img {
  height: 150px;
  background: #f3f5f8;
  overflow: hidden;
}

.port-detail-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.port-detail-related-card .portfolio-badges {
  margin: 14px 16px 0;
}

.port-detail-related-card .portfolio-badge {
  margin: 0;
}

.port-detail-related-card h3 {
  margin: 4px 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: #17202c;
  line-height: 1.45;
}

/* Missing item */
.port-detail-missing {
  text-align: center;
  padding: 90px 0 110px;
}

.port-detail-missing h1 {
  font-size: 22px;
  color: #17202c;
  margin-bottom: 10px;
}

.port-detail-missing p {
  color: #666;
  font-size: 14px;
  margin-bottom: 18px;
}

.port-detail-missing .port-modal-cta-btn {
  display: inline-block;
  width: auto;
  padding: 13px 26px;
}

/* ── Media gallery (photos + YouTube) ── */

/* Controls are toggled with the `hidden` attribute; without this the
   class-level `display: flex` rules below would keep them visible. */
.port-gallery [hidden] {
  display: none !important;
}

.port-gallery {
  flex: 1 1 58%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: #0f1522;
  border-radius: 0;
  width: 100%;
}

.port-gallery-viewport {
  position: relative;
  flex: 1;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #080c14;
  border-radius: 10px;
  overflow: hidden;
}

.port-gallery-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.port-gallery-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

/* ── Full-screen lightbox (click a gallery photo to enlarge) ── */
.port-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 10, 18, .86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 24px;
}

.port-lightbox.open {
  display: flex;
}

.port-lightbox-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 92vw;
  max-height: 90vh;
}

.port-lightbox-image {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  display: block;
}

.port-lightbox-caption {
  color: #dfe4ee;
  font-size: 13px;
  text-align: center;
}

.port-lightbox-close,
.port-lightbox-nav {
  position: absolute;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .15s, transform .15s;
}

.port-lightbox-close:hover,
.port-lightbox-nav:hover {
  background: rgba(255,255,255,.22);
}

.port-lightbox-close {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
}

.port-lightbox-close svg {
  width: 20px;
  height: 20px;
}

.port-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.port-lightbox-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.port-lightbox-nav svg {
  width: 24px;
  height: 24px;
}

.port-lightbox-nav.prev { left: 18px; }
.port-lightbox-nav.next { right: 18px; }

.port-lightbox-nav[hidden] { display: none; }

@media (max-width: 640px) {
  .port-lightbox-nav { width: 38px; height: 38px; }
  .port-lightbox-nav.prev { left: 8px; }
  .port-lightbox-nav.next { right: 8px; }
  .port-lightbox-close { width: 36px; height: 36px; top: 10px; right: 10px; }
}

.port-gallery-empty {
  color: #8c96a8;
  font-size: 13px;
}

.port-gallery-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 100%;
}

.port-gallery-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Click-to-load facade: YouTube is only fetched after user intent. */
.port-gallery-facade {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: #080c14;
  cursor: pointer;
  display: block;
}

.port-gallery-facade img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.port-gallery-play,
.port-gallery-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21,87,213,.94);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(0,0,0,.4);
  transition: transform .18s, background .18s;
}

.port-gallery-play {
  width: 64px;
  height: 64px;
}

.port-gallery-play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  margin-left: 3px;
}

.port-gallery-facade:hover .port-gallery-play {
  transform: translate(-50%, -50%) scale(1.07);
  background: #1557d5;
}

.port-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #17202c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
  transition: background .15s, transform .15s;
  z-index: 3;
}

.port-gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.port-gallery-nav.prev  { left: 12px; }
.port-gallery-nav.next  { right: 12px; }
.port-gallery-nav svg   { width: 22px; height: 22px; }

.port-gallery-counter {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  border-radius: 20px;
  background: rgba(8,12,20,.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  z-index: 3;
}

.port-gallery-caption {
  color: #c3ccdb;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
}

.port-gallery-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.port-gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #c3ccdb;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}

.port-gallery-tab span {
  font-size: 11px;
  opacity: .7;
}

.port-gallery-tab:hover  { background: rgba(255,255,255,.12); color: #fff; }
.port-gallery-tab.active { background: #1557d5; border-color: #1557d5; color: #fff; }

.port-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.port-gallery-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 74px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
  background: #060a11;
  cursor: pointer;
  opacity: .62;
  transition: opacity .15s, border-color .15s;
}

.port-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.port-gallery-thumb:hover  { opacity: 1; }
.port-gallery-thumb.active { opacity: 1; border-color: #1557d5; }

.port-gallery-thumb-play {
  width: 22px;
  height: 22px;
  box-shadow: none;
}

.port-gallery-thumb-play svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  margin-left: 1px;
}

/* optional sections */
.port-modal-section-title {
  font-size: 12px;
  font-weight: 700;
  color: #1557d5;
  margin: 18px 0 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.port-modal-detail-text {
  color: #555;
  font-size: 13px;
  line-height: 1.7;
}

.port-modal-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.port-modal-specs-list li {
  display: flex;
  gap: 7px;
  font-size: 13px;
  color: #444;
  line-height: 1.6;
}

.port-modal-specs-list li::before {
  content: '·';
  color: #1557d5;
  font-weight: 700;
  flex-shrink: 0;
}

.port-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.port-tag {
  padding: 3px 10px;
  background: #eef3ff;
  color: #1557d5;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #d0e0ff;
}

/* CTA — full-width blue button */
.port-modal-cta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #eef0f3;
}

.port-modal-cta-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: #1557d5;
  color: #fff;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background .15s;
  letter-spacing: .01em;
}

.port-modal-cta-btn:hover {
  background: #0e44b5;
}


/* =========================
   Certification page
========================= */

/* Redesigned "제품 인증 대행" page sections (cert2-*) */

.cert2-section {
  padding: 64px 0;
}

.cert2-prep,
.cert2-docs {
  background: #f8fafd;
}

.cert2-inner {
  width: calc(100% - 60px);
  max-width: 1200px;
  margin: 0 auto;
}

.cert2-heading {
  font-size: 26px;
  font-weight: 800;
  color: #07182d;
  margin-bottom: 32px;
}

/* Heading with a lead paragraph under it */
.cert2-section-head {
  margin-bottom: 32px;
}

.cert2-section-head .cert2-heading {
  margin-bottom: 0;
}

.cert2-section-head p {
  margin-top: 6px;

  color: #6a7b8c;

  font-size: 14px;
}

/* Product groups */
.cert2-group-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert2-group-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 26px 15px 22px;

  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;

  text-align: center;
}

.cert2-group-icon {
  width: 100%;
  max-width: 118px;
  aspect-ratio: 1 / 1;

  margin-bottom: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;
  background: #eef4ff;
  color: #1557d5;
}

.cert2-group-icon svg {
  width: 60px;
  height: 60px;
}

.cert2-group-card h3 {
  margin-bottom: 8px;

  font-size: 17px;
  font-weight: 700;
  color: #111;
}

.cert2-group-card > p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.75;
}

/* Pushed down so the tag rows line up across cards of unequal text length.
   Kept small enough that a short set stays on one line; longer sets wrap. */
.cert2-group-tags {
  margin-top: auto;
  padding-top: 16px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.cert2-group-tags span {
  padding: 3px 8px;

  border-radius: 20px;
  background: #f1f5fb;
  color: #5a6b80;

  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* Scope section */
.cert2-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.cert2-scope-card {
  display: flex;
  align-items: center;
  gap: 20px;

  padding: 20px;

  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.cert2-logo-card {
  flex: 0 0 120px;
  width: 120px;
  aspect-ratio: 1 / 1;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
}

.cert2-logo-card img {
  max-width: 100%;
  max-height: 60%;
  object-fit: contain;
}

.cert2-logo-mark {
  font-size: 30px;
  font-weight: 800;
  color: #1557d5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert2-logo-mark svg {
  width: 34px;
  height: 34px;
}

.cert2-logo-label {
  font-size: 12px;
  font-weight: 700;
  color: #6a7b8c;
  letter-spacing: .04em;
}

.cert2-scope-item {
  flex: 1;
  min-width: 0;
}

.cert2-scope-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.cert2-scope-item p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.75;
}

/* Prep section */
.cert2-prep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cert2-prep-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dde3ee;
}

.cert2-prep-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cert2-prep-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #e6ebf2;
}

.cert2-prep-item:last-child {
  border-bottom: none;
}

.cert2-prep-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #eef4ff;
  color: #1557d5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert2-prep-icon svg {
  width: 20px;
  height: 20px;
}

.cert2-prep-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.cert2-prep-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* Process */
.cert2-process-track {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.cert2-process-step {
  flex: 1;
  min-width: 0;
}

.cert2-process-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #1557d5;
  margin-bottom: 8px;
}

.cert2-process-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.cert2-process-step p {
  font-size: 12.5px;
  color: #666;
}

.cert2-process-arrow {
  flex-shrink: 0;
  margin-top: 10px;
  width: 16px;
  height: 16px;
  color: #c6cedb;
}

/* Docs cards */
.cert2-docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cert2-docs-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}

.cert2-docs-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eef4ff;
  color: #1557d5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert2-docs-icon svg {
  width: 18px;
  height: 18px;
}

.cert2-docs-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.cert2-docs-card p {
  font-size: 12.5px;
  color: #666;
}

/* FAQ */
.cert2-faq-list {
  display: flex;
  flex-direction: column;
}

.cert2-faq-item {
  border-bottom: 1px solid #e6ebf2;
}

.cert2-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 4px;
  background: none;
  border: none;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  color: #17202c;
  cursor: pointer;
}

.cert2-faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1557d5;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.cert2-faq-q svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #1557d5;
}

.cert2-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.cert2-faq-item.open .cert2-faq-a {
  max-height: 200px;
}

.cert2-faq-a p {
  padding: 0 4px 18px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

@media (max-width: 860px) {
  .cert2-group-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert2-scope-grid,
  .cert2-prep-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cert2-logo-card {
    flex: 0 0 90px;
    width: 90px;
  }

  .cert2-docs-grid {
    grid-template-columns: 1fr;
  }

  .cert2-process-track {
    flex-direction: column;
    gap: 20px;
  }

  .cert2-process-arrow {
    display: none;
  }

  .cert2-section {
    padding: 44px 0;
  }
}

@media (max-width: 550px) {
  .cert2-group-grid {
    grid-template-columns: 1fr;
  }
}

.cert-section {
  width: calc(100% - 60px);
  max-width: 1280px;

  margin: 0 auto;
  padding: 35px 0 50px;
}

.cert-intro {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: center;
}

.cert-intro-text h3 {
  margin-bottom: 18px;

  font-size: 24px;
  color: #17202c;
}

.cert-intro-text p {
  margin-bottom: 16px;

  color: #555;
  font-size: 14px;
  line-height: 1.8;
}

.cert-benefit-list {
  list-style: none;
  margin-top: 24px;
}

.cert-benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 12px;

  color: #333;
  font-size: 14px;
}

.cert-benefit-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #1557d5;
}

.cert-intro-img img {
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
  height: 280px;
}


/* Cert types */

.cert-types-section {
  width: calc(100% - 60px);
  max-width: 1280px;

  margin: 0 auto;
  padding: 0 0 50px;
}

.cert-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cert-type-card {
  padding: 28px 24px;

  border: 1px solid #dfe4ea;
  border-radius: 10px;

  background: #fff;
  transition: box-shadow 0.2s;
}

.cert-type-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.cert-type-icon {
  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 16px;

  background: #eef4ff;
  border-radius: 12px;
}

.cert-type-icon svg {
  width: 26px;
  height: 26px;
  color: #1557d5;
}

.cert-type-card h4 {
  margin-bottom: 10px;

  font-size: 17px;
  color: #17202c;
}

.cert-type-card p {
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}


/* Cert process */

.cert-process-section {
  width: calc(100% - 60px);
  max-width: 1280px;

  margin: 0 auto;
  padding: 0 0 60px;
}

.cert-process-steps {
  display: flex;
  align-items: center;
  gap: 0;
}

.cert-step {
  flex: 1;

  padding: 28px 20px;
  text-align: center;

  background: #f6f8fb;
  border-radius: 10px;
}

.cert-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  margin-bottom: 14px;

  color: #fff;
  background: #1557d5;
  border-radius: 50%;

  font-size: 15px;
  font-weight: 700;
}

.cert-step h4 {
  margin-bottom: 10px;

  font-size: 15px;
  color: #17202c;
}

.cert-step p {
  color: #666;
  font-size: 12px;
  line-height: 1.7;
}

.cert-step-arrow {
  flex-shrink: 0;
  width: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #1557d5;
}

.cert-step-arrow svg {
  width: 20px;
  height: 20px;
}


/* =========================
   Quote page
========================= */

.quote-page-section {
  width: calc(100% - 60px);
  max-width: 1280px;

  margin: 0 auto;
  padding: 40px 0 70px;
}

.quote-page-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
}

.quote-contact-info {
  position: sticky;
  top: 20px;

  padding: 28px 24px;

  background: #f6f8fb;
  border-radius: 10px;
}

.quote-contact-info h3 {
  margin-bottom: 22px;

  font-size: 17px;
  color: #17202c;
}

.quote-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  margin-bottom: 20px;
}

.quote-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #1557d5;
}

.quote-contact-item span {
  display: block;
  margin-bottom: 3px;

  color: #888;
  font-size: 11px;
}

.quote-contact-item strong {
  display: block;

  color: #17202c;
  font-size: 13px;
  line-height: 1.5;
}

.quote-notice {
  display: flex;
  gap: 10px;

  margin-top: 24px;
  padding: 14px 16px;

  background: #eef4ff;
  border-radius: 8px;
}

.quote-notice svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #1557d5;
}

.quote-notice p {
  color: #555;
  font-size: 12px;
  line-height: 1.6;
}

.quote-form-wrap h3 {
  margin-bottom: 24px;

  font-size: 20px;
  color: #17202c;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quote-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quote-form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.quote-form-field label {
  color: #333;
  font-size: 13px;
  font-weight: 600;
}

.quote-form-field label em {
  color: #e63946;
  font-style: normal;
  margin-left: 2px;
}

.quote-form-field input,
.quote-form-field select,
.quote-form-field textarea {
  padding: 11px 14px;

  border: 1px solid #dde2ea;
  border-radius: 6px;

  font-size: 14px;
  color: #333;

  outline: none;
  transition: border-color 0.15s;
}

.quote-form-field input:focus,
.quote-form-field select:focus,
.quote-form-field textarea:focus {
  border-color: #1557d5;
}

.quote-form-field textarea {
  resize: vertical;
  line-height: 1.6;
}

.quote-form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 13px;
  color: #555;
}

.quote-form-privacy a {
  color: #1557d5;
  text-decoration: underline;
}

.quote-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 15px;

  color: #fff;
  background: #1557d5;
  border: none;
  border-radius: 7px;

  font-size: 16px;
  font-weight: 700;

  cursor: pointer;
  transition: background 0.15s;
}

.quote-submit-btn:hover {
  background: #0e44b5;
}

.quote-submit-btn svg {
  width: 18px;
  height: 18px;
}

.quote-success {
  text-align: center;
  padding: 60px 20px;
}

.quote-success-icon {
  margin-bottom: 20px;
}

.quote-success-icon svg {
  width: 56px;
  height: 56px;
  color: #22c55e;
}

.quote-success h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: #17202c;
}

.quote-success p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.quote-success-home {
  display: inline-block;
  padding: 12px 28px;

  color: #fff;
  background: #1557d5;
  border-radius: 6px;

  font-weight: 700;
  font-size: 14px;
}

/* =========================
   Quote Modal (3-step)
========================= */

.qm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,18,38,.58);
  backdrop-filter: blur(3px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}
.qm-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.qm-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 660px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
  transform: scale(0.88) translateY(20px);
  transition: transform .32s cubic-bezier(.34,1.42,.64,1);
}
.qm-overlay.is-open .qm-box {
  transform: scale(1) translateY(0);
}
.qm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #f2f4f7;
  color: #555;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.qm-close:hover { background: #e2e6ed; }

/* Steps */
.qm-steps {
  display: flex;
  align-items: center;
  padding: 24px 32px 0;
  gap: 0;
}
.qm-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.qm-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8ecf4;
  color: #888;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.qm-step-label {
  font-size: 12px;
  color: #aaa;
  font-weight: 500;
  transition: color .2s;
}
.qm-step.active .qm-step-num { background: #1557d5; color: #fff; }
.qm-step.active .qm-step-label { color: #1557d5; font-weight: 700; }
.qm-step.done .qm-step-num { background: #1557d5; color: #fff; }
.qm-step.done .qm-step-label { color: #1557d5; }
.qm-step-line {
  flex: 1;
  height: 1px;
  background: #dde2ef;
  margin: 0 12px;
  min-width: 30px;
}

/* Panel */
.qm-panel { display: none; padding: 24px 32px 28px; }
.qm-panel.active { display: block; }

.qm-panel-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.qm-panel-icon {
  width: 44px;
  height: 44px;
  background: #eef3ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1557d5;
  flex-shrink: 0;
}
.qm-panel-icon svg { width: 22px; height: 22px; }
.qm-panel-header h2 { font-size: 17px; font-weight: 600; color: #17202c; line-height: 1.5; margin-bottom: 5px; }
.qm-panel-header h2 strong { color: #1557d5; }
.qm-panel-header p { font-size: 12px; color: #888; line-height: 1.6; }

/* Form */
.qm-form { display: flex; flex-direction: column; gap: 12px; }
.qm-field label { display: block; font-size: 12px; font-weight: 600; color: #444; margin-bottom: 6px; }
.qm-req { color: #e53e3e; }
.qm-field input, .qm-field select, .qm-field textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid #dde2ef;
  border-radius: 8px;
  font-size: 13px;
  color: #222;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
  font-family: inherit;
  background: #fff;
}
.qm-field input:focus, .qm-field select:focus, .qm-field textarea:focus {
  border-color: #1557d5;
}
.qm-field textarea { min-height: 64px; resize: vertical; }
.qm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Chips */
.qm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.qm-chip {
  padding: 5px 10px;
  border: 1.5px solid #dde2ef;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: border-color .15s, background .15s, color .15s;
}
.qm-chip.active, .qm-chip:hover {
  border-color: #1557d5;
  background: #eef3ff;
  color: #1557d5;
}

/* Radio group */
.qm-radio-group { display: flex; flex-wrap: wrap; gap: 6px; }
.qm-radio {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  padding: 5px 10px;
  border: 1.5px solid #dde2ef;
  border-radius: 20px;
  transition: border-color .15s, background .15s;
}
.qm-radio:has(input:checked) { border-color: #1557d5; background: #eef3ff; color: #1557d5; }
.qm-radio input { display: none; }

/* Qty */
.qm-qty-wrap { display: flex; align-items: center; gap: 0; }
.qm-qty-wrap input { border-radius: 8px 0 0 8px; border-right: none; }
.qm-qty-unit {
  padding: 10px 14px;
  background: #f5f7fc;
  border: 1.5px solid #dde2ef;
  border-left: none;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: #666;
}

/* Char count */
.qm-char-count { font-size: 11px; color: #aaa; text-align: right; display: block; margin-top: 3px; }

/* Agree */
.qm-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #444;
  cursor: pointer;
}
.qm-agree-detail {
  margin-left: auto;
  background: none;
  border: none;
  color: #1557d5;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.qm-agree-text {
  font-size: 12px;
  color: #666;
  background: #f8f9fb;
  border-radius: 8px;
  padding: 12px 14px;
  line-height: 1.8;
  border: 1px solid #e8ecf4;
}
.qm-privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  color: #888;
  background: #f5f7fb;
  border-radius: 8px;
  padding: 10px 12px;
  line-height: 1.7;
}
.qm-privacy-note svg { flex-shrink: 0; margin-top: 2px; }

/* Actions */
.qm-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.qm-btn-primary {
  flex: 1;
  padding: 13px;
  background: #1557d5;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background .15s;
}
.qm-btn-primary:hover { background: #0e44b5; }
.qm-btn-primary:disabled { background: #9ab4e8; cursor: not-allowed; }
.qm-btn-secondary {
  padding: 13px 20px;
  background: #f2f4f8;
  color: #555;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.qm-btn-secondary:hover { background: #e2e6ed; }

/* Step 3 Done */
.qm-done-body { display: flex; gap: 28px; }
.qm-done-left { flex: 1; }
.qm-done-icon {
  width: 48px;
  height: 48px;
  background: #1557d5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 14px;
}
.qm-done-icon svg { width: 24px; height: 24px; }
.qm-done-left h3 { font-size: 16px; font-weight: 700; color: #17202c; margin-bottom: 6px; }
.qm-done-left > p { font-size: 13px; color: #666; margin-bottom: 16px; }
.qm-done-notice {
  background: #f5f7fb;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 11px;
  color: #777;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 14px;
}
.qm-done-contact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #eef3ff;
  border-radius: 8px;
  padding: 12px 14px;
}
.qm-done-contact > div { display: flex; flex-direction: column; gap: 2px; }
.qm-contact-label { font-size: 11px; color: #888; }
.qm-done-contact a { font-size: 15px; font-weight: 700; color: #1557d5; text-decoration: none; }
.qm-contact-time { font-size: 10px; color: #999; }
.qm-done-right { width: 240px; flex-shrink: 0; min-width: 0; }
.qm-summary-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.qm-summary-table th, .qm-summary-table td { padding: 8px 10px; border-bottom: 1px solid #eef0f3; text-align: left; }
.qm-summary-table th { color: #888; font-weight: 600; white-space: nowrap; }
.qm-summary-table td { color: #222; }
.qm-ref-no { color: #1557d5; font-weight: 700; }

/* =========================
   문의하기 Modal
========================= */

.inquiry-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 38, .58);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s cubic-bezier(.4,0,.2,1);
  backdrop-filter: blur(3px);
}

.inquiry-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* ── Pop forward animation ── */
.inquiry-modal {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 680px;
  padding: 34px 30px 30px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255,255,255,.06);
  position: relative;
  transform: scale(0.86) translateY(24px);
  opacity: 0;
  transition: transform .32s cubic-bezier(.34,1.42,.64,1), opacity .22s ease;
}

.inquiry-modal-overlay.is-open .inquiry-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.inquiry-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border: none;
  background: #f2f4f7;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s, color .15s;
  line-height: 1;
}

.inquiry-modal-close:hover {
  background: #e2e6ed;
  color: #111;
}

.inquiry-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #17202c;
  margin-bottom: 5px;
}

.inquiry-modal-sub {
  font-size: 13px;
  color: #9aa3b0;
  margin-bottom: 24px;
}

/* ── Single card ── */
.inquiry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 28px 26px;
  border: 1.5px solid #e4e9f2;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, box-shadow .18s, background .18s, transform .18s;
  background: #fff;
}

.inquiry-card:hover {
  border-color: #1557d5;
  background: #f4f8ff;
  box-shadow: 0 6px 24px rgba(21, 87, 213, .12);
  transform: translateY(-2px);
}

.inquiry-card-icon {
  width: 56px;
  height: 56px;
  background: #eef3ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #1557d5;
  transition: background .18s;
}

.inquiry-card:hover .inquiry-card-icon {
  background: #ddeaff;
}

.inquiry-card-icon svg {
  width: 26px;
  height: 26px;
}

.inquiry-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #17202c;
  margin-bottom: 8px;
}

.inquiry-card p {
  font-size: 13px;
  color: #8896ab;
  line-height: 1.65;
  margin-bottom: 18px;
}

.inquiry-card-arrow {
  width: 34px;
  height: 34px;
  background: #1557d5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: background .18s, transform .18s;
}

.inquiry-card:hover .inquiry-card-arrow {
  background: #0e44b5;
  transform: translateX(3px);
}

/* =========================
   Unified visual system
========================= */

/* Certification hero — follows the supplied desktop reference */
.certification-hero {
  position: relative;
  isolation: isolate;
  width: calc(100% - 60px);
  max-width: var(--container-width);
  min-height: 420px;
  margin: 0 auto;
  padding: 58px 70px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: 64px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 45%, rgba(19, 102, 238, 0.24), transparent 31%),
    linear-gradient(115deg, #031a39 0%, #062555 58%, #031a39 100%);
  border-radius: 0 0 var(--radius-large) var(--radius-large);
}

.certification-hero::before,
.certification-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(78, 145, 255, 0.13);
  transform: rotate(30deg);
}

.certification-hero::before {
  width: 340px;
  height: 340px;
  right: 28%;
  top: -190px;
}

.certification-hero::after {
  width: 260px;
  height: 260px;
  right: -105px;
  bottom: -150px;
}

.certification-hero-copy {
  max-width: 520px;
}

.certification-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #3d8cff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.certification-hero h1 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.certification-hero h1 strong {
  color: #3d8cff;
}

.certification-hero-copy > p {
  margin-bottom: 28px;
  color: rgba(226, 235, 249, 0.8);
  font-size: 14px;
  line-height: 1.75;
}

.certification-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.certification-primary-btn,
.certification-secondary-btn {
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: var(--radius-small);
  font-size: 12px;
  font-weight: 750;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.certification-primary-btn {
  color: #fff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.certification-secondary-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.certification-primary-btn:hover,
.certification-secondary-btn:hover {
  transform: translateY(-2px);
}

.certification-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.5);
}

.certification-hero-actions svg,
.certification-hero-card a svg {
  width: 14px;
  height: 14px;
}

.certification-hero-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: end;
}

.certification-hero-card {
  min-height: 250px;
  padding: 25px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-small);
  box-shadow: 0 18px 38px rgba(0, 8, 25, 0.2);
}

.certification-mark {
  width: 100%;
  height: 110px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1455d9;
}

.certification-mark img {
  max-width: 150px;
  max-height: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.certification-mark-kc {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.12em;
}

.certification-mark-kolas {
  width: 90px;
  height: 90px;
  justify-content: center;
  border: 3px solid #df334a;
  border-radius: 50%;
  color: #1455d9;
}

.certification-mark-kolas svg {
  width: 44px;
  height: 44px;
  stroke-width: 1.8;
}

.certification-hero-card h2 {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 16px;
  letter-spacing: -0.03em;
}

.certification-hero-card p {
  margin-bottom: 17px;
  color: var(--color-gray);
  font-size: 11px;
  line-height: 1.65;
}

.certification-hero-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 750;
}

/* Certification content — supplied reference composition */
.certification-content {
  width: calc(100% - 60px);
  max-width: var(--container-width);
  margin: 0 auto 30px;
}

.certification-strengths {
  padding: 42px 0 34px;
}

.certification-section-heading {
  margin-bottom: 27px;
  text-align: center;
}

.certification-section-heading h2 {
  color: var(--color-text);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.certification-section-heading span {
  width: 30px;
  height: 3px;
  display: block;
  margin: 10px auto 0;
  background: var(--color-primary);
  border-radius: 999px;
}

.certification-strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.certification-strength-card {
  min-height: 132px;
  padding: 25px 22px;
  display: flex;
  align-items: center;
  gap: 17px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.certification-strength-card:hover {
  transform: translateY(-3px);
  border-color: #c9d8f5;
  box-shadow: var(--shadow-small);
}

.certification-strength-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 50%;
}

.certification-strength-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.certification-strength-card h3 {
  margin-bottom: 6px;
  color: var(--color-text);
  font-size: 15px;
  letter-spacing: -0.025em;
}

.certification-strength-card p {
  color: var(--color-gray);
  font-size: 11px;
  line-height: 1.65;
}

.cert-bottom-wrap {
  padding: 0 0 40px;
}

.cert-bottom-inner {
  width: calc(100% - 60px);
  max-width: var(--container-width);
  margin: 0 auto;
  background: linear-gradient(180deg, #f4f7fc 0%, #edf1f8 100%);
  padding: 32px 40px 40px;
}

.certification-process {
  padding: 0 0 24px;
  background: none;
  border: none;
}

.certification-process-track {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr 24px 1.1fr;
  align-items: start;
  gap: 10px;
}

.certification-process-step {
  text-align: center;
}

.certification-process-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid #dce5f5;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(7, 26, 53, 0.06);
}

.certification-process-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}

.certification-process-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: invert(31%) sepia(97%) saturate(3388%) hue-rotate(216deg) brightness(90%) contrast(99%);
}

.certification-process-step-final .certification-process-icon {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 9px 20px rgba(11, 87, 227, 0.25);
}

.certification-process-step h3 {
  margin-bottom: 6px;
  color: var(--color-text);
  font-size: 13px;
  letter-spacing: -0.025em;
}

.certification-process-step p {
  max-width: 150px;
  margin: 0 auto;
  color: var(--color-gray);
  font-size: 10px;
  line-height: 1.55;
}

.certification-process-arrow {
  width: 18px;
  height: 18px;
  margin-top: 25px;
  color: #a9b4c5;
  stroke-width: 1.4;
}

.certification-contact-panel {
  min-height: 160px;
  display: grid;
  grid-template-columns: 1.05fr 1.3fr 150px;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
}

.certification-contact-cta {
  padding: 24px 32px;
  color: #fff;
  background: linear-gradient(135deg, #0758e7, #073fb4);
}

.certification-contact-cta h2 {
  margin-bottom: 6px;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.certification-contact-cta p {
  margin-bottom: 23px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
}

.certification-contact-cta a {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: #fff;
  background: rgba(0, 18, 61, 0.18);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: var(--radius-small);
  font-size: 11px;
  font-weight: 750;
}

.certification-contact-cta a svg {
  width: 14px;
  height: 14px;
}

.certification-contact-details {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.certification-contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #344054;
  font-size: 12px;
  font-weight: 650;
}

.certification-contact-details svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--color-primary);
  stroke-width: 1.8;
}

.certification-contact-document {
  position: relative;
  padding: 24px 24px 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certification-document-stage {
  position: relative;
  width: 88px;
  height: 122px;
}

.certification-contact-document .certification-document-image {
  width: 88px;
  height: 122px;
  object-fit: cover;
  border: 1px solid #dfe5ee;
  box-shadow: 0 8px 22px rgba(7, 26, 53, .1);
}

.certification-contact-document .certification-document-badge {
  position: absolute;
  right: -13px;
  bottom: -8px;
  width: 31px;
  height: 31px;
  object-fit: contain;
  filter: invert(67%) sepia(28%) saturate(868%) hue-rotate(184deg) brightness(94%) contrast(88%);
}

:where(button, a, input, select, textarea) {
  font: inherit;
}

:where(button, a):focus-visible,
:where(input, select, textarea):focus-visible {
  outline: 3px solid rgba(11, 87, 227, 0.22);
  outline-offset: 3px;
}

body {
  color: var(--color-text);
  background: var(--color-white);
}

.sub-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 0 rgba(7, 26, 53, 0.03);
}

.sub-header-inner {
  max-width: var(--container-width);
  height: 74px;
}

.sub-logo {
  gap: 7px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.sub-logo strong {
  color: var(--color-primary);
  letter-spacing: -0.06em;
}

.sub-logo span {
  color: var(--color-muted);
  letter-spacing: 0;
}

.sub-nav {
  gap: 36px;
}

.sub-nav a {
  color: #344054;
  font-weight: 650;
  transition: color var(--transition);
}

.sub-nav a:hover,
.sub-nav a.active {
  color: var(--color-primary);
}

.sub-nav a.active::after {
  bottom: 10px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 999px;
}

.company-home {
  color: #475467;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.company-home svg,
:where(.sub-quote, .hero-button, .why-button, .trust-title a, .quote-banner-button,
  .popup-button, .footer-main-site) svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.sub-quote {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.sub-quote,
.hero-button,
.popup-button,
.quote-banner-button,
.equip-modal-cta,
.port-modal-cta-btn,
.quote-submit-btn {
  min-height: 44px;
  border-radius: var(--radius-small);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.sub-quote,
.hero-button,
.popup-button,
.equip-modal-cta,
.port-modal-cta-btn,
.quote-submit-btn {
  background: var(--color-primary);
}

:where(.sub-quote, .hero-button, .popup-button, .equip-modal-cta, .port-modal-cta-btn, .quote-submit-btn):hover {
  background: var(--color-primary-dark);
  box-shadow: 0 8px 22px rgba(11, 87, 227, 0.24);
  transform: translateY(-1px);
}

.hero,
.manufacturing-hero,
.sub-page-hero {
  max-width: var(--container-width);
  border-radius: 0 0 var(--radius-large) var(--radius-large);
  overflow: hidden;
}

.hero-content {
  padding: 64px 54px;
}

.hero h1,
.manufacturing-hero h1,
.sub-page-hero h1 {
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero p,
.manufacturing-hero p,
.sub-page-hero p {
  letter-spacing: -0.015em;
}

.hero-button {
  gap: 48px;
  padding: 13px 20px;
}

:where(.services, .why-us, .trust-section, .quote-banner, .footer,
  .manufacturing-fields, .rep-products, .equip-section, .portfolio-section,
  .cert-section, .cert-types-section, .cert-process-section, .quote-page-section) {
  max-width: var(--container-width);
}

:where(.service-card, .manufacturing-card, .rep-product-card, .equip-card,
  .portfolio-card, .cert-type-card, .inquiry-card) {
  border-color: var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: 0 1px 2px rgba(7, 26, 53, 0.02);
}

:where(.service-card, .rep-product-card, .equip-card, .portfolio-card, .cert-type-card, .inquiry-card):hover {
  border-color: #c9d8f5;
  box-shadow: var(--shadow-small);
  transform: translateY(-4px);
}

:where(.service-card, .rep-product-card, .equip-card, .portfolio-card, .cert-type-card, .inquiry-card) h2,
:where(.service-card, .rep-product-card, .equip-card, .portfolio-card, .cert-type-card, .inquiry-card) h3 {
  color: var(--color-text);
  letter-spacing: -0.025em;
}

:where(.service-card, .rep-product-card, .equip-card, .portfolio-card, .cert-type-card, .inquiry-card) p {
  color: var(--color-gray);
}

:where(.manufacturing-icon, .cert-type-icon, .popup-icon, .inquiry-card-icon) {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

:where(.manufacturing-icon, .cert-type-icon, .popup-icon, .inquiry-card-icon) svg,
.trust-heading svg,
.industry-item svg {
  stroke-width: 1.75;
}

.section-title h2,
.trust-section > h2 {
  color: var(--color-text);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.section-title span {
  height: 3px;
  background: var(--color-primary);
  border-radius: 999px;
}


.industry-banner,
.quote-banner,
.footer {
  background: var(--color-navy);
}

.quote-banner {
  background: var(--color-cta-banner);
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.quote-banner-button {
  color: var(--color-primary);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}

.footer {
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
}

.popup,
.inquiry-modal {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-medium);
}

.popup-close svg,
.equip-modal-close svg,
.inquiry-modal-close svg {
  width: 17px;
  height: 17px;
}

.popup-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.7;
}

:where(.popup-close, .equip-modal-close, .inquiry-modal-close) {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #667085;
  background: #f2f4f7;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

:where(.popup-close, .equip-modal-close, .inquiry-modal-close):hover {
  color: var(--color-text);
  background: #e4e7ec;
  transform: rotate(4deg);
}

:where(input, select, textarea) {
  border-color: var(--color-border) !important;
  border-radius: var(--radius-small) !important;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

:where(input, select, textarea):focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(11, 87, 227, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================
   Unified hero typography
========================= */

:is(.hero, .manufacturing-hero, .sub-page-hero, .certification-hero) {
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  color: #fff;
  height: 420px;
  min-height: 420px;
  border-radius: 0;
}

.manufacturing-hero,
.sub-page-hero {
  background-image:
    linear-gradient(90deg, rgba(3, 18, 42, 0.97) 0%, rgba(4, 31, 70, 0.88) 52%, rgba(3, 18, 42, 0.64) 100%),
    url("../assets/images/manufacturing-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

:is(.hero, .manufacturing-hero, .sub-page-hero, .certification-hero) h1 {
  margin-bottom: 20px;
  font-family: inherit;
  font-size: var(--hero-title-size);
  font-weight: 800;
  line-height: var(--hero-title-line-height);
  letter-spacing: -0.05em;
  color: #fff;
}

:is(.hero, .manufacturing-hero, .sub-page-hero) p,
.certification-hero-copy > p {
  font-family: inherit;
  font-size: var(--hero-body-size);
  font-weight: 400;
  line-height: var(--hero-body-line-height);
  letter-spacing: -0.018em;
  color: rgba(226, 235, 249, 0.82);
}

:is(.hero, .manufacturing-hero, .sub-page-hero) p {
  color: rgba(226, 235, 249, 0.82);
}

.certification-eyebrow {
  font-family: inherit;
  font-size: var(--hero-eyebrow-size);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

:is(.hero-button, .certification-primary-btn, .certification-secondary-btn) {
  font-family: inherit;
  font-size: var(--hero-action-size);
  font-weight: 750;
  line-height: 1;
}

.certification-hero-card h2 {
  font-family: inherit;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

.certification-hero-card p {
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}

/* Full-width CTA/footer backgrounds with centered content */
body .quote-banner {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
}

/* Full-width hero backgrounds with centered content */
body :is(.hero, .manufacturing-hero, .sub-page-hero, .certification-hero) {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
  background: #031a39;
  background-image: none;
}

.hero {
  --hero-background-image: url("../assets/images/hero-main.png");
}

.manufacturing-hero,
.sub-page-hero {
  --hero-background-image: url("../assets/images/manufacturing-hero.png");
}

.certification-hero {
  --hero-background-image: none;
}

body :is(.hero, .manufacturing-hero, .sub-page-hero, .certification-hero)::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(1280px, 100%);
  height: 100%;
  background-image: var(--hero-background-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 0;
  transform: translateX(-50%);
}

body :is(.hero, .manufacturing-hero, .sub-page-hero, .certification-hero)::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  background:
    radial-gradient(circle at 72% 45%, rgba(19, 102, 238, .13), transparent 30%),
    linear-gradient(90deg, rgba(3, 18, 42, .96) 0%, rgba(4, 31, 70, .78) 52%, rgba(3, 18, 42, .58) 100%);
  border: 0;
  transform: none;
}

.hero-content,
.manufacturing-hero-content,
.sub-page-hero-content,
.certification-hero-inner {
  position: relative;
  z-index: 1;
}

.hero-content,
.manufacturing-hero-content,
.sub-page-hero-content {
  width: calc(100% - 60px);
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.manufacturing-hero-content,
.sub-page-hero-content {
  padding-left: 55px;
  padding-right: 55px;
}

.certification-hero {
  display: block;
  padding: 0;
}

.certification-hero-inner {
  width: calc(100% - 60px);
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
  padding: 58px 70px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  align-items: center;
  gap: 64px;
}

/* Full-width industry banner with centered inner composition */
body .industry-banner {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 38px;
  padding-right: 38px;
  background: transparent;
  border-radius: 0;
}

body .industry-banner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background: var(--color-navy);
  transform: translateX(-50%);
}

.quote-banner-inner {
  width: calc(100% - 60px);
  max-width: var(--container-width);
  margin: 0 auto;
}

body .footer {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
}

.footer-inner {
  width: calc(100% - 60px);
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer-bottom {
  width: calc(100% - 60px);
  max-width: var(--container-width);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .quote-banner-inner,
  .footer-inner,
  .footer-bottom {
    width: calc(100% - 32px);
  }
}

/* 3-card grid */
.inquiry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* button reset for card */
button.inquiry-card {
  font-family: inherit;
  width: 100%;
  border: 1.5px solid #e4e9f2;
}

/* contact sub-panel */
.inquiry-contact-panel {
  padding: 4px 0;
}

.inquiry-back-btn {
  background: none;
  border: none;
  color: #1557d5;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.inquiry-back-btn:hover { text-decoration: underline; }

.inquiry-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inquiry-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 14px;
}

.inquiry-contact-label {
  min-width: 60px;
  font-weight: 700;
  color: #555;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.inquiry-contact-item a {
  color: #1557d5;
  font-weight: 600;
  text-decoration: none;
}

.inquiry-contact-item a:hover { text-decoration: underline; }

.inquiry-contact-item span:last-child { color: #444; }

/* ── Mobile: compact horizontal cards ── */
@media (max-width: 540px) {
  .inquiry-modal-overlay {
    padding: 12px;
    align-items: flex-end;
  }

  .inquiry-modal {
    padding: 24px 16px 20px;
    border-radius: 18px 18px 12px 12px;
    max-height: calc(100svh - 24px);
    overflow-y: auto;
  }

  .inquiry-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .inquiry-card {
    display: grid;
    grid-template-columns: 44px 1fr 30px;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    text-align: left;
    padding: 14px 16px;
  }

  .inquiry-card-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
  }

  .inquiry-card-icon svg {
    width: 22px;
    height: 22px;
  }

  .inquiry-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 15px;
    margin-bottom: 0;
  }

  .inquiry-card p {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
    margin-bottom: 0;
    line-height: 1.45;
  }

  .inquiry-card-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    width: 30px;
    height: 30px;
  }
}

/* ══════════════════════════════════════════════
   PARTNER / CLIENT LOGOS SECTION
   ══════════════════════════════════════════════ */
.logos-section {
  width: 100%;
  background: #f8f9fc;
  border-top: 1px solid #e8ecf4;
  border-bottom: 1px solid #e8ecf4;
}

.logos-section-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 52px 40px 48px;
}

.logos-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a2340;
  text-align: center;
  margin-bottom: 22px;
}

.logos-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.logos-tab {
  padding: 6px 18px;
  border-radius: 20px;
  border: 1.5px solid #d0d7e8;
  background: #fff;
  color: #556;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}

.logos-tab.active,
.logos-tab:hover {
  background: #1a3a70;
  color: #fff;
  border-color: #1a3a70;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.logos-item {
  background: #fff;
  border: 1px solid #e4e9f4;
  border-radius: 10px;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: box-shadow .18s, transform .18s;
}

.logos-item:hover {
  box-shadow: 0 4px 16px rgba(26,58,112,.1);
  transform: translateY(-2px);
}

.logos-item img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.logos-item-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e8edf8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos-item-placeholder span {
  font-size: 22px;
  font-weight: 700;
  color: #1a3a70;
}

.logos-item p {
  font-size: 13px;
  font-weight: 600;
  color: #2a3350;
  text-align: center;
  margin: 0;
}

.logos-empty {
  grid-column: 1/-1;
  text-align: center;
  color: #999;
  padding: 30px;
  font-size: 14px;
}

/* Site logo image in header.
   Uploaded logo files tend to carry a lot of baked-in transparent margin
   above/below the wordmark, so a plain height increase just grows that
   margin along with the text. object-fit:cover crops that margin away
   and zooms into the centered glyphs instead, so the visible text scales
   with the box instead of the padding around it. */
.sub-logo .site-logo-img {
  height: 36px;
  width: 400px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ══════════════════════════════════════════════
   MOBILE HAMBURGER MENU
   ══════════════════════════════════════════════ */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background .15s;
  z-index: 1001;
}
.burger-btn:hover { background: rgba(0,0,0,.06); }
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a2340;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.38);
  z-index: 999;
}
.mobile-menu-overlay.open { display: block; }

/* Drawer panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100vh;
  background: #fff;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,.14);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eef0f3;
}
.mobile-menu-logo {
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  color: #1a2340;
  letter-spacing: -.02em;
}
.mobile-menu-logo strong { color: #1557d5; }
.mobile-menu-close {
  width: 34px;
  height: 34px;
  border: none;
  background: #f0f2f5;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover { background: #e2e4e8; }

.mobile-menu-nav {
  padding: 12px 0;
  flex: 1;
}
.mobile-menu-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #2a3350;
  text-decoration: none;
  border-bottom: 1px solid #f4f5f8;
  transition: background .12s, color .12s;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  background: #eef4ff;
  color: #1557d5;
}
.mobile-menu-nav a.active {
  border-left: 3px solid #1557d5;
  padding-left: 21px;
}

.mobile-menu-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid #eef0f3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu-company {
  min-height: 44px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #344054;
  background: #f7f9fc;
  border: 1px solid #e4e9f1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.mobile-menu-company svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--color-primary);
}

.mobile-menu-company span:last-child {
  margin-left: auto;
  color: var(--color-primary);
}

.mobile-menu-company:hover {
  color: var(--color-primary);
  background: var(--color-primary-soft);
}
.mobile-menu-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: #1557d5;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
}
.mobile-menu-quote:hover { background: #0e44b5; }

@media (max-width: 900px) {
  .burger-btn { display: flex; }
}

/* ══════════════════════════════════════════════
   MOBILE BOTTOM TAB BAR
   ══════════════════════════════════════════════ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background: #fff;
  border-top: 1px solid #eef0f3;
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bottom-nav-inner {
  display: flex;
}
.mobile-bottom-nav-inner a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #8a93a6;
  text-decoration: none;
  transition: color .15s;
}
.mobile-bottom-nav-inner a i {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
}
.mobile-bottom-nav-inner a:hover,
.mobile-bottom-nav-inner a.active {
  color: #1557d5;
}

@media (max-width: 900px) {
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 58px; }
}

/* Mobile menu brand (logo + tagline stacked) */
.mobile-menu-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu-logo-name {
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  color: #1a2340;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.mobile-menu-logo-name strong { color: #1557d5; }
.mobile-menu-tagline {
  font-size: 11px;
  color: #888;
  font-weight: 500;
  letter-spacing: .01em;
}
.mobile-menu-logo-img {
  height: 30px;
  max-width: 140px;
  object-fit: contain;
}


/* =========================================================
   Unified section headings + page gutters
   One heading style (left-aligned, same size/weight/family) and one
   content width (1280px, 30px side gutters — same as the header) so
   every section's left/right edges line up down the page.
========================================================= */

.home-portfolio-inner,
.home-products-inner,
.client-logos-inner,
.cert2-inner {
  max-width: 1280px;
}

.section-title h2,
.home-portfolio-header h2,
.home-products-inner .section-title-wrap h2,
.client-logos-inner .section-title-wrap h2,
.cert2-heading,
.cert-docs-header h2,
.why-us-info h2,
.trust-title h3.trust-heading,
.process-steps .section-title h2 {
  font-family: inherit;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #07182d;
  text-align: left;
}

.section-title,
.home-products-inner .section-title-wrap,
.client-logos-inner .section-title-wrap {
  text-align: left;
  margin-bottom: 28px;
}

.section-title span {
  display: none;
}

.section-title-with-link span {
  display: none;
}

.section-title p,
.home-portfolio-header p,
.home-products-inner .section-title-wrap p,
.client-logos-inner .section-title-wrap p {
  margin-top: 6px;
  font-size: 14px;
  color: #6a7b8c;
  text-align: left;
}

.process-steps .section-title p {
  text-align: left;
}

.trust-heading {
  margin: 0;
}

.trust-heading svg {
  display: none;
}

.cert-docs-header h2 {
  margin-right: 12px;
}

@media (max-width: 550px) {
  .section-title h2,
  .home-portfolio-header h2,
  .home-products-inner .section-title-wrap h2,
  .client-logos-inner .section-title-wrap h2,
  .cert2-heading,
  .cert-docs-header h2,
  .why-us-info h2,
  .trust-title h3.trust-heading,
  .process-steps .section-title h2 {
    font-size: 22px;
  }
}

/* Hero text starts on the same left edge as the header logo and every section below. */
body .hero-content,
body .sub-page-hero-content,
body .manufacturing-hero-content {
  width: calc(100% - 60px);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 900px) {
  body .hero-content,
  body .sub-page-hero-content,
  body .manufacturing-hero-content {
    width: calc(100% - 32px);
  }
}

.cert-docs-inner {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 900px) {
  body .home-portfolio-inner,
  body .home-products-inner,
  body .client-logos-inner,
  body .cert2-inner,
  body .trust-section,
  body .cert-docs-inner {
    width: calc(100% - 32px);
  }

  body .trust-section {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 550px) {
  body .process-steps {
    padding-left: 0;
    padding-right: 0;
  }

  body .process-steps-inner {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* CTA banner and footer content sit on the same left/right edge as every section above. */
body .quote-banner-inner,
body .footer-inner {
  padding-left: 0;
  padding-right: 0;
}

body .footer-bottom {
  margin-left: auto;
  margin-right: auto;
}

/* Industry banner: same heading type as every section, content on the shared left edge. */
html body .industry-banner {
  padding-left: 0;
  padding-right: 0;
}

body .industry-banner-text h2 {
  font-family: inherit;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

body .industry-banner-text p,
body .process-steps .section-title p {
  font-size: 14px;
  line-height: 1.6;
}

body .section-title-with-link {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

@media (max-width: 900px) {
  body .industry-list {
    padding-left: 0;
  }
}

@media (max-width: 550px) {
  body .industry-banner-text h2 {
    font-size: 22px;
  }
}

/* Inquiry popup: 3 cards per row, leftover cards centred (3–5 cards). */
.inquiry-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.inquiry-cards .inquiry-card {
  flex: 0 0 calc((100% - 24px) / 3);
  width: calc((100% - 24px) / 3);
}

.inquiry-card-kakao .inquiry-card-icon {
  background: #fee500;
  color: #191600;
}

.inquiry-card-kakao:hover .inquiry-card-icon {
  background: #f5dc00;
}

@media (max-width: 540px) {
  .inquiry-cards {
    display: grid;
    grid-template-columns: 1fr;
  }

  .inquiry-cards .inquiry-card {
    width: auto;
  }
}

/* Inquiry popup must always be fully reachable: never taller than the screen
   (it scrolls inside), and on phones the cards are compact enough that all
   five fit without scrolling on a typical screen. */
.inquiry-modal {
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}

@media (max-width: 540px) {
  .inquiry-modal {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding-top: 20px;
    padding-bottom: 14px;
  }

  .inquiry-modal-title {
    font-size: 20px;
  }

  .inquiry-modal-sub {
    margin-bottom: 12px;
    font-size: 12.5px;
  }

  .inquiry-cards {
    gap: 8px;
  }

  .inquiry-card {
    padding: 9px 14px;
    grid-template-columns: 38px 1fr 28px;
    column-gap: 12px;
    row-gap: 0;
  }

  .inquiry-card-icon {
    width: 38px;
    height: 38px;
  }

  .inquiry-card-icon svg {
    width: 20px;
    height: 20px;
  }

  .inquiry-card h3 {
    font-size: 14.5px;
  }

  .inquiry-card p {
    font-size: 11.5px;
    line-height: 1.35;
  }

  .inquiry-card-arrow {
    width: 28px;
    height: 28px;
  }
}

/* Very short phone screens: titles only, so every option stays visible. */
@media (max-width: 540px) and (max-height: 620px) {
  .inquiry-card p,
  .inquiry-modal-sub {
    display: none;
  }
}

/* Phones: each process step reads "01  제목" on one row, description below the title. */
@media (max-width: 550px) {
  body .process-step,
  body .process-step:nth-child(2n),
  body .process-step:first-child {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 10px;
    row-gap: 4px;
    align-items: baseline;
    padding-left: 0;
    padding-right: 0;
  }

  body .process-step .process-step-num {
    grid-column: 1;
    grid-row: 1;
  }

  body .process-step h4 {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }

  body .process-step p {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }
}

/* Korean text wraps at word spaces instead of mid-word (long tokens still break). */
body {
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  body .equip-showcase-inner {
    width: calc(100% - 32px);
  }

  body .cert-docs-inner {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===== Phone tidy-up (≤550px) ===== */
@media (max-width: 550px) {

  /* Certification product groups: compact horizontal cards */
  body .cert2-group-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body .cert2-group-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 14px;
    row-gap: 4px;
    align-items: center;
    padding: 16px;
    text-align: left;
  }

  body .cert2-group-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 72px;
    max-width: 72px;
    margin-bottom: 0;
  }

  body .cert2-group-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: end;
  }

  body .cert2-group-card > p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    align-self: start;
  }

  body .cert2-group-tags {
    grid-column: 1 / -1;
    grid-row: 3;
    padding-top: 10px;
    justify-content: flex-start;
  }

  /* Portfolio list: two photos per row, filters scroll sideways */
  body .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  body .portfolio-card-body {
    padding: 12px 12px 14px;
  }

  body .portfolio-card-body h3 {
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 4px;
  }

  body .portfolio-card-body p {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body .portfolio-detail-btn {
    font-size: 12px;
    padding: 4px 0;
  }

  body .portfolio-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 4px;
  }

  body .portfolio-filters::-webkit-scrollbar {
    display: none;
  }

  body .portfolio-filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 16px;
    font-size: 13px;
  }
}

@media (max-width: 550px) {
  body .port-detail-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* 16px form text prevents iOS from zooming the page when a field is focused. */
  body input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  body select,
  body textarea {
    font-size: 16px;
  }
}

/* ===== Quote popup: close button, draft bar, attachments, loading ===== */

/* The ✕ sat on top of the third step label; reserve room for it. */
body .qm-steps {
  padding-right: 60px;
}

.qm-draft-bar {
  margin: 12px 32px 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 10px;
  background: #eef4ff;
  color: #1557d5;
  font-size: 13px;
  font-weight: 600;
}

.qm-draft-bar[hidden] { display: none; }

.qm-draft-bar button {
  flex-shrink: 0;
  padding: 6px 12px;
  border: 1px solid #c5d9ff;
  border-radius: 8px;
  background: #fff;
  color: #1557d5;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.qm-draft-bar button:hover { background: #f4f8ff; }

.qm-opt {
  color: #8a94a3;
  font-weight: 500;
}

.qm-dropzone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px dashed #c9d4e8;
  border-radius: 10px;
  background: #f8fafd;
  transition: border-color .15s, background .15s;
}

.qm-dropzone.is-drag {
  border-color: #1557d5;
  background: #eef4ff;
}

.qm-file-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1px solid #1557d5;
  border-radius: 8px;
  background: #fff;
  color: #1557d5;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.qm-file-btn:hover { background: #eef4ff; }

.qm-attach-hint {
  font-size: 12.5px;
  color: #6a7b8c;
  line-height: 1.4;
}

.qm-file-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qm-file-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}

.qm-file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #17202c;
}

.qm-file-size {
  flex-shrink: 0;
  font-size: 12px;
  color: #8a94a3;
}

.qm-file-remove {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: #f2f4f7;
  color: #555;
  font-size: 12px;
  cursor: pointer;
}

.qm-file-remove:hover { background: #e2e6ed; }

/* Submitting overlay (the loading icon can be replaced with a GIF in the admin) */
.qm-loading {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(2px);
}

.qm-loading[hidden] { display: none; }

.qm-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.qm-loading-inner img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.qm-loading-inner p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #17202c;
}

.qm-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #dbe6fb;
  border-top-color: #1557d5;
  border-radius: 50%;
  animation: qmSpin .8s linear infinite;
}

.qm-spinner[hidden] { display: none; }

@keyframes qmSpin { to { transform: rotate(360deg); } }

@media (max-width: 540px) {
  body .qm-steps { padding-right: 52px; }
  .qm-draft-bar { margin: 10px 16px 0; flex-direction: column; align-items: flex-start; gap: 8px; }
  .qm-dropzone { flex-direction: column; align-items: flex-start; }
}

/* Quote popup: minimum readable text sizes */
html body .qm-char-count,
html body .qm-contact-label,
html body .qm-contact-time,
html body .qm-step-label,
html body .qm-panel-header p,
html body .qm-agree-detail,
html body .qm-privacy-note { font-size: 12px; }
html body .qm-step-num { font-size: 12px; }
html body .qm-step-label { line-height: 1.3; }

/* Home intro popup: secondary "browse" button */
html body .popup-button-secondary {
  margin-top: 10px;
  color: #0b55d9;
  background: #fff;
  border: 1px solid #0b55d9;
}
html body .popup-button-secondary:hover { background: #eef4ff; }

/* Certification process: larger text, number beside the title */
html body .cert2-process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}
html body .cert2-process-num {
  grid-row: 1 / span 2;
  font-size: 32px;
  line-height: 1;
  margin: 0;
}
html body .cert2-process-step h3 { font-size: 19px; line-height: 1.3; margin: 0 0 6px; }
html body .cert2-process-step p { font-size: 15px; line-height: 1.5; }
html body .cert2-process-arrow { margin-top: 8px; width: 20px; height: 20px; }
@media (max-width: 900px) {
  html body .cert2-process-track { gap: 24px; }
  html body .cert2-process-num { font-size: 34px; min-width: 44px; }
  html body .cert2-process-step h3 { font-size: 19px; }
  html body .cert2-process-step p { font-size: 15px; }
}

/* Certification process: no arrows, number vertically centred on the text block */
html body .cert2-process-arrow { display: none; }
html body .cert2-process-track { gap: 16px; align-items: stretch; }
html body .cert2-process-step { align-items: center; }
html body .cert2-process-num { align-self: center; }

/* Certification process: circled numbers, tighter title/description */
html body .cert2-process-num {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1557d5;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}
html body .cert2-process-step { column-gap: 12px; }
html body .cert2-process-step h3 { margin: 0; line-height: 1.25; }
html body .cert2-process-step p { margin: 2px 0 0; line-height: 1.4; }
@media (max-width: 900px) {
  html body .cert2-process-num { font-size: 18px; min-width: 46px; }
}

/* Certification: softer number ring, docs cards text matches process steps */
html body .cert2-process-num { border: 1.5px solid #a9c1ee; }
html body .cert2-docs-card { align-items: center; gap: 16px; }
html body .cert2-docs-icon { width: 46px; height: 46px; }
html body .cert2-docs-icon svg { width: 20px; height: 20px; }
html body .cert2-docs-card h3 { font-size: 19px; line-height: 1.25; margin: 0; }
html body .cert2-docs-card p { font-size: 15px; line-height: 1.4; margin: 2px 0 0; }

/* Unified text scale: titles 19px / descriptions 15px across cert prep, manufacturing cards, process steps, industry banner */
html body .cert2-prep-item { align-items: center; gap: 16px; }
html body .cert2-prep-icon { width: 46px; height: 46px; }
html body .cert2-prep-item h3 { font-size: 19px; line-height: 1.25; margin: 0; }
html body .cert2-prep-item p { font-size: 15px; line-height: 1.5; margin: 2px 0 0; }

html body .manufacturing-card h3 { font-size: 19px; line-height: 1.3; margin-top: 16px; }
html body .manufacturing-card p { font-size: 15px; line-height: 1.5; margin-top: 4px; }
html body .manufacturing-card p.manufacturing-card-sub { font-size: 15px; margin-top: 2px; }

html body .process-steps .section-title p { font-size: 15px; }
html body .process-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
}
html body .process-step-num {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #a9c1ee;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}
html body .process-step h4 { font-size: 19px; line-height: 1.25; margin: 0; }
html body .process-step p { font-size: 15px; line-height: 1.4; margin: 2px 0 0; }

html body .industry-banner-text h2 { font-size: 24px; }
html body .industry-banner-text p { font-size: 15px; line-height: 1.6; }
html body .industry-item span { font-size: 14px; }
html body .industry-item svg { width: 34px; height: 34px; }

/* Phones: process step = circle number centred on the title+description block, tight gaps */
@media (max-width: 550px) {
  html body .process-step,
  html body .process-step:nth-child(2n),
  html body .process-step:first-child {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 0;
    align-items: center;
    padding: 14px 0;
  }
  html body .process-step .process-step-num { grid-column: 1; grid-row: 1 / span 2; }
  html body .process-step h4 { grid-column: 2; grid-row: 1; align-self: end; }
  html body .process-step p { grid-column: 2; grid-row: 2; align-self: start; margin-top: 2px; }
}

/* Phones/tablets: process background runs edge to edge, text keeps a 16px gutter */
@media (max-width: 900px) {
  html body .process-steps {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 32px 0;
    border-radius: 0;
  }
  html body .process-steps-inner {
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
  }
}

/* Equipment popup: photo sits on white instead of the dark gallery frame */
html body .equip-modal-img,
html body .equip-modal-img .port-gallery { background: #fff; }
html body .equip-modal-img .port-gallery-viewport {
  background: #fff;
  border: 1px solid #e2e2e2;
}

/* Portfolio quick-view popup: photo on white, no dark frame */
html body .port-quickview-box .port-detail-media,
html body .port-quickview-box .port-detail-media .port-gallery,
html body .port-quickview-box .port-detail-media .port-gallery-viewport { background: #fff; }
html body .port-quickview-box .port-detail-media .port-gallery-viewport { border: 1px solid #e2e2e2; }


/* Inquiry popup (mobile): icon | title + text | arrow, all vertically centred
   with the same padding on every side. */
@media (max-width: 540px) {
  .inquiry-cards .inquiry-card {
    display: grid;
    grid-template-columns: 44px 1fr 32px;
    grid-template-rows: 1fr 1fr;
    column-gap: 14px;
    row-gap: 0;
    align-items: center;
    align-content: center;
    min-height: 0;
    height: auto;
    padding: 14px 16px;
    text-align: left;
  }

  .inquiry-cards .inquiry-card-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    margin: 0;
    align-self: center;
  }

  .inquiry-cards .inquiry-card h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    line-height: 1.3;
  }

  .inquiry-cards .inquiry-card p {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin: 2px 0 0;
  }

  .inquiry-cards .inquiry-card p:empty {
    display: none;
  }

  .inquiry-cards .inquiry-card-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: end;
    width: 32px;
    height: 32px;
    margin: 0;
  }
}


/* Portfolio cards (mobile): small category chips laid out in a row */
@media (max-width: 767px) {
  .portfolio-badges {
    gap: 3px;
    margin-bottom: 6px;
  }

  .portfolio-badges .portfolio-badge {
    padding: 2px 7px;
    font-size: 10px;
    line-height: 1.4;
    white-space: nowrap;
  }
}


/* FAQ modal */
.faq-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 10, 18, .6);
}

.faq-modal-overlay.is-open { display: flex; }

.faq-modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  overflow: hidden;
}

.faq-modal-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid #eef0f3;
}

.faq-modal-head h2 {
  font-size: 20px;
  font-weight: 800;
  color: #07182d;
}

.faq-modal-close {
  flex: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f5f8;
  color: #555;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.faq-modal-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 24px 12px;
}

.faq-modal-item { border-bottom: 1px solid #e6ebf2; }
.faq-modal-item:last-child { border-bottom: 0; }

.faq-modal-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: #17202c;
  cursor: pointer;
}

.faq-modal-q i {
  flex: none;
  width: 20px;
  text-align: center;
  font-style: normal;
  font-size: 18px;
  color: #1557d5;
}

.faq-modal-a { display: none; }
.faq-modal-item.open .faq-modal-a { display: block; }

.faq-modal-a p {
  padding: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #666;
}

@media (max-width: 540px) {
  .faq-modal-overlay { padding: 12px; align-items: flex-end; }
  .faq-modal { max-height: calc(100dvh - 24px); border-radius: 18px 18px 12px 12px; }
  .faq-modal-head { padding: 18px 16px 12px; }
  .faq-modal-list { padding: 2px 16px 10px; }
}


/* Inquiry popup (desktop): same card height, arrows all on one line */
@media (min-width: 541px) {
  .inquiry-cards .inquiry-card {
    justify-content: flex-start;
    min-height: 212px;
    padding: 28px 20px 22px;
  }

  .inquiry-cards .inquiry-card p {
    flex: 1;
    margin-bottom: 14px;
  }

  .inquiry-cards .inquiry-card-arrow {
    flex: none;
    margin-top: auto;
  }
}


/* Inquiry popup cards: text wrapper. Desktop keeps the stacked layout;
   on phones it is a simple row (icon | text | arrow), centred vertically. */
.inquiry-card-text { display: contents; }

@media (max-width: 540px) {
  .inquiry-cards .inquiry-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 0;
    height: auto;
    padding: 14px 16px;
    text-align: left;
  }

  .inquiry-cards .inquiry-card-icon {
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .inquiry-cards .inquiry-card .inquiry-card-text {
    display: block;
    flex: 1;
    min-width: 0;
  }

  .inquiry-cards .inquiry-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
  }

  .inquiry-cards .inquiry-card p {
    flex: none;
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.4;
  }

  .inquiry-cards .inquiry-card p br { display: none; }

  .inquiry-cards .inquiry-card-arrow {
    flex: none;
    width: 32px;
    height: 32px;
    margin: 0;
  }
}


/* Quote popup step 2: tighter chips so the form stays short */
.qm-chips, .qm-radio-group { gap: 5px; }
.qm-chip { padding: 4px 9px; font-size: 11.5px; }
.qm-radio { padding: 4px 9px; font-size: 11.5px; }
.qm-form { gap: 10px; }
.qm-field label { margin-bottom: 5px; }


/* Home intro popup: text centred, arrow pinned to the same spot on both buttons */
html body .popup-button {
  position: relative;
  gap: 0;
  padding: 0 44px;
}

html body .popup-button svg,
html body .popup-button i {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

html body .popup-button:hover { transform: none; }
