/* ============================================================
   华脉非遗文化 - 主样式表
   传承中华文脉，守护非物质文化遗产
   ============================================================ */

/* === CSS 变量 === */
:root {
  --primary: #8B1A1A;
  --primary-dark: #5C0E0E;
  --primary-light: #B22222;
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #9A7B2E;
  --dark: #160808;
  --dark-mid: #2C1810;
  --text: #2C2416;
  --text-light: #7A6A5A;
  --bg: #FAF6F0;
  --bg-warm: #F5EDE0;
  --white: #FFFFFF;
  --border: #E8D5BE;
  --shadow: rgba(139, 26, 26, 0.12);

  --font-serif: 'Noto Serif SC', 'Source Han Serif CN', 'STSong', Georgia, serif;
  --font-sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;

  --nav-height: 72px;
  --container: 1200px;
  --section-pad: 88px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 2px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* === CONTAINER === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.5px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  padding: 12px 40px;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

.btn-sm {
  padding: 8px 22px;
  font-size: 13px;
  letter-spacing: 1px;
}

/* === SECTION COMMON === */
.section {
  padding: var(--section-pad) 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-tag::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--dark);
  margin-bottom: 20px;
}

.section-title-center {
  font-size: clamp(22px, 3vw, 36px);
  color: var(--dark);
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 54px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-more {
  text-align: center;
  margin-top: 48px;
}

.section-desc {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.95;
  margin-bottom: 18px;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(22, 8, 8, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  background: rgba(22, 8, 8, 0.99);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}

.logo-icon {
  width: 58px;
  height: 58px;
  background: var(--primary);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-family: var(--font-serif);
  font-weight: 900;
  /* border: 2px solid rgba(201, 168, 76, 0.4); */
  flex-shrink: 0;
  position: relative;
}

.logo-icon::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  color: var(--white);
  font-size: 17px;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.2;
}

.logo-sub {
  color: rgba(201, 168, 76, 0.7);
  font-size: 10px;
  letter-spacing: 1.5px;
  line-height: 1.6;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  padding: 8px 18px;
  letter-spacing: 1.5px;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: var(--transition);
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  max-height: 920px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
      rgba(22, 8, 8, 0.88) 0%,
      rgba(44, 24, 16, 0.72) 55%,
      rgba(22, 8, 8, 0.85) 100%);
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 60px,
      rgba(201, 168, 76, 0.025) 60px, rgba(201, 168, 76, 0.025) 120px);
  z-index: 1;
}

