/* ============================================
   COMPANY CSS — About DealMe Page
   ============================================ */

.nav-link.is-active {
  color: #1e5ed9;
  background: transparent;
  position: relative;
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -17px;
  height: 2px;
  background: #1e5ed9;
  border-radius: 999px;
}

/* ---- Language Toggle ---- */
.lang-toggle-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0 4px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #c8d6f0;
  border-radius: 999px;
  background: #fff;
  padding: 3px;
  gap: 0;
  box-shadow: 0 1px 4px rgba(0, 81, 255, 0.06);
}

.lang-btn {
  position: relative;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #7a90b0;
  cursor: pointer;
  padding: 5px 16px;
  border-radius: 999px;
  transition:
    color 0.18s,
    background 0.18s;
  line-height: 1;
  white-space: nowrap;
}

.lang-btn.is-active {
  background: #1e5ed9;
  color: #fff;
  font-weight: 600;
}

.lang-btn:not(.is-active):hover {
  color: #1e5ed9;
}

.lang-divider {
  width: 1px;
  height: 14px;
  background: #fff;
  flex-shrink: 0;
  margin: 0 1px;
}

/* ---- Company Page ---- */
.company-page {
  padding-top: var(--header-h);
  background: #fff;
  color: #071734;
}

.company-hero {
  overflow: hidden;
  /* background:
    linear-gradient(
      100deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.96) 34%,
      rgba(242, 247, 255, 0.92) 100%
    ),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%); */
}

.company-hero-inner {
  display: grid;
  grid-template-columns: minmax(360px, 0.83fr) minmax(460px, 1.17fr);
  gap: 54px;
  align-items: center;
  min-height: 560px;
  padding: 52px 0 64px;
  background: url('./../img/company/visual.png') no-repeat center/contain;
}

.company-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #425271;
  font-size: 13px;
  margin-bottom: 34px;
}

.company-breadcrumb svg {
  width: 14px;
  height: 14px;
  color: #8090ad;
}

.company-hero-title {
  color: #071734;
  font-size: 50px;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.company-hero-subtitle {
  color: #1e5ed9;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 30px;
}

.company-hero-desc {
  max-width: 445px;
  color: #071734;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 18px;
}

.company-contact-btn,
.company-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 1.5px solid #1e5ed9;
  border-radius: 6px;
  color: #1e5ed9;
  font-size: 15px;
  font-weight: 800;
  padding: 0 28px;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.company-contact-btn {
  margin-top: 10px;
}

.company-contact-btn:hover,
.company-outline-btn:hover {
  background: #1e5ed9;
  color: #fff;
  transform: translateY(-2px);
}

.company-contact-btn svg,
.company-outline-btn svg {
  width: 18px;
  height: 18px;
}

.company-hero-visual {
  position: relative;
  min-height: 430px;
}

.company-hero-visual::before {
  width: 390px;
  height: 250px;
  left: 142px;
  top: 74px;
  transform: rotate(-10deg);
}

.company-hero-visual::after {
  width: 260px;
  height: 180px;
  right: 24px;
  top: 104px;
  transform: rotate(14deg);
}

.company-orbit-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1e5ed9;
  box-shadow: 0 0 0 4px rgba(0, 81, 255, 0.08);
  z-index: 2;
}

.company-orbit-dot--left {
  top: 142px;
  left: 206px;
}

.company-orbit-dot--right {
  top: 124px;
  right: 150px;
}

.company-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
  color: #1e5ed9;
  box-shadow: 0 14px 34px rgba(21, 56, 114, 0.16);
}

.company-float svg {
  width: 31px;
  height: 31px;
  stroke-width: 1.8;
}

.company-float--card {
  top: 48px;
  left: 330px;
}

.company-float--bag {
  left: 92px;
  top: 290px;
}

.company-float--users {
  right: 42px;
  top: 334px;
}

.company-dealme-card {
  position: absolute;
  z-index: 4;
  left: 70px;
  top: 155px;
  width: 318px;
  min-height: 210px;
  border: 1px solid #e1e9f6;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(20, 47, 91, 0.12);
  display: flex;
  flex-direction: column;
  align-content: center;
  column-gap: 14px;
  padding: 42px 40px 36px;
}

.company-dealme-mark {
  width: 120px;
  align-self: center;
}

.company-dealme-card strong {
  color: #071734;
  font-size: 35px;
  font-weight: 900;
  line-height: 1.1;
  display: none;
}

.company-dealme-card p {
  grid-column: 1 / -1;
  margin-top: 26px;
  color: #243654;
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.company-overview {
  padding: 42px 0 0;
}

.company-section-head {
  max-width: 660px;
  margin: 0 auto 40px;
  text-align: center;
}

.company-section-head h2,
.company-press h2,
.company-contact h2 {
  color: #071734;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.company-section-head h2 {
  margin-bottom: 18px;
}

.company-section-head p {
  color: #243654;
  font-size: 15px;
  line-height: 1.65;
}

.company-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 38px;
}

