/* ========================================================================
   transmaker/style.css
   트랜스메이커 대리·탁송·일일기사 예약접수 랜딩페이지 (1차 시안)
   디자인 키워드: 신뢰감 / 빠른 배차 / 안전한 이동 / 기업형 / 블루·화이트·네이비
   base.css → components.css → style.css 순서로 로드됩니다.
   ======================================================================== */

:root {
  /* 브랜드 컬러 (블루 / 네이비 / 화이트) */
  --tm-blue: #1e56d6;
  --tm-blue-strong: #1846b8;
  --tm-blue-soft: #eef3ff;
  --tm-blue-line: #d7e2fb;
  --tm-navy: #0c1f47;
  --tm-navy-2: #12295c;
  --tm-ink: #16233d;
  --tm-muted: #5b6a86;

  /* 공통 컴포넌트 변수 오버라이드 (components.css) */
  --color-primary: var(--tm-blue);
  --color-on-primary: #ffffff;
  --color-secondary-fg: var(--tm-blue);
  --color-secondary-bg: #ffffff;
  --nav-cta-bg: var(--tm-blue);
  --nav-cta-fg: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-fg: #16233d;
  --header-border: rgba(12, 31, 71, 0.08);
  --footer-bg: var(--tm-navy);
  --footer-fg: #c2cee6;
  --footer-fg-strong: #ffffff;
  --faq-border: rgba(12, 31, 71, 0.12);
}

body { color: var(--tm-ink); }

/* 헤더 스크롤 시 그림자 */
.site-header.is-scrolled {
  box-shadow: 0 6px 20px -14px rgba(12, 31, 71, 0.4);
}

/* 헤더 높이를 로고에 맞춰 소폭 확대 (브랜드 인지 강화) */
.header-inner { height: 76px; }
@media (max-width: 1024px) { .header-inner { height: 68px; } }

/* 브랜드 로고 (고객 제공 이미지) — 가로형, 선명하게 크게 */
.brand-mark--img { gap: 0; }
.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}
@media (max-width: 1024px) {
  .brand-logo { height: 50px; }
}
@media (max-width: 480px) {
  .brand-logo { height: 44px; }
}
/* 헤더 높이 확대(68px)에 맞춰 모바일 드롭다운 메뉴 시작 위치 보정 */
@media (max-width: 1024px) {
  .nav-list { top: 68px; max-height: calc(100vh - 68px); }
}

/* 우측 상단 '예약 신청' CTA — 둥근 사각형의 안정적인 메인 CTA 버튼 (PC)
   ('.nav-list a' 보다 높은 특정성으로 padding/font 확실히 덮어씀) */
@media (min-width: 1025px) {
  .nav-list a.nav-cta {
    padding: 13px 30px;
    border-radius: 15px;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 22px -10px rgba(30, 86, 214, 0.75);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  }
  .nav-list a.nav-cta:hover {
    opacity: 1;
    background: var(--tm-blue-strong);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px -10px rgba(30, 86, 214, 0.85);
  }
  .nav-list a.nav-cta:active { transform: translateY(0); }
}
/* 모바일 드롭다운 내 CTA도 완전 pill 대신 둥근 사각형으로 통일 */
@media (max-width: 1024px) {
  .nav-list a.nav-cta { border-radius: 14px; }
}

/* ---------- 공통 타이포 헬퍼 ---------- */
.tm-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #a9c2ff;
  margin-bottom: 16px;
}
.tm-eyebrow--dark { color: var(--tm-blue); }

.tm-title {
  font-size: 34px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--tm-navy);
  margin-bottom: 18px;
}
.tm-title--light { color: #ffffff; }
.tm-title--sm { font-size: 26px; }

.tm-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--tm-muted);
  max-width: 640px;
}
.tm-lead--center { margin-left: auto; margin-right: auto; }
.tm-lead--light { color: #c6d4f2; }

.tm-head { margin-bottom: 44px; }
.tm-head--center { text-align: center; }

@media (max-width: 768px) {
  .tm-title { font-size: 25px; }
  .tm-title--sm { font-size: 22px; }
  .tm-lead { font-size: 15.5px; }
}

/* 화살표 버튼 */
.tm-btn-arrow__i {
  transition: transform 0.2s ease;
}
.tm-btn-arrow:hover .tm-btn-arrow__i {
  transform: translateX(3px);
}
.btn-light {
  background: #ffffff;
  color: var(--tm-navy);
}
.btn-light:hover { background: #eef3ff; }

/* ========================================================================
   1. HERO
   ======================================================================== */
.tm-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #12295c 0%, #1e56d6 60%, #2f6bf0 100%);
  color: #ffffff;
  padding: 92px 0 96px;
  scroll-margin-top: 80px;
}
.tm-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tm-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.tm-hero__glow--1 {
  width: 460px; height: 460px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, #4f86ff 0%, transparent 70%);
}
.tm-hero__glow--2 {
  width: 380px; height: 380px;
  bottom: -160px; left: -100px;
  background: radial-gradient(circle, #1b3f9e 0%, transparent 70%);
}
.tm-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 75%);
}

