/* FocusNutr — Bright Medical Blue B2B Design (Brand #2563EB)
   ============================================================ */

/* ---------- Reset ---------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

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

button {
    font: inherit;
    border: 0;
    background: none;
    cursor: pointer;
    color: inherit;
}

input,
textarea,
select {
    font: inherit;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- Tokens ---------- */

:root {
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    /* Brand blue — bright medical blue #2563EB */
    --brand-50: #eff6ff;
    --brand-100: #dbeafe;
    --brand-200: #bfdbfe;
    --brand-300: #93c5fd;
    --brand-400: #60a5fa;
    --brand-500: #3b82f6;
    --brand-600: #2563eb;
    --brand-700: #1d4ed8;
    --brand-800: #1e3a5f;
    --brand-900: #152c4e;
    /* Legacy aliases (for backward compat with --blue-* selectors) */
    --blue-50: var(--brand-50);
    --blue-100: var(--brand-100);
    --blue-200: var(--brand-200);
    --blue-500: var(--brand-500);
    --blue-600: var(--brand-600);
    --blue-700: var(--brand-700);
    --blue-800: var(--brand-800);
    --blue-900: var(--brand-900);
    --accent-green: var(--brand-600);
    --amber: #d97706;
    --cream: #faf7ef;
    --f-body: "Inter", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --container-max: 1280px;
    --gutter: clamp(20px, 4vw, 64px);
    --section-pad: clamp(64px, 8vw, 120px);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.06);
    --radius: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-pill: 999px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --gap: 15px
}

/* ---------- Base ---------- */

body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

::selection {
    background: var(--blue-600);
    color: var(--white);
}

/* ---------- Typography ---------- */

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: 16px;
}

.section-eyebrow .line {
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--blue-200);
    border-radius: 1px;
}

.section-eyebrow--light {
    color: rgba(255, 255, 255, 0.85);
}

.section-eyebrow--light .line {
    background: rgba(255, 255, 255, 0.35);
}

.section-title {
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.25;
    color: var(--gray-900);
    max-width: 20ch;
    margin: 0 auto;
    text-align: center;
}

.section-title--light {
    color: var(--white);
}

.prose {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-600);
    max-width: 64ch;
}

.prose+.prose {
    margin-top: 1.2em;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-family: var(--f-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background 200ms var(--ease), transform 200ms var(--ease), box-shadow 200ms var(--ease), color 200ms var(--ease);
    cursor: pointer;
}

.btn:active {
    transform: scale(0.97);
}

.btn .arrow {
    font-size: 18px;
    line-height: 1;
    transition: transform 200ms var(--ease);
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.btn:focus-visible {
    outline: 2px solid var(--blue-600);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--blue-600);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--blue-700);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--blue-600);
    border: 1.5px solid var(--blue-200);
}

.btn-outline:hover {
    background: var(--blue-50);
    border-color: var(--blue-600);
}

.btn-white {
    background: var(--white);
    color: var(--blue-600);
    box-shadow: var(--shadow-sm);
    transition: background 200ms var(--ease), box-shadow 200ms var(--ease), color 200ms var(--ease);
}

.btn-white:hover {
    background: var(--brand-50);
    box-shadow: var(--shadow-md);
    color: var(--blue-700);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
}

/* ---------- Link underline ---------- */

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-600);
    transition: color 200ms var(--ease), gap 200ms var(--ease);
}

.link-arrow:hover {
    color: var(--blue-700);
    gap: 10px;
}

/* ============================================================
   HEADER
   ============================================================ */

.topbar {
    background-color: #0F52B4;
    color: #FFF;
    padding: 5px 0;
}

.topbar-search-form {
    display: flex; /* 使用 flex 布局，让 input 和 button 更好地排布 */
    align-items: center;
    width: 150px; /* 初始宽度改小一点 */
    background-color: #FFF;
    border-radius: 24px;
    padding: 0 0 0 15px;
    overflow: hidden; /* 隐藏超出部分，防止圆角在动画时变形 */
    transition: width 0.35s ease; /* 添加 0.35 秒的缓冲过渡效果 */
}

/* 关键点：当表单内部的 input 获得焦点时，将 form 宽度变大 */
.topbar-search-form:focus-within {
    width: 220px; /* 点击后的宽度，你可以根据需要调整 */
}

.topbar-search-input {
    height: 24px;
    border: none;
    outline: none;
    font-size: 14px;
    width: 100%;color:#333}

button.topbar-search-btn {
    flex-shrink: 0; /* 防止按钮在宽度变化时被挤压变形 */
    background: transparent; /* 移除按钮默认背景 */
    border: none; /* 移除按钮默认边框 */
    cursor: pointer;
    padding: 0 12px; /* 给图标一点呼吸空间 */
    display: flex;
    align-items: center;
    color: #111827;
}


.topbar-inner {
    display: flex;
    justify-content: flex-end;align-items: center;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.header-line {
    height: 115px;
}

.brand {
    display: flex;
    align-items: center;
    width: 200px;
}

/* --- 桌面端默认隐藏汉堡按钮 --- */

.nav-toggle {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 20px;
}
/* --- 移动端适配 --- */

@media (max-width: 992px) {
    .header-inner {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    /* 汉堡按钮样式 */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #333;
        /* 根据背景调整颜色 */
        border-radius: 2px;
        transition: all 0.3s linear;
    }
    /* 汉堡按钮变为关闭(X)时的动画 */
    .nav-toggle.is-active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 8px);
    }
    .nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.is-active span:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -3px);
    }
    /* 移动端菜单容器（侧边栏抽屉效果） */
    .nav-actions-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        /* 默认隐藏在屏幕右侧外 */
        width: 80%;
        /* 或者指定宽度如 300px */
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }
    .nav-actions-wrapper.is-open {
        right: 0;
    }
    /* 导航栏垂直排列 */
    .primary-nav {
        width: 100%;
    }
    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0 !important
    }
    .primary-nav li {
        width: 100%;
        border-bottom: 1px solid #ddd;
    }
    /* 移动端下拉菜单点击展开（替代hover） */
    .nav-dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        padding-left: 15px;
        width: 100%;
    }
    .nav-dropdown.is-expanded .nav-dropdown-menu {
        display: block;
    }
    /* 头部操作区移动端调整 */
    .header-actions {
    display: none;
    }
    .header-actions .btn {
        width: 100%;
        text-align: center;
    }
}

