/* Orange Tech — gzorgtech.com */
:root {
  --bg: #0b0f14;
  --bg-elev: #121821;
  --bg-card: #161d28;
  --bg-soft: #1c2533;
  --line: rgba(255,255,255,.08);
  --text: #f3f5f8;
  --muted: #9aa6b5;
  --orange: #f08a24;
  --orange-2: #ffb347;
  --orange-deep: #c45f0a;
  --blue: #2f6fed;
  --ok: #3ecf8e;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --max: 1120px;
  --header-h: 72px;
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(11,15,20,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: .75rem; flex-shrink: 0;
}
.logo img {
  height: 42px; width: auto;
  display: block;
}
.logo-fallback {
  display: flex; align-items: center; gap: .6rem;
}
.logo-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffc46a, var(--orange) 55%, var(--orange-deep));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.logo-text strong { display: block; font-size: 1rem; line-height: 1.15; }
.logo-text span { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.nav {
  display: flex; align-items: center; gap: .15rem;
}
.nav a {
  padding: .55rem .8rem;
  color: var(--muted);
  border-radius: 999px;
  font-size: .95rem;
  transition: .2s ease;
}
.nav a:hover, .nav a.active { color: var(--text); background: rgba(255,255,255,.06); }
.nav a.active { color: var(--orange-2); }

.header-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: var(--text); border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  box-shadow: 0 10px 28px rgba(240,138,36,.28);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-2); }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 720px);
  display: grid; align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,15,20,.35) 0%, rgba(11,15,20,.55) 40%, rgba(11,15,20,.92) 100%),
    linear-gradient(90deg, rgba(11,15,20,.75), transparent 55%),
    url("../assets/projects/dianbai-gym-wide.jpg") center/cover no-repeat;
}
.hero-media::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 180px;
  background: radial-gradient(ellipse at 30% 100%, rgba(240,138,36,.22), transparent 55%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  padding: 5.5rem 0 3.5rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--orange-2);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--orange);
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.18;
  font-weight: 700;
  max-width: 12em;
}
.hero .lead {
  margin: 0 0 1.8rem;
  color: #d6dde8;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 28em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1rem 1.6rem;
  color: var(--muted); font-size: .92rem;
}
.hero-meta strong { color: var(--text); font-weight: 600; }

/* Page hero (inner) */
.page-hero {
  padding: 3.4rem 0 2.2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(240,138,36,.12), transparent 45%),
    linear-gradient(180deg, #101722, var(--bg));
}
.page-hero h1 {
  margin: 0 0 .7rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.2;
}
.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
}

