/* ========================================
   华仁融创 - Main Stylesheet
   Design System: Navy + Gold, IBM Plex Sans
   ======================================== */

/* ---------- Reset & Variables ---------- */
:root {
    --primary: #1E3A8A;
    --primary-dark: #0F172A;
    --primary-light: #1E40AF;
    --accent: #D97706;
    --accent-light: #F59E0B;
    --bg: #F8FAFC;
    --card: #FFFFFF;
    --foreground: #0F172A;
    --muted: #64748B;
    --muted-light: #94A3B8;
    --border: #CBD5E1;
    --destructive: #DC2626;
    --green: #16A34A;
    --radius: 4px;
}

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

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

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

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

.btn-outline-dark {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}
.btn-outline-dark:hover { background: var(--primary); color: #fff; }

/* ---------- Navbar ---------- */
.navbar {
    background: #fff;
    height: 72px;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-left .logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 22px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--foreground);
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.nav-center { display: flex; gap: 0; }
.nav-link {
    padding: 8px 20px;
    font-size: 15px;
    color: var(--muted);
    transition: color 0.2s;
    position: relative;
}
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link:hover { color: var(--primary); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(15,23,42,.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.nav-mobile .nav-link:last-of-type { border-bottom: none; }

/* ---------- Flash Messages ---------- */
.flash-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flash-message {
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    animation: slideIn 0.3s ease;
}

.flash-success { background: #F0FDF4; color: var(--green); border: 1px solid #BBF7D0; }
.flash-error { background: #FFF1F2; color: var(--destructive); border: 1px solid #FECACA; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 100px 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-left { flex: 1; }

.hero-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.6);
    border-radius: 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}
.hero-title span { color: var(--accent); }

.hero-desc {
    font-size: 16px;
    color: var(--muted-light);
    margin-bottom: 32px;
    max-width: 460px;
    line-height: 1.7;
}

.hero-cta { display: flex; gap: 16px; margin-bottom: 32px; }

.hero-trust {
    display: flex;
    gap: 24px;
}

.hero-trust-item {
    font-size: 13px;
    color: var(--muted-light);
}

.hero-right {
    flex: 1;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-light);
    font-size: 14px;
}

/* ---------- Hero Slider ---------- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(15,23,42,0.85), transparent);
    color: #fff;
    border-radius: 0 0 8px 8px;
}

.hero-slide-caption h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.hero-slide-caption p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

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

.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.hero-slider-dot.active,
.hero-slider-dot:hover {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.hero-slider-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.hero-slider-prev { left: 12px; }
.hero-slider-next { right: 12px; }

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: var(--primary);
    padding: 40px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--muted-light);
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 64px;
    background: rgba(255,255,255,0.15);
}

/* ---------- Sections ---------- */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--primary-dark);
    padding: 80px 0;
}

.section-light {
    background: #fff;
    padding: 80px 0;
}

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

.section-tag {
    display: inline-block;
    font-size: 14px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(245, 158, 11, 0.12);
    padding: 6px 16px;
    border-radius: 20px;
}

.section-dark .section-tag {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--foreground);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-dark .section-title { color: #fff; }
.section-light .section-title { color: var(--foreground); }

.section-desc {
    font-size: 17px;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}
.section-dark .section-desc { color: var(--muted); }

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 30px;
    }
    .section-desc {
        font-size: 15px;
    }
    .section-tag {
        font-size: 12px;
        padding: 4px 12px;
    }
}

/* ---------- Service Cards ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--card);
    padding: 32px 28px;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.icon-blue { background: #EFF6FF; color: var(--primary); }
.icon-gold { background: #FFF7ED; color: var(--accent); }
.icon-green { background: #F0FDF4; color: var(--green); }
.icon-red { background: #FFF1F2; color: var(--destructive); }

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

.service-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* ---------- Process Steps ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.process-step {
    padding: 32px 24px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.step-gold { background: var(--accent); }
.step-blue { background: var(--primary-light); }

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
}

/* ---------- Team Members ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.team-card {
    background: var(--card);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.team-photo {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-size: 48px;
    font-weight: 700;
}

.team-info {
    flex: 1;
}

.team-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--foreground);
}

.team-role {
    font-size: 14px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px;
    }
}

/* ---------- Team Advantages ---------- */
.team-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 48px;
}

.team-advantage-card {
    background: var(--card);
    border-radius: 8px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.team-advantage-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.team-advantage-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--foreground);
}

.team-advantage-card p {
    font-size: 13px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .team-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .team-advantage-card {
        padding: 20px 16px;
    }
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--card);
    padding: 28px 24px;
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.testimonial-card.featured {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.20);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-card.featured .testimonial-text {
    color: #CBD5E1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #fff;
}