.nav-actions-wrapper {
    display: flex;
    align-items: center;
}

.primary-nav ul {
    display: flex;
    gap: 15px;
}

.primary-nav a {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: 6px;
    transition: background 200ms var(--ease), color 200ms var(--ease);
}

.primary-nav a:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.primary-nav ul.nav-dropdown-menu {
    display: block;
}



/* Nav dropdown (Services) */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 200ms var(--ease);
}

.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown-toggle.active {
    color: var(--brand-600);
}

.nav-dropdown-toggle svg {
    transition: transform 250ms var(--ease);
}

.nav-dropdown.is-open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, -6px);
    min-width: 260px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms var(--ease), transform 250ms var(--ease), visibility 200ms var(--ease);
    list-style: none;
    margin: 0;
    z-index: 30;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 6px;
    transition: background 150ms var(--ease), color 150ms var(--ease);
}

.nav-dropdown-menu li a:hover {
    background: var(--brand-50);
    color: var(--brand-700);
}

.nav-dropdown-menu li.is-active a {
    background: var(--brand-50);
    color: var(--brand-700);
}

/* Language switcher */

.lang-switch {
    position: relative;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: border-color 200ms var(--ease), background 200ms var(--ease);
}

.lang-toggle:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.lang-arrow {
    font-size: 10px;
    transition: transform 250ms var(--ease);
}

.lang-switch.is-open .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    padding: 6px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 200ms var(--ease), transform 250ms var(--ease), visibility 200ms var(--ease);
    z-index: 20;
}

.lang-switch.is-open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu li a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--gray-600);
    border-radius: 6px;
    transition: background 150ms var(--ease), color 150ms var(--ease);
}

.lang-menu li a:hover {
    background: var(--gray-50);
    color: var(--gray-900);
}

.lang-menu li.is-active a {
    color: var(--blue-600);
    font-weight: 600;
    background: var(--blue-50);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    padding-top: 120px;
    padding-bottom: 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--blue-900) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    min-height: 75vh;
    padding-bottom: 80px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.hero-tag .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
}

.hero h1 {
    font-size: clamp(2.25rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
}

.hero h1 .highlight {
    color: var(--blue-200);
    font-style: italic;
    font-weight: 600;
}

.hero p {
    margin-top: 24px;
    max-width: 48ch;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-cta a{width: 45%;}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stats .num {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.hero-stats .lbl {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: heroFade 1200ms var(--ease) 0ms both;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* ============================================================
   SECTIONS shared
   ============================================================ */

.section {
    padding-top: var(--section-pad);
    padding-bottom: var(--section-pad);
}

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

.section-dark {
    background: var(--blue-900);
    color: var(--white);
}

.section-small {
    padding-top: 40px;
    padding-bottom: 40px
}

/* ============================================================
   ABOUT / INTRO
   ============================================================ */

.about-hero {
    background: url(/assets/about-company.jpg) no-repeat center;
    background-size: cover;
}

.section-about {
    background: url(/assets/2.jpg) no-repeat;
    background-size: cover;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ============================================================
   CAPABILITIES
   ============================================================ */

.services-hero {
    background-size: cover;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.cap-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: box-shadow 400ms var(--ease), transform 400ms var(--ease), border-color 400ms var(--ease);
}

.cap-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--blue-200);
}

.cap-icon {
    width: 60px;
    height: 60px;
    background: var(--brand-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-600);
    margin-bottom: 20px;
}

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

.cap-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.cap-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================================
   PRODUCTS / INGREDIENTS
   ============================================================ */

.cp-hero {
    background-size: cover;
}

.cat-menu {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.cat-menu a {
    display: inline-block;
    border-radius: 15px;
    border: 1px solid #CCC;
    padding: 5px 15px;
    font-weight: 300;
    font-size: 14px;
}

.cat-menu a.active {
    border-color: var(--blue-500);
    color: var(--white);
    background-color: var(--blue-500);
}

.section-head {
    text-align: center;
    margin-bottom: 20px;
}

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

.prod-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 400ms var(--ease), transform 400ms var(--ease);
}

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

.prod-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 600ms var(--ease);
}

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

.prod-body {
    padding: 24px;
}

.prod-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-600);
    background: var(--blue-50);
    border-radius: 4px;
    margin-bottom: 12px;
}

.prod-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.3;
}

.prod-body p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.prod-body .link-arrow {
    margin-top: 16px;
}

/* ============================================================
   QUALITY / CERTIFICATION
   ============================================================ */

.section-quality {
    position: relative;
}

.section-quality::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgb(31 90 201 / 90%) 0%, rgb(40 105 187 / 85%) 45%, rgb(42 109 169 / 80%) 100%), url(/assets/quality-bg.jpg) bottom / cover no-repeat;
    z-index: -1;
    background-attachment: fixed;
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.quality-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 36px;
}

.quality-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-100);
}

.quality-item:last-child {
    border-bottom: 0;
}

.q-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-200);
    flex-shrink: 0;
}

.q-icon svg {
    width: 20px;
    height: 20px;
}

.q-text {
    font-weight: 500;
    color: var(--white);
}

.q-desc {
    font-size: 14px;
    color: var(--gray-100);
}

.quality-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.badge {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--blue-700);
}

/* Stats (dark section) */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

