/* ===================================================
   私家侦探调查婚外情 - 企业官网样式
   深色系+金色点缀，高级企业感
   =================================================== */

/* --- CSS Variables --- */
:root {
    --primary: #1a2332;
    --primary-light: #243347;
    --primary-dark: #111927;
    --accent: #c9a96e;
    --accent-light: #d4bc8a;
    --accent-dark: #b08d4a;
    --blue: #2d5a87;
    --blue-light: #3a7ab5;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --text: #333333;
    --text-light: #666666;
    --danger: #e74c3c;
    --success: #27ae60;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

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

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

body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.animate { opacity: 0; transform: translateY(30px); transition: var(--transition-slow); }
.animate.visible { opacity: 1; transform: translateY(0); }

/* ===============================
   TOP BAR
   =============================== */
.top-bar {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    line-height: 40px;
    position: relative;
    z-index: 1001;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; align-items: center; gap: 16px; }
.top-bar-left a { color: var(--accent); }
.top-bar-left a:hover { color: var(--accent-light); }
.top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-bar-right a { color: rgba(255,255,255,0.7); }
.top-bar-right a:hover { color: var(--accent); }
.top-divider { color: rgba(255,255,255,0.2); }
.btn-free {
    background: var(--accent) !important;
    color: var(--primary) !important;
    padding: 4px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
}
.btn-free:hover { background: var(--accent-light) !important; }

/* ===============================
   HEADER
   =============================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-md);
}
.header-placeholder { height: 0; }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 22px;
}
.logo-text h1 {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.logo-text span {
    font-size: 11px;
    color: var(--gray-500);
    letter-spacing: 2px;
}

/* Nav */
.main-nav ul {
    display: flex;
    gap: 6px;
}
.main-nav li a {
    display: block;
    padding: 8px 20px;
    font-size: 15px;
    color: var(--gray-700);
    font-weight: 500;
    border-radius: var(--radius);
    position: relative;
}
.main-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}
.main-nav li a:hover,
.main-nav li.active a {
    color: var(--primary);
    background: var(--gray-100);
}
.main-nav li a:hover::after,
.main-nav li.active a::after {
    width: 60%;
}

/* Header Action */
.header-action { display: flex; align-items: center; gap: 12px; }
.btn-header-call {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--accent) !important;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}
.btn-header-call:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--blue));
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(26,35,50,0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: var(--primary);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        url('/assets/images/hero-bg.jpg') center/cover no-repeat,
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--blue) 100%);
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,35,50,0.85) 0%, rgba(26,35,50,0.7) 50%, rgba(45,90,135,0.8) 100%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 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='%23c9a96e' 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");
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}
.hero-text { max-width: 720px; animation: fadeInUp 0.8s ease; }
.hero-tag {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 50px;
    font-size: 13px;
    margin-bottom: 24px;
    letter-spacing: 2px;
}
.hero h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero h2 span { color: var(--accent); }
.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; }
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    border: 2px solid var(--accent);
    transition: var(--transition);
    cursor: pointer;
}
.btn-primary:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,169,110,0.3);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition);
    cursor: pointer;
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 3;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.1);
}
.hero-stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.stat-item {
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid var(--gray-200);
    transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--gray-50); }
.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-number span { color: var(--accent); font-size: 18px; }
.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    letter-spacing: 1px;
}

/* ===============================
   SECTION COMMONS
   =============================== */
