@charset "utf-8";

/* =========================================================
   index.css
   - index.php 본문 전용 스타일
   - 공통 header / footer / btn / nav 등은 common.css 분리 권장
========================================================= */

/* =========================================================
   0. 페이지 전용 변수
========================================================= */
:root {
  --bg: #ffffff;
  --ink: #0b1020;
  --muted: #667085;

  --p1: #1d4ed8;
  --p2: #2563eb;
  --p3: #38bdf8;
  --b1: #60a5fa;

  --radius: 18px;
  --shadow: 0 18px 50px rgba(18, 23, 39, 0.1);
  --shadow2: 0 10px 30px rgba(18, 23, 39, 0.12);

  --font-main: "Pretendard", sans-serif;
}

html,
body {
  font-family: var(--font-main);
  font-weight: 500;
}

/* =========================================================
   1. 공통 유틸 / 공통 텍스트 / 공통 레이아웃
   - index 내부 여러 섹션에서 함께 사용하는 스타일
========================================================= */
.muted {
  color: var(--muted);
}

.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  max-width: 520px;
  font-weight: 500;
}

.grad {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad2 {
  background: linear-gradient(135deg, #60a5fa, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.06);
  font-weight: 700;
  font-size: 12px;
  color: #1e3a8a;
}

.tag-accent {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
}

.mini-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(11, 16, 32, 0.7);
  font-weight: 600;
}

.mini-list-light {
  color: rgba(255, 255, 255, 0.88);
}

/* 공통 내부 소형 버튼 줄바꿈 방지 */
#works .btn,
#pricing .btn {
  white-space: nowrap;
}

/* 공통 반응형 */
@media (max-width: 520px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   2. Top Intro Section
   - 메뉴 하단 시작 섹션
========================================================= */

.top-intro {
  padding: 56px 0 32px;
  background: #ffffff;
}

/* 상단 문구 */
.top-intro-kicker {
  margin: 0 0 14px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: rgba(11, 16, 32, 0.78);
}

/* 메인 타이틀 */
.top-intro-title {
  margin: 0 0 18px;
  text-align: center;
  font-weight: 800;
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: rgba(11, 16, 32, 0.92);
}

/* 서브 문구 */
.top-intro-sub {
  margin: 0 0 34px;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  color: #2563eb;
}

/* 서비스 카테고리 */
.top-cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 10px;
}

/* 카테고리 카드 */
.top-cat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 92px;
  padding: 14px 14px 16px;
  border-radius: 18px;
  text-align: center;
  background: #f6f7fb;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: 0.2s ease;
}

/* hover 효과 */
.top-cat:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

/* 카테고리 텍스트 */
.top-cat-label {
  font-weight: 700;
  font-size: 13px;
  color: rgba(11, 16, 32, 0.75);
}

