/* ============================================================
   배송조회 섹션 디자인 개선
   ============================================================ */
.hero {
    min-height: 580px;
    position: relative;
    background: url('assets/hero-logistics-v2.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4, 31, 65, 0.75), rgba(7, 74, 150, 0.55));
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(920px, 92%);
    text-align: center;
}

.hero h1 {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.slogan {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 12px 0 6px;
    color: #e2f0ff;
}

.guide {
    font-size: 16.5px;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* 🔍 송장번호 입력 폼 디자인 개선 */
.tracking-form {
    display: flex;
    background: #ffffff;
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 24, 60, 0.3);
    max-width: 480px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
}

.tracking-form:focus-within {
    box-shadow: 0 22px 55px rgba(8, 112, 216, 0.35);
    border-color: #0870d8;
}

.tracking-form input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 20px;
    font-size: 16px;
    min-width: 0;
    height: 52px;
    background: transparent;
    color: #08264d;
}

.tracking-form input::placeholder {
    color: #9aa8b8;
}

/* 돋보기나 검색 버튼을 추가할 경우를 위한 스타일 (현재 버튼이 없다면 생략 가능) */
.tracking-form button {
    border: 0;
    background: #0870d8;
    color: #fff;
    padding: 0 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.tracking-form button:hover {
    background: #065bb2;
}

.example {
    margin-top: 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* 🚚 운송사 바로가기 버튼 영역 개선 */
.carrier-links {
    margin: 36px auto 0;
    max-width: 860px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 22px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.carrier-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 14px;
}

.carrier-label .guide {
    font-size: 14px;
    margin: 0;
    color: #d4e7ff;
}

.carrier-buttons {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.carrier-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 4px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e1eaf5;
    color: #062f60;
    text-decoration: none;
    font-weight: 800;
    font-size: 13.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.carrier-buttons a:hover {
    transform: translateY(-3px);
    background: #0870d8;
    color: #fff;
    border-color: #0870d8;
    box-shadow: 0 8px 20px rgba(8, 112, 216, 0.3);
}

/* 모바일 반응형 처리 */
@media(max-width: 900px) {
    .hero h1 {
        font-size: 38px;
    }
    .carrier-buttons {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media(max-width: 480px) {
    .carrier-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* 유류할증료 표시 바 */
.hero-fuel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(13,17,23,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(34,211,238,0.20);
  border-radius: 18px;
  padding: 18px 24px 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  max-width: 600px;
  margin: 0 auto;
}
.hf-label {
  font-size: 12px;
  color: var(--cyan);
  font-family: var(--mono);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.hf-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0;
}
.hf-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 18px;
  border-right: 1px solid var(--border2);
  flex: 1; /* 공간을 균등하게 배분 */
}
.hf-item:last-of-type { border-right: none; }
.hf-carrier {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--mono);
}
.hf-pct {
  font-size: 15px;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--amber);
  letter-spacing: -1px;
  line-height: 1;
}
.hf-update {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
  margin-top: 2px;
}

/* 📱 반응형 미디어쿼리 추가 (모바일/태블릿 대응) */
@media (max-width: 768px) {
  .hero-fuel {
    padding: 14px 12px;
    max-width: 100%;
  }
  .hf-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 화면이 작아지면 2개씩 2줄로 배치 */
    gap: 12px 0;
  }
  .hf-item {
    border-right: none; /* 세로 배치일 때는 구분선 제거 */
    padding: 0 8px;
  }
  /* 2줄 배치 시 짝수 번째 아이템(2, 4번째) 왼쪽에 은은한 구분선 추가 (선택사항) */
  .hf-item:nth-child(even) {
    border-left: 1px solid var(--border2);
  }
  .hf-pct {
    font-size: 20px; /* 모바일에서 숫자가 찌그러지지 않도록 크기 미세 조정 */
  }
}