.section {
    padding: 80px 0;
}
.section-gray { background: var(--gray-50); }
.section-dark {
    background: var(--primary);
    color: var(--white);
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-tag {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(201,169,110,0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.section-dark .section-header .section-tag {
    background: rgba(201,169,110,0.15);
}
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}
.section-dark .section-header p { color: rgba(255,255,255,0.6); }

/* ===============================
   ABOUT INTRO (首页简版)
   =============================== */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-intro-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: 
        url('/assets/images/about.jpg') center/cover no-repeat,
        linear-gradient(135deg, var(--primary), var(--blue));
}
.about-intro-image .placeholder-icon {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 80px;
}
.about-intro-image .placeholder-icon span {
    font-size: 14px;
    margin-top: 12px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 2px;
}
.about-intro-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
}
.about-intro-text h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.3;
}
.about-intro-text h3 span { color: var(--accent); }
.about-intro-text > p {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.9;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}
.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    transition: var(--transition);
}
.about-feature-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.about-feature-item i {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.about-feature-item h4 {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 2px;
}
.about-feature-item p {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===============================
   SERVICES (首页)
   =============================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-card-image img {
    transform: scale(1.08);
}
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}
.service-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
}
.service-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.service-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.service-link:hover { gap: 10px; color: var(--accent-dark); }

/* ===============================
   NEWS
   =============================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.news-cover {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-light), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
    font-size: 48px;
    position: relative;
    overflow: hidden;
}
.news-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-cover img {
    transform: scale(1.05);
}
.news-cover .news-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}
.news-body {
    padding: 20px;
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 10px;
}
.news-meta i { margin-right: 4px; }
.news-body h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-body h3 a:hover { color: var(--accent); }
.news-body p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===============================
   STRENGTHS / WHY US
   =============================== */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.strength-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}
.strength-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}
.strength-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 28px;
}
.strength-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.strength-item p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* ===============================
   CTA BANNER
   =============================== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--blue));
    padding: 64px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(201,169,110,0.1) 0%, transparent 60%);
}
.cta-banner h2 {
    font-size: 32px;
    margin-bottom: 12px;
    position: relative;
}
.cta-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    position: relative;
}
.cta-banner .btn-primary { position: relative; }

/* ===============================
   PAGE HEADER (子页面)
   =============================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201,169,110,0.08) 0%, transparent 60%);
}
.page-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}
.page-header .breadcrumb {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    position: relative;
}
.page-header .breadcrumb a { color: var(--accent); }
.page-header .breadcrumb a:hover { color: var(--accent-light); }

/* ===============================
   ABOUT PAGE
   =============================== */
.about-content h2 {
    font-size: 24px;
    color: var(--primary);
    margin: 32px 0 16px;
    padding-left: 16px;
    border-left: 3px solid var(--accent);
}
.about-content h2:first-child { margin-top: 0; }
.about-content p {
    color: var(--gray-600);
    line-height: 2;
    margin-bottom: 16px;
}
.about-content ul {
    margin: 16px 0 24px 0;
}
.about-content ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--gray-600);
    line-height: 1.8;
}
.about-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.about-value-card {
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}
.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.about-value-card i {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.about-value-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}
.about-value-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===============================
   SERVICES PAGE
   =============================== */
.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-detail-card:nth-child(even) {
    direction: rtl;
}
.service-detail-card:nth-child(even) > * {
    direction: ltr;
}
.service-detail-image {
    background: linear-gradient(135deg, var(--primary), var(--blue));
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.1);
    font-size: 80px;
    position: relative;
    overflow: hidden;
}
.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.service-detail-image .service-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}
.service-detail-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-detail-content h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 16px;
}
.service-detail-content p {
    color: var(--gray-600);
    line-height: 1.9;
    margin-bottom: 20px;
}
.service-detail-content .btn-primary {
    align-self: flex-start;
    padding: 10px 28px;
    font-size: 14px;
}

/* ===============================
   NEWS PAGE
   =============================== */
.news-list-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    margin-bottom: 20px;
    transition: var(--transition);
}
.news-list-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.news-list-cover {
    width: 240px;
    min-height: 160px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary-light), var(--blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.15);
    font-size: 40px;
    flex-shrink: 0;
    overflow: hidden;
}
.news-list-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-list-body { flex: 1; }
.news-list-body h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}
.news-list-body h3 a:hover { color: var(--accent); }
.news-list-body p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Detail */
.news-detail-content {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}
.news-detail-content h1 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.4;
}
.news-detail-meta {
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 32px;
    color: var(--gray-500);
    font-size: 14px;
}
.news-detail-body {
    font-size: 16px;
    line-height: 2;
    color: var(--gray-700);
}
.news-detail-body h3 {
    font-size: 20px;
    color: var(--primary);
    margin: 24px 0 12px;
}
.news-detail-body p {
    margin-bottom: 16px;
}

