:root {
  --bg: #f3f2f0;
  --surface: #ffffff;
  --text: #2f3238;
  --muted: #686c74;
  --line: #d8d4cf;
  --brand: #4f535c;
  --brand-dark: #3a3d45;
  --accent: #ea3a2f;
  --accent-dark: #c92d25;
  --shadow: 0 10px 30px rgba(38, 39, 45, 0.12);
  --shadow-strong: 0 20px 44px rgba(30, 31, 36, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -10%, rgba(234, 58, 47, 0.1) 0, rgba(234, 58, 47, 0) 34%),
    radial-gradient(circle at 95% 0, rgba(79, 83, 92, 0.1) 0, rgba(79, 83, 92, 0) 30%),
    linear-gradient(180deg, #f6f4f2 0%, var(--bg) 360px, var(--bg) 100%);
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.container {
  width: min(1380px, 94vw);
  margin: 0 auto;
}

.site-header {
  background: linear-gradient(180deg, #585d67, var(--brand-dark));
  border-bottom: 5px solid var(--accent);
  color: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  color: #fff;
  text-decoration: none;
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.brand img {
  width: auto;
  height: 64px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a {
  color: #f6f6f7;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.nav a.active,
.nav a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.65);
}

main {
  padding: 36px 0 62px;
}

.page-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
  border-radius: 22px;
  padding: 34px;
}

.hero {
  background: linear-gradient(rgba(45, 49, 56, 0.48), rgba(45, 49, 56, 0.72)), url('/images/optimized/iacf1-1600.webp') center/cover;
  color: #fff;
  border-radius: 18px;
  padding: 40px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

.hero h1 {
  margin: 0 0 10px;
  line-height: 1.15;
  font-size: clamp(34px, 4.8vw, 58px);
  letter-spacing: 0.2px;
}

.hero p {
  margin: 0;
  max-width: 75ch;
}

.carousel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #e4e1de;
  box-shadow: var(--shadow);
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 1200 / 614;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 24px;
  color: #fff;
  background: linear-gradient(to top, rgba(34, 37, 42, 0.8), rgba(34, 37, 42, 0.14));
}

.carousel-caption h3 {
  margin: 0 0 6px;
  font-size: clamp(24px, 2.8vw, 34px);
  color: #fff;
}

.carousel-caption p {
  margin: 0;
  color: #f0f1f3;
  font-size: 16px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(58, 61, 69, 0.72);
  cursor: pointer;
  font-size: 30px;
  line-height: 50px;
  text-align: center;
}

.carousel-btn:hover { background: rgba(201, 45, 37, 0.9); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background: #ffffff;
}

.section-title {
  font-size: clamp(30px, 3vw, 42px);
  margin: 42px 0 14px;
  color: var(--brand-dark);
  letter-spacing: 0.3px;
  line-height: 1.2;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 8px;
}

.lead {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.subnav a {
  border: 1px solid #d5d1cc;
  background: #efedeb;
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 14px;
  text-decoration: none;
}

.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: #ece8e3;
}

.card .body { padding: 18px; }
.card h3 { margin: 0 0 8px; font-size: 24px; color: var(--brand-dark); line-height: 1.25; }
.card p { margin: 0; color: var(--muted); }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.list { margin: 10px 0 0; padding-left: 22px; }
.list li { margin: 8px 0; }

.kv {
  display: grid;
  gap: 14px;
  grid-template-columns: 180px 1fr;
  margin-top: 12px;
}

.kv div { padding: 8px 0; border-bottom: 1px solid #e6e1db; }
.kv div:nth-last-child(-n+2) { border-bottom: 0; }
.kv strong { color: var(--brand-dark); }

.note {
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  background: #fff1ef;
  color: #6d2b25;
  border-radius: 8px;
}

.footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

.footer a { margin-right: 10px; }

@media (max-width: 980px) {
  .grid.four, .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-card { padding: 24px; border-radius: 18px; }
  .hero { padding: 26px; min-height: 260px; }
  .card img { height: 210px; }
}

@media (max-width: 760px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .brand img { height: 56px; }
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
  .hero { padding: 20px; min-height: 220px; }
  .card img { height: 190px; }
  .carousel-caption h3 { font-size: 20px; }
  .carousel-caption p { font-size: 14px; }
  .section-title { margin-top: 30px; font-size: 30px; }
  .lead { font-size: 16px; }
  .kv { grid-template-columns: 1fr; gap: 0; }
}