padding: 44px 28px;
border-right: 1px solid rgba(255, 255, 255, 0.12);
text-align: center;
}

.stat-item:last-child {
    border-right: 0;
}

.stat-num {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-size: 0.55em;
    color: var(--blue-200);
    font-weight: 400;
}

.stat-label {
    margin-top: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   INSIGHTS
   ============================================================ */

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

.insight-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 32px;
    transition: box-shadow 400ms var(--ease), transform 400ms var(--ease);
}

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

.insight-meta {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-400);
    margin-bottom: 14px;
}

.insight-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.4;
}

.insight-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.insight-card .link-arrow {
    margin-top: 20px;
    display: inline-flex;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

.contact-row .label {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-row .value {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-800);
}

.contact-row a.value {
    color: var(--blue-600);
    transition: color 200ms var(--ease);
}

.contact-row a.value:hover {
    color: var(--blue-700);
}

/* Form */

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 36px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field--full {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-800);
    outline: 0;
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.field input:focus,
.field textarea:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 3px var(--blue-100);
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--gray-400);
}

.form-foot {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 8px;
}

.form-note {
    font-size: 13px;
    color: var(--gray-400);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: var(--blue-900);
    color: rgba(255, 255, 255, 0.7);
    padding-top: clamp(64px, 6vw, 96px);
    padding-bottom: 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: .8fr 2fr;
    gap: clamp(32px, 6vw, 80px);
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .brand-name {
    width: 150px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 36ch;
}

.footer-social {
    display: inline-flex;
}

.footer-social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: color 200ms var(--ease);
    margin: 0 5px;
}

.footer-social a:hover {
    background-color: #518673
}

.footer-social i {
    font-size: 16px;
}

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

.footer-links {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr;
    gap: 32px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue-200);
    margin-bottom: 18px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 200ms var(--ease);
}

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

.footer-col li:not(:has(a)) {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
}

.footer-legal {
    display: flex;
    gap: 16px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 200ms var(--ease);
}

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

