/* Eduinjob Home Renewal 1.0
   STEP 1: Hero + 개인/기업/기관 서비스 진입구
   기존 app.css에 영향을 주지 않는 메인 전용 스타일
*/

.home-renewal-hero{
  padding:78px 0 72px;
}

.home-renewal-hero .hero-grid{
  gap:56px;
}

.home-renewal-hero .hero-copy h1{
  margin-bottom:14px;
}

.home-hero-question{
  margin:0 0 18px;
  font-size:25px;
  line-height:1.45;
  letter-spacing:-.04em;
  color:#333;
}

.home-renewal-hero .hero-copy>p{
  font-size:18px;
  line-height:1.8;
  word-break:keep-all;
}

.home-hero-promise{
  padding:38px;
}

.home-promise-label{
  display:inline-block;
  margin-bottom:18px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  color:#ff9a5c;
}

.home-hero-promise h2{
  margin:0;
  font-size:32px;
  line-height:1.35;
  letter-spacing:-.045em;
}

.home-hero-promise>p{
  margin:18px 0 24px;
  font-size:17px;
  line-height:1.75;
  color:#d5d5d5;
  word-break:keep-all;
}

.home-promise-flow{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
  gap:8px;
  align-items:center;
  margin:0 0 24px;
}

.home-promise-flow span{
  padding:12px 8px;
  border:1px solid #444;
  border-radius:10px;
  background:#2c2c2c;
  text-align:center;
  font-size:14px;
  font-weight:800;
}

.home-promise-flow b{
  color:#ff9a5c;
}

.home-hero-promise>strong{
  display:block;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.13);
  font-size:18px;
  line-height:1.55;
  color:#fff;
}

.home-service-gates{
  grid-template-columns:repeat(3,1fr);
  max-width:1180px;
}

.home-service-gates .quick-card{
  min-height:150px;
  align-items:start;
}

.home-service-gates .quick-card small{
  display:block;
  margin-bottom:5px;
  color:#888;
  font-size:13px;
  font-weight:800;
}

.home-service-gates .quick-card b{
  display:block;
  font-size:19px;
  line-height:1.4;
}

.home-service-gates .quick-card p{
  margin-top:8px;
  font-size:14px;
  line-height:1.65;
  word-break:keep-all;
}

.home-service-gates .quick-card>strong{
  align-self:center;
  white-space:nowrap;
  font-size:13px;
}

.home-service-gates .institution .icon{
  background:#f1f4ff;
}

@media(max-width:960px){
  .home-renewal-hero .hero-grid{
    gap:34px;
  }

  .home-service-gates{
    grid-template-columns:1fr;
  }

  .home-service-gates .quick-card{
    min-height:auto;
  }
}

@media(max-width:640px){
  .home-renewal-hero{
    padding:48px 0 38px;
  }

  .home-renewal-hero .hero-copy h1{
    font-size:38px;
    line-height:1.2;
  }

  .home-hero-question{
    font-size:22px;
    line-height:1.45;
  }

  .home-renewal-hero .hero-copy>p{
    font-size:18px;
    line-height:1.75;
  }

  .home-renewal-hero .hero-actions .btn{
    min-height:52px;
    font-size:17px;
  }

  .home-renewal-hero .trust-row{
    flex-wrap:wrap;
    font-size:14px;
    line-height:1.6;
  }

  .home-hero-promise{
    padding:26px 22px;
  }

  .home-hero-promise h2{
    font-size:27px;
  }

  .home-hero-promise>p{
    font-size:17px;
  }

  .home-promise-flow{
    grid-template-columns:1fr;
    gap:7px;
  }

  .home-promise-flow b{
    text-align:center;
    transform:rotate(90deg);
  }

  .home-hero-promise>strong{
    font-size:18px;
  }

  .home-service-gates{
    margin-top:18px;
  }

  .home-service-gates .quick-card{
    grid-template-columns:56px 1fr;
    padding:22px 18px;
    gap:14px;
  }

  .home-service-gates .quick-card small{
    font-size:14px;
  }

  .home-service-gates .quick-card b{
    font-size:19px;
  }

  .home-service-gates .quick-card p{
    font-size:17px;
    line-height:1.65;
  }

  .home-service-gates .quick-card>strong{
    grid-column:2;
    font-size:16px;
  }
}

