* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0f0f0f;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo";
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding-left: 10%;
}

.hero h1 {
  font-size: 64px;
  letter-spacing: 6px;
  font-weight: 500;
}


/* SECTION */
.section {
  padding: 120px 8%;
}

.section.dark {
  background: #151515;
}

.split {
  display: flex;
  align-items: center;
  gap: 70px;
}

.split.reverse {
  flex-direction: row-reverse;
}

.text {
  flex: 1;
}

.text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.text p {
  font-size: 18px;
  line-height: 1.9;
  color: #ddd;
}

.split img {
  width: 38%;
  border-radius: 20px;
}

.center {
  text-align: center;
}

.sub {
  margin-top: 20px;
  color: #aaa;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 32px;
  border-radius: 30px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.btn.big {
  font-size: 18px;
  padding: 18px 44px;
}

.recommend {
  margin-top: 30px;
  font-size: 18px;
  line-height: 2;
  color: #ddd;
}

.dm-images {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.dm-images img {
  width: 240px;
  border-radius: 16px;
}

.last-title {
  font-size: 32px;
  margin-bottom: 40px;
}

/* SCROLL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px) {

  body {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 56px;
    letter-spacing: 4px;
  }

  .section {
    padding: 70px 20px;
  }

  .split,
  .split.reverse {
    flex-direction: column;
    gap: 28px;
  }

  .split img {
    width: 100%;
  }

  .text h2 {
    font-size: 24px;
  }

  .text p {
    font-size: 15px;
    line-height: 1.8;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 16px 0;
  }

  .dm-images img {
    width: 100%;
    max-width: 320px;
  }

  .last-title {
    font-size: 26px;
    line-height: 1.4;
  }
}
.timeline-title {
  font-size: 32px;
  margin-bottom: 60px;
}

.timeline-simple {
  max-width: 520px;
}

.step {
  margin-bottom: 48px;
}

.step span {
  display: block;
  font-size: 14px;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 12px;
}

.step p {
  font-size: 18px;
  line-height: 1.9;
  color: #ddd;
}
@media (max-width: 768px) {
  .hero {
    padding-left: 24px;
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: 4px;
  }
}
/* =========================
   MOBILE FINAL – AZIT
   게더링하우스 스타일
========================= */
@media (max-width: 768px) {

  /* 전체 기본 리듬 */
  body {
    font-size: 15px;
    line-height: 1.75;
  }

  /* HERO */
  .hero {
    height: 90vh;
  }

  .hero h1 {
    font-size: 46px;
    letter-spacing: 2px;
  }

  /* SECTION 간격 */
  .section {
    padding: 70px 20px;
  }

  /* 좌우 구조 → 위아래 */
  .split,
  .split.reverse {
    flex-direction: column;
    gap: 30px;
  }

  /* 이미지 */
  .split img {
    width: 100%;
    border-radius: 16px;
  }

  /* 텍스트 */
  .text {
    width: 100%;
  }

  .text h2 {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .text p {
    font-size: 16px;
    line-height: 1.85;
    color: #ddd;
  }

  /* 버튼 – 모바일 핵심 */
  .btn {
    width: 100%;
    text-align: center;
    padding: 16px 0;
    font-size: 16px;
    border-radius: 999px;
  }

  .btn.big {
    font-size: 17px;
    padding: 18px 0;
  }

  /* 추천 문구 */
  .recommend {
    font-size: 16px;
    line-height: 1.9;
  }

  /* 타임라인 */
  .timeline-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: left;
  }

  .timeline-simple {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .step span {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
  }

  .step p {
    font-size: 15px;
    line-height: 1.8;
    color: #ccc;
  }

  /* DM 후기 */
  .dm-images {
    gap: 16px;
  }

  .dm-images img {
    width: 100%;
    max-width: 320px;
    border-radius: 14px;
  }

  /* 마지막 문구 */
  .last-title {
    font-size: 26px;
    line-height: 1.5;
  }

}
/* =========================
   FLOATING APPLY BUTTON
========================= */
@media (max-width: 768px) {

  .floating-apply {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 420px;

    background: #ffffff;
    color: #000;
    text-align: center;
    padding: 16px 0;
    border-radius: 999px;

    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  }

}
.brand-desc {
  position: absolute;
  bottom: 40px;
  right: 40px;
  max-width: 420px;
}

.brand-desc p {
  font-size: 13px;
  line-height: 1.7;
  color: #aaa;
  letter-spacing: 0.2px;
}

/* 모바일에서는 아래로 내려가게 */
@media (max-width: 768px) {
  .brand-desc {
    position: static;
    margin-top: 40px;
    padding: 0 20px;
    max-width: 100%;
  }

  .brand-desc p {
    font-size: 14px;
    color: #ccc;
  }
}
/* ===== Brand Vision Section ===== */

.hero {
  position: relative;
}

.brand-desc {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-10%);
  max-width: 420px;
}

.vision-title {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 14px;
}

.brand-desc p {
  font-size: 13px;
  line-height: 1.7;
  color: #aaa;
  margin-bottom: 16px;
}

/* 모바일 */
@media (max-width: 768px) {
  .brand-desc {
    position: static;
    transform: none;
    margin-top: 40px;
    padding: 0 20px;
    max-width: 100%;
  }

  .brand-desc p {
    font-size: 14px;
    color: #ccc;
  }
}
@media (max-width: 768px) {

  .brand-desc {
    max-width: 100%;
    margin-top: 24px;
  }

  .brand-desc p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* 첫 문단만 강조하고 나머지는 숨김 */
  .brand-desc p:not(:first-of-type) {
    display: none;
  }

}
@media (max-width: 768px) {
  .brand-desc p {
    font-size: 13px;
    line-height: 1.6;
  }
}
.brand-desc {
  max-height: 220px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .brand-desc {
    max-height: 160px;
  }
}
.brand-desc {
  max-height: 220px;
  overflow: hidden;
  position: relative;
}

.brand-desc::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, rgba(15,15,15,0), #0f0f0f);
}
@media (max-width: 768px) {
  .brand-desc {
    max-height: 160px;
  }
}
/* =========================
   MOBILE FIX – OUR VISION
========================= */
@media (max-width: 768px) {

  /* HERO 구조를 일반 섹션처럼 */
  .hero {
    height: auto;
    padding: 80px 0 40px;
    display: block;
  }

  /* Our Vision 컨테이너 */
  .brand-desc {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0 20px;
    margin-top: 24px;
  }

  /* 잘림/그라데이션 제거 */
  .brand-desc::after {
    display: none;
  }

  /* Our Vision 텍스트 전부 표시 */
  .brand-desc p {
    display: block !important;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 16px;
  }

  /* SECTION 1에서 이미지가 항상 먼저 */
  .section .split {
    flex-direction: column;
  }

  /* SECTION 1 이미지 */
  .section .split img {
    order: -1;              /* 무조건 텍스트 위 */
    width: 100%;
    margin-bottom: 24px;
    border-radius: 16px;
  }
}
/* =========================
   BRAND POLISH – FINAL FIX
========================= */

/* ---------
   MOBILE
--------- */
@media (max-width: 768px) {

  /* 로고 + Our Vision 여백 */
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-logo {
    margin-bottom: 64px;
  }

  .brand-desc {
    margin-top: 48px;
  }
}

/* ---------
   DESKTOP
--------- */
@media (min-width: 769px) {

  /* Hero 영역 복구 */
  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
  }

  /* Our Vision 잘림 제거 */
  .brand-desc {
    max-height: none;
    overflow: visible;
    mask-image: none;
    -webkit-mask-image: none;
  }

  /* 섹션 1 가로 구조 복구 */
  .section .split {
    flex-direction: row;
    align-items: center;
  }

  .section .split img {
    order: 0;
    margin-bottom: 0;
  }
}
/* ===============================
   MOBILE BRAND SPACING – AZIT
   =============================== */
