/* ═══════════════════════════════════════════
   함성 랜딩페이지
   ═══════════════════════════════════════════ */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --navy: #232840;
  --red: #E8393B;
  --yellow: #F5A623;
  --blue: #35A8E0;
  --ink: #262A3E;
  --body-c: #5A607A;
  --muted: #9AA0B5;
  --line: #E8EAF1;
  --cream: #FAF7F2;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  letter-spacing: -0.01em;
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.overline {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.overline.light { color: #FFD46A; }

.sec-head { text-align: center; margin-bottom: 64px; }

.sec-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.sec-head h2 b { color: var(--red); }

.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(232, 57, 59, 0.3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(232,57,59,0.4); }

.btn-ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { background: rgba(255,255,255,0.24); }

.btn.big { padding: 18px 44px; font-size: 17px; }
.btn.full { width: 100%; }

/* ── reveal 애니메이션 ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.on { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(35,40,64,0.08);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-logo img { height: 38px; }

.nav-logo {
  background: rgba(255,255,255,0.94);
  border-radius: 10px;
  padding: 5px 10px;
  transition: background 0.3s;
}

.nav.scrolled .nav-logo { background: transparent; padding-left: 0; }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  transition: color 0.3s, text-shadow 0.3s;
}

.nav.scrolled .nav-links a { color: var(--ink); text-shadow: none; }
.nav-links a:hover { color: var(--yellow); }
.nav.scrolled .nav-links a:hover { color: var(--red); }

.nav-cta {
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 100px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-burger span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.3s;
}

.nav.scrolled .nav-burger span { background: var(--ink); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 12px 32px rgba(35,40,64,0.12);
  padding: 12px 24px 20px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 13px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-mobile .m-cta { color: var(--red); border-bottom: none; }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,40,64,0.5) 0%, rgba(35,40,64,0.32) 45%, rgba(35,40,64,0.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 140px 24px 60px;
  width: 100%;
  color: #fff;
}

.hero-eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.9;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(34px, 5.6vw, 60px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 b { color: #FFD46A; }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
  opacity: 0.94;
  margin-bottom: 40px;
}

.hero-sub strong { color: #FFD46A; font-weight: 700; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-strip {
  position: relative;
  z-index: 2;
  margin-top: auto;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.16);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.strip-item {
  padding: 26px 16px;
  text-align: center;
  color: #fff;
}

.strip-item b {
  display: block;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #FFD46A;
  margin-bottom: 4px;
}

.strip-item span { font-size: 13.5px; opacity: 0.85; }

/* ═══ PROBLEM ═══ */
.problem {
  background: var(--cream);
  padding: 90px 0;
  text-align: center;
}

.problem-q {
  font-size: clamp(19px, 2.6vw, 26px);
  line-height: 1.75;
  color: var(--body-c);
}

.problem-q strong {
  display: inline-block;
  margin-top: 14px;
  color: var(--navy);
  font-weight: 800;
}

/* ═══ CEO ═══ */
.ceo { padding: 110px 0; }

.ceo-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: center;
}

.ceo-photo img {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(35,40,64,0.16);
}

.ceo-body h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.45;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.ceo-body h2 b { color: var(--red); }

.ceo-body > p {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--body-c);
  margin-bottom: 30px;
}

.ceo-body > p strong { color: var(--navy); }

.ceo-sign {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.ceo-sign span { font-size: 14px; color: var(--muted); }
.ceo-sign b { font-size: 20px; font-weight: 800; color: var(--navy); }

.birkman-chips {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.birkman-chips img {
  height: 76px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  object-fit: contain;
  background: #fff;
}

/* ═══ DIFFERENCE ═══ */
.diff { padding: 110px 0; }

.diff-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 110px;
}

.diff-row:last-child { margin-bottom: 0; }
.diff-row.rev .diff-media { order: 2; }

.diff-media { position: relative; }

.diff-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(35,40,64,0.16);
}

.diff-badge {
  position: absolute;
  top: 18px; left: 18px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 8px 16px;
  border-radius: 100px;
}

.badge-red { background: var(--red); }
.badge-blue { background: var(--blue); }
.badge-yellow { background: var(--yellow); color: var(--navy); }

.diff-text h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.diff-text em { font-style: normal; }
.c-red { color: var(--red); }
.c-blue { color: var(--blue); }
.c-yellow { color: #D98A00; }

.diff-quote {
  font-size: 16px;
  font-weight: 700;
  color: var(--body-c);
  margin-bottom: 16px;
}

.diff-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--body-c);
  margin-bottom: 26px;
}

