/* ========================================
   武汉录路通高考复读学校 - 全局样式
   jQuery + Layui 框架
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.cn/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap');

/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
  --color-primary: #1a5276;
  --color-primary-light: #1f6d9e;
  --color-primary-dark: #143e5a;
  --color-accent: #c9a84c;
  --color-accent-light: #dbbc5e;
  --color-bg: #f8f9fa;
  --color-bg-white: #ffffff;
  --color-text: #2c3e50;
  --color-text-secondary: #6c757d;
  --color-border: #e9ecef;
  --color-success: #27ae60;
  
  --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-card: 8px;
  --radius-btn: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --transition: 300ms ease;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 70px;
}

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

a:hover {
  color: var(--color-accent);
}

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

ul, ol {
  list-style: none;
}

/* ========================================
   Header / Navigation
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-titles {
  display: flex;
  flex-direction: column;
}

.header-school-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.header-company-name {
  font-size: 11px;
  color: var(--color-text-secondary);
  line-height: 1.2;
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
}

.header-nav-list {
  display: flex;
  gap: 4px;
}

.header-nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-btn);
  transition: all var(--transition);
  white-space: nowrap;
}

.header-nav-list li a:hover,
.header-nav-list li a.active {
  color: var(--color-accent);
  background: rgba(201, 168, 76, 0.08);
}

/* Mobile menu toggle */
.header-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.header-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.header-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header-toggle.active span:nth-child(2) {
  opacity: 0;
}

.header-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Header contact */
.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.header-contact-icon {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
}

/* ========================================
   Page Banner (Sub-pages)
   ======================================== */
.page-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 130px 20px 50px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
}

.page-banner .breadcrumb {
  font-size: 14px;
  opacity: 0.85;
  position: relative;
}

.page-banner .breadcrumb a {
  color: rgba(255,255,255,0.9);
}

.page-banner .breadcrumb span {
  margin: 0 6px;
}

/* ========================================
   Section Common Styles
   ======================================== */
.section {
  padding: 70px 20px;
}

