/* =============================================
   SinoPharm Ingredients Co., Ltd.
   Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  --red:      #C8181E;
  --red-dark: #9E1015;
  --gold:     #C9960C;
  --navy:     #1A2B4A;
  --navy-mid: #2C3E5E;
  --gray-bg:  #F2F4F7;
  --gray-line:#D0D5DE;
  --gray-text:#6B7280;
  --white:    #FFFFFF;
  --text:     #1C1C1C;

  --font-main: 'Noto Sans', 'Noto Sans SC', Arial, sans-serif;
  --font-mono: 'Roboto Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: #aab4c8;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 2px solid var(--red);
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 6px;
}
.topbar a { color: #aab4c8; }
.topbar a:hover { color: var(--gold); }
.topbar-right { display: flex; gap: 20px; }

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 48px; height: 48px;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: var(--white);
  border-radius: 2px;
  letter-spacing: -1px;
  position: relative;
}
.logo-mark::after {
  content: '';
  position: absolute; bottom: 3px; right: 3px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.logo-text { line-height: 1.2; }
.logo-text .en { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: 0.3px; }
.logo-text .cn { font-size: 11px; color: var(--gray-text); font-family: 'Noto Sans SC', sans-serif; }
.logo-text .tagline { font-size: 10px; color: var(--red); text-transform: uppercase; letter-spacing: 1px; }

nav { display: flex; gap: 4px; }
nav a {
  padding: 8px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--navy);
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
nav a:hover, nav a.active { background: var(--red); color: var(--white); }

.header-cta {
  background: var(--gold); color: var(--white);
  padding: 10px 20px; font-size: 13px; font-weight: 600;
  border-radius: 2px; white-space: nowrap;
  transition: background 0.15s;
}
.header-cta:hover { background: #a87b08; color: var(--white); }

/* ── HERO ── */
.hero {
  /* Primary look is the CSS gradient (always works).
     OPTIONAL photo: uncomment the url(...) line below and paste a verified
     Unsplash/Pexels image URL — the dark gradient on top keeps text readable
     whether or not the photo loads. See README "Adding photos". */
  background:
    /* url('PASTE_VERIFIED_IMAGE_URL_HERE') center/cover no-repeat, */
    linear-gradient(135deg, #0F1B2E 0%, #1A2B4A 55%, #1e3a6e 100%);
  color: var(--white);
  padding: 60px 20px;
  position: relative; overflow: hidden;
}
/* faint hex/molecular SVG pattern overlay for a lab/industrial feel */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M28 0l24 14v28L28 56 4 42V14z'/%3E%3Cpath d='M28 56l24 14v28L28 112 4 98V70z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none; z-index: 0;
}
.hero::before {
  content: '工厂直采';
  position: absolute; right: -10px; top: 50%; transform: translateY(-50%);
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 90px; font-weight: 700;
  color: rgba(255,255,255,0.05);
  white-space: nowrap; writing-mode: vertical-rl;
  pointer-events: none; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 12px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 36px; font-weight: 700; line-height: 1.2;
  margin-bottom: 8px;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 16px; color: rgba(255,255,255,0.6);
  margin-bottom: 20px; letter-spacing: 2px;
}
.hero-desc {
  font-size: 14px; color: rgba(255,255,255,0.75);
  max-width: 520px; margin-bottom: 30px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--red); color: var(--white);
  padding: 12px 28px; font-size: 14px; font-weight: 600;
  border-radius: 2px; transition: background 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.35); color: var(--white);
  padding: 12px 28px; font-size: 14px; font-weight: 500;
  border-radius: 2px; transition: border-color 0.15s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px; padding: 28px;
}
.hero-stats h3 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold); margin-bottom: 20px;
}
.stat-row { display: flex; flex-direction: column; gap: 16px; }
.stat-item { border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 16px; }
.stat-item:last-child { border-bottom: none; padding-bottom: 0; }
.stat-num { font-size: 28px; font-weight: 700; color: var(--white); line-height: 1; }
.stat-num span { font-size: 14px; color: var(--gold); margin-left: 2px; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-line);
  padding: 16px 20px;
}
.trust-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around;
  flex-wrap: wrap; gap: 12px;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--navy-mid); font-weight: 500;
}
.trust-icon { font-size: 18px; }
.trust-divider { width: 1px; height: 24px; background: var(--gray-line); }