/* STEP 2: 주요 실적 신뢰 띠 */
.home-proof-band{
  background:linear-gradient(110deg,#f36f21,#ff8840);
  color:#fff;
}

.home-proof-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
}

.home-proof-item{
  min-height:92px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:16px 28px;
  border-right:1px solid rgba(255,255,255,.24);
}

.home-proof-item:first-child{
  border-left:1px solid rgba(255,255,255,.24);
}

.home-proof-item strong{
  font-size:27px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.04em;
}

.home-proof-item span{
  margin-top:4px;
  font-size:16px;
  font-weight:900;
}

.home-proof-item small{
  margin-top:4px;
  font-size:12px;
  line-height:1.45;
  color:rgba(255,255,255,.82);
}

/* 실적 띠가 생기므로 서비스 카드는 겹치지 않게 배치 */
.home-service-gates{
  margin-top:22px;
}

@media(max-width:760px){
  .home-proof-grid{
    grid-template-columns:1fr;
  }

  .home-proof-item{
    min-height:auto;
    padding:16px 20px;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.22);
  }

  .home-proof-item:first-child{
    border-left:0;
  }

  .home-proof-item:last-child{
    border-bottom:0;
  }

  .home-proof-item strong{
    font-size:24px;
  }

  .home-proof-item span{
    font-size:17px;
  }

  .home-proof-item small{
    font-size:14px;
  }
}

/* =========================================================
   STEP 3 : EDUINJOB LIGHTHOUSE HERO
   확정 시안 기준
   ========================================================= */

/* HERO 좌측 문구 */
.home-renewal-hero .hero-copy>p strong{
  color:#333;
  font-weight:800;
}

.home-hero-trust{
  margin-top:24px;
  padding-top:18px;
  border-top:1px solid #e8e1dc;
  font-size:13px;
  color:#555;
}

/* 등대 카드 */
.eduinjob-lighthouse{
  min-width:0;
}

