/* Vethy modern type system v1 — overrides legacy Verdana/Manrope3 stack
   Loaded after main.css so it wins. */

:root {
  --vethy-font-sans: "Inter", "Inter var", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --vethy-font-display: "Inter", "Inter var", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body,
input,
textarea,
select,
button,
td,
th,
caption {
  font-family: var(--vethy-font-sans) !important;
  font-feature-settings: "cv11", "ss01", "ss03";
  letter-spacing: -0.005em;
}

body {
  color: #1f2937;
  font-size: 15px;
  line-height: 1.65;
}

p {
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.subtit p, .tit p, .tit a,
.index-Category .item-info .tit p,
.index-aboutus .tit p,
.index-advantage .tit a,
.index-clients .subtit p,
.featured-blog-title,
.banner h2 {
  font-family: var(--vethy-font-display) !important;
  letter-spacing: -0.018em;
  color: #0f1c3f;
}

h1, h2, .tit p, .index-aboutus .tit p {
  font-weight: 700;
}

h3, .featured-blog-title, .index-advantage .tit a {
  font-weight: 600;
}

.subtit p {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  font-size: 13px;
}

/* Buttons + small UI text */
.btn, button, .normal-more a, .index-quote a,
.banner .btn, .quick-quote {
  font-family: var(--vethy-font-display) !important;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Footer typography refinements */
.footer p, .footer li, .footer a, .footer .copyright {
  font-family: var(--vethy-font-sans) !important;
}

/* Testimonial body — slightly larger and softer */
.index-clients .swiper-slide p,
.index-clients .item p {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
}

/* Form fields */
input[type="text"], input[type="email"], input[type="tel"], textarea {
  font-size: 14.5px;
}

/* ----- SEO sections (Applications + FAQ) ----- */
.index-applications,
.index-faq {
  padding: 64px 0;
  background: #f8fafc;
}
.index-faq { background: #ffffff; }

.index-applications .container,
.index-faq .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.index-applications .subtit p,
.index-faq .subtit p {
  margin-bottom: 12px;
}

.vethy-section-title {
  font-family: var(--vethy-font-display) !important;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  color: #0f1c3f;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.vethy-section-lede {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
  max-width: 880px;
  margin: 0 0 28px;
}

.vethy-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.vethy-app-grid li {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-left: 3px solid #2563eb;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.55;
  color: #334155;
  box-shadow: 0 1px 2px rgba(15, 28, 63, 0.04);
}
.vethy-app-grid li strong {
  color: #0f1c3f;
  font-weight: 600;
  display: inline;
}

.vethy-faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}
.vethy-faq-list details {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 18px;
  transition: background 0.15s ease;
}
.vethy-faq-list details[open] {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 28, 63, 0.06);
}
.vethy-faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #0f1c3f;
  font-size: 16px;
  position: relative;
  padding-right: 28px;
}
.vethy-faq-list summary::-webkit-details-marker { display: none; }
.vethy-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #2563eb;
  line-height: 1;
}
.vethy-faq-list details[open] summary::after { content: "−"; }
.vethy-faq-list details p {
  margin: 10px 0 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

/* ===== Product Lineup ===== */
.index-lineup { background: #ffffff; padding: 64px 0; }
.index-lineup .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.vethy-lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.vethy-lineup-card {
  display: block;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 26px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.vethy-lineup-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
  border-color: #2563eb;
}
.vethy-lineup-tag {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.vethy-lineup-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}
.vethy-lineup-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}
.vethy-lineup-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
}

/* ===== Trust / Stats Strip ===== */
.index-trust {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  padding: 50px 0;
  color: #fff;
}
.index-trust .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.vethy-stats-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  text-align: center;
}
.vethy-stats-grid li { padding: 8px; }
.vethy-stat-num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 8px;
  color: #fff;
}
.vethy-stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .02em;
}
.vethy-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ===== OEM/ODM Process ===== */
.index-process { background: #f8fafc; padding: 64px 0; }
.index-process .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.vethy-process-grid {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  counter-reset: vethy-step;
}
.vethy-process-grid > li {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 20px;
  position: relative;
}
.vethy-process-num {
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.vethy-process-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
.vethy-process-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}
.vethy-process-cta { text-align: center; margin-top: 32px; }
.vethy-btn-primary {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background .18s ease, transform .18s ease;
}
.vethy-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  color: #fff;
}
.vethy-stat-num.vethy-stat-num--sm { font-size: 18px; line-height: 1.35; font-weight: 700; }

/* ===== Testimonials Grid ===== */
.index-testimonials { background: #ffffff; padding: 64px 0; }
.index-testimonials .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.vethy-tm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.vethy-tm-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.vethy-tm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
}
.vethy-tm-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  line-height: 1;
}
.vethy-tm-quote {
  flex: 1;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.65;
  color: #334155;
  font-style: italic;
}
.vethy-tm-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}
.vethy-tm-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex: 0 0 42px;
}
.vethy-tm-meta strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  font-weight: 700;
}
.vethy-tm-meta span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

/* Testimonial avatar hardening (override legacy global span styles) */
.vethy-tm-card .vethy-tm-avatar {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 0 !important;
  margin: 0;
  flex-shrink: 0;
  overflow: hidden;
}

/* Real-photo avatar */
img.vethy-tm-avatar {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  flex-shrink: 0;
  background: #e5e7eb;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
  padding: 0 !important;
  margin: 0;
}