.footer-lang {
    font-size: 12px;
    letter-spacing: 0.04em;
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   STAGGERED REVEAL — non-home pages
   Triggered by <body class="animate-enter"> to prevent FOUC.
   CSS handles stagger via nth-child; JS only toggles .is-in on
   the container to fire cascade. No JS delay math required.
   ============================================================ */

/* Section header / hero content — single-element fade */

body.animate-enter .section-header,
body.animate-enter .page-hero-content,
body.animate-enter .section-cta .cta-content {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 780ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 780ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

body.animate-enter .section-header.is-in,
body.animate-enter .page-hero-content.is-in,
body.animate-enter .section-cta .cta-content.is-in {
    opacity: 1;
    transform: translateY(0);
}

/* Container-level cascade: mark grid children hidden until parent.is-in */

body.animate-enter .split-grid>*,
body.animate-enter .cap-block-inner>*,
body.animate-enter .grid-2>*,
body.animate-enter .grid-3>*,
body.animate-enter .grid-4>*,
body.animate-enter .mv-grid>*,
body.animate-enter .flow-grid>*,
body.animate-enter .step-grid>*,
body.animate-enter .stats-grid>*,
body.animate-enter .quality-stats-grid>*,
body.animate-enter .quality-stats-enhanced>*,
body.animate-enter .cap-grid>*,
body.animate-enter .prod-grid>*,
body.animate-enter .insights-grid>*,
body.animate-enter .doc-grid>*,
body.animate-enter .app-grid>*,
body.animate-enter .cert-grid>*,
body.animate-enter .pharma-grid>*,
body.animate-enter .std-grid>*,
body.animate-enter .office-grid>*,
body.animate-enter .metric-cards>*,
body.animate-enter .proc-timeline>* {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 780ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 780ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

/* Cascade delay by nth-child — left → right, then row → row */

body.animate-enter .split-grid.is-in>*:nth-child(1),
body.animate-enter .cap-block-inner.is-in>*:nth-child(1),
body.animate-enter .grid-2.is-in>*:nth-child(1),
body.animate-enter .grid-3.is-in>*:nth-child(1),
body.animate-enter .grid-4.is-in>*:nth-child(1),
body.animate-enter .mv-grid.is-in>*:nth-child(1),
body.animate-enter .flow-grid.is-in>*:nth-child(1),
body.animate-enter .step-grid.is-in>*:nth-child(1),
body.animate-enter .stats-grid.is-in>*:nth-child(1),
body.animate-enter .quality-stats-grid.is-in>*:nth-child(1),
body.animate-enter .quality-stats-enhanced.is-in>*:nth-child(1),
body.animate-enter .cap-grid.is-in>*:nth-child(1),
body.animate-enter .prod-grid.is-in>*:nth-child(1),
body.animate-enter .insights-grid.is-in>*:nth-child(1),
body.animate-enter .doc-grid.is-in>*:nth-child(1),
body.animate-enter .app-grid.is-in>*:nth-child(1),
body.animate-enter .cert-grid.is-in>*:nth-child(1),
body.animate-enter .pharma-grid.is-in>*:nth-child(1),
body.animate-enter .std-grid.is-in>*:nth-child(1),
body.animate-enter .office-grid.is-in>*:nth-child(1),
body.animate-enter .metric-cards.is-in>*:nth-child(1),
body.animate-enter .proc-timeline.is-in>*:nth-child(1) {
    transition-delay: 0ms;
}

body.animate-enter [class*="-grid"].is-in>*:nth-child(2),
body.animate-enter .split-grid.is-in>*:nth-child(2),
body.animate-enter .cap-block-inner.is-in>*:nth-child(2),
body.animate-enter .mv-grid.is-in>*:nth-child(2),
body.animate-enter .proc-timeline.is-in>*:nth-child(2),
body.animate-enter .metric-cards.is-in>*:nth-child(2) {
    transition-delay: 90ms;
}

body.animate-enter [class*="-grid"].is-in>*:nth-child(3),
body.animate-enter .proc-timeline.is-in>*:nth-child(3),
body.animate-enter .metric-cards.is-in>*:nth-child(3) {
    transition-delay: 180ms;
}

body.animate-enter [class*="-grid"].is-in>*:nth-child(4),
body.animate-enter .proc-timeline.is-in>*:nth-child(4),
body.animate-enter .metric-cards.is-in>*:nth-child(4) {
    transition-delay: 270ms;
}

body.animate-enter [class*="-grid"].is-in>*:nth-child(5) {
    transition-delay: 360ms;
}

body.animate-enter [class*="-grid"].is-in>*:nth-child(6) {
    transition-delay: 450ms;
}

body.animate-enter [class*="-grid"].is-in>*:nth-child(7) {
    transition-delay: 540ms;
}

body.animate-enter [class*="-grid"].is-in>*:nth-child(8) {
    transition-delay: 600ms;
}

body.animate-enter [class*="-grid"].is-in>*:nth-child(n+9) {
    transition-delay: 660ms;
}

/* Fire visibility once .is-in is applied */

body.animate-enter .split-grid.is-in>*,
body.animate-enter .cap-block-inner.is-in>*,
body.animate-enter .grid-2.is-in>*,
body.animate-enter .grid-3.is-in>*,
body.animate-enter .grid-4.is-in>*,
body.animate-enter .mv-grid.is-in>*,
body.animate-enter .flow-grid.is-in>*,
body.animate-enter .step-grid.is-in>*,
body.animate-enter .stats-grid.is-in>*,
body.animate-enter .quality-stats-grid.is-in>*,
body.animate-enter .quality-stats-enhanced.is-in>*,
body.animate-enter .cap-grid.is-in>*,
body.animate-enter .prod-grid.is-in>*,
body.animate-enter .insights-grid.is-in>*,
body.animate-enter .doc-grid.is-in>*,
body.animate-enter .app-grid.is-in>*,
body.animate-enter .cert-grid.is-in>*,
body.animate-enter .pharma-grid.is-in>*,
body.animate-enter .std-grid.is-in>*,
body.animate-enter .office-grid.is-in>*,
body.animate-enter .metric-cards.is-in>*,
body.animate-enter .proc-timeline.is-in>* {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    body.animate-enter .section-header,
    body.animate-enter .page-hero-content,
    body.animate-enter .section-cta .cta-content,
    body.animate-enter [class*="-grid"]>*,
    body.animate-enter .split-grid>*,
    body.animate-enter .cap-block-inner>*,
    body.animate-enter .mv-grid>*,
    body.animate-enter .proc-timeline>*,
    body.animate-enter .metric-cards>* {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-image img {
        height: 320px;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .prod-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .quality-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item:nth-child(even) {
        border-right: 0;
    }
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-actions .btn {
        display: none;
    }
    .header-inner {
        min-height: 64px;
    }
    .hero {
        padding-top: 80px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .cap-grid {
        grid-template-columns: 1fr;
    }
    .prod-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: 0;
    }
    .insights-grid {
        grid-template-columns: 1fr;
    }
    .contact-form {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 15px
}

/* ============================================================
   SVG ICONS (inline, currentColor)
   ============================================================ */

.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
    flex-shrink: 0;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 24px;
    height: 24px;
}

.icon-lg {
    width: 28px;
    height: 28px;
}

/* ============================================================
   CONTACT HOMEPAGE SECTION — with background image
   ============================================================ */

.section-contact {
    position: relative;
    isolation: isolate;
    color: var(--white);
    overflow: hidden;
    padding-top: clamp(80px, 10vw, 140px);
    padding-bottom: clamp(80px, 10vw, 140px);
}

.section-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(21, 44, 78, 0.90) 0%, rgba(30, 58, 95, 0.82) 45%, rgba(37, 99, 235, 0.72) 100%), url("/assets/contact-bg.jpg") center/cover no-repeat;
    z-index: -1;
    background-attachment: fixed;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.01em;
}

.contact-info .lead {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16.5px;
    line-height: 1.7;
    max-width: 520px;
}

.contact-info-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

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

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--brand-200);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
}

.contact-info-item .label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
}

.contact-info-item .value {
    font-size: 16.5px;
    color: var(--white);
    font-weight: 500;
    line-height: 1.5;
}

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

.contact-info-item .value a:hover {
    color: var(--brand-200);
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.98);
    color: var(--gray-800);
    border-radius: 20px;
    padding: clamp(28px, 3.5vw, 44px);
    box-shadow: 0 30px 60px rgba(21, 44, 78, 0.35), 0 10px 20px rgba(21, 44, 78, 0.20);
    backdrop-filter: blur(6px);
}

.contact-form-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.contact-form-card p.sub {
    font-size: 14.5px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

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

@media (max-width: 520px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.form-field label {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    color: var(--gray-800);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    font-size: 15px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-form-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.form-note {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

/* Light hero section on white (override old dark hero if needed) */

.hero-tag .dot-svg {
    color: var(--brand-600);
}

/* Overrides for dark section badges & light link-arrow */

.section-dark .badge {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--brand-200);
}

.link-arrow--light {
    color: var(--brand-200);
}

.link-arrow--light:hover {
    color: var(--white);
}

.section-dark .quality-item {
    border-bottom-color: rgba(255, 255, 255, 0.10);
}

.section-dark .q-text {
    color: var(--white);
    font-weight: 500;
}

.section-dark .q-desc {
    color: rgba(255, 255, 255, 0.58);
}

/* Outline button on hero dark background */

.hero .btn-outline {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.30);
    background: transparent;
}

.hero .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.60);
}

/* ============================================================
   ABOUT PAGE — Mission & Vision
   ============================================================ */

