/* ═══════════════════════════════════════════════════════
   Korea Universal Logistics Group — Global Stylesheet
   Aesthetic: Industrial Precision · Maritime Authority
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300&family=Archivo+Black&family=Archivo:wght@400;500;600&display=swap');

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

:root {
  /* Palette — deep navy, steel, sharp amber accent */
  --navy:      #07111f;
  --deep:      #0d1e30;
  --ocean:     #12283d;
  --steel:     #1f3550;
  --rim:       #2a4560;
  --amber:     #e8a020;
  --amber-lt:  #f5c060;
  --fog:       #7d9ab8;
  --silver:    #b8ccd8;
  --white:     #eef2f6;
  --red:       #c83030;

  --font-display: 'Archivo Black', sans-serif;
  --font-head:    'Archivo', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:    3px;
  --ease:      cubic-bezier(.4,0,.2,1);
  --dur:       .28s;
}

/* ── BASE ──────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── SCROLLBAR ──────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--amber); }

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: 70px;
  display: flex; align-items: center;
  padding: 0 5vw;
  background: rgba(7,17,31,.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232,160,32,.18);
}
.nav-logo { flex-shrink: 0; margin-right: 40px; }
.nav-logo img { height: 38px; }
.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; flex: 1;
}
.nav-links li a {
  font-family: var(--font-head); font-weight: 500; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--fog); padding: 6px 12px;
  border-radius: var(--radius);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--amber); background: rgba(232,160,32,.08);
}
.nav-phone {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; color: var(--amber);
  border: 1px solid rgba(232,160,32,.35);
  padding: 7px 18px; border-radius: var(--radius);
  transition: background var(--dur), color var(--dur);
}
.nav-phone:hover { background: var(--amber); color: var(--navy); }

/* mobile nav toggle (CSS-only) */
.nav-toggle { display: none; cursor: pointer; background: none; border: none; padding: 6px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: transform .25s;
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh; padding-top: 70px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 60%;
  filter: brightness(.28) saturate(.7);
  transform-origin: center;
  animation: heroScale 18s ease-in-out infinite alternate;
}
@keyframes heroScale {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
/* diagonal overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(145deg, rgba(7,17,31,.98) 40%, rgba(7,17,31,.45) 100%),
    linear-gradient(to right, rgba(7,17,31,.8) 0%, transparent 70%);
}
/* amber diagonal stripe */
.hero::after {
  content: '';
  position: absolute; z-index: 1;
  bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--amber), transparent 60%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 80px 5vw; max-width: 960px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 600;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 26px;
  opacity: 0; animation: fadeUp .8s .2s var(--ease) forwards;
}
.hero-eyebrow::before {
  content: ''; width: 40px; height: 1px; background: var(--amber);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 6.2rem);
  line-height: .96; letter-spacing: -.01em;
  color: var(--white); margin-bottom: 30px;
  opacity: 0; animation: fadeUp .9s .35s var(--ease) forwards;
}
.hero h1 em {
  font-style: normal; color: var(--amber);
  display: block;
}
.hero-sub {
  font-size: 1.05rem; line-height: 1.8; color: var(--silver);
  max-width: 560px; margin-bottom: 42px;
  opacity: 0; animation: fadeUp .9s .5s var(--ease) forwards;
}
.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .9s .65s var(--ease) forwards;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700;
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 32px; border-radius: var(--radius);
  border: none; cursor: pointer; transition: all var(--dur) var(--ease);
}
.btn-amber {
  background: var(--amber); color: var(--navy);
}
.btn-amber:hover {
  background: var(--amber-lt); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,160,32,.4);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
}
.btn-ghost:hover {
  border-color: var(--amber); color: var(--amber);
}

/* scroll indicator */
.hero-scroll {
  position: absolute; bottom: 36px; left: 5vw; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fog);
  animation: fadeIn 1.4s 1.2s both;
}
.hero-scroll::before {
  content: ''; width: 44px; height: 1px; background: var(--rim);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ══════════════════════════════════
   SECTIONS — COMMON
══════════════════════════════════ */
.section       { padding: 96px 5vw; }
.section-dark  { background: var(--deep); }
.section-ocean { background: var(--ocean); }
.section-navy  { background: var(--navy); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--amber);
}
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05; color: var(--white);
  margin-bottom: 20px;
}
.sec-sub {
  font-size: .97rem; color: var(--silver); line-height: 1.82;
  max-width: 640px; margin-bottom: 56px;
}
.rule { width: 52px; height: 3px; background: var(--amber); margin-bottom: 32px; }

