/*
Theme Name: Eduxinghe
Theme URI: https://eduxinghe.com/eduxinghe/
Description: A minimal, translation-ready business theme for Chinese industrial sensor and instrumentation companies.
Version: 1.0.0
Author: Eduxinghe Studio
Author URI: https://eduxinghe.com/
Tags: accessibility-ready, custom-logo, custom-menu, editor-style, featured-images, full-width-template, translation-ready
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eduxinghe
Domain Path: /languages
*/

:root {
  --edx-ink: #17201d;
  --edx-muted: #64706a;
  --edx-line: #dfe5e0;
  --edx-paper: #f7f8f6;
  --edx-white: #ffffff;
  --edx-accent: #2f7463;
  --edx-accent-dark: #205548;
  --edx-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--edx-paper);
  color: var(--edx-ink);
  font-family: var(--edx-display);
  line-height: 1.8;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; height: auto; max-width: 100%; }
.edx-container { margin: 0 auto; max-width: 1120px; padding-left: 24px; padding-right: 24px; }
.edx-header { background: rgba(247, 248, 246, .96); border-bottom: 1px solid var(--edx-line); position: relative; z-index: 5; }
.edx-header-inner { align-items: center; display: flex; justify-content: space-between; min-height: 78px; }
.edx-brand { align-items: center; display: inline-flex; gap: 12px; }
.edx-mark { align-items: center; background: var(--edx-ink); color: white; display: inline-flex; font-size: 12px; font-weight: 700; height: 32px; justify-content: center; letter-spacing: .08em; width: 32px; }
.edx-brand-name { font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.edx-brand-name small { color: var(--edx-muted); display: block; font-size: 9px; font-weight: 500; letter-spacing: .2em; line-height: 1; margin-top: 4px; text-transform: uppercase; }
.edx-nav { align-items: center; display: flex; gap: 32px; }
.edx-nav-list, .edx-footer-links { align-items: center; display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.edx-footer-links { align-items: flex-start; flex-direction: column; gap: 5px; }
.edx-nav a { color: var(--edx-muted); font-size: 14px; transition: color .2s ease; }
.edx-nav a:hover, .edx-nav a:focus { color: var(--edx-accent); }
.edx-nav-cta { border-bottom: 1px solid var(--edx-accent); color: var(--edx-ink) !important; padding-bottom: 3px; }
.edx-menu-toggle { background: transparent; border: 0; color: var(--edx-ink); display: none; padding: 8px; }
.edx-menu-toggle span { background: currentColor; display: block; height: 1px; margin: 5px 0; width: 23px; }
.edx-hero { background: var(--edx-ink); color: white; min-height: 680px; position: relative; }
.edx-hero::before { background: linear-gradient(90deg, rgba(15, 22, 19, .96) 0%, rgba(15, 22, 19, .78) 48%, rgba(15, 22, 19, .2) 100%), url("assets/images/hero.jpg") center / cover; content: ""; inset: 0; position: absolute; }
.edx-hero-inner { align-items: center; display: flex; min-height: 680px; position: relative; }
.edx-hero-copy { max-width: 620px; padding: 88px 0; }
.edx-kicker { color: #a6c9be; font-size: 12px; letter-spacing: .18em; margin: 0 0 24px; text-transform: uppercase; }
.edx-hero h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 600; letter-spacing: -.05em; line-height: 1.15; margin: 0; }
.edx-hero p { color: #d9e2de; font-size: 17px; line-height: 1.9; margin: 28px 0 36px; max-width: 510px; }
.edx-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 24px; }
.edx-button { align-items: center; background: var(--edx-accent); color: white; display: inline-flex; font-size: 14px; gap: 18px; justify-content: center; padding: 14px 20px; transition: background .2s ease, transform .2s ease; }
.edx-button:hover, .edx-button:focus { background: var(--edx-accent-dark); transform: translateY(-2px); }
.edx-button-light { background: transparent; border-bottom: 1px solid #b8d6cc; color: white; padding: 10px 0; }
.edx-button-light:hover, .edx-button-light:focus { background: transparent; color: #b8d6cc; transform: none; }
.edx-arrow { font-size: 18px; line-height: 1; }
.edx-section { padding: 126px 0; }
.edx-section-light { background: var(--edx-white); }
.edx-section-header { align-items: end; display: grid; gap: 36px; grid-template-columns: repeat(12, 1fr); margin-bottom: 64px; }
.edx-section-header > div:first-child { grid-column: span 5; }
.edx-section-header > p { color: var(--edx-muted); font-size: 16px; grid-column: 7 / span 5; line-height: 1.9; margin: 0; }
.edx-eyebrow { color: var(--edx-accent); font-size: 11px; letter-spacing: .16em; margin: 0 0 16px; text-transform: uppercase; }
.edx-section h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 600; letter-spacing: -.045em; line-height: 1.2; margin: 0; }
.edx-service-list { border-top: 1px solid var(--edx-line); }
.edx-service { align-items: center; border-bottom: 1px solid var(--edx-line); display: grid; gap: 24px; grid-template-columns: 68px 1.1fr 1.6fr 28px; padding: 28px 0; transition: padding .2s ease; }
.edx-service:hover { padding-left: 12px; padding-right: 12px; }
.edx-service-index { color: var(--edx-accent); font-size: 13px; }
.edx-service h3 { font-size: 19px; font-weight: 600; margin: 0; }
.edx-service p { color: var(--edx-muted); font-size: 14px; line-height: 1.8; margin: 0; }
.edx-service-icon { color: var(--edx-accent); }
.edx-about-grid { align-items: center; display: grid; gap: 9.5%; grid-template-columns: 1fr 1fr; }
.edx-about-image { aspect-ratio: 4 / 3; background: #d8ded9 url("assets/images/process.jpg") center / cover; filter: saturate(.55); }
.edx-about-copy p { color: var(--edx-muted); font-size: 16px; line-height: 2; margin: 28px 0; }
.edx-inline-link { border-bottom: 1px solid var(--edx-accent); color: var(--edx-accent-dark); display: inline-block; font-size: 14px; padding-bottom: 4px; }
.edx-capability-grid { border-top: 1px solid var(--edx-line); display: grid; grid-template-columns: repeat(3, 1fr); }
.edx-capability { border-right: 1px solid var(--edx-line); padding: 34px 30px 0 0; }
.edx-capability:not(:first-child) { padding-left: 30px; }
.edx-capability:last-child { border-right: 0; }
.edx-capability h3 { font-size: 18px; margin: 0 0 16px; }
.edx-capability p { color: var(--edx-muted); font-size: 14px; line-height: 1.9; margin: 0; }
.edx-capability strong { color: var(--edx-ink); display: block; font-size: 44px; font-weight: 600; letter-spacing: -.05em; line-height: 1; margin-bottom: 24px; }
.edx-case-list { border-top: 1px solid var(--edx-line); }
.edx-case { align-items: center; border-bottom: 1px solid var(--edx-line); display: grid; gap: 28px; grid-template-columns: 1.3fr 1.3fr 1fr 24px; padding: 26px 0; }
.edx-case h3 { font-size: 17px; margin: 0; }
.edx-case p { color: var(--edx-muted); font-size: 14px; margin: 0; }
.edx-case small { color: var(--edx-accent); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.edx-faq { margin: 0 auto; max-width: 820px; }
.edx-faq-item { border-top: 1px solid var(--edx-line); }
.edx-faq-item:last-child { border-bottom: 1px solid var(--edx-line); }
.edx-faq-button { align-items: center; background: transparent; border: 0; color: var(--edx-ink); cursor: pointer; display: flex; font-family: inherit; font-size: 16px; justify-content: space-between; padding: 24px 0; text-align: left; width: 100%; }
.edx-faq-button span:last-child { color: var(--edx-accent); font-size: 22px; font-weight: 300; }
.edx-faq-answer { color: var(--edx-muted); font-size: 14px; line-height: 1.9; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.edx-faq-item.is-open .edx-faq-answer { max-height: 180px; padding-bottom: 24px; }
.edx-contact { background: var(--edx-accent-dark); color: white; }
.edx-contact .edx-eyebrow { color: #a6c9be; }
.edx-contact h2 { max-width: 600px; }
.edx-contact p { color: #d8e5e0; font-size: 16px; line-height: 1.9; max-width: 520px; }
.edx-contact-grid { display: grid; gap: 12%; grid-template-columns: 1fr 1fr; }
.edx-form { display: grid; gap: 20px; }
.edx-form label { color: #b8d6cc; font-size: 12px; }
.edx-form input, .edx-form textarea { background: transparent; border: 0; border-bottom: 1px solid rgba(216, 229, 224, .45); border-radius: 0; color: white; font: inherit; outline: 0; padding: 12px 0; width: 100%; }
.edx-form input:focus, .edx-form textarea:focus { border-color: white; }
.edx-form textarea { min-height: 100px; resize: vertical; }
.edx-form .edx-button { border: 0; cursor: pointer; justify-self: start; margin-top: 8px; }
.edx-footer { background: #101815; color: #cad6d0; padding: 52px 0 24px; }
.edx-footer-grid { display: grid; gap: 36px; grid-template-columns: 2fr 1fr 1fr; }
.edx-footer .edx-brand-name { color: white; }
.edx-footer h3 { color: white; font-size: 13px; font-weight: 500; margin: 0 0 16px; }
.edx-footer p, .edx-footer a { color: #9cacA4; font-size: 13px; line-height: 1.9; margin: 0; }
.edx-footer a:hover { color: white; }
.edx-footer-bottom { border-top: 1px solid rgba(202, 214, 208, .18); display: flex; justify-content: space-between; margin-top: 48px; padding-top: 20px; }
.edx-footer-bottom p { font-size: 11px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute !important; white-space: nowrap; width: 1px; }
.screen-reader-text:focus { background: white; clip: auto !important; clip-path: none; color: black; height: auto; left: 6px; padding: 10px; top: 6px; width: auto; z-index: 100000; }
@media (max-width: 760px) {
  .edx-container { padding-left: 20px; padding-right: 20px; }
  .edx-header-inner { min-height: 68px; }
  .edx-menu-toggle { display: block; }
  .edx-nav { background: var(--edx-paper); border-bottom: 1px solid var(--edx-line); display: none; left: 0; padding: 16px 20px 22px; position: absolute; right: 0; top: 68px; }
  .edx-nav.is-open { display: grid; gap: 17px; }
  .edx-nav-list { align-items: flex-start; flex-direction: column; gap: 17px; }
  .edx-hero, .edx-hero-inner { min-height: 620px; }
  .edx-hero h1 { font-size: 45px; }
  .edx-section { padding: 82px 0; }
  .edx-section-header, .edx-about-grid, .edx-contact-grid { display: block; }
  .edx-section-header > p { margin-top: 24px; }
  .edx-service { gap: 10px 18px; grid-template-columns: 38px 1fr 20px; padding: 22px 0; }
  .edx-service p { grid-column: 2 / span 2; }
  .edx-capability-grid { display: block; }
  .edx-capability, .edx-capability:not(:first-child) { border-bottom: 1px solid var(--edx-line); border-right: 0; padding: 28px 0; }
  .edx-case { gap: 8px; grid-template-columns: 1fr 20px; padding: 22px 0; }
  .edx-case p { grid-column: 1; }
  .edx-case small { grid-column: 1; grid-row: 1; }
  .edx-case > span { grid-column: 2; grid-row: 1 / span 3; }
  .edx-about-image { margin-bottom: 34px; }
  .edx-contact-grid > div + div { margin-top: 58px; }
  .edx-footer-grid { grid-template-columns: 1fr 1fr; }
  .edx-footer-grid > div:first-child { grid-column: 1 / -1; }
  .edx-footer-bottom { display: block; }
  .edx-footer-bottom p + p { margin-top: 8px; }
}
