/* ============================================================
   炜易达国际供应链 · 官网设计系统
   深藏青 #0E1A2B × 铜金 #B98A4B · 编辑排版 · 工业质感
   ============================================================ */

:root {
  --navy: #0E1A2B;
  --navy-deep: #0B1626;
  --navy-soft: #16273D;
  --navy-line: rgba(185, 138, 75, .22);
  --paper: #F5F3EF;
  --paper-warm: #EDE9E1;
  --copper: #B98A4B;
  --copper-bright: #D6A967;
  --copper-deep: #8F6A37;
  --ink: #1B2430;
  --ink-2: #55606E;
  --ink-3: #8A93A0;
  --line: rgba(14, 26, 43, .14);
  --white: #FFFFFF;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --num: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, textarea { font: inherit; }

::selection { background: var(--copper); color: var(--navy-deep); }

/* 滚动条（与品牌色统一） */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: #33445C; border: 2px solid var(--navy-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--copper-deep); }

/* 键盘焦点可见 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.25; text-wrap: balance; }

/* 纸面颗粒：极细点阵，赋予印刷质感 */
.section.paper,
.section.paper-warm,
body {
  background-image: radial-gradient(rgba(14, 26, 43, .028) 1px, transparent 1px);
  background-size: 3px 3px;
}

.num { font-family: var(--num); font-weight: 600; letter-spacing: .02em; }

.sec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--num);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--copper);
}

.sec-kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--copper);
}

.sec-title {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: .02em;
  margin-top: 18px;
}

.sec-sub {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 16.5px;
  max-width: 640px;
}

.navy .sec-sub { color: rgba(255, 255, 255, .62); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--copper-deep);
  border-bottom: 1px solid rgba(185, 138, 75, .45);
  padding-bottom: 6px;
  transition: gap .3s var(--ease), color .3s;
}

.link-more:hover { gap: 16px; color: var(--copper); }

.navy .link-more { color: var(--copper-bright); border-color: rgba(214, 169, 103, .5); }

/* ---------- Sections ---------- */
section { position: relative; }

.section { padding: clamp(72px, 9vw, 128px) 0; }

.section.navy {
  background: var(--navy);
  color: rgba(255, 255, 255, .88);
}

.section.navy h1, .section.navy h2, .section.navy h3 { color: var(--white); }

.section.paper { background: var(--paper); }

.section.paper-warm { background: var(--paper-warm); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 36px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: all .35s var(--ease);
  white-space: nowrap;
}

.btn-copper {
  background: var(--copper);
  color: var(--navy-deep);
}

.btn-copper:hover {
  background: var(--copper-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(185, 138, 75, .32);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .38);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--copper);
  color: var(--copper-bright);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); }

.btn-sm { padding: 12px 26px; font-size: 14.5px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}

.site-header.is-solid {
  background: rgba(11, 22, 38, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(185, 138, 75, .28);
  height: 72px;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: auto;
}

.brand img {
  height: 44px;
  width: auto;
  filter: brightness(1.25) drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
  transition: height .4s var(--ease);
}

.site-header.is-solid .brand img { height: 38px; }

.brand-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, .28);
}

.brand-sub {
  font-family: var(--num);
  font-size: 13px;
  letter-spacing: .24em;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  position: relative;
  padding: 10px 18px;
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .04em;
  transition: color .3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 2px;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--white); }

.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-cta {
  padding: 12px 28px;
  background: var(--copper);
  color: var(--navy-deep);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .06em;
  transition: background .3s, transform .3s;
}

.nav-cta:hover { background: var(--copper-bright); transform: translateY(-2px); }

/* 移动端抽屉内报价按钮（桌面隐藏） */
.drawer-cta { display: none; }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 120;
}

.nav-burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--white);
  transition: transform .35s var(--ease), opacity .3s;
}

.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 22px; }
.nav-burger span:nth-child(3) { top: 29px; }

.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .58;
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  to { transform: scale(1.12) translateY(-1.5%); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 22, 38, .88) 0%, rgba(11, 22, 38, .46) 42%, rgba(11, 22, 38, .94) 100%),
    linear-gradient(90deg, rgba(11, 22, 38, .7) 0%, rgba(11, 22, 38, 0) 62%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 8vh);
  padding-bottom: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--num);
  font-size: 15px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--copper-bright);
}

