/* ============================================================
   (주)태엔종합물류 — Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary:   #3568d4;   /* Lighter Brand Blue */
  --accent:    #d43636;   /* Brand Red */
  --accent2:   #e87070;   /* Light Red */
  --dark:      #1e3d8a;
  --text:      #333;
  --text-light:#666;
  --bg:        #f4f6fb;
  --bg-light:  #f4f6fb;
  --white:     #fff;
  --border:    #dde3f0;
  --transition: 0.3s ease;
  --shadow:    0 4px 24px rgba(53,104,212,0.10);
  --radius:    8px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Pretendard', 'Noto Sans KR', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label { color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--primary); line-height: 1.3; margin-bottom: 18px; }
.section-desc  { color: var(--text-light); font-size: 1rem; max-width: 600px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-desc { margin: 0 auto; }
.btn-primary {
  display: inline-block; background: var(--accent); color: var(--white);
  padding: 13px 32px; border-radius: 4px; font-size: 0.95rem; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: #aa1f1f; transform: translateY(-2px); }
.btn-outline {
  display: inline-block; border: 2px solid var(--white); color: var(--white);
  padding: 11px 28px; border-radius: 4px; font-size: 0.95rem; font-weight: 600;
  transition: background var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: transparent; box-shadow: none;
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.13);
}
#header .logo .logo-main, #header .logo .logo-sub { color: #fff !important; transition: color var(--transition); }
#header.scrolled .logo .logo-main, #header.scrolled .logo .logo-sub { color: #000 !important; }
#header .gnb ul li a { color: #fff; transition: color var(--transition), background var(--transition); }
#header.scrolled .gnb ul li a { color: var(--text); }
#header .hamburger span { background: #fff; }
#header.scrolled .hamburger span { background: var(--text); }
#header .lang-toggle { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
#header.scrolled .lang-toggle { background: var(--bg); border-color: var(--border); color: var(--text); }
#header .btn-estimate { border-color: #fff; color: #fff; }
#header.scrolled .btn-estimate { border-color: var(--primary); color: var(--primary); }
#header .mob-lang-hdr { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
#header.scrolled .mob-lang-hdr { background: var(--bg); border-color: var(--border); color: var(--text); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; height: 72px; gap: 32px;
}
.logo a { display: flex; align-items: center; gap: 6px; }
.logo a, .logo a:hover, .logo a:visited, .logo a:active, .logo a:focus { text-decoration: none; color: #000 !important; }
.logo-img { height: 34px; width: auto; flex-shrink: 0; }
.logo-text { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }
.logo .logo-main { font-size: 1.25rem; font-weight: 600; color: #000 !important; letter-spacing: -0.02em; white-space: nowrap; }
.logo .logo-sub  { font-size: 0.72rem; color: #000 !important; font-weight: 400; white-space: nowrap; }
.gnb { flex: 1; }
.gnb ul { display: flex; gap: 4px; }
.gnb ul li a {
  display: block; padding: 8px 16px; color: var(--text);
  font-size: 0.95rem; font-weight: 500; border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.gnb ul li a:hover { color: var(--primary); background: var(--bg); }
/* scrolled: shadow만 강화, 색상은 항상 동일 */

/* Per-item Dropdown Nav */
.gnb { flex: 1; position: relative; }
.gnb ul li { position: relative; }
/* Small dropdown (회사소개, 고객센터) */
.gnb-drop {
  position: absolute; top: 100%; left: 0;
  background: var(--white); border-top: 3px solid var(--primary);
  box-shadow: 0 12px 40px rgba(53,104,212,0.14);
  border-radius: 0 0 10px 10px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 1001;
}
.gnb-has-drop:hover .gnb-drop { opacity: 1; visibility: visible; }
.gnb-drop-sm { min-width: 180px; padding: 8px 0; }
.gnb-drop-sm a {
  display: block; padding: 10px 20px; margin: 1px 8px;
  color: var(--text); font-size: 0.9rem; font-weight: 500; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.gnb-drop-sm a:hover { color: var(--primary); background: var(--bg); }
/* Wide dropdown (사업영역) */
.gnb-drop-wide { min-width: 600px; left: 50%; transform: translateX(-35%); }
.mega-inner {
  max-width: 1200px; margin: 0 auto; padding: 28px 24px;
  display: flex; gap: 0;
}
.mega-col {
  display: flex; flex-direction: column; flex: 1;
  padding: 0 28px; border-right: 1px solid var(--border);
}
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child  { border-right: none; }
.mega-col-title {
  display: block; font-size: 0.72rem; font-weight: 800;
  color: var(--primary); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
/* Override header's white link color inside dropdowns (needs higher specificity than #header .gnb ul li a) */
#header .gnb .gnb-drop a, #header.scrolled .gnb .gnb-drop a {
  display: block; padding: 7px 8px; color: var(--text) !important;
  font-size: 0.9rem; border-radius: 4px; font-weight: 500;
  background: transparent;
}
#header .gnb .gnb-drop a.mega-sub {
  font-size: 0.82rem; color: var(--text-light) !important; padding: 5px 8px 5px 16px;
  position: relative; font-weight: 400;
}
#header .gnb .gnb-drop a.mega-sub::before { content: '—'; position: absolute; left: 4px; color: var(--border); font-size: 0.7rem; }
#header .gnb .gnb-drop a:hover { color: var(--primary) !important; background: var(--bg); }
/* Small dropdown links */
#header .gnb .gnb-drop-sm a { padding: 10px 20px; margin: 1px 8px; border-radius: 6px; }

/* Mobile accordion menu */
.mobile-accordion { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-acc-title {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; color: var(--white); font-size: 1rem; font-weight: 600;
  background: none; border: none; cursor: pointer; text-align: left;
}
.mobile-acc-title:hover { background: rgba(255,255,255,0.08); }
.acc-arrow {
  font-size: 1.1rem; color: rgba(255,255,255,0.5);
  transition: transform 0.25s; display: inline-block;
}
.mobile-accordion.open .acc-arrow { transform: rotate(90deg); }
.mobile-acc-body {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  background: rgba(0,0,0,0.18);
}
.mobile-accordion.open .mobile-acc-body { max-height: 320px; }
.mobile-acc-body li a {
  display: block; padding: 11px 24px 11px 36px;
  color: rgba(255,255,255,0.8); font-size: 0.93rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-acc-body li a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.mobile-direct {
  display: block; padding: 14px 24px; color: var(--white); font-size: 1rem; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-direct:hover { background: rgba(255,255,255,0.08); }

/* Page Hero (sub-pages) */
.page-hero {
  background: linear-gradient(135deg, #1c2c47 0%, #2c4a73 100%);
  padding: 140px 0 64px; text-align: center; color: var(--white);
}
.page-hero-label {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.15em;
  color: var(--accent2); margin-bottom: 14px;
}
.page-hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 20px; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.88rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* Sub-page common content */
.sub-page-content { padding: 80px 0; }
.svc-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px;
}
.svc-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  border-top: 4px solid var(--primary); box-shadow: var(--shadow);
}
.svc-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.svc-card p { color: var(--text-light); line-height: 1.8; font-size: 0.93rem; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--text-light); line-height: 1.7; font-size: 0.95rem;
}
.feature-list li::before {
  content: '✓'; color: var(--primary); font-weight: 700;
  font-size: 1rem; flex-shrink: 0; margin-top: 2px;
}
.process-steps {
  display: flex; gap: 0; margin-top: 48px; flex-wrap: wrap;
}
.process-step {
  flex: 1; min-width: 120px; text-align: center; position: relative; padding: 28px 16px;
  background: var(--bg); border-radius: 0;
}
.process-step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.process-step:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.process-step + .process-step::before {
  content: '›'; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--primary); font-weight: 700;
}
.step-num {
  width: 36px; height: 36px; background: var(--primary); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; margin: 0 auto 10px;
}
.process-step p { font-size: 0.85rem; color: var(--text-light); }
.tags-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tag-item {
  padding: 8px 18px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 20px; font-size: 0.88rem; color: var(--text);
}
.page-cta {
  background: linear-gradient(135deg, #1c2c47, #2c4a73);
  padding: 72px 0; text-align: center; color: var(--white);
}
.page-cta h2 { font-size: 2rem; font-weight: 900; margin-bottom: 16px; }
.page-cta p { color: rgba(255,255,255,0.75); margin-bottom: 36px; font-size: 1rem; }

/* Timeline (history page) — premium two-column */
.timeline { position: relative; padding: 40px 0 0; max-width: 900px; margin: 0 auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--primary) 0%, rgba(53,104,212,0.1) 100%);
}
.timeline-item { position: relative; display: flex; align-items: flex-start; margin-bottom: 52px; }
/* --- right: year left | card right --- */
.timeline-item.timeline-right { flex-direction: row; }
.timeline-item.timeline-right .timeline-year-wrap {
  width: 50%; padding-right: 52px; padding-top: 14px;
  display: flex; justify-content: flex-end; align-items: flex-start; flex-shrink: 0;
}
.timeline-item.timeline-right .timeline-content {
  width: 50%; padding-left: 52px; position: relative; flex-shrink: 0;
}
.timeline-item.timeline-right .timeline-dot { position: absolute; left: -9px; top: 15px; }
.timeline-item.timeline-right .timeline-dot-founding { left: -11px; top: 13px; }
/* --- left: card left | year right --- */
.timeline-item.timeline-left { flex-direction: row-reverse; }
.timeline-item.timeline-left .timeline-year-wrap {
  width: 50%; padding-left: 52px; padding-top: 14px;
  display: flex; justify-content: flex-start; align-items: flex-start; flex-shrink: 0;
}
.timeline-item.timeline-left .timeline-content {
  width: 50%; padding-right: 52px; position: relative; flex-shrink: 0;
}
.timeline-item.timeline-left .timeline-dot { position: absolute; right: -9px; top: 15px; }
.timeline-item.timeline-left .timeline-dot-founding { right: -11px; top: 13px; }
/* --- dot --- */
.timeline-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary); z-index: 2; flex-shrink: 0;
}
.timeline-dot-founding {
  width: 22px; height: 22px; background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent);
}
/* --- year badge --- */
.year-badge {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: 0.88rem; font-weight: 700; padding: 6px 20px; border-radius: 999px;
  white-space: nowrap; letter-spacing: -0.01em; box-shadow: 0 2px 8px rgba(53,104,212,0.25);
}
.year-badge.year-current { background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%); }
.year-badge.year-founding {
  background: linear-gradient(135deg, var(--accent) 0%, #b85555 100%);
  box-shadow: 0 2px 8px rgba(232,112,112,0.3);
}
/* --- card --- */
.timeline-card {
  background: #fff; border-radius: 14px; padding: 24px 24px 22px;
  box-shadow: 0 3px 16px rgba(53,104,212,0.08), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid rgba(53,104,212,0.07); transition: box-shadow 0.25s;
}
.timeline-card:hover { box-shadow: 0 8px 30px rgba(53,104,212,0.14), 0 2px 8px rgba(0,0,0,0.06); }
.timeline-card-founding {
  border-color: rgba(232,112,112,0.15);
  background: linear-gradient(135deg, #fff9f9 0%, #fff 100%);
}
.timeline-card-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.timeline-card-header h3 { font-size: 1rem; font-weight: 700; color: var(--dark); line-height: 1.4; margin: 0; }
/* --- tags --- */
.timeline-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 3px 10px;
  border-radius: 999px; letter-spacing: 0.04em; white-space: nowrap;
}
.tag-present { background: rgba(5,150,105,0.09); color: #059669; border: 1px solid rgba(5,150,105,0.18); }
.tag-founding { background: rgba(232,112,112,0.1); color: var(--accent); border: 1px solid rgba(232,112,112,0.18); }
/* --- list --- */
.timeline-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.timeline-list li { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; padding-left: 15px; position: relative; }
.timeline-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary); opacity: 0.35;
}

