/* =========================
   KeyShot Studio - Page CSS
   (이 페이지 전용 스타일)
   ========================= */

/* Wrap 공통 폭 */
:root{
  --studio-wrap: min(1400px, 92vw);
}

/* ===== HERO ===== */
.studio-hero{
  position: relative;
  min-height: 615px;                 /* 요청 높이 */
  display: grid; place-items: center;
  color:#fff; overflow:hidden;
}

/* 배경 이미지 */
.studio-hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: url("/main/keyshot_assets/media/keyshot-studio-2025-bg-1920x1097-s2.png");
  background-size: cover;
  background-position: center;
  z-index:-2;
}

/* 상단이 더 어둡고 중앙은 살짝 보이는 오버레이 */
.studio-hero::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,.6) 100%);
  z-index:-1;
}

.studio-hero__inner{
  width: var(--studio-wrap);
  margin-inline: auto;
  text-align: center;
  padding: 56px 0;                   /* 위아래 여백 */
}

/* 로고 300px */
.studio-hero__logo{
  width:300px; height:auto;
  display:block; margin: 0 auto 22px;
}

/* 타이틀 그라데이션 */
.studio-hero__title{
  margin:0 0 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing:-.01em;
  font-size: clamp(32px, 5vw, 56px);
  /* gradient text */
  background: linear-gradient(90deg, #9fc5ff 0%, #6ea1ff 40%, #e9c07a 80%, #f6d08d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.studio-hero__sub{
  margin:0 0 26px;
  font-size: clamp(14px, 2.2vw, 18px);
  line-height:1.6;
  color: rgba(255,255,255,.92);
}

/* CTA 버튼 */
.studio-hero__ctas{
  display:flex; gap:14px;
  justify-content:center; flex-wrap:wrap;
}

.studio-btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:50px; padding:0 22px;
  border-radius:9999px;
  font-weight:700; text-decoration:none;
  transition: transform .15s ease, filter .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.studio-btn:hover{ transform: translateY(-1px); }

/* 흰색 꽉찬 버튼(검은 글자) */
.studio-btn--white{
  background:#fff; color:#0e1016;
  box-shadow: 0 2px 0 rgba(255,255,255,.35) inset, 0 12px 28px rgba(0,0,0,.30);
}
.studio-btn--white:hover{ filter:brightness(.97); }

/* 투명 고스트 버튼(흰 라인) */
.studio-btn--ghost{
  background: transparent;
  color:#fff; border:2px solid rgba(255,255,255,.85);
}
.studio-btn--ghost:hover{
  border-color:#fff; filter:brightness(1.05);
}

/* 반응형 */
@media (max-width: 768px){
  .studio-hero__logo{ width:240px; margin-bottom:18px; }
  .studio-hero{ min-height: 560px; }
}

@media (max-width: 520px){
  .studio-hero{ min-height: 520px; }
  .studio-hero__sub br.mdbr{ display:none; } /* 좁을 때 줄바꿈 제거 */
}

/* ===== KeyShot Studio - HERO ===== */
.studio-hero{
  position: relative;
  min-height: 615px;           /* 요청 높이 */
  isolation: isolate;          /* ::before 레이어가 항상 뒤에 깔리도록 */
  overflow: hidden;
  background: #0b0d10;         /* 아주 진한 배경(이미지 없는 경우 대비) */
}

/* 배경 이미지 + 살짝 어두운 그라데이션 */
:root{
  /* 배경 이미지 가변 크기 (줄이고 싶으면 첫 값 낮추기) */
  --hero-bg-size: clamp(1000px, 78vw, 1500px);
}
.studio-hero::before{
  content:"";
  position:absolute; inset:0;
  /* 위쪽은 조금 더 어둡게, 이미지 아래는 살짝 보이게 */
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(0,0,0,.65) 0%, rgba(0,0,0,.9) 70%),
    url("/main/keyshot_assets/media/keyshot-studio-2025-bg-1920x1097-s2.png");
  background-repeat: no-repeat, no-repeat;
  background-position: center -10%, center;   /* 필요하면 -10% 숫자 조정 */
  background-size: var(--hero-bg-size) auto, var(--hero-bg-size) auto;
  z-index: 0;                 /* 텍스트 뒤 */
}