.tm-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.tm-hero__title {
  font-size: 42px;
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.tm-hero__title-accent {
  color: #bcd2ff;
}
.tm-hero__sub {
  font-size: 18px;
  line-height: 1.75;
  color: #d7e2fb;
  margin-bottom: 30px;
}
.tm-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.tm-hero__badges li {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #eaf1ff;
}

/* Hero 차량 비주얼 */
.tm-hero__visual { position: relative; }
.tm-hero__photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 34px 64px -26px rgba(6, 18, 48, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.tm-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* '오늘 접수 가능 서비스' 카드 — 차량 이미지 하단에 겹쳐 배치 */
.tm-avail {
  position: relative;
  z-index: 2;
  margin: -64px 0 0 auto;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--tm-navy);
  border-radius: 16px;
  padding: 18px 20px 16px;
  box-shadow: 0 26px 50px -24px rgba(6, 18, 48, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.tm-avail__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.tm-avail__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
.tm-avail__label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--tm-navy);
}
.tm-avail__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}
.tm-avail__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--tm-blue-line);
}
.tm-avail__list li:last-child { border-bottom: none; }
.tm-avail__list strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--tm-blue);
}
.tm-avail__list span {
  font-size: 12.5px;
  color: var(--tm-muted);
  text-align: right;
}
.tm-avail__cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: var(--tm-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.2s;
}
.tm-avail__cta:hover { background: var(--tm-blue-strong); }

@media (max-width: 900px) {
  .tm-hero { padding: 60px 0 68px; }
  .tm-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .tm-hero__title { font-size: 32px; }
  .tm-hero__sub { font-size: 16px; }
  .tm-avail { margin: -56px auto 0; }
}
@media (max-width: 480px) {
  .tm-hero__title { font-size: 27px; }
  .tm-avail { max-width: none; margin: -48px 0 0; }
}

/* ========================================================================
   2. 브랜드 소개
   ======================================================================== */
.tm-about { background: #ffffff; }
.tm-about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}
.tm-about__body {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.85;
  color: #46536e;
  max-width: 720px;
}
.tm-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tm-point {
  background: var(--tm-blue-soft);
  border: 1px solid var(--tm-blue-line);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tm-point:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -20px rgba(30, 86, 214, 0.5);
}
.tm-point__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--tm-blue);
  color: #ffffff;
  margin-bottom: 16px;
}
.tm-point__icon svg { width: 28px; height: 28px; }
.tm-point h3 {
  font-size: 18px;
  color: var(--tm-navy);
  margin-bottom: 8px;
}
.tm-point p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #4d5c78;
}
@media (max-width: 768px) {
  .tm-points { grid-template-columns: 1fr; gap: 14px; }
}

/* ========================================================================
   3. 서비스 안내
   ======================================================================== */
.tm-services { background: #f5f8ff; }
.tm-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tm-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e3eaf6;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tm-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -26px rgba(12, 31, 71, 0.45);
  border-color: var(--tm-blue-line);
}
.tm-service-card--featured {
  border-color: var(--tm-blue);
  box-shadow: 0 18px 40px -24px rgba(30, 86, 214, 0.55);
}

/* 카드 상단 사진 */
.tm-service-card__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tm-blue-soft);
}
.tm-service-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.tm-service-card:hover .tm-service-card__photo img { transform: scale(1.05); }

.tm-service-card__badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--tm-blue);
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -6px rgba(30, 86, 214, 0.8);
}
.tm-service-card__num {
  position: absolute;
  top: 12px; left: 14px;
  z-index: 2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(12, 31, 71, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* 카드 본문 */
.tm-service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}
.tm-service-card h3 {
  font-size: 20px;
  color: var(--tm-navy);
  margin-bottom: 14px;
}
.tm-service-card__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  flex: 1;
}
.tm-service-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #47546e;
}
.tm-service-card__list li::before {
  content: '';
  position: absolute;
  left: 2px; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tm-blue);
  opacity: 0.55;
}
.tm-service-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 10px;
  background: var(--tm-navy);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s ease, gap 0.2s ease;
}
.tm-service-card--featured .tm-service-card__cta { background: var(--tm-blue); }
.tm-service-card__cta:hover { gap: 12px; background: var(--tm-blue-strong); }