.company-feature-card {
  min-height: 168px;
  border: 1px solid #dce6f4;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
}

.company-icon-bubble {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e9efff;
  color: #1e5ed9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.company-icon-bubble svg {
  width: 33px;
  height: 33px;
  stroke-width: 1.8;
}

.company-feature-card h3 {
  color: #1e5ed9;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}

.company-feature-card p {
  color: #243654;
  font-size: 14px;
  line-height: 1.65;
}

.company-service-panel {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 50px;
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(100deg, #eef5ff 0%, #f8fbff 58%, #eef5ff 100%);
  padding: 30px 28px;
}

.company-service-copy h2 {
  color: #071734;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
}

.company-service-copy h2 span {
  color: #1e5ed9;
}

.company-service-copy p {
  color: #071734;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.company-outline-btn {
  width: 270px;
  min-height: 48px;
  padding: 0 22px;
  justify-content: space-between;
  font-size: 14px;
}

.company-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 32px;
}

.company-flow li {
  position: relative;
  text-align: center;
}

.company-flow li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 46px;
  left: calc(50% + 48px);
  width: calc(100% - 64px);
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    #1f64ff 0 4px,
    transparent 4px 14px
  );
  opacity: 0.9;
}

.company-flow-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6edf7;
  box-shadow: 0 10px 24px rgba(21, 56, 114, 0.08);
  color: #1e5ed9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-flow-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.7;
}

.company-flow-icon img {
  width: 80px;
}

.company-flow strong {
  color: #071734;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.company-press {
  padding: 34px 0 0;
}

.company-press h2,
.company-contact h2 {
  margin-bottom: 14px;
}

.company-press-item {
  min-height: 82px;
  border: 1px solid #dce6f4;
  border-radius: 8px;
  background: #fff;
  display: grid;
  grid-template-columns: 125px 145px 1fr 130px;
  align-items: center;
  gap: 18px;
  padding: 18px 28px;
}

.company-press-date {
  color: #425271;
  font-size: 14px;
}

.company-press-badge {
  justify-self: start;
  border-radius: 999px;
  background: #eaf1ff;
  color: #1e5ed9;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 18px;
}

.company-press-item strong {
  color: #071734;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.company-press-more {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
  color: #1e5ed9;
  font-size: 14px;
  font-weight: 800;
}

.company-press-more svg,
.company-contact-cell em svg {
  width: 17px;
  height: 17px;
}

.company-press-note {
  margin-top: 10px;
  color: #425271;
  font-size: 13px;
}

.company-contact {
  padding: 48px 0 34px;
}

.company-contact-intro {
  color: #071734;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.company-contact-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #dce6f4;
  border-radius: 8px;
  background: #fff;
  padding: 24px 26px;
}

.company-contact-card--split {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 36px 40px;
}

.company-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company-contact-info .company-icon-bubble {
  align-self: flex-start;
}

.company-contact-info h2 {
  font-size: 22px;
  font-weight: 800;
  color: #071734;
  margin: 0;
}

.company-contact-card--split .company-contact-intro {
  margin-bottom: 0;
  color: #4a5568;
}

.company-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
}

.company-contact-linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  height: 52px;
  border-radius: 8px;
  border: 1.5px solid #dce6f4;
  background: #fff;
  color: #071734;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}

.company-contact-linkedin-btn .company-icon-bubble--linkedin {
  width: 28px;
  height: 28px;
  min-width: 28px;
  font-size: 14px;
  border-radius: 6px;
}

.company-contact-linkedin-btn svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
}

.company-contact-linkedin-btn:hover {
  border-color: #0068b7;
  background: #f0f7ff;
}

.company-contact-cell {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 0 24px;
  border-right: 1px solid #dce6f4;
}

.company-contact-cell:first-child {
  padding-left: 0;
}

.company-contact-cell:last-child {
  padding-right: 0;
  border-right: 0;
}

.company-contact-cell strong {
  display: block;
  color: #071734;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
}

.company-contact-cell em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #071734;
  font-size: 13px;
  line-height: 1.35;
}

.company-icon-bubble--linkedin {
  background: #0068b7;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  font-family: Arial, sans-serif;
}