/* 안쪽 컨텐츠는 반드시 위로 */
.studio-hero__inner{
  position: relative;
  z-index: 1;
}

/* 화면이 작아지면 다시 cover로 (모바일에서 꽉 차 보이게) */
@media (max-width: 900px){
  .studio-hero::before{
    background-position: center;
    background-size: cover, cover;
  }
}
/* ===================== Studio Hero – 보정 ===================== */
/* 1) 높이 고정 */
.ks-studio-hero{ min-height:615px; }

/* 2) 배경 이미지를 세로 100% 기준으로 ‘덜 확대’해서 더 많이 보이게 */
.ks-studio-hero::before{
  background-image:url("/main/keyshot_assets/media/keyshot-studio-2025-bg-1920x1097-s2.png") !important;
  background-repeat:no-repeat !important;
  background-position:center 0 !important;     /* 필요하면 center -20px 등으로 미세조정 */
  background-size:auto 100% !important;        /* ← cover 대신 세로 기준 100% */
  opacity:1 !important;
}

/* 3) 너무 어두운 오버레이를 대폭 완화(윗부분만 살짝, 아래로 갈수록 투명) */
.ks-studio-hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(
      180deg,
      rgba(0,0,0,.22) 0%,
      rgba(0,0,0,.14) 45%,
      rgba(0,0,0,.08) 70%,
      rgba(0,0,0,0) 100%
  ) !important;
  pointer-events:none;
}

/* 만약 이전 CSS에 별도의 베일/오버레이 요소가 있다면 더 연하게 */
.ks-studio-hero .veil,
.ks-studio-hero .hero-veil{
  background: rgba(0,0,0,.18) !important;      /* 필요 시 .12~.22 사이로 조절 */
}


/* ===================== Studio hero – 최종 보정 ===================== */
/* 배경을 더 작게(=덜 확대) + 어두운 오버레이 대폭 완화 */
:root{
  /* 배경 이미지 가로 크기(원본 1920보다 작게 보여서 더 넓게 보이게) */
  --hero-w: min(1700px, 92vw);
}

/* 1) 배경 이미지만 깔고 과한 어둡기 제거 */
.studio-hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: url("/main/keyshot_assets/media/keyshot-studio-2025-bg-1920x1097-s2.png");
  background-repeat:no-repeat;
  background-position: center -12%;     /* 필요시 -20% ~ 0% 사이로 미세조정 */
  background-size: var(--hero-w) auto;  /* cover 대신 고정 폭 -> 더 많이 보임 */
  opacity: 1 !important;
  z-index: 0;
}

/* 2) 오버레이는 ‘아주 약하게’만 (텍스트 가독성 유지용) */
.studio-hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.18) 0%,
    rgba(0,0,0,.10) 40%,
    rgba(0,0,0,.06) 65%,
    rgba(0,0,0,0) 100%
  ) !important;
  z-index: 0;               /* 텍스트 뒤, 배경 위 */
  pointer-events:none;
}

/* 3) 혹시 다른 CSS에서 추가 베일/필터가 들어갔다면 모두 무력화 */
.studio-hero .veil,
.studio-hero .hero-veil,
.studio-hero .ai-top__veil{
  background: transparent !important;
  opacity: 0 !important;
  display: none !important;
}

/* 4) 모바일은 다시 꽉 차게 */
@media (max-width: 900px){
  .studio-hero::before{
    background-position: center;
    background-size: cover;
  }
}

/* ================== HERO 가로 꽉 채우기 + 옆 경계 자연스럽게 ================== */

