/**
 * Techomey Theme — Main Stylesheet
 * B2B appliance showcase theme converted from a static export.
 */

:root {
  --th-navy: #0b2b5a;
  --th-navy-deep: #071d3f;
  --th-navy-soft: #14386d;
  --th-orange: #e88216;
  --th-orange-bright: #f39a22;
  --th-text: #4f5e70;
  --th-muted: #667386;
  --th-dark: #17253b;
  --th-line: #e5e7eb;
  --th-soft: #f6f8fa;
  --th-white: #fff;
  --th-container: 1180px;
  --th-header-h: 72px;
  --th-radius: 6px;
  --th-font: Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--th-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--th-text);
  background: var(--th-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--th-navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--th-orange); }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; color: var(--th-navy); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(32px, 4vw, 52px); }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: clamp(21px, 2.2vw, 27px); }
h4 { font-size: 20px; }
h5 { font-size: 18px; }

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

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.th-container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.th-section { padding: 76px 0; }
.th-section--tight { padding: 54px 0; }
.th-section--soft { background: var(--th-soft); }
.th-section--navy { background: var(--th-navy); color: rgba(255, 255, 255, .8); }
.th-section--navy h2,
.th-section--navy h3 { color: var(--th-white); }

.th-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--th-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.th-section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.th-section-head h2 { margin-bottom: 14px; }
.th-section-head p { margin: 0; font-size: 17px; color: var(--th-muted); }

/* ---------- Buttons ---------- */
.th-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border: 2px solid var(--th-orange);
  border-radius: 4px;
  background: var(--th-orange);
  color: var(--th-white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.th-btn:hover { background: var(--th-navy); border-color: var(--th-navy); color: var(--th-white); }
.th-btn--ghost { background: transparent; color: var(--th-navy); border-color: #ccd3dc; }
.th-btn--ghost:hover { background: var(--th-navy); color: var(--th-white); border-color: var(--th-navy); }
.th-btn--light { background: var(--th-white); color: var(--th-navy); border-color: var(--th-white); }
.th-btn--light:hover { background: var(--th-navy-deep); color: var(--th-white); border-color: var(--th-white); }

/* ---------- Site header ---------- */
.th-site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--th-white);
  border-bottom: 1px solid var(--th-line);
}
.th-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--th-header-h);
}
.th-brand { display: flex; align-items: center; gap: 12px; }
.th-brand img { max-height: 46px; width: auto; }
.th-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.th-brand-name { color: var(--th-navy); font-size: 21px; font-weight: 700; letter-spacing: .02em; }
.th-brand-tag { color: var(--th-muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

.th-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.th-nav a {
  position: relative;
  color: var(--th-dark);
  font-size: 15px;
  font-weight: 500;
}
.th-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--th-orange);
  transition: width .25s ease;
}
.th-nav a:hover::after,
.th-nav .current-menu-item > a::after { width: 100%; }

.th-header-cta { display: flex; align-items: center; gap: 14px; }
.th-header-cta .th-btn { padding: 11px 22px; font-size: 14px; }

.th-nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--th-line);
  border-radius: 4px;
  background: var(--th-white);
  cursor: pointer;
}
.th-nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: var(--th-navy);
  transition: transform .25s ease, opacity .2s ease;
}
.th-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.th-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.th-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.th-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 74vh, 880px);
  padding: 104px 0 92px;
  background-color: #eef3f9;
  overflow: hidden;
}
/* The banner lives in its own right-hand column and scales with `contain`,
   so the entire product shot stays visible instead of being cropped. */
.th-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  z-index: 0;
  background-image: var(--th-hero-img);
  background-color: transparent;
  background-size: contain;
  background-position: center right;
  background-repeat: no-repeat;
}
.th-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      #eef3f9 0%,
      rgba(238, 243, 249, .95) 20%,
      rgba(238, 243, 249, .6) 34%,
      rgba(238, 243, 249, .15) 46%,
      rgba(238, 243, 249, 0) 56%,
      rgba(238, 243, 249, 0) 100%);
  pointer-events: none;
}
.th-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 460px;
  background: rgba(11, 43, 90, .94);
  color: var(--th-white);
  padding: 34px 30px 32px;
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(5, 24, 48, .35);
  backdrop-filter: blur(2px);
}
.th-hero h1 { margin: 0 0 14px; color: var(--th-white); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.14; font-weight: 700; }
.th-hero-lead { margin: 0 0 22px; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.th-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.th-btn--accent {
  background: var(--th-orange);
  color: var(--th-navy);
  border: 0;
  font-weight: 700;
  padding: 14px 28px;
}
.th-btn--accent:hover { background: var(--th-white); color: var(--th-navy); transform: translateY(-1px); }
.th-btn--ghost-light { background: transparent; color: var(--th-white); border: 1px solid rgba(255, 255, 255, .55); }
.th-btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: var(--th-white); border-color: var(--th-white); }