/* Sections */
.section { padding: 4.2rem 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 1rem;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.section-head h2 {
  margin: 0 0 .35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.section-head p { margin: 0; color: var(--muted); max-width: 36rem; }
.section-kicker {
  color: var(--orange);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: .4rem;
}

/* Cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .25s ease;
}
.card:hover { border-color: rgba(240,138,36,.35); transform: translateY(-3px); box-shadow: var(--shadow); }
.card-body { padding: 1.15rem 1.2rem 1.3rem; }
.card-body h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.card-body p { margin: 0; color: var(--muted); font-size: .94rem; }
.card-media {
  aspect-ratio: 16/10;
  background: #0a0d12 center/cover no-repeat;
  position: relative;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
}

.card-name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .85rem .9rem .7rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.72) 55%, rgba(0,0,0,.88) 100%);
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.35;
  z-index: 2;
  pointer-events: none;
}
.card-tag {
  position: absolute; left: .8rem; top: .8rem;
  background: rgba(11,15,20,.78);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--orange-2);
  font-size: .75rem;
  padding: .25rem .55rem;
  border-radius: 999px;
}
.card-link {
  display: inline-flex; margin-top: .9rem; color: var(--orange-2); font-weight: 600; font-size: .9rem;
}
.card-link:hover { text-decoration: underline; }

.service-card {
  padding: 1.35rem 1.25rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
}
.service-card .num {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(240,138,36,.12);
  color: var(--orange-2);
  font-weight: 700;
  margin-bottom: .9rem;
  font-size: .9rem;
}
.service-card h3 { margin: 0 0 .45rem; font-size: 1.1rem; }
.service-card p { margin: 0 0 1rem; color: var(--muted); font-size: .94rem; }

/* Feature split */
.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center;
}
.split-media {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: #0a0d12 center/cover no-repeat;
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.split h2 { margin: 0 0 .8rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.split p { color: var(--muted); margin: 0 0 1rem; }
.checklist { display: grid; gap: .7rem; margin: 1.2rem 0 1.5rem; }
.checklist li {
  display: flex; gap: .7rem; align-items: flex-start;
  color: #d7dee8;
}
.checklist li::before {
  content: "";
  width: 10px; height: 10px; margin-top: .45rem; flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(240,138,36,.15);
}

/* Contact strip */
.contact-strip {
  background:
    linear-gradient(135deg, rgba(240,138,36,.16), rgba(47,111,237,.08)),
    var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.4rem 0;
}
.contact-strip-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
}
.contact-strip h2 { margin: 0 0 .35rem; font-size: 1.45rem; }
.contact-strip p { margin: 0; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Products */
.product-card .card-media { aspect-ratio: 1/1; background: #fff; }
.product-card .card-media img { object-fit: contain; padding: 1.2rem; }
.product-card .card-body { background: var(--bg-card); }

/* Projects filters */
.filters {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.4rem;
}
.filter-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: .45rem .95rem;
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  color: var(--text);
  border-color: rgba(240,138,36,.45);
  background: rgba(240,138,36,.1);
}

.project-card[hidden] { display: none !important; }

/* About note */
.note {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid rgba(240,138,36,.55);
  background: rgba(255,255,255,.03);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: .92rem;
}

/* Contact form */
.contact-layout {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem;
}
.form-card, .info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.35rem 1.5rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .88rem; color: var(--muted); margin-bottom: .35rem; }
input, select, textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem .9rem;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(240,138,36,.55);
  box-shadow: 0 0 0 3px rgba(240,138,36,.12);
}
textarea { min-height: 140px; resize: vertical; }
.form-actions { margin-top: 1.1rem; display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.form-hint { color: var(--muted); font-size: .85rem; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-status {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: 10px;
  font-size: .92rem;
  line-height: 1.45;
  border: 1px solid var(--line);
}
.form-status--pending {
  background: var(--bg-soft);
  color: var(--muted);
}
.form-status--ok {
  background: rgba(46, 160, 90, .12);
  border-color: rgba(46, 160, 90, .35);
  color: #b7f0c8;
}
.form-status--err {
  background: rgba(220, 70, 70, .12);
  border-color: rgba(220, 70, 70, .35);
  color: #f5b4b4;
}
button.btn[disabled], button.btn[aria-busy="true"] {
  opacity: .65;
  cursor: wait;
  transform: none !important;
}
.info-list { display: grid; gap: 1rem; margin-top: .4rem; }
.info-item strong { display: block; margin-bottom: .15rem; }
.info-item a { color: var(--orange-2); }
.info-item span, .info-item p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Footer */
.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: #090c11;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-brand img { height: 44px; width: auto; margin-bottom: .8rem; }
.footer-brand p { color: var(--muted); margin: 0; font-size: .92rem; max-width: 22rem; }
.footer-col h4 {
  margin: 0 0 .8rem;
  font-size: .95rem;
  color: var(--text);
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--muted);
  font-size: .92rem;
  margin: 0 0 .45rem;
}
.footer-col a:hover { color: var(--orange-2); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: #7f8a99; font-size: .85rem;
}

/* Utility */
.muted { color: var(--muted); }
.mt-1 { margin-top: .6rem; }
.mt-2 { margin-top: 1.2rem; }
.mb-0 { margin-bottom: 0; }
.text-orange { color: var(--orange-2); }
.pill {
  display: inline-flex; align-items: center;
  padding: .2rem .55rem; border-radius: 999px;
  background: rgba(240,138,36,.12);
  color: var(--orange-2);
  font-size: .78rem; font-weight: 600;
}

.brand-lee {
  max-width: 280px;
  margin-top: 1.2rem;
  opacity: .92;
}

/* Lightbox simple */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.86);
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }

.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
}
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.lightbox-caption {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0,0,0,.65);
  max-width: 40rem;
  padding: 0 .5rem;
}

.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.45);
  color: #fff; font-size: 1.4rem; cursor: pointer;
}


/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  gap: 2px;
  flex-shrink: 0;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .35rem .65rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1.2;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: rgba(240,138,36,.18);
  color: var(--orange-2);
}

/* Responsive */
@media (max-width: 980px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    display: none; flex-direction: column; align-items: stretch;
    background: rgba(11,15,20,.97);
    border-bottom: 1px solid var(--line);
    padding: .8rem;
    gap: .2rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 1rem; border-radius: 10px; }
  .header-cta > .btn { display: none; }
  .lang-switch { margin-right: .15rem; }
  .grid-5, .grid-4, .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero-content { padding-top: 4rem; }
}