/* 필요시 확대 비율(미세조정: 1.05 ~ 1.25 사이 추천) */
:root { --hero-zoom: 1.10; }

.ks-studio-hero{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* 1) 배경이미지를 cover로 바꿔서 양옆 빈 여백 제거 + 살짝 확대 */
.ks-studio-hero::before{
  content:"";
  position:absolute; inset:0;
  background: url("/main/keyshot_assets/media/keyshot-studio-2025-bg-1920x1097-s2.png")
              center -10px / cover no-repeat;
  transform: scale(var(--hero-zoom));          /* 살짝 확대해서 경계 더 밖으로 */
  transform-origin: center center;
  z-index: 0;
  will-change: transform;
}

/* 2) 오버레이: 위쪽은 은은하게, 양옆은 살짝 어둡게(경계 감추기) */
.ks-studio-hero::after{
  content:"";
  position:absolute; inset:0; pointer-events:none;
  background:
    /* 좌우 비네팅 */
    linear-gradient(90deg,
      rgba(0,0,0,.28) 0%,
      rgba(0,0,0,0) 12%,
      rgba(0,0,0,0) 88%,
      rgba(0,0,0,.28) 100%
    ),
    /* 상단 살짝 어둡게, 아래로 갈수록 투명 */
    linear-gradient(180deg,
      rgba(0,0,0,.18) 0%,
      rgba(0,0,0,.12) 45%,
      rgba(0,0,0,.06) 70%,
      rgba(0,0,0,0) 100%
    );
  z-index: 1;
}

/* 안쪽 텍스트/버튼은 항상 맨 위 */
.ks-studio-hero .studio-hero__inner,
.ks-studio-hero .studio-hero__title,
.ks-studio-hero .studio-hero__sub,
.ks-studio-hero .studio-hero__ctas { position: relative; z-index: 2; }

/* 모바일에서는 cover 유지(확대는 살짝 줄여도 됨) */
@media (max-width: 900px){
  :root { --hero-zoom: 1.00; }
  .ks-studio-hero::before{
    background-position: center;  /* 중앙 기준 */
  }
}


/* ───────── Hero: 배경을 화면 끝까지, 가볍게 확대해서 경계 숨기기 ───────── */

/* 섹션 자체가 가로 제한을 받지 않도록 */
.studio-hero,
.ks-studio-hero,
.studio-hero.ks-studio-hero{
  position: relative;
  width: 100% !important;
  max-width: none !important;
  overflow: hidden;
  isolation: isolate;
  background: transparent !important;   /* 섹션 배경색이 경계처럼 보이는 것 방지 */
}

/* 내부 컨테이너는 내용만(배경 금지) */
.studio-hero__inner{
  width: var(--studio-wrap);
  margin: 0 auto;
  background: transparent !important;
}
.studio-hero__inner::before,
.studio-hero__inner::after{ content:none !important; }

/* 배경 이미지를 섹션(풀블리드)에만 적용 + 살짝 확대해서 양옆 경계 제거 */
.studio-hero::before,
.ks-studio-hero::before{
  content:"";
  position:absolute; inset:0;
  background: url("/main/keyshot_assets/media/keyshot-studio-2025-bg-1920x1097-s2.png")
              center / cover no-repeat !important;
  transform: scale(1.12);                 /* 1.08~1.18 사이에서 취향대로 */
  transform-origin: center center;
  z-index: 0;
}

/* 오버레이는 은은하게 + 좌우 비네팅으로 경계 더 숨김 */
.studio-hero::after,
.ks-studio-hero::after{
  content:"";
  position:absolute; inset:0; pointer-events:none;
  background:
    /* 좌우 살짝 어둡게(경계 감춤) */
    linear-gradient(90deg,
      rgba(0,0,0,.24) 0%,
      rgba(0,0,0,0) 12%,
      rgba(0,0,0,0) 88%,
      rgba(0,0,0,.24) 100%
    ),
    /* 위는 아주 약하게 어둡게 */
    linear-gradient(180deg,
      rgba(0,0,0,.14) 0%,
      rgba(0,0,0,.08) 45%,
      rgba(0,0,0,.04) 70%,
      rgba(0,0,0,0) 100%
    ) !important;
  z-index: 1;
}