/* ---------- Stats ---------- */
.th-stats { padding: 64px 0 76px; background: var(--th-white); }
.th-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.th-stat {
  text-align: center;
  color: var(--th-text);
  background: var(--th-white);
  border: 1px solid var(--th-line);
  border-radius: 12px;
  padding: 26px 14px 22px;
  box-shadow: 0 6px 20px rgba(11, 43, 90, .04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.th-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(11, 43, 90, .12);
  border-color: rgba(243, 154, 34, .45);
}
.th-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(11, 43, 90, .08);
  color: var(--th-navy);
  font-size: 21px;
}
.th-stat-value {
  display: block;
  color: var(--th-navy);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.1;
}
.th-stat-label { display: block; margin-top: 6px; color: var(--th-muted); font-size: 13px; letter-spacing: .04em; }

/* ---------- Product carousel (ported from static site) ---------- */
.techomey-product-module { padding: 76px 0; background: var(--th-white); overflow: hidden; }
.techomey-product-inner { width: min(1240px, 100% - 48px); margin: 0 auto; }
.techomey-product-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--th-line);
}
.techomey-product-header h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); }
.techomey-product-header p { margin: 8px 0 0; color: var(--th-muted); font-size: 16px; }
.techomey-carousel-controls { display: flex; flex: none; gap: 10px; }
.techomey-carousel-controls button {
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid #ccd3dc;
  border-radius: 50%;
  background: var(--th-white);
  color: var(--th-navy);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: .2s;
}
.techomey-carousel-controls button:hover { background: var(--th-navy); color: var(--th-white); border-color: var(--th-navy); }
.techomey-product-rail {
  display: flex;
  gap: 22px;
  padding: 4px 2px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.techomey-product-rail::-webkit-scrollbar { display: none; }
.techomey-product-slide {
  flex: 0 0 calc((100% - 66px) / 4);
  min-width: 0;
  background: var(--th-white);
  overflow: hidden;
  scroll-snap-align: start;
}
.techomey-product-photo { position: relative; height: 350px; overflow: hidden; background: var(--th-white); }
.techomey-product-photo img { width: 100%; height: 100%; padding: 20px; object-fit: contain; transition: transform .45s ease; }
.techomey-product-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, rgba(5, 24, 48, .04) 15%, rgba(5, 24, 48, .93) 100%);
  color: var(--th-white);
  opacity: 0;
  transition: opacity .3s ease;
}
.techomey-product-overlay p { margin: 0; font-size: 15px; line-height: 1.55; transform: translateY(14px); transition: transform .3s ease; }
.techomey-product-slide:hover .techomey-product-overlay { opacity: 1; }
.techomey-product-slide:hover .techomey-product-overlay p { transform: none; }
.techomey-product-slide:hover .techomey-product-photo img { transform: scale(1.04); }
.techomey-product-meta { padding: 16px 4px 20px; border-top: 1px solid #edf0f3; }
.techomey-product-meta span { display: inline-block; color: #717b88; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.techomey-product-meta h3 { margin: 5px 0 0; color: var(--th-navy); font-size: 21px; }
.techomey-product-meta h3 a { color: inherit; }

/* ---------- Catalogue CTA (ported) ---------- */
.techomey-catalogue-module { padding: 72px 0; background: var(--th-navy); color: var(--th-white); }
.techomey-catalogue-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: min(1180px, 100% - 48px);
  margin: 0 auto;
}
.techomey-catalogue-copy { max-width: 760px; }
.techomey-catalogue-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--th-orange-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.techomey-catalogue-copy h2 { margin: 0 0 16px; color: var(--th-white); font-size: clamp(30px, 4vw, 46px); }
.techomey-catalogue-copy p { margin: 0; color: rgba(255, 255, 255, .76); font-size: 18px; }
.techomey-catalogue-action { flex: none; text-align: center; }
.techomey-catalogue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 220px;
  padding: 17px 28px;
  border: 2px solid var(--th-orange-bright);
  border-radius: 4px;
  background: var(--th-orange-bright);
  color: var(--th-navy);
  font-size: 16px;
  font-weight: 700;
}
a.techomey-catalogue-button { cursor: pointer; }
a.techomey-catalogue-button:hover { background: var(--th-white); border-color: var(--th-white); color: var(--th-navy); }
span.techomey-catalogue-button { cursor: not-allowed; opacity: .88; }
.techomey-catalogue-button svg { width: 20px; height: 20px; fill: currentColor; }
.techomey-catalogue-status { display: block; margin-top: 10px; color: rgba(255, 255, 255, .62); font-size: 12px; letter-spacing: .04em; }