/* ── SECTION COMMON ── */
.section { padding: 60px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 36px; }
.section-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 8px;
}
.section-title { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.section-title-cn {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 14px; color: var(--gray-text); letter-spacing: 2px;
}
.section-desc { font-size: 14px; color: var(--gray-text); max-width: 600px; margin-top: 10px; }

/* ── CATEGORIES GRID ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  border: 1px solid var(--gray-line);
  border-radius: 3px; overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
  background: var(--white);
}
.cat-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); border-color: var(--red); }
.cat-img {
  height: 160px; overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(26,43,74,0.03) 0 10px, transparent 10px 20px),
    linear-gradient(135deg, #eef2f7 0%, #dde4ee 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 14px;
}
.cat-img svg { width: 100%; height: 100%; }
.cat-card:hover .cat-img { filter: brightness(0.98); }
.cat-body { padding: 16px; }
.cat-body h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.cat-body .cn { font-family: 'Noto Sans SC', sans-serif; font-size: 11px; color: var(--gray-text); margin-bottom: 8px; }
.cat-body p { font-size: 12px; color: var(--gray-text); line-height: 1.5; margin-bottom: 12px; }
.cat-link {
  font-size: 12px; font-weight: 600; color: var(--red);
  text-transform: uppercase; letter-spacing: 1px;
  display: flex; align-items: center; gap: 4px;
}
.cat-link::after { content: '→'; }

/* ── WHY US ── */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.why-item {
  padding: 24px;
  border-left: 3px solid var(--red);
  background: var(--gray-bg);
}
.why-num {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--red); font-weight: 500;
  letter-spacing: 1px; margin-bottom: 12px;
}
.why-item h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.why-item p { font-size: 12px; color: var(--gray-text); line-height: 1.6; }

/* ── CERTS ── */
.cert-section {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='1.5'/%3E%3Ccircle cx='0' cy='0' r='1.5'/%3E%3Ccircle cx='40' cy='40' r='1.5'/%3E%3Ccircle cx='0' cy='40' r='1.5'/%3E%3Ccircle cx='40' cy='0' r='1.5'/%3E%3C/g%3E%3C/svg%3E"),
    var(--navy);
  color: var(--white);
}
.cert-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  margin-top: 32px;
}
.cert-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px; padding: 20px 16px; text-align: center;
}
.cert-icon { font-size: 28px; margin-bottom: 10px; }
.cert-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.cert-desc { font-size: 11px; color: rgba(255,255,255,0.5); }

