/* 洪云跨境信息发布平台 — Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --navy: #0B1F33;
  --navy-mid: #14324F;
  --navy-soft: #1E4568;
  --teal: #1A8A7D;
  --teal-light: #2AB5A5;
  --teal-pale: #E6F6F4;
  --sand: #F0EBE3;
  --cream: #FAF8F5;
  --ink: #1A2332;
  --muted: #5A6A7A;
  --line: #D8E0E8;
  --white: #FFFFFF;
  --gold: #B8924A;
  --danger: #C45C4A;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(11, 31, 51, 0.08);
  --shadow-lg: 0 20px 60px rgba(11, 31, 51, 0.14);
  --font-sans: "Noto Sans SC", "Outfit", sans-serif;
  --font-serif: "Noto Serif SC", serif;
  --font-display: "Outfit", "Noto Sans SC", sans-serif;
  --max: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 15px;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 51, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  color: white;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
}

.logo-text span {
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: rgba(255,255,255,0.72);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: white;
  background: rgba(255,255,255,0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 560;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  box-shadow: 0 4px 16px rgba(26, 138, 125, 0.35);
}

.btn-primary:hover { box-shadow: 0 8px 24px rgba(26, 138, 125, 0.45); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover { background: rgba(255,255,255,0.08); color: white; }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-outline:hover { background: var(--teal-pale); }

.btn-dark {
  background: var(--navy);
  color: white;
}

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 22px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  animation: heroZoom 28s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11,31,51,0.92) 0%, rgba(11,31,51,0.72) 48%, rgba(26,138,125,0.35) 100%),
    linear-gradient(to top, rgba(11,31,51,0.8), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 100px;
  max-width: 680px;
}

.hero-brand {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: white;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  animation: fadeUp 0.8s ease both;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.78);
  margin-bottom: 12px;
  font-weight: 400;
  animation: fadeUp 0.8s ease 0.12s both;
}

.hero-desc {
  color: rgba(255,255,255,0.58);
  font-size: 15px;
  margin-bottom: 36px;
  max-width: 480px;
  animation: fadeUp 0.8s ease 0.22s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 0.8s ease 0.32s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ========== Sections ========== */
.section { padding: 88px 0; }

.section-alt {
  background: white;
}

.section-dark {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}

.section-head {
  text-align: center;
  margin-bottom: 52px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-dark .section-title { color: white; }

.section-desc {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 15px;
}

.section-dark .section-desc { color: rgba(255,255,255,0.6); }

/* ========== Category Grid ========== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  group: true;
}

.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cat-card:hover img { transform: scale(1.06); }

.cat-card-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,51,0.92) 0%, rgba(11,31,51,0.2) 55%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}

.cat-card h3 {
  color: white;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.cat-card p {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

.cat-count {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--teal-light);
  font-weight: 600;
}

/* ========== Info Cards ========== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.info-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.info-card:hover .info-card-img img { transform: scale(1.05); }

.info-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11,31,51,0.85);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.info-card-body { padding: 22px 22px 26px; }

.info-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.info-card-excerpt {
  font-size: 13px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.info-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.merchant-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--navy-soft);
  font-weight: 500;
}

.merchant-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--teal-pale);
}

.link-more {
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
}

.link-more:hover { color: var(--teal-light); }

/* ========== Stats ========== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-item span {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

/* ========== Merchants strip ========== */
.merchant-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.merchant-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}

.merchant-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.merchant-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--teal-pale);
}

.merchant-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.35;
}

.merchant-card p {
  font-size: 12px;
  color: var(--muted);
}

/* ========== CTA Banner ========== */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 64px 48px;
  text-align: center;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.cta-banner-content { position: relative; z-index: 1; }

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: white;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}

/* ========== Page Hero (inner) ========== */
.page-hero {
  background: var(--navy);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/pattern-map.jpg") center/cover;
  opacity: 0.12;
}

.page-hero-inner { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: white;
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { opacity: 0.4; }

/* ========== List Page ========== */
.list-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding: 48px 0 80px;
  align-items: start;
}

.filter-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.filter-panel h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.filter-group { margin-bottom: 24px; }

.filter-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

.filter-group label:hover { color: var(--navy); }

.filter-group input[type="radio"],
.filter-group input[type="checkbox"] {
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.list-count { color: var(--muted); font-size: 14px; }
.list-count strong { color: var(--navy); }

.search-box {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  height: 42px;
  min-width: 260px;
}

.search-box input {
  border: none;
  outline: none;
  flex: 1;
  background: transparent;
  font-size: 14px;
}

.list-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s;
}