/* ---------- About ---------- */
.th-about { padding: 76px 0; background: linear-gradient(180deg, #eaf1fa 0%, #d9e6f4 100%); }
.th-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.th-about-copy { min-width: 0; }
.th-about-copy h3 { margin-bottom: 14px; font-size: clamp(24px, 2.6vw, 31px); }
.th-about-copy > p { color: var(--th-muted); font-size: 16px; }
.th-about-media { position: relative; height: 420px; overflow: hidden; border-radius: var(--th-radius); background: var(--th-soft); }
.th-about-media img { width: 100%; height: 100%; object-fit: cover; }
.th-about-media iframe { width: 100%; height: 100%; border: 0; }
.th-about-list { margin: 26px 0 0; padding: 0; list-style: none; }
.th-about-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.th-about-list li::before {
  content: "\f00c";
  position: absolute;
  left: 0; top: 1px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--th-orange);
}
.th-about-note {
  margin: 24px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--th-orange);
  background: var(--th-soft);
  color: var(--th-navy);
  font-weight: 500;
}

/* ---------- Why choose us (ported) ---------- */
.techomey-why-module { padding: 88px 0 100px; background: var(--th-white); }
.techomey-why-inner { width: min(1180px, 100% - 48px); margin: 0 auto; }
.techomey-why-inner > h2 { margin: 0 0 58px; text-align: center; font-size: clamp(34px, 4vw, 48px); }
.techomey-advantage-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 58px; margin-top: 58px; }
.techomey-advantage-row:first-of-type { margin-top: 0; }
.techomey-advantage-row.is-reversed .techomey-advantage-copy { order: 2; }
.techomey-advantage-copy > span {
  display: block;
  margin-bottom: 13px;
  color: var(--th-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
}
.techomey-advantage-copy h3 { margin: 0 0 18px; font-size: clamp(25px, 3vw, 34px); line-height: 1.16; }
.techomey-advantage-copy p { margin: 0; font-size: 16px; line-height: 1.72; }
.techomey-advantage-copy strong { display: block; margin-top: 20px; color: var(--th-navy); font-size: 17px; }
.techomey-advantage-image { height: 390px; overflow: hidden; border-radius: var(--th-radius); background: #eef1f4; }
.techomey-advantage-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- B2B support cards ---------- */
.th-support { padding: 76px 0; background: var(--th-soft); }
.th-support-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.th-support-card {
  padding: 34px 24px;
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius);
  background: var(--th-white);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.th-support-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 16px 38px rgba(11, 43, 90, .1); }
.th-support-card i { display: block; margin-bottom: 16px; color: var(--th-orange); font-size: 32px; }
.th-support-card p { margin: 0; color: var(--th-navy); font-size: 16px; font-weight: 500; line-height: 1.55; }

/* ---------- Service trio ---------- */
.th-service { padding: 76px 0; }
.th-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 40px; }
.th-service-card { padding: 34px 30px; background: var(--th-soft); border-radius: var(--th-radius); border-top: 3px solid var(--th-orange); }
.th-service-card h3 { margin-bottom: 12px; font-size: 22px; }
.th-service-card p { margin: 0; font-size: 15px; }
.th-service-actions { text-align: center; }