/* Office cards (directions page) */
.office-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.office-card {
  background: var(--white); border-radius: var(--radius); padding: 36px;
  box-shadow: var(--shadow);
}
.office-card.hq { border-top: 4px solid var(--primary); }
.office-card.busan { border-top: 4px solid var(--accent); }
.office-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; color: var(--dark); }
.office-map { border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.office-info-row { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.office-info-label { font-weight: 700; color: var(--primary); font-size: 0.9rem; width: 60px; flex-shrink: 0; }
.office-info-val { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* Notice board */
.notice-table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.notice-table th {
  background: var(--primary); color: var(--white); padding: 14px 20px;
  font-size: 0.9rem; font-weight: 600; text-align: left;
}
.notice-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.notice-table tr:hover td { background: var(--bg); }
.notice-table td a { color: var(--text); }
.notice-table td a:hover { color: var(--primary); }
.n-badge {
  display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 0.75rem;
  font-weight: 700; margin-right: 8px;
}
.n-badge.new { background: var(--accent); color: var(--white); }
.n-badge.notice { background: var(--primary); color: var(--white); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 4px; font-size: 0.9rem; cursor: pointer;
  color: var(--text); background: var(--white);
}
.page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* FAQ */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 0.98rem;
  color: var(--dark); gap: 16px;
}
.faq-q:hover { background: var(--bg); }
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--primary); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  background: var(--bg);
}
.faq-a-inner { padding: 20px 24px; color: var(--text-light); line-height: 1.8; font-size: 0.95rem; }
.faq-item.open .faq-a { max-height: 300px; }

/* Philosophy cards */
.philosophy-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.philosophy-card {
  background: var(--white); border-radius: var(--radius); padding: 40px 36px;
  box-shadow: var(--shadow); border-left: 5px solid var(--primary);
}
.philosophy-card.accent { border-left-color: var(--accent); }
.phil-num { font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 8px; }
.philosophy-card.accent .phil-num { color: var(--accent); }
.phil-eng { font-size: 0.85rem; color: var(--text-light); letter-spacing: 0.1em; margin-bottom: 14px; }
.philosophy-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.philosophy-card p { color: var(--text-light); line-height: 1.8; font-size: 0.93rem; }
.vision-quote {
  background: linear-gradient(135deg, #1c2c47 0%, #2c4a73 100%); color: var(--white); border-radius: var(--radius);
  padding: 48px; text-align: center; margin-bottom: 64px;
}
.vision-quote blockquote { font-size: 1.5rem; font-weight: 700; line-height: 1.6; }
.vision-quote cite { display: block; margin-top: 16px; color: rgba(255,255,255,0.6); font-size: 0.9rem; font-style: normal; }

/* Responsive for sub-pages */
@media (max-width: 768px) {
  .page-hero h1 { font-size: 1.8rem; }
  .svc-cards { grid-template-columns: 1fr; }
  .office-cards { grid-template-columns: 1fr; }
  .philosophy-cards { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .process-step { border-radius: var(--radius) !important; }
  .process-step + .process-step::before { display: none; }
  .timeline::before { left: 22px; transform: none; }
  .timeline-item.timeline-right, .timeline-item.timeline-left {
    flex-direction: column; padding-left: 52px;
  }
  .timeline-item.timeline-right .timeline-year-wrap,
  .timeline-item.timeline-left .timeline-year-wrap {
    width: 100%; padding: 0 0 12px 0; justify-content: flex-start;
  }
  .timeline-item.timeline-right .timeline-content,
  .timeline-item.timeline-left .timeline-content {
    width: 100%; padding: 0; position: static;
  }
  .timeline-item.timeline-right .timeline-dot,
  .timeline-item.timeline-left .timeline-dot {
    position: absolute; left: 13px; right: auto; top: 12px;
  }
  .timeline-item.timeline-right .timeline-dot-founding,
  .timeline-item.timeline-left .timeline-dot-founding {
    left: 11px; top: 10px;
  }
  .notice-table { font-size: 0.82rem; }
}

.btn-consult {
  display: inline-block; border: 1.5px solid var(--accent); color: var(--white);
  background: var(--accent); padding: 8px 20px; border-radius: 4px;
  font-size: 0.88rem; font-weight: 600; transition: var(--transition);
}
.btn-consult:hover { background: #aa1f1f; }
.btn-estimate {
  display: inline-block; border: 1.5px solid var(--primary); color: var(--primary);
  background: transparent; padding: 8px 20px; border-radius: 4px;
  font-size: 0.88rem; font-weight: 600; transition: var(--transition); margin-left: 8px;
}
.btn-estimate:hover { background: var(--bg); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* Mobile Menu */
.mobile-menu {
  display: none; background: linear-gradient(180deg, #2c3f5e 0%, #3a5275 100%);
  padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
}
.mobile-menu.open { max-height: 600px; padding: 8px 0 16px; }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu ul li a {
  display: block; padding: 12px 24px; color: rgba(255,255,255,0.9);
  font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu ul li a:hover { background: rgba(255,255,255,0.1); }

/* ============================================================
   HERO — 2-column layout (left: slide text, right: quote card)
   ============================================================ */


.hero {
  position: relative; height: 88vh; min-height: 580px;
  display: flex; align-items: center; overflow: hidden;
}
/* Canvas animated background */
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}

.hero-slides { position: absolute; inset: 0; z-index: 1; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-1 { background: linear-gradient(110deg, rgba(3,12,32,0.60) 0%, rgba(8,22,55,0.38) 55%, rgba(0,0,0,0.18) 100%); }
.slide-2 { background: linear-gradient(110deg, rgba(2,10,28,0.62) 0%, rgba(5,18,50,0.40) 55%, rgba(0,0,0,0.18) 100%); }
.slide-3 { background: linear-gradient(110deg, rgba(5,3,20,0.62) 0%, rgba(10,18,48,0.40) 55%, rgba(0,0,0,0.18) 100%); }

/* Decorative pattern overlay */
.slide::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: repeating-linear-gradient(
    45deg, rgba(255,255,255,0.012) 0, rgba(255,255,255,0.012) 1px,
    transparent 0, transparent 50%
  );
  background-size: 20px 20px;
}
/* Decorative circle */
.slide::after {
  content: ''; position: absolute; right: -50px; top: 50%; transform: translateY(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(204,43,43,0.10) 0%, transparent 70%);
  z-index: 0;
}


/* Hero 2-col grid */
.hero-grid {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1fr 1.35fr;
  gap: 40px; align-items: center; width: 100%;
  padding-top: 72px; /* clear fixed header */
}
.hero-left { padding: 0; }

/* Slide text panels */
.slide-text { display: none; }
.slide-text.active { display: block; }

/* Right: hero quote card */
.hero-right {
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.32);
  background: var(--white);
}
.hero-quote-label {
  background: var(--primary); color: rgba(255,255,255,0.85);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-align: center; padding: 10px 16px;
}

.slide-tag {
  color: var(--accent); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; margin-bottom: 20px;
}
.hero-left h1 {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900;
  color: var(--white); line-height: 1.25; margin-bottom: 18px;
}
.slide-desc { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.8; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Responsive: stack on smaller screens */
@media (max-width: 960px) {
  .hero { height: auto; min-height: 0; padding: 100px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 0; }
  .hero-right { max-width: 560px; margin: 0 auto; }
  .slide::after { display: none; }
  .hero-left h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
}

/* Mobile-specific: stacked hero with estimate card visible */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 0;
    padding: 88px 0 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 0;
    align-items: start;
  }
  .hero-left {
    text-align: center;
  }
  .hero-left h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
    line-height: 1.2;
  }
  .slide-tag {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }
  .slide-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }
  .hero-btns {
    justify-content: center;
    gap: 12px;
  }
  .hero-right {
    display: block;
    max-width: 100%;
    margin: 0;
  }
}

/* Slide Controls */
.slide-nav {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: none; gap: 10px; z-index: 10;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); transition: var(--transition);
}
.dot.active { background: var(--accent); transform: scale(1.3); }
.slide-prev, .slide-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: var(--white); font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.slide-prev:hover, .slide-next:hover { background: var(--accent); }
.slide-prev { left: 24px; }
.slide-next { right: 24px; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 40px; right: 40px; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span { color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.15em; writing-mode: vertical-rl; }
.scroll-line { width: 1px; height: 50px; background: linear-gradient(var(--accent), transparent); }

/* ============================================================
   QUICK SERVICES
   ============================================================ */
.quick-services {
  background: var(--white); padding: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative; z-index: 5;
}
.qs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.qs-item {
  display: flex; align-items: center; gap: 14px;
  padding: 24px 20px; border-right: 1px solid var(--border);
  cursor: pointer; transition: background var(--transition);
}
.qs-item:last-child { border-right: none; }
.qs-item:hover { background: var(--bg-light); }
.qs-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-light); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.4rem;
  border: 2px solid var(--border); transition: var(--transition);
}
.qs-item:hover .qs-icon { background: var(--accent); border-color: var(--accent); }
.qs-icon img { width: 24px; height: 24px; filter: invert(0); }
.qs-text strong { display: block; font-size: 0.95rem; color: var(--primary); font-weight: 700; }
.qs-text p { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }

