/* =========================================================
   RETAIL DISTRIBUTION PAGE
   ========================================================= */

:root {
  --rd-dark: #071f1b;
  --rd-dark-2: #0b3029;
  --rd-green: #0d7464;
  --rd-green-light: #15947f;

  --rd-text: #10201d;
  --rd-muted: #66736f;

  --rd-white: #ffffff;
  --rd-light: #f5f8f7;

  --rd-border: rgba(16, 32, 29, 0.12);

  --rd-radius: 20px;

  --rd-shadow:
    0 20px 50px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   GLOBAL
   ========================================================= */

.krx-retail-page {
  overflow: hidden;
}

.krx-retail-page h1,
.krx-retail-page h2,
.krx-retail-page h3 {
  font-family: "Poppins", sans-serif;
}

.krx-retail-page p {
  font-family: "Inter", sans-serif;
}


/* =========================================================
   SECTION SYSTEM
   ========================================================= */

.rd-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.rd-dark-section {
  position: relative;
  color: #ffffff;
  background: linear-gradient(135deg, #075e63 0%, #087f82 50%, #075e63 100%);
}

.rd-white-section {
  background: #ffffff;
  color: var(--rd-text);
}


/* =========================================================
   HERO
   ========================================================= */

.rd-hero {
  min-height: 760px;
  position: relative;
}

.rd-hero .container {
  position: relative;
  z-index: 2;
}

.rd-hero h1 {
  max-width: 800px;
  margin: 20px 0;
  font-size: clamp(46px, 5.3vw, 78px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.rd-hero h1 span {
  display: block;
  color: #65cbb9;
}

.rd-eyebrow,
.rd-section-label {
  font-size: 12px;
  font-weight: 700;

  letter-spacing: 0.18em;

  color: #66cbbb;
}

.rd-hero-text {
  max-width: 650px;

  color: rgba(255, 255, 255, 0.72);

  font-size: 18px;
  line-height: 1.8;

  margin-bottom: 36px;
}

.rd-hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}


/* =========================================================
   BUTTON
   ========================================================= */

.rd-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 16px 24px;

  border-radius: 100px;

  background: #ffffff;
  color: var(--rd-dark);

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.rd-primary-btn:hover {
  color: var(--rd-dark);

  transform: translateY(-4px);

  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.2);
}

.rd-primary-btn i {
  transition: transform 0.3s ease;
}

.rd-primary-btn:hover i {
  transform: translate(3px, -3px);
}

.rd-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: rgba(255, 255, 255, 0.72);

  font-size: 14px;
  font-weight: 600;

  text-decoration: none;
}

.rd-text-link i {
  transition: transform 0.3s ease;
}

.rd-text-link:hover {
  color: #ffffff;
}

.rd-text-link:hover i {
  transform: translateY(4px);
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.rd-hero-visual {
  min-height: 500px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.rd-route-line {
  width: 3px;
  height: 330px;

  position: absolute;

  background:
    linear-gradient(
      to bottom,
      transparent,
      #4fb8a7,
      transparent
    );

  animation: routePulse 3s ease-in-out infinite;
}

.rd-node {
  width: 125px;
  height: 125px;

  position: absolute;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 8px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.07);

  border:
    1px solid rgba(255, 255, 255, 0.15);

  backdrop-filter: blur(10px);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25);

  animation:
    floatingNode 4s ease-in-out infinite;
}

.rd-node i {
  font-size: 30px;
  color: #70cfbf;
}

.rd-node span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.rd-node-1 {
  top: 30px;
}

.rd-node-2 {
  top: 185px;
  animation-delay: 0.5s;
}

.rd-node-3 {
  bottom: 0;
  animation-delay: 1s;
}

.rd-floating-card {
  position: absolute;

  right: 0;
  bottom: 55px;

  padding: 18px 22px;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);

  border:
    1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(15px);
}

.rd-floating-card small {
  display: block;

  color: rgba(255, 255, 255, 0.5);

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 0.12em;

  margin-bottom: 5px;
}