/* ---------- Certifications — 3D coverflow ---------- */
.th-cert { padding: 76px 0; background: var(--th-soft); }
.th-cert .th-section-head { margin-bottom: 28px; }
.th-cert-viewport {
  position: relative;
  perspective: 1400px;
  padding: 30px 80px 90px;
  overflow: hidden;
  touch-action: pan-y;
}
.th-cert-stage {
  position: relative;
  width: 100%;
  height: 360px;
}
.th-cert-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 320px;
  margin-top: -160px;
  margin-left: -190px;
  background: var(--th-white);
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transform-origin: center center;
  box-shadow: 0 6px 18px rgba(11, 43, 90, .06);
  transition: transform .55s cubic-bezier(.25, .46, .45, .94), opacity .55s ease, box-shadow .55s ease;
  will-change: transform, opacity;
}
.th-cert-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.th-cert-slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
}
.th-cert-slide.active {
  transform: translate3d(0, 0, 0) scale(1) rotateY(0);
  opacity: 1;
  z-index: 3;
  pointer-events: auto;
  box-shadow: 0 24px 48px rgba(11, 43, 90, .20);
}
.th-cert-slide.prev {
  transform: translate3d(-72%, 0, 0) scale(.78) rotateY(38deg);
  opacity: .55;
  z-index: 2;
}
.th-cert-slide.next {
  transform: translate3d(72%, 0, 0) scale(.78) rotateY(-38deg);
  opacity: .55;
  z-index: 2;
}
.th-cert-slide.far-prev {
  transform: translate3d(-140%, 0, 0) scale(.55) rotateY(38deg);
  opacity: 0;
  z-index: 1;
}
.th-cert-slide.far-next {
  transform: translate3d(140%, 0, 0) scale(.55) rotateY(-38deg);
  opacity: 0;
  z-index: 1;
}
.th-cert-prev,
.th-cert-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #ccd3dc;
  background: var(--th-white);
  color: var(--th-navy);
  cursor: pointer;
  z-index: 5;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.th-cert-prev { left: 18px; }
.th-cert-next { right: 18px; }
.th-cert-prev:hover,
.th-cert-next:hover,
.th-cert-prev:focus-visible,
.th-cert-next:focus-visible {
  background: var(--th-navy);
  color: var(--th-white);
  border-color: var(--th-navy);
  outline: none;
}
.th-cert-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.th-cert-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8d0db;
  cursor: pointer;
  transition: background .2s, transform .2s;
  border: 0;
  padding: 0;
}
.th-cert-dot:hover { background: #94a3b8; }
.th-cert-dot.active {
  background: var(--th-navy);
  transform: scale(1.25);
}

/* ---------- FAQ ---------- */
.th-faq { padding: 76px 0; }
.th-faq-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.th-faq-intro h2 { margin-bottom: 18px; }
.th-faq-divider { width: 64px; height: 3px; margin-bottom: 22px; background: var(--th-orange); }
.th-faq-list { border-top: 1px solid var(--th-line); }
.th-faq-item { border-bottom: 1px solid var(--th-line); }
.th-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 4px;
  border: 0;
  background: none;
  color: var(--th-navy);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.th-faq-q:hover { color: var(--th-orange); }
.th-faq-q i { flex: none; color: var(--th-orange); transition: transform .25s ease; }
.th-faq-item.is-open .th-faq-q i { transform: rotate(180deg); }
.th-faq-a { display: none; padding: 0 4px 22px; }
.th-faq-item.is-open .th-faq-a { display: block; }
.th-faq-a p { margin: 0 0 .8em; font-size: 15px; }
.th-faq-a p:last-child { margin-bottom: 0; }

/* ---------- Inquiry form ---------- */
.th-inquiry { padding: 76px 0; background: var(--th-navy); }
.th-inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.th-inquiry h2 { color: var(--th-white); margin-bottom: 18px; }
.th-inquiry-divider { width: 64px; height: 3px; margin-bottom: 22px; background: var(--th-orange-bright); }
.th-inquiry p { color: rgba(255, 255, 255, .76); }
.th-inquiry-contacts { margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .82); }
.th-inquiry-contacts li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.th-inquiry-contacts i { color: var(--th-orange-bright); }
.th-inquiry-contacts a { color: inherit; }
.th-inquiry-contacts a:hover { color: var(--th-white); }
.th-inquiry-intro { min-width: 0; }
.th-inquiry-intro h2 { font-size: clamp(28px, 3.4vw, 42px); }
.th-inquiry-form { min-width: 0; }