/* 모바일은 확대를 줄여 과확대로 인한 잘림 방지 */
@media (max-width: 900px){
  .studio-hero::before,
  .ks-studio-hero::before{
    transform: scale(1.00);
    background-position: center !important;
  }
}


/* ── Hero 확대 비율 살짝 축소 (양옆은 여전히 꽉 차게) ── */

/* 기본 확대값(데스크톱) */
:root { --hero-zoom: 1.055; }   /* 기존 1.10 → 1.055 정도로 완만하게 */

/* 화면이 조금 좁아질수록 확대 더 줄이기 */
@media (max-width: 1400px){ :root { --hero-zoom: 1.04; } }
@media (max-width: 1200px){ :root { --hero-zoom: 1.03; } }
@media (max-width: 900px) { :root { --hero-zoom: 1.00; } }  /* 모바일은 확대 없음 */

/* 배경 레이어에 적용 */
.studio-hero::before,
.ks-studio-hero::before{
  transform: scale(var(--hero-zoom)) !important;
  transform-origin: center center !important;
  background-position: center -6% !important; /* 필요하면 -10% ~ 0% 사이로 미세조정 */
}





/* ============== Accelerate section ============== */
.studio-accel{
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
  /* 왼쪽→오른쪽 그라데이션 + 살짝 라이트 스팟 */
  background:
    radial-gradient(1100px 600px at 78% 42%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(90deg, #253689 0%, #3e64cc 40%, #7fb0e3 72%, #cddfe5 100%);
}

.accel__wrap{
  width: var(--studio-wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(420px, 560px) 1fr;
  gap: 56px;
  align-items: center;
}

/* 좌측 */
.accel__logo{
  width: 228px; height: auto; display: block;
  margin: 0 0 22px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}

.accel__title{
  margin: 0 0 18px;
  font-weight: 500;                 /* 요청: 500 정도 */
  line-height: 1.1;
  letter-spacing: -.01em;
  color: #fff;
  font-size: clamp(22px, 4.5vw, 44px);
}

.accel__desc{
  margin: 0 0 22px;
  color: rgba(255,255,255,.92);
  line-height: 1.75;
  font-size: clamp(14px, 2.2vw, 18px);
  max-width: 620px;
}

.accel__btn{ margin-top: 4px; }

/* 우측 이미지: 데스크톱은 '원본 크기' */
.accel__media{ position: relative; overflow: visible; }
.accel__media img{
  display: block;
  width: auto;
  height: auto;
  max-width: none;                  /* 원본 사이즈 유지 */
  filter: drop-shadow(0 28px 70px rgba(0,0,0,.45));
  transform: translateX(8px);       /* 살짝 오른쪽으로 */
}

/* 반응형 */
@media (max-width: 1100px){
  .accel__wrap{ grid-template-columns: 1fr; gap: 28px; }
  .accel__media img{ max-width: 100%; height: auto; transform: none; }
  .accel__logo{ margin-bottom: 16px; }
}







/* ===================== KeyShot Studio – Overview (Full-bleed Hero + 3 Cards) ===================== */
/* 이미지 경로 확인: keshot-studio-ov-bg.png 가 다른 이름이면 아래 경로만 바꿔줘 */
:root{
  --ov-copy-w: 980px;   /* 히어로 문장 최대폭(6줄 느낌: 900~1050px 범위에서 조절) */
  --ov-shot-w: 415px;   /* 카드 하단 이미지 고정 폭 */
}

/* 섹션 베이스 */
#studio-overview.studio-ov{
  background:#1e2432; color:#fff;
}

/* 예전 장식/패딩/오버플로우 규칙 무력화 (왼쪽 밀림, 배경잘림 방지) */
#studio-overview.studio-ov::before,
#studio-overview.studio-ov::after{ content:none !important; background:none !important; }
#studio-overview.studio-ov{ padding:0; overflow:visible; }

/* 컨텐츠 래퍼(카드 영역 용) */
#studio-overview .ov-wrap{
  width:min(1200px, 92vw);
  margin:0 auto;
  padding:0 0 clamp(48px, 6vw, 64px);
}

/* ---------------------- Hero (큰 배경 1장, 화면 가로 꽉 / 비율유지, 안잘림) ---------------------- */
#studio-overview .ov-hero{
  position: relative;

  /* 래퍼 폭을 넘어 화면 가로 전체 사용(풀블리드) + 가운데 정렬 */
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);

  /* 배경: 한 장만, 비율 유지, 절대 크롭 없음 */
  background: url("/main/keyshot_assets/media/keshot-studio-ov-bg.png")
              center center / contain no-repeat;

  /* 충분한 세로 공간 확보(배경 크게 보이게) */
  min-height: clamp(440px, 44vw, 680px);
  display:flex; align-items:center; justify-content:center;
  padding: clamp(56px, 6vw, 96px) 0;
  isolation:isolate;   /* 텍스트 z-index 안정화 */
}

