/* =========================================================
   Jiangsu Liangxu Intelligent Technology — Corporate Theme
   Refined navy + gold professional palette.
   ========================================================= */

:root {
  /* Brand */
  --navy:        #0B2545;
  --navy-deep:   #061B36;
  --navy-soft:   #13315C;
  --brand:       #1E5BB8;
  --brand-soft:  #E6EEF9;
  --gold:        #C19553;
  --gold-soft:   #F5EBD9;

  /* Surface */
  --bg:          #FFFFFF;
  --bg-alt:      #F5F8FC;
  --bg-deep:     #0B2545;
  --card:        #FFFFFF;
  --border:      #E4E9F0;
  --border-soft: #EFF2F7;

  /* Ink */
  --ink:         #0E1929;
  --ink-soft:    #4B5868;
  --ink-muted:   #8B95A5;
  --ink-invert:  #F8FAFC;

  /* System */
  --success:     #1F8F5C;
  --danger:      #C5453B;
  --warn:        #C2810E;

  /* Effect */
  --radius-sm:   6px;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-xs:   0 1px 2px rgba(15, 31, 54, 0.06);
  --shadow-sm:   0 6px 16px rgba(15, 31, 54, 0.06);
  --shadow:      0 14px 38px rgba(15, 31, 54, 0.10);
  --shadow-lg:   0 28px 70px rgba(15, 31, 54, 0.16);

  /* Layout */
  --container:   1200px;
  --gutter:      32px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

p { margin: 0 0 16px; color: var(--ink-soft); }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 16px; line-height: 1.25; font-weight: 700; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.gold { color: var(--gold); }

/* =========================================================
   Buttons
   ========================================================= */
.btn,
.form button,
.button-row button,
.delete-form button,
.inline-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.form button:hover,
.button-row button:hover,
.inline-form button:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #1A1206;
}

.btn.primary:hover {
  background: #B0843E;
  border-color: #B0843E;
  color: #1A1206;
}

.btn.ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn.ghost:hover {
  background: var(--bg-alt);
  border-color: var(--navy);
  color: var(--navy);
}

.btn.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.btn.link {
  background: transparent;
  border: none;
  color: var(--brand);
  padding: 0;
  min-height: 0;
  font-weight: 600;
}

.btn.link:hover {
  color: var(--navy);
  background: transparent;
  box-shadow: none;
  transform: none;
}

button.danger,
.delete-form button.danger {
  background: #fff;
  border-color: #E4B0AC;
  color: var(--danger);
}

button.danger:hover {
  background: #FBEDEC;
  border-color: var(--danger);
  color: var(--danger);
}

/* =========================================================
   Header / Footer
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 168px;
  max-height: 52px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.nav a {
  position: relative;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: color 0.18s ease;
}

.nav a:hover { color: var(--brand); }

.nav a.cta {
  margin-left: 10px;
  background: var(--navy);
  color: #fff;
  padding: 10px 20px;
}

.nav a.cta:hover { background: var(--navy-deep); color: #fff; }

.site-footer {
  margin-top: 80px;
  background: var(--navy);
  color: #C9D5E5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 40px;
}

.footer-grid h3 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 18px;
  letter-spacing: 0.05em;
}

.footer-grid p { margin: 6px 0; color: #B7C4D6; font-size: 14px; }

.footer-grid a { color: #C9D5E5; }
.footer-grid a:hover { color: #fff; }

.footer-logo {
  width: 168px;
  margin-bottom: 22px;
  filter: brightness(1.2);
}

.footer-tag {
  color: #B7C4D6;
  font-size: 14px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  color: #8FA0B7;
  font-size: 13px;
}

.footer-legal {
  display: grid;
  gap: 6px;
}

.footer-legal .icp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-legal .icp-links a {
  color: #8FA0B7;
}

.footer-legal .icp-links a:hover {
  color: #fff;
}

.footer-bottom .links a {
  margin-left: 18px;
  color: #8FA0B7;
}
.footer-bottom .links a:hover { color: #fff; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 540px at 80% -10%, rgba(30, 91, 184, 0.10), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(193, 149, 83, 0.10), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 96px 0 104px;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--brand);
  position: relative;
}

.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px; height: 8px;
  background: var(--gold-soft);
  z-index: -1;
}

.hero-copy .lead {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-meta div b {
  display: block;
  font-size: 30px;
  color: var(--navy);
  font-weight: 800;
}

.hero-meta div span {
  color: var(--ink-muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.hero-visual .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}

.hero-visual .frame img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.hero-visual .badge {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 14px;
  background: rgba(11, 37, 69, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: 999px;
}

.hero-visual .float-card {
  position: absolute;
  bottom: -28px;
  right: -16px;
  width: 240px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual .float-card b {
  display: block;
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-visual .float-card span {
  color: var(--ink-soft);
  font-size: 13px;
}

/* =========================================================
   Generic page hero
   ========================================================= */