/* ── PRODUCTS TABLE ── */
.sec-head-ill { display: flex; align-items: center; gap: 18px; }
.sec-ill {
  width: 88px; height: 64px; flex-shrink: 0;
  background: linear-gradient(135deg, #eef2f7, #dde4ee);
  border: 1px solid var(--gray-line); border-radius: 3px;
  padding: 8px;
}
.sec-ill svg { width: 100%; height: 100%; }
@media (max-width: 600px) { .sec-ill { display: none; } }
.products-section { background: var(--gray-bg); }
.table-wrap { overflow-x: auto; }
table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  font-size: 13px;
}
thead { background: var(--navy); color: var(--white); }
thead th {
  padding: 12px 16px; text-align: left;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
tbody tr { border-bottom: 1px solid var(--gray-line); }
tbody tr:hover { background: #f8f9fb; }
tbody td { padding: 10px 16px; color: var(--text); }
tbody td:first-child { font-weight: 500; }
.badge {
  display: inline-block;
  font-size: 10px; font-weight: 600; padding: 2px 8px;
  border-radius: 2px; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-green { background: #dcfce7; color: #166534; }
.badge-blue  { background: #dbeafe; color: #1e40af; }
.badge-gold  { background: #fef3c7; color: #92400e; }

/* ── CONTACT SECTION ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.contact-info h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.contact-info .cn { font-family: 'Noto Sans SC', sans-serif; font-size: 13px; color: var(--gray-text); margin-bottom: 24px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.c-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--red); color: var(--white);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.c-label { font-size: 11px; color: var(--gray-text); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.c-val { font-size: 14px; font-weight: 500; color: var(--navy); }
.c-val a { color: var(--navy); }
.c-val a:hover { color: var(--red); }

.inquiry-form { background: var(--gray-bg); border: 1px solid var(--gray-line); padding: 28px; }
.inquiry-form h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.inquiry-form .sub { font-size: 12px; color: var(--gray-text); margin-bottom: 20px; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 11px; font-weight: 600; color: var(--navy); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--gray-line); border-radius: 2px;
  font-size: 13px; font-family: var(--font-main);
  background: var(--white); color: var(--text);
  transition: border-color 0.15s;
  outline: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--navy); }
.form-row textarea { resize: vertical; min-height: 90px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
  width: 100%; padding: 12px;
  background: var(--red); color: var(--white);
  border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; font-family: var(--font-main);
  border-radius: 2px; transition: background 0.15s;
  margin-top: 4px;
}
.form-submit:hover { background: var(--red-dark); }
.form-note { font-size: 11px; color: var(--gray-text); margin-top: 10px; text-align: center; }

/* ── FOOTER ── */
footer {
  background: #0F1B2E;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
}
.footer-main {
  max-width: 1200px; margin: 0 auto; padding: 40px 20px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.footer-brand .logo-text .en { color: var(--white); }
.footer-brand .logo-text .cn { color: rgba(255,255,255,0.4); }
.footer-brand .logo-text .tagline { color: var(--gold); }
.footer-brand p { margin-top: 14px; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.45); }
.footer-col h4 { font-size: 11px; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 12px; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 20px;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom .icp { font-size: 11px; color: rgba(255,255,255,0.3); }

/* ── ABOUT PAGE ── */
.about-hero {
  background: var(--navy); color: var(--white); padding: 48px 20px;
  text-align: center;
}
.about-hero h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.about-hero .cn { font-family: 'Noto Sans SC'; font-size: 16px; color: rgba(255,255,255,0.5); letter-spacing: 3px; }
.breadcrumb {
  font-size: 12px; color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb span { color: var(--gold); }

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--gray-line);
}
.tl-item { position: relative; margin-bottom: 28px; }
.tl-dot {
  position: absolute; left: -28px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
}
.tl-year { font-family: var(--font-mono); font-size: 12px; color: var(--red); font-weight: 500; }
.tl-item h3 { font-size: 14px; font-weight: 600; color: var(--navy); }
.tl-item p { font-size: 13px; color: var(--gray-text); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  border: 1px solid var(--gray-line); padding: 24px; text-align: center;
  background: var(--gray-bg);
}
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700; margin: 0 auto 14px;
}
.team-card h3 { font-size: 15px; font-weight: 600; color: var(--navy); }
.team-card .role { font-size: 12px; color: var(--red); margin-bottom: 8px; }
.team-card p { font-size: 12px; color: var(--gray-text); line-height: 1.5; }

/* ── PRODUCTS PAGE ── */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px;
}
.filter-btn {
  padding: 6px 16px; font-size: 12px; font-weight: 500;
  border: 1px solid var(--gray-line); background: var(--white);
  border-radius: 2px; cursor: pointer; transition: all 0.15s;
  font-family: var(--font-main);
}
.filter-btn:hover, .filter-btn.active { background: var(--red); color: var(--white); border-color: var(--red); }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
  border: 1px solid var(--gray-line); background: var(--white);
  border-radius: 3px; overflow: hidden;
}
.prod-card-head {
  background: var(--gray-bg); padding: 20px;
  display: flex; align-items: center; gap: 14px;
  border-bottom: 1px solid var(--gray-line);
}
.prod-icon { font-size: 28px; }
.prod-card-head h3 { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.prod-card-head .cas { font-family: var(--font-mono); font-size: 11px; color: var(--gray-text); }
.prod-card-body { padding: 16px; }
.prod-spec { display: flex; justify-content: space-between; font-size: 12px; padding: 5px 0; border-bottom: 1px solid var(--gray-line); }
.prod-spec:last-of-type { border-bottom: none; }
.prod-spec .key { color: var(--gray-text); }
.prod-spec .val { font-weight: 500; color: var(--navy); }
.prod-card-foot {
  padding: 12px 16px; background: var(--gray-bg);
  border-top: 1px solid var(--gray-line);
  display: flex; justify-content: space-between; align-items: center;
}
.moq { font-size: 11px; color: var(--gray-text); }
.moq strong { color: var(--navy); }
.req-quote {
  font-size: 11px; font-weight: 600; color: var(--red);
  text-transform: uppercase; letter-spacing: 0.5px;
}

/* ── PRODUCTION GALLERY ── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gallery-tile {
  height: 200px; border-radius: 3px; overflow: hidden;
  position: relative; display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 70%, #24416e 100%);
  font-size: 46px;
  border: 1px solid var(--gray-line);
  padding: 24px;
}
.gallery-ill { width: 100%; height: 100%; position: relative; z-index: 1; }
.gallery-ill svg { width: 100%; height: 100%; }
.gallery-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,27,46,0.85) 0%, transparent 55%);
}
.gallery-cap {
  position: absolute; bottom: 12px; left: 14px; z-index: 2;
  font-size: 12px; font-weight: 600; color: #fff; letter-spacing: 0.3px;
}

/* ── PAGE-SPECIFIC HERO ── */
.page-hero {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05'%3E%3Cpath d='M28 0l24 14v28L28 56 4 42V14z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(to right, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white); padding: 40px 20px;
  border-bottom: 3px solid var(--red);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.page-hero .cn { font-family: 'Noto Sans SC'; font-size: 14px; color: rgba(255,255,255,0.5); letter-spacing: 2px; margin-bottom: 8px; }
.page-hero p { font-size: 13px; color: rgba(255,255,255,0.65); max-width: 560px; }

/* ── UTILITY ── */
.bg-light { background: var(--gray-bg); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .cat-grid, .prod-grid, .team-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  nav { display: none; }
  .footer-main { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}
