/*
 * SusinM Contact Section — styles scoped to .susinm-contact only.
 * Pretendard is loaded by the plugin via wp_enqueue_style.
 */

.susinm-contact {
  --layout-max: 1400px;
  --design-min-height: 840px;
  --space-section-y: 40px;
  --space-section-x: 48px;
  --space-section-bottom: 36px;
  --space-block: 32px;
  --color-orange: #e8521d;
  --color-orange-accent: #dd4e05;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-peach: #fef0e8;
  --color-line-soft: rgba(255, 255, 255, 0.35);
  --color-card-divider: #eeeeee;
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.12);
  --radius-card: 28px;
  --radius-cta: 999px;
  position: relative;
  width: 100%;
  max-width: none;
  min-height: var(--design-min-height);
  margin: 0;
  padding: 0;
  background-color: var(--color-orange);
  overflow: hidden;
  color: var(--color-white);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


.susinm-contact,
.susinm-contact *,
.susinm-contact *::before,
.susinm-contact *::after {
  box-sizing: border-box;
}

.susinm-contact__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: var(--space-section-y) var(--space-section-x) var(--space-section-bottom);
}

/* Layered background */
.susinm-contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 대각선 패턴: 전 너비 동일 밀도(좌/우 그라데이션 끊김 제거). 맨 끝만 살짝 페이드 */
.susinm-contact__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image: repeating-linear-gradient(
    -38deg,
    transparent,
    transparent 9px,
    rgba(255, 255, 255, 0.06) 9px,
    rgba(255, 255, 255, 0.06) 10px
  );
  mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}

/* 공장 사진: 100% 너비 + 부드러운 우측·하단 페이드로 세로 경계 제거 */
.susinm-contact__bg-photo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10%;
  width: 100%;
  max-width: none;
  height: 65%;
  background-image: url("../images/back-imgw.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  mix-blend-mode: multiply;
  opacity: 0.5;
  mask-image:
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 18%, black 45%, black 100%),
    linear-gradient(
      to right,
      black 0%,
      black 40%,
      rgba(0, 0, 0, 0.65) 62%,
      rgba(0, 0, 0, 0.2) 82%,
      transparent 100%
    );
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 18%, black 45%, black 100%),
    linear-gradient(
      to right,
      black 0%,
      black 40%,
      rgba(0, 0, 0, 0.65) 62%,
      rgba(0, 0, 0, 0.2) 82%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
}

.susinm-contact__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-block);
  min-height: calc(
    var(--design-min-height) - var(--space-section-y) - var(--space-section-bottom)
  );
}

/* 점 장식 — 1400 기준 카드 열 정렬 */
.susinm-contact__dots {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(calc(-50% + 452px));
  display: grid;
  grid-template-columns: repeat(4, 6px);
  grid-template-rows: repeat(8, 6px);
  gap: 8px 10px;
  pointer-events: none;
}

.susinm-contact__dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-white);
  opacity: 0.92;
  justify-self: center;
  align-self: center;
}

/* 1400 컨테이너: (콘텐츠폭 1304px 기준) 카드 400px */
.susinm-contact__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 32px;
  align-items: center;
  padding-top: 16px;
}

/* --- Hero left --- */
/* Iter 4: left column type scale */
.susinm-contact-hero__label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.susinm-contact-hero__label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.susinm-contact-hero__label-line {
  width: 44px;
  height: 1px;
  background: var(--color-white);
  opacity: 0.95;
}

.susinm-contact-hero__title {
  margin: 0 0 12px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.susinm-contact-hero__subtitle {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0.96;
}

.susinm-contact-hero__rule {
  width: 100%;
  max-width: 420px;
  height: 1px;
  background: var(--color-line-soft);
  margin-bottom: 18px;
}

.susinm-contact-hero__desc {
  margin: 0 0 28px;
  max-width: 540px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  opacity: 0.94;
}

.susinm-contact-hero__desc p {
  margin: 0 0 8px;
}

/* Iter 5: CTA pill */
.susinm-contact-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 38px 14px 42px;
  border: none;
  border-radius: var(--radius-cta);
  background: var(--color-white);
  color: var(--color-orange);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  appearance: none;
  -webkit-appearance: none;
  text-align: center;
}

.susinm-contact-hero__cta svg {
  flex-shrink: 0;
}

/* --- Card — 초기 설계 복원 + 읽기 쉬운 터치 타겟 --- */
.susinm-contact-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  color: var(--color-text);
  overflow: hidden;
  align-self: center;
  margin-top: 0;
}

.susinm-contact-card__head {
  padding: 36px 38px 22px;
}

.susinm-contact-card__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  color: var(--color-orange);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.susinm-contact-card__sub {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text);
  opacity: 0.88;
}

.susinm-contact-card__head-rule {
  height: 1px;
  background: rgba(232, 82, 29, 0.2);
  margin-top: 22px;
}

.susinm-contact-card__rows {
  padding: 8px 0 0;
}

.susinm-contact-card__row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 36px;
  border-bottom: 1px solid #ebebeb;
}

.susinm-contact-card__row:last-of-type {
  border-bottom: none;
}

.susinm-contact-card__icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* iconc-*.svg already includes peach circle */
.susinm-contact-card__icon-wrap img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
}

.susinm-contact-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.susinm-contact-card__kind {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  text-transform: uppercase;
}

.susinm-contact-card__value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  word-break: keep-all;
}

.susinm-contact-card__hours {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 26px 36px 30px;
  background: var(--color-peach);
}

.susinm-contact-card__hours img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: 2px;
  filter: brightness(0) saturate(100%) invert(37%) sepia(86%) saturate(3284%) hue-rotate(360deg)
    brightness(96%) contrast(94%);
}

.susinm-contact-card__hours-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.susinm-contact-card__hours-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-orange);
}

.susinm-contact-card__hours-value {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text);
}

/* 하단 기능 줄 — 가독성 위주 리듬 */
.susinm-contact-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.susinm-contact-features__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 18px 14px 4px;
  position: relative;
}

.susinm-contact-features__item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 18px;
  width: 1px;
  background: rgba(255, 255, 255, 0.38);
}

.susinm-contact-features__item:not(:first-child) {
  padding-left: 28px;
}

.susinm-contact-features__icon img {
  width: 44px;
  height: auto;
  display: block;
  opacity: 0.99;
}

.susinm-contact-features__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.susinm-contact-features__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.022em;
}

.susinm-contact-features__desc {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.92;
}