/* ===============================
   CONTACT PAGE
   =============================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-list { margin-bottom: 32px; }
.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 12px;
}
.contact-info-item i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    color: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.contact-info-item h4 {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 4px;
}
.contact-info-item p {
    font-size: 14px;
    color: var(--gray-500);
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}
.contact-form h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 24px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}
.form-group label .required { color: var(--danger); }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-main);
    transition: var(--transition);
    background: var(--white);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}
.btn-submit:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(201,169,110,0.3);
}

/* ===============================
   PAGINATION
   =============================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--gray-600);
    transition: var(--transition);
}
.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ===============================
   FOOTER
   =============================== */
.footer-top {
    background: var(--primary);
    padding: 60px 0 40px;
    color: rgba(255,255,255,0.7);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}
.footer-logo span {
    font-size: 16px;
    color: var(--white);
    font-weight: 600;
}
.footer-about p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.footer-contact-info p {
    font-size: 13px;
    margin-bottom: 6px;
}
.footer-contact-info i { color: var(--accent); margin-right: 8px; }
.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-qrcode { margin-top: 8px; }
.qr-placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 32px;
}
.qr-placeholder span {
    font-size: 11px;
    margin-top: 6px;
}
.footer-bottom {
    background: var(--primary-dark);
    padding: 16px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ===============================
   SIDE TOOLS & BACK TO TOP
   =============================== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 100px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.side-tools {
    position: fixed;
    right: 24px;
    bottom: 160px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.side-tools.show { opacity: 1; visibility: visible; }
.side-tool-item {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.side-tool-item:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateX(-3px);
}

/* ===============================
   BREADCRUMB
   =============================== */
.breadcrumb-bar {
    padding: 16px 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-size: 13px;
    color: var(--gray-500);
}
.breadcrumb-bar a { color: var(--gray-500); }
.breadcrumb-bar a:hover { color: var(--accent); }
.breadcrumb-bar span { margin: 0 6px; color: var(--gray-400); }

/* ===============================
   ALARM / FLASH MESSAGES
   =============================== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 992px) {
    .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .strengths-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .service-detail-card { grid-template-columns: 1fr; }
    .service-detail-card:nth-child(even) { direction: ltr; }
    .contact-grid { grid-template-columns: 1fr; }
    .about-values-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { height: 500px; }
    .hero h2 { font-size: 32px; }
}

@media (max-width: 768px) {
    .top-bar-left .top-divider,
    .top-bar-left span:nth-child(2) { display: none; }
    .top-bar-right { display: none; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 16px;
        z-index: 1000;
    }
    .main-nav.open { display: block; animation: slideDown 0.3s ease; }
    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }
    .main-nav li a {
        padding: 12px 16px;
        border-radius: var(--radius);
    }
    .header-action { display: none; }
    .mobile-toggle { display: flex; }
    
    .hero { height: 420px; }
    .hero h2 { font-size: 26px; }
    .hero p { font-size: 15px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 16px 12px; }
    .stat-number { font-size: 28px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .strengths-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-values-grid { grid-template-columns: 1fr; }
    
    .news-list-card { flex-direction: column; }
    .news-list-cover { width: 100%; min-height: 180px; }
    
    .section { padding: 48px 0; }
    .section-header h2 { font-size: 24px; }
    .page-header { padding: 60px 0 40px; }
    .page-header h2 { font-size: 28px; }
}

@media (max-width: 480px) {
    .hero h2 { font-size: 22px; }
    .btn-primary, .btn-outline { padding: 12px 24px; font-size: 14px; }
    .service-detail-content { padding: 24px; }
    .news-detail-content { padding: 24px; }
    .contact-form { padding: 24px; }
}