.page-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 37, 69, 0.88), rgba(11, 37, 69, 0.78)),
    url("/images/collective_activities02.jpg") center / cover no-repeat;
  color: #fff;
  padding: 96px 0 80px;
  border-bottom: 4px solid var(--gold);
}

.page-hero.about-hero {
  background:
    linear-gradient(180deg, rgba(11, 37, 69, 0.86), rgba(11, 37, 69, 0.74)),
    url("/images/nanjing_company.jpg") center / cover no-repeat;
}

.page-hero.jobs-hero {
  background:
    linear-gradient(180deg, rgba(11, 37, 69, 0.86), rgba(11, 37, 69, 0.74)),
    url("/images/collective_activities03.jpg") center / cover no-repeat;
}

.page-hero.detail-hero {
  background:
    linear-gradient(180deg, rgba(11, 37, 69, 0.92), rgba(11, 37, 69, 0.82)),
    url("/images/nanjing_company.jpg") center / cover no-repeat;
}

.page-hero h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  margin: 0;
}

.page-hero .eyebrow {
  color: var(--gold);
}

.page-hero .crumb {
  display: inline-flex;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin-bottom: 22px;
}
.page-hero .crumb a { color: rgba(255, 255, 255, 0.85); }
.page-hero .crumb a:hover { color: #fff; }

/* =========================================================
   Section primitives
   ========================================================= */
.section {
  padding: 96px 0;
}
.section.tight { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.left { text-align: left; margin-left: 0; }

.section-head h2 {
  font-size: 36px;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.section-head p {
  font-size: 17px;
  color: var(--ink-soft);
}

.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-row h2 {
  font-size: 32px;
  margin: 0;
}

/* =========================================================
   Capability cards (services)
   ========================================================= */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.capability-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #D8DFE9;
}

.capability-card .num {
  display: inline-block;
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.capability-card .icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft);
  margin-bottom: 18px;
}

.capability-card .icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.capability-card h3 {
  font-size: 19px;
  margin: 0 0 10px;
}

.capability-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* =========================================================
   Highlight (split with image)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split.reverse > :first-child { order: 2; }

.split-text-only {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.split-text-only .copy {
  max-width: 860px;
}

.split .copy h2 {
  font-size: 34px;
  margin: 0 0 18px;
  letter-spacing: -0.005em;
}

.split .copy ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.split .copy ul li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px dashed var(--border);
  color: var(--ink-soft);
}

.split .copy ul li:last-child { border-bottom: none; }

.split .copy ul li::before {
  position: absolute;
  left: 0;
  top: 14px;
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.split .visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

/* =========================================================
   Brands
   ========================================================= */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.brand-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.brand-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.brand-card .mark {
  width: 120px;
  height: 80px;
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.brand-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.brand-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* =========================================================
   Stats band
   ========================================================= */
.stats-band {
  background: var(--navy);
  color: #fff;
  padding: 68px 0;
}

.stats-band .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-band .stats div b {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.05;
}

.stats-band .stats div span {
  display: block;
  margin-top: 8px;
  color: #B7C4D6;
  font-size: 14px;
  letter-spacing: 0.04em;
}

/* =========================================================
   Locations grid
   ========================================================= */
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.location-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.location-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.location-placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #F2F5F9 0%, #E7EDF5 100%);
  color: var(--navy);
}

.location-placeholder span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 28px rgba(16, 34, 59, 0.08);
}

.location-placeholder small {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.location-card .meta {
  padding: 18px 20px 22px;
}

.location-card .meta .tag {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}

.location-card .meta h3 {
  font-size: 18px;
  margin: 6px 0 4px;
}

.location-card .meta p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* =========================================================
   Culture / values
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  padding: 36px 30px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  border-color: #D5DCE8;
  box-shadow: var(--shadow-sm);
}

.value-card .num {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 44px;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

.value-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.value-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* =========================================================
   News timeline
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.news-card img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.news-card .body {
  padding: 22px 24px;
}

.news-card .meta {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.news-card p { margin: 0; font-size: 14.5px; }


/* =========================================================
   Articles / reflections
   ========================================================= */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-card,
.article-row {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card {
  padding: 28px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-card:hover,
.article-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #D8DFE9;
}

.article-card .tag,
.article-row .tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(196, 150, 75, 0.14);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.article-card h3,
.article-row h2 {
  margin: 0;
  color: var(--ink);
}

.article-card h3 { font-size: 20px; }
.article-row h2 { font-size: 24px; }

.article-card p,
.article-row p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.article-card time,
.article-row time {
  margin-top: auto;
  color: var(--ink-muted);
  font-size: 13px;
}

.article-card a.cover {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 24px;
  align-items: start;
  padding: 30px;
}

.article-detail {
  max-width: 860px;
}

.article-summary {
  margin: 0 0 28px;
  padding: 22px 26px;
  border-left: 4px solid var(--gold);
  background: var(--bg-alt);
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.article-body p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.95;
}

.article-actions { margin-top: 36px; }

.empty-note,
.empty-state p {
  color: var(--ink-soft);
}

.empty-state {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* =========================================================
   Jobs preview / list
   ========================================================= */
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.job-card {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.job-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.job-card .tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 143, 92, 0.12);
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
}

.job-card h3 {
  font-size: 19px;
  margin: 14px 0 8px;
}

.job-card .place {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.job-card .pay {
  display: block;
  font-size: 18px;
  color: var(--gold);
  font-weight: 700;
}

.job-card a.cover {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.job-list {
  display: grid;
  gap: 14px;
}

.job-list article {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 22px;
  align-items: center;
  padding: 22px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.job-list article:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.job-list .index {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 28px;
  color: var(--gold);
  font-weight: 700;
}

.job-list h3 { font-size: 18px; margin: 0 0 4px; }
.job-list .place { color: var(--ink-soft); font-size: 13.5px; }
.job-list .pay { color: var(--navy); font-weight: 700; font-size: 16px; }

/* =========================================================
   Job detail
   ========================================================= */
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 20px;
  font-size: 14px;
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 999px;
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.panel h2 {
  font-size: 22px;
  margin: 0 0 12px;
}

.panel h2:not(:first-child) { margin-top: 28px; }

.panel p { color: var(--ink-soft); }

.apply-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 96px;
}

.apply-panel h2 { font-size: 22px; margin: 6px 0 18px; }

/* =========================================================
   Forms
   ========================================================= */
.form label {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="file"],
.form textarea,
.form select,
.inline-form select {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14.5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form input:focus,
.form textarea:focus,
.form select:focus,
.inline-form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(30, 91, 184, 0.15);
}

.form textarea { resize: vertical; min-height: 110px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Flash */
.flash {
  margin: 16px 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
}

.flash.success {
  background: rgba(31, 143, 92, 0.08);
  border-color: rgba(31, 143, 92, 0.28);
  color: var(--success);
}

.flash.error {
  background: rgba(197, 69, 59, 0.08);
  border-color: rgba(197, 69, 59, 0.28);
  color: var(--danger);
}

/* =========================================================
   Resume success
   ========================================================= */
.success-page {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 72px 24px;
}

.success-page .check {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: rgba(31, 143, 92, 0.12);
  display: grid;
  place-items: center;
  color: var(--success);
  font-size: 36px;
  font-weight: 700;
}

.success-page h1 {
  font-size: 32px;
  margin: 0 0 12px;
}

.success-page p {
  font-size: 16px;
  color: var(--ink-soft);
}

.success-page .actions {
  margin-top: 28px;
  display: inline-flex;
  gap: 12px;
}

/* =========================================================
   Contact band
   ========================================================= */
.contact-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-grid .info p {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

.contact-grid .info p strong {
  display: inline-block;
  min-width: 64px;
  color: var(--ink);
  font-weight: 600;
}

.contact-grid .visual img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 360px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* =========================================================
   CTA strip
   ========================================================= */
.cta-strip {
  background:
    linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.cta-strip::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(193, 149, 83, 0.35), transparent 70%);
}

.cta-strip h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 26px;
}

.cta-strip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-strip .btn {
  background: var(--gold);
  border-color: var(--gold);
  color: #1A1206;
}
.cta-strip .btn:hover {
  background: #B0843E;
  border-color: #B0843E;
}

/* =========================================================
   Admin
   ========================================================= */
.admin-body {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--bg-alt);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 18px;
  background: var(--navy);
  color: #C9D5E5;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-brand {
  display: grid;
  gap: 6px;
  padding: 10px 8px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
  color: #fff;
}

.admin-brand img {
  width: 132px;
  filter: brightness(1.2);
}

.admin-brand span {
  font-size: 12px;
  color: #8FA0B7;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-nav {
  display: grid;
  gap: 4px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: #C9D5E5;
  font-size: 14.5px;
  font-weight: 500;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.admin-main {
  padding: 36px 40px 60px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  gap: 20px;
}

.admin-top h1 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
}

.admin-top .eyebrow { margin-bottom: 6px; }

.admin-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-xs);
}

.admin-panel h2 {
  margin: 0 0 18px;
  font-size: 19px;
  color: var(--ink);
}

.admin-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.admin-shortcuts a {
  display: block;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-shortcuts a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--navy);
}

.admin-shortcuts a span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.admin-shortcuts a strong {
  display: block;
  font-size: 17px;
  color: var(--ink);
  font-weight: 700;
}

.admin-shortcuts a small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-soft);
}

