/*
Theme Name: Ruidian Law Firm
Theme URI: https://ruidian.aiduoxing.com
Author: Ruidian Dev Team
Author URI: https://ruidian.aiduoxing.com
Description: 广东瑞迪安律师事务所企业官网主题 - 简约优雅的深蓝金色风格，支持 WordPress REST API 和 Application Password 自动发布文章
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ruidian-law
Tags: law-firm, legal, business, professional, responsive
*/

/* ============================================
   广东瑞迪安律师事务所 - WordPress 主题样式
   ============================================ */

/* CSS Variables */
:root {
  --primary-gold: #C9A84C;
  --primary-gold-dark: #B08D3E;
  --primary-gold-light: #E8D5A0;
  --navy-dark: #1a1a2e;
  --navy-medium: #16213e;
  --navy-light: #0f3460;
  --text-primary: #222222;
  --text-secondary: #555555;
  --text-light: #888888;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-gray: #f0f1f3;
  --border-color: #e8e8e8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header & Navigation */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: transparent; transition: var(--transition); }
.header.scrolled { background: rgba(255,255,255,0.98); box-shadow: var(--shadow-md); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.logo { display: flex; align-items: center; gap: 12px; z-index: 1001; }
.logo-icon {
  width: 48px; height: 48px; background: var(--primary-gold); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 24px; font-family: Georgia, serif;
}
.logo-icon img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-icon.has-logo { background: none; width: auto; min-width: 48px; padding: 2px 6px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .zh { font-size: 18px; font-weight: 700; color: #fff; transition: var(--transition); }
.header.scrolled .logo-text .zh { color: var(--navy-dark); }
.logo-text .en { font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.7); text-transform: uppercase; transition: var(--transition); }
.header.scrolled .logo-text .en { color: var(--text-light); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 15px; color: rgba(255,255,255,0.9); position: relative; padding: 8px 0; font-weight: 500; letter-spacing: 0.5px; }
.header.scrolled .nav a { color: var(--text-secondary); }
.nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-gold); transition: var(--transition); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover, .nav a.active { color: var(--primary-gold); }
.nav .btn-contact { background: var(--primary-gold); color: #fff !important; padding: 10px 28px; border-radius: var(--radius-sm); font-size: 14px; }
.nav .btn-contact::after { display: none; }
.nav .btn-contact:hover { background: var(--primary-gold-dark); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; padding: 5px; }
.mobile-menu-btn span { width: 25px; height: 2px; background: #fff; transition: var(--transition); }
.header.scrolled .mobile-menu-btn span { background: var(--navy-dark); }

/* Hero Section */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23C9A84C" fill-opacity="0.05" d="M0,192L48,176C96,160,192,128,288,133.3C384,139,480,181,576,181.3C672,181,768,139,864,128C960,117,1056,139,1152,154.7C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom; background-size: cover; }
.hero-pattern { position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.03; background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(201,168,76,0.1) 35px, rgba(201,168,76,0.1) 70px); }
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 120px 0 80px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3); color: var(--primary-gold-light); padding: 8px 20px; border-radius: 30px; font-size: 13px; letter-spacing: 1px; margin-bottom: 30px; }
.hero h1 { font-size: 52px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 24px; letter-spacing: 2px; }
.hero h1 span { color: var(--primary-gold); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 40px; max-width: 560px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-gold); color: #fff; padding: 14px 36px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; transition: var(--transition); cursor: pointer; border: none; letter-spacing: 0.5px; }
.btn-primary:hover { background: var(--primary-gold-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(201,168,76,0.3); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; padding: 14px 36px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; border: 1px solid rgba(255,255,255,0.3); transition: var(--transition); cursor: pointer; letter-spacing: 0.5px; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }

.hero-stats { display: flex; gap: 50px; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.stat-item { text-align: left; }
.stat-number { font-size: 36px; font-weight: 700; color: var(--primary-gold); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 1px; }
.hero-side { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); z-index: 2; opacity: 0.12; }
.hero-side svg { width: 450px; height: 450px; fill: none; stroke: var(--primary-gold); stroke-width: 0.5; }

/* Page Banner */
.page-banner { position: relative; height: 380px; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.page-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.05; background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(201,168,76,0.3) 35px, rgba(201,168,76,0.3) 70px); }
.page-banner-content { text-align: center; position: relative; z-index: 2; }
.page-banner h1 { font-size: 42px; color: #fff; margin-bottom: 16px; letter-spacing: 4px; }
.page-banner p { font-size: 16px; color: rgba(255,255,255,0.6); letter-spacing: 2px; }
.breadcrumb { display: flex; justify-content: center; gap: 12px; margin-top: 20px; font-size: 14px; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: var(--primary-gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* Section Common */
.section { padding: 90px 0; }
.section-light { background: var(--bg-white); }
.section-gray { background: var(--bg-gray); }
.section-dark { background: var(--navy-dark); color: #fff; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .label { display: inline-block; font-size: 13px; color: var(--primary-gold); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; position: relative; padding: 0 20px; }
.section-header .label::before, .section-header .label::after { content: ''; position: absolute; top: 50%; width: 30px; height: 1px; background: var(--primary-gold); }
.section-header .label::before { left: 0; }
.section-header .label::after { right: 0; }
.section-header h2 { font-size: 36px; font-weight: 700; color: var(--navy-dark); margin-bottom: 16px; letter-spacing: 1px; }
.section-dark .section-header h2 { color: #fff; }
.section-header p { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* About Preview */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 420px; object-fit: cover; }
.about-image-badge { position: absolute; bottom: 30px; left: 30px; background: var(--primary-gold); color: #fff; padding: 18px 28px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.about-image-badge .number { font-size: 32px; font-weight: 700; line-height: 1; }
.about-image-badge .text { font-size: 13px; opacity: 0.9; }
.about-text h3 { font-size: 32px; color: var(--navy-dark); margin-bottom: 20px; line-height: 1.4; }
.about-text p { color: var(--text-secondary); margin-bottom: 16px; font-size: 15px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.about-feature-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bg-light); border-radius: var(--radius-sm); font-size: 14px; color: var(--text-secondary); }
.about-feature-item .icon { color: var(--primary-gold); font-size: 18px; flex-shrink: 0; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--bg-white); border-radius: var(--radius-md); padding: 40px 30px; text-align: center; transition: var(--transition); border: 1px solid var(--border-color); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary-gold); transform: scaleX(0); transition: var(--transition); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 70px; height: 70px; margin: 0 auto 24px; background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; transition: var(--transition); }
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-card h3 { font-size: 19px; color: var(--navy-dark); margin-bottom: 14px; font-weight: 600; }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* Advantages */
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.advantage-card { text-align: center; padding: 45px 25px; background: rgba(255,255,255,0.04); border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.06); transition: var(--transition); }
.advantage-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-5px); }
.advantage-icon { font-size: 42px; margin-bottom: 22px; display: block; }
.advantage-card h3 { font-size: 18px; color: #fff; margin-bottom: 12px; font-weight: 600; }
.advantage-card p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-card { background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-photo { height: 280px; background: linear-gradient(135deg, var(--navy-medium), var(--navy-light)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder { font-size: 64px; color: rgba(255,255,255,0.2); font-family: Georgia, serif; font-weight: 700; }
.team-info { padding: 24px; text-align: center; }
.team-info h3 { font-size: 18px; color: var(--navy-dark); margin-bottom: 6px; font-weight: 600; }
.team-info .title { font-size: 13px; color: var(--primary-gold); margin-bottom: 12px; font-weight: 500; }
.team-info p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.team-expertise { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.team-expertise span { font-size: 11px; background: var(--bg-light); color: var(--text-secondary); padding: 3px 10px; border-radius: 20px; }

/* News */
.news-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.news-tab { padding: 10px 28px; border-radius: 30px; font-size: 14px; cursor: pointer; transition: var(--transition); background: var(--bg-light); color: var(--text-secondary); border: 1px solid var(--border-color); }
.news-tab:hover, .news-tab.active { background: var(--primary-gold); color: #fff; border-color: var(--primary-gold); }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.news-card-image { height: 180px; background: linear-gradient(135deg, var(--navy-medium), var(--navy-light)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.15); font-size: 48px; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 24px; }
.news-card-body .tag { display: inline-block; font-size: 11px; color: var(--primary-gold); background: var(--primary-gold-light); padding: 3px 12px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 0.5px; }
.news-card-body h3 { font-size: 16px; color: var(--navy-dark); margin-bottom: 10px; line-height: 1.5; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-body h3 a:hover { color: var(--primary-gold); }
.news-card-body .summary { font-size: 13px; color: #888; line-height: 1.7; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-body .date { font-size: 13px; color: var(--text-light); }
.news-more { text-align: center; margin-top: 40px; }
.btn-more { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-gold); font-size: 15px; font-weight: 500; padding: 12px 32px; border: 1px solid var(--primary-gold); border-radius: var(--radius-sm); transition: var(--transition); background: transparent; cursor: pointer; }
.btn-more:hover { background: var(--primary-gold); color: #fff; }

/* Contact */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info { padding-right: 20px; }
.contact-info h3 { font-size: 28px; color: var(--navy-dark); margin-bottom: 16px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 36px; font-size: 15px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon { width: 48px; height: 48px; background: var(--primary-gold-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary-gold-dark); flex-shrink: 0; }
.contact-detail h4 { font-size: 15px; color: var(--navy-dark); margin-bottom: 4px; font-weight: 600; }
.contact-detail p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.contact-form-wrapper { background: var(--bg-white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.contact-form-wrapper h3 { font-size: 22px; color: var(--navy-dark); margin-bottom: 28px; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 18px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; transition: var(--transition); background: var(--bg-light); color: var(--text-primary); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary-gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); background: #fff; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit { width: 100%; padding: 14px; background: var(--primary-gold); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 16px; font-weight: 500; cursor: pointer; transition: var(--transition); letter-spacing: 2px; }
.btn-submit:hover { background: var(--primary-gold-dark); }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium), var(--navy-light)); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0.05; background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(201,168,76,0.3) 35px, rgba(201,168,76,0.3) 70px); }
.cta-banner h2 { font-size: 36px; color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 36px; position: relative; z-index: 1; }
.cta-banner .btn-primary { position: relative; z-index: 1; }

/* Footer */
.footer { background: #111118; color: rgba(255,255,255,0.6); padding-top: 70px; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-text .zh { color: #fff; }
.footer-brand .logo-text .en { color: rgba(255,255,255,0.4); }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; background: rgba(255,255,255,0.06); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-social a:hover { background: var(--primary-gold); color: #fff; }
.footer-col h4 { font-size: 16px; color: #fff; margin-bottom: 24px; font-weight: 600; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 24px; height: 2px; background: var(--primary-gold); }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary-gold); padding-left: 5px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.footer-contact-item .icon { color: var(--primary-gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--primary-gold); }

/* Article Detail */
.article-container { max-width: 800px; margin: 0 auto; padding: 60px 20px; }
.article-header { text-align: center; margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--border-color); }
.article-header h1 { font-size: 32px; color: var(--navy-dark); line-height: 1.4; margin-bottom: 16px; font-weight: 700; }
.article-meta { display: flex; justify-content: center; gap: 24px; font-size: 14px; color: var(--text-light); }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-content { font-size: 16px; line-height: 2; color: var(--text-secondary); }
.article-content h2 { font-size: 24px; color: var(--navy-dark); margin: 36px 0 16px; font-weight: 600; }
.article-content h3 { font-size: 20px; color: var(--navy-dark); margin: 28px 0 12px; font-weight: 600; }
.article-content p { margin-bottom: 18px; }
.article-content img { border-radius: var(--radius-md); margin: 20px 0; }
.article-nav { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); }
.article-nav a { font-size: 14px; color: var(--text-secondary); max-width: 45%; display: flex; flex-direction: column; gap: 4px; }
.article-nav a:hover { color: var(--primary-gold); }
.article-nav a .label { font-size: 12px; color: var(--text-light); }

/* Services Detail */
.services-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-detail-card { background: var(--bg-white); border-radius: var(--radius-md); padding: 36px 28px; border: 1px solid var(--border-color); transition: var(--transition); }
.service-detail-card:hover { border-color: var(--primary-gold); box-shadow: var(--shadow-md); }
.service-detail-card .card-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary-gold-light), var(--primary-gold)); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; color: #fff; }
.service-detail-card h3 { font-size: 18px; color: var(--navy-dark); margin-bottom: 12px; font-weight: 600; }
.service-detail-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* About Page */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.about-intro-text h2 { font-size: 32px; color: var(--navy-dark); margin-bottom: 24px; line-height: 1.4; }
.about-intro-text p { font-size: 15px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.9; }
.about-intro-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-intro-image img { width: 100%; height: 400px; object-fit: cover; }

.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--primary-gold-light); }
.timeline-item { position: relative; padding-bottom: 36px; padding-left: 30px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -33px; top: 4px; width: 14px; height: 14px; background: var(--primary-gold); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary-gold); }
.timeline-item .year { font-size: 14px; color: var(--primary-gold); font-weight: 600; margin-bottom: 6px; }
.timeline-item h3 { font-size: 17px; color: var(--navy-dark); margin-bottom: 6px; font-weight: 600; }
.timeline-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.honor-card { background: var(--bg-white); border-radius: var(--radius-md); padding: 30px 20px; text-align: center; border: 1px solid var(--border-color); transition: var(--transition); }
.honor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary-gold-light); }
.honor-card .icon { font-size: 40px; margin-bottom: 16px; color: var(--primary-gold); }
.honor-card h4 { font-size: 15px; color: var(--navy-dark); margin-bottom: 6px; font-weight: 600; }
.honor-card p { font-size: 13px; color: var(--text-light); }

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

/* WordPress Specific */
.wp-block-image img { border-radius: var(--radius-md); }
.alignnone, .aligncenter { margin: 20px auto; }
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.screen-reader-text { display: none; }
.sticky { display: block; }
.bypostauthor { display: block; }

/* Responsive */
@media (max-width: 1024px) {
  .services-grid, .team-grid, .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero h1 { font-size: 40px; }
  .hero-stats { gap: 30px; }
  .about-preview, .contact-section, .services-detail-grid, .about-intro { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .news-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--navy-dark); flex-direction: column; align-items: flex-start; padding: 100px 30px 40px; gap: 0; transition: var(--transition); box-shadow: var(--shadow-lg); }
  .nav.open { right: 0; }
  .nav a { color: rgba(255,255,255,0.8) !important; padding: 14px 0; font-size: 16px; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav a:hover, .nav a.active { color: var(--primary-gold) !important; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .stat-item { min-width: 120px; }
  .hero-side { display: none; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 28px; }
  .page-banner { height: 300px; }
  .page-banner h1 { font-size: 32px; }
  .services-grid, .team-grid, .advantages-grid, .news-list, .honor-grid, .footer-main, .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .article-nav { flex-direction: column; gap: 16px; }
  .article-nav a { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