.hero-bg-1 {
  background: radial-gradient(ellipse at 70% 30%, #6B0F0F 0%, #2C1810 45%, #160808 100%);
}

.hero-bg-2 {
  background: radial-gradient(ellipse at 30% 60%, #0D3355 0%, #0A1E33 45%, #060E19 100%);
}

.hero-bg-3 {
  background: radial-gradient(ellipse at 60% 40%, #3B1A6B 0%, #1A0E33 45%, #0D0819 100%);
}

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

.hero-content {
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 5px;
  margin-bottom: 22px;
  padding: 7px 18px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  position: relative;
}

.hero-title {
  font-size: clamp(32px, 5.5vw, 62px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  font-family: var(--font-serif);
}

.hero-title span {
  color: var(--gold-light);
}

.hero-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(14px, 1.8vw, 17px);
  margin-bottom: 40px;
  line-height: 1.9;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-indicators {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

/* Hero decorative elements */
.hero-deco {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  opacity: 0.06;
  font-size: 280px;
  font-family: var(--font-serif);
  color: var(--gold);
  pointer-events: none;
  line-height: 1;
}

/* ============================================================
   QUICK LINKS
   ============================================================ */
.quick-links {
  background: var(--dark-mid);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-left: 1px solid rgba(201, 168, 76, 0.12);
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 22px 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 1px;
  border-right: 1px solid rgba(201, 168, 76, 0.12);
  transition: var(--transition);
}

.quick-item:hover {
  background: var(--primary);
  color: var(--white);
}

.quick-icon {
  font-size: 22px;
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview {
  background: var(--bg);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-preview-img {
  position: relative;
  height: 500px;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  /*background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 55%, var(--dark-mid) 100%);*/
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-placeholder-text {
  font-size: 100px;
  font-family: var(--font-serif);
  color: rgba(201, 168, 76, 0.18);
  font-weight: 900;
  user-select: none;
  line-height: 1;
  text-align: center;
}

/*.img-placeholder::before {*/
/*  content: '';*/
/*  position: absolute;*/
/*  inset: 16px;*/
/*  border: 1px solid rgba(201, 168, 76, 0.25);*/
/*  pointer-events: none;*/
/*}*/

/*.img-placeholder::after {*/
/*  content: '';*/
/*  position: absolute;*/
/*  top: 30px;*/
/*  left: 30px;*/
/*  width: 60px;*/
/*  height: 60px;*/
/*  border-top: 3px solid var(--gold);*/
/*  border-left: 3px solid var(--gold);*/
/*  opacity: 0.6;*/
/*}*/

.about-preview-img::after {
  content: '';
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  border: 3px solid var(--gold);
  z-index: -1;
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 34px 0;
}

.stat-item {
  text-align: center;
  padding: 22px 12px 18px;
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.stat-num {
  display: block;
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-serif);
  line-height: 1;
}

.stat-plus {
  color: var(--gold);
  font-size: 18px;
  font-weight: bold;
  vertical-align: super;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 7px;
  letter-spacing: 1px;
}

/* ============================================================
   EVENTS
   ============================================================ */
.events-section {
  background: var(--bg-warm);
}

.events-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.event-card {
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.event-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 40px var(--shadow);
}

.event-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.event-card.featured .event-img {
  height: 270px;
}

.event-img-1 {
  background: linear-gradient(145deg, #8B1A1A 0%, #C9A84C 100%);
}

.event-img-2 {
  background: linear-gradient(145deg, #1A4A2C 0%, #3A8B5A 100%);
}

.event-img-3 {
  background: linear-gradient(145deg, #1A2C4A 0%, #2E5B8B 100%);
}

.event-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 28px, rgba(255, 255, 255, 0.04) 28px, rgba(255, 255, 255, 0.04) 56px);
}

.event-img-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 64px;
  opacity: 0.25;
  z-index: 1;
}

.event-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--white);
  padding: 8px 14px;
  text-align: center;
  z-index: 2;
  min-width: 52px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.event-month {
  display: block;
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
}

.event-day {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
}

.event-status {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  z-index: 2;
  letter-spacing: 1px;
}

.event-status.ongoing {
  background: var(--gold);
  color: var(--dark);
}

.event-status.upcoming {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
}

.event-content {
  padding: 22px 20px;
}

.event-category {
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 1.5px;
  background: rgba(139, 26, 26, 0.08);
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 10px;
}

.event-title {
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.45;
}

.event-card.featured .event-title {
  font-size: 18px;
}

.event-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ============================================================
   APP SECTION
   ============================================================ */
.app-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 50%, #1A0E2A 100%);
  position: relative;
  overflow: hidden;
}

.app-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 26, 26, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.app-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.app-section .section-tag {
  color: var(--gold-light);
}

.app-section .section-title {
  color: var(--white);
}

.app-section .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.app-features {
  margin: 26px 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.app-features li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  border-radius: 50%;
}

.app-download {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.28);
  color: var(--white);
  transition: var(--transition);
  border-radius: var(--radius);
}

.download-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
}

.download-icon {
  font-size: 26px;
}

.download-sub {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.download-main {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

/* Phone Mockup */
.app-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 265px;
  height: 530px;
  background: #111;
  border-radius: 42px;
  padding: 14px;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.25), 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 6px;
  background: #222;
  border-radius: 3px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 30px;
  overflow: hidden;
}

.phone-screen-content {
  padding: 44px 12px 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  font-family: var(--font-serif);
  letter-spacing: 3px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.phone-banner {
  height: 82px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  border-radius: 8px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.phone-banner::after {
  content: '非遗';
  position: absolute;
  right: 10px;
  bottom: 5px;
  font-size: 28px;
  font-family: var(--font-serif);
  color: rgba(255, 255, 255, 0.2);
  font-weight: 900;
}

.phone-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex-shrink: 0;
}

.phone-card {
  height: 62px;
  background: var(--white);
  border-radius: 6px;
  border-top: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.phone-card:last-child {
  border-top-color: var(--gold);
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.phone-list-item {
  height: 38px;
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--border);
}

/* ============================================================
   NEWS PREVIEW
   ============================================================ */
.news-preview {
  background: var(--bg);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.news-featured {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px var(--shadow);
}

.news-img {
  height: 210px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.news-img-featured {
  background: linear-gradient(145deg, var(--primary) 0%, var(--dark-mid) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.news-img-featured::before {
  content: '政策资讯';
  font-size: 42px;
  color: rgba(201, 168, 76, 0.3);
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: 4px;
}

.news-content {
  padding: 26px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-category {
  font-size: 11px;
  letter-spacing: 2px;
  padding: 4px 12px;
  background: var(--primary);
  color: var(--white);
  display: inline-block;
  margin-bottom: 14px;
  align-self: flex-start;
}

.news-title {
  font-size: 17px;
  color: var(--dark);
  line-height: 1.55;
  margin-bottom: 12px;
  transition: var(--transition);
  flex: 1;
}

.news-title:hover {
  color: var(--primary);
}

.news-excerpt {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.news-date {
  font-size: 12px;
  color: var(--text-light);
}

.news-more {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.news-more:hover {
  color: var(--gold-dark);
}

.news-list {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background: rgba(139, 26, 26, 0.03);
}

.news-item-category {
  flex-shrink: 0;
  font-size: 10px;
  padding: 3px 9px;
  letter-spacing: 1px;
  margin-top: 3px;
  font-weight: 600;
}

.news-item-category.policy {
  background: rgba(139, 26, 26, 0.1);
  color: var(--primary);
}

.news-item-category.event {
  background: rgba(46, 139, 87, 0.1);
  color: #1B6B3A;
}

.news-item-category.company {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-dark);
}

.news-item-content {
  flex: 1;
}

.news-item-title {
  display: block;
  font-size: 14px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 5px;
  transition: var(--transition);
}

.news-item-title:hover {
  color: var(--primary);
}

.news-item-date {
  font-size: 12px;
  color: var(--text-light);
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-section {
  background: var(--bg-warm);
  padding: 60px 0;
}

.partners-track-wrapper {
  overflow: hidden;
  position: relative;
}

.partners-track-wrapper::before,
.partners-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.partners-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-warm), transparent);
}

.partners-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-warm), transparent);
}

.partners-track {
  display: flex;
  gap: 20px;
  animation: scrollPartners 22s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scrollPartners {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.partner-item {
  flex-shrink: 0;
  padding: 15px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-light);
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: var(--transition);
}

.partner-item:hover {
  border-color: var(--gold);
  color: var(--primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  padding: 64px 0 44px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-text {
  font-size: 17px;
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 2.5px;
}

.footer-about p {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  padding: 7px 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  letter-spacing: 1px;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 15px;
  color: var(--white);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
  font-family: var(--font-serif);
  letter-spacing: 2px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links ul a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-links ul a::before {
  content: '›';
  color: var(--gold);
  font-size: 16px;
}

.footer-links ul a:hover {
  color: var(--gold-light);
  padding-left: 3px;
}

.footer-contact p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 11px;
  line-height: 1.7;
}

.footer-qrcodes {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.qrcode-box {
  text-align: center;
}

.qrcode-img {
  width: 72px;
  height: 72px;
  background: var(--white);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qrcode-img::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid var(--border);
}

.qrcode-img::after {
  content: '';
  position: absolute;
  inset: 18px;
  background:
    linear-gradient(var(--text-light) 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(90deg, var(--text-light) 1px, transparent 1px) 0 0 / 8px 8px;
  opacity: 0.3;
}

.qrcode-box span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  text-align: center;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s;
}

.footer-legal-link:hover {
  color: var(--gold-light);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  pointer-events: none;
  border: 1px solid rgba(201, 168, 76, 0.4);
  font-weight: bold;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold-dark);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* ============================================================
   PAGE HERO (INNER PAGES)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 70px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 50px,
      rgba(201, 168, 76, 0.025) 50px, rgba(201, 168, 76, 0.025) 100px);
}

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

.page-hero-tag {
  font-size: 11px;
  color: rgba(201, 168, 76, 0.6);
  letter-spacing: 4px;
  margin-bottom: 14px;
  display: block;
}

.page-hero-title {
  font-size: clamp(28px, 4.5vw, 48px);
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb a {
  color: rgba(201, 168, 76, 0.65);
}

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

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  background: var(--bg);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card {
  background: var(--white);
  padding: 36px 30px;
  text-align: center;
  border-top: 4px solid var(--primary);
  transition: var(--transition);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.value-card:nth-child(2) {
  border-top-color: var(--gold);
}

.value-card:nth-child(3) {
  border-top-color: var(--dark-mid);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px var(--shadow);
}

.value-icon {
  font-size: 46px;
  margin-bottom: 16px;
}

.value-title {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 12px;
}

.value-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.timeline-section {
  background: var(--bg);
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--gold), var(--primary));
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

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

.honors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.honor-card {
  background: var(--white);
  padding: 28px 22px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.honor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow);
}

.honor-icon {
  font-size: 38px;
  margin-bottom: 12px;
}

.honor-title {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.6;
  font-weight: 600;
}

.honor-year {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-section {
  background: var(--bg);
}

.team-lead-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 40px var(--shadow);
}

.team-avatar {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.team-card.lead .team-avatar {
  height: 480px;
}

.avatar-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.avatar-initial {
  font-size: 72px;
  font-family: var(--font-serif);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.team-card.lead .avatar-initial {
  font-size: 88px;
}

.team-info {
  padding: 20px 18px 24px;
}

.team-name {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 5px;
}

.team-card.lead .team-name {
  font-size: 20px;
}

.team-pos {
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

.team-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
}

.team-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 50px 0 36px;
}

.team-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.team-divider-text {
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 2px;
  white-space: nowrap;
}

/* ============================================================
   NEWS PAGE
   ============================================================ */
.news-section {
  background: var(--bg);
}

.news-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 44px;
  border-bottom: 2px solid var(--border);
}

.news-tab {
  padding: 12px 28px;
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.news-tab:hover {
  color: var(--primary);
}

.news-tab.active {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px var(--shadow);
}

.news-card-img {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.news-card-img-1 {
  background: linear-gradient(145deg, #8B1A1A, #C9A84C);
}

.news-card-img-2 {
  background: linear-gradient(145deg, #1A4A2C, #2E8B57);
}

.news-card-img-3 {
  background: linear-gradient(145deg, #1A2C4A, #2E5B8B);
}

.news-card-img-4 {
  background: linear-gradient(145deg, #4A1A4A, #8B2E8B);
}

.news-card-img-5 {
  background: linear-gradient(145deg, #4A3A1A, #8B6B2E);
}

.news-card-img-6 {
  background: linear-gradient(145deg, #1A3A4A, #2E6B8B);
}

.news-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.04) 20px, rgba(255, 255, 255, 0.04) 40px);
}

.news-card-cat {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 11px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  letter-spacing: 1px;
  z-index: 2;
  font-weight: 600;
}

.news-card-body {
  padding: 22px 20px;
}

.news-card-date {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 16px;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 10px;
  transition: var(--transition);
}

.news-card-title:hover {
  color: var(--primary);
}

.news-card-excerpt {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.news-card-more {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.news-card-more:hover {
  color: var(--gold-dark);
}

.news-card-img-link {
  display: block;
}

.news-card-img-link:hover .news-card-img {
  filter: brightness(0.9);
}

.news-card-img {
  transition: filter 0.3s ease;
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 54px;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.policy-banner {
  background: linear-gradient(135deg, #1A2C4A 0%, #0E1E33 100%);
  padding: 48px 0;
  margin-bottom: 0;
}

.policy-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.policy-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.policy-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
}

.policy-no {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.policy-text a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  display: block;
  margin-bottom: 6px;
}

.policy-text a:hover {
  color: var(--gold-light);
}

.policy-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--white);
  padding: 28px 24px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px var(--shadow);
}

.contact-card-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.contact-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-card-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}

.contact-form-wrap {
  background: var(--white);
  padding: 40px 36px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.form-title {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 7px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.form-group label span {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  border-radius: var(--radius);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.06);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 15px;
  letter-spacing: 3px;
  font-family: var(--font-serif);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
}

.map-section {
  background: var(--bg-warm);
  padding: 64px 0;
}

.map-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #E8E0D4 0%, #D8CCBC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(200, 185, 165, 0.5) 1px, transparent 1px) 0 0 / 50px 50px,
    linear-gradient(90deg, rgba(200, 185, 165, 0.5) 1px, transparent 1px) 0 0 / 50px 50px;
}

.map-pin {
  font-size: 56px;
  position: relative;
  z-index: 2;
}

.map-label {
  font-size: 16px;
  color: var(--text-light);
  margin-top: 12px;
  position: relative;
  z-index: 2;
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root {
    --section-pad: 68px;
  }

  .about-preview-grid,
  .about-intro-grid,
  .app-grid {
    gap: 44px;
  }

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

  .event-card.featured {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

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

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

  .contact-grid {
    gap: 36px;
  }
}

@media (max-width: 820px) {
  :root {
    --section-pad: 52px;
    --nav-height: 64px;
  }

  .nav-list {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-list {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(22, 8, 8, 0.98);
    padding: 16px 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }

  .nav.open .nav-link {
    padding: 14px 24px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav.open .nav-link::after {
    display: none;
  }

  .logo-sub {
    display: none;
  }

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

  .quick-item:nth-child(4),
  .quick-item:nth-child(5) {
    display: none;
  }

  .about-preview-grid,
  .about-intro-grid,
  .app-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-preview-img,
  .about-intro-img {
    height: 300px;
    order: -1;
  }

  .about-preview-img::after {
    display: none;
  }

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

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

  .event-card.featured {
    grid-column: auto;
  }

  .app-mockup {
    display: none;
  }

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

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

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-deco {
    display: none;
  }

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

  .policy-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 520px) {
  :root {
    --section-pad: 42px;
  }

  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: clamp(26px, 8vw, 40px);
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }

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

  .events-grid {
    gap: 16px;
  }

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

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

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

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

  .app-download {
    flex-direction: column;
  }

  .download-btn {
    width: 100%;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

  .footer-qrcodes {
    flex-direction: row;
  }

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