@charset "utf-8";
/* ============================================================
   RAM KOREA — sub.css
   서브페이지 전용 : CEO / 연혁 / 조직도 / 오시는 길 / 사업영역 / 문의
   ============================================================ */

/* ---------- 1. CEO 인사말 ---------- */
.ceo {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.ceo__photo { position: relative; }
.ceo__photo img { width: 100%; border-radius: var(--radius-lg); }
.ceo__photo figcaption {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-muted);
}
.ceo__photo figcaption strong { display: block; font-size: 19px; color: var(--navy-800); }
.ceo__lead {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.ceo__lead .em { color: var(--red-500); }
.ceo__sign { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; }
.ceo__sign strong { font-size: 20px; margin-left: 8px; }

@media (max-width: 900px) { .ceo { grid-template-columns: 1fr; } }

/* ---------- 2. 기업이념 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-grid__item { padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px); background: var(--white); }
.value-grid__mark {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(179, 38, 46, 0.08);
  color: var(--red-500);
  font-size: 24px;
  font-weight: 800;
}
.value-grid__title { font-size: 20px; }
.value-grid__desc { margin-top: 12px; font-size: 15px; color: var(--text-muted); line-height: 1.8; }
@media (max-width: 860px) { .value-grid { grid-template-columns: 1fr; } }

.brand-meaning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius-lg);
}
.brand-meaning__word {
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}
.brand-meaning__word em { font-style: normal; color: var(--red-400); }
.brand-meaning > div p { color: rgba(255, 255, 255, 0.78); font-size: clamp(15px, 1.8vw, 18px); line-height: 1.9; }
@media (max-width: 680px) { .brand-meaning { grid-template-columns: 1fr; text-align: center; } }

/* ---------- 3. 연혁 ---------- */
.timeline { position: relative; padding-left: 0; }
.timeline__group { display: grid; grid-template-columns: 200px 1fr; gap: 32px; }
.timeline__group + .timeline__group { margin-top: 12px; }
.timeline__year {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy-800);
}
.timeline__year span { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--red-500); }
.timeline__list { position: relative; padding: 4px 0 40px 32px; border-left: 2px solid var(--line); }
.timeline__item { position: relative; padding: 0 0 22px 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -40px; top: 10px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red-500);
}
.timeline__month { display: inline-block; width: 52px; font-weight: 700; color: var(--red-500); font-size: 15px; }
.timeline__text { font-size: 16px; }

@media (max-width: 760px) {
  .timeline__group { grid-template-columns: 1fr; gap: 10px; }
  .timeline__year { position: static; }
  .timeline__list { padding-bottom: 28px; }
}

/* ---------- 4. 조직도 ---------- */
.org { text-align: center; }
.org__node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 60px;
  padding: 12px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-weight: 700;
  font-size: 16px;
}
.org__node--head { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); font-size: 18px; min-height: 68px; }
.org__node--sub { background: var(--gray-50); font-weight: 600; font-size: 15px; min-width: 0; min-height: 52px; }
.org__line { width: 2px; height: 32px; margin: 0 auto; background: var(--gray-200); }
.org__row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.org__branch { position: relative; padding-top: 22px; }
.org__branch::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 2px; height: 22px;
  background: var(--gray-200);
}
.org__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 0; }
.org__col { display: grid; gap: 10px; }
.org__col .org__node { width: 100%; }
@media (max-width: 860px) { .org__cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .org__cols { grid-template-columns: 1fr; } }

/* ---------- 5. 오시는 길 ---------- */
/* height 를 vw 기반으로 계산한다.
   aspect-ratio + min-height 조합은 모바일에서 폭이 역산돼 가로 스크롤을 만든다. */
.map-box {
  position: relative;
  width: 100%;
  height: clamp(260px, 50vw, 420px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
}
.map-box iframe, .map-box > div { width: 100%; height: 100%; border: 0; }
.map-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, var(--gray-50) 0 12px, var(--gray-100) 12px 24px);
  color: var(--text-muted);
}
.map-placeholder strong { display: block; margin-bottom: 8px; font-size: 18px; color: var(--navy-800); }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- 6. 사업영역 상세 ---------- */
.biz-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.biz-intro img { width: 100%; border-radius: var(--radius-lg); }
@media (max-width: 900px) { .biz-intro { grid-template-columns: 1fr; } }

.feature-list { display: grid; gap: 16px; }
.feature-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature-list .no {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--red-500);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}
.feature-list strong { display: block; font-size: 17px; }
.feature-list p { margin-top: 5px; font-size: 15px; color: var(--text-muted); }

/* 사업 절차 */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.process__step {
  position: relative;
  padding: 28px 22px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.process__step::before {
  counter-increment: step;
  content: "STEP " counter(step);
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--red-500);
}
.process__step h3 { font-size: 17px; }
.process__step p { margin-top: 8px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 1024px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- 7. 고객문의 ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-aside { display: grid; gap: 16px; padding: 32px 28px; background: var(--gray-50); border-radius: var(--radius-lg); }
.contact-aside h3 { font-size: 18px; }
.contact-aside dl { display: grid; gap: 14px; }
.contact-aside dt { font-size: 13px; font-weight: 700; color: var(--red-500); letter-spacing: 0.04em; }
.contact-aside dd { font-size: 16px; line-height: 1.6; }
.contact-aside dd.is-tel { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---------- 8. 서브 상단 비주얼 배경 ---------- */
/* 실제 사진으로 교체 시 아래 경로만 바꾸면 전 서브페이지에 적용됩니다. */
.page-hero { background-image: url("../img/hero-crane-dusk.svg"); background-position: center 62%; }