.lighthouse-sky{
  position:relative;
  min-height:440px;
  overflow:hidden;
  border-radius:28px;
  background:
    radial-gradient(circle at 72% 15%,rgba(52,91,132,.35),transparent 35%),
    linear-gradient(155deg,#061829 0%,#0a2740 55%,#07131f 100%);
  box-shadow:0 22px 55px rgba(5,20,35,.18);
  isolation:isolate;
}

/* 밤하늘 */
.lighthouse-sky:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  opacity:.62;
  background-image:
    radial-gradient(circle,#fff 0 1px,transparent 1.5px),
    radial-gradient(circle,#dbeaff 0 1px,transparent 1.4px);
  background-size:76px 76px,113px 113px;
  background-position:12px 18px,42px 7px;
}

/* 등대 문구 */
.lighthouse-copy{
  position:absolute;
  left:42px;
  top:54px;
  z-index:6;
  width:52%;
  color:#fff;
}

.lighthouse-copy>span{
  display:block;
  margin-bottom:15px;
  color:#ff7a2d;
  font-size:12px;
  font-weight:900;
  letter-spacing:.09em;
}

.lighthouse-copy h2{
  margin:0;
  font-size:34px;
  line-height:1.34;
  letter-spacing:-.05em;
  color:#fff;
}

.lighthouse-copy i{
  display:block;
  width:34px;
  height:3px;
  margin:23px 0 20px;
  border-radius:99px;
  background:#f36f21;
}

.lighthouse-copy p{
  margin:0;
  font-size:17px;
  line-height:1.75;
  font-weight:600;
  color:rgba(255,255,255,.92);
}

/* 등대 장면 */
.lighthouse-scene{
  position:absolute;
  inset:0;
  z-index:2;
}

/* 바다 */
.lighthouse-sea{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:24%;
  z-index:1;
  background:
    repeating-linear-gradient(
      176deg,
      rgba(96,154,194,.18) 0 2px,
      transparent 2px 12px
    ),
    linear-gradient(180deg,#0b2a40 0%,#061725 100%);
}

/* 절벽 */
.lighthouse-cliff{
  position:absolute;
  right:-5%;
  bottom:10%;
  width:52%;
  height:28%;
  z-index:3;
  border-radius:58% 0 0 0;
  transform:skewX(-10deg);
  background:
    linear-gradient(150deg,#26352d 0%,#18241f 35%,#0c1212 100%);
  box-shadow:-20px -10px 35px rgba(0,0,0,.18);
}

/* 등대 본체 */
.lighthouse-building{
  position:absolute;
  right:10%;
  bottom:19%;
  width:92px;
  height:252px;
  z-index:7;
}

/* 등대 탑 */
.lighthouse-roof{
  position:absolute;
  top:0;
  left:20px;
  width:52px;
  height:22px;
  z-index:5;
  clip-path:polygon(50% 0,100% 100%,0 100%);
  background:#171716;
}

/* 불이 켜진 등대방 */
.lighthouse-light{
  position:absolute;
  top:21px;
  left:21px;
  width:50px;
  height:34px;
  z-index:6;
  border:4px solid #292723;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 10px,
      rgba(40,35,28,.55) 10px 12px
    ),
    linear-gradient(180deg,#fff6c8,#ffc754);
  box-shadow:
    0 0 16px rgba(255,205,91,.95),
    0 0 38px rgba(255,188,64,.55);
}

/* 전망 데크 */
.lighthouse-deck{
  position:absolute;
  top:55px;
  left:9px;
  width:75px;
  height:10px;
  z-index:5;
  border-top:3px solid #242422;
  border-bottom:3px solid #242422;
}

/* 등대 몸체 */
.lighthouse-tower{
  position:absolute;
  top:63px;
  left:24px;
  width:45px;
  height:176px;
  z-index:4;
  clip-path:polygon(17% 0,83% 0,100% 100%,0 100%);
  background:
    linear-gradient(90deg,#c8c5ba 0%,#f5f1df 48%,#c1bcae 100%);
  box-shadow:inset -7px 0 10px rgba(0,0,0,.14);
}

.lighthouse-tower span{
  position:absolute;
  left:18px;
  width:9px;
  height:14px;
  border-radius:2px;
  background:#ffd063;
  box-shadow:0 0 8px rgba(255,205,90,.7);
}

.lighthouse-tower span:first-child{
  top:70px;
}

.lighthouse-tower span:last-child{
  top:122px;
}

/* 움직이는 등대 빛 */
.light-beam{
  position:absolute;
  right:calc(10% + 69px);
  top:77px;
  width:320px;
  height:84px;
  z-index:4;
  transform-origin:100% 50%;
  clip-path:polygon(100% 42%,0 0,0 100%,100% 58%);
  background:
    linear-gradient(
      90deg,
      rgba(255,227,157,0) 0%,
      rgba(255,224,146,.12) 25%,
      rgba(255,218,128,.34) 72%,
      rgba(255,235,173,.74) 100%
    );
  filter:blur(.4px);
  animation:lighthouseSweep 7s ease-in-out infinite alternate;
}

@keyframes lighthouseSweep{
  0%{
    transform:rotate(-6deg);
    opacity:.52;
  }
  50%{
    opacity:.9;
  }
  100%{
    transform:rotate(5deg);
    opacity:.64;
  }
}

/* =========================================================
   STEP 3 : 실적 띠 확정 디자인
   검정 + 숫자 노란색
   ========================================================= */

.home-proof-band{
  background:linear-gradient(110deg,#171717,#242424);
  color:#fff;
}

.home-proof-item{
  min-height:100px;
  text-align:center;
  border-right:1px solid rgba(255,255,255,.18);
}

.home-proof-item:first-child{
  border-left:1px solid rgba(255,255,255,.18);
}

.home-proof-item strong{
  color:#ffd22e;
  font-size:30px;
}

.home-proof-item span{
  color:#fff;
  font-size:16px;
}

.home-proof-item small{
  color:#cfcfcf;
  font-size:12px;
}

/* 태블릿 */
@media(max-width:960px){
  .lighthouse-sky{
    min-height:400px;
  }

  .lighthouse-copy{
    left:34px;
    top:42px;
    width:56%;
  }

  .lighthouse-copy h2{
    font-size:31px;
  }
}

/* 모바일 */
@media(max-width:640px){
  .home-renewal-hero .hero-copy>p strong{
    display:inline;
  }

  .home-hero-trust{
    gap:8px;
    font-size:14px;
  }

  .lighthouse-sky{
    min-height:390px;
    border-radius:22px;
  }

  .lighthouse-copy{
    left:24px;
    top:30px;
    width:62%;
  }

  .lighthouse-copy>span{
    font-size:11px;
  }

  .lighthouse-copy h2{
    font-size:27px;
    line-height:1.35;
  }

  .lighthouse-copy p{
    font-size:16px;
  }

  .lighthouse-building{
    right:6%;
    bottom:18%;
    transform:scale(.82);
    transform-origin:bottom right;
  }

  .light-beam{
    right:calc(6% + 68px);
    width:210px;
    top:78px;
  }

  .home-proof-item{
    min-height:auto;
    padding:16px 18px;
  }

  .home-proof-item strong{
    font-size:27px;
  }

  .home-proof-item span{
    font-size:17px;
  }

  .home-proof-item small{
    font-size:14px;
  }
}

/* 움직임 최소화 설정 사용자를 위한 접근성 */
@media(prefers-reduced-motion:reduce){
  .light-beam{
    animation:none;
  }
}

/* =========================================================

/* =========================================================
   EDUINJOB HOME HERO - FINAL
   2026-08-29
   - 중복 Hero 패치 제거 후 단일 규칙으로 통합
   - PC 왼쪽 텍스트 여백 56px
   - 제목/본문/버튼/신뢰문구 시작선 통일
   - 등대 크기/크롭/불빛 애니메이션 유지
========================================================= */

/* ---------- PC ---------- */
@media(min-width:961px){

  .home-renewal-hero .hero-grid{
    width:calc(100% - 160px);
    max-width:1240px;
    margin-left:auto;
    margin-right:auto;
    grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);
    gap:52px;
    align-items:center;
  }

  .home-renewal-hero .hero-copy{
    box-sizing:border-box;
    padding-left:40px;
    padding-right:0;
  }

  .home-renewal-hero .hero-copy .eyebrow,
  .home-renewal-hero .hero-copy h1,
  .home-renewal-hero .hero-copy .home-hero-question,
  .home-renewal-hero .hero-copy > p,
  .home-renewal-hero .hero-copy .hero-actions,
  .home-renewal-hero .hero-copy .home-hero-trust{
    margin-left:0;
    padding-left:0;
  }
}

/* ---------- Lighthouse ---------- */

.eduinjob-lighthouse-image{
  position:relative;
  width:100%;
  height:445px;
  margin:0;
  padding:0;
  overflow:hidden;
  border:0;
  outline:0;
  border-radius:26px;
  background:#071b31;
  box-shadow:0 18px 38px rgba(17,24,39,.13);
  isolation:isolate;
}

/* PNG 내부 흰 여백 크롭 */
.eduinjob-lighthouse-image img{
  position:absolute;
  z-index:1;
  left:50%;
  top:50%;
  width:100%;
  height:106%;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  outline:0;
  border-radius:0;
  object-fit:cover;
  object-position:center center;
  transform:translate(-50%,-50%);
}

/* 등대 램프 Glow */
.eduinjob-lighthouse-image::before{
  content:"";
  position:absolute;
  z-index:4;
  right:14.3%;
  top:17.2%;
  width:42px;
  height:42px;
  border-radius:50%;
  pointer-events:none;
  background:rgba(255,225,145,.36);
  box-shadow:
    0 0 16px rgba(255,225,145,.90),
    0 0 36px rgba(255,194,76,.65);
  mix-blend-mode:screen;
  animation:eduinjobLampGlow 2.8s ease-in-out infinite;
}

/* 움직이는 등대 빛 */
.eduinjob-lighthouse-image::after{
  content:"";
  position:absolute;
  z-index:3;
  right:15.5%;
  top:14.5%;
  width:72%;
  height:24%;
  pointer-events:none;

  background:linear-gradient(
    90deg,
    rgba(255,235,190,0) 0%,
    rgba(255,229,168,.06) 25%,
    rgba(255,221,143,.20) 58%,
    rgba(255,224,150,.62) 100%
  );

  clip-path:polygon(
    0 8%,
    100% 43%,
    100% 57%,
    0 92%
  );

  transform-origin:100% 50%;
  filter:blur(1.5px);
  mix-blend-mode:screen;
  will-change:transform,opacity;

  animation:eduinjobLighthouseSweep 5.2s ease-in-out infinite alternate;
}

@keyframes eduinjobLighthouseSweep{
  0%{
    transform:rotate(-8deg);
    opacity:.38;
  }
  50%{
    opacity:.90;
  }
  100%{
    transform:rotate(8deg);
    opacity:.58;
  }
}

@keyframes eduinjobLampGlow{
  0%,100%{
    transform:scale(.92);
    opacity:.60;
  }
  50%{
    transform:scale(1.12);
    opacity:1;
  }
}

/* ---------- Tablet ---------- */

@media(max-width:960px){

  .home-renewal-hero .hero-grid{
    grid-template-columns:1fr;
    gap:32px;
  }

  .home-renewal-hero .hero-copy{
    box-sizing:border-box;
    padding-left:24px;
    padding-right:24px;
  }

  .home-renewal-hero .hero-copy .eyebrow,
  .home-renewal-hero .hero-copy h1,
  .home-renewal-hero .hero-copy .home-hero-question,
  .home-renewal-hero .hero-copy > p,
  .home-renewal-hero .hero-copy .hero-actions,
  .home-renewal-hero .hero-copy .home-hero-trust{
    margin-left:0;
    padding-left:0;
  }

  .eduinjob-lighthouse-image{
    height:auto;
    aspect-ratio:3 / 2;
    max-width:720px;
    margin:0 auto;
  }
}

/* ---------- Mobile ---------- */

@media(max-width:640px){

  .home-renewal-hero .hero-copy{
    padding-left:24px;
    padding-right:24px;
  }

  .eduinjob-lighthouse-image{
    height:auto;
    aspect-ratio:3 / 2;
    border-radius:20px;
  }

  .eduinjob-lighthouse-image img{
    width:105%;
    height:105%;
  }

  .eduinjob-lighthouse-image::before{
    width:30px;
    height:30px;
  }
}

/* 접근성 */
@media(prefers-reduced-motion:reduce){
  .eduinjob-lighthouse-image::before,
  .eduinjob-lighthouse-image::after{
    animation:none;
  }
}



/* =========================================================
   LIGHTHOUSE TEXT OVERLAY
   2026-08-29
   이미지와 분리된 등대 카드 문구
========================================================= */

.lighthouse-text-overlay{
  position:absolute;
  z-index:6;
  left:52px;
  top:58px;
  width:330px;
  box-sizing:border-box;
  color:#fff;
  pointer-events:none;
}

.lighthouse-text-overlay .lighthouse-eyebrow{
  display:block;
  margin:0 0 18px 0;
  padding:0;
  color:#ff7a1a;
  font-size:14px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.05em;
}

.lighthouse-text-overlay h2{
  margin:0;
  padding:0;
  color:#fff;
  font-size:36px;
  line-height:1.22;
  font-weight:900;
  letter-spacing:-.045em;
}

.lighthouse-text-overlay .lighthouse-accent{
  display:block;
  width:42px;
  height:3px;
  margin:24px 0 20px 0;
  border-radius:999px;
  background:#f97316;
}

.lighthouse-text-overlay p{
  margin:0;
  padding:0;
  color:rgba(255,255,255,.94);
  font-size:17px;
  line-height:1.65;
  font-weight:500;
}

/* 태블릿 */
@media(max-width:960px){
  .lighthouse-text-overlay{
    left:40px;
    top:48px;
    width:320px;
  }

  .lighthouse-text-overlay h2{
    font-size:32px;
  }

  .lighthouse-text-overlay p{
    font-size:16px;
  }
}

/* 모바일 */
@media(max-width:640px){
  .lighthouse-text-overlay{
    left:26px;
    top:30px;
    width:60%;
  }

  .lighthouse-text-overlay .lighthouse-eyebrow{
    margin-bottom:10px;
    font-size:11px;
  }

  .lighthouse-text-overlay h2{
    font-size:24px;
    line-height:1.25;
  }

  .lighthouse-text-overlay .lighthouse-accent{
    width:32px;
    margin:14px 0 12px 0;
  }

  .lighthouse-text-overlay p{
    font-size:14px;
    line-height:1.5;
  }
}
