/* ========================================
   铭太科技 - 企业官网样式表
   主色调: 深蓝系
   ======================================== */

/* --- CSS Variables --- */
:root {
    --primary-dark: #031634;
    --primary: #0a1628;
    --primary-light: #0f2240;
    --secondary: #152d58;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --accent-tip: #0c2fdd;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --text: #1e293b;
    --text-light: #64748b;
    --text-on-dark: #e2e8f0;
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.15);
    --transition: all 0.3s ease;
    --max-width: 1500px;
    --header-height: 72px;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    padding-top: var(--header-height);
}

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

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}
/* 间隔线 */
.section-solid {
  margin: auto;
  width: 70px;
  height: 4px;
  margin-bottom: 8px;
  border-radius: 2px;
  background-color: var(--accent-tip);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-light);
    max-width: 680px;
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: var(--white);
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary-dark);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    height: var(--header-height);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    color: var(--white);
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    display: block;
    padding: 8px 16px;
    font-size: 15px;
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--secondary) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 50%, rgba(59,130,246,0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(96,165,250,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 60% 80%, rgba(59,130,246,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Homepage hero */
.hero-main {
    position: relative;
    /* padding: 100px 0 120px; */
    min-height: 830px;
    /* display: flex;
    align-items: center; */
    background-image: url('../images/1.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-main::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: rgba(6, 15, 30, 0.55); */
    pointer-events: none;
}

.hero-main .container {
    position: relative;
    z-index: 2;
    margin-top: 5%;
}

.hero-top-text {
    font-size: 62px;
    font-weight: 600;
    /* color: rgba(255,255,255,0.8); */
    margin-bottom: 16px;
    letter-spacing: 3px;
}

.hero-main-title {
    font-size: 26px;
    /* font-weight: 600; */
    line-height: 1.5;
    max-width: 860px;
    margin-bottom: 36px;
    letter-spacing: 2px;
    color: var(--white);
}

/* Banner button with background image */
.hero-banner-btn {
    display: inline-block;
    width: 200px;
    height: 52px;
    background-image: url('../images/bannerBtn.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    line-height: 52px;
    transition: var(--transition);
    text-decoration: none;
}

.hero-banner-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Inner page hero (shorter) */
.hero-inner {
    padding: 60px 0 70px;
    text-align: center;
}

.hero-inner .container {
    position: relative;
    z-index: 1;
}

.hero-inner h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-inner .hero-subtitle {
    font-size: 17px;
    color: var(--gray-400);
    max-width: 650px;
    margin: 0 auto;
}

/* Hero decoration particles (CSS only) */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-main .hero-tip {
    width: 100%;
    position: absolute;
    bottom: 10%;
    font-size: 18px;
    color: #333;
    letter-spacing: 0.6px;
}

.hero-main .hero-tip div{
    display: inline-block;
    width: 33%;
    text-align: center;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.15;
    animation: float-up 8s infinite ease-in;
}

.particle:nth-child(1) { width: 4px; height: 4px; left: 10%; top: 60%; animation-delay: 0s; }
.particle:nth-child(2) { width: 3px; height: 3px; left: 25%; top: 40%; animation-delay: 2s; }
.particle:nth-child(3) { width: 5px; height: 5px; left: 40%; top: 70%; animation-delay: 4s; }
.particle:nth-child(4) { width: 3px; height: 3px; left: 55%; top: 30%; animation-delay: 1s; }
.particle:nth-child(5) { width: 4px; height: 4px; left: 70%; top: 65%; animation-delay: 3s; }
.particle:nth-child(6) { width: 5px; height: 5px; left: 85%; top: 45%; animation-delay: 5s; }
.particle:nth-child(7) { width: 3px; height: 3px; left: 90%; top: 75%; animation-delay: 6s; }
.particle:nth-child(8) { width: 4px; height: 4px; left: 15%; top: 85%; animation-delay: 7s; }

@keyframes float-up {
    0% { transform: translateY(0) scale(1); opacity: 0.15; }
    50% { transform: translateY(-40px) scale(1.8); opacity: 0.35; }
    100% { transform: translateY(-80px) scale(1); opacity: 0.05; }
}

/* ============================================
   SECTION SPACING
   ============================================ */
.section {
    padding: 0px 0;
}

.section-dark {
    background: var(--gray-50);
}


/* ============================================
   CARD GRID (2-column 产品展示)
   ============================================ */
.products{
    width: 100%;
    height: 615px;
    padding-left: 60%;
    background-image: url('../images/2.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.products-wrap {
  padding: 10% 15% 0;
  width: 100%;
  height: 100%;
  color:var(--white);
}

.products-wrap h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    /* color: var(--primary-dark); */
}

.products-wrap h4 {
    margin-top: 10%;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    /* color: var(--primary-dark); */
}

.products-wrap p {
    /* color: var(--text-light); */
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 1px;
}

/* ============================================
   CARD GRID (3-column 解决方案)
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 68px;
}

.card {
    width: 450px;
    height: 630px;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius);
    padding: 270px 82px 0px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: var(--transition);
}

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

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(96,165,250,0.15));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
    /* color: var(--primary-dark); */
}

.card p {
    /* color: var(--text-light); */
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 1px;
}

/* ============================================
   CARD GRID (4-column 成功案例)
   ============================================ */
.cases{
    width: 100%;
    height: 615px;
    padding-right: 40%;
    background-image: url('../images/6.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.cases-wrap {
  padding: 9% 0 0 26%;
  width: 100%;
  height: 100%;
}

.cases-wrap h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: var(--accent-tip);
}

.cases-wrap h4 {
    margin-top: 6%;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: var(--text);
}

.cases-wrap p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 1px;
}

/* ============================================
   CARD GRID (5-column 新闻资讯)
   ============================================ */
.news-wrap .card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 68px;
}

.news-wrap .card {
    width: 750px;
    height: 500px;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius);
    padding: 12% 14% 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.news-wrap .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    /* background: linear-gradient(90deg, var(--accent), var(--accent-light)); */
    opacity: 0;
    transition: var(--transition);
}

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

.news-wrap .card:hover::before {
    opacity: 1;
}

.news-wrap .card-date {
    font-size: 24px;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.card-date-left {
    font-size: 30px;
    color: #222;
    font-weight: 600;
}

.news-wrap .card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
    color: var(--accent-tip);
}

.news-wrap .card p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 1px;
}