.th-form { padding: 34px 32px; border-radius: var(--th-radius); background: var(--th-white); }
.th-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.th-field { margin-bottom: 18px; }
.th-field label { display: block; margin-bottom: 7px; color: var(--th-navy); font-size: 14px; font-weight: 500; }
.th-field label .req { color: var(--th-orange); }
.th-field input[type="text"],
.th-field input[type="email"],
.th-field input[type="tel"],
.th-field select,
.th-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6dce4;
  border-radius: 4px;
  background: var(--th-white);
  color: var(--th-dark);
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.th-field input:focus,
.th-field select:focus,
.th-field textarea:focus {
  outline: none;
  border-color: var(--th-navy);
  box-shadow: 0 0 0 3px rgba(11, 43, 90, .1);
}
.th-field textarea { min-height: 108px; resize: vertical; }
.th-field--full { grid-column: 1 / -1; }
.th-radio-group { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 4px; }
.th-radio-group label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; }
.th-radio-group input { width: auto; }
.th-form-foot { margin-top: 6px; }
.th-form .th-btn { width: 100%; }
.th-form-note { margin: 14px 0 0; color: var(--th-muted); font-size: 13px; text-align: center; }
.th-field-label { display: block; margin-bottom: 7px; color: var(--th-navy); font-size: 14px; font-weight: 500; }
.th-hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.th-form-message { margin-bottom: 18px; padding: 13px 16px; border-radius: 4px; font-size: 14px; }
.th-form-message--ok { background: #e8f6ee; border: 1px solid #b7e2c8; color: #1c6b3f; }
.th-form-message--err { background: #fdecea; border: 1px solid #f6c8c2; color: #97291d; }

/* ---------- Blog ---------- */
.th-blog-layout { display: grid; grid-template-columns: 1fr; }
.th-blog-layout.has-sidebar { grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.th-blog-main { min-width: 0; }
.th-post-card { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--th-line); }
.th-post-thumb { display: block; margin-bottom: 18px; overflow: hidden; border-radius: var(--th-radius); }
.th-post-thumb img { width: 100%; height: auto; }
.th-post-body h2 { margin-bottom: 6px; font-size: clamp(22px, 2.4vw, 28px); }
.th-post-meta { color: var(--th-muted); font-size: 14px; }
.th-blog-side .widget { margin-bottom: 30px; padding: 24px; border: 1px solid var(--th-line); border-radius: var(--th-radius); }
.th-blog-side .widget-title { margin-bottom: 14px; font-size: 17px; }
.th-blog-side ul { margin: 0; padding: 0; list-style: none; }
.th-blog-side li { margin-bottom: 8px; }
.th-page-banner .search-form { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.th-page-banner .search-field { min-width: 260px; padding: 12px 14px; border: 0; border-radius: 4px; }
.th-page-banner .search-submit { padding: 12px 22px; border: 0; border-radius: 4px; background: var(--th-orange); color: var(--th-white); font-weight: 700; cursor: pointer; }

/* ---------- Page banner (inner pages) ---------- */
.th-page-banner { padding: 64px 0 58px; background: linear-gradient(120deg, #0b2b5a 0%, #14386d 100%); color: rgba(255, 255, 255, .8); }
.th-page-banner h1 { margin: 0 0 12px; color: var(--th-white); }
.th-page-banner p { margin: 0; font-size: 17px; }
.th-breadcrumb { margin-bottom: 14px; color: rgba(255, 255, 255, .6); font-size: 13px; }
.th-breadcrumb a { color: rgba(255, 255, 255, .8); }
.th-breadcrumb a:hover { color: var(--th-white); }

/* ---------- Content blocks (inner pages) ---------- */
.th-content { padding: 68px 0; }
.th-prose h2 { margin-top: 1.4em; }
.th-prose ul li { margin-bottom: 8px; }

.th-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.th-card { padding: 30px 26px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: var(--th-white); }
.th-card h3 { margin-bottom: 10px; font-size: 21px; }
.th-card p { margin: 0; font-size: 15px; }

.th-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.th-contact-info { padding: 0; margin: 0 0 22px; list-style: none; }
.th-contact-info li { display: flex; gap: 14px; margin-bottom: 18px; }
.th-contact-info i { margin-top: 4px; color: var(--th-orange); font-size: 18px; }
.th-contact-info strong { display: block; color: var(--th-navy); }
.th-contact-form { padding: 32px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: var(--th-white); box-shadow: 0 12px 40px rgba(11, 43, 90, .06); }

/* ---------- Product archive ---------- */
.th-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.th-product-card {
  border: 1px solid var(--th-line);
  border-radius: var(--th-radius);
  background: var(--th-white);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.th-product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 43, 90, .1); }
.th-product-card-media { height: 260px; padding: 22px; background: var(--th-white); }
.th-product-card-media img { width: 100%; height: 100%; object-fit: contain; }
.th-product-card-body { padding: 20px 24px 26px; border-top: 1px solid #edf0f3; }
.th-product-card-body span { color: #717b88; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.th-product-card-body h3 { margin: 6px 0 10px; font-size: 20px; }
.th-product-card-body p { margin: 0; font-size: 15px; }

.th-pagination { margin-top: 44px; text-align: center; }
.th-pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 8px 14px;
  margin: 0 3px;
  border: 1px solid var(--th-line);
  border-radius: 4px;
}
.th-pagination .page-numbers.current { background: var(--th-navy); border-color: var(--th-navy); color: var(--th-white); }

/* ---------- Site footer ---------- */
.th-site-footer { background: var(--th-navy-deep); color: rgba(255, 255, 255, .66); }
.th-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 62px 0 44px; }
.th-footer-top h4 { margin-bottom: 18px; color: var(--th-white); font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.th-footer-top ul { margin: 0; padding: 0; list-style: none; }
.th-footer-top li { margin-bottom: 10px; }
.th-footer-top a { color: rgba(255, 255, 255, .66); }
.th-footer-top a:hover { color: var(--th-orange-bright); }
.th-footer-about p { font-size: 15px; }
.th-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.th-footer-brand img { max-height: 40px; width: auto; filter: brightness(0) invert(1); }
.th-footer-brand-name { color: var(--th-white); font-size: 20px; font-weight: 700; }
.th-footer-contact li { display: flex; gap: 10px; }
.th-footer-contact i { margin-top: 5px; color: var(--th-orange-bright); }
.th-footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.th-footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; }

.th-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 800;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--th-navy);
  color: var(--th-white);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 43, 90, .28);
}
.th-to-top.is-visible { display: inline-flex; }
.th-to-top:hover { background: var(--th-orange); color: var(--th-white); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .th-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 20px; }
  .th-support-grid { grid-template-columns: repeat(3, 1fr); }
  .techomey-product-slide { flex-basis: calc((100% - 44px) / 3); }
  .th-cert-slide { flex-basis: calc((100% - 66px) / 4); }
  /* 视口变窄时背景图会更多地压到深色信息卡下方，把遮罩渐变压得更宽 */
  .th-hero-shade {
    background: linear-gradient(90deg,
      #eef3f9 0%,
      rgba(238, 243, 249, .96) 28%,
      rgba(238, 243, 249, .7) 46%,
      rgba(238, 243, 249, .25) 62%,
      rgba(238, 243, 249, 0) 74%,
      rgba(238, 243, 249, 0) 100%);
  }
}

