*{ box-sizing:border-box; }
body{ margin:0; font-family: Arial, sans-serif; line-height:1.6; color:#111; background:#fff; }
.wrap{ width:min(1100px, 92%); margin:0 auto; }
.topbar-inner {
  max-width: none;     /* 중앙 제한 해제 */
  padding-left: 20px;  /* 왼쪽 여백만 살짝 */
  padding-right: 20px;
}

.topbar{
  position: sticky; top:0; z-index:10;
  background:#fff; border-bottom:1px solid #eee;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 20px; /* 좌우 여백 직접 지정 */
  width:100%;
}

.logo{ font-weight:700; white-space:nowrap; }
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;      /* 로고 크기 */
  width: auto;
  display: block;
}

.nav{ display:flex; gap:12px; flex-wrap:wrap; justify-content:center; flex:1; }
.nav a{ text-decoration:none; color:#111; padding:6px 10px; border-radius:10px; }
.nav a:hover{ background:#f3f3f3; }
.topbar-actions{ display:flex; gap:8px; align-items:center; }

.btn{
  display:inline-block; text-decoration:none;
  padding:10px 12px; border-radius:12px; border:1px solid #ddd;
  background:#fff; color:#111; cursor:pointer;
}
.btn.primary{ background:#111; color:#fff; border:none; }
.btn.outline{ background:#fff; }

.hero{
  position: relative;
  height: 520px;
  background:#bfbfbf;
  overflow:hidden;
}
.hero-slide{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition: opacity .35s ease;
}
.hero-slide.is-active{ opacity:1; }
.hero-inner{
  width:min(900px, 86%);
  text-align:center;
  color:#fff;
  padding: 0 10px;
}
.hero-inner h1{ margin:0 0 10px; font-size: 36px; }
.hero-inner p{ margin:0 auto 18px; max-width: 720px; color: rgba(255,255,255,.92); }
.hero-cta{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }

.arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:46px; height:46px; border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background: rgba(0,0,0,.2);
  color:#fff; font-size:30px; line-height:1;
  cursor:pointer;
}
.arrow.left{ left:16px; }
.arrow.right{ right:16px; }

.dots{
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:18px;
  display:flex; gap:10px;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.7);
  cursor:pointer;
}
.dot.active{ background:#fff; }

.feature{
  padding: 40px 0;
  display:grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items:center;
}
.feature-img{
  height: 320px;
  border:1px solid #eee;
  border-radius: 16px;
  background:#bfbfbf;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700;
}
.feature-text h2{ margin:0 0 10px; }
.feature-text p{ margin:0 0 14px; color:#333; }
.feature-actions{ display:flex; gap:10px; flex-wrap:wrap; }

.anchor{
  padding: 22px 0;
  border-top: 1px solid #f1f1f1;
}
.footer{ padding: 22px 0 50px; color:#666; border-top: 1px solid #f1f1f1; }

@media (max-width: 860px){
  .nav{ display:none; }
  .feature{ grid-template-columns: 1fr; }
  .hero-inner h1{ font-size: 28px; }
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* 로고랑 글자 사이 간격 */
}

.logo img {
  height: 40px;   /* 로고 크기 */
  width: auto;
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  white-space: nowrap; /* 줄바꿈 방지 */
}
/* 상단바 전체 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

/* 로고 왼쪽 고정 영역 */
.topbar-left {
  padding-left: 20px;
  display: flex;
  align-items: center;
}

/* 기존 중앙 영역 */
.topbar-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 로고 */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.hero-inner p {
  max-width: 720px;   /* 설명 글 가로 폭 */
  margin: 12px auto;  /* 위아래 간격 + 가운데 정렬 */
  line-height: 1.8;   /* 줄 간격 */
}
.nav a {
  display: inline-block;      /* 네모 적용 가능 */
  padding: 8px 14px;          /* 네모 안 여백 */
  margin: 0 6px;              /* 메뉴 사이 간격 */
  background: #f2f2f2;        /* 네모 배경색 */
  border-radius: 4px;         /* 살짝 둥근 네모 */
  font-size: 14px;
  color: #000;
  text-decoration: none;
}
/* ===== 공통 ===== */
*{ box-sizing:border-box; }
body{ margin:0; font-family: Arial, sans-serif; color:#111; line-height:1.6; }
.wrap{ width:min(1120px, 92%); margin:0 auto; }
a{ color:inherit; }

/* ===== 상단바 ===== */
.topbar{
  position: sticky; top:0; z-index:10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom:1px solid #eee;
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
  gap: 12px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand-logo{ width:34px; height:34px; object-fit:contain; }
.brand-name{ font-weight:800; white-space:nowrap; }

.nav{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }
.nav a{
  text-decoration:none;
  background:#f4f4f4;
  padding:8px 14px;
  border-radius:10px;
  font-size:14px;
}
.nav a:hover{ background:#111; color:#fff; }
.nav a.is-active{ background:#1f5a3a; color:#fff; }

/* ===== 히어로 ===== */
.hero{
  background: radial-gradient(1200px 600px at 15% 20%, rgba(31,90,58,.22), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(60,155,110,.18), transparent 55%),
              linear-gradient(180deg, #f7fbf8, #ffffff);
  padding: 34px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
}
.chip{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:#e7f3ed;
  color:#1f5a3a;
  font-weight:700;
  margin:0 0 10px;
  font-size:13px;
}
.hero-title{
  margin:0 0 10px;
  font-size: 34px;
  letter-spacing: -0.5px;
}
.hero-sub{ margin:0 0 18px; color:#333; max-width: 640px; }

.hero-points{ display:flex; gap:14px; flex-wrap:wrap; }
.point{
  display:flex; gap:10px; align-items:flex-start;
  background:#fff;
  border:1px solid #eef3ef;
  border-radius:14px;
  padding:12px 12px;
  min-width: 240px;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background:#1f5a3a; margin-top:6px;
}
.point-title{ font-weight:800; }
.point-desc{ color:#444; font-size:14px; }

.hero-media{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid #eef3ef;
  background:#f4f7f5;
  min-height: 280px;
}
.hero-media img{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
}
.hero-badge{
  position:absolute;
  left:14px; bottom:14px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.6);
  padding:10px 12px;
  border-radius:14px;
}
.badge-title{ font-weight:900; }
.badge-desc{ font-size:13px; color:#444; }

/* ===== 섹션 ===== */
.section{ padding: 34px 0; }
.section-soft{ background:#f7fbf8; border-top:1px solid #eef3ef; border-bottom:1px solid #eef3ef; }
.section-title{ margin:0 0 8px; font-size:22px; }
.section-sub{ margin:0 0 18px; color:#444; max-width: 760px; }

/* ===== 3카드 ===== */
.cards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  background:#fff;
  border:1px solid #eef3ef;
  border-radius:16px;
  padding:16px;
}
.card h3{ margin:0 0 8px; font-size:18px; }
.card p{ margin:0 0 10px; color:#333; }
.card ul{ margin:0; padding-left: 18px; color:#333; }
.card li{ margin: 6px 0; font-size:14px; }

/* ===== 타임라인 ===== */
.timeline{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.step{
  background:#fff;
  border:1px solid #eef3ef;
  border-radius:16px;
  padding:14px;
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.step-num{
  width:34px; height:34px;
  border-radius:12px;
  background:#1f5a3a;
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
}
.step-title{ font-weight:900; margin:2px 0 4px; }
.step-desc{ color:#444; font-size:14px; margin:0; }

/* ===== 요약 박스 ===== */
.summary{
  border:1px solid #eef3ef;
  border-radius:18px;
  padding:18px;
  background: linear-gradient(180deg, #ffffff, #f7fbf8);
}

/* ===== 푸터 ===== */
.footer{
  padding: 26px 0 40px;
  border-top:1px solid #eee;
  color:#666;
}

/* ===== 반응형 ===== */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-title{ font-size: 28px; }
  .cards3{ grid-template-columns: 1fr; }
  .timeline{ grid-template-columns: 1fr; }
}
/* ===== 페이지별 포인트 컬러 ===== */
.page-credit { --accent:#1f5a3a; --accentSoft:#e7f3ed; --bgSoft:#f7fbf8; }
.page-social { --accent:#1f2a5a; --accentSoft:#eef2ff; --bgSoft:#f6f7ff; }
.page-engineer { --accent:#222222; --accentSoft:#efefef; --bgSoft:#fafafa; }
.page-transfer { --accent:#b24b00; --accentSoft:#fff0e2; --bgSoft:#fffaf5; }

/* 기존 색을 변수로 대체(덮어쓰기) */
.nav a.is-active{ background: var(--accent); color:#fff; }
.chip{ background: var(--accentSoft); color: var(--accent); }
.dot{ background: var(--accent); }
.step-num{ background: var(--accent); }
.section-soft{ background: var(--bgSoft); border-top:1px solid #eee; border-bottom:1px solid #eee; }
/* ===== 상단바만 왼쪽끝 + 메뉴는 가운데 느낌 ===== */
.topbar .topbar-inner{
  width: 100%;
  margin: 0;
  padding: 12px 18px;   /* 화면 가장자리 여백(너무 붙는거 방지) */
}

.topbar .wrap{
  width: 100%;
  margin: 0;
}
/* 상단바 */
.topbar{
  width: 100%;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}

/* 로고 */
.brand{
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand img{
  width: 28px;
  height: 28px;
}

.brand-name{
  font-weight: 700;
}

/* 메뉴 */
.nav{
  display: flex;
  gap: 12px;
}

.nav a{
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
}

.nav a:hover{
  background: #f0f0f0;
}
/* 다른 페이지 상단 무료상담 버튼 정렬 */
.topbar-actions {
  display: flex;
  align-items: center;
}

/* 버튼 자체 */
.btn-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 40px;          /* 메뉴 버튼 높이랑 맞춤 */
  padding: 0 16px;

  background: #000;
  color: #fff;

  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;

  white-space: nowrap;   /* 줄바꿈 방지 */
  text-decoration: none;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 56px;
  height: 56px;
  border-radius: 50%;

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

  font-size: 32px;
  font-weight: bold;

  background: rgba(46, 125, 50, 0.6); /* 가든톤 */
  color: #fff;

  border: none;
  cursor: pointer;
}
/* hero 기준(이미 있으면 그대로) */
.hero { position: relative; }

/* 기본 화살표 버튼 */
.arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 54px;
  height: 54px;
  border-radius: 999px;

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

  /* 더 연한 가든톤(반투명) */
  background: rgba(46, 125, 50, 0.18);
  border: 1px solid rgba(46, 125, 50, 0.25);
  color: rgba(46, 125, 50, 0.95);

  cursor: pointer;
  z-index: 10;

  /* hover 애니메이션 */
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.arrow.left { left: 18px; }
.arrow.right { right: 18px; }

/* SVG 크기 */
.arrow-icon{
  width: 26px;
  height: 26px;
}

/* hover 시 살짝 커지게 + 살짝 진해지게 */
.arrow:hover{
  background: rgba(46, 125, 50, 0.26);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* 클릭 중(누르고 있을 때) */
.arrow:active{
  transform: translateY(-50%) scale(1.02);
}

/* 모바일에서는 하단으로 이동 */
@media (max-width: 768px){
  .arrow{
    top: auto;
    bottom: 14px;
    transform: none;

    width: 46px;
    height: 46px;
  }

  .arrow:hover{
    transform: scale(1.06);
  }

  .arrow-icon{
    width: 22px;
    height: 22px;
  }

  .arrow.left { left: 12px; }
  .arrow.right { right: 12px; }
}
.hero{
  position: relative;
  min-height: 520px; /* 필요하면 조절 */
  overflow: hidden;
}

/* 배경 이미지/색 위에 덮개 */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.10);   /* 어두운 반투명 */
  z-index:1;
}

/* 글씨 영역은 덮개 위로 */
.hero .hero-inner{
  position: relative;
  z-index:2;
  color:#fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45); /* 글씨 또렷 */
}
/* ===== HERO 슬라이드: 부드럽게 전환 + 글 하단 배치 ===== */
.hero{
  position: relative;
  overflow: hidden;
  min-height: 520px; /* 필요하면 조절 */
}

/* 모든 슬라이드는 겹쳐 놓고 opacity로만 전환 (버벅임 방지) */
.hero-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(40px,0,0); /* 옆에서 들어오는 느낌 */
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}

/* 현재 슬라이드 */
.hero-slide.is-active{
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0,0,0);
}

/* 이전/다음 방향(선택) - JS에서 class로 붙일 거야 */
.hero-slide.from-left{ transform: translate3d(-40px,0,0); }
.hero-slide.from-right{ transform: translate3d(40px,0,0); }

/* 글 영역을 하단으로 내리기 */
.hero-inner{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* 아래쪽 */
  padding: 0 24px 150px;     /* ← 150px이 글 내려가는 정도 */
  text-align: center;
}

/* 글이 배경에서 잘 보이게 */
.hero h1, .hero p{
  color:#fff;
  text-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* 모바일에서 더 아래로 */
@media (max-width: 768px){
  .hero{ min-height: 460px; }
  .hero-inner{ padding-bottom: 110px; }
}
.hero-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.80); /* 숫자 올리면 더 진해짐 */
}

.hero-inner{
  position: relative;
  z-index: 2;
}
.hero-inner h1{
  color: #ffffff;
  font-weight: 800;
  text-shadow:
    0 2px 6px rgba(0,0,0,0.45),
    0 0 1px rgba(0,0,0,0.4);
}

.hero-inner p{
  color: rgba(255,255,255,0.89);
  font-weight: 500;
  text-shadow:
    0 1px 4px rgba(0,0,0,0.35);
}
.hero-inner{
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 32px;

  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  border-radius: 0;
  border: none;
}


/* 제목 */
.hero-inner h1{
  color: rgb(255, 255, 255);   /* 거의 흰색 */
  font-weight: 800;
  letter-spacing: -0.3px;

  /* 또렷하게 잡아주는 그림자 */
  text-shadow:
    0 1px 2px rgba(0,0,0,0.6),
    0 2px 6px rgba(0,0,0,0.4);
}

.hero-inner h1,
.hero-inner p{
  color: #000;        /* 검정색 */
  text-shadow: none;  /* 그림자 제거 */
}
/* 모든 페이지 hero 글자 검정색 통일 */
.hero h1,
.hero p{
  color: #000 !important;
  text-shadow: none !important;
}

.apply{
  padding: 40px 0;
  background: linear-gradient(180deg, #f7fbf8, #ffffff);
}

.apply-card{
  width: min(720px, 92%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e7efe9;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.apply-title{
  margin: 0 0 6px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #1f5a3a;
}

.apply-sub{
  margin: 0 0 18px;
  text-align: center;
  color: #333;
  font-size: 13px;
  line-height: 1.6;
}

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.check{
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e7efe9;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fbfdfb;
  cursor: pointer;
}

.check input{
  width: 16px;
  height: 16px;
  accent-color: #1f5a3a;
}

.check span{
  font-size: 14px;
  color: #111;
  font-weight: 600;
}

.field label{
  display:block;
  font-size: 12px;
  color:#333;
  margin-bottom: 6px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea{
  width:100%;
  border: 1px solid #e7efe9;
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(31,90,58,.55);
  box-shadow: 0 0 0 4px rgba(31,90,58,.12);
}

.mt{ margin-top: 14px; }

.agree{
  display:flex;
  align-items:center;
  gap:10px;
  font-size: 13px;
  color:#333;
}

.agree input{
  width: 16px;
  height: 16px;
  accent-color: #1f5a3a;
}

.submit{
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: #1f5a3a;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}

.submit:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.apply-note{
  margin: 10px 0 0;
  font-size: 12px;
  color:#666;
  text-align:center;
}

@media (max-width: 640px){
  .grid-2{ grid-template-columns: 1fr; }
  .apply-card{ padding: 22px 16px; }
}
/* 전체 배경 */
#successOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(180, 205, 190, 0.85); /* 가든톤 */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* 흰 박스 */
.success-box {
  background: #ffffff;
  padding: 32px 40px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 제목 */
.success-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

/* 설명 */
.success-box p {
  font-size: 15px;
  color: #444;
  margin-bottom: 20px;
}

/* 확인 버튼 */
#successClose {
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  background: #5f8f73;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

#successClose:hover {
  background: #4f7e64;
}
/* 폼 아래 구분선 */
.footer-line{
  width:100%;
  height:1px;
  background:#e5e5e5;
  margin:40px 0 0;
}

/* 푸터 전체 */
.simple-footer{
  background:#fff;
}

/* 상단 정보 */
.footer-inner{
  max-width:1100px;
  margin:0 auto;
  padding:20px 16px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
}

.footer-left strong{
  font-size:14px;
}
.footer-left p{
  font-size:12px;
  color:#555;
  margin-top:4px;
}

.footer-right{
  display:flex;
  gap:16px;
}
.footer-right a{
  font-size:12px;
  color:#111;
  text-decoration:none;
  font-weight:600;
}
.footer-right a:hover{
  text-decoration:underline;
}

/* 제일 아래 카피 */
.footer-copy{
  border-top:1px solid #eee;
  text-align:center;
  font-size:12px;
  color:#666;
  padding:14px 10px;
}

/* 모바일 */
@media (max-width:768px){
  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}
.icon-btn{
  font-size:18px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#eef6f1;   /* 연한 가든톤 */
  transition:all 0.2s ease;
}

.icon-btn:hover{
  background:#1f5d3a;
  transform:translateY(-2px);
}
.top-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid #eee;
}

.top-center{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #555;
}

.top-center a{
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

.top-center a:hover{
  color: #1f5d3a; /* 가든톤 */
}

.top-center .divider{
  color: #bbb;
}
.policy-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.policy-box{
  background: #f5faf7;
  width: 90%;
  max-width: 520px;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.policy-box h3{
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
}

.policy-content{
  font-size: 13px;
  line-height: 1.6;
  color: #444;
  max-height: 300px;
  overflow-y: auto;
  white-space: pre-line;
}

.policy-box button{
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: #1f5d3a;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}
.policy-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);
  z-index:9999;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.policy-box{
  width:min(680px, 92vw);
  background:#fff;
  border-radius:14px;
  padding:18px 18px 14px;
  box-shadow:0 20px 60px rgba(0,0,0,0.18);
}

.policy-content{
  margin-top:10px;
  max-height:55vh;
  overflow:auto;
  white-space:pre-line;
  font-size:14px;
  line-height:1.7;
  color:#222;
}

#policyClose{
  margin-top:14px;
  width:100%;
  height:44px;
  border:0;
  border-radius:12px;
  background:#1f5a3a;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}
.feature-img{
  width:100%;
  max-width:600px;
  border-radius:24px;
  overflow:hidden;
  background:none;
  padding:0;
}
/* 🔥 이미지 비율 정상화 전용 */
.feature-img{
  width:100%;
  max-width:720px;
}

.feature-img img{
  width:100%;
  height:auto;      /* ⭐ 비율 유지 핵심 */
  display:block;
}
/* 카드(흰 박스) 안에서 이미지 정렬/비율 맞추기 */
.feature-img{
  width:100%;
  max-width:720px;          /* 카드 전체 폭 */
  padding:0;                /* 카드가 이미 스타일 있으면 0으로 */
  display:flex;
  align-items:center;       /* 세로 가운데 */
  justify-content:center;   /* 가로 가운데 */
}

.feature-img img{
  width:100%;
  max-width:720px;          /* 카드 폭에 맞춤 */
  height:auto;
  display:block;
  border-radius:24px;       /* 카드 라운드와 통일 */
}
/* 흰 라운드 박스(이미지 영역) 높이를 이미지에 맞추기 */
.feature-img{
  height:auto !important;
  padding:0 !important;
  display:block !important;
}

/* 이미지가 컨테이너를 꽉 채우게 */
.feature-img img{
  width:100% !important;
  height:auto !important;
  display:block !important;
}
/* 이미지 확대 모달 */
.img-modal{
  display:none;
  position:fixed;
  z-index:9999;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
  justify-content:center;
  align-items:center;
}

.img-modal-content{
  max-width:90%;
  max-height:90%;
  border-radius:12px;
}

.img-close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:36px;
  color:#fff;
  cursor:pointer;
}

.zoom-img{
  cursor:zoom-in;
}
/* 이미지 클릭 확대 모달 */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.feature-text h2 {
  color: #0d742c; /* 진한 그린 */
}
.feature-text p {
  font-weight: 600;
}
.anchor h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}
.anchor p {
  font-weight: 600;
  color: #333;
  line-height: 1.7;
}
p {
  font-weight: 600;
}
.anchor {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 스크롤 등장(좌/우 슬라이드) */
.reveal{
  opacity: 0;
  transform: translateX(40px); /* 기본: 오른쪽에서 */
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}

.reveal.from-left{
  transform: translateX(-40px); /* 왼쪽에서 */
}

.reveal.is-visible{
  opacity: 1;
  transform: translateX(0);
}
/* 1번 슬라이드에만 배경 이미지 */
.hero-slide-1 {
  background-image: url("./images/sss1.png");
  background-size: cover;      /* ← 이 줄 변경 */
  background-position: center; /* ← 이 줄 변경 */
  background-repeat: no-repeat;
}
/* 2번 슬라이드 배경 이미지 */
.hero-slide-2 {
  background-image: url("./images/sss2.png"); /* ← 네가 준 이미지 */
  background-size: cover;        /* 양옆 끝까지 꽉 차게 */
  background-position: center;   /* 중앙 기준 */
  background-repeat: no-repeat;
}
/* 3번 슬라이드 배경 이미지 */
.hero-slide-3 {
  background-image: url("./images/sss3.png");
  background-size: cover;      /* 양옆 끝까지 */
  background-position: center; /* 중앙 기준 */
  background-repeat: no-repeat;
}
/* 4번 슬라이드 배경 이미지 */
.hero-slide-4 {
  background-image: url("./images/sss4.png");
  background-size: cover;      /* 양옆 끝까지 채우기 */
  background-position: center; /* 중앙 기준 */
  background-repeat: no-repeat;
}
html { scroll-behavior: smooth; }
/* 카카오톡 상담 버튼 */
.btn.primary {
  background-color: #FEE500;   /* 카카오 노랑 */
  color: #3C1E1E;              /* 카카오 갈색 */
  border: none;
  font-weight: 700;
  border-radius: 14px;
  padding: 10px 18px;
  cursor: pointer;
}

/* hover 효과 */
.btn.primary:hover {
  background-color: #FFD400;
  color: #3C1E1E;
}
html {
  scroll-behavior: smooth;
}
.hero {
  display: flex;
  justify-content: center;
}

.wrap.hero-grid {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
#scrollTopBtn {
  position: fixed;
  right: 24px;
  bottom: 24px;

  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;

  background: #5f7f6b; /* 가든톤 */
  color: #fff;
  font-size: 20px;
  cursor: pointer;

  display: none; /* 처음엔 안 보이게 */
  align-items: center;
  justify-content: center;

  z-index: 9999;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}
.modal { display: none; position: fixed; inset: 0; z-index: 9999; }
.modal.is-open { display: block; }

.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.modal__panel {
  position: relative;
  width: min(720px, calc(100% - 32px));
  max-height: calc(100% - 80px);
  margin: 40px auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.modal__content { padding: 20px; overflow: auto; max-height: 60vh; }
.modal__close { width: 100%; padding: 16px; border: 0; background: #1f5a3b; color: #fff; font-weight: 700; }


















