:root {
  --sky: #e8f6ff;
  --sky-2: #d0edfb;
  --point: #1a8fd1;
  --point-d: #1270a8;
  --point-l: #e0f2fd;
  --navy: #0c2d4a;
  --body-bg: #f5fbff;
  --white: #ffffff;
  --fog: #6a8a9f;
  --text: #1a3040;
  --border: rgba(26, 143, 209, 0.13);

  --font-head: "Syne", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", system-ui, sans-serif;

  --r: 12px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --max: 1120px;
  --px: clamp(1.25rem, 5vw, 2.5rem);
  --hh: 68px;
}

/* 플로팅 카드들 */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 8px 28px rgba(26, 143, 209, 0.15);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.float-card.fc1 {
  bottom: 2.5rem;
  left: -1.5rem;
}
.float-card.fc2 {
  top: 1.5rem;
  right: -1.5rem;
}
.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  background: var(--point-l);
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-icon i {
  width: 17px;
  height: 17px;
  stroke: var(--point) !important;
  stroke-width: 2;
}
.float-num {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy);
  line-height: 1;
}
.float-label {
  font-size: 0.7rem;
  color: var(--fog);
  font-weight: 500;
}

/* ══ STATS BAR ══ */
.stats-bar {
  background: var(--navy);
  padding: 2.25rem 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}
.stat-cell {
  background: rgba(255, 255, 255, 0.04);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: background 0.2s;
}
.stat-cell:hover {
  background: rgba(255, 255, 255, 0.08);
}
.stat-n {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  color: #fff;
}
.stat-n span {
  color: #7ec8f0;
  font-size: 0.75em;
}
.stat-l {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

/* ══ SECTION 공통 ══ */
.sec-wrap {
  padding: 6rem 0;
}
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--point);
  margin-bottom: 0.85rem;
}
.sec-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--point);
  border-radius: 99px;
}
.sec-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.sec-desc {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fog);
  line-height: 1.85;
  max-width: 500px;
}

/* ══ ABOUT ══ */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--point);
  background: var(--point-l);
  border: 1px solid rgba(26, 143, 209, 0.2);
}
.chip i {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
}

.about-feats {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.about-feat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r);
  background: var(--sky);
  border: 1px solid var(--border);
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.about-feat:hover {
  background: var(--sky-2);
  box-shadow: 0 4px 16px rgba(26, 143, 209, 0.1);
}
.about-feat i {
  width: 18px;
  height: 18px;
  stroke: var(--point) !important;
  stroke-width: 2;
  flex-shrink: 0;
}
.feat-t {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.feat-s {
  font-size: 0.78rem;
  color: var(--fog);
  margin-top: 0.1rem;
}

.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-2) 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.about-img i {
  width: 64px;
  height: 64px;
  stroke: rgba(26, 143, 209, 0.2) !important;
  stroke-width: 1;
}
.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--point);
  color: #fff;
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 12px 32px rgba(26, 143, 209, 0.35);
  text-align: center;
}
.badge-n {
  font-family: var(--font-head);
  font-size: 1.85rem;
  line-height: 1;
}
.badge-l {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.85;
  margin-top: 0.2rem;
}

/* ══ SERVICES ══ */
.services {
  background: var(--body-bg);
}
.services-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}
.all-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--point);
  padding-bottom: 0.15rem;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s;
  white-space: nowrap;
}
.all-link i {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}
.all-link:hover {
  border-color: var(--point);
}

.services-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.svc {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 1.85rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s,
    border-color 0.22s;
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 143, 209, 0.11);
  border-color: rgba(26, 143, 209, 0.3);
}
.svc.big {
  grid-row: 1 / 3;
  padding: 2.5rem 2rem;
  justify-content: space-between;
}
.svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--point-l);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
}
.svc:hover .svc-icon {
  background: var(--point);
}
.svc-icon i {
  width: 21px;
  height: 21px;
  stroke: var(--point) !important;
  stroke-width: 1.9;
  transition: stroke 0.22s;
}
.svc:hover .svc-icon i {
  stroke: #fff !important;
}
.svc.big .svc-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}
.svc.big .svc-icon i {
  width: 25px;
  height: 25px;
}
.svc-tag {
  display: inline-flex;
  padding: 0.22rem 0.7rem;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--point-l);
  color: var(--point);
  width: fit-content;
}
.svc-t {
  font-family: var(--font-head);
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.2;
}
.svc-t {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}
.svc-d {
  font-size: 1rem;
  color: var(--fog);
  line-height: 1.75;
}
.svc.big .svc-d {
  font-size: 1rem;
}
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--point);
  margin-top: auto;
  transition: gap 0.2s;
}
.svc-more i {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
.svc:hover .svc-more {
  gap: 0.6rem;
}

/* ══ PORTFOLIO PREVIEW ══ */
.portfolio {
  background: var(--white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.port-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s;
}
.port-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 143, 209, 0.12);
}
.port-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.port-img i {
  width: 44px;
  height: 44px;
  stroke: rgba(26, 143, 209, 0.25) !important;
  stroke-width: 1;
}
.port-cat {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  background: var(--navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}
.port-body {
  padding: 1.15rem 1.35rem 1.4rem;
  background: var(--white);
}
.port-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.port-desc {
  font-size: 0.82rem;
  color: var(--fog);
  line-height: 1.6;
}
.port-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.port-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 99px;
  background: var(--sky);
  color: var(--point);
  font-size: 0.68rem;
  font-weight: 600;
}
.port-more {
  text-align: center;
  margin-top: 2.5rem;
}


/* ══ RESPONSIVE ══ */
@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .svc.big {
    grid-row: auto;
    grid-column: 1 / 3;
  }
.services {
  padding: 70px 0;
}
}

@media (max-width: 768px) {
  :root {
    --hh: 60px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .svc.big {
    grid-column: auto;
  }

}