.list-item:hover { box-shadow: var(--shadow); }

.list-item-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.list-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-item-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}

.list-item-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--teal-pale);
  color: var(--teal);
}

.tag-gold {
  background: #F8F0E0;
  color: var(--gold);
}

.list-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.list-item h3:hover { color: var(--teal); }

.list-item-excerpt {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.list-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.page-btn:hover,
.page-btn.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* ========== Detail Page ========== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 48px 0 80px;
  align-items: start;
}

.detail-main {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.detail-cover {
  aspect-ratio: 21/9;
  overflow: hidden;
}

.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-body { padding: 36px 40px 48px; }

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}

.detail-body h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 24px;
}

.detail-content {
  font-size: 15px;
  color: #3A4A5A;
  line-height: 1.85;
}

.detail-content p { margin-bottom: 16px; }

.detail-content h3 {
  font-size: 17px;
  color: var(--navy);
  margin: 28px 0 12px;
}

.detail-content ul {
  margin: 12px 0 20px;
  padding-left: 0;
}

.detail-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.detail-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.detail-sidebar { display: flex; flex-direction: column; gap: 20px; }

.side-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.side-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.publisher-card {
  text-align: center;
}

.publisher-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--teal-pale);
}

.publisher-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.publisher-card .pub-addr {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.pub-contact {
  text-align: left;
  background: var(--cream);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
  font-size: 13px;
}

.pub-contact dt {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 2px;
}

.pub-contact dd {
  color: var(--navy);
  font-weight: 500;
  margin-bottom: 10px;
}

.pub-contact dd:last-child { margin-bottom: 0; }

.related-list a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--navy-soft);
  line-height: 1.45;
}

.related-list a:last-child { border-bottom: none; }
.related-list a:hover { color: var(--teal); }

/* ========== Merchant Page ========== */
.merchant-hero {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.merchant-hero-avatar {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.merchant-hero h1 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.merchant-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.merchant-hero-meta strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-top: 2px;
}

.merchant-info-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 28px 0;
}

.merchant-info-block h2 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 14px;
}

.merchant-info-block p {
  color: var(--muted);
  font-size: 14px;
}

.info-dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

.info-dl dt { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.info-dl dd { font-size: 14px; color: var(--navy); font-weight: 500; }

/* ========== Forms ========== */
.form-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.form-visual {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

.form-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.form-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11,31,51,0.85), rgba(26,138,125,0.5));
}

.form-visual-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  color: white;
}

.form-visual-content h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.form-visual-content p {
  color: rgba(255,255,255,0.7);
  max-width: 360px;
  font-size: 15px;
}

.form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: var(--cream);
}

.form-box {
  width: 100%;
  max-width: 420px;
}

.form-box h1 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-box > .sub {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 14px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 560;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-check input { margin-top: 3px; accent-color: var(--teal); }

.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

.form-footer a { color: var(--teal); font-weight: 600; }

.form-wide {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-card h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-card .sub {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 14px;
}

.upload-zone {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  background: var(--cream);
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.upload-zone:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
}

.upload-zone strong {
  display: block;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 15px;
}

/* ========== About ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 14px;
  font-size: 15px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.fact-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.fact-box strong {
  display: block;
  font-size: 12px;
  color: var(--teal);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.fact-box span {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.45;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal-pale);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
  font-weight: 700;
  font-family: var(--font-display);
}

.value-card h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text strong { font-size: 18px; }
.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  padding: 5px 0;
  color: rgba(255,255,255,0.55);
}

.footer-col a:hover { color: var(--teal-light); }

.footer-col p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
}

.footer-bottom a:hover { color: var(--teal-light); }

/* ========== Utilities ========== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .merchant-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .list-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .detail-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-page { grid-template-columns: 1fr; }
  .form-visual { min-height: 280px; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy);
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .info-grid { grid-template-columns: 1fr; }
  .merchant-grid { grid-template-columns: 1fr 1fr; }
  .list-item { grid-template-columns: 1fr; }
  .list-item-img { aspect-ratio: 16/9; }
  .about-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .merchant-hero { grid-template-columns: 1fr; text-align: center; }
  .merchant-hero-avatar { margin: 0 auto; }
  .merchant-hero-meta { justify-content: center; }
  .info-dl { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .detail-body { padding: 24px 20px 32px; }
  .cta-banner { padding: 48px 24px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding: 56px 0 80px; }
}
