:root {
  --brand: #8B5E3C;
  --brand-2: #C08552;
  --brand-3: #D9A66C;
  --bg: #FDFBF7;
  --bg-soft: #FBF3E9;
  --ink: #2B211B;
  --muted: #6B5B4F;
  --line: #E7DDD2;
  --card: #FFFFFF;
  --accent: #5C7A5A;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.65);
  --shadow-sm: 0 4px 14px -8px rgba(139, 94, 60, 0.35);
  --shadow-md: 0 16px 34px -22px rgba(139, 94, 60, 0.5);
  --shadow-lg: 0 28px 60px -30px rgba(139, 94, 60, 0.55);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 0.68, 0.31, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  text-decoration: underline;
}

img,
svg {
  max-width: 100%;
  display: block;
}

::selection {
  background: rgba(192, 133, 82, 0.28);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header:hover {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease);
}

.logo:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.logo svg {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 18px -10px rgba(139, 94, 60, 0.8);
  transition: transform 0.4s var(--ease);
}

.logo:hover svg {
  transform: rotate(-6deg) scale(1.05);
}

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

.nav a {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
  transition: width 0.3s var(--ease);
}

.nav a:hover {
  color: var(--brand);
  text-decoration: none;
}

.nav a:hover::after {
  width: 100%;
}

.header-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-box {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search-box:focus-within {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(192, 133, 82, 0.16);
}

.search-box input {
  border: 0;
  padding: 8px 14px;
  font-size: 14px;
  outline: none;
  width: 150px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
}

.search-box button {
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  transition: filter 0.25s var(--ease);
}

.search-box button:hover {
  filter: brightness(1.08);
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  box-shadow: 0 10px 22px -14px rgba(139, 94, 60, 0.9);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), filter 0.28s var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -14px rgba(139, 94, 60, 0.95);
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(139, 94, 60, 0.08);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.25s var(--ease);
}

.menu-toggle:hover {
  background: rgba(139, 94, 60, 0.08);
}

/* ============ BREADCRUMB ============ */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 14px 0;
}

.breadcrumb a {
  color: var(--muted);
}

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

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 44px 0 60px;
  background:
    radial-gradient(1200px 480px at 12% -10%, rgba(192, 133, 82, 0.22), transparent 60%),
    radial-gradient(900px 420px at 92% 8%, rgba(92, 122, 90, 0.14), transparent 62%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(139, 94, 60, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.32;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  animation: rise 0.7s var(--ease) both;
}

.hero h1 em {
  color: var(--brand);
  font-style: normal;
  background: linear-gradient(120deg, var(--brand), var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 17px;
  color: var(--muted);
  margin: 0 0 22px;
  animation: rise 0.7s var(--ease) both;
}

.hero p.lead:nth-of-type(2) {
  animation-delay: 0.08s;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: rise 0.7s var(--ease) 0.14s both;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 34px;
  flex-wrap: wrap;
  animation: rise 0.7s var(--ease) 0.2s both;
}

.stat {
  padding-right: 22px;
  border-right: 1px dashed var(--line);
}

.stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.stat b {
  font-size: 27px;
  color: var(--brand);
  display: block;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============ SLIDER ============ */
.slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  animation: rise 0.8s var(--ease) 0.1s both;
}

.slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(192, 133, 82, 0.16), transparent 55%);
  pointer-events: none;
}

.slide {
  display: none;
  padding: 28px;
  position: relative;
}

.slide.active {
  display: block;
  animation: fade 0.5s var(--ease);
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.slide h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.45;
}

.slide p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 0 0 18px;
  position: relative;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.slider-dots button:hover {
  background: var(--brand-3);
}

.slider-dots button.active {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  width: 22px;
  border-radius: 6px;
}

/* ============ SECTIONS ============ */
section {
  padding: 58px 0;
  position: relative;
}

section:nth-of-type(even) {
  background: linear-gradient(180deg, transparent, rgba(251, 243, 233, 0.5), transparent);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(22px, 2.6vw, 31px);
  margin: 0 0 12px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  position: relative;
  padding-left: 18px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-3));
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

/* ============ GRID ============ */
.grid {
  display: grid;
  gap: 22px;
}

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

.g3 {
  grid-template-columns: repeat(3, 1fr);
}

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

/* ============ CARD ============ */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, rgba(192, 133, 82, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(192, 133, 82, 0.45);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
}