.mv-grid {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mv-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 24px;
    background: var(--brand-50);
    border-radius: 14px;
    border: 1px solid var(--brand-100);
}

.mv-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--white);
    color: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.mv-icon svg {
    width: 22px;
    height: 22px;
}

.mv-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.mv-card p {
    font-size: 14.5px;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   ABOUT PAGE — Office Cards
   ============================================================ */

.office-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.office-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
}

.office-body {
    padding: 28px 24px;
}

.office-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand-600);
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.office-icon svg {
    width: 18px;
    height: 18px;
}

.office-city {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.office-role {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-600);
    margin-bottom: 12px;
}

.office-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 18px;
}

.office-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.office-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
}

.office-meta li svg {
    color: var(--brand-500);
    flex-shrink: 0;
}

/* ============================================================
   ABOUT PAGE — Team Cards
   ============================================================ */

.team-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-500);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.team-avatar svg {
    width: 36px;
    height: 36px;
}

.team-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.team-role {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-600);
    margin-bottom: 12px;
}

.team-bio {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   ABOUT PAGE — Section Header / Split Layout / Grid Utilities
   ============================================================ */

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

.section-subtitle {
    font-size: 16.5px;
    color: var(--gray-600);
    line-height: 1.65;
    margin-top: 12px;
    max-width: 56ch;
    margin-left: auto;
    margin-right: auto;
}

.section-lead {
    font-size: 16.5px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-top: 14px;
    max-width: 56ch;
}

/* Generic 3-column grid */

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

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Split layout (Mission & Vision) */

.split-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.split-copy {
    order: 1;
}

.split-visual {
    order: 2;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--gray-100);
}

.split-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 860px) {
    .split-grid {
        grid-template-columns: 1fr;
    }
    .split-copy {
        order: 1;
    }
    .split-visual {
        order: 0;
    }
}

/* ============================================================
   PAGE HERO (subpages: about, products, etc.)
   ============================================================ */

.page-hero {
    padding: clamp(80px, 10vh, 140px) 0 clamp(120px, 8vh, 100px);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.page-hero-content {
    max-width: 680px;
}

.page-hero-content h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--white);
}

.page-hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    max-width: 56ch;
    margin-top: 20px;
}

.hero-visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.30);
    background: var(--brand-700);
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stats-section {
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/about-stats-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 860px) {
    .page-hero .split-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   CARDS (generic reusable card component)
   ============================================================ */

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    border: 1px solid var(--gray-100);
}

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

.card-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--brand-50);
    color: var(--brand-600);
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-desc {
    font-size: 14.5px;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   CTA Section (subpages)
   ============================================================ */

.section-cta {
    padding: clamp(80px, 10vw, 120px) 0;
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

.cta-content p {
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.72);
    margin: 16px auto 32px;
    max-width: 52ch;
    line-height: 1.65;
}

/* .btn-white defined above in Buttons section */

/* ============================================================
   RESPONSIVE overrides for subpage-specific classes
   ============================================================ */

@media (max-width: 900px) {
    .page-hero-content {
        max-width: 100%;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .page-hero {
        padding-top: 100px;
    }
    .page-hero-content h1 {
        font-size: clamp(1.7rem, 6vw, 2rem);
    }
    .section-subtitle {
        font-size: 15px;
    }
}

/* ============================================================
   CAPABILITIES PAGE — Service Cards
   ============================================================ */

.serv-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: clamp(24px, 4vw, 44px);
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: start;
}

.serv-card:last-of-type {
    border-bottom: none;
}

.serv-num {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
}

.serv-num svg {
    width: 64px;
    height: 64px;
    color: var(--brand-200);
    flex-shrink: 0;
}

.serv-body {
    min-width: 0;
}

.serv-body h2 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.25;
}

.serv-body>p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 64ch;
    margin: 0 0 20px;
}

.serv-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 768px) {
    .serv-features {
        grid-template-columns: 1fr;
    }
}

.serv-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.5;
}

.serv-features li .icon {
    width: 16px;
    height: 16px;
    color: var(--brand-500);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .serv-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 36px 0;
    }
    .serv-num svg {
        width: 48px;
        height: 48px;
    }
    .serv-num {
        justify-content: flex-start;
    }
}

/* ============================================================
   QUALITY PAGE — Certification Grid
   ============================================================ */

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(164px, 1fr));
    gap: 14px;
    margin-top: 32px;
}

.cert-item {
    padding: 18px 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--brand-700);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cert-item:hover {
    border-color: var(--brand-300);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

/* ============================================================
   QUALITY PAGE — 4-Step Process
   ============================================================ */

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    margin-top: 48px;
}

.step-card {
    padding: 32px 28px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.step-num {
    font-size: 42px;
    font-weight: 700;
    color: var(--brand-200);
    line-height: 1;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.3;
}

.step-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 860px) {
    .step-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .step-grid {
        grid-template-columns: 1fr;
    }
    .step-card {
        padding: 24px 20px;
    }
}

/* ============================================================
   QUALITY PAGE — Key Stats (dark section)
   ============================================================ */

.quality-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 32px;
    margin-top: 32px;
}

.quality-stat-item {
    padding: 0 24px;
    text-align: center;
}