@media (max-width: 768px) {

  /* 전체 첫 화면 숨 쉴 공간 */
  body {
    line-height: 1.6;
  }

  /* 로고 섹션 */
  .logo,
  .hero-logo,
  header {
    margin-top: 60px;
    margin-bottom: 80px;
  }

  /* Our Vision 섹션 전체 */
  .our-vision,
  #our-vision,
  section.vision {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  /* Our Vision 제목 */
  .our-vision h2,
  #our-vision h2 {
    margin-bottom: 32px;
    font-size: 20px;
    letter-spacing: 0.04em;
  }

  /* Our Vision 본문 */
  .our-vision p,
  #our-vision p {
    margin-top: 24px;
    font-size: 14.5px;
    line-height: 1.75;
    opacity: 0.9;
  }

}

/* =========================
   HERO – PREMIUM MOBILE
========================= */
@media (max-width: 768px) {

  .hero {
    height: 100vh;
    padding-top: 140px;   /* 로고 위 여백 */
    padding-bottom: 80px;
    align-items: flex-start;
  }

  .hero h1 {
    margin-bottom: 40px; /* 로고 아래 여백 */
  }

  .hero-vision {
    font-size: 16px;
    line-height: 1.7;
    color: #ddd;
    max-width: 90%;
    margin-bottom: 60px; /* 이미지랑 간격 */
  }

}
@media (max-width: 768px) {
  .section:first-of-type {
    margin-top: -40px;
  }
}
/* =========================
   MOBILE HERO REFINEMENT
   명품 브랜드 느낌
========================= */
@media (max-width: 768px) {

  /* HERO 전체 구조 */
  .hero {
    height: 100vh;
    align-items: flex-start;      /* 중앙 정렬 제거 */
    padding-top: 96px;            /* AZIT 위 여백 */
    padding-bottom: 120px;        /* 아래 여유 (사진 보이게) */
  }

  /* AZIT 로고 */
  .hero h1 {
    margin-bottom: 48px;          /* 로고 ↔ Our Vision 여백 */
  }

  /* Our Vision 블록 */
  .brand-desc {
    margin-top: 0;
    max-height: none;
    overflow: visible;
  }

  /* Our Vision 텍스트 */
  .brand-desc p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* 첫 번째 섹션 이미지가 살짝 보이게 */
  section.section:first-of-type {
    margin-top: -80px;
  }

}
/* =========================
   MOBILE HERO FIX (FINAL)
========================= */
@media (max-width: 768px) {

  /* HERO를 위에서부터 쌓이게 */
  .hero {
    height: auto;
    min-height: 100vh;
    align-items: flex-start;
    padding-top: 96px;
    padding-bottom: 80px;
  }

  /* 🔥 핵심: Our Vision 위치 정상화 */
  .brand-desc {
    position: static;      /* absolute 제거 */
    transform: none;
    margin-top: 56px;      /* AZIT ↔ Our Vision 여백 */
    max-width: 100%;
  }

  /* Our Vision 텍스트 */
  .brand-desc p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* 첫 섹션 사진이 살짝 보이게 */
  section.section:first-of-type {
    margin-top: -60px;
  }

  /* =========================
   MOBILE HERO – CLEAN FIX
   (이게 최종)
========================= */
@media (max-width: 768px) {

  /* HERO를 스크롤 시작 영역으로 */
  .hero {
    height: auto;
    min-height: 100vh;
    display: block;
    padding-top: 140px;   /* AZIT 위 여백 */
    padding-bottom: 120px;
  }

  /* AZIT 로고 */
  .hero h1 {
    margin-bottom: 56px; /* 로고 ↔ Our Vision */
  }

  /* Our Vision */
  .brand-desc {
    position: static !important;
    transform: none !important;
    max-height: none;
    overflow: visible;
    margin-top: 0;
    padding: 0 20px;
  }

  .brand-desc::after {
    display: none;
  }

  .brand-desc p {
    display: block !important;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  /* 첫 섹션이 hero 아래에서 바로 등장 */
  section.section:first-of-type {
    margin-top: 0;
  }
}


}
@media (max-width: 768px) {

  .hero {
    height: auto !important;
    min-height: 100vh;
    display: block !important;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: visible;
  }

  .hero h1 {
    margin-bottom: 64px;
  }

  section.section:first-of-type {
    margin-top: -120px;
    overflow: visible;
  }
}

/* ===== 첫 화면 사진 일부 노출 (모바일 전용) ===== */
@media (max-width: 768px) {

  .hero {
    padding-bottom: 140px; /* 로고 + Our Vision 아래 여백 */
  }

  .section-1 {
    position: relative;
    z-index: 2;
  }

  .peek-image {
    width: 100%;
    display: block;
    margin-top: -160px; /* 👈 이 값이 사진 보이는 핵심 */
    z-index: 1;
  }

}

/* ===== 사진 안 보이던 진짜 원인 해결 ===== */
@media (max-width: 768px) {

  .hero {
    overflow: visible !important;
  }

  .section {
    overflow: visible !important;
  }

}

/* =========================
   MOBILE HERO — SINGLE SOURCE OF TRUTH
   이 아래가 최종 결정권자
========================= */
@media (max-width: 768px) {

  /* HERO: 첫 화면 컨테이너 */
  .hero {
    height: auto !important;
    min-height: 100vh;
    display: block !important;
    padding-top: 120px;     /* 로고 위 여백 */
    padding-bottom: 160px;  /* 👈 사진 보이게 하는 핵심 */
    overflow: visible !important;
  }

  /* AZIT 로고 */
  .hero h1 {
    margin-bottom: 56px;    /* 로고 ↔ Our Vision */
  }

  /* Our Vision */
  .brand-desc {
    position: static !important;
    transform: none !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 20px;
    margin: 0;
  }

  .brand-desc::after {
    display: none !important;
  }

  .brand-desc p {
    display: block !important;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  /* 👇 첫 번째 섹션을 hero 밑으로 끌어올림 */
  section.section.reveal:first-of-type {
    margin-top: -120px;   /* 사진이 보이게 하는 핵심 */
    padding-top: 0;
    overflow: visible;
  }

}