.hero-kicker::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--copper);
}

.hero h1 {
  margin-top: 30px;
  font-size: clamp(44px, 6.6vw, 92px);
  line-height: 1.14;
  letter-spacing: .03em;
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--copper-bright);
}

.hero-sub {
  margin-top: 26px;
  max-width: 720px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, .78);
  letter-spacing: .06em;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: clamp(56px, 9vh, 110px);
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(11, 22, 38, .0), rgba(11, 22, 38, .55));
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-stat {
  padding: 30px 8px 34px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.hero-stat:first-child { border-left: 0; }

.hero-stat .n {
  font-family: var(--num);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 600;
  line-height: 1;
  color: var(--copper-bright);
}

.hero-stat .n small { font-size: .52em; margin-left: 4px; }

.hero-stat .l {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .62);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(70px, 11vh, 130px));
  padding-bottom: clamp(64px, 9vh, 110px);
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-bg { animation: none; opacity: .4; }

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 22, 38, .85), rgba(11, 22, 38, .95));
}

.page-hero .container { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .55);
}

.breadcrumb a:hover { color: var(--copper-bright); }

.breadcrumb span + span::before,
.breadcrumb a + span::before,
.breadcrumb a + a::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, .3);
}

.page-hero h1 {
  margin-top: 22px;
  font-size: clamp(36px, 4.6vw, 62px);
  color: var(--white);
  letter-spacing: .04em;
}

.page-hero .en {
  margin-top: 14px;
  font-family: var(--num);
  font-size: 15px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--copper);
}

/* ---------- Route map ---------- */
.routes-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.route-map {
  position: relative;
  background: var(--navy);
  padding: clamp(24px, 3vw, 44px);
  overflow: hidden;
}

.route-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(185, 138, 75, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 138, 75, .07) 1px, transparent 1px);
  background-size: 44px 44px;
}

.route-map svg { position: relative; width: 100%; height: auto; display: block; }

.route-path {
  fill: none;
  stroke: var(--copper);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  stroke-dashoffset: 0;
}

.route-path.anim {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2.6s var(--ease);
}

.route-map.is-in .route-path.anim { stroke-dashoffset: 0; }

.route-path.alt { stroke: rgba(214, 169, 103, .5); }

.route-dot { fill: var(--copper-bright); }

.route-node-core { fill: var(--white); }

.route-label {
  font-family: var(--sans);
  font-size: 15px;
  fill: rgba(255, 255, 255, .85);
}

.route-label.dim { fill: rgba(255, 255, 255, .5); font-size: 13px; }

.route-hub-ring {
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.5;
  opacity: .8;
}

.route-legend {
  display: flex;
  gap: 26px;
  margin-top: 20px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .08em;
}

.route-legend i {
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--copper);
  margin-right: 8px;
  vertical-align: middle;
}

.route-legend .l2 i { background: rgba(214, 169, 103, .5); }

.route-cards { display: flex; flex-direction: column; }

.route-card {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: baseline;
  transition: padding-left .4s var(--ease);
  position: relative;
}

.route-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: -1px;
  width: 2px;
  background: var(--copper);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease);
}

.route-card:hover { padding-left: 20px; }

.route-card:hover::before { transform: scaleY(1); }

.route-card:first-child { border-top: 1px solid var(--line); }

.route-card .idx {
  font-family: var(--num);
  font-size: 15px;
  color: var(--copper);
  letter-spacing: .1em;
}

.route-card h3 { font-size: 21px; letter-spacing: .04em; }

.route-card p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

.route-card .days {
  font-family: var(--num);
  font-size: 30px;
  color: var(--copper-deep);
  white-space: nowrap;
}

.route-card .days small { font-size: 14px; margin-left: 3px; color: var(--ink-3); }

/* ---------- Services ---------- */
.service-list { margin-top: 60px; }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.service-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }

.service-row:nth-child(even) .service-media { order: 2; }

.service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-soft);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  filter: saturate(.88) contrast(1.04);
}

.service-row:hover .service-media img { transform: scale(1.06); }

.service-media .ph { position: absolute; inset: 0; }