.quality-stat-item+.quality-stat-item {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.quality-stat-item .stat-num {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.quality-stat-item .stat-suffix {
    font-size: 0.6em;
    font-weight: 400;
    color: var(--brand-300);
    vertical-align: super;
    margin-left: 2px;
}

.quality-stat-item .stat-label {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .quality-stats-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .quality-stat-item+.quality-stat-item {
        border-left: none;
    }
}

/* ============================================================
   CAPABILITIES — Editorial Alternating Layout
   ============================================================ */

.cap-block {
    padding: clamp(56px, 7vw, 96px) 0;
    position: relative;
}

.cap-block+.cap-block {
    border-top: 1px solid var(--gray-100);
}

/* Alternating layout */

.cap-block-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.cap-block:nth-child(even) .cap-block-inner {
    direction: rtl;
}

.cap-block:nth-child(even) .cap-block-inner>* {
    direction: ltr;
}

.cap-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--brand-50);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.cap-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cap-number {
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: clamp(5rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 1;
    color: var(--brand-100);
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.cap-block:nth-child(even) .cap-number {
    right: auto;
    left: -12px;
}

.cap-content {
    position: relative;
    z-index: 1;
}

.cap-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.cap-content .cap-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 52ch;
}

.cap-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cap-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: var(--gray-700);
    line-height: 1.5;
}

.cap-features li .cap-feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.cap-features li .cap-feat-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 860px) {
    .cap-block-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .cap-block:nth-child(even) .cap-block-inner {
        direction: ltr;
    }
    .cap-block:nth-child(even) .cap-block-inner>* {
        direction: ltr;
    }
    .cap-number {
        display: none;
    }
    .cap-visual {
        aspect-ratio: 16 / 9;
    }
}

/* ============================================================
   TECHNICAL SUPPORT — Visual Cards
   ============================================================ */

.tech-visual-card {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, var(--brand-50) 0%, #fff 100%);
    border-radius: 20px;
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.03);
}

.tech-visual-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 40%, rgba(37, 99, 235, 0.06) 0%, transparent 60%), radial-gradient(ellipse at 70% 60%, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.tech-visual-card--img {
    background: var(--gray-100);
    padding: 0;
}

.tech-visual-card--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tech-visual-card--img .tech-visual-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.tech-visual-card--img::before {
    display: none;
}

.tech-visual-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.tech-visual-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-600);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    padding: 6px 18px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 20px;
}

/* ============================================================
   QUALITY — Redesigned Cert Badges
   ============================================================ */

.cert-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.cert-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.04);
    border-color: var(--brand-200);
}

.cert-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-badge-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.cert-badge-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.3;
}

@media (max-width: 900px) {
    .cert-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .cert-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   QUALITY — Connected Flow Process
   ============================================================ */

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 48px;
    position: relative;
}

.flow-step {
    padding: 0 24px;
    position: relative;
    text-align: center;
}

.flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 2px;
    background: repeating-linear-gradient( 90deg, var(--brand-200) 0, var(--brand-200) 6px, transparent 6px, transparent 10px);
}

.flow-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--brand-600);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--brand-50);
}

.flow-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.flow-icon svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.flow-step:hover .flow-icon {
    background: var(--brand-100);
    transform: scale(1.06);
}

.flow-step h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.3;
}

.flow-step p {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.65;
    margin: 0;
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 860px) {
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 0;
    }
    .flow-step:nth-child(2)::after {
        display: none;
    }
    .flow-step:nth-child(2)::after,
    .flow-step:nth-child(4)::after {
        display: none;
    }
}

@media (max-width: 540px) {
    .flow-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .flow-step::after {
        display: none !important;
    }
}

/* ============================================================
   QUALITY — Stats with bars
   ============================================================ */

.quality-stats-enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.stat-bar-card {
    text-align: left;
}

.stat-bar-card .stat-num {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-bar-card .stat-suffix {
    font-size: 0.55em;
    font-weight: 400;
    color: var(--brand-300);
    vertical-align: super;
    margin-left: 2px;
}

.stat-bar-card .stat-label {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 14px;
    font-weight: 400;
}

.stat-bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
    transition: width 1s var(--ease);
}

@media (max-width: 768px) {
    .quality-stats-enhanced {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */

/* Breadcrumb */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a:hover {
    color: var(--brand-200);
}

.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.25);
}

/* Detail overview */

.detail-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.detail-image {
    border-radius: 20px;
    overflow: hidden;
    background: var(--brand-50);
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    position: relative;
    top: 0;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   PRODUCT DETAIL — Image Gallery (multi-image slider)
   ============================================================ */

.detail-gallery {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--brand-50);
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.gallery-track {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 480ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.gallery-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gallery-nav:hover {
    background: var(--white);
    color: var(--brand-600);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.14);
}

.gallery-nav:focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
}

.gallery-prev {
    left: 14px;
}

.gallery-next {
    right: 14px;
}

.gallery-counter {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 6px 12px;
    background: rgba(15, 23, 42, 0.72);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 999px;
    z-index: 2;
    backdrop-filter: blur(6px);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    background: var(--brand-50);
    cursor: pointer;
    transition: border-color 0.24s, transform 0.24s;
    position: relative;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.gallery-thumb:hover img {
    transform: scale(1.06);
}

.gallery-thumb.is-active {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.14);
}

.gallery-thumb:focus-visible {
    outline: 2px solid var(--brand-600);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .detail-gallery {
        position: static;
        top: auto;
    }
    .gallery-nav {
        width: 38px;
        height: 38px;
    }
    .gallery-nav svg {
        width: 18px;
        height: 18px;
    }
    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
}

.detail-copy h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.detail-copy .lead {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 56ch;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.detail-meta .tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-700);
}

.detail-meta .tag svg {
    width: 14px;
    height: 14px;
    color: var(--brand-500);
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Specs table */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    background: var(--white);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table th {
    text-align: left;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.spec-table td {
    padding: 13px 20px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

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

.spec-table td:first-child {
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
}

/* App cards */

.app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    margin-top: 36px;
}

.app-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.app-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-100);
}

.app-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--brand-50);
    color: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.app-card-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.app-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.app-card p {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 860px) {
    .app-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
}

/* Doc cards */

.doc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.doc-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 14px;
    text-align: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
    border-color: var(--brand-200);
}

.doc-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doc-card-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
}

.doc-card-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.3;
}

@media (max-width: 800px) {
    .doc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .doc-grid {
        grid-template-columns: 1fr;
    }
}