.card h4 {
  margin: 14px 0 6px;
  font-size: 15px;
  color: var(--brand);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.card ul li {
  margin-bottom: 6px;
}

.card ul li::marker {
  color: var(--brand-2);
}

/* ============ PROSE ============ */
.prose {
  max-width: 900px;
}

.prose p {
  color: #3A2E27;
  font-size: 15.5px;
  margin: 0 0 14px;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 19px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.prose h4 {
  margin: 18px 0 8px;
  font-size: 16px;
  color: var(--brand);
}

.prose ul,
.prose ol {
  color: #3A2E27;
  font-size: 15.5px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--brand-2);
}

/* ============ TAG ============ */
.tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F3E7DA, #F8EFE5);
  color: var(--brand);
  margin-right: 6px;
  border: 1px solid rgba(192, 133, 82, 0.25);
}

/* ============ ARTICLE CARD ============ */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card .meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.article-card h3 {
  font-size: 17px;
  transition: color 0.25s var(--ease);
}

.article-card:hover h3 {
  color: var(--brand);
}

.article-card .more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

.article-card .more a {
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s var(--ease);
}

.article-card .more a:hover {
  text-decoration: none;
  gap: 9px;
}

.article-card .abstract {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 920px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item:hover {
  border-color: rgba(192, 133, 82, 0.5);
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: var(--brand-2);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: inherit;
  line-height: 1.6;
  transition: color 0.25s var(--ease);
}

.faq-q:hover {
  color: var(--brand);
}

.faq-q span.icon {
  color: var(--brand);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.faq-item.open .faq-q span.icon {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 14.5px;
  animation: fade 0.35s var(--ease);
}

.faq-item.open .faq-a {
  display: block;
}

/* ============ STEPS ============ */
.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 56px;
  margin-bottom: 22px;
}

.step:last-child {
  margin-bottom: 0;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 8px 18px -10px rgba(139, 94, 60, 0.9);
  transition: transform 0.3s var(--ease);
}

.step:hover::before {
  transform: scale(1.08);
}

.step h4 {
  margin: 4px 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ============ TESTIMONIAL ============ */
.testimonial {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 18px;
  font-size: 56px;
  line-height: 1;
  color: rgba(192, 133, 82, 0.22);
  font-family: Georgia, serif;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial p {
  font-size: 14.5px;
  color: #3A2E27;
  margin: 0 0 14px;
  position: relative;
}

.testimonial .who {
  font-size: 13.5px;
  color: var(--muted);
}

.testimonial .who b {
  color: var(--ink);
}

/* ============ NEWS ============ */
.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  display: flex;
  gap: 18px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.news-item:hover {
  transform: translateX(4px);
  border-color: rgba(192, 133, 82, 0.5);
  box-shadow: var(--shadow-sm);
}

.news-item time {
  font-size: 13px;
  color: var(--muted);
  min-width: 96px;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.news-item h4 {
  margin: 0 0 4px;
  font-size: 15.5px;
}

.news-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow 0.35s var(--ease);
}

.contact-box:hover {
  box-shadow: var(--shadow-md);
}

.contact-box h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.contact-list li:hover {
  color: var(--ink);
}

.contact-list li b {
  color: var(--ink);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.map-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  padding: 10px 12px;
  background: rgba(192, 133, 82, 0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand-2);
}

/* ============ SITEMAP ============ */
.sitemap-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sitemap-links h4 {
  margin: 0 0 10px;
  font-size: 15px;
  position: relative;
  padding-bottom: 8px;
}

.sitemap-links h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
}

.sitemap-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-links li {
  margin-bottom: 6px;
  font-size: 14px;
}

.sitemap-links a {
  color: var(--muted);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.sitemap-links a:hover {
  color: var(--brand);
  padding-left: 4px;
  text-decoration: none;
}

/* ============ FOOTER ============ */
footer {
  position: relative;
  background: linear-gradient(180deg, #2B211B 0%, #1F1815 100%);
  color: #D8CCC2;
  padding: 46px 0 24px;
  margin-top: 20px;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 133, 82, 0.18), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

footer h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 12px;
}

footer p,
footer li,
footer a {
  font-size: 13.5px;
  color: #B9ACA2;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 6px;
}

footer a {
  transition: color 0.25s var(--ease);
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  position: relative;
  border-top: 1px solid #3D312A;
  margin-top: 28px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #9C8F85;
}

/* ============ BACK TOP ============ */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border: 0;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px -10px rgba(139, 94, 60, 0.85);
  z-index: 90;
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}

.back-top:hover {
  transform: translateY(-3px) scale(1.06);
  filter: brightness(1.08);
}

.back-top.show {
  display: flex;
  animation: fade 0.3s var(--ease);
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ DARK MODE ============ */
body.dark {
  --bg: #1B1613;
  --bg-soft: #241D19;
  --ink: #F2E9E1;
  --muted: #B8A99D;
  --line: #3A2E27;
  --card: #241D19;
  --glass: rgba(36, 29, 25, 0.6);
  --glass-border: rgba(90, 74, 62, 0.65);
  --shadow-sm: 0 4px 14px -8px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 16px 34px -22px rgba(0, 0, 0, 0.85);
  --shadow-lg: 0 28px 60px -30px rgba(0, 0, 0, 0.9);
}

body.dark .site-header {
  background: rgba(27, 22, 19, 0.8);
}

body.dark .hero {
  background:
    radial-gradient(1200px 480px at 12% -10%, rgba(192, 133, 82, 0.16), transparent 60%),
    radial-gradient(900px 420px at 92% 8%, rgba(92, 122, 90, 0.12), transparent 62%),
    linear-gradient(180deg, #241D19 0%, var(--bg) 100%);
}

body.dark .hero::before {
  background-image: radial-gradient(rgba(192, 133, 82, 0.12) 1px, transparent 1px);
}

body.dark .search-box {
  background: #241D19;
}

body.dark .search-box input {
  color: #F2E9E1;
}

body.dark .search-box input::placeholder {
  color: #8A7C71;
}

body.dark .faq-item,
body.dark .testimonial,
body.dark .news-item,
body.dark .contact-box,
body.dark .slider {
  background: var(--card);
}

body.dark .tag {
  background: linear-gradient(135deg, #3A2E27, #443528);
  color: #E7C9A8;
  border-color: rgba(192, 133, 82, 0.35);
}

body.dark .prose p,
body.dark .prose ul,
body.dark .prose ol,
body.dark .testimonial p {
  color: #D8CCC2;
}

body.dark .map-note {
  background: rgba(192, 133, 82, 0.14);
}

body.dark footer {
  background: linear-gradient(180deg, #120E0C 0%, #0D0A09 100%);
}

body.dark .btn-ghost {
  color: var(--brand-3);
  border-color: var(--brand-2);
}

body.dark .btn-ghost:hover {
  background: rgba(192, 133, 82, 0.12);
}

body.dark section:nth-of-type(even) {
  background: linear-gradient(180deg, transparent, rgba(36, 29, 25, 0.6), transparent);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .g4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-inner {
    gap: 14px;
  }
  .search-box input {
    width: 130px;
  }
}

@media (max-width: 960px) {
  .g3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .sitemap-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 34px 0 48px;
  }
  section {
    padding: 48px 0;
  }
  .slider {
    max-width: 560px;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .nav.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    gap: 4px;
    animation: fade 0.3s var(--ease);
  }
  .nav.open a {
    padding: 8px 4px;
    border-radius: 8px;
  }
  .nav.open a:hover {
    background: rgba(139, 94, 60, 0.08);
  }
  .nav.open a::after {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
  .header-tools {
    flex-wrap: wrap;
  }
  .search-box input {
    width: 110px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }
  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 16px;
  }
  .stat {
    padding-right: 16px;
  }
  .stat b {
    font-size: 23px;
  }
  .sitemap-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .news-item {
    flex-direction: column;
    gap: 6px;
  }
  .news-item:hover {
    transform: none;
  }
  .card,
  .contact-box,
  .testimonial {
    padding: 20px;
  }
  .section-head h2 {
    padding-left: 14px;
  }
  .step {
    padding-left: 48px;
  }
  .step::before {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .back-top {
    right: 14px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .hero-actions .btn {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .search-box input {
    width: 84px;
    padding: 8px 10px;
  }
  .search-box button {
    padding: 8px 12px;
  }
  .logo {
    font-size: 18px;
  }
  .logo svg {
    width: 34px;
    height: 34px;
  }
}

/* ============ ACCESSIBILITY & PRINT ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .back-top,
  .slider,
  .hero-actions,
  .search-box,
  .menu-toggle {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .card,
  .faq-item,
  .news-item {
    border-color: #ccc;
    box-shadow: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  section {
    padding: 20px 0;
  }
}