.section-gray {
  background: #f1f3f5;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.section-header .section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-header .section-divider {
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ========================================
   Hero Section (Home)
   ======================================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #143e5a 0%, #1a5276 40%, #1f6d9e 100%);
  overflow: hidden;
  text-align: center;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='50' cy='50' r='2'/%3E%3Ccircle cx='25' cy='25' r='1.5'/%3E%3Ccircle cx='75' cy='25' r='1.5'/%3E%3Ccircle cx='25' cy='75' r='1.5'/%3E%3Ccircle cx='75' cy='75' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero h1 .highlight {
  color: var(--color-accent);
}

.hero .hero-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  font-family: var(--font-family);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

/* ========================================
   Stats Bar (Home)
   ======================================== */
.stats-bar {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 20px;
}

.stat-item {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-number .stat-unit {
  font-size: 20px;
  font-weight: 400;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* ========================================
   Card Grid
   ======================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

.card {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.card-body p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   About Preview (Home)
   ======================================== */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-preview-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-preview-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-preview-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.about-preview-text p {
  color: var(--color-text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats-inline {
  display: flex;
  gap: 32px;
  margin: 24px 0;
}

.about-stat-inline {
  text-align: center;
}

.about-stat-inline .num {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
}

.about-stat-inline .lbl {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ========================================
   Contact Bar (Home)
   ======================================== */
.contact-bar {
  background: var(--color-primary);
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}

.contact-bar h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-bar .contact-phone {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 12px 0;
  letter-spacing: 2px;
}

.contact-bar p {
  opacity: 0.9;
  font-size: 15px;
}

/* ========================================
   Faculty Cards (no images)
   ======================================== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.faculty-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  border-left: 3px solid var(--color-accent);
}

.faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.faculty-card .subject-tag {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(26, 82, 118, 0.08);
  color: var(--color-primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
}

.faculty-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.faculty-card .title-badge {
  display: inline-block;
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 10px;
}

.faculty-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   Case Cards
   ======================================== */
.case-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card .case-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 28px 24px;
  color: #fff;
  position: relative;
}

.case-card .case-score {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.case-card .case-score small {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
}

.case-card .case-improve {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 12px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  font-size: 13px;
}

.case-card .case-body {
  padding: 20px 24px;
}

.case-card .case-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.case-card .case-body p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   Admissions Content
   ======================================== */
.admission-block {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.admission-block h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.admission-block .info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.admission-block .info-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

.admission-block .info-table td:first-child {
  font-weight: 700;
  color: var(--color-primary);
  width: 140px;
  white-space: nowrap;
}

.admission-block ul {
  padding-left: 20px;
  list-style: disc;
}

.admission-block ul li {
  margin-bottom: 8px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-info-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(26, 82, 118, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 20px;
}

.contact-info-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   News / Info List
   ======================================== */
.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

.news-item:hover {
  padding-left: 8px;
}

.news-date {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: var(--color-primary);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.news-date .day {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.news-date .month {
  font-size: 12px;
  opacity: 0.85;
}

.news-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.news-content h3 a {
  color: var(--color-text);
}

.news-content h3 a:hover {
  color: var(--color-accent);
}

.news-content p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ========================================
   About Page Content
   ======================================== */
.about-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-detail-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-detail-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-detail-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.about-detail-text p {
  margin-bottom: 14px;
  color: var(--color-text-secondary);
  line-height: 1.9;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(26, 82, 118, 0.04);
  border-radius: var(--radius-card);
}

.feature-item .feature-icon {
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 14px;
}

.feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ========================================
   Campus Gallery
   ======================================== */
.campus-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.campus-gallery-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
}

.campus-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.campus-gallery-item:hover img {
  transform: scale(1.05);
}

.campus-gallery-item:hover {
  box-shadow: var(--shadow-lg);
}

.campus-gallery-item .campus-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: #1a1f27;
  color: rgba(255,255,255,0.7);
  padding: 50px 20px 30px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-links ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  line-height: 2;
}

.footer-bottom .icp {
  color: rgba(255,255,255,0.5);
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: all var(--transition);
  font-size: 18px;
}

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

/* ========================================
   Animation
   ======================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Additional Utilities
   ======================================== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none; }

.highlight-num {
  color: var(--color-accent);
  font-weight: 700;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet (≤960px) */
@media (max-width: 960px) {
  .header-toggle {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .header-nav.open {
    transform: translateX(0);
  }

  .header-nav-list {
    flex-direction: column;
    width: 100%;
  }

  .header-nav-list li a {
    padding: 14px 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }

  .header-contact {
    display: none;
  }

  .hero h1 { font-size: 30px; }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .faculty-grid { grid-template-columns: repeat(2, 1fr); }
  
  .about-preview {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .about-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .campus-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* Mobile (≤640px) */
@media (max-width: 640px) {
  body { padding-top: 60px; }
  .header-inner { height: 60px; }
  
  .header-school-name { font-size: 15px; }
  .header-company-name { font-size: 10px; }

  .header-nav { top: 60px; }

  .hero { min-height: 420px; }
  .hero h1 { font-size: 24px; }
  .hero .hero-subtitle { font-size: 15px; }

  .section { padding: 48px 16px; }
  .section-header h2 { font-size: 24px; }

  .page-banner { padding: 100px 16px 32px; }
  .page-banner h1 { font-size: 24px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-number { font-size: 28px; }
  .stat-number .stat-unit { font-size: 16px; }

  .card-grid { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
  .campus-gallery { grid-template-columns: 1fr; }

  .about-stats-inline { gap: 16px; flex-wrap: wrap; }

  .contact-bar .contact-phone { font-size: 24px; }
  
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  
  .btn { padding: 10px 24px; font-size: 14px; }
  
  .admission-block { padding: 20px; }
  .admission-block .info-table td { padding: 8px 10px; font-size: 13px; }
  .admission-block .info-table td:first-child { width: 100px; }
  
  .news-date { width: 56px; height: 56px; }
  .news-date .day { font-size: 20px; }
}