/* ============================================
   CARD GRID (6-column 服务支持)
   ============================================ */
.support{
    width: 100%;
    height: 660px;
    margin-top: -2.5%;
    /* padding-right: 40%; */
    background-image: url('../images/8.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.support-wrap {
  position: relative;
  /* padding: 9% 0 0 26%; */
  width: 100%;
  height: 100%;
}

.support-wrap .support-zc {
  width: 276px;
  position: absolute;
  top: 15%;
  left: 14.2%;
}

.support-wrap .support-dz {
  width: 252px;
  position: absolute;
  top: 32.7%;
  right: 10.6%;
}

.support-wrap .support-jf {
  width: 250px;
  position: absolute;
  bottom: 4.9%;
  right: 23.9%;
}

/* .support-wrap h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: var(--accent-tip);
} */

.support-wrap h4 {
    /* margin-top: 6%; */
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
    color: var(--text);
}

.support-wrap p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 1px;
}

/* ============================================
   CARD GRID (7-column 关于我们)
   ============================================ */
.about{
    width: 100%;
    height: 668px;
    margin-top: -5%;
    /* padding-right: 40%; */
    background-image: url('../images/9.png');
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.about-wrap {
  position: relative;
  /* padding: 9% 0 0 26%; */
  width: 45%;
  height: 85%;
  /* z-index: -1; */
}

.about-wrap .about-zc {
  position: absolute;
  top: 23.5%;
  left: 26.5%;
}

.about-wrap .about-dz {
  position: absolute;
  top: 43.2%;
  left: 26.5%;
}

.about-wrap .about-jf {
  position: absolute;
  bottom: 0;
  left: 26.5%;
}

/* .about-wrap h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: var(--accent-tip);
} */

.about-wrap h4 {
    /* margin-top: 6%; */
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
    color: var(--text);
}

.about-wrap p {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 1px;
}

.tip-list {
  margin-top: -2.8%;
  display: flex;
  flex-wrap: wrap;
}

.tip-list .tip-item {
  margin-right: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--accent-tip);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--accent-tip);
  transition: var(--transition);
}

.tip-list .tip-item:hover {
  background: var(--accent-tip);
  color: var(--white);
}

/* ============================================
   CUSTOMER LOGO WALL
   ============================================ */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    align-items: center;
}