/* SVG icons in quick services */
.qs-icon img { width: 28px; height: 28px; filter: invert(17%) sepia(40%) saturate(1000%) hue-rotate(193deg) brightness(80%); }
.qs-item:hover .qs-icon img { filter: invert(1); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 100px 0; background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-inner.about-text-only { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }

.about-img { position: relative; }
.about-photo {
  width: 100%; border-radius: var(--radius); display: block;
  object-fit: cover; box-shadow: var(--shadow);
}
.about-badge {
  position: absolute; top: 24px; right: 24px;
  background: var(--primary); color: var(--white);
  padding: 20px 24px; border-radius: var(--radius); text-align: center;
  box-shadow: var(--shadow); z-index: 2;
}
.badge-num { display: block; font-size: 2rem; font-weight: 900; color: var(--accent2); }
.badge-txt { font-size: 0.82rem; opacity: 0.9; }

.about-content .section-label { margin-bottom: 8px; }
.about-desc { color: var(--text-light); line-height: 1.9; margin-bottom: 28px; }
.about-points { margin-bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.about-points li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.check { color: var(--accent); font-size: 1rem; font-weight: 700; }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--primary); padding: 60px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900;
  color: var(--white);
  white-space: nowrap; display: flex; align-items: baseline; justify-content: center;
}
.stat-num-value {
  display: inline-block; min-width: 3ch; text-align: right; flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.stat-unit { font-size: 1.4rem; font-weight: 700; color: var(--accent2); }
.stat-item p { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin-top: 6px; }

.stats.stats-light {
  background: var(--white); padding: 80px 0;
}
.stats.stats-light .stats-grid {
  gap: 24px;
}
.stats.stats-light .stat-item {
  border-right: none; background: var(--bg); border-radius: var(--radius);
  padding: 36px 24px; transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 12px rgba(30,40,70,0.05);
}
.stats.stats-light .stat-item:hover {
  transform: translateY(-4px); box-shadow: 0 14px 28px rgba(30,40,70,0.1);
}
.stats.stats-light .stat-num { color: #111; }
.stats.stats-light .stat-unit { color: #111; }
.stats.stats-light .stat-item p { color: var(--text-light); font-weight: 500; }
.stat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  background: rgba(26,58,124,0.07);
  border-radius: 14px;
  margin: 0 auto 14px;
  color: #1a3a7c;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 100px 0; background: var(--bg-light); }

/* Services Overview (homepage - screenshot 2 style) */
.services-overview { padding: 100px 0; background: #fafbff; }
.svc-overview-inner {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: center;
}
.svc-overview-desc { color: var(--text-light); line-height: 1.8; margin-top: 12px; font-size: 1.02rem; }
.svc-overview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.svc-ov-card {
  background: var(--white); border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(53,104,212,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block; color: var(--text);
  border: 1px solid var(--border);
}
.svc-ov-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(53,104,212,0.13); }
.svc-ov-icon {
  width: 64px; height: 64px; background: var(--bg);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.svc-ov-icon img { width: 36px; height: 36px; object-fit: contain; }
.svc-ov-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.svc-ov-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* Services Detail Page (services.html - screenshot 3 style) */
.svc-detail-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 80px; }
.svc-detail-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid var(--border);
}
.svc-detail-row.reverse { direction: rtl; }
.svc-detail-row.reverse > * { direction: ltr; }
.svc-detail-img-box {
  border-radius: 16px; aspect-ratio: 4/3; display: flex; align-items: center;
  justify-content: center;
}
.svc-detail-svg { width: 100px; height: 100px; opacity: 0.9; filter: brightness(0) invert(1); }
.sea-fcl-bg { background: linear-gradient(135deg, #1565c0, #3568d4); }
.lcl-bg     { background: linear-gradient(135deg, #00695c, #26a69a); }
.air-bg     { background: linear-gradient(135deg, #4527a0, #7c4dff); }
.land-bg    { background: linear-gradient(135deg, #e65100, #ff8f00); }
.svc-detail-tag {
  display: inline-block; padding: 3px 10px; background: var(--accent);
  color: var(--white); border-radius: 3px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.05em; margin-bottom: 12px;
}
.svc-detail-content h3 { font-size: 1.6rem; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.svc-detail-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.svc-detail-bullets { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.svc-detail-bullets li {
  padding-left: 20px; position: relative; color: var(--text); font-size: 0.92rem; line-height: 1.6;
}
.svc-detail-bullets li::before {
  content: '·'; position: absolute; left: 6px; color: var(--accent); font-weight: 700; font-size: 1.2rem;
}
.svc-detail-link {
  display: inline-block; color: var(--primary); font-weight: 700; font-size: 0.92rem;
  border-bottom: 2px solid var(--primary); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.svc-detail-link:hover { color: var(--accent); border-color: var(--accent); }

/* Addon services grid */
.addon-services { margin-bottom: 60px; }
.addon-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.addon-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px 20px; text-align: center; transition: box-shadow 0.2s, transform 0.2s;
}
.addon-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.addon-icon {
  width: 56px; height: 56px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  background: var(--bg); border-radius: 12px;
}
.addon-icon img, .addon-icon svg { width: 32px; height: 32px; }
.addon-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.addon-card p { font-size: 0.8rem; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.addon-card a { font-size: 0.82rem; color: var(--primary); font-weight: 700; }
.addon-card a:hover { color: var(--accent); }

/* Responsive overrides for services pages */
@media (max-width: 900px) {
  .svc-overview-inner { grid-template-columns: 1fr; gap: 36px; }
  .svc-detail-row, .svc-detail-row.reverse { grid-template-columns: 1fr; direction: ltr; gap: 24px; }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .svc-overview-grid { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr 1fr; }
}

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid var(--border); transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--accent); transform: scaleY(0); transition: transform 0.3s;
  transform-origin: bottom;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 64px; height: 64px; border-radius: 12px;
  margin-bottom: 24px; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.service-icon.land    { background: #eef4ff; color: var(--primary); }
.service-icon.sea     { background: #e8f5e9; color: #2e7d32; }
.service-icon.air     { background: #fff3e0; color: #e65100; }
.service-icon.warehouse { background: #f3e5f5; color: #7b1fa2; }
.service-icon.customs { background: #e0f7fa; color: #00695c; }
.service-icon.solution{ background: #fce4ec; color: #c62828; }

/* CSS icons for services */
.service-icon.land::before    { content: '🚚'; }
.service-icon.sea::before     { content: '🚢'; }
.service-icon.air::before     { content: '✈️'; }
.service-icon.warehouse::before { content: '🏭'; }
.service-icon.customs::before { content: '📦'; }
.service-icon.solution::before { content: '⚙️'; }

.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.8; margin-bottom: 20px; }
.service-link { color: var(--accent); font-size: 0.88rem; font-weight: 600; transition: var(--transition); }
.service-link:hover { color: var(--primary); }

/* ============================================================
   WHY US
   ============================================================ */
.why-us { padding: 100px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-item {
  padding: 36px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); transition: var(--transition);
}
.why-item:hover { border-color: var(--accent); background: #fff9f5; }
.why-num {
  font-size: 3rem; font-weight: 900; color: #e8e8e8;
  line-height: 1; margin-bottom: 16px; transition: color 0.3s;
}
.why-item:hover .why-num { color: var(--accent2); }
.why-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.why-item p { color: var(--text-light); font-size: 0.88rem; line-height: 1.8; }

/* ============================================================
   NETWORK
   ============================================================ */
.network { padding: 100px 0; background: var(--bg-light); }
.network-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.network-desc { color: var(--text-light); line-height: 1.9; margin-bottom: 28px; }
.network-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.network-list li { padding: 12px 16px; background: var(--white); border-radius: 6px; border-left: 4px solid var(--accent); font-size: 0.9rem; color: var(--text); }
.network-list li strong { color: var(--primary); }
.network-map { display: flex; align-items: center; justify-content: center; }
.map-placeholder {
  background: var(--white); border-radius: 16px; padding: 32px;
  box-shadow: var(--shadow); width: 100%; max-width: 380px;
}
.korea-map svg { width: 100%; max-width: 300px; margin: 0 auto; display: block; }

/* ============================================================
   INFO SECTION
   ============================================================ */
.info-section { padding: 80px 0; background: var(--white); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr 320px; gap: 28px; }
.info-box { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); }
.info-box-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.info-box-header h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary); }
.more-link { font-size: 0.82rem; color: var(--text-light); transition: color var(--transition); }
.more-link:hover { color: var(--accent); }
.notice-list { display: flex; flex-direction: column; gap: 14px; }
.notice-list li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; }
.notice-list li a { flex: 1; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--transition); }
.notice-list li a:hover { color: var(--accent); }
.notice-badge {
  flex-shrink: 0; padding: 2px 8px; border-radius: 3px;
  font-size: 0.72rem; font-weight: 700;
}
.notice-badge.new { background: var(--accent); color: var(--white); }
.notice-badge.recruit { background: var(--primary); color: var(--white); }
.notice-date { flex-shrink: 0; color: var(--text-light); font-size: 0.78rem; }

/* === Philosophy / Directions CTA Section === */
.philosophy-cta, .directions-cta { margin-top: 60px; }
.philosophy-cta .cta-box, .directions-cta .cta-box {
  background: linear-gradient(135deg, #1a3564 0%, #0d1f42 100%);
  border-radius: 18px; padding: 52px 56px;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 40px rgba(15,31,72,0.25);
}
.philosophy-cta .cta-box::after, .directions-cta .cta-box::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(53,104,212,0.12); pointer-events: none;
}
.philosophy-cta .cta-box h3, .directions-cta .cta-box h3 {
  font-size: 1.75rem; font-weight: 900; color: #fff; line-height: 1.3; margin-bottom: 12px;
}
.philosophy-cta .cta-box p, .directions-cta .cta-box p {
  font-size: 0.95rem; color: rgba(255,255,255,0.72); line-height: 1.75; max-width: 520px;
}
.cta-buttons {
  display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap;
}
.cta-buttons .btn-primary {
  background: var(--accent); color: #fff; padding: 13px 30px;
  border-radius: 8px; font-size: 0.95rem; font-weight: 700;
  white-space: nowrap; transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.cta-buttons .btn-primary:hover { background: #b52b2b; transform: translateY(-2px); }
.btn-secondary {
  display: inline-block; border: 1.5px solid rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.88); background: transparent;
  padding: 12px 28px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600; white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.08); }
@media (max-width: 600px) {
  .philosophy-cta .cta-box, .directions-cta .cta-box { padding: 36px 24px; }
  .philosophy-cta .cta-box h3, .directions-cta .cta-box h3 { font-size: 1.35rem; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn-primary, .btn-secondary { text-align: center; width: 100%; box-sizing: border-box; }
}

.cta-box {
  background: var(--primary); border-color: var(--primary);
  color: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.cta-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; color: var(--accent2); }
.cta-box h3 { font-size: 1.5rem; font-weight: 800; line-height: 1.3; }
.cta-box p { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.7; }
.btn-white {
  display: inline-block; background: var(--white); color: var(--primary);
  padding: 11px 24px; border-radius: 4px; font-size: 0.88rem; font-weight: 700;
  transition: var(--transition); margin-top: 8px;
}
.btn-white:hover { background: var(--accent); color: var(--white); }
.cta-phone { margin-top: auto; }
.cta-phone span { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.cta-phone strong { font-size: 1.5rem; font-weight: 900; color: var(--accent2); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 100px 0; background: var(--bg-light); }
.contact-inner { display: grid; grid-template-columns: 320px 1fr; gap: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-icon.phone-icon::before  { content: '📞'; }
.contact-icon.fax-icon::before    { content: '📠'; }
.contact-icon.email-icon::before  { content: '✉️'; }
.contact-icon.addr-icon::before   { content: '📍'; }
.contact-item strong { display: block; color: var(--primary); font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.contact-item p { color: var(--text); font-size: 0.95rem; line-height: 1.6; }
.contact-item small { color: var(--text-light); font-size: 0.82rem; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--primary); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 6px;
  font-size: 0.95rem; color: var(--text); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,60,110,0.08); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-light); }
.form-check input[type="checkbox"] { margin-top: 3px; accent-color: var(--primary); }
.form-check a { color: var(--primary); text-decoration: underline; }
.btn-submit {
  background: var(--primary); color: var(--white); padding: 15px 40px;
  border-radius: 4px; font-size: 1rem; font-weight: 700;
  transition: background var(--transition), transform var(--transition);
  align-self: flex-start;
}
.btn-submit:hover { background: var(--accent); transform: translateY(-2px); }

/* ============================================================
   CEO GREETING PAGE
   ============================================================ */
.ceo-greeting { padding: 20px 0 60px; }
.ceo-greeting-inner {
  display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start;
}
.ceo-message { display: flex; flex-direction: column; gap: 18px; margin: 28px 0 36px; }
.ceo-message p { color: var(--text); line-height: 1.9; font-size: 1rem; }
.ceo-message strong { color: var(--primary); }
.ceo-signature {
  padding-top: 24px; border-top: 2px solid var(--border);
}
.ceo-company { color: var(--text-light); font-size: 0.92rem; margin-bottom: 4px; }
.ceo-title-name { font-size: 1.1rem; color: var(--dark); font-weight: 600; }
.ceo-title-name strong { color: var(--primary) !important; font-size: 1.2rem; }
.ceo-info-panel {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg); border-radius: var(--radius);
  padding: 28px 24px; position: sticky; top: 100px;
}
.ceo-profile-card {
  text-align: center; padding: 24px 16px 20px;
  background: var(--primary); border-radius: 10px; margin-bottom: 4px;
}
.ceo-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 14px;
  overflow: hidden; border: 3px solid rgba(255,255,255,0.25);
}
.ceo-avatar svg { display: block; }
.ceo-prof-title { font-size: 0.72rem; color: rgba(255,255,255,0.65); letter-spacing: 0.08em; margin-bottom: 4px; }
.ceo-prof-name  { font-size: 1.5rem; font-weight: 900; color: var(--white); letter-spacing: 0.05em; margin-bottom: 4px; }
.ceo-prof-en    { font-size: 0.7rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; }
.ceo-info-card {
  padding: 14px 16px; background: var(--white); border-radius: 6px;
  border-left: 3px solid var(--border);
}
.ceo-info-card.highlight { border-left-color: var(--accent); }
.ceo-info-label { font-size: 0.75rem; font-weight: 700; color: var(--text-light); letter-spacing: 0.05em; margin-bottom: 4px; }
.ceo-info-value { font-size: 1rem; font-weight: 700; color: var(--dark); }

@media (max-width: 768px) {
  .ceo-greeting-inner { grid-template-columns: 1fr; gap: 32px; }
  .ceo-info-panel { position: static; }
}

/* ============================================================
   INLINE INQUIRY SECTION (Homepage)
   ============================================================ */
.inquiry-section { background: var(--bg); padding: 80px 0; }
.inquiry-notice {
  display: flex; align-items: flex-start; gap: 12px;
  background: #eaf4ff; border: 1px solid #aacfff; border-left: 4px solid var(--primary);
  padding: 14px 20px; border-radius: var(--radius);
  max-width: 720px; margin: 0 auto 28px;
  font-size: 0.92rem; color: var(--primary); font-weight: 500;
}
.inquiry-notice svg { flex-shrink: 0; margin-top: 2px; stroke: var(--primary); }
.required-highlight { color: var(--accent) !important; font-weight: 700 !important; }
.input-highlight {
  border-color: var(--accent) !important;
  background: #fff8f8 !important;
  box-shadow: 0 0 0 3px rgba(212,54,54,0.08) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-top { background: linear-gradient(180deg, #1c2c47 0%, #243a5e 100%); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo { display: flex; align-items: baseline; gap: 4px; margin-bottom: 16px; }
.footer-logo .logo-main { font-size: 1.2rem; font-weight: 900; color: var(--white); }
.footer-logo .logo-sub  { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.footer-about p { color: rgba(255,255,255,0.55); font-size: 0.88rem; line-height: 1.8; margin-bottom: 20px; }
.footer-sns { display: flex; gap: 10px; }
.sns-link {
  padding: 6px 14px; border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6); border-radius: 4px; font-size: 0.78rem;
  transition: var(--transition);
}
.sns-link:hover { border-color: var(--accent); color: var(--accent); }
.footer-links h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 20px; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: rgba(255,255,255,0.55); font-size: 0.88rem; transition: color var(--transition); }
.footer-links ul li a:hover { color: var(--accent2); }
.footer-contact-info h4 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 20px; }
.footer-contact-info p { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin-bottom: 8px; line-height: 1.6; }
.footer-contact-info strong { color: rgba(255,255,255,0.8); }

.footer-bottom { background: #080f1f; padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.copyright { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.footer-policy { display: flex; gap: 20px; }
.footer-policy a { color: rgba(255,255,255,0.4); font-size: 0.82rem; transition: color var(--transition); }
.footer-policy a:hover { color: var(--accent2); }
.footer-policy a.bold { color: rgba(255,255,255,0.6); font-weight: 600; }

/* ============================================================
   CEO GREETING
   ============================================================ */
.ceo-section { padding: 100px 0; background: linear-gradient(135deg, #1c2c47 0%, #2c4a73 100%); }
.ceo-inner { max-width: 860px; margin: 0 auto; }
.ceo-photo { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.ceo-photo-box {
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 3px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.ceo-photo-placeholder { width: 100%; height: 100%; }
.ceo-name-box { text-align: center; }
.ceo-label { display: block; color: rgba(255,255,255,0.6); font-size: 0.78rem; letter-spacing: 0.1em; margin-bottom: 6px; }
.ceo-name { display: block; font-size: 1.6rem; font-weight: 900; color: var(--white); letter-spacing: 0.1em; }
.ceo-eng { display: block; color: rgba(255,255,255,0.5); font-size: 0.78rem; margin-top: 6px; }
.ceo-content .section-label { color: var(--accent2); }
.ceo-content .section-title { color: var(--white); }
.ceo-text { margin-bottom: 32px; }
.ceo-text p { color: rgba(255,255,255,0.82); font-size: 0.97rem; line-height: 2; margin-bottom: 18px; }
.ceo-text strong { color: var(--white); font-weight: 700; }
.ceo-signature {
  display: flex; flex-direction: column; align-items: flex-end;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15);
}
.ceo-signature span { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-bottom: 8px; }
.ceo-signature strong { color: var(--white); font-size: 1.6rem; font-weight: 900; letter-spacing: 0.15em; }

/* ============================================================
   GLOBAL NETWORK — Redesigned
   ============================================================ */
.network-stats-banner {
  background: linear-gradient(135deg, #1c2c47 0%, #2c4a73 100%); border-radius: 16px;
  padding: 40px; margin-bottom: 56px;
  display: flex; justify-content: center; gap: 0; align-items: center;
  flex-wrap: wrap;
}
.nsb-item {
  text-align: center; padding: 0 48px; flex: 1; min-width: 120px;
}
.nsb-num {
  display: block; font-size: 2.6rem; font-weight: 900; color: var(--white); line-height: 1.1;
}
.nsb-num sup { font-size: 1.4rem; color: var(--accent2); vertical-align: super; }
.nsb-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); letter-spacing: 0.05em; margin-top: 4px; display: block; }
.nsb-div { width: 1px; background: rgba(255,255,255,0.18); align-self: stretch; min-height: 60px; flex-shrink: 0; }

/* World map SVG container */
.network-map-wrap {
  background: #f0f4fb; border-radius: 20px; padding: 32px;
  margin-bottom: 56px; overflow: hidden;
}
.network-map-svg { max-width: 720px; margin: 0 auto; }
.world-map-bg { width: 100%; height: auto; display: block; }

/* Partner region cards */
.partner-regions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-bottom: 16px;
}
.partner-region {
  background: var(--white); border-radius: 16px; padding: 28px 24px;
  border: 1px solid var(--border); border-top: 4px solid var(--primary);
  transition: transform 0.2s, box-shadow 0.2s;
}
.partner-region:nth-child(2) { border-top-color: #c8292a; }
.partner-region:nth-child(3) { border-top-color: #1a9e4a; }
.partner-region:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pr-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.pr-flag { font-size: 1.8rem; line-height: 1; }
.pr-header h3 { font-size: 1rem; font-weight: 800; color: var(--dark); margin: 0; }
.partner-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.partner-list li {
  font-size: 0.85rem; font-weight: 600; color: var(--dark);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.flag-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.country-list li { font-size: 0.83rem; gap: 6px; color: #333; }

/* Legacy region cards — keep for safety */
.network-regions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.nr-card {
  background: var(--white); border-radius: 16px; padding: 28px 24px;
  border: 1px solid var(--border); border-top: 4px solid;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.nr-asia        { border-top-color: #1a3c9e; }
.nr-europe      { border-top-color: #4a90d9; }
.nr-america     { border-top-color: #c8292a; }
.nr-middle-east { border-top-color: #e07b00; }
.nr-africa      { border-top-color: #2e7d32; }
.nr-pacific     { border-top-color: #00838f; }
.nr-card-header {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.nr-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.nr-card-header h3 { font-size: 1.1rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.nr-count { font-size: 0.8rem; color: var(--text-light); font-weight: 600; }
.nr-countries { font-size: 0.82rem; color: var(--text-light); line-height: 1.9; }

@media (max-width: 900px) {
  .network-regions { grid-template-columns: 1fr 1fr; }
  .nsb-item { padding: 16px 24px; }
  .partner-regions { grid-template-columns: 1fr; }
  .network-map-wrap { padding: 20px; }
}
@media (max-width: 600px) {
  .network-regions { grid-template-columns: 1fr; }
  .network-stats-banner { gap: 8px; padding: 24px; }
  .nsb-div { display: none; }
  .nsb-num { font-size: 2rem; }
}

/* Legacy grid (keep for backward compat) */
.global-network-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.gn-region {
  background: var(--white); border-radius: var(--radius);
  padding: 24px 20px; border: 1px solid var(--border);
}
.gn-region-title {
  font-size: 0.95rem; font-weight: 700; margin-bottom: 10px;
  padding-bottom: 8px; border-bottom: 2px solid;
}
.gn-region-title.europe    { color: #1a3c9e; border-color: #1a3c9e; }
.gn-region-title.middle-east { color: #c8292a; border-color: #c8292a; }
.gn-region-title.africa    { color: #c8292a; border-color: #c8292a; }
.gn-region-title.pacific   { color: #1a3c9e; border-color: #1a3c9e; }
.gn-region-title.asia      { color: #1a3c9e; border-color: #1a3c9e; }
.gn-region-title.america   { color: #c8292a; border-color: #c8292a; }
.gn-region p { font-size: 0.8rem; color: var(--text-light); line-height: 1.8; }

/* ============================================================
   CONTACT BRANCHES
   ============================================================ */
.contact-branches { display: flex; flex-direction: column; gap: 24px; }
.branch-box { border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.branch-box.hq { border-left: 4px solid var(--primary); }
.branch-box.busan { border-left: 4px solid var(--accent); }
.branch-tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700; margin-bottom: 16px;
  color: var(--white);
}
.branch-box.hq .branch-tag { background: var(--primary); }
.branch-box.busan .branch-tag { background: var(--accent); }

/* Quote section inside hero — override old styling */
.quote-section { display: none; } /* Hidden — now embedded in hero */

/* About stats row */
.about-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px;
}
.ast-item {
  text-align: center; padding: 14px 8px;
  background: var(--bg); border-radius: 8px;
  border-bottom: 3px solid var(--primary);
}
.ast-item strong {
  display: block; font-size: 1.5rem; font-weight: 900; color: var(--primary);
  line-height: 1.1;
}
.ast-item strong sup { font-size: 0.85rem; vertical-align: super; }
.ast-item span { font-size: 0.72rem; color: var(--text-light); margin-top: 4px; display: block; }
@media (max-width: 600px) {
  .about-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   QUICK ESTIMATE SECTION (standalone — legacy)
   ============================================================ */
.quote-section-standalone {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 80px 0;
}
.quote-wrap {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: center;
}
.quote-heading .section-label { color: rgba(255,255,255,0.6); }
.quote-stats { display: flex; gap: 32px; margin-top: 32px; }
.qs strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--white); }
.qs span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.quote-card {
  background: var(--white); border-radius: 12px;
  overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.q-tabs {
  display: flex; border-bottom: 1px solid var(--border);
}
.q-tab {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 14px 8px; font-size: 0.85rem; font-weight: 600;
  color: var(--text-light); border-bottom: 3px solid transparent;
  transition: all 0.2s; background: var(--bg);
}
.q-tab.active { color: var(--primary); background: var(--white); border-bottom-color: var(--primary); }
.q-tab:hover { color: var(--primary); background: var(--white); }
.q-panes { padding: 28px 28px 20px; }
.q-pane { display: none; }
.q-pane.active { display: block; }
.q-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.q-field label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-light); margin-bottom: 6px; }
.q-field input, .q-field select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 0.88rem; background: var(--bg);
}
.q-field input:focus, .q-field select:focus {
  outline: none; border-color: var(--primary); background: var(--white);
}
.q-submit {
  display: inline-block; background: var(--accent); color: var(--white);
  padding: 12px 28px; border-radius: 6px; font-weight: 700; font-size: 0.95rem;
  transition: background 0.2s;
}
.q-submit:hover { background: #b02525; }

/* Port selector fields */
.port-select-wrap { display: flex; gap: 0; }
.port-input {
  flex: 1; border-radius: 6px 0 0 6px !important; cursor: pointer !important;
  background: var(--white) !important;
}
.port-pick-btn {
  padding: 0 12px; background: var(--primary); color: var(--white);
  border-radius: 0 6px 6px 0; font-size: 0.8rem; font-weight: 600;
  border: none; cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background 0.2s;
}
.port-pick-btn:hover { background: var(--dark); }

/* Port Picker Modal */
.port-picker-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 3000; opacity: 0; transition: opacity 0.25s;
}
.port-picker-overlay.active { display: block; opacity: 1; }
.port-picker-sheet {
  position: fixed; left: 0; right: 0; bottom: -100%; z-index: 3001;
  background: var(--white); border-radius: 16px 16px 0 0;
  max-height: 75vh; display: flex; flex-direction: column;
  transition: bottom 0.32s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 32px rgba(0,0,0,0.18);
}
.port-picker-sheet.active { bottom: 0; }
.port-picker-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.port-picker-title { font-weight: 800; font-size: 1rem; color: var(--dark); }
.port-picker-more { color: var(--accent); font-size: 0.82rem; font-weight: 600; margin-left: 12px; }
.port-picker-close {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--text-light); cursor: pointer; flex-shrink: 0;
}
.port-picker-body { overflow-y: auto; padding: 8px 0 24px; }
.pp-region {
  padding: 10px 20px 6px; font-size: 0.78rem; font-weight: 800;
  color: var(--text-light); letter-spacing: 0.06em;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.pp-ports { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 14px; border-bottom: 1px solid var(--border); }
.pp-port {
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 20px;
  font-size: 0.88rem; color: var(--text); cursor: pointer; background: var(--white);
  transition: all 0.15s;
  touch-action: manipulation; /* prevents double-tap zoom on mobile */
  -webkit-user-select: none; user-select: none;
}
.pp-port:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Port picker direct input row */
.port-picker-direct {
  display: flex; gap: 8px; padding: 10px 16px;
  border-bottom: 2px solid var(--primary); background: #f8faff;
}
.port-direct-input {
  flex: 1; padding: 9px 14px; border: 1px solid var(--border); border-radius: 6px;
  font-size: 0.92rem; font-family: inherit;
}
.port-direct-input:focus { outline: none; border-color: var(--primary); }
.port-direct-confirm {
  padding: 9px 16px; background: var(--primary); color: var(--white);
  border: none; border-radius: 6px; font-size: 0.88rem; font-weight: 700; cursor: pointer;
  white-space: nowrap;
}
.port-direct-confirm:hover { background: var(--dark); }

/* Port picker hint & double-tap highlight */
.port-picker-hint {
  padding: 8px 16px 10px; font-size: 0.8rem; color: var(--text-light);
  background: #fffbf0; border-bottom: 1px solid #f0e8c8;
}
.port-picker-hint strong { color: var(--primary); }
.pp-port-selected {
  background: var(--primary) !important; color: var(--white) !important;
  border-color: var(--primary) !important; font-weight: 700 !important;
}

/* Map app links (directions page) */
.office-map-wrap { margin-bottom: 24px; }
.map-app-links {
  display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap;
}
.map-app-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: 8px; font-size: 0.88rem; font-weight: 700;
  text-decoration: none; transition: opacity 0.2s;
}
.map-app-btn:hover { opacity: 0.85; }
.kakao-btn { background: #FEE500; color: #3C1E1E; }
.naver-btn { background: #03C75A; color: #fff; }

/* Contact simplified (3-column) */
.contact-branches {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
}
.branch-box.cta-branch {
  background: linear-gradient(135deg, #2c4a73 0%, #3d5d89 100%); color: var(--white); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column; gap: 12px;
}
.branch-box.cta-branch .cta-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
}
.branch-box.cta-branch h3 { font-size: 1.4rem; font-weight: 900; color: var(--white); line-height: 1.4; }
.branch-box.cta-branch p { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.7; }
.btn-white {
  display: inline-block; background: var(--white); color: var(--primary);
  padding: 12px 28px; border-radius: 4px; font-weight: 700; font-size: 0.95rem;
  margin-top: 4px; transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.9; }
.cta-phone { margin-top: 8px; }
.cta-phone span { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.cta-phone strong { font-size: 1.2rem; color: var(--white); font-weight: 800; }

/* Customer Service page */
.cs-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 48px;
}
.cs-branch { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.cs-branch.hq { border-top: 4px solid var(--primary); }
.cs-branch.busan { border-top: 4px solid var(--accent); }
@media (max-width: 768px) { .cs-top { grid-template-columns: 1fr; } }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
/* Tel link — clickable on mobile */
.tel-link {
  color: inherit;
  text-decoration: none;
}
@media (hover: hover) {
  .tel-link:hover { color: var(--primary); text-decoration: underline; }
}
/* On touch devices, show as tappable */
@media (max-width: 768px) {
  .tel-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    -webkit-touch-callout: default;
  }
}

.scroll-top {
  position: fixed; bottom: 168px; right: 24px; z-index: 999;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--white); font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(204,43,43,0.35);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: #aa1f1f; }

/* ── Floating Action Button group ── */
.fab-group {
  position: fixed; bottom: 28px; right: 24px; z-index: 1000;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.fab-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 0 18px 0 14px; height: 46px;
  border-radius: 999px; border: none; cursor: pointer;
  text-decoration: none; outline: none; color: #fff;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s;
}
.fab-btn:hover { transform: translateY(-2px) scale(1.03); }
.fab-btn-label { pointer-events: none; }
.fab-phone {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 4px 20px rgba(5,150,105,0.38);
  animation: fabPhonePulse 3s ease-in-out infinite;
}
@keyframes fabPhonePulse {
  0%,100% { box-shadow: 0 4px 20px rgba(5,150,105,0.38); }
  50%      { box-shadow: 0 6px 28px rgba(5,150,105,0.55), 0 0 0 6px rgba(5,150,105,0.1); }
}
.fab-chat {
  background: linear-gradient(135deg, #1a3a7c 0%, #0f2456 100%);
  box-shadow: 0 4px 20px rgba(26,58,124,0.4);
}
.fab-chat:hover { box-shadow: 0 6px 28px rgba(26,58,124,0.55); }
.fab-chat.active { background: linear-gradient(135deg, #0f2456 0%, #08183a 100%); }
@media (max-width: 768px) {
  .fab-group { bottom: 20px; right: 16px; }
  .fab-btn { width: 50px; height: 50px; padding: 0; border-radius: 50%; justify-content: center; }
  .fab-btn-label { display: none; }
}

/* ── Phone Popup ── */
.phone-popup {
  position: fixed; bottom: 96px; right: 24px; z-index: 1001;
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.16);
  padding: 22px 26px 18px;
  min-width: 240px;
  border-top: 3px solid #059669;
  transform: scale(0.88) translateY(12px); opacity: 0; pointer-events: none;
  transform-origin: bottom right;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), opacity 0.18s;
}
.phone-popup.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.phone-popup-close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: none; cursor: pointer; font-size: 1rem; color: #aaa; line-height: 1;
  transition: color 0.15s;
}
.phone-popup-close:hover { color: #333; }
.phone-popup-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #059669; margin-bottom: 6px; }
.phone-popup-number {
  display: block; font-size: 1.55rem; font-weight: 800; color: #1a3564; letter-spacing: -0.02em;
  margin-bottom: 10px; text-decoration: none; transition: color 0.15s;
}
.phone-popup-number:hover { color: #059669; }
.phone-popup-sub { font-size: 0.8rem; color: #555; margin-bottom: 4px; }
.phone-popup-hours { font-size: 0.76rem; color: #999; }
@media (max-width: 768px) {
  .phone-popup { right: 16px; bottom: 88px; }
}

/* ── Chat Widget Panel ── */
.chat-widget {
  position: fixed; bottom: 96px; right: 24px; z-index: 1002;
  width: 320px; max-height: 480px;
  background: #fff; border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  display: flex; flex-direction: column; overflow: hidden;
  transform: scale(0.88) translateY(16px); opacity: 0; pointer-events: none;
  transform-origin: bottom right;
  transition: transform 0.28s cubic-bezier(.34,1.56,.64,1), opacity 0.2s;
}
.chat-widget.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }

.chat-header {
  background: linear-gradient(135deg, #1a3c8f 0%, #2563eb 100%);
  padding: 14px 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-status-dot {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,0.25);
}
.chat-company-name { font-size: 0.9rem; font-weight: 700; color: #fff; line-height: 1.2; }
.chat-online-text  { font-size: 0.7rem; color: rgba(255,255,255,0.65); margin-top: 2px; }
.chat-close {
  background: rgba(255,255,255,0.22); border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff; cursor: pointer;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.chat-close:hover { background: rgba(255,255,255,0.4); }

/* Message area */
.chat-messages {
  flex: 1; overflow-y: auto; padding: 14px;
  overscroll-behavior: contain;
  background: #f1f5fb;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 0;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }

.chat-msg { display: flex; flex-direction: column; }
.chat-msg-assistant { align-items: flex-start; }
.chat-msg-user      { align-items: flex-end; }

.chat-msg-bubble {
  max-width: 86%; padding: 10px 13px; font-size: 0.82rem; line-height: 1.65;
  word-break: break-word;
}
.chat-msg-assistant .chat-msg-bubble {
  background: #fff; color: #374151;
  border-radius: 4px 14px 14px 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.chat-msg-user .chat-msg-bubble {
  background: #2563eb; color: #fff;
  border-radius: 14px 4px 14px 14px;
}
.chat-msg-time { font-size: 0.67rem; color: #9ca3af; margin-top: 3px; padding: 0 3px; }

/* Typing dots */
.chat-typing { display: flex; align-items: center; gap: 5px; padding: 12px 14px !important; }
.chat-typing span {
  width: 7px; height: 7px; background: #9ca3af; border-radius: 50%;
  animation: typDot 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typDot {
  0%,60%,100% { transform: translateY(0); opacity: 0.4; }
  30%          { transform: translateY(-5px); opacity: 1; }
}

/* Input area */
.chat-input-area {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid #e9ecf0;
  background: #fff; flex-shrink: 0;
}
.chat-input-field {
  flex: 1; border: 1.5px solid #e2e8f0; border-radius: 18px;
  padding: 8px 14px; font-size: 0.82rem; font-family: inherit;
  color: #374151; outline: none; resize: none; overflow-y: hidden;
  max-height: 80px; line-height: 1.5;
  transition: border-color 0.15s; background: #f8fafc;
}
.chat-input-field:focus { border-color: #2563eb; background: #fff; }
.chat-input-send {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: #2563eb; color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, transform 0.15s;
}
.chat-input-send:hover  { background: #1d4ed8; transform: scale(1.08); }
.chat-input-send:disabled { background: #cbd5e1; cursor: default; transform: none; }

/* Chat overlay (dims page behind widget) */
.chat-overlay {
  display: none; position: fixed; inset: 0; z-index: 1001;
  background: rgba(0,0,0,0.45);
}
.chat-overlay.active { display: block; touch-action: none; }

/* Keyboard / mobile fullscreen mode */
.chat-widget.kb-open {
  border-radius: 0 0 20px 20px;
}

/* Agent connection tab */
.chat-agent-tab {
  padding: 8px 12px;
  background: #f8fafc;
  border-top: 1px solid #e9ecf0;
  border-bottom: 1px solid #e9ecf0;
  flex-shrink: 0;
}
.chat-agent-btn {
  width: 100%; padding: 8px 12px;
  background: #fff; border: 1.5px solid #2563eb; border-radius: 10px;
  color: #2563eb; font-size: 0.78rem; font-weight: 600; font-family: inherit;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background 0.15s, color 0.15s;
}
.chat-agent-btn:hover { background: #2563eb; color: #fff; }
.chat-agent-btn:disabled {
  border-color: #94a3b8; color: #94a3b8; cursor: not-allowed; opacity: 0.55;
}
.chat-agent-btn:disabled:hover { background: #fff; color: #94a3b8; }

@media (max-width: 600px) {
  .chat-widget { width: calc(100vw - 24px); right: 12px; bottom: 100px; }
  /* 풀스크린 모드: left:0 right:0 은 JS inline으로 설정 */
  .chat-widget.kb-open { border-radius: 0; }
  .scroll-top  { right: 16px; bottom: 172px; }
}
/* iOS Safari auto-zoom 방지 — 입력 요소 font-size 16px 미만이면 확대됨 */
@media (max-width: 768px) {
  input, textarea, select { font-size: 16px !important; }
}

/* ============================================================
   ANIMATIONS (Fade-in on scroll)
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .qs-grid { grid-template-columns: repeat(3, 1fr); }
  .qs-item:nth-child(3) { border-right: none; }
  .qs-item:nth-child(4), .qs-item:nth-child(5) { border-top: 1px solid var(--border); }

  .about-inner  { grid-template-columns: 1fr; gap: 60px; }

  .network-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about  { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .stat-item     { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-child(2) { border-right: none; }
  .stats-light .stat-item { border-bottom: none; }
  .info-grid     { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-branches { grid-template-columns: 1fr; }

  .ceo-section   { padding: 72px 0; }
  .about-inner   { grid-template-columns: 1fr; gap: 48px; }
  .global-network-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-wrap    { grid-template-columns: 1fr; gap: 32px; }
  .q-fields      { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .gnb, .header-right { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .mobile-menu { display: block; }

  .qs-grid { grid-template-columns: repeat(2, 1fr); }
  .qs-item { border-top: 1px solid var(--border); }
  .qs-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .qs-item:nth-child(even) { border-right: none; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .form-row      { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .footer-contact-info { grid-column: 1 / -1; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-scroll { display: none; }
  .slide-prev, .slide-next { display: none; }
}

@media (max-width: 480px) {
  .hero { min-height: 500px; }
  .qs-grid { grid-template-columns: 1fr; }
  .qs-item { border-right: none !important; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-badge { right: 12px; top: 12px; padding: 14px 16px; }
  .badge-num { font-size: 1.5rem; }
  .global-network-grid { grid-template-columns: 1fr; }
  .ceo-section { padding: 56px 0; }
}

/* ============================================================
   SUB-PAGE COMMON STYLES
   ============================================================ */

/* Page Hero Banner */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 60%, #1e4f8c 100%);
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px,
    transparent 0, transparent 50%
  );
  background-size: 20px 20px;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,43,43,0.18) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-label {
  display: inline-block;
  color: var(--accent2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent2); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* Sub-page Content Wrapper */
.sub-page-content { padding: 80px 0; }
.content-section { margin-bottom: 72px; }
.content-section:last-child { margin-bottom: 0; }
.content-section > .section-desc { max-width: 720px; margin-bottom: 40px; }

/* Service Cards Grid */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.svc-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.svc-card-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  line-height: 1;
}
.svc-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.svc-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 18px;
}
.svc-card-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.svc-card-list li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
}
.svc-card-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.feature-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}
.feature-check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-list li > div strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.feature-list li > div p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
}

/* Route / Tag Cloud */
.route-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.route-tag {
  display: inline-block;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: 9px 20px;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.route-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Process Steps (numbered horizontal flow) */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 36px;
  flex-wrap: wrap;
}
.process-step {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -10px;
  top: 18px;
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 700;
  z-index: 1;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.step-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
}
.step-desc {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.5;
}

/* CTA Section (dark blue, centered) */
.cta-section {
  background: var(--dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg, rgba(255,255,255,0.015) 0, rgba(255,255,255,0.015) 1px,
    transparent 0, transparent 50%
  );
  background-size: 20px 20px;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section .cta-label {
  display: inline-block;
  color: var(--accent2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 36px;
}
.cta-section .btn-primary {
  font-size: 1rem;
  padding: 15px 40px;
}

/* Benefits grid (4-col) for logistics-solutions */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.benefit-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.benefit-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1;
}
.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.benefit-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Intro highlight box */
.intro-box {
  background: linear-gradient(135deg, var(--bg-light) 0%, #eef1f8 100%);
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 32px 36px;
  margin-top: 24px;
}
.intro-box p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.9;
}

/* Responsive: sub-page */
@media (max-width: 900px) {
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { gap: 16px; }
  .process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 600px) {
  .svc-cards { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 120px 0 56px; }
  .sub-page-content { padding: 56px 0; }
  .feature-list li { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: center; gap: 20px; }
}

/* ============================================================
   개선 기능 추가 (언어토글 · 카카오FAB · 채팅빠른버튼 · 서비스카드)
   ============================================================ */

/* ── 언어 토글 버튼 ── */
.lang-toggle {
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text); border-radius: 14px;
  padding: 4px 12px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.05em; cursor: pointer;
  transition: background 0.18s; flex-shrink: 0;
  font-family: inherit;
}
.lang-toggle:hover { background: var(--border); }
@media (max-width: 900px) { .lang-toggle { display: none; } }

/* ── 모바일 메뉴 언어 토글 ── */
.mobile-lang-wrap {
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-lang-btn {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff; border-radius: 14px;
  padding: 7px 20px; font-size: 0.85rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: background 0.18s;
}
.mobile-lang-btn:hover { background: rgba(255,255,255,0.25); }

/* ── 카카오톡 FAB ── */
.fab-kakao {
  background: #FEE500; color: #3C1E1E;
  box-shadow: 0 4px 18px rgba(254,229,0,0.5);
  animation: none;
}
.fab-kakao:hover { box-shadow: 0 6px 24px rgba(254,229,0,0.72); }

/* ── 채팅 빠른 답변 버튼 ── */
.chat-quick-btns {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 4px;
}
.chat-quick-btn {
  background: #fff; border: 1.5px solid #3568d4; color: #3568d4;
  border-radius: 16px; padding: 5px 13px;
  font-size: 0.74rem; font-weight: 600;
  cursor: pointer; transition: background 0.15s, color 0.15s;
  white-space: nowrap; font-family: inherit;
}
.chat-quick-btn:hover, .chat-quick-btn:active {
  background: #3568d4; color: #fff;
}

/* ── 서비스 카드 아이콘 영역 강화 ── */
.svc-ov-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 100%);
  transition: transform 0.22s;
}
.svc-ov-card:hover .svc-ov-icon { transform: scale(1.08); }
.svc-ov-icon img { width: 32px; height: 32px; }

/* ── 모바일 헤더 언어 버튼 (햄버거 옆) ── */
.mob-lang-hdr {
  display: none;
  align-items: center; gap: 4px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  color: var(--text); border-radius: 20px;
  padding: 5px 11px; font-size: 0.78rem; font-weight: 800;
  cursor: pointer; font-family: inherit;
  letter-spacing: 0.04em;
  transition: background 0.18s, border-color 0.18s;
  margin-right: 4px; flex-shrink: 0;
}
.mob-lang-hdr svg { opacity: 0.7; flex-shrink: 0; }
.mob-lang-hdr:hover { background: var(--border); border-color: var(--border); }
@media (max-width: 768px) { .mob-lang-hdr { display: inline-flex; } }

/* ── 채팅 선택 패널 ── */
.chat-choice-panel {
  position: fixed; bottom: 86px; right: 24px; z-index: 1003;
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  overflow: hidden; width: 200px;
  transform: scale(0.88) translateY(12px); opacity: 0; pointer-events: none;
  transform-origin: bottom right;
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1), opacity 0.18s;
}
.chat-choice-panel.open {
  transform: scale(1) translateY(0); opacity: 1; pointer-events: all;
}
.chat-choice-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px 16px;
  background: none; border: none; cursor: pointer;
  text-align: left; text-decoration: none; color: #333;
  transition: background 0.15s; font-family: inherit;
}
.chat-choice-item:hover { background: #f4f6fb; }
.chat-choice-icon {
  font-size: 1.35rem; flex-shrink: 0; line-height: 1;
  width: 28px; text-align: center;
}
.chat-choice-kakao-icon {
  background: #FEE500; color: #3C1E1E;
  border-radius: 50%; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0; padding: 4px;
}
.chat-choice-text { display: flex; flex-direction: column; }
.chat-choice-text strong { font-size: 0.85rem; font-weight: 700; color: #222; }
.chat-choice-text small { font-size: 0.72rem; color: #888; margin-top: 1px; }
.chat-choice-divider { height: 1px; background: #eee; margin: 0 12px; }
@media (max-width: 600px) {
  .chat-choice-panel { right: 16px; bottom: 88px; }
}

/* ============================================================
   공지사항 (Notice Board)
   ============================================================ */
.notice-search-wrap {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
  flex-wrap: wrap; gap: 12px;
}
.notice-total { color: var(--text); font-size: 0.92rem; }
.notice-total strong { color: var(--primary); font-size: 1rem; font-weight: 700; }
.notice-search {
  display: flex; align-items: center;
  border: 1.5px solid var(--border); border-radius: 6px;
  overflow: hidden; background: var(--white);
  transition: border-color 0.15s;
}
.notice-search:focus-within { border-color: var(--primary); }
.notice-search-input {
  padding: 9px 14px; border: none; outline: none; font-size: 0.9rem;
  width: 220px; font-family: inherit; background: transparent; color: var(--text);
}
.notice-search-btn {
  padding: 8px 12px; background: var(--primary); border: none; cursor: pointer;
  color: var(--white); display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.notice-search-btn:hover { background: var(--dark); }

/* Notice grid table */
.notice-table {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; margin-top: 0;
  border-collapse: unset; /* reset old table style */
}
/* Override old <table> style if present */
.notice-table th, .notice-table td { padding: 0; border: none; background: none; }
.notice-row {
  display: grid;
  grid-template-columns: 64px 76px 1fr 110px 72px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.notice-row:last-child { border-bottom: none; }
.notice-header { background: var(--primary); pointer-events: none; }
.notice-header .notice-col {
  color: var(--white); font-size: 0.8rem; font-weight: 700;
  padding: 13px 14px; letter-spacing: 0.03em;
}
.notice-col {
  padding: 15px 14px; font-size: 0.88rem; color: var(--text);
  display: flex; align-items: center;
}
.notice-row:not(.notice-header) { cursor: pointer; }
.notice-row:not(.notice-header):hover { background: var(--bg); }
.notice-pinned { background: #f0f5ff; }
.notice-pinned:hover { background: #e6eeff !important; }
.col-num  { justify-content: center; color: var(--text-light); font-size: 0.82rem; }
.col-category { justify-content: center; }
.col-title { gap: 8px; font-weight: 500; }
.col-title a { color: var(--text); transition: color 0.15s; }
.col-title a:hover { color: var(--primary); }
.col-date  { color: var(--text-light); font-size: 0.82rem; }
.col-views { justify-content: center; color: var(--text-light); font-size: 0.82rem; }
.pin-icon  { color: var(--accent); display: flex; flex-shrink: 0; }
.notice-tag {
  display: inline-block; padding: 3px 9px; border-radius: 3px;
  font-size: 0.71rem; font-weight: 700; white-space: nowrap;
}
.tag-notice  { background: var(--primary); color: var(--white); }
.tag-general { background: var(--bg); color: var(--text-light); border: 1px solid var(--border); }
.new-badge {
  display: inline-block; background: var(--accent); color: var(--white);
  font-size: 0.62rem; font-weight: 800; padding: 2px 6px; border-radius: 2px;
  vertical-align: middle; margin-left: 6px; letter-spacing: 0.04em;
}

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 32px; flex-wrap: wrap;
}
.page-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 6px;
  font-size: 0.85rem; cursor: pointer; background: var(--white); color: var(--text);
  transition: all 0.15s; font-family: inherit;
}
.page-btn:disabled { opacity: 0.38; cursor: default; }
.page-btn:not(:disabled):hover { border-color: var(--primary); color: var(--primary); }
.page-numbers { display: flex; gap: 4px; }
.page-num {
  width: 36px; height: 36px; border-radius: 6px;
  border: 1.5px solid var(--border); background: var(--white);
  font-size: 0.85rem; cursor: pointer; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; font-family: inherit;
}
.page-num.active { background: var(--primary); color: var(--white); border-color: var(--primary); font-weight: 700; }
.page-num:not(.active):hover { border-color: var(--primary); color: var(--primary); }
.page-ellipsis { display: flex; align-items: center; color: var(--text-light); padding: 0 2px; font-size: 0.9rem; }

/* Notice mobile */
@media (max-width: 768px) {
  .notice-row { grid-template-columns: 44px 68px 1fr; }
  .col-date, .col-views { display: none; }
  .notice-search-input { width: 150px; }
}
@media (max-width: 480px) {
  .notice-row { grid-template-columns: 40px 1fr; }
  .col-category { display: none; }
  .notice-search-wrap { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   HERO — 풀스크린 슬라이드
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide-1 {
  background: #0a1628;
}
.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.slide-yt-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.slide-yt-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  border: 0;
  pointer-events: none;
}
.slide-2 {
  background-image: url('assets/hero-network.svg'), linear-gradient(125deg, #0d1d36 0%, #1f3a64 58%, #34548c 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right center, center;
  background-size: 64% auto, cover;
}
.slide-3 {
  background-image: url('assets/hero-onestop.svg'), linear-gradient(125deg, #4a1a30 0%, #9c3459 58%, #bf5a7d 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right center, center;
  background-size: 60% auto, cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.28) 40%, rgba(0,0,0,0.10) 70%, rgba(0,0,0,0.04) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: #fff;
  padding: 80px 48px 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.slide-text {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
}
.slide-text.active {
  display: flex;
  flex: 1;
  animation: slideIn 0.7s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slide-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.slide-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: auto;
}
.hero-btns .btn-primary {
  background: #fff;
  color: var(--primary);
}
.hero-btns .btn-primary:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
}
.hero-btns .btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}
.hero-btns .btn-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: #fff;
}
.slide-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.dot.active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}
.slide-prev, .slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.slide-prev { left: 24px; }
.slide-next { right: 24px; }
.slide-prev:hover, .slide-next:hover { background: rgba(255,255,255,0.3); }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 1.8s ease infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}
@media (max-width: 960px) {
  .hero { padding: 0; }
  .hero-content { padding: 80px 32px 40px; }
}
@media (max-width: 768px) {
  .hero { padding: 0; height: 82vh; min-height: 540px; }
  .slide-prev, .slide-next { display: none; }
  .hero-content { padding: 80px 24px 56px; max-width: 100%; }
  .hero-content h1 { font-size: clamp(1.8rem, 6.5vw, 2.6rem); }
  .slide-desc { font-size: 0.92rem; margin-bottom: 24px; }
}

/* ============================================================
   2섹션: 빠른 견적 (Estimate Section)
   ============================================================ */
.estimate-section {
  padding: 26px 0 56px;
  background: var(--bg);
}
.estimate-section .section-header {
  margin-bottom: 24px;
}
.estimate-section .quote-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(53,104,212,0.10);
  overflow: hidden;
}
.estimate-section .q-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  background: var(--white);
}
.estimate-section .q-tab {
  flex: 1;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border-top: none; border-left: none; border-right: none;
  margin-bottom: -2px;
}
.estimate-section .q-tab:hover { color: var(--primary); }
.estimate-section .q-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.estimate-section .q-panes {
  padding: 36px 36px 32px;
}
.estimate-section .q-pane { display: none; }
.estimate-section .q-pane.active { display: block; }
.estimate-section .q-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}
.estimate-section .q-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.estimate-section .q-field input,
.estimate-section .q-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
.estimate-section .q-field input:focus,
.estimate-section .q-field select:focus {
  outline: none;
  border-color: var(--primary);
}
.estimate-section .port-select-wrap {
  display: flex; gap: 6px;
}
.estimate-section .port-input { flex: 1; cursor: pointer; }
.estimate-section .port-pick-btn {
  padding: 0 12px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.estimate-section .port-pick-btn:hover { background: var(--dark); }
.estimate-section .q-submit {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s;
}
.estimate-section .q-submit:hover {
  background: #aa1f1f;
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .estimate-section .q-fields { grid-template-columns: 1fr; }
  .estimate-section .q-panes { padding: 24px 20px 20px; }
  .estimate-section .q-tab { font-size: 0.82rem; padding: 17px 8px; }
}

/* ============================================================
   3섹션: 서비스 소개 (5-card grid)
   ============================================================ */
.services-overview {
  padding: 96px 0;
  background: var(--white);
}
.svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px 28px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  color: var(--text);
}
.svc-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(53,104,212,0.12);
  transform: translateY(-6px);
}
.svc-card-icon {
  width: 72px; height: 72px;
  background: var(--bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  transition: background 0.25s;
}
.svc-card:hover .svc-card-icon {
  background: var(--primary);
  color: #fff;
}
.svc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.svc-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.svc-card-more {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  transition: letter-spacing 0.2s;
}
.svc-card:hover .svc-card-more { letter-spacing: 0.03em; }
.svc-cards-footer {
  text-align: center;
  margin-top: 48px;
}
.btn-services-all {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 36px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.btn-services-all:hover {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 1024px) {
  .svc-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .svc-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .svc-card { padding: 28px 14px 20px; }
  .svc-card-icon { width: 56px; height: 56px; margin-bottom: 14px; }
}

/* ============================================================
   공지사항 섹션 (메인 페이지)
   ============================================================ */
.news-section {
  padding: 80px 0;
  background: var(--bg);
}
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.news-header .section-title { margin-bottom: 0; }
.btn-news-all {
  display: inline-block;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 4px;
}
.btn-news-all:hover { background: var(--primary); color: #fff; }
.news-list {
  border-top: 2px solid var(--primary);
  border-bottom: 1px solid var(--border);
}
.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: rgba(53,104,212,0.04); }
.news-tag {
  flex-shrink: 0;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  min-width: 42px;
  text-align: center;
}
.news-item .tag-notice { background: var(--primary); color: #fff; }
.news-item .tag-general { background: var(--bg); color: var(--text-light); border: 1px solid var(--border); }
.news-title {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}
.news-item:hover .news-title { color: var(--primary); }
.news-new {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.news-date {
  flex-shrink: 0;
  font-size: 0.82rem;
  color: var(--text-light);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .news-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .news-item { gap: 10px; padding: 14px 4px; }
  .news-date { display: none; }
  .news-title { font-size: 0.88rem; }
}

/* ============================================================
   견적 수량 필드 + 인라인 연락처 패널
   ============================================================ */
.q-field-row {
  display: flex; gap: 10px; align-items: flex-end;
}
.q-field--qty { flex: 0 0 90px; }
.q-field--qty input[type="number"] {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 0.95rem; font-family: inherit;
  text-align: center;
}
.q-field--grow { flex: 1; }

/* Inline contact panel */
#inline-contact-panel {
  padding: 8px 0 12px;
  animation: ic-fadein 0.28s ease;
}
@keyframes ic-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Header: title + X button */
.ic-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}
.ic-title {
  font-size: 1.55rem; font-weight: 800; color: var(--text);
  line-height: 1.38; flex: 1;
}
.ic-close-btn {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--border);
  font-size: 1.05rem; color: var(--text-light); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.18s, color 0.18s; margin-top: 4px;
}
.ic-close-btn:hover { background: #e2e6f0; color: var(--text); }

/* Required note */
.ic-required-note {
  font-size: 0.82rem; color: var(--text-light);
  text-align: right; margin-bottom: 20px;
}

/* Form inputs */
.inline-contact-form { display: flex; flex-direction: column; gap: 10px; }
.inline-contact-form input[type="text"],
.inline-contact-form input[type="email"],
.inline-contact-form input[type="tel"] {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 1rem; font-family: inherit; color: var(--text);
  background: var(--white);
  transition: border-color 0.18s; box-sizing: border-box;
}
.inline-contact-form input::placeholder { color: #aab0c0; }
.inline-contact-form input:focus { outline: none; border-color: var(--primary); }

/* Consent notice text */
.ic-consent-notice {
  font-size: 0.85rem; color: var(--text-light);
  line-height: 1.65; margin: 4px 0 8px;
}

/* Consent section */
.ic-agree-section {
  display: flex; flex-direction: column;
  border: 1.5px solid var(--border); border-radius: 10px;
  overflow: hidden;
}
.ic-agree-all {
  display: flex; align-items: center; gap: 12px;
  font-size: 1rem; font-weight: 700; color: var(--text);
  cursor: pointer; padding: 16px 18px;
  background: var(--white);
}
.ic-agree-all input[type="checkbox"] {
  flex-shrink: 0; accent-color: var(--primary);
  width: 20px; height: 20px;
}
.ic-agree-divider {
  border: none; border-top: 1.5px solid var(--border); margin: 0;
}
.ic-agree {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.95rem; color: var(--text); cursor: pointer;
  padding: 15px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.ic-agree:last-child { border-bottom: none; }
.ic-agree input[type="checkbox"] {
  flex-shrink: 0; accent-color: var(--primary);
  width: 18px; height: 18px;
}
.ic-agree em { color: var(--accent); font-style: normal; font-weight: 600; margin-left: 4px; }
.ic-agree em.opt { color: var(--text-light); font-weight: 400; }
.ic-agree a { color: var(--primary); text-decoration: underline; }

/* Submit button */
.ic-submit { margin-top: 14px; font-size: 1.05rem; padding: 17px; letter-spacing: 0.02em; }

@media (max-width: 540px) {
  .ic-title { font-size: 1.15rem; }
  .ic-agree { font-size: 0.88rem; padding: 14px 16px; }
  .ic-agree-all { padding: 14px 16px; }
}