.author-avatar.blue { background: var(--primary); }
.author-avatar.gold { background: var(--accent); }
.author-avatar.dark { background: var(--primary-dark); }

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--foreground);
}
.testimonial-card.featured .author-name { color: #fff; }

.author-role {
    font-size: 12px;
    color: var(--muted-light);
}

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

.badge-card {
    padding: 32px;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg);
}

.badge-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.badge-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.badge-card p {
    font-size: 12px;
    color: var(--muted);
}

/* ---------- News Cards ---------- */
.news-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

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

.news-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
}

.news-card-img {
    height: 180px;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 13px;
    overflow: hidden;
}

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

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

.news-card-cat {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.news-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* ---------- Contact Section ---------- */
.contact-section {
    background: var(--primary);
    padding: 80px 0;
}

.contact-inner {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-left { flex: 1; max-width: 480px; }

.contact-tag {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 16px;
    color: var(--muted-light);
    margin-bottom: 24px;
}

.contact-phone-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-phone {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.contact-form {
    flex: 1;
    background: var(--card);
    padding: 32px 28px;
    border-radius: var(--radius);
}

.contact-form h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-note {
    font-size: 12px;
    color: var(--muted-light);
    margin-top: 12px;
}

/* ---------- Page Header ---------- */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 16px;
    color: var(--muted-light);
}

/* ---------- Article Detail ---------- */
.article-detail {
    padding: 60px 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--foreground);
}

.article-body p { margin-bottom: 16px; }
.article-body h2 { font-size: 24px; margin: 32px 0 16px; color: var(--primary); }
.article-body h3 { font-size: 20px; margin: 24px 0 12px; color: var(--primary); }
.article-body h4 { font-size: 18px; margin: 20px 0 10px; }
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.article-body video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}
.article-body iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
}
.article-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 12px 20px;
    margin: 16px 0;
    background: #FEF3C7;
    border-radius: 0 8px 8px 0;
    color: #92400E;
}
.article-body blockquote p { margin-bottom: 0; }
.article-body pre {
    background: #1E293B;
    color: #E2E8F0;
    padding: 16px 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
    margin: 16px 0;
}
.article-body code {
    background: #F1F5F9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #DC2626;
}
.article-body pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.article-body table th {
    background: var(--primary);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}
.article-body table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}
.article-body table tr:nth-child(even) td {
    background: var(--bg);
}
.article-body ul, .article-body ol {
    margin: 12px 0;
    padding-left: 24px;
}
.article-body li { margin-bottom: 6px; }
.article-body hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}
.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.article-body a:hover {
    color: var(--accent);
}
.article-body a[download],
.article-body a[href$=".pdf"],
.article-body a[href$=".doc"],
.article-body a[href$=".docx"],
.article-body a[href$=".xls"],
.article-body a[href$=".xlsx"],
.article-body a[href$=".zip"],
.article-body a[href$=".rar"] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--foreground);
    font-size: 14px;
    transition: all 0.2s;
}
.article-body a[download]:hover,
.article-body a[href$=".pdf"]:hover,
.article-body a[href$=".doc"]:hover,
.article-body a[href$=".docx"]:hover,
.article-body a[href$=".xls"]:hover,
.article-body a[href$=".xlsx"]:hover,
.article-body a[href$=".zip"]:hover,
.article-body a[href$=".rar"]:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.article-body .mce-preview-object {
    max-width: 100%;
    margin: 16px 0;
}

/* ---------- Footer ---------- */
.footer {
    background: #0A1628;
    padding: 60px 0 0;
}

.footer-grid {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand { flex: 1.5; }

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-box {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.footer-brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    white-space: pre-line;
    line-height: 1.8;
}

.footer-phone {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    margin-top: 12px;
}

.footer-col { flex: 1; }

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col a,
.footer-col .footer-info {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-divider {
    height: 1px;
    background: var(--primary-light);
    margin-bottom: 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    font-size: 12px;
    color: #475569;
}

/* ---------- About Page ---------- */
.about-section {
    padding: 60px 0;
}

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

.about-text h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    height: 380px;
    background: var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { flex-wrap: wrap; gap: 32px; }
    .contact-inner { flex-direction: column; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .badges-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-inner { flex-direction: column; }
    .hero-title { font-size: 32px; }
    .nav-center { display: none; }
    .nav-right { display: none; }
    .nav-toggle { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { flex-wrap: wrap; gap: 24px; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .news-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .badges-grid { grid-template-columns: repeat(2, 1fr); }
}