.service-no {
  font-family: var(--num);
  font-size: clamp(64px, 8vw, 110px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 169, 103, .55);
  letter-spacing: .04em;
}

.service-body h3 {
  margin-top: 18px;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--white);
  letter-spacing: .04em;
}

.service-body h3 .badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 14px;
  padding: 5px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--navy-deep);
  background: var(--copper);
  transform: translateY(-4px);
}

.service-body p {
  margin-top: 16px;
  color: rgba(255, 255, 255, .66);
  font-size: 15.5px;
  max-width: 560px;
}

.service-meta {
  display: flex;
  gap: 44px;
  margin-top: 26px;
}

.service-meta .item .k {
  font-size: 12.5px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .45);
  text-transform: uppercase;
}

.service-meta .item .v {
  font-family: var(--num);
  font-size: 30px;
  color: var(--copper-bright);
  margin-top: 4px;
}

.service-meta .item .v.txt { font-family: var(--sans); font-size: 17px; font-weight: 500; padding-top: 6px; }

.service-body .link-more { margin-top: 30px; }

/* 服务条目悬停：题头铜金化 */
.service-row:hover .service-body h3 { color: var(--copper-bright); transition: color .4s; }

/* ---------- Strength / About teaser ---------- */
.strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.strength-media { position: relative; overflow: hidden; background: var(--navy-soft); }

.strength-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05);
}

.strength-media .tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 18px 30px;
  background: var(--copper);
  color: var(--navy-deep);
  font-weight: 600;
  letter-spacing: .1em;
  font-size: 14.5px;
}

.strength-body {
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  padding: clamp(48px, 6vw, 88px) clamp(32px, 5vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.strength-body h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  color: var(--white);
  margin-top: 18px;
}

.strength-body .lead {
  margin-top: 22px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, .68);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, .12);
}

.stat-cell { background: var(--navy); padding: 26px 28px; }

.stat-cell .n {
  font-family: var(--num);
  font-size: clamp(36px, 3.6vw, 50px);
  line-height: 1;
  color: var(--copper-bright);
}

.stat-cell .l {
  margin-top: 8px;
  font-size: 13.5px;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .58);
}

/* ---------- News ---------- */
.news-cols {
  margin-top: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}

.news-col h3 {
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy);
}

.news-col h3 .en {
  font-family: var(--num);
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--copper);
  font-weight: 600;
}

.news-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: transform .35s var(--ease);
}

.news-item:hover { transform: translateX(6px); }

.news-item .date { text-align: left; }

.news-item .date .d {
  font-family: var(--num);
  font-size: 40px;
  line-height: 1;
  color: var(--navy);
}

.news-item .date .m {
  font-family: var(--num);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--ink-3);
  margin-top: 4px;
}

.news-item h4 {
  font-size: 17.5px;
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.5;
  transition: color .3s;
}

.news-item:hover h4 { color: var(--copper-deep); }

.news-item p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-empty { padding: 40px 0; color: var(--ink-3); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--copper);
  color: var(--navy-deep);
  padding: clamp(54px, 7vw, 84px) 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: clamp(26px, 3.4vw, 42px); letter-spacing: .03em; }

.cta-band p { margin-top: 12px; font-size: 16px; color: rgba(11, 22, 38, .78); }

.cta-band .tel {
  font-family: var(--num);
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: .04em;
  display: inline-block;
}

.cta-band .btn-navy:hover { background: var(--navy-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .62);
  font-size: 14.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(56px, 7vw, 84px) 0 48px;
}

.footer-brand img {
  height: 44px;
  filter: brightness(1.25) drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
  margin-bottom: 22px;
}

.footer-brand p { line-height: 1.9; max-width: 340px; }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .16em;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  position: relative;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 44px;
  height: 1px;
  background: var(--copper);
}

.footer-col li { margin-bottom: 12px; }

.footer-col a { transition: color .3s, padding-left .3s; }

.footer-col a:hover { color: var(--copper-bright); padding-left: 6px; }

.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; }

.footer-contact .k {
  color: var(--copper);
  flex: 0 0 auto;
  letter-spacing: .1em;
}

.qr-box {
  width: 108px;
  height: 108px;
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .5);
  background-image:
    linear-gradient(rgba(185, 138, 75, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 138, 75, .1) 1px, transparent 1px);
  background-size: 14px 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .4);
}

