/*
Theme Name: Langtan Testing Technology
Theme URI: https://langtan-test.com
Author: Langtan Testing Technology
Author URI: https://langtan-test.com
Description: Professional WordPress theme for Langtan Testing Technology Co., Ltd. - industrial testing, certification and inspection services. Red VI color with grey accents, bilingual EN/ZH, certificate verification system.
Version: 2.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: langtan
Tags: testing, certification, industrial, bilingual, responsive, red, grey
*/

:root {
    --brand-red: #C8102E;
    --brand-red-dark: #A00D24;
    --brand-red-light: #E63950;
    --grey-50: #F9FAFB;
    --grey-100: #F3F4F6;
    --grey-200: #E5E7EB;
    --grey-300: #D1D5DB;
    --grey-400: #9CA3AF;
    --grey-500: #6B7280;
    --grey-600: #4B5563;
    --grey-700: #374151;
    --grey-800: #1F2937;
    --grey-900: #111827;
    --white: #FFFFFF;
    --black: #000000;
    --success: #059669;
    --warning: #D97706;
    --error: #DC2626;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--grey-700);
    line-height: 1.6;
    background-color: var(--white);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.lang-zh {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--grey-900);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--brand-red-dark);
}

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

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 960px;
}

/* WordPress Alignment */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 0.625rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--grey-600);
    background: var(--grey-100);
    text-transform: uppercase;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    background: var(--brand-red);
    color: var(--white);
}

.lang-switcher span {
    color: var(--grey-300);
    font-size: 0.75rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    box-shadow: var(--shadow-sm);
}

.header-top {
    background: var(--grey-900);
    color: var(--grey-300);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info {
    display: flex;
    gap: 1.5rem;
}

.header-top-info a {
    color: var(--grey-300);
}

.header-top-info a:hover {
    color: var(--white);
}

.header-top-info i,
.header-top-info svg {
    color: var(--brand-red);
    margin-right: 0.375rem;
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.header-main {
    padding: 1rem 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo {
    height: 48px;
    width: auto;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--grey-900);
    margin: 0;
    line-height: 1.2;
}

.site-title span {
    color: var(--brand-red);
}

.site-description {
    font-size: 0.6875rem;
    color: var(--grey-500);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navigation ul {
    display: flex;
    gap: 1.75rem;
}

.main-navigation a {
    color: var(--grey-700);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-red);
    transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation a.current {
    color: var(--brand-red);
}

.main-navigation a:hover::after,
.main-navigation a.current::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--grey-900);
    margin: 5px 0;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--brand-red);
    border-color: var(--brand-red);
}

.btn-outline:hover {
    background: var(--brand-red);
    color: var(--white);
}

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

.btn-white:hover {
    background: var(--grey-100);
    color: var(--brand-red-dark);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--grey-900) 0%, var(--grey-800) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.6) 60%, rgba(17, 24, 39, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 5rem 0;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-red-light);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 3px;
    background: var(--brand-red);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-desc {
    font-size: 1.25rem;
    color: var(--grey-300);
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 1.5rem;
}

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

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.hero-stat-number span {
    color: var(--brand-red-light);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--grey-400);
    margin-top: 0.5rem;
}

/* Section Base */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--grey-50);
}

.section-dark {
    background: var(--grey-900);
    color: var(--grey-300);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 3px;
    background: var(--brand-red);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--grey-500);
}

.section-dark .section-desc {
    color: var(--grey-400);
}

/* Industry Sectors (Reference danem-test) */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.sector-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
}

.sector-card:hover {
    border-color: var(--brand-red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.sector-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(200, 16, 46, 0.08);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.sector-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.sector-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.sector-desc {
    font-size: 0.9375rem;
    color: var(--grey-500);
    margin: 0;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.about-image-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--brand-red);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.about-image-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.about-image-badge .text {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.about-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.about-content p {
    font-size: 1rem;
    color: var(--grey-600);
    margin-bottom: 1.25rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-feature svg {
    color: var(--brand-red);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 0.125rem;
}

.about-feature strong {
    display: block;
    color: var(--grey-900);
    font-weight: 700;
}

.about-feature span {
    font-size: 0.875rem;
    color: var(--grey-500);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--grey-200);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-content {
    padding: 1.75rem;
}

.service-tag {
    display: inline-block;
    background: rgba(200, 16, 46, 0.08);
    color: var(--brand-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--grey-500);
    margin-bottom: 1rem;
}

.service-standards {
    font-size: 0.8125rem;
    color: var(--grey-400);
    padding-top: 1rem;
    border-top: 1px solid var(--grey-100);
}

.service-standards strong {
    color: var(--grey-700);
}

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    counter-reset: process;
}

.process-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
}

.process-card::after {
    counter-increment: process;
    content: '0' counter(process);
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--grey-100);
    line-height: 1;
}

.process-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.08);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.process-icon svg {
    width: 32px;
    height: 32px;
}

.process-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.process-desc {
    font-size: 0.9375rem;
    color: var(--grey-500);
    margin: 0;
}

