:root {
  --ink: #111611;
  --muted: #6e756f;
  --line: #dfe4df;
  --paper: #fbfcfa;
  --soft: #edf1ed;
  --green: #f4c430;
  --deep: #2f2500;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: relative;
  top: 14px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(94vw, 1040px);
  height: 46px;
  padding: 6px 8px 6px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 22, 17, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(17, 22, 17, 0.12);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
  justify-content: space-between;
  overflow: visible !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-weight: 700;
}

.hamburger {
  display: none; /* 기본적으로 숨김 */
  font-size: 28px;
  cursor: pointer;
  color: var(--ink);
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
}

.nav {
  display: flex;
  gap: 24px;
  color: #303a32;
  font-size: 0.87rem;
}

.header-cta,
.button,
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 7px;
  font: 700 0.9rem Inter, sans-serif;
  cursor: pointer;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: white;
  color: var(--deep);
}

.header-cta {
  min-height: 34px;
  background-color: #f4b400; /* 기본 노랑 */
  color: black;
  padding: 8px 16px;
  border-radius: 16px;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s ease; /* 🔥 부드럽게 변화 */
  font-weight: 600;
}

.header-cta:hover {
  background-color: #d99a00; /* 조금 더 진한 노랑 */
  transform: translateY(-2px);
  color: white; /* 글씨도 바꿔주면 더 느낌 있음 */
   box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.button::after {
  content: "\2192";
  margin-left: 9px;
}

.button.light {
   background: none;
  color: white;
  border: none;
  padding: 8px 0px;
}

.button:hover {
  opacity: 0.7;
}

.button.dark {
  background: var(--deep);
  color: white;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
}
.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parallax-layer {
  position: absolute;
  top: -10%; /* Starts higher to allow downward movement */
  left: 0;
  width: 100%;
  height: 120%; /* Makes image taller than container */
  filter: brightness(0.74);
  object-fit: cover;
  will-change: transform;
  pointer-events: none; /* Ensures clicks pass through to buttons */
}

.hero-copy {
  position: absolute;
  left: max(24px, calc((100vw - 1120px) / 2));
  bottom: 92px;
  width: min(560px, calc(100% - 48px));
  color: white;
  z-index: 2;
}

.hero-copy p,
.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.8);
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: none;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
}
.hero-copy h1 {
  word-break: keep-all;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  word-break: keep-all;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
}

.intro {
  max-width: 680px;
  margin: 92px auto 112px;
  padding: 0 24px;
  text-align: center;
}

.intro p:not(.eyebrow),
.split-copy p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.intro .button {
  margin-top: 18px;
}

.testimonial {
  max-width: 860px;
  margin: 110px auto;
  padding: 0 24px;
  text-align: center;
}

.testimonial h2 {
  margin-bottom: 32px;
}

.testimonial blockquote {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.6;
  font-style: italic;
  color: var(--ink);
}