.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Content pages ---------- */
.content-wrap { max-width: 860px; margin: 0 auto; }

.article-head { text-align: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }

.article-head h1 {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-top: 22px;
  letter-spacing: .03em;
}

.article-meta {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 13.5px;
  color: var(--ink-3);
  letter-spacing: .08em;
  flex-wrap: wrap;
}

.article-meta .cat { color: var(--copper-deep); font-weight: 600; }

.article-cover { margin-top: 44px; }

.article-body {
  margin-top: 44px;
  font-size: 16.5px;
  line-height: 2;
  color: #2A3342;
}

.article-body p { margin-bottom: 1.4em; }

.article-body h2, .article-body h3 { margin: 1.6em 0 .8em; }

.article-body img { margin: 1.6em auto; }

.article-body blockquote {
  border-left: 3px solid var(--copper);
  padding: 14px 24px;
  background: rgba(185, 138, 75, .07);
  margin: 1.6em 0;
  color: var(--ink-2);
}

.article-note {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--paper-warm);
  border-left: 3px solid var(--copper);
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---------- Service detail ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.detail-side { position: sticky; top: 100px; }

.side-card {
  background: var(--navy);
  color: rgba(255, 255, 255, .78);
  padding: 34px 32px;
}

.side-card h3 { color: var(--white); font-size: 21px; }

.side-card .row {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 14.5px;
}

.side-card .row:last-of-type { border-bottom: 0; }

.side-card .row .v { color: var(--copper-bright); font-weight: 500; }

.side-card .btn { width: 100%; margin-top: 22px; }

.side-card + .side-card, .more-list { margin-top: 24px; }

.more-list { border: 1px solid var(--line); padding: 26px 28px; background: var(--white); }

.more-list h3 { font-size: 17px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }

.more-list a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  transition: color .3s;
}

.more-list a:last-child { border-bottom: 0; }

.more-list a:hover { color: var(--copper-deep); }

/* ---------- News list page ---------- */
.tabs {
  display: flex;
  gap: 8px;
  margin-top: 44px;
  border-bottom: 2px solid var(--navy);
}

.tab {
  padding: 14px 32px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  transition: color .3s;
}

.tab.is-active { color: var(--navy); font-weight: 600; }

.tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--copper);
}

.tab .en { font-family: var(--num); font-size: 12.5px; letter-spacing: .16em; margin-left: 8px; color: var(--ink-3); }

.news-list .news-item { grid-template-columns: 110px 1fr; padding: 34px 0; }

.news-list .news-item .date .d { font-size: 46px; }

.load-more { text-align: center; margin-top: 52px; }

.empty-state {
  padding: 90px 0;
  text-align: center;
  color: var(--ink-3);
}

.empty-state .big {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink-2);
  margin-bottom: 10px;
}

/* ---------- Cards grid (cases / gallery) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: 52px;
}

.case-card { background: var(--white); transition: transform .4s var(--ease), box-shadow .4s; }

.case-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(14, 26, 43, .13); }

.case-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.case-card:hover .case-cover img { transform: scale(1.07); }

.case-cover .no {
  position: absolute;
  left: 22px;
  bottom: 10px;
  font-family: var(--num);
  font-size: 74px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 169, 103, .8);
}

.case-tags { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

.tag-chip {
  font-size: 12.5px;
  letter-spacing: .1em;
  padding: 5px 14px;
  border: 1px solid rgba(185, 138, 75, .55);
  color: var(--copper-deep);
}

.case-card h3 { font-size: 21px; margin-top: 16px; }

.case-card p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card .case-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
}

/* Gallery */
.gallery-album { background: var(--white); padding: 18px; }

.gallery-album .cover {
  aspect-ratio: 4 / 3;
  background: var(--navy);
  overflow: hidden;
  position: relative;
}

.gallery-album .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }

.gallery-album:hover .cover img { transform: scale(1.06); }

.gallery-album h3 { font-size: 19px; margin-top: 18px; }

.gallery-album .meta { font-size: 13px; color: var(--ink-3); margin-top: 6px; letter-spacing: .08em; }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.gallery-thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* ---------- About page ---------- */
.about-lead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
}