@media (max-width: 1100px) {
  .company-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .company-hero-copy {
    min-width: 0;
    max-width: 620px;
  }

  .company-hero-visual {
    min-height: 390px;
  }

  .company-feature-grid,
  .company-contact-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-contact-card--split {
    grid-template-columns: 1fr auto;
    gap: 32px;
  }

  .company-contact-cell {
    border-right: 0;
    padding: 18px;
  }

  .company-contact-cell:nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid #dce6f4;
  }

  .company-service-panel {
    grid-template-columns: 1fr;
  }

  .company-press-item {
    grid-template-columns: 110px 135px 1fr;
  }

  .company-press-more {
    grid-column: 3;
  }
}

@media (max-width: 768px) {
  .nav-link.is-active::after {
    display: none;
  }

  .company-page .container {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }

  .company-page h1,
  .company-page h2,
  .company-page h3,
  .company-page p,
  .company-page strong,
  .company-page em {
    max-width: calc(100vw - 40px);
    overflow-wrap: anywhere;
  }

  .company-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: auto;
    padding: 38px 0 50px;
  }

  .company-hero-copy,
  .company-section-head,
  .company-service-copy,
  .company-contact-intro {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    min-width: 0;
  }

  .company-hero-desc {
    max-width: calc(100vw - 40px);
  }

  .company-breadcrumb {
    margin-bottom: 24px;
  }

  .company-hero-title {
    font-size: 38px;
  }

  .company-hero-subtitle {
    font-size: 20px;
    margin-bottom: 22px;
  }

  .company-hero-desc {
    font-size: 15px;
  }

  .company-hero-visual {
    min-height: 330px;
    transform: scale(0.82);
    transform-origin: top left;
    width: 100%;
    margin-bottom: -44px;
  }

  .company-dealme-card {
    left: 130px;
    width: 300px;
  }

  .company-float--card {
    left: 294px;
  }

  .company-float--bag {
    left: 36px;
  }

  .company-float--users {
    right: 14px;
  }

  .company-overview {
    padding-top: 34px;
  }

  .company-section-head h2,
  .company-press h2,
  .company-contact h2 {
    font-size: 24px;
  }

  .company-feature-grid,
  .company-contact-card,
  .company-flow {
    grid-template-columns: 1fr;
  }

  .company-feature-card {
    width: calc(100vw - 40px);
    min-width: 0;
    min-height: auto;
    padding: 24px;
  }

  .company-feature-card > div {
    min-width: 0;
  }

  .company-service-panel {
    width: calc(100vw - 40px);
    padding: 26px 20px;
  }

  .company-flow {
    gap: 20px;
  }

  .company-flow li:not(:last-child)::after {
    display: none;
  }

  .company-press-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }

  .company-press-more {
    grid-column: auto;
    justify-self: start;
  }

  .company-contact-card {
    padding: 6px 20px;
  }

  .company-contact-card--split {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 24px;
  }

  .company-contact-actions {
    min-width: 0;
    width: 100%;
  }

  .company-contact-linkedin-btn {
    width: 100%;
    justify-content: center;
  }

  .company-contact-linkedin-btn svg {
    margin-left: 0;
  }

  .company-contact-cell,
  .company-contact-cell:first-child,
  .company-contact-cell:last-child,
  .company-contact-cell:nth-child(odd) {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid #dce6f4;
  }

  .company-contact-cell:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  .company-contact-btn,
  .company-outline-btn {
    width: 100%;
  }

  .company-hero-title {
    font-size: 34px;
  }

  .company-hero-visual {
    transform: scale(0.68);
    width: 100%;
    margin-bottom: -90px;
  }
}


/* ============================================
   MOBILE SIZE ONLY FIX — 2026.06.25
   - PC layout/design unchanged
   - Only adjusts sizes to fit mobile screens
   ============================================ */
@media (max-width: 768px) {
  .company-service-panel,
  .company-contact-card--split {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
  }

  .company-service-copy,
  .company-contact-actions {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .company-service-copy .company-outline-btn {
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    padding-left: 18px;
    padding-right: 18px;
    font-size: clamp(13px, 3.7vw, 15px);
  }
  
  .company-contact-actions .company-contact-btn,
  .company-contact-actions .company-contact-linkedin-btn {
    width: 85%;
    max-width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    padding-left: 18px;
    padding-right: 18px;
    font-size: clamp(13px, 3.7vw, 15px);
  }

  .company-service-copy .company-outline-btn span,
  .company-contact-actions .company-contact-btn span,
  .company-contact-actions .company-contact-linkedin-btn span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .company-service-copy .company-outline-btn svg,
  .company-contact-actions .company-contact-btn svg,
  .company-contact-actions .company-contact-linkedin-btn svg,
  .company-contact-linkedin-btn .company-icon-bubble--linkedin {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .company-service-copy .company-outline-btn,
  .company-contact-actions .company-contact-btn,
  .company-contact-actions .company-contact-linkedin-btn {
    min-height: 50px;
    padding-left: 14px;
    padding-right: 14px;
  }
}