.logo-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    min-height: 100px;
    text-align: center;
    font-weight: 600;
    color: var(--gray-500);
    font-size: 15px;
}

.logo-item:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow);
    color: var(--text);
}

.logo-item.featured {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, rgba(59,130,246,0.03), rgba(96,165,250,0.05));
    color: var(--primary);
    font-size: 17px;
}

/* ============================================
   APPLICATION TAGS
   ============================================ */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(59,130,246,0.08);
    color: var(--accent);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.tag:hover {
    background: var(--accent);
    color: var(--white);
}

/* ============================================
   NEWS LIST
   ============================================ */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
    cursor: pointer;
}

.news-item:first-child {
    border-top: 1px solid var(--gray-200);
}

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

.news-item:hover .news-title {
    color: var(--accent);
}

.news-date {
    flex-shrink: 0;
    width: 90px;
    text-align: center;
    padding-top: 2px;
}

.news-date .month-year {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 4px;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    transition: var(--transition);
    line-height: 1.4;
}

.news-summary {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   SERVICE CARDS (2-column)
   ============================================ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

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

.service-card .card-icon {
    flex-shrink: 0;
    margin-bottom: 0;
}

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

.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.75;
}

/* ============================================
   PATENT / IP CARDS
   ============================================ */
.patent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.patent-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
}

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

.patent-card .patent-number {
    font-size: 40px;
    font-weight: 800;
    color: rgba(59,130,246,0.1);
    margin-bottom: 12px;
    line-height: 1;
}

.patent-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.5;
}

/* ============================================
   CERTIFICATION GRID
   ============================================ */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cert-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 16px 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 60px;
}

.cert-item:hover {
    border-color: var(--accent);
    background: rgba(59,130,246,0.03);
    color: var(--accent);
}

.cert-item i {
    color: var(--accent);
    font-size: 16px;
}

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-block {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item .icon {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--primary-dark);
}

.contact-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-intro {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text);
    max-width: 900px;
}

.about-intro .highlight {
    color: var(--accent);
    font-weight: 600;
}

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

.partner-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    transition: var(--transition);
}

.partner-item:hover {
    border-color: var(--accent-light);
    box-shadow: var(--shadow);
}

.partner-item i {
    display: block;
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 12px;
}

/* ============================================
   SCENARIO DETAIL CARDS
   ============================================ */
.scenario-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.scenario-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.scenario-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent-light);
}

.scenario-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.scenario-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--gray-400);
    padding: 33px 0 0;
    margin-top: 50px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-about h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.footer-about p {
    width: 325px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--gray-400);
    font-size: 14px;
    padding: 5px 0;
    transition: var(--transition);
    letter-spacing: 1px;
}

.footer-col a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-col p{
    padding: 5px 0;
    font-size: 14px;
    /* line-height: 0; */
    letter-spacing: 1px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .card-grid,
    .patent-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .hero-main-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 28px;
    }

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

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .header-inner {
        height: 60px;
    }

    /* Mobile nav */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        backdrop-filter: blur(16px);
        overflow-y: auto;
    }

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

    .nav a {
        padding: 14px 16px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        border-radius: 0;
    }

    .menu-toggle {
        display: block;
    }

    /* Cards */
    .card-grid,
    .patent-grid,
    .service-grid,
    .scenario-grid {
        grid-template-columns: 1fr;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .logo-item {
        padding: 20px 12px;
        min-height: 80px;
        font-size: 13px;
    }

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

    .partner-grid {
        grid-template-columns: 1fr;
    }

    .hero-main {
        padding: 60px 0 80px;
        min-height: auto;
    }

    .hero-main-title {
        font-size: 22px;
    }

    .hero-inner {
        padding: 40px 0 50px;
    }

    .hero-inner h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 15px;
    }

    .section {
        padding: 50px 0;
    }

    .news-item {
        flex-direction: column;
        gap: 8px;
    }

    .news-date {
        width: auto;
        text-align: left;
    }

    .news-date .month-year {
        display: inline;
        margin-right: 8px;
    }

    .contact-block {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-col a:hover {
        padding-left: 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero-main-title {
        font-size: 20px;
    }

    .hero-inner h1 {
        font-size: 24px;
    }

    .container {
        padding: 0 16px;
    }

    .card {
        padding: 24px 20px;
    }

    .contact-block {
        padding: 20px;
    }

    .cert-item {
        font-size: 12px;
        padding: 12px 10px;
    }
}