/* Related products */

.rel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    margin-top: 36px;
}

.rel-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.rel-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-100);
}

.rel-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.rel-card p {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0 0 16px;
}

@media (max-width: 860px) {
    .rel-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .rel-grid {
        grid-template-columns: 1fr;
    }
}

/* Product detail responsive */

@media (max-width: 860px) {
    .detail-overview {
        grid-template-columns: 1fr;
    }
    .detail-image {
        aspect-ratio: 16 / 9;
    }
}

/* ============================================================
   INSIGHTS PAGE
   ============================================================ */

.news-hero {
    background: url(/assets/news-hero.jpg) no-repeat center;
    background-size: cover;
}

.featured-post {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    padding: clamp(48px, 6vw, 72px) 0;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 32px;
}

.featured-post-image {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    background: var(--brand-50);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-post-body .cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.featured-post-body h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.featured-post-body .excerpt {
    font-size: 15.5px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 56ch;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.post-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-300);
}

.post-meta .author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-100);
    color: var(--brand-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
}

/* Post grid */

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    margin-top: 40px;
}

.post-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

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

.post-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--brand-50);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.post-card:hover .post-card-image img {
    transform: scale(1.04);
}

.post-card-body {
    padding: 24px 22px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-body .cat-chip {
    margin-bottom: 12px;
}

.post-card-body h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.005em;
}

.post-card-body .excerpt {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.post-card-body .post-meta {
    font-size: 12.5px;
    margin: 0;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

.post-card-body .post-meta .author-avatar {
    width: 24px;
    height: 24px;
    font-size: 11px;
}

/* Category filter chips */

.cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 32px 0 8px;
}

.cat-filter button,
.cat-filter a {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.cat-filter .is-active,
.cat-filter button:hover,
.cat-filter a:hover {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: var(--white);
}

/* Newsletter box */

.newsletter-box {
    background: linear-gradient(135deg, var(--brand-50) 0%, var(--white) 100%);
    border: 1px solid var(--brand-100);
    border-radius: 20px;
    padding: clamp(32px, 5vw, 56px);
    text-align: center;
    margin-top: 64px;
}

.newsletter-box h3 {
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.newsletter-box p {
    font-size: 15px;
    color: var(--gray-500);
    max-width: 48ch;
    margin: 0 auto 24px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    font-size: 15px;
    color: var(--gray-800);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

@media (max-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-post {
        grid-template-columns: 1fr;
    }
    .post-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-form {
        flex-direction: column;
    }
}

/* ============================================================
   CONTACT PAGE (dedicated)
   ============================================================ */

.contact-hero {
    position: relative;
    isolation: isolate;
    padding: 100px 0;
    color: var(--white);
    overflow: hidden;
}

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

.contact-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 20ch;
    margin-top: 20px;
}

.contact-hero .lead {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 20px;
    max-width: 58ch;
    line-height: 1.65;
}

/* Contact page layout */

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 30px;
    align-items: start;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.contact-side-panel {
    background: var(--white);
    border-radius: 20px;
    padding: clamp(32px, 4vw, 48px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.10), 0 10px 20px rgba(15, 23, 42, 0.06);
}

.contact-side-panel h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

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

.contact-detail-item .icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-50);
    color: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-item .icon-box svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.contact-detail-item .label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-detail-item .value {
    font-size: 15px;
    color: var(--gray-800);
    font-weight: 500;
    line-height: 1.5;
}

.contact-detail-item .value a {
    color: var(--gray-800);
}

.contact-detail-item .value a:hover {
    color: var(--brand-600);
}

.contact-form-panel {
    background: var(--white);
    border-radius: 20px;
    padding: clamp(32px, 4vw, 48px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.10), 0 10px 20px rgba(15, 23, 42, 0.06);
}

.contact-form-panel h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.contact-form-panel p.sub {
    font-size: 14.5px;
    color: var(--gray-500);
    margin-bottom: 26px;
}

/* Offices — global cards */

.offices-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.office-strip-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px 22px;
    border: 1px solid var(--gray-100);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.office-strip-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-100);
}

.office-strip-card .badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--brand-50);
    color: var(--brand-700);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.office-strip-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.office-strip-card .addr {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.55;
    margin-bottom: 14px;
}

.office-strip-card .meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-700);
    padding: 4px 0;
}

.office-strip-card .meta-line svg {
    width: 14px;
    height: 14px;
    color: var(--brand-500);
    flex-shrink: 0;
}

/* Response promise */

.response-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.response-item {
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.response-item .num {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-600);
    line-height: 1;
}

.response-item .lbl {
    font-size: 13.5px;
    color: var(--gray-600);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
    }
    .offices-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .response-strip {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   QUALITY v2 — Pharmacopoeia Cards (unique per-standard identity)
   ============================================================ */

.pharma-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.pharma-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 18px;
    padding: 28px 26px 26px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
    overflow: hidden;
    isolation: isolate;
}

.pharma-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(140deg, transparent 40%, var(--pharma-tint, rgba(37, 99, 235, 0.06)) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.pharma-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), 0 6px 14px rgba(15, 23, 42, 0.04);
    border-color: var(--pharma-accent, var(--brand-200));
}

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

.pharma-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

.pharma-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--pharma-icon-bg, var(--brand-50));
    color: var(--pharma-accent, var(--brand-600));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pharma-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pharma-flag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: var(--pharma-icon-bg, var(--brand-50));
    color: var(--pharma-accent, var(--brand-700));
    border-radius: 999px;
    white-space: nowrap;
}

.pharma-code {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 4px;
}

.pharma-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--pharma-accent, var(--brand-700));
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.pharma-desc {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 16px;
}

.pharma-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-500);
    padding-top: 14px;
    border-top: 1px dashed var(--gray-200);
}