@media (max-width: 1024px) {
  :root { --th-header-h: 64px; }
  .th-nav-toggle { display: block; }
  .th-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: none;
    padding: 12px 24px 22px;
    background: var(--th-white);
    border-bottom: 1px solid var(--th-line);
    box-shadow: 0 14px 30px rgba(11, 43, 90, .1);
  }
  .th-nav.is-open { display: block; }
  .th-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .th-nav li { border-bottom: 1px solid #f0f2f5; }
  .th-nav a { display: block; padding: 13px 0; }
  .th-nav a::after { display: none; }
  .th-header-cta .th-btn { display: none; }

  .th-about-grid,
  .th-inquiry-grid,
  .th-faq-grid,
  .th-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .th-service-grid { grid-template-columns: 1fr; }
  .th-footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .th-blog-layout.has-sidebar { grid-template-columns: 1fr; gap: 38px; }
  .techomey-advantage-row { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .techomey-advantage-row.is-reversed .techomey-advantage-copy { order: 0; }
  .techomey-advantage-image { height: 300px; }
  .techomey-product-slide { flex-basis: calc((100% - 22px) / 2); }
  .th-card-grid,
  .th-product-grid { grid-template-columns: repeat(2, 1fr); }

  /* Certifications coverflow: shrink the stage on tablet/mobile */
  .th-cert-viewport { padding: 20px 56px 70px; perspective: 1100px; }
  .th-cert-stage { height: 300px; }
  .th-cert-slide { width: 300px; height: 250px; margin-top: -125px; margin-left: -150px; }
  .th-cert-slide.prev { transform: translate3d(-72%, 0, 0) scale(.74) rotateY(38deg); }
  .th-cert-slide.next { transform: translate3d(72%, 0, 0) scale(.74) rotateY(-38deg); }
  .th-cert-prev,
  .th-cert-next { width: 40px; height: 40px; font-size: 12px; }
  .th-cert-prev { left: 6px; }
  .th-cert-next { right: 6px; }

  /* Hero: keep the banner fully visible, just a bit shorter */
  .th-hero { min-height: clamp(520px, 62vh, 700px); padding: 92px 0 80px; }
  .th-hero::before { width: 58%; }
  .th-hero-inner { max-width: 420px; }
}

@media (max-width: 767px) {
  .th-container,
  .techomey-product-inner,
  .techomey-why-inner,
  .techomey-catalogue-inner { width: calc(100% - 36px); }
  .th-section,
  .techomey-product-module,
  .th-about,
  .th-support,
  .th-service,
  .th-cert,
  .th-faq,
  .th-inquiry { padding: 52px 0; }
  .th-hero { min-height: 500px; padding: 88px 0 64px; align-items: flex-end; }
  .th-hero::before { width: 100%; background-position: center top; }
  .th-hero-shade {
    background: linear-gradient(180deg,
      rgba(238, 243, 249, .15) 0%,
      rgba(238, 243, 249, .55) 38%,
      rgba(238, 243, 249, .88) 68%,
      rgba(238, 243, 249, .95) 100%);
  }
  .th-hero-inner { max-width: 100%; padding: 26px 22px 24px; }
  .techomey-product-header { align-items: center; }
  .techomey-product-header p { display: none; }
  .techomey-product-slide { flex-basis: 84%; }
  .techomey-product-photo { height: 300px; }
  .techomey-product-overlay { opacity: 1; background: linear-gradient(180deg, transparent 42%, rgba(5, 24, 48, .9) 100%); }
  .techomey-product-overlay p { font-size: 14px; transform: none; }
  .techomey-catalogue-inner { display: block; text-align: center; }
  .techomey-catalogue-action { margin-top: 30px; }
  .techomey-catalogue-copy p { font-size: 16px; }
  .techomey-why-module { padding: 56px 0 64px; }
  .techomey-advantage-image { height: 240px; }
  .th-stats-grid,
  .th-support-grid,
  .th-card-grid,
  .th-product-grid { grid-template-columns: 1fr; }
  .th-form-row { grid-template-columns: 1fr; }
  .th-footer-top { grid-template-columns: 1fr; }
  .th-footer-bottom-inner { justify-content: center; text-align: center; }

  /* Certifications coverflow on phones: single-slide stage, hide far siblings */
  .th-cert-viewport { padding: 12px 44px 56px; perspective: 900px; }
  .th-cert-stage { height: 240px; }
  .th-cert-slide { width: 240px; height: 200px; margin-top: -100px; margin-left: -120px; }
  .th-cert-slide.prev { transform: translate3d(-78%, 0, 0) scale(.72) rotateY(40deg); opacity: .35; }
  .th-cert-slide.next { transform: translate3d(78%, 0, 0) scale(.72) rotateY(-40deg); opacity: .35; }
  .th-cert-slide.far-prev,
  .th-cert-slide.far-next { opacity: 0; }
  .th-cert-prev,
  .th-cert-next { width: 36px; height: 36px; font-size: 12px; }
  .th-cert-prev { left: 2px; }
  .th-cert-next { right: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