/* 아주 넓은 화면에서 배경을 조금 더 키우고 싶을 때 */
@media (min-width: 1440px){
  #studio-overview .ov-hero{
    background-size: min(1900px, 95vw) auto;  /* contain 상한을 수동으로 키움 */
  }
}

/* 히어로 문장(약 6줄) */
#studio-overview .ov-intro{
  max-width: min(var(--ov-copy-w), 88vw);
  margin: 0 auto;
  text-align:center;
  line-height:1.42;
  font-weight:500;
  font-size: clamp(20px, 2.4vw, 36px);
  letter-spacing:-0.01em;

  /* 전체 문장 그라데이션 */
  background: linear-gradient(90deg,#7fb1ff 0%, #6aa0ff 38%, #f1c77f 82%, #f6d08d 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
#studio-overview .ov-intro strong{ font-weight:600; }

/* 모바일에서 높이·글자 크기 조정 */
@media (max-width: 640px){
  #studio-overview .ov-hero{ min-height: clamp(380px, 52vw, 520px); background-size: cover; background-position:center 10%; }
  #studio-overview .ov-intro{ max-width: 90vw; font-size: clamp(18px, 5.2vw, 24px); line-height:1.32; }
}

/* ---------------------- Cards (3열) ---------------------- */
#studio-overview .ov-grid{
  width:min(1200px, 92vw);
  margin: clamp(24px, 4vw, 56px) auto 0;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
  align-items:start;
  color:#dfe6f3;
}
#studio-overview .ov-card{ display:flex; flex-direction:column; align-items:flex-start; max-width: var(--ov-shot-w); }

#studio-overview .ov-eyebrow{
  color:#9bb5ff;
  font-size:13px;
  margin:0 0 8px;
}

#studio-overview .ov-title{
  margin:0 0 10px;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight:600;                 /* 요청: 타이틀 살짝 두껍게 */
  letter-spacing:-.01em;
  background: linear-gradient(90deg,#8fb9ff 0%, #5d96ff 40%, #e9c07a 85%, #f2c984 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

#studio-overview .ov-desc{
  margin:0 0 14px;
  color:#e7edf6;
  font-size:14px;
  line-height:1.7;
  max-width: var(--ov-shot-w);     /* 본문 폭 = 이미지 폭 */
}

/* 카드 이미지(가로 415px 고정) */
#studio-overview .ov-shot{ width: var(--ov-shot-w); margin-top: 6px; }
#studio-overview .ov-shot img{
  width:100%; height:auto; display:block;
  border-radius:10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

