:root {
  --ink: #17212b;
  --muted: #62707f;
  --line: #dfe6ec;
  --paper: #f7f4ee;
  --white: #ffffff;
  --gold: #b78a3c;
  --teal: #145c63;
  --wine: #7c2536;
  --charcoal: #23313c;
  --shadow: 0 24px 70px rgba(20, 33, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(12, 22, 30, 0.82), rgba(12, 22, 30, 0.28));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 212px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.nav a:hover,
.header-cta:hover {
  color: var(--white);
}

.header-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 20, 29, 0.9) 0%, rgba(10, 20, 29, 0.64) 42%, rgba(10, 20, 29, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 20, 29, 0.2) 64%, var(--paper) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 108px);
  padding-top: 86px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 630px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0 44px;
}

.primary-button,
.secondary-button,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  font-weight: 800;
}

.primary-button,
.lead-form button {
  color: #161d24;
  background: linear-gradient(135deg, #e8c77a, var(--gold));
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics div {
  padding: 18px 18px 18px 0;
}

.hero-metrics strong {
  display: block;
  color: #f2cf7f;
  font-size: 34px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.section,
.intro-band,
.process-band {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  background: var(--paper);
}

.intro-grid,
.client-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
}

.intro-grid p,
.section-heading p,
.client-layout p,
.contact-layout p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: end;
}

.section-heading.left {
  margin-bottom: 0;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.advantage-grid article,
.product-card,
.client-panel,
.lead-form {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(174, 186, 194, 0.55);
  box-shadow: 0 14px 40px rgba(35, 49, 60, 0.06);
}

.advantage-grid article {
  min-height: 270px;
  padding: 28px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  color: var(--gold);
  border: 1px solid rgba(183, 138, 60, 0.42);
  font-weight: 800;
}

.advantage-grid p,
.product-card p {
  color: var(--muted);
  line-height: 1.75;
}

.product-section,
.contact-section {
  background: #ffffff;
}

.product-list {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.product-card {
  min-height: 238px;
  padding: 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card.featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background: linear-gradient(145deg, var(--teal), #1c3c4b);
  border: 0;
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 138, 60, 0.58);
  box-shadow: 0 22px 54px rgba(35, 49, 60, 0.12);
}

.product-card.featured:hover {
  box-shadow: 0 30px 76px rgba(20, 92, 99, 0.28);
}

.product-card.featured p,
.product-card.featured li {
  color: rgba(255, 255, 255, 0.8);
}

.product-card.featured ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.product-card.featured li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.pill {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  color: var(--wine);
  background: rgba(124, 37, 54, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.featured .pill {
  color: #f3d68a;
  background: rgba(255, 255, 255, 0.12);
}

.card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--teal);
  font-weight: 800;
}

.card-link::after {
  content: ">";
  margin-left: 9px;
  transition: transform 0.2s ease;
}

.featured .card-link {
  color: #f3d68a;
}

.product-card:hover .card-link::after {
  transform: translateX(4px);
}

.client-section {
  background: linear-gradient(180deg, var(--paper), #edf2f2);
}

.client-panel {
  padding: 12px 30px;
}

.client-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.client-row:last-child {
  border-bottom: 0;
}

.client-row strong {
  color: var(--teal);
  font-size: 18px;
}

.client-row span {
  color: var(--muted);
  line-height: 1.6;
}

.process-band {
  color: var(--white);
  background: var(--charcoal);
}

.process-band .section-heading h2 {
  color: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.process-grid div {
  min-height: 178px;
  padding: 28px;
  background: var(--charcoal);
}

.process-grid b,
.process-grid span {
  display: block;
}

.process-grid b {
  margin-bottom: 18px;
  color: #f0c66e;
  font-size: 20px;
}

.process-grid span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.contact-layout {
  align-items: start;
}

.contact-note {
  margin-top: 30px;
  padding: 20px;
  color: #6a5a33;
  background: #f8edd3;
  border-left: 4px solid var(--gold);
  line-height: 1.7;
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid #cad5dd;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 92, 99, 0.14);
}

.lead-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-status {
  min-height: 26px;
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: #121b22;
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  color: var(--white);
}

.footer a {
  color: #f0c66e;
}

.detail-page {
  background: #ffffff;
}

.detail-header {
  background: rgba(18, 27, 34, 0.94);
}

.detail-hero {
  padding: 154px 0 82px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 92, 99, 0.96), rgba(35, 49, 60, 0.96)),
    radial-gradient(circle at 78% 18%, rgba(232, 199, 122, 0.26), transparent 34%);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
}

.detail-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5vw, 68px);
}

.detail-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.85;
}

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

.secondary-button.light {
  color: var(--white);
}

.detail-summary {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.18);
}

.detail-summary strong,
.detail-summary span {
  display: block;
}

.detail-summary strong {
  margin-bottom: 14px;
  color: #f3d68a;
  font-size: 20px;
}

.detail-summary span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.detail-content .section-heading {
  margin-bottom: 30px;
}

.detail-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-grid article,
.case-card {
  border: 1px solid rgba(174, 186, 194, 0.58);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(35, 49, 60, 0.06);
}

.detail-grid article {
  min-height: 230px;
  padding: 28px;
}

.detail-grid p,
.case-card p {
  color: var(--muted);
  line-height: 1.78;
}

.case-section {
  background: linear-gradient(180deg, var(--paper), #ffffff);
}

.case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-card {
  min-height: 292px;
  padding: 32px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.case-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 800;
}

.case-card b {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
}

.case-card b::after {
  content: ">";
  margin-left: 9px;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 138, 60, 0.58);
  box-shadow: 0 22px 54px rgba(35, 49, 60, 0.12);
}

.case-hero {
  background:
    linear-gradient(135deg, rgba(124, 37, 54, 0.94), rgba(35, 49, 60, 0.97)),
    radial-gradient(circle at 78% 18%, rgba(232, 199, 122, 0.25), transparent 34%);
}

.case-detail-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.case-detail-panel {
  min-height: 100%;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(174, 186, 194, 0.58);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(35, 49, 60, 0.06);
}

.case-detail-panel h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.case-detail-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-detail-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.case-detail-list li::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
}

.case-number-panel {
  min-height: auto;
}

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

.number-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fbfcfd;
}

.number-grid span,
.number-grid strong {
  display: block;
}

.number-grid span {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.number-grid strong {
  color: var(--teal);
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.15;
}

.flush-section {
  padding-top: 0;
}

.source-panel a {
  color: var(--teal);
  font-weight: 800;
}

.small-disclaimer {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.lead-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(174, 186, 194, 0.58);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(35, 49, 60, 0.06);
}

.lead-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

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

.lead-table th {
  color: var(--teal);
  background: #f7f9fa;
  font-weight: 800;
}

.lead-table td {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .intro-grid,
  .client-layout,
  .contact-layout,
  .section-heading.split,
  .detail-hero-grid,
  .case-detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .advantage-grid,
  .process-grid,
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 790px;
  }

  .hero-content {
    width: min(100% - 32px, 560px);
    margin: 0 auto;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-metrics,
  .advantage-grid,
  .product-list,
  .process-grid,
  .detail-grid,
  .case-grid,
  .number-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .advantage-grid article,
  .product-card,
  .process-grid div,
  .detail-grid article,
  .case-card {
    min-height: auto;
  }

  .client-panel {
    padding: 8px 20px;
  }

  .client-row {
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
    padding: 20px 0;
  }

  .footer {
    display: block;
  }
}
