/*
Theme Name: Bonai Environmental
Theme URI: https://www.example.com/
Author: Bonai Environmental Protection Technology
Author URI: https://www.example.com/
Description: A responsive English corporate theme for Langfang Bonai Environmental Protection Technology Co., Ltd.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bonai-environmental
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --navy: #0e3040;
  --deep: #08222e;
  --teal: #0b8f83;
  --mint: #dff5ef;
  --orange: #ef8b3a;
  --ink: #18323b;
  --muted: #61737a;
  --line: #dbe7e6;
  --paper: #f7fbfa;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(14, 48, 64, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(219,231,230,.8); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px 14px 14px 4px; color: var(--white); background: linear-gradient(135deg, var(--teal), var(--navy)); font-size: 18px; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.main-navigation ul { display: flex; list-style: none; gap: 28px; margin: 0; padding: 0; align-items: center; }
.main-navigation a { color: var(--navy); font-size: 14px; font-weight: 700; }
.main-navigation .current-menu-item a, .main-navigation a:hover { color: var(--teal); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); color: var(--navy); border-radius: 10px; padding: 8px 12px; font-weight: 700; }

.hero { position: relative; overflow: hidden; padding: 104px 0 110px; background: radial-gradient(circle at 84% 20%, rgba(11,143,131,.22), transparent 30%), linear-gradient(135deg, var(--deep), var(--navy)); color: var(--white); }
.hero:after { content: ""; position: absolute; right: -140px; bottom: -220px; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.03), 0 0 0 110px rgba(255,255,255,.025); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.hero h1 { max-width: 760px; margin: 16px 0 22px; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -.055em; }
.hero p { max-width: 640px; color: rgba(255,255,255,.78); font-size: 18px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--teal); color: var(--white); font-size: 14px; font-weight: 800; border: 1px solid transparent; transition: transform .2s ease, background .2s ease; }
.button:hover { color: var(--white); background: #08766d; transform: translateY(-2px); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.35); background: transparent; }
.button-outline:hover { background: rgba(255,255,255,.12); }
.hero-card { position: relative; min-height: 360px; display: flex; align-items: flex-end; padding: 30px; border-radius: 28px; background: linear-gradient(155deg, rgba(255,255,255,.18), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow); }
.hero-card:before { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; }
.hero-card-content { position: relative; z-index: 1; }
.hero-card strong { display: block; font-size: 42px; line-height: 1; color: var(--white); }
.hero-card span { display: block; max-width: 220px; margin-top: 8px; color: rgba(255,255,255,.74); font-size: 14px; }

.section { padding: 92px 0; }
.section-alt { background: var(--paper); }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading h2 { margin: 10px 0 14px; color: var(--navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
.section-heading p { color: var(--muted); font-size: 17px; }
.intro-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro-panel { padding: 38px; border-radius: var(--radius); background: var(--mint); }
.intro-panel h3 { margin-top: 0; color: var(--navy); font-size: 28px; line-height: 1.2; }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; }
.check-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid rgba(14,48,64,.12); }
.check-list li:last-child { border-bottom: 0; }
.check-list li:before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { height: 100%; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 26px rgba(14,48,64,.04); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 14px; background: var(--mint); color: var(--teal); font-weight: 900; }
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 22px; line-height: 1.2; }
.card p { margin: 0; color: var(--muted); }

.fair-banner { padding: 42px; border-radius: 28px; color: var(--white); background: linear-gradient(110deg, var(--teal), var(--navy)); display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.fair-banner h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -.04em; }
.fair-banner p { margin: 0; max-width: 680px; color: rgba(255,255,255,.8); }
.fair-badge { flex: 0 0 auto; padding: 18px 22px; border: 1px solid rgba(255,255,255,.3); border-radius: 16px; text-align: center; }
.fair-badge strong { display: block; font-size: 30px; line-height: 1; }
.fair-badge span { display: block; margin-top: 6px; color: rgba(255,255,255,.75); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

.site-main .entry-header { padding: 76px 0 28px; background: var(--paper); }
.entry-title { margin: 0; color: var(--navy); font-size: clamp(36px, 5vw, 62px); line-height: 1.05; letter-spacing: -.05em; }
.entry-content { max-width: 820px; padding: 52px 0 90px; }
.entry-content h2 { margin-top: 44px; color: var(--navy); line-height: 1.15; }
.entry-content h3 { margin-top: 32px; color: var(--navy); }
.entry-content p, .entry-content li { color: #3e555d; }
.entry-content img { border-radius: 14px; }
.post-card { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post-card h2 { margin: 0 0 8px; font-size: 28px; }
.post-card p { color: var(--muted); }

.contact-card { padding: 38px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.contact-card h2 { margin-top: 0; font-size: 36px; line-height: 1.1; }
.contact-card p { color: rgba(255,255,255,.75); }
.contact-list { margin: 28px 0 0; padding: 0; list-style: none; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; color: var(--orange); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.contact-list span { display: block; margin-top: 3px; color: rgba(255,255,255,.86); }

.site-footer { padding: 48px 0 26px; color: rgba(255,255,255,.7); background: var(--deep); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 48px; }
.site-footer .brand { color: var(--white); }
.site-footer h3 { margin: 0 0 14px; color: var(--white); font-size: 15px; }
.site-footer p { max-width: 420px; margin: 14px 0 0; font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; margin-top: 32px; border-top: 1px solid rgba(255,255,255,.13); font-size: 12px; }

@media (max-width: 820px) {
  .main-navigation { display: none; position: absolute; left: 20px; right: 20px; top: 70px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: var(--shadow); }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { display: block; }
  .main-navigation li { padding: 8px 0; }
  .menu-toggle { display: inline-block; }
  .hero-grid, .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 76px 0 82px; }
  .cards { grid-template-columns: 1fr; }
  .fair-banner { display: block; padding: 30px; }
  .fair-badge { display: inline-block; margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}