/* ══════════════════════════════════
   COMPANY GRID (homepage cards)
══════════════════════════════════ */
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.company-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.company-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.5) saturate(.65);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}
.company-card:hover img {
  filter: brightness(.3) saturate(.5);
  transform: scale(1.06);
}
.company-card-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(7,17,31,.9) 0%, transparent 55%);
}
.company-card:hover .company-card-body {
  background: linear-gradient(to top, rgba(7,17,31,.98) 0%, rgba(7,17,31,.5) 100%);
}
.company-card-name {
  font-family: var(--font-display); font-size: 1.15rem;
  text-transform: uppercase; color: var(--white); margin-bottom: 6px;
  transition: color var(--dur);
}
.company-card:hover .company-card-name { color: var(--amber); }
.company-card-services {
  list-style: none; display: flex; flex-direction: column; gap: 3px;
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.company-card:hover .company-card-services { max-height: 120px; }
.company-card-services li {
  font-size: .76rem; color: var(--silver); letter-spacing: .04em;
  padding-left: 10px; position: relative;
}
.company-card-services li::before {
  content: '—'; position: absolute; left: -4px; color: var(--amber); font-size: .65rem;
}
.company-card-arrow {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(232,160,32,.12); border: 1px solid rgba(232,160,32,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber); font-size: .8rem;
  opacity: 0; transform: scale(.8) rotate(-45deg);
  transition: opacity .3s, transform .3s var(--ease);
}
.company-card:hover .company-card-arrow {
  opacity: 1; transform: scale(1) rotate(0deg);
}

/* wide card (last one spans 2 cols if odd) */
.company-card.wide { grid-column: span 2; }
.company-card.wide .company-card-name { font-size: 1.5rem; }

/* ══════════════════════════════════
   STATS BAR
══════════════════════════════════ */
.stats-bar {
  background: var(--steel);
  border-top: 1px solid var(--rim);
  border-bottom: 1px solid var(--rim);
  padding: 52px 5vw;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 40px;
}
.stat { text-align: center; }
.stat-n {
  font-family: var(--font-display); font-size: 3rem; line-height: 1;
  color: var(--amber);
}
.stat-l { font-size: .8rem; color: var(--fog); margin-top: 6px; letter-spacing: .04em; }

/* ══════════════════════════════════
   SPLIT LAYOUT
══════════════════════════════════ */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center;
}
.split-img {
  position: relative;
}
.split-img img {
  width: 100%; border-radius: var(--radius);
  filter: saturate(.75);
}
.split-img::after {
  content: '';
  position: absolute; inset: -14px;
  border: 1px solid rgba(232,160,32,.15);
  border-radius: var(--radius);
  z-index: -1;
}

/* ══════════════════════════════════
   HISTORY TIMELINE
══════════════════════════════════ */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: grid; grid-template-columns: 110px 1fr;
  gap: 20px; padding: 18px 0;
  border-bottom: 1px solid var(--rim);
  align-items: baseline;
}
.tl-item:last-child { border-bottom: none; }
.tl-year {
  font-family: var(--font-display); font-size: .95rem;
  color: var(--amber); letter-spacing: .04em;
}
.tl-desc { font-size: .87rem; color: var(--silver); line-height: 1.7; }

/* ══════════════════════════════════
   SERVICE CARDS (UFC, services grid)
══════════════════════════════════ */
.service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
}
.service-tile {
  background: var(--steel); padding: 0;
  overflow: hidden; position: relative;
  aspect-ratio: 1;
}
.service-tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.6) saturate(.6);
  transition: transform .5s var(--ease), filter .4s;
}
.service-tile:hover img {
  transform: scale(1.08); filter: brightness(.4) saturate(.5);
}
.service-tile-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(7,17,31,.9), transparent);
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--white);
  transition: color var(--dur);
}
.service-tile:hover .service-tile-label { color: var(--amber); }

/* ══════════════════════════════════
   SERVICE DETAIL CARDS (UFC page)
══════════════════════════════════ */
.ufc-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.ufc-card {
  background: var(--ocean);
  border: 1px solid var(--rim);
  border-radius: var(--radius);
  padding: 32px 36px;
  transition: border-color var(--dur), transform var(--dur);
}
.ufc-card:hover {
  border-color: var(--amber); transform: translateY(-4px);
}
.ufc-card-num {
  font-family: var(--font-display); font-size: 2.4rem; color: var(--rim);
  line-height: 1; margin-bottom: 12px;
  transition: color var(--dur);
}
.ufc-card:hover .ufc-card-num { color: var(--amber); }
.ufc-card h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--white); margin-bottom: 14px;
}
.ufc-card p { font-size: .87rem; color: var(--silver); line-height: 1.8; }

/* ══════════════════════════════════
   STRENGTH LIST
══════════════════════════════════ */
.strength-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.strength-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: .88rem; color: var(--silver); line-height: 1.7;
  padding: 12px 0; border-bottom: 1px solid var(--rim);
}
.strength-list li::before {
  content: '→'; color: var(--amber); flex-shrink: 0; margin-top: 1px;
}
.strength-list li:last-child { border-bottom: none; }