.testimonial cite {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.green-band {
  background: var(--green);
  color: var(--deep);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  padding: 76px max(24px, calc((100vw - 1120px) / 2));
}

.split figure {
  margin: 0;
}

.split img {
  aspect-ratio: 4 / 3.2;
  border-radius: 8px;
}

.split .eyebrow {
  color: rgba(47, 37, 0, 0.7);
}

.split-copy p {
  color: rgba(47, 37, 0, 0.78);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  transition: all 0.25s ease;
  cursor: default;

  /* animation */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

/* 순차 등장 */
.check-list li:nth-child(1) { animation-delay: 0.1s; }
.check-list li:nth-child(2) { animation-delay: 0.2s; }
.check-list li:nth-child(3) { animation-delay: 0.3s; }
.check-list li:nth-child(4) { animation-delay: 0.4s; }
.check-list li:nth-child(5) { animation-delay: 0.5s; }

/* 애니메이션 정의 (🔥 핵심) */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* hover 효과 */
.check-list li:hover {
  background: white;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* 체크 아이콘 */
.check-list li::before {
  content: "✓";
  margin-right: 12px;
  color: #2f2500;
  font-weight: 900;
  font-size: 18px;
}

.about-note {
  margin: 80px auto 0;
  padding-top: 30px;

  max-width: 720px;
  line-height: 1.8;

  border-top: 1px solid rgba(47, 37, 0, 0.24);
  text-align: center;
}
.about-intro {
  font-weight: 600;
  margin-bottom: 18px;
}
.about-highlight {
  font-size: 22px;
  font-weight: 700;
  margin: 24px 0;
}

.about-main {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-highlight {
  font-size: 22px;
  font-weight: 700;
  margin: 24px 0;
}

.about-sub {
  color: rgba(47, 37, 0, 0.8);
opacity: 0.8;
}

.about-main strong {
  color: #2f2500;
  font-weight: 700;
}

.team {
  max-width: 1120px;
  margin: 104px auto 100px;
  padding: 0 24px;
  text-align: center;
}

.team h2 {
  margin-bottom: 42px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}

.team-grid article {
  min-height: 330px;
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.team-grid h3 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.team-grid h4 {
  margin: 30px 0 16px;
  color: var(--green);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-grid ul {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  line-height: 1.65;
  list-style: none;
}

.team-grid strong {
  display: block;
  color: var(--deep);
}

.services {
  max-width: 1120px;
  margin: 104px auto;
  padding: 0 24px;
  text-align: center;
}

.services h2 {
  max-width: 720px;
  margin: 0 auto 42px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* 🔥 카드에 애니메이션 */
.service-grid article {
  min-height: 290px;
  padding: 30px 24px;
  background: var(--green);
  border: 1px solid rgba(47, 37, 0, 0.12);
  border-radius: 8px;
  text-align: left;

  /* 애니메이션 */
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition: all 0.6s ease;
}
.service-grid article:nth-child(1) { transition-delay: 0.1s; }
.service-grid article:nth-child(2) { transition-delay: 0.2s; }
.service-grid article:nth-child(3) { transition-delay: 0.3s; }
.service-grid article:nth-child(4) { transition-delay: 0.4s; }
.service-grid article:nth-child(5) { transition-delay: 0.5s; }
.service-grid article:nth-child(6) { transition-delay: 0.6s; }

/* 보일 때 */
.service-grid article.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-grid article {
  min-height: 290px;
  padding: 30px 24px;
  background: var(--green);
  border: 1px solid rgba(47, 37, 0, 0.12);
  border-radius: 8px;
  text-align: left;
}

.service-grid span {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--deep);
  font-weight: 700;
}

.service-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  color: rgba(47, 37, 0, 0.78);
  line-height: 1.55;
  list-style: none;
}

.service-list li::before {
  content: "\2713";
  margin-right: 8px;
  color: var(--deep);
  font-weight: 700;
}

.faq {
  max-width: 1120px;
  margin: 110px auto;
  padding: 0 24px;
}

.image-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px;
  margin-bottom: 72px;
}

.image-pair img {
  aspect-ratio: 1 / 1.16;
  border-radius: 8px;
}

.faq h2 {
  margin-bottom: 48px;
  text-align: center;
}

em {
  color: var(--green);
  font-style: italic;
}

.accordion {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px;
  background: var(--soft);
  border-radius: 8px;
}

details {
  border-bottom: 1px solid #cfd6cf;
}

details:last-child {
  border-bottom: 0;
}

details[open] {
  padding: 0 0 12px;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 4px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.2rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 660px;
  margin: 0;
  padding: 0 4px 14px;
  color: var(--muted);
  line-height: 1.8;
}

.faq-list {
  display: grid;
  gap: 8px;
  max-width: 660px;
  margin: 0;
  padding: 0 4px 16px 24px;
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  max-width: 1120px;
  margin: 0 auto 92px;
  padding: 0 24px;
}

.contact h2 {
  max-width: 900px;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
}

.resource-section {
  margin-top: 70px;
  padding: 72px max(24px, calc((100vw - 1120px) / 2));
  background: var(--green);
  color: var(--deep);
  border-radius: 8px 8px 0 0;
  text-align: center;
}

.resource-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 10px;
  color: #333;
}

.cta-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 44px;
  padding: 12px;
  background: white;
  border-radius: 8px;
}

.resource-heading {
  max-width: 760px;
}

.resource-heading .eyebrow {
  color: rgba(47, 37, 0, 0.7);
}

.resource-section h2 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
}

.resource-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.resource-slide {
  flex: 0 0 280px; /* 🔥 핵심 (카드 크기) */
  scroll-snap-align: start;
}

.resource-slide img {
  width: 100%;
  border-radius: 16px;
}

.carousel-dots {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.carousel-dots a {
  width: 12px;
  height: 12px;
  background: rgba(47, 37, 0, 0.5);
  border-radius: 50%;
}

footer {
  display: flex;
  justify-content: space-between;  /* 🔥 양쪽 정렬 */
  align-items: flex-start;
  gap: 40px;
  padding: 48px max(24px, calc((100vw - 1120px) / 2)) 64px;
}

footer > div:first-child {
  text-align: left;
}

footer > div:last-child {
  text-align: right;
}
footer div {
  display: grid;
  align-content: start;
  gap: 12px;
}

footer h3 {
  margin-bottom: 4px;
}

footer a {
display: block;
  margin-top: 6px;
  text-decoration: none;
  color: var(--muted);
}
footer a:hover {
  color: var(--deep);
}

footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 860px) {
  .site-header {
    gap: 10px;
    position: fixed; /* 고정 상태 유지 */
    left: 50%;
    transform: translateX(-50%);
    width: 94vw;
  }

  .nav {
    display: none; /* 평소에는 숨김 */
  }

  .nav.active {
  display: flex !important;
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  background: white;
  flex-direction: column;
  padding: 10px;
  gap: 10px;
  z-index: 99999;
}

  .hamburger {
    display: block !important; /* 🔥 강제 표시 */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    z-index: 9999;
  }
}

  .brand span {
  display: inline;
  color: #E0A800;   /* 🔥 어두운 색 */
  font-weight: 600;
}

  .hero,
  .hero img {
    min-height: 620px;
    height: 620px;
  }

  .team-grid,
  .service-grid,
  .image-pair,
  .contact,
  footer {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .services {
    margin: 78px auto;
  }

  .faq {
    margin: 78px auto;
  }

  .image-pair {
    gap: 16px;
    margin-bottom: 52px;
  }

  .contact {
    gap: 26px;
  }


@media (max-width: 520px) {
  .site-header {
    top: 8px;
    width: calc(100vw - 20px);
  }
  .nav {
    display: none; /* 평소에는 숨김 */
  }

 .nav.active {
  display: flex !important;
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  background: white;
  flex-direction: column;
  padding: 10px;
  gap: 10px;
  z-index: 99999;
}

  .hamburger {
    display: block !important; /* 🔥 강제 표시 */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    z-index: 9999;
  }

  .header-cta {
    padding: 10px 16px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: 3.35rem;
  }

  .hero-copy {
    bottom: 62px;
  }

  .intro {
    margin: 66px auto 78px;
  }

  .split,
  .resource-section {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .accordion {
    padding: 14px;
  }

  summary {
    gap: 16px;
    min-height: 68px;
  }
}

@media (max-width: 768px) {

  .nav {
    display: none; /* 평소에는 숨김 */
  }

  .nav.active {
  display: flex !important;
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  background: white;
  flex-direction: column;
  padding: 10px;
  gap: 10px;
  z-index: 99999;
}

  .hamburger {
    display: block !important; /* 🔥 강제 표시 */
    position: static;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    z-index: 9999;
  }

  .resource-carousel {
    gap: 16px;
    padding: 10px;
  }

  .resource-card {
    flex: 0 0 85%;   /* 🔥 카드 크게 (핵심) */
  }

  .carousel-btn {
    display: none;   /* 🔥 모바일에서는 버튼 숨김 */
  }
  footer {
    grid-template-columns: 1fr;
  }

  footer > div:last-child {
    text-align: left;
  }
}

.hamburger {
  position: static;   /* 🔥 이건 항상 */
  font-size: 24px;
  cursor: pointer;
  display: none;      /* 🔥 기본은 숨김 */
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.resource-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px;
}

.resource-carousel::-webkit-scrollbar {
  display: none;
}

/* 화살표 (데스크탑에서만 의미 있음) */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.parallax {
  will-change: transform;
  transform: translateY(0);
  position: relative;
}
.split figure {
  overflow: hidden;
}
.image-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 40px;
}
.section-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.email-link {
  color: #007BFF;
  text-decoration: underline;
}
.resource-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;       /* h2 느낌 */
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--deep);
}
/* 기본 상태 (숨김) */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

/* 보일 때 */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.phone-link {
  text-decoration: none;
  font-weight: 600;
  color: #007BFF;
  text-decoration: underline;
}

.phone-link:hover {
  text-decoration: underline;
}