.about-lead .mark {
  font-family: var(--serif);
  font-size: clamp(72px, 9vw, 130px);
  line-height: .9;
  color: var(--copper);
}

.about-lead .prose p { margin-bottom: 1.5em; font-size: 16.5px; line-height: 2.05; color: #2A3342; }

.about-lead .prose p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 3.2em;
  float: left;
  line-height: .96;
  padding: 8px 14px 0 0;
  color: var(--navy);
  font-weight: 700;
}

.timeline { margin-top: 60px; position: relative; padding-left: 40px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--copper), rgba(185, 138, 75, .15));
}

.timeline li { position: relative; padding-bottom: 44px; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 10px;
  width: 15px;
  height: 15px;
  border: 3px solid var(--copper);
  background: var(--paper);
  border-radius: 50%;
  transform: translateX(0);
}

.timeline .year {
  font-family: var(--num);
  font-size: 30px;
  color: var(--copper-deep);
}

.timeline h4 { font-size: 19px; margin-top: 6px; }

.timeline p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); max-width: 640px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.contact-info h2 { font-size: clamp(26px, 3vw, 38px); }

.info-list { margin-top: 34px; }

.info-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.info-list .k { color: var(--copper-deep); letter-spacing: .16em; font-size: 13.5px; padding-top: 3px; }

.info-list .v strong { font-size: 21px; font-family: var(--num); letter-spacing: .04em; }

.contact-form {
  background: var(--white);
  padding: clamp(32px, 4vw, 52px);
  box-shadow: 0 30px 60px rgba(14, 26, 43, .08);
}

.contact-form h3 { font-size: 24px; }

.contact-form .hint { font-size: 14px; color: var(--ink-2); margin-top: 10px; }

.form-field { margin-top: 24px; }

.form-field label {
  display: block;
  font-size: 13.5px;
  letter-spacing: .12em;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.form-field label .req { color: #C0392B; margin-left: 4px; }

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color .3s, background .3s;
  outline: none;
  border-radius: 0;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--copper);
  background: var(--white);
}

.form-field textarea { resize: vertical; min-height: 140px; }

.form-msg { margin-top: 18px; font-size: 14.5px; min-height: 22px; }

.form-msg.ok { color: #2E7D4F; }
.form-msg.err { color: #C0392B; }

/* ---------- Fallback photo placeholder ---------- */
.ph {
  position: relative;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 60%, #1D3350 100%);
  overflow: hidden;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(185, 138, 75, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 138, 75, .12) 1px, transparent 1px);
  background-size: 36px 36px;
}

.ph::after {
  content: attr(data-ph);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 30px);
  color: rgba(214, 169, 103, .85);
  letter-spacing: .3em;
  text-align: center;
  padding: 20px;
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal][data-delay="1"] { transition-delay: .12s; }
[data-reveal][data-delay="2"] { transition-delay: .24s; }
[data-reveal][data-delay="3"] { transition-delay: .36s; }
[data-reveal][data-delay="4"] { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .route-path.anim { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .routes-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --header-h: 70px; }

  .nav-burger { display: block; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(11, 22, 38, .98);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
    z-index: 110;
  }

  .nav-links.is-open { opacity: 1; visibility: visible; }

  .nav-links a { font-size: 22px; padding: 14px 24px; }

  .nav-cta { display: none; }

  .drawer-cta {
    display: inline-flex;
    margin-top: 26px;
    padding: 15px 44px;
    background: var(--copper);
    color: var(--navy-deep) !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .14em;
  }

  .drawer-cta::after { display: none; }

  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 6px; }

  .hero-stat:nth-child(-n+2) { border-top: 0; }

  .service-row { grid-template-columns: 1fr; }

  .service-row:nth-child(even) .service-media { order: 0; }

  .strength-grid { grid-template-columns: 1fr; }

  .strength-media { min-height: 340px; }

  .news-cols { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { min-height: 88vh; }

  .hero-actions .btn { width: 100%; }

  .card-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }

  .news-item, .news-list .news-item { grid-template-columns: 74px 1fr; gap: 16px; }

  .about-lead { grid-template-columns: 1fr; }

  .about-lead .mark { display: none; }

  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
