/* subtitle-seq4-3.css
   - seq4_sub3 전용 (기업 카탈로그)
   - 1) Title Section (1280 x 422)
   - 2) Catalog Intro Section Frame (1280 x 900 안에 1280 x 570 그리드 틀)
*/


/* =========================================================
   1) TITLE SECTION (1280 x 422)
========================================================= */
.sub-title-section{
  width: 100%;
  background: #fff;
}

.sub-title-section__inner{
  position: relative;

  width: 100%;
  max-width: 1280px;
  height: 422px;

  margin: 0 auto;
  box-sizing: border-box;

  /* ✅ 위/아래 패딩 140 */
  padding: 140px 0;

  /* ✅ 패딩 제외한 가운데 영역에서 중앙정렬 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sub-title-box{
  position: relative;

  height: 96px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

/* point (page_point.svg) */
.page-point{
  position: absolute;
  width: 15px;
  height: 15px;

  left: 50%;
  bottom: 100%;
  transform: translate(-50%, 40%);

  display: block;
  pointer-events: none;
}

/* CORPORATE BROCHURE (padding 하단 라인에 붙이기) */
.sub-title-sub{
  position: absolute;
  left: 50%;
  bottom: 140px;
  transform: translateX(-50%);

  width: fit-content;

  height: 29px;
  line-height: 29px;

  white-space: nowrap;
  text-align: center;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* =========================================================
   2) CATALOG INTRO SECTION (1280 x 900)
   - padding-top: 170
   - row 0.75 영역 배경: #fff
   - row 0.5  영역 배경: #F8F9FA (color.css의 w1로 쓰던 그 톤)
   - 내부 프레임: 1280 x 570
   - 2열 gap 120, 좌우 padding 140
========================================================= */

/* 바깥 섹션 */
.catalog-hero{
  position: relative;
  width: 100%;
  background: #fff;
}
.catalog-hero__brochure{
    width: 403px;
    height: 570px;
    object-fit: contain;
    /* Figma: X 0, Y 0, Blur 21.5, Spread 0, #000 10% */
     filter: drop-shadow(0px 0px 21.5px rgba(0, 0, 0, 0.10)); 
     /* box-shadow: 0px 0px 21.5px 0px rgba(0, 0, 0, 0.10);  */
  }
/* 1280 x 900 컨테이너 */
.catalog-hero__inner{
  position: relative;
  z-index: 1; /* ✅ 회색 배경 위로 내용 올리기 */



  width: 100%;
  max-width: 1280px;
  height: 900px;

  margin: 0 auto;
  box-sizing: border-box;

  padding-top: 170px;
   background: transparent; /* or 아예 background 줄 삭제 */

  display: flex;
  align-items: flex-start;
  justify-content: center;

  overflow: hidden; /* 이거 유지해도 OK */
}

/* ✅ 아래 360px만 전체폭으로 깔기 */
.catalog-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 360px;
  background: #F8F9FA;

  z-index: 0;
}


/* 1280 x 570 프레임(컨텐츠 틀) */
.catalog-hero__grid{
  position: relative;
  z-index: 1;             /* ✅ 배경 레이어 위로 */

  width: 100%;
  height: 570px;

  padding: 0 140px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 403px 1fr;

  column-gap: 120px;
  align-items: center;
}



/* =========================================================
   RIGHT COLUMN: 1x7 Grid
========================================================= */
.catalog-hero__col--right{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 96px 0.5fr 0.75fr 0.75fr 1fr 1fr;
  gap: 32px;
  height: 100%;
}