/* ══════════════════════════════════
   AFFILIATE CARDS (Other companies)
══════════════════════════════════ */
.affiliate-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.affiliate-card {
  background: var(--ocean); border: 1px solid var(--rim);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--dur), transform var(--dur);
}
.affiliate-card:hover { border-color: var(--amber); transform: translateY(-4px); }
.affiliate-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--steel); }
.affiliate-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.7) brightness(.85);
  transition: transform .5s, filter .4s;
}
.affiliate-card:hover .affiliate-card-img img {
  transform: scale(1.05); filter: saturate(.9) brightness(.95);
}
.affiliate-card-body { padding: 24px; }
.affiliate-card-airline {
  font-family: var(--font-display); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 8px;
}
.affiliate-card h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--white); margin-bottom: 10px;
}
.affiliate-card p { font-size: .84rem; color: var(--silver); line-height: 1.75; }

/* division block */
.division {
  background: var(--ocean); border: 1px solid var(--rim);
  border-radius: var(--radius); padding: 40px;
  margin-bottom: 24px;
}
.division h2 {
  font-family: var(--font-display); font-size: 1.6rem;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--rim);
}
.division p { font-size: .9rem; color: var(--silver); line-height: 1.85; margin-bottom: 14px; }
.division h3 {
  font-family: var(--font-head); font-weight: 700;
  font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber); margin: 20px 0 8px;
}
.client-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.client-tag {
  font-size: .75rem; font-family: var(--font-head); font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  background: var(--steel); color: var(--silver);
  padding: 5px 12px; border-radius: var(--radius);
  border: 1px solid var(--rim);
}

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  background: var(--ocean); border: 1px solid var(--rim);
  border-radius: var(--radius); padding: 22px 26px;
  transition: border-color var(--dur);
}
.contact-card:hover { border-color: var(--amber); }
.contact-card-company {
  font-family: var(--font-display); font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 10px;
}
.contact-card-lines { display: flex; flex-direction: column; gap: 4px; }
.contact-card-lines span,
.contact-card-lines a {
  font-size: .82rem; color: var(--silver); line-height: 1.5;
}
.contact-card-lines a:hover { color: var(--amber-lt); }
.contact-hq {
  background: var(--steel); border: 1px solid var(--rim);
  border-radius: var(--radius); padding: 26px;
  margin-bottom: 14px;
}
.contact-hq h3 {
  font-family: var(--font-display); font-size: 1rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--white); margin-bottom: 10px;
}
.contact-hq p { font-size: .85rem; color: var(--silver); line-height: 1.75; }

/* form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-family: var(--font-head); font-weight: 700;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fog);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--ocean);
  border: 1px solid var(--rim);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white); font-family: var(--font-body); font-size: .88rem;
  outline: none;
  transition: border-color var(--dur), background var(--dur);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber); background: var(--steel);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ══════════════════════════════════
   CUSTOMER LOGO STRIP
══════════════════════════════════ */
.customers-img { text-align: center; }
.customers-img img {
  max-width: 100%; filter: brightness(.9) saturate(.6);
  transition: filter .3s;
}
.customers-img img:hover { filter: brightness(1) saturate(1); }

/* ══════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════ */
.page-hero {
  padding: 130px 5vw 72px;
  background: var(--deep);
  border-bottom: 1px solid var(--rim);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 55%;
  background: linear-gradient(135deg, transparent 0%, rgba(232,160,32,.04) 100%);
}
.page-hero-eyebrow {
  font-family: var(--font-head); font-weight: 700;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--amber); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.0; color: var(--white); margin-bottom: 20px;
}
.page-hero p {
  font-size: 1rem; color: var(--silver); max-width: 580px; line-height: 1.8;
}

/* ══════════════════════════════════
   CTA BAND
══════════════════════════════════ */
.cta-band {
  background: var(--amber);
  padding: 64px 5vw; text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy); margin-bottom: 12px;
}
.cta-band p { color: rgba(7,17,31,.72); margin-bottom: 28px; }
.cta-band .btn-amber { background: var(--navy); color: var(--amber); }
.cta-band .btn-amber:hover { background: var(--deep); color: var(--amber-lt); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--rim);
  padding: 60px 5vw 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { margin-bottom: 18px; }
.footer-logo img { height: 34px; filter: brightness(.85); }
.footer-tagline { font-size: .84rem; color: var(--fog); line-height: 1.75; max-width: 240px; }
.footer-col h4 {
  font-family: var(--font-head); font-weight: 700;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .84rem; color: var(--fog);
  transition: color var(--dur);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--rim); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-copy { font-size: .77rem; color: var(--fog); }
.footer-badge {
  font-family: var(--font-head); font-weight: 700;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); border: 1px solid rgba(232,160,32,.3);
  padding: 4px 12px; border-radius: var(--radius);
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1100px) {
  .company-grid { grid-template-columns: repeat(2,1fr); }
  .company-card.wide { grid-column: span 1; }
  .service-grid { grid-template-columns: repeat(3,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .split, .contact-layout, .ufc-cards { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .affiliate-grid { grid-template-columns: repeat(2,1fr); }
  .service-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .section { padding: 64px 5vw; }
  .company-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 5vw; }
  .affiliate-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr; }
}