/* Projects / Recent Work */
.projects-table-wrap {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.projects-table {
    width: 100%;
    border-collapse: collapse;
}

.projects-table th {
    background: var(--grey-900);
    color: var(--white);
    font-weight: 600;
    text-align: left;
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.projects-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--grey-100);
    font-size: 0.9375rem;
}

.projects-table tr:last-child td {
    border-bottom: none;
}

.projects-table tr:hover td {
    background: var(--grey-50);
}

.project-client {
    font-weight: 700;
    color: var(--grey-900);
}

.project-type {
    color: var(--brand-red);
    font-weight: 600;
}

.project-year {
    color: var(--grey-400);
    font-size: 0.875rem;
}

/* Equipment */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.equipment-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    border: 1px solid var(--grey-200);
    transition: var(--transition);
}

.equipment-card:hover {
    border-color: var(--brand-red);
    box-shadow: var(--shadow-lg);
}

.equipment-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--grey-50);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.equipment-icon svg {
    width: 40px;
    height: 40px;
}

.equipment-name {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.equipment-model {
    font-size: 0.875rem;
    color: var(--grey-400);
    margin-bottom: 1rem;
}

.equipment-specs {
    font-size: 0.8125rem;
    color: var(--grey-500);
    line-height: 1.8;
}

/* Certificates */
.cert-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cert-type-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--grey-200);
    transition: var(--transition);
}

.cert-type-card:hover {
    border-color: var(--brand-red);
    box-shadow: var(--shadow-lg);
}

.cert-type-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(200, 16, 46, 0.08);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.cert-type-icon svg {
    width: 32px;
    height: 32px;
}

.cert-type-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.cert-type-desc {
    font-size: 0.9375rem;
    color: var(--grey-500);
}

/* Verify Page */
.verify-box {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.verify-form {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.verify-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid var(--grey-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.verify-input:focus {
    outline: none;
    border-color: var(--brand-red);
}

.verify-result {
    display: none;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: left;
}

.verify-result.valid {
    display: block;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
}

.verify-result.invalid {
    display: block;
    background: #FEF2F2;
    border: 1px solid #FECACA;
}

.verify-result-title {
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verify-result.valid .verify-result-title {
    color: var(--success);
}

.verify-result.invalid .verify-result-title {
    color: var(--error);
}

.verify-result-row {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9375rem;
}

.verify-result-row:last-child {
    border-bottom: none;
}

.verify-result-row span:first-child {
    color: var(--grey-500);
}

.verify-result-row span:last-child {
    font-weight: 600;
    color: var(--grey-900);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: var(--grey-900);
    color: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    color: var(--brand-red-light);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.contact-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
    color: var(--grey-400);
    font-size: 0.9375rem;
}

.contact-item a:hover {
    color: var(--white);
}

.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--grey-900);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--grey-300);
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-200);
    transition: var(--transition);
}

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

.news-image {
    height: 200px;
    background: var(--grey-200);
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.8125rem;
    color: var(--brand-red);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.9375rem;
    color: var(--grey-500);
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* Footer */
.site-footer {
    background: var(--grey-900);
    color: var(--grey-400);
}

.footer-main {
    padding: 4rem 0 2rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-brand img {
    height: 44px;
}

.footer-brand strong {
    color: var(--white);
    font-size: 1.125rem;
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-title {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--grey-400);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.25rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    margin-bottom: 0.875rem;
}

.footer-contact svg {
    color: var(--brand-red-light);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--grey-800);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--grey-900) 0%, var(--grey-800) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/images/equipment-lab.png') center/cover no-repeat;
    opacity: 0.15;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--grey-300);
    font-size: 1.125rem;
    max-width: 640px;
    margin: 0 auto;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--grey-400);
}

.breadcrumbs a {
    color: var(--grey-300);
}

.breadcrumbs a:hover {
    color: var(--white);
}

/* Single Post */
.single-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.single-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--grey-500);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.single-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.single-body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--grey-600);
}

.single-body h2,
.single-body h3 {
    color: var(--grey-900);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.single-body li {
    margin-bottom: 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--white);
    color: var(--grey-700);
    border: 1px solid var(--grey-200);
    font-weight: 600;
}

.pagination a:hover {
    background: var(--brand-red);
    color: var(--white);
    border-color: var(--brand-red);
}

.pagination .current {
    background: var(--brand-red);
    color: var(--white);
    border-color: var(--brand-red);
}

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

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

/* Admin Bar Fix */
body.admin-bar .site-header {
    top: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sectors-grid,
    .services-grid,
    .cert-types-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .header-main .container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        gap: 0;
        background: var(--grey-50);
        border-radius: 8px;
        padding: 0.5rem;
    }

    .main-navigation ul.active {
        display: flex;
    }

    .main-navigation li {
        border-bottom: 1px solid var(--grey-200);
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: block;
        padding: 0.875rem 1rem;
    }

    .main-navigation a::after {
        display: none;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-desc {
        font-size: 1.0625rem;
    }

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

    .sectors-grid,
    .services-grid,
    .cert-types-grid,
    .news-grid,
    .equipment-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .projects-table th,
    .projects-table td {
        padding: 1rem;
        font-size: 0.875rem;
    }

    .verify-form {
        flex-direction: column;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.875rem;
    }
}