.pharma-meta strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* Individual pharmacopoeia palettes (unique color per standard) */

.pharma-usp {
    --pharma-accent: #2563EB;
    --pharma-icon-bg: #EFF6FF;
    --pharma-tint: rgba(37, 99, 235, 0.08);
}

.pharma-ep {
    --pharma-accent: #0F52B4;
    --pharma-icon-bg: #E7F0FE;
    --pharma-tint: rgba(15, 82, 180, 0.08);
}

.pharma-jp {
    --pharma-accent: #C63052;
    --pharma-icon-bg: #FDECEF;
    --pharma-tint: rgba(198, 48, 82, 0.08);
}

.pharma-cp {
    --pharma-accent: #C29A2E;
    --pharma-icon-bg: #FBF3DC;
    --pharma-tint: rgba(194, 154, 46, 0.10);
}

.pharma-bp {
    --pharma-accent: #4C1D95;
    --pharma-icon-bg: #F1EBFB;
    --pharma-tint: rgba(76, 29, 149, 0.08);
}

.pharma-ip {
    --pharma-accent: #EA6A17;
    --pharma-icon-bg: #FDECDE;
    --pharma-tint: rgba(234, 106, 23, 0.08);
}

@media (max-width: 900px) {
    .pharma-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .pharma-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   QUALITY v2 — Other Standards Marquee Row
   ============================================================ */

.std-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 32px;
}

.std-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.std-pill:hover {
    border-color: var(--brand-300);
    color: var(--brand-700);
    background: var(--brand-50);
}

.std-pill svg {
    width: 18px;
    height: 18px;
    color: var(--brand-500);
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ============================================================
   QUALITY v2 — Hero decorative pattern
   ============================================================ */

.quality-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-800) 50%, var(--brand-700) 100%);
    color: var(--white);
    padding: clamp(96px, 12vh, 160px) 0 clamp(72px, 9vh, 120px);
}

.quality-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.30) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.25) 0%, transparent 40%);
}

.quality-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0.10;
    background-image: linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
    background-size: 44px 44px;
}

.quality-hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.quality-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-top: 20px;
}

.quality-hero .lead {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 20px;
    max-width: 56ch;
    line-height: 1.65;
}

.quality-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.qhm-card {
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.qhm-card .n {
    font-size: 30px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.qhm-card .n .s {
    font-size: 0.55em;
    color: var(--brand-300);
    font-weight: 400;
    margin-left: 2px;
    vertical-align: super;
}

.qhm-card .l {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
    .quality-hero-inner {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   QUALITY v2 — Enhanced Process Timeline
   ============================================================ */

.proc-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 56px;
    position: relative;
}

.proc-node {
    position: relative;
    padding: 0 20px;
}

.proc-node:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px;
    left: calc(50% + 36px);
    right: calc(-50% + 36px);
    height: 2px;
    background: linear-gradient(90deg, var(--brand-500), var(--brand-200));
}

.proc-node-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--brand-500);
    color: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--brand-50);
    transition: transform 0.3s var(--ease);
}

.proc-node-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.proc-node:hover .proc-node-icon {
    transform: scale(1.08);
}

.proc-node-step {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-600);
    text-align: center;
    margin-bottom: 6px;
}

.proc-node h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.3;
}

.proc-node p {
    font-size: 13.5px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
    text-align: center;
    max-width: 30ch;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .proc-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }
    .proc-node:nth-child(2n)::after {
        display: none;
    }
}

@media (max-width: 540px) {
    .proc-timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .proc-node::after {
        display: none !important;
    }
}

/* ===== Products Swiper ===== */

.products-swiper {
    position: relative;
    padding: 8px 4px 56px;
    overflow: hidden;
}

.products-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.products-swiper .swiper-slide .prod-card {
    width: 100%;
}

.products-swiper .swiper-pagination {
    bottom: 12px !important;
}

.products-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--brand-200);
    opacity: 1;
    transition: all .25s ease;
}

.products-swiper .swiper-pagination-bullet-active {
    background: var(--brand-600);
    width: 24px;
    border-radius: 4px;
}

.swiper-btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: var(--brand-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.10);
    cursor: pointer;
    z-index: 10;
    transition: all .22s ease;
}

.swiper-btn:hover {
    background: var(--brand-600);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}

.swiper-prev {
    left: -6px;
}

.swiper-next {
    right: -6px;
}

@media (max-width: 640px) {
    .swiper-btn {
        display: none;
    }
}

.pagination {
    text-align: center;
}

.pagination a {
    font-size: 12px;
    font-weight: 300;
    border: 1px solid var(--gray-300);
    border-radius: 5px;
    margin: 0 3px;
    padding: 5px 10px;
}

.pagination a.page-num-current,
.pagination a:hover {
    background-color: var(--blue-500);
    color: var(--white);
}

.breadcrumbs {
    background-color: var(--gray-200);
    padding: 10px 0;
}

.breadcrumbs a {
    font-size: 12px;
    font-weight: 300;
    display: inline-block;
    margin: 0 3px;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    max-width: 18ch;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.65);
    margin-top: 16px;
    max-width: 48ch;
}

.prod-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 64px 0;
    border-bottom: 1px solid var(--gray-100);
    align-items: center;
}

.prod-detail:last-of-type {
    border-bottom: 0;
}

.prod-detail h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.prod-detail p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
}

.prod-detail img {
    width: 100%;
    border-radius: var(--radius);
    height: 380px;
    object-fit: cover;
}

.prod-detail:nth-child(even) div {
    order: 2
}

.prod-detai:nth-child(even) img {
    order: 1;
}

@media (max-width:768px) {
    .prod-detail {
        grid-template-columns: 1fr;
    }
}

.topbar .footer-social a{width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;background: none;}
.topbar .footer-social{margin-left: 20px;}
.topbar .footer-social a:hover{background-color: #1D8341;}

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