/* 2단/1단 반응형 */
@media (max-width: 1100px){
  #studio-overview .ov-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px){
  #studio-overview .ov-grid{ grid-template-columns: 1fr; }
  #studio-overview .ov-card{ max-width: 520px; }
  #studio-overview .ov-shot{ width:100%; }
}


/* 카드 이미지가 글 왼쪽선과 딱 맞도록(figure 기본 마진 제거) */
.studio-ov .ov-shot{ 
  margin: 12px 0 0 0 !important;   /* 위만 여백, 좌우 0 */
}
/* 혹시 정렬 보정이 더 필요하면 함께 사용 */
.studio-ov .ov-card{ justify-items: start; align-items: start; }



















/* ===== Steps (공통) ===== */
.steps3{background:#1e2432;color:#fff;padding:72px 0 96px;}
/* 타이틀 폭을 패널(stage)과 동일하게 → 좌측 정확히 맞닿음 */
.steps-wrap{width:min(1800px,96vw);margin:0 auto;}
.steps-title{font-weight:400;letter-spacing:-.01em;margin:0 0 10px;
  font-size:clamp(28px,3.2vw,56px);line-height:1.08}
.steps-title .g{
  background:linear-gradient(90deg,#7fb1ff 0%,#6aa0ff 38%,#f1c77f 85%,#f6d08d 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;font-weight:600
}

/* stage = 패널 컨테이너(가운데) */
.steps-stage{position:relative;width:min(1800px,96vw);margin:8px auto 0}

/* ---- Panels ---- */
.steps-panel{
  display:none;position:relative;border-radius:12px;overflow:hidden;
  min-height:clamp(680px,48vw,820px);  /* 높이 확장: 잘림 방지 */
  background:var(--bg) center/cover no-repeat;  /* 한 장 큰 배경 */
}
.steps-panel.is-active{display:block}

/* 하단 가독성용 그라데이션 (패널 '안쪽') */
.steps-panel::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:48%;
  background:linear-gradient(180deg,rgba(8,12,20,0) 0%,rgba(8,12,20,.82) 70%,rgba(8,12,20,.96) 100%);
  z-index:0;
}

/* ---- Tabs(패널 내부 좌상단 고정) ---- */
.steps-tabs{
  position:absolute;top:16px;left:20px;z-index:5;
  display:inline-flex;align-items:center;gap:12px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:999px;padding:6px 6px;
  background:rgba(255,255,255,.06);backdrop-filter:saturate(1.1) blur(2px);
}
.steps-tab{
  position:relative;z-index:1;padding:10px 22px;border:0;background:transparent;
  color:#e8eef6;font-size:14px;line-height:1;border-radius:999px;cursor:pointer;white-space:nowrap
}
.steps-tab .dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px;background:rgba(255,255,255,.35)}
.steps-tab.is-active{color:#1a1f2a}
.steps-pill{
  position:absolute;top:6px;left:6px;bottom:6px;border-radius:999px;
  width:auto;background:linear-gradient(90deg,#99d6ff 0%,#8fd2ff 42%,#ffe2a9 100%);
  box-shadow:0 6px 16px rgba(0,0,0,.25)
}

/* 패널 안 컨텐츠: 아래로 내림(하단 정렬) + 좌 200px 여백 */
.steps-pad{
  position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:44px;
  padding:0 48px 42px 200px;height:100%
}
.steps-pad .left h3{margin:0 0 8px;font-weight:700;font-size:clamp(22px,2.6vw,44px);line-height:1.15}
.steps-pad .left p{margin:8px 0 0;color:#dbe3ee;max-width:760px;line-height:1.6}

/* 오른쪽 텍스트/블록 */
.info{display:flex;gap:16px;align-items:flex-start;margin-bottom:16px}
.info.v{flex-direction:column;gap:12px;margin-top:12px} /* 아이콘 위, 텍스트 아래 */
.cols{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.cols h5{margin:10px 0 8px;color:#cfe0ff;font-weight:600}
.cols ul{margin:0;padding-left:16px}
.cols li{margin:4px 0;color:#e7eef7}

/* 아이콘 사이즈 */
.ico{display:block}
.w30{width:30px}.w31{width:31px}.w33{width:33px}.w76{width:76px}

/* 2,3번째 우측 기능 카드 (하단에 정돈) */
.right.three,.right.two{display:grid;gap:26px}
.right.three{grid-template-columns:repeat(3,1fr)}
.right.two{grid-template-columns:repeat(2,1fr)}
.feat h4{margin:10px 0 6px;font-weight:700}
.feat p{margin:0;color:#dbe3ee;line-height:1.55}

/* 반응형 */
@media (max-width:1100px){
  .steps-pad{grid-template-columns:1fr;gap:28px;padding:0 24px 34px 24px}
  .right.three{grid-template-columns:1fr}
  .right.two{grid-template-columns:1fr}
}
/* 패널에 명시 높이 줘야 자식이 기준을 가짐 */
#steps3 .steps-panel{
  position: relative;
  min-height: clamp(640px, 48vw, 820px); /* 필요하면 숫자만 조정 */
}

/* 2·3번 탭 컨텐츠를 패널 하단에 고정(아래 45px) */
#step2 .steps-pad,
#step3 .steps-pad{
  position: absolute;
  left: 50px;            /* 요구했던 왼쪽 여백 */
  right: 48px;
  bottom: 45px;           /* 하단에서 45px 떨어짐 */
  top: auto;              /* 상단 고정 제거 */
  height: auto;           /* 기존 height:100% 무효화 */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: end;
  z-index: 1;             /* 그라데이션 오버레이보다 위로 */
}

/* 모바일/태블릿에서 여백/레이아웃 보정 */
@media (max-width: 1100px){
  #step2 .steps-pad,
  #step3 .steps-pad{
    left: 24px;
    right: 24px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
}



/* ===== 모바일 탭/컨텐츠 겹침 해결 ===== */
@media (max-width: 720px){
  /* 탭을 고정(absolute)에서 일반 흐름으로 빼고, 2줄로 감기게 */
  #steps3 .steps-stage{
    padding-top: 0;                 /* overlay 여백 제거 */
  }
  #steps3 .steps-tabs{
    position: static;               /* 더 이상 배경 위에 겹치지 않음 */
    left: auto; transform: none;
    display: flex; flex-wrap: wrap; justify-content: center;
    width: min(560px, 92vw);
    gap: 8px 8px;
    margin: 0 auto 14px;            /* 탭 아래로 약간의 공간 */
    padding: 6px;
  }
  #steps3 .steps-tab{
    flex: 1 1 calc(50% - 8px);      /* 2열로 반반 배치 */
    text-align: center;
    padding: 10px 12px;
  }
  #steps3 .steps-pill{              /* 모바일에선 pill 하이라이트 숨김(겹침 방지) */
    display: none;
  }

  /* 패널 최솟높이 살짝 줄여 모바일 화면에 맞춤(필요시 조절) */
  #steps3 .steps-panel{
    min-height: clamp(540px, 80vh, 700px);
    margin-top: 0;                  /* 탭이 흐름에 있으니 추가 여백 불필요 */
  }

  /* 2·3번째 탭: 컨텐츠를 하단 고정에서 일반 흐름으로 돌리기 */
  #step2 .steps-pad,
  #step3 .steps-pad{
    position: relative; left: auto; right: auto; bottom: auto; top: auto;
    height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px 24px;           /* 좌우/하단 여백 */
    align-items: start;
  }

  /* 1번째 탭도 동일한 패딩으로 통일감 */
  #step1 .steps-pad{
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px 24px;
    align-items: start;
  }
}