.admin-job-list {
  display: grid;
  gap: 16px;
}

.admin-job-list article {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.admin-job-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}

.admin-job-head h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.admin-job-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--ink-soft);
}

.status.open {
  background: rgba(31, 143, 92, 0.12);
  color: var(--success);
}

.status.closed {
  background: rgba(139, 149, 165, 0.18);
  color: var(--ink-soft);
}

.compact-form .form-grid {
  grid-template-columns: 1.2fr 1fr 1fr 130px;
}

.compact-form textarea { margin-bottom: 12px; }

.button-row,
.delete-form {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.table th,
.table td {
  border-bottom: 1px solid var(--border);
  padding: 14px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--ink);
}

.table th {
  background: var(--bg-alt);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.table tbody tr:hover { background: #F9FBFE; }

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-form button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

/* Login */
.login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  background:
    radial-gradient(800px 420px at 50% -20%, rgba(30, 91, 184, 0.18), transparent 70%),
    var(--navy);
  color: #fff;
}

.login-box {
  width: min(420px, calc(100% - 40px));
  padding: 36px 32px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.login-box h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.login-box .sub {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}

.login-box button { width: 100%; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero-copy h1 { font-size: 44px; }
  .capability-grid,
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 980px) {
  .hero-inner,
  .split,
  .contact-grid,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split.reverse > :first-child { order: 0; }

  .hero-visual .float-card { right: 24px; }

  .brand-grid,
  .news-grid,
  .values-grid,
  .article-grid,
  .job-grid,
  .footer-grid,
  .admin-shortcuts,
  .stats-band .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-main { padding: 24px 20px 40px; }

  .cta-strip { padding: 36px; }

  .compact-form .form-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }

  .header-inner { min-height: 64px; gap: 12px; }
  .brand img { width: 132px; }

  .nav { display: none; }

  .hero-inner { padding: 56px 0 64px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-copy .lead { font-size: 16px; }
  .hero-meta { gap: 18px; }
  .hero-meta div b { font-size: 24px; }

  .page-hero { padding: 64px 0 56px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 16px; }

  .section { padding: 64px 0; }
  .section-head h2,
  .section-row h2,
  .split .copy h2,
  .cta-strip h2 { font-size: 26px; }

  .capability-grid,
  .brand-grid,
  .news-grid,
  .values-grid,
  .article-grid,
  .job-grid,
  .location-grid,
  .stats-band .stats,
  .footer-grid,
  .admin-shortcuts {
    grid-template-columns: 1fr;
  }

  .news-card,
  .article-row { grid-template-columns: 1fr; }
  .job-list article { grid-template-columns: 1fr; gap: 8px; }
  .compact-form .form-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .cta-strip { padding: 28px; flex-direction: column; align-items: flex-start; }
}