.catalog-right__title{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.catalog-right__desc{
  display: flex;
  align-items: flex-start;
}

/* ROW 6: 버튼 영역 */
.catalog-right__buttons{
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.catalog-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 191px;
  height: 52px;
  border-radius: 1000px;
  background: var(--c-dk-b);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms ease;
}

.catalog-btn--wide{
  width: 247px;
}

.catalog-btn:hover{
  background: var(--c-orange);
}

/* hover 부드럽게: 버튼 배경(rect)만 */
.svg-btn rect{
  transition: fill 200ms ease;
}

/* hover 시 오렌지 */
.svg-btn:hover rect{
  fill: #ED7011 !important; /* c-orange 값 */
}

/* 키보드 포커스도 동일 */
.svg-btn:focus-visible rect{
  fill: #ED7011 !important;
}

@media (min-width: 800px) and (max-width: 1279px){

  .catalog-hero__inner{
    width: 100%;
    max-width: 1280px;   /* ✅ 800 고정 제거(1279까지 자연 확장) */
    height: 800px;
    padding-top: 204px;
  }

  .catalog-hero__grid{
    height: 436px;
    padding: 0 40px;
    column-gap: 0;

    align-items: start;
    justify-content: space-between;

    /* ✅ 좌·우 끝 정렬, 간격은 뷰포트에 따라 늘어남 */
    grid-template-columns: 308px auto;
  }

  .catalog-hero__brochure{
    width: 308px;
    height: 436px;
    object-fit: contain;
    display: block;
    /* Figma: X 0, Y 0, Blur 21.5, Spread 0, #000 10% */
    filter: drop-shadow(0px 0px 21.5px rgba(0, 0, 0, 0.10));
  }

  /* ✅ 왼쪽/오른쪽 끝 정렬 */
  .catalog-hero__col{ 
    display: flex;
    align-items: flex-start;
  }
  .catalog-hero__col--left{  justify-content: flex-start; }
  .catalog-hero__col--right{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 84px 85px 127px;
    gap: 40px;
    padding: 30px 0;
    height: 436px;
    box-sizing: border-box;
  }

  /* 태블릿: ROW 1,3,5,7 spacer 숨기기 */
  .catalog-right__spacer{ display: none; }

  /* 태블릿: 버튼 세로 배치 */
  .catalog-right__buttons{
    flex-direction: column;
    gap: 20px;
  }

  .catalog-btn,
  .catalog-btn--wide{
    width: 250px;
    height: 47px;
  }

  .brochure-svg--tablet{ display:block; }
}

/* =========================
   Mobile (0 ~ 799)
   - inner: 375 x 1345
   - padding-top: 205
========================= */
@media (max-width: 799px){
.catalog-hero__col--left .brochure-left--mobile{
    position: relative;
    left: 15px; /* ✅ 딱 20px만 보정 */
  }
  .catalog-hero__inner{
    max-width: 375px;
    height: 1099px;
    padding-top: 205px;
  }

  .catalog-hero::after{
    height: 897px;
    background: #fff;
  }

  /* ✅ 모바일은 2열 불가 → 1열로 쌓기(기본 틀) */
  .catalog-hero__grid{
    height: auto;            /* 모바일은 내용 높이 따라가게 */
    padding: 0 0px;         /* 기본값(원하면 조정) */
    grid-template-columns: 1fr;
    row-gap: 24px;           /* 기본값(원하면 조정) */
    column-gap: 0;
    align-items: center;
  }

  /* 왼쪽 이미지 301 x 426 */
  .catalog-hero__brochure{
    width: 301px;
    height: 426px;
    object-fit: contain;
    margin-left: 37px;
    /* Figma: X 0, Y 0, Blur 21.5, Spread 0, #000 10% */
    filter: drop-shadow(0px 0px 21.5px rgba(0, 0, 0, 0.10));
  }

  .catalog-hero__col--right{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 62px 34px 110px;
    gap: 60px;
    padding: 60px 40px;
    height: 446px;
    box-sizing: border-box;
  }

  .catalog-right__spacer{ display: none; }

  .catalog-right__buttons{
    flex-direction: column;
  }

  .catalog-btn,
  .catalog-btn--wide{
    width: 295px;
    height: 45px;
  }

}



/* =========================================================
   SVG swap (LEFT / RIGHT) : desktop / tablet / mobile
   - subtitle-seq4-3.css 맨 아래에 두기
========================================================= */

/* ---------- 기본(데스크탑): desktop만 ---------- */
/* LEFT */
.brochure-left--desktop{ display:block; }
.brochure-left--tablet{ display:none; }
.brochure-left--mobile{ display:none; }

/* RIGHT */
.brochure-svg--desktop{ display:block; }
.brochure-svg--tablet{ display:none; }
.brochure-svg--mobile{ display:none; }



/* ---------- 태블릿(800~1279): tablet만 ---------- */
@media (min-width: 800px) and (max-width: 1279px){

  /* LEFT */
  .brochure-left--desktop{ display:none; }
  .brochure-left--tablet{ display:block; }
  .brochure-left--mobile{ display:none; }

  /* RIGHT */
  .brochure-svg--desktop{ display:none; }
  .brochure-svg--tablet{ display:block; }
  .brochure-svg--mobile{ display:none; }

  
}


/* ---------- 모바일(0~799): mobile만 ---------- */
@media (max-width: 799px){

  /* LEFT */
  .brochure-left--desktop{ display:none; }
  .brochure-left--tablet{ display:none; }
  .brochure-left--mobile{ display:block; }

  /* RIGHT */
  .brochure-svg--desktop{ display:none; }
  .brochure-svg--tablet{ display:none; }
  .brochure-svg--mobile{ display:block; }

}