.rd-floating-card strong {
  font-size: 14px;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.rd-section-heading {
  max-width: 760px;

  margin-bottom: 60px;
}

.rd-section-heading h2,
.rd-process h2,
.rd-overview h2 {
  margin: 15px 0 20px;
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.rd-section-heading p {
  color: rgba(255, 255, 255, 0.65);

  font-size: 17px;
  line-height: 1.7;
}

.rd-heading-dark .rd-section-label {
  color: var(--rd-green);
}


/* =========================================================
   OVERVIEW
   ========================================================= */

.rd-overview {
  padding-bottom: 100px;
}

.rd-overview h2 {
  color: var(--rd-text);
}

.rd-overview .rd-large-copy {
  font-size: 20px;
  line-height: 1.75;
  color: #334440;
}

.rd-overview p {
  color: var(--rd-muted);
  line-height: 1.8;
}


/* =========================================================
   FLOW GRID
   ========================================================= */

.rd-flow-grid {
  margin-top: 80px;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  border-top:
    1px solid var(--rd-border);
}

.rd-flow-item {
  padding: 40px 30px;

  border-right:
    1px solid var(--rd-border);

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.rd-flow-item:last-child {
  border-right: 0;
}

.rd-flow-item:hover {
  transform: translateY(-8px);

  background: #f6faf9;
}

.rd-flow-icon {
  width: 54px;
  height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 15px;

  background: #e6f3f0;

  color: var(--rd-green);

  font-size: 23px;

  margin-bottom: 25px;
}

.rd-flow-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.rd-flow-item p {
  margin: 0;
  font-size: 14px;
}


/* =========================================================
   CAPABILITY CARDS
   ========================================================= */

.rd-capability-card {
  height: 100%;

  min-height: 290px;

  padding: 34px;

  position: relative;

  border-radius: var(--rd-radius);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.09),
      rgba(255, 255, 255, 0.035)
    );

  border:
    1px solid rgba(255, 255, 255, 0.12);

  transition:
    transform 0.4s ease,
    background 0.4s ease,
    border-color 0.4s ease;
}

.rd-capability-card:hover {
  transform: translateY(-10px);

  background:
    linear-gradient(
      145deg,
      rgba(21, 148, 127, 0.22),
      rgba(255, 255, 255, 0.05)
    );

  border-color:
    rgba(102, 203, 187, 0.35);
}

.rd-card-icon {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  background: rgba(102, 203, 187, 0.12);

  color: #67cbbb;

  font-size: 25px;

  margin-bottom: 30px;

  transition:
    transform 0.4s ease,
    background 0.4s ease;
}

.rd-capability-card:hover .rd-card-icon {
  transform: rotate(-6deg) scale(1.08);

  background: rgba(102, 203, 187, 0.2);
}

.rd-capability-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.rd-capability-card p {
  color: rgba(255, 255, 255, 0.62);

  font-size: 14px;
  line-height: 1.8;

  max-width: 330px;
}

.rd-card-arrow {
  position: absolute;

  right: 28px;
  bottom: 28px;

  color: rgba(255, 255, 255, 0.35);

  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.rd-capability-card:hover .rd-card-arrow {
  color: #70cfbf;
  transform: translate(4px, -4px);
}


/* =========================================================
   PROCESS
   ========================================================= */

.rd-process {
  background: #ffffff;
}

.rd-process > .container > .row {
  row-gap: 50px;
}

.rd-process h2 {
  color: var(--rd-text);
}

.rd-process > .container > .row > div:first-child > p {
  max-width: 450px;

  color: var(--rd-muted);

  font-size: 16px;
  line-height: 1.8;
}

.rd-process-list {
  border-top:
    1px solid var(--rd-border);
}

.rd-process-row {
  min-height: 125px;

  padding: 25px 0;

  display: grid;

  grid-template-columns:
    65px 1fr 35px;

  align-items: center;

  gap: 20px;

  border-bottom:
    1px solid var(--rd-border);

  transition:
    padding 0.35s ease,
    background 0.35s ease;
}

.rd-process-row:hover {
  padding-left: 15px;
  padding-right: 15px;

  background: #f6faf9;
}

.rd-process-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #e5f2ef;

  color: var(--rd-green);
}

.rd-process-row h3 {
  margin: 0 0 7px;

  font-size: 18px;
}

.rd-process-row p {
  margin: 0;

  color: var(--rd-muted);

  font-size: 14px;

  line-height: 1.6;
}

.rd-process-row > span {
  color: var(--rd-green);
}


/* =========================================================
   BENEFITS
   ========================================================= */

.rd-benefit {
  min-height: 190px;

  padding: 30px;

  display: flex;

  gap: 25px;

  border-radius: var(--rd-radius);

  border:
    1px solid rgba(255, 255, 255, 0.1);

  background:
    rgba(255, 255, 255, 0.045);

  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.rd-benefit:hover {
  transform: translateY(-7px);

  background:
    rgba(21, 148, 127, 0.12);
}

.rd-benefit > i {
  width: 52px;
  height: 52px;

  flex: 0 0 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background:
    rgba(102, 203, 187, 0.12);

  color: #68cabb;

  font-size: 22px;
}

.rd-benefit h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.rd-benefit p {
  margin: 0;

  color: rgba(255, 255, 255, 0.62);

  font-size: 14px;

  line-height: 1.75;
}


/* =========================================================
   INDUSTRIES
   ========================================================= */

.rd-industries {
  padding-bottom: 130px;
}

.rd-industry-grid {
  display: grid;

  grid-template-columns:
    repeat(6, 1fr);

  gap: 15px;
}

.rd-industry-card {
  min-height: 180px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 18px;

  border:
    1px solid var(--rd-border);

  border-radius: 18px;

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}

.rd-industry-card:hover {
  transform: translateY(-8px);

  background: #f2f8f6;

  border-color:
    rgba(13, 116, 100, 0.3);
}

.rd-industry-card i {
  font-size: 30px;

  color: var(--rd-green);

  transition:
    transform 0.35s ease;
}

.rd-industry-card:hover i {
  transform: scale(1.15);
}

.rd-industry-card span {
  font-size: 14px;
  font-weight: 600;
}


/* =========================================================
   CTA
   ========================================================= */

.rd-cta {
  padding: 130px 0;

  text-align: center;

  position: relative;
}

.rd-cta-inner {
  max-width: 850px;

  margin: auto;

  position: relative;

  z-index: 2;
}

.rd-cta h2 {
  margin: 18px auto 20px;
  max-width: 850px;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.rd-cta p {
  max-width: 650px;

  margin: 0 auto 35px;

  color: rgba(255, 255, 255, 0.65);

  line-height: 1.8;
}

.rd-cta-glow {
  width: 500px;
  height: 500px;

  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background:
    rgba(13, 116, 100, 0.15);

  filter: blur(80px);

  pointer-events: none;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes floatingNode {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

}

@keyframes routePulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {

  .rd-hero h1 {
    font-size: 4.5rem;
  }

  .rd-flow-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .rd-flow-item:nth-child(2) {
    border-right: 0;
  }

  .rd-flow-item:nth-child(-n + 2) {
    border-bottom:
      1px solid var(--rd-border);
  }

  .rd-industry-grid {
    grid-template-columns:
      repeat(3, 1fr);
  }

}


@media (max-width: 991px) {

  .rd-section {
    padding: 90px 0;
  }

  .rd-hero {
    min-height: auto;

    padding:
      130px 0
      90px;
  }

  .rd-hero h1 {
    font-size: clamp(
      3rem,
      8vw,
      4.5rem
    );
  }

  .rd-hero-visual {
    margin-top: 70px;
  }

  .rd-floating-card {
    right: 10%;
  }

}


@media (max-width: 767px) {

  .rd-section {
    padding: 75px 0;
  }

  .rd-hero {
    padding:
      110px 0
      70px;
  }

  .rd-hero h1 {
    font-size: 3rem;
  }

  .rd-hero-text {
    font-size: 16px;
  }

  .rd-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .rd-hero-visual {
    min-height: 420px;
  }

  .rd-node {
    width: 105px;
    height: 105px;
  }

  .rd-floating-card {
    right: 0;
  }

  .rd-section-heading h2,
  .rd-process h2,
  .rd-overview h2 {
    font-size: 2.6rem;
  }

  .rd-flow-grid {
    grid-template-columns: 1fr;
  }

  .rd-flow-item {
    border-right: 0;

    border-bottom:
      1px solid var(--rd-border);
  }

  .rd-flow-item:last-child {
    border-bottom: 0;
  }

  .rd-process-row {
    grid-template-columns:
      52px 1fr 20px;

    gap: 12px;
  }

  .rd-process-row h3 {
    font-size: 16px;
  }

  .rd-process-row p {
    font-size: 13px;
  }

  .rd-benefit {
    padding: 25px;
  }

  .rd-industry-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .rd-industry-card {
    min-height: 140px;
  }

  .rd-cta {
    padding: 90px 0;
  }

  .rd-cta h2 {
    font-size: 2.7rem;
  }

}


@media (max-width: 480px) {

  .rd-hero h1 {
    font-size: 2.55rem;
  }

  .rd-primary-btn {
    width: 100%;
    justify-content: center;
  }

  .rd-hero-visual {
    min-height: 390px;
  }

  .rd-node {
    width: 95px;
    height: 95px;
  }

  .rd-node i {
    font-size: 23px;
  }

  .rd-node span {
    font-size: 10px;
  }

  .rd-floating-card {
    position: relative;

    right: auto;
    bottom: auto;

    margin-top: 330px;
  }

  .rd-industry-grid {
    grid-template-columns: 1fr 1fr;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}
/* =====================================================
   SOLUTIONS BREADCRUMB
===================================================== */

.krx-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;

  margin-bottom: 26px;

  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.krx-breadcrumb a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.krx-breadcrumb a:hover {
  color: #ffffff;
}

.krx-breadcrumb > span {
  display: inline-flex;
  align-items: center;

  color: rgba(255, 255, 255, 0.35);
}

.krx-breadcrumb > span i {
  font-size: 9px;
}

.krx-breadcrumb .current {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}


/* =====================================================
   LIGHT HERO BREADCRUMB
   ===================================================== */

.krx-breadcrumb-light a {
  color: rgba(23, 35, 33, 0.55);
}

.krx-breadcrumb-light a:hover {
  color: var(--krx-primary, #0d6b5f);
}

.krx-breadcrumb-light > span {
  color: rgba(23, 35, 33, 0.3);
}

.krx-breadcrumb-light .current {
  color: rgba(23, 35, 33, 0.8);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767.98px) {

  .krx-breadcrumb {
    gap: 7px;
    margin-bottom: 20px;
    font-size: 11px;
  }

  .krx-breadcrumb > span i {
    font-size: 7px;
  }

}