/* 아이콘 박스 */
.top-cat-ico {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* 버튼 영역 */
.top-intro-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* 
   Responsive
*/

@media (max-width: 1024px) {
  .top-intro-title {
    font-size: 44px;
  }

  .top-cats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .top-intro {
    padding: 42px 0 26px;
  }

  .top-intro-title {
    font-size: 34px;
  }

  .top-intro-sub {
    font-size: 16px;
  }

  .top-cats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .top-intro-kicker {
    font-size: 16px;
  }

  .top-intro-title {
    font-size: 30px;
  }

  .top-intro-sub {
    font-size: 14px;
  }

  .top-cat {
    min-height: 80px;
    padding: 12px;
  }

  .top-cat-label {
    font-size: 12px;
  }

  .top-cat-ico {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

/* =========================================================
   Hero2 Section
   - PRPAGE Blue Edition
   - 실무형 제작사 톤 정리 버전
========================================================= */

.hero2 {
  padding: 70px 0 48px;

  background:
    radial-gradient(
      closest-side at 18% 18%,
      rgba(37, 99, 235, 0.08),
      transparent 72%
    ),
    radial-gradient(
      closest-side at 78% 18%,
      rgba(56, 189, 248, 0.08),
      transparent 72%
    ),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.hero2-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}

/* =========================================================
   LEFT COPY
========================================================= */

.hero2-copy {
  min-width: 0;
}

.hero2-badge {
  display: inline-flex;
  align-items: center;

  padding: 10px 18px;
  margin: 0 0 22px;

  border-radius: 999px;

  border: 1px solid rgba(37, 99, 235, 0.14);

  background: rgba(37, 99, 235, 0.06);

  color: #1d4ed8;

  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}

.hero2-title {
  margin: 0 0 24px;

  font-size: 58px;
  line-height: 1.22;
  letter-spacing: -1.4px;
  font-weight: 800;

  color: #0b1020;

  word-break: keep-all;
}

.hero2-title .grad,
.grad {
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.hero2-desc {
  max-width: 760px;

  margin: 0 0 30px;

  color: #5f6b80;

  font-size: 18px;
  line-height: 1.9;
  font-weight: 500;

  word-break: keep-all;
}

/* =========================================================
   ACTION BUTTONS
========================================================= */

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

  margin-bottom: 24px;
}

.hero2-actions .btn {
  min-width: 148px;
  height: 58px;

  padding: 0 26px;

  border-radius: 20px;

  font-size: 17px;
  font-weight: 700;

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

  text-decoration: none;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

/* PRIMARY */

.hero2-actions .btn-primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);

  color: #fff;

  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.hero2-actions .btn-primary:hover {
  transform: translateY(-2px);

  background: linear-gradient(135deg, #1d4ed8, #2563eb);

  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
}

/* GHOST */

.hero2-actions .btn-ghost {
  background: #fff;

  color: #0b1020;

  border: 1px solid rgba(15, 23, 42, 0.12);
}

.hero2-actions .btn-ghost:hover {
  transform: translateY(-2px);

  border-color: rgba(37, 99, 235, 0.18);

  color: #1d4ed8;

  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

/* =========================================================
   PILLS
========================================================= */

.hero2-pills {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero2-pills .pill {
  font-size: 17px;
  line-height: 1.5;

  color: #111827;
}

/* =========================================================
   RIGHT VISUAL
========================================================= */

.hero2-visual {
  position: relative;
  min-width: 0;
}

.glass-card {
  position: relative;
  overflow: hidden;

  border-radius: 28px;

  background: rgba(255, 255, 255, 0.88);

  border: 1px solid rgba(15, 23, 42, 0.08);

  backdrop-filter: blur(14px);

  box-shadow: 0 24px 70px rgba(18, 23, 39, 0.1);
}

/* TOP */

.glass-top {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 22px 24px;

  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.dot {
  width: 14px;
  height: 14px;

  border-radius: 50%;

  background: rgba(37, 99, 235, 0.18);

  flex: 0 0 auto;
}

.glass-title {
  margin-left: auto;

  font-weight: 700;
  font-size: 20px;

  color: rgba(11, 16, 32, 0.68);
}

/* BODY */

.glass-body {
  padding: 24px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* MINI CARD */

.mini {
  min-height: 136px;

  padding: 26px 22px;

  border-radius: 22px;

  border: 1px solid rgba(15, 23, 42, 0.07);

  background: #ffffff;

  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  text-align: left;

  overflow: hidden;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.mini:hover {
  transform: translateY(-3px);

  border-color: rgba(37, 99, 235, 0.12);

  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.mini strong {
  display: block;
  width: 100%;

  margin: 0 0 10px;

  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;

  letter-spacing: -0.4px;

  color: #0b1020;

  word-break: keep-all;
}

.mini span {
  display: block;
  width: 100%;

  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;

  color: #667085;

  word-break: keep-all;
}

/* =========================================================
   ORB
========================================================= */

.orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.orb2 {
  width: 180px;
  height: 180px;

  right: -36px;
  top: -32px;

  background: radial-gradient(
    circle at 30% 30%,
    rgba(56, 189, 248, 0.2),
    transparent 66%
  );
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
  .hero2 {
    padding: 62px 0 44px;
  }

  .hero2-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero2-title {
    font-size: 50px;
  }

  .hero2-desc {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .hero2 {
    padding: 46px 0 36px;
  }

  .hero2-grid {
    gap: 32px;
  }

  .hero2-badge {
    margin-bottom: 18px;

    font-size: 13px;

    padding: 9px 14px;
  }

  .hero2-title {
    margin-bottom: 20px;

    font-size: 38px;
    line-height: 1.25;

    letter-spacing: -1px;
  }

  .hero2-desc {
    margin-bottom: 24px;

    font-size: 16px;
    line-height: 1.85;
  }

  .hero2-actions {
    gap: 10px;
    margin-bottom: 22px;
  }

  .hero2-actions .btn {
    flex: 1 1 0;
    min-width: 0;

    height: 54px;

    border-radius: 18px;

    font-size: 16px;
  }

  .hero2-pills {
    gap: 8px 12px;
  }

  .hero2-pills .pill {
    font-size: 15px;
  }

  .glass-top {
    padding: 17px 18px;
  }

  .glass-title {
    font-size: 16px;
  }

  .glass-body {
    padding: 18px;
  }

  .mini-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mini {
    min-height: auto;

    padding: 22px 18px;

    border-radius: 20px;
  }

  .mini strong {
    font-size: 19px;
    margin-bottom: 8px;
  }

  .mini span {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (max-width: 520px) {
  .hero2 {
    padding: 38px 0 30px;
  }

  .hero2-title {
    font-size: 31px;
    line-height: 1.28;
  }

  .hero2-desc {
    font-size: 15px;
    line-height: 1.8;
  }

  .hero2-actions {
    flex-direction: column;
  }

  .hero2-actions .btn {
    width: 100%;
  }

  .glass-card {
    border-radius: 22px;
  }

  .glass-body {
    padding: 14px;
  }

  .mini {
    padding: 19px 16px;
  }

  .mini strong {
    font-size: 17px;
  }

  .mini span {
    font-size: 14px;
  }

  .orb2 {
    width: 120px;
    height: 120px;

    right: -20px;
    top: -18px;
  }
}

/* =========================================================
   Works Section
   - 제작 영역
========================================================= */
/* =========================================================
   Works Section - 제작 영역 개선
========================================================= */

.section-works {
  padding: 110px 0;
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(37, 99, 235, 0.08),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.works-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}

.works-head h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.works-head .muted {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.works-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(219, 234, 254, 0.9);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.works-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.13);
}

.works-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(255, 255, 255, 0.24),
      transparent 30%
    ),
    linear-gradient(135deg, #2563eb 0%, #1d4ed8 52%, #3b82f6 100%);
  z-index: 0;
}

.works-card-soft-a::before {
  background: linear-gradient(135deg, #2563eb 0%, #2f80ed 52%, #60a5fa 100%);
}

.works-card-soft-b::before {
  background: linear-gradient(135deg, #2f80ed 0%, #3b82f6 55%, #67b7f7 100%);
}

.works-card-primary-alt::before {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 60%, #38bdf8 100%);
}

.works-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  z-index: 1;
}

.works-card-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 42px;
  color: #fff;
}

.works-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 34px;
  padding: 0 15px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.works-card h3 {
  margin: 0 0 22px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.045em;
  color: #fff;
}

.works-desc {
  max-width: 520px;
  min-height: 54px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
  word-break: keep-all;
}

.works-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  margin-bottom: 32px;
  border-radius: 999px;
  background: #fff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.works-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.works-list li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.works-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

@media (max-width: 900px) {
  .section-works {
    padding: 82px 0;
  }

  .works-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .works-card {
    min-height: auto;
  }

  .works-card-inner {
    padding: 34px 26px;
  }

  .works-card h3 {
    font-size: 26px;
  }
}

/* =========================================================
   Works Title Icon
========================================================= */

.works-card h3 {
  display: flex;
  align-items: center;
  gap: 14px;
}

.works-title-icon {
  position: relative;

  width: 42px;
  height: 42px;

  flex: 0 0 42px;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);

  backdrop-filter: blur(8px);
}

/* ===============================
   WEB
================================ */

.works-icon-web i {
  position: absolute;
  inset: 10px;

  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
}

.works-icon-web i::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;

  height: 2px;
  background: rgba(255, 255, 255, 0.92);
}

/* ===============================
   QR
================================ */

.works-icon-qr i {
  position: absolute;
  inset: 10px;
}

.works-icon-qr i::before,
.works-icon-qr i::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
}

.works-icon-qr i::before {
  left: 0;
  top: 0;
  border-right: 0;
  border-bottom: 0;
}

.works-icon-qr i::after {
  right: 0;
  bottom: 0;
  border-left: 0;
  border-top: 0;
}

/* ===============================
   SYSTEM
================================ */

.works-icon-system i {
  position: absolute;
  left: 10px;
  top: 10px;

  width: 8px;
  height: 8px;

  background: #fff;
  border-radius: 3px;

  box-shadow:
    14px 0 0 #fff,
    0 14px 0 #fff,
    14px 14px 0 #fff;
}

/* ===============================
   GROWTH
================================ */

.works-icon-growth i {
  position: absolute;
  left: 11px;
  bottom: 11px;

  width: 16px;
  height: 16px;

  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;

  transform: skew(-12deg);
}

.works-icon-growth i::before {
  content: "";
  position: absolute;

  right: -3px;
  top: -7px;

  width: 10px;
  height: 10px;

  border-top: 2px solid #fff;
  border-right: 2px solid #fff;

  transform: rotate(45deg);
}

.works-card h3 {
  display: flex;
  align-items: center;
  gap: 14px;
}

.works-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  flex: 0 0 44px;

  border-radius: 15px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.works-title-icon svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.works-title-icon svg {
  width: 21px;
  height: 21px;

  display: block;

  fill: none;
  stroke: #fff;

  stroke-width: 2.2;

  stroke-linecap: round;
  stroke-linejoin: round;

  opacity: 0.96;
}

/* =========================================================
   6. Partners Section
   - 주요 파트너
========================================================= */
.partners-section {
  padding: 40px 0 20px;
}

.partners-wrap {
  background:
    radial-gradient(
      420px 220px at 88% 6%,
      rgba(37, 99, 235, 0.1),
      transparent 70%
    ),
    radial-gradient(
      340px 180px at 22% 0%,
      rgba(59, 130, 246, 0.05),
      transparent 70%
    ),
    #f7f8fb;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 32px;
  padding: 54px 42px 46px;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* =========================================================
   Header
========================================================= */
.partners-head {
  margin-bottom: 34px;
}

/* 제목 공통 */
.section-title {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #081225;
  margin: 0 0 14px;
}

/* 가운데 정렬 */
.center {
  text-align: center;
}

/* 설명 문구 */
.partners-head p {
  font-size: 17px;
  font-weight: 500;
  color: #66758f;
  margin: 0 auto;
  max-width: 720px; /* 가독성 핵심 */
}

/* =========================================================
   Timeline
========================================================= */
.partners-timeline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.partners-timeline .year {
  font-size: 24px;
  font-weight: 700;
  color: #667892;
  letter-spacing: -0.02em;
  flex: 0 0 auto;
}

.timeline-line {
  position: relative;
  flex: 1 1 auto;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.65),
    rgba(56, 189, 248, 0.85)
  );
  border-radius: 999px;
}

/* =========================================================
   Grid
========================================================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.partner-box {
  min-height: 78px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 2px 10px rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(15, 23, 42, 0.28);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  word-break: keep-all;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.partner-box:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.42);
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 1280px) {
  .partners-head h2 {
    font-size: 46px;
  }

  .partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .partners-wrap {
    padding: 44px 28px 36px;
    border-radius: 26px;
  }

  .partners-head h2 {
    font-size: 46px;
  }

  .partners-head p {
    font-size: 16px;
  }

  .partners-timeline .year {
    font-size: 20px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partner-box {
    min-height: 74px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .section-title {
    font-size: 30px;
  }

  .partners-head p {
    font-size: 14px;
  }

  .partners-section {
    padding: 24px 0 8px;
  }

  .partners-wrap {
    padding: 30px 18px 24px;
    border-radius: 22px;
  }

  .partners-head {
    margin-bottom: 22px;
  }

  .partners-head h2 {
    margin-bottom: 14px;
    font-size: 30px;
    line-height: 1.16;
    letter-spacing: -0.04em;
  }

  .partners-head p {
    font-size: 14px;
    line-height: 1.65;
  }

  .partners-timeline {
    gap: 10px;
    margin-bottom: 20px;
  }

  .partners-timeline .year {
    font-size: 14px;
  }

  .timeline-line {
    height: 2px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .partner-box {
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  .partners-head h2 {
    font-size: 26px;
  }

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

/* =========================================================
   Contact Section
   - 상담 / 문의 전체
========================================================= */

.contact-section {
  padding: 90px 20px;
  background:
    radial-gradient(
      420px 220px at 50% 0%,
      rgba(37, 99, 235, 0.08),
      transparent 70%
    ),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

/* =========================================================
   Header
========================================================= */

.contact-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  text-align: center;
}

.contact-header h2 {
  margin: 0 0 12px;
  font-size: 52px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.contact-header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  color: #667085;
}

/* =========================================================
   Layout
========================================================= */

.contact-wrap {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 24px;
  align-items: stretch;
}

.contact-left,
.contact-right {
  border-radius: 28px;
  padding: 30px 28px;
  box-sizing: border-box;
  min-height: 100%;
}

/* =========================================================
   Left Box
========================================================= */

.contact-left {
  background: #ffffff;

  border: 1px solid rgba(15, 23, 42, 0.08);

  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-left-top {
  margin-bottom: 26px;
}

.contact-left h3 {
  margin: 0 0 16px;

  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;

  color: #081225;
}

.contact-left p {
  margin: 0 0 22px;

  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;

  color: #64748b;
}

.contact-info {
  margin-top: 8px;
}

.contact-info div {
  margin-top: 10px;

  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;

  color: #56657f;

  word-break: break-all;
}

.contact-left-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* =========================================================
   Icon Card Grid
========================================================= */

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-feature-card {
  background: #f8faff;

  border: 1px solid rgba(15, 23, 42, 0.07);

  border-radius: 24px;

  padding: 22px 18px 18px;

  text-align: center;

  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.contact-feature-card:hover {
  transform: translateY(-2px);

  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);

  border-color: rgba(37, 99, 235, 0.14);
}

.contact-feature-card h4 {
  margin: 0 0 18px;

  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;

  color: #24324a;

  letter-spacing: -0.02em;
}

.feature-icon-box {
  width: 64px;
  height: 64px;

  margin: 0 auto 16px;

  border-radius: 18px;

  background: #fff;

  border: 1px solid rgba(15, 23, 42, 0.08);

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

  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.feature-icon {
  font-size: 30px;
  line-height: 1;
}

.contact-feature-card p {
  margin: 0;

  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;

  color: #6b7280;

  word-break: keep-all;
}

.contact-feature-card.small h4 {
  font-size: 15px;
  margin-bottom: 14px;
}

.contact-feature-card.small .feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  margin-bottom: 14px;
}

.contact-feature-card.small .feature-icon {
  font-size: 26px;
}

.contact-feature-card.small p {
  font-size: 12px;
  line-height: 1.55;
}

/* =========================================================
   Response Notice
========================================================= */

.contact-response-box {
  padding: 16px 18px;

  border-radius: 16px;

  background: linear-gradient(135deg, #eef4ff, #f7fbff);

  border: 1px solid rgba(37, 99, 235, 0.1);
}

.contact-response-box strong {
  display: block;

  margin-bottom: 6px;

  font-size: 15px;
  font-weight: 700;

  color: #2563eb;
}

.contact-response-box p {
  margin: 0;

  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;

  color: #6b7280;
}

/* =========================================================
   Right Box
========================================================= */

.contact-right {
  background: linear-gradient(135deg, #f3f8ff, #eef6ff);

  border: 1px solid rgba(15, 23, 42, 0.08);

  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.contact-right h3 {
  margin: 0 0 16px;

  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;

  color: #081225;
}

.guide-desc {
  margin: 0 0 18px;

  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;

  color: #64748b;
}

/* =========================================================
   Buttons
========================================================= */

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;

  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;
  padding: 0 22px;

  border-radius: 16px;

  text-decoration: none;

  font-size: 15px;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;

  box-sizing: border-box;
}

.btn.primary {
  background: linear-gradient(135deg, #2563eb, #3b82f6);

  color: #fff;

  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.btn.primary:hover {
  transform: translateY(-1px);

  background: linear-gradient(135deg, #1d4ed8, #2563eb);

  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
}

.btn.ghost {
  background: #fff;

  color: #081225;

  border: 1px solid rgba(15, 23, 42, 0.1);
}

.btn.ghost:hover {
  transform: translateY(-1px);

  border-color: rgba(37, 99, 235, 0.18);

  color: #1d4ed8;

  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.btn.full {
  width: 100%;
}

/* =========================================================
   QA Mini List
========================================================= */

.qa-mini-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qa-mini-item {
  display: block;

  padding: 14px 16px;

  border: 1px solid #ececf2;

  border-radius: 14px;

  background: #fff;

  text-decoration: none;

  transition: all 0.18s ease;
}

.qa-mini-item:hover {
  transform: translateY(-2px);

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.qa-mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 10px;

  margin-bottom: 6px;
}

.qa-cat {
  display: inline-block;

  font-size: 12px;
  font-weight: 700;

  color: #2563eb;

  background: #eef4ff;

  padding: 4px 10px;

  border-radius: 999px;

  flex-shrink: 0;
}

.qa-state {
  display: inline-block;

  font-size: 12px;
  font-weight: 700;

  color: #666;

  background: #f5f5f5;

  padding: 4px 10px;

  border-radius: 999px;

  flex-shrink: 0;
}

.qa-subject {
  font-size: 15px;
  font-weight: 600;

  color: #222;

  line-height: 1.5;

  word-break: keep-all;
}

.qa-empty {
  padding: 18px;

  border: 1px dashed #ddd;

  border-radius: 12px;

  color: #888;

  text-align: center;

  background: #fafafa;
}

/* =========================================================
   Section spacing / overlap fix
========================================================= */

section {
  position: relative;
  z-index: 1;

  overflow: visible;

  isolation: isolate;
}

section:not(:last-of-type) {
  margin-bottom: 50px;
}

@media (max-width: 767px) {
  section:not(:last-of-type) {
    margin-bottom: 30px;
  }
}

/* =========================================================
   Section spacing / overlap fix
   - 섹션 간격
   - 배경/그라데이션 겹침 방지
   - shadow/effect 깨짐 방지
========================================================= */

/* 모든 section 기본 안정화 */
section {
  position: relative;
  z-index: 1;
  overflow: visible;
  isolation: isolate;
}

/* 🔥 핵심: 아래쪽 마진 (마지막 제외) */
section:not(:last-of-type) {
  margin-bottom: 50px;
}

/* 모바일 */
@media (max-width: 767px) {
  section:not(:last-of-type) {
    margin-bottom: 30px;
  }
}

/* 각 주요 section을 덩어리감 있게 */
.top-intro,
.hero2,
#works,
.dark,
#process,
.pricing {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  background-clip: padding-box;
}

/* 모바일에서는 radius 살짝 축소 */
@media (max-width: 767px) {
  .top-intro,
  .hero2,
  #works,
  .dark,
  #process,
  .pricing {
    border-radius: 20px;
  }
}

/* =========================================================
   PRPAGE Blue Trust Final Override
   - 보라톤 잔여 제거 / 신뢰형 블루톤 보강
========================================================= */

.tag,
.pill,
.hero2-badge,
.eyebrow,
.flow-ico {
  border-color: rgba(37, 99, 235, 0.16);
  background: rgba(37, 99, 235, 0.06);
  color: #1d4ed8;
}

.top-intro-sub {
  color: #2563eb;
}

.top-cat:hover {
  border-color: rgba(37, 99, 235, 0.2);
}

.partners-wrap {
  background:
    radial-gradient(
      420px 220px at 88% 6%,
      rgba(37, 99, 235, 0.08),
      transparent 70%
    ),
    radial-gradient(
      340px 180px at 22% 0%,
      rgba(56, 189, 248, 0.05),
      transparent 70%
    ),
    #f7f8fb;
}

.timeline-line {
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.6),
    rgba(56, 189, 248, 0.8)
  );
}

.partner-box:hover {
  border-color: rgba(37, 99, 235, 0.14);
}

.btn.primary,
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.btn.primary:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.26);
}

.grad,
.grad2 {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-accent {
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.bar,
.mock-row-up .bar {
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.24);
}

/* =========================================================
   Contact Section Mobile Fix
   - 모바일 상담/문의 영역 정리
========================================================= */

@media (max-width: 900px) {
  .contact-section {
    padding: 64px 16px;
  }

  .contact-header {
    margin-bottom: 34px;
  }

  .contact-header h2 {
    font-size: 34px;
    line-height: 1.28;
    letter-spacing: -0.04em;
    word-break: keep-all;
  }

  .contact-header p {
    font-size: 15px;
    line-height: 1.65;
    word-break: keep-all;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-left,
  .contact-right {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .contact-left-top {
    margin-bottom: 22px;
  }

  .contact-left h3,
  .contact-right h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .contact-left p,
  .guide-desc {
    font-size: 14px;
    line-height: 1.65;
    word-break: keep-all;
  }

  .contact-info div {
    font-size: 14px;
  }

  .contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .contact-feature-card {
    padding: 18px 12px 16px;
    border-radius: 18px;
  }

  .contact-feature-card h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .feature-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 12px;
  }

  .feature-icon {
    font-size: 25px;
  }

  .contact-feature-card p {
    font-size: 12px;
    line-height: 1.55;
  }

  .contact-response-box {
    padding: 15px 16px;
    border-radius: 16px;
  }

  .qa-mini-item {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .qa-mini-top {
    align-items: flex-start;
  }

  .qa-cat,
  .qa-state {
    font-size: 11px;
    padding: 4px 9px;
  }

  .qa-subject {
    font-size: 14px;
    line-height: 1.55;
  }

  .contact-right-buttons {
    margin-top: 18px;
  }
}

@media (max-width: 520px) {
  .contact-section {
    padding: 52px 14px;
  }

  .contact-header h2 {
    font-size: 28px;
  }

  .contact-header p {
    font-size: 14px;
  }

  .contact-left,
  .contact-right {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .btn-group {
    gap: 10px;
  }

  .btn-group .btn {
    flex: 1 1 100%;
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    font-size: 14px;
  }

  .contact-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .contact-feature-card {
    padding: 16px 10px 14px;
    border-radius: 16px;
  }

  .contact-feature-card h4 {
    font-size: 14px;
  }

  .feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .feature-icon {
    font-size: 22px;
  }

  .contact-feature-card p {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .qa-mini-top {
    gap: 6px;
  }

  .qa-subject {
    font-size: 13.5px;
  }
}

@media (max-width: 380px) {
  .contact-card-grid {
    grid-template-columns: 1fr;
  }
}