@media (max-width: 900px) {
  .tm-services__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ========================================================================
   4. 예약 접수
   ======================================================================== */
.tm-reserve {
  background: linear-gradient(160deg, #0c1f47 0%, #16336f 100%);
  color: #ffffff;
}
.tm-reserve__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.tm-reserve__photo {
  margin: 6px 0 4px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 26px 48px -26px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.tm-reserve__photo img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.tm-reserve__notes {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 26px 0;
}
.tm-reserve__notes li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: #cdd9f2;
}
.tm-reserve__notes li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: #7fa8ff;
  font-weight: 800;
}
.tm-reserve__hotline {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.tm-reserve__hotline-k {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #a9c2ff;
}
.tm-reserve__hotline-v {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
}

/* 예약 폼 */
.tm-form {
  background: #ffffff;
  color: var(--tm-ink);
  border-radius: 18px;
  padding: 30px 28px 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.tm-form__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--tm-navy);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2f9;
}
.tm-field { margin-bottom: 16px; }
.tm-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tm-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #35425c;
  margin-bottom: 7px;
}
.tm-field input,
.tm-field select,
.tm-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dde4f0;
  border-radius: 10px;
  background: #fbfcfe;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tm-field input::placeholder,
.tm-field textarea::placeholder { color: #9aa6bd; }
.tm-field input:focus,
.tm-field select:focus,
.tm-field textarea:focus {
  outline: none;
  border-color: var(--tm-blue);
  box-shadow: 0 0 0 3px rgba(30, 86, 214, 0.14);
  background: #ffffff;
}
.tm-field textarea { resize: vertical; min-height: 96px; }

.tm-form__consent {
  margin: 4px 0 20px;
}
.tm-form__consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #46536e;
  line-height: 1.5;
  cursor: pointer;
}
.tm-form__consent input {
  width: 18px; height: 18px;
  margin-top: 1px;
  accent-color: var(--tm-blue);
  flex: none;
}
.tm-form__submit {
  width: 100%;
}
.tm-form__hint {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #8492ad;
  text-align: center;
}
.tm-form__donate {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid #e3e9f4;
  border-radius: 10px;
  background: #f6f9ff;
  font-size: 12px;
  line-height: 1.6;
  color: #5b6b88;
  word-break: keep-all;
}
.tm-form__donate-i {
  flex: none;
  color: var(--tm-blue);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .tm-reserve__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .tm-field-row { grid-template-columns: 1fr; gap: 0; }
  .tm-form { padding: 24px 18px; }
}

/* ========================================================================
   5. 고객센터 / 기사모집
   ======================================================================== */
.tm-support { background: #ffffff; }
.tm-support__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.tm-support__card {
  border-radius: 18px;
  padding: 36px 32px;
  background: #f5f8ff;
  border: 1px solid #e3eaf6;
}
.tm-support__card--recruit {
  background: linear-gradient(150deg, #12295c 0%, #1e56d6 100%);
  color: #ffffff;
  border: none;
}
.tm-support__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 8px 0 24px;
}
.tm-support__info li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tm-support__k {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tm-blue);
}
.tm-support__v {
  font-size: 16px;
  font-weight: 600;
  color: var(--tm-navy);
  line-height: 1.5;
}
.tm-support__v--link { color: var(--tm-blue); font-size: 20px; font-weight: 800; }
.tm-support__lead {
  font-size: 15.5px;
  line-height: 1.8;
  color: #dbe5fb;
  margin: 8px 0 26px;
}

@media (max-width: 768px) {
  .tm-support__grid { grid-template-columns: 1fr; gap: 16px; }
  .tm-support__card { padding: 28px 22px; }
}

/* ========================================================================
   Footer 보강
   ======================================================================== */
/* 어두운 Footer → 원본 컬러 로고를 흰색 라운드 카드 안에 배치.
   로고 자체에는 filter/invert/drop-shadow/outline 등 효과 미적용, 원본 비율 유지. */
.tm-footer__logo {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #e3eaf6;
  border-radius: 16px;
  padding: 14px 22px;
  margin-bottom: 20px;
}
.tm-footer__logo img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  filter: none;
}
@media (max-width: 480px) {
  .tm-footer__logo img { max-width: 200px; }
}
.tm-footer__reg {
  margin: 4px 0 14px;
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.82;
  word-break: keep-all;
}
.tm-footer__reg p { margin: 0; }
.tm-footer__reg span[aria-hidden] {
  margin: 0 4px;
  opacity: 0.45;
}
@media (max-width: 480px) {
  .tm-footer__reg { font-size: 12px; line-height: 1.75; }
}