.diff-points { list-style: none; }

.diff-points li {
  position: relative;
  padding: 13px 0 13px 26px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--body-c);
  border-bottom: 1px solid var(--line);
}

.diff-points li:last-child { border-bottom: none; }

.diff-points li::before {
  content: '';
  position: absolute;
  left: 4px; top: 21px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.diff-points.blue li::before { background: var(--blue); }
.diff-points.yellow li::before { background: var(--yellow); }

.diff-points b { color: var(--navy); }

/* ═══ GALLERY ═══ */
.gallery {
  padding: 100px 0;
  background: var(--cream);
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 18px;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-track img {
  flex: 0 0 auto;
  width: min(360px, 78vw);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  scroll-snap-align: center;
  box-shadow: 0 12px 32px rgba(35,40,64,0.1);
}

/* ═══ TRUST ═══ */
.trust {
  background: var(--navy);
  padding: 110px 0;
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.trust-text h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.trust-text h2 b { color: #FF7B7C; }

.trust-text > p {
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
}

.trust-text > p strong { color: #FFD46A; }

.trust-list { list-style: none; }

.trust-list li {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.trust-list h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.trust-list p { font-size: 14.5px; color: rgba(255,255,255,0.62); line-height: 1.6; }

.trust-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.trust-cap {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  text-align: right;
}

/* ═══ BENEFIT ═══ */
.benefit {
  padding: 110px 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,166,35,0.12), transparent),
    #fff;
}

.benefit-card {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(35,40,64,0.12);
  padding: clamp(40px, 6vw, 72px);
}

.benefit-chip {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  background: rgba(53,168,224,0.1);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
}

.benefit-card h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  line-height: 1.45;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.benefit-card h2 em { font-style: normal; color: var(--red); }

.benefit-val {
  font-size: 18px;
  color: var(--body-c);
  margin-bottom: 18px;
}

.benefit-val b { font-size: 26px; font-weight: 800; color: var(--navy); }

.benefit-txt {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 36px;
}

/* ═══ CONTACT ═══ */
.contact {
  background: var(--navy);
  padding: 110px 0 0;
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  padding-bottom: 90px;
}

.contact-logo { height: 130px; margin-bottom: 30px; }

.contact-info h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 8px;
}

.contact-info h2 b { color: #FFD46A; }

.contact-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
}

.contact-lines { list-style: none; }

.contact-lines li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 16px;
  color: rgba(255,255,255,0.85);
}

.contact-lines b { font-weight: 700; color: #fff; }

.contact-lines .ic {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #FFD46A;
  flex-shrink: 0;
}

.contact-lines .ic svg { width: 18px; height: 18px; }

.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.contact-form h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 26px;
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--body-c);
  margin-bottom: 7px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border 0.2s;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* ═══ FOOTER ═══ */
.footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
  padding-bottom: 34px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-logo { height: 22px; opacity: 0.5; }

.footer-rainbow {
  height: 5px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--yellow) 0 50%, var(--blue) 0 75%, #4C9A67 0 100%);
}

/* ═══ 반응형 ═══ */
.pc-only { display: inline; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero-strip { grid-template-columns: repeat(2, 1fr); }

  .diff-row,
  .trust-grid,
  .contact-grid,
  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ceo-photo { max-width: 340px; margin: 0 auto; }
  .ceo { padding: 80px 0; }

  /* ── 모바일 중앙 정렬 ── */
  .hero-inner,
  .problem,
  .ceo-body,
  .diff-text,
  .trust-text,
  .contact-info,
  .benefit-card,
  .footer-inner {
    text-align: center;
  }

  .hero-actions { justify-content: center; }

  .overline::before { display: none; }

  .ceo-sign {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .diff-points li {
    padding-left: 0;
    text-align: center;
  }

  .diff-points li::before { display: none; }

  .birkman-chips { justify-content: center; }

  .trust-list li { text-align: center; }

  .trust-cap { text-align: center; }

  .contact-lines li {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-logo { margin-left: auto; margin-right: auto; }

  .contact-form h3,
  .form-note { text-align: center; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .diff-row { margin-bottom: 80px; }
  .diff-row.rev .diff-media { order: 0; }

  .pc-only { display: none; }

  .contact-form { padding: 28px; }
  .contact-logo { height: 100px; }
}
