/* 신성타공사 — 1안 흰 지면 기업형 */
:root {
  --ink: #1a1916;
  --muted: #5c5a55;
  --ash: #5c5a55;
  --charcoal: #1c1b18;
  --paper: #f7f5f1;
  --ground: #ffffff;
  --card: #ffffff;
  --line: #e4e0d8;
  --teal: #243c84;
  --teal-hover: #2f4ba0;
  --teal-ink: #1a2a5c;
  --gold: #f0a020;
  --brass: #f0a020;
  --header-h: 96px;
  --bar-h: 54px;
  --sans: "NanumSquareNeoVariable", "NanumSquareNeo", "Apple SD Gothic Neo", sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: #ffffff;
  background-image: url("../images/bg-page.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.75;
  font-size: 18px;
  letter-spacing: -0.01em;
  padding-top: var(--header-h);
  padding-bottom: var(--bar-h);
  -webkit-font-smoothing: antialiased;
}
body.is-home { padding-top: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-hover); }
button, input, select, textarea { font-family: inherit; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 80; }

/* Header — charcoal */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  background: #243c84;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(26, 25, 22, 0.04);
}
.header-inner {
  width: calc(100% - 48px);
  max-width: none;
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 14px;
  color: #1a1916; flex-shrink: 0;
}
.logo:hover { color: var(--teal); }
.logo-mark { width: 62px; height: 62px; flex-shrink: 0; object-fit: contain; display: block; }
.logo-name {
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.logo-sub {
  display: block;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #5c5a55;
  margin-top: 3px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav { display: flex; align-items: center; margin-left: 0; }
.nav > li, .nav-list > li { list-style: none; }
.nav, .nav-list { margin: 0; padding: 0; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav a, .nav button.has-sub {
  display: block;
  padding: 10px 16px;
  color: #1a1916;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.nav a:hover, .nav button.has-sub:hover,
.nav a.is-on, .nav button.has-sub.is-on { color: var(--teal); }
.drop { position: relative; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 168px;
  background: #ffffff;
  border: 1px solid #e4e0d8;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(26, 25, 22, 0.08);
}
.drop:hover .drop-menu,
.drop:focus-within .drop-menu,
.drop.open .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: 8px 16px;
  color: #1a1916;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.drop-menu a:hover { background: #f7f5f1; color: var(--teal); }
.header-tel {
  display: inline-flex; align-items: center;
  margin-left: 4px;
  padding: 8px 16px;
  background: transparent;
  color: var(--teal) !important;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  border: 1px solid var(--teal);
  border-radius: 999px;
}
.header-tel:hover {
  background: var(--teal);
  color: #fff !important;
  border-color: var(--teal);
}
.nav-toggle {
  display: none;
  margin-left: 8px;
  min-width: 44px; height: 40px;
  padding: 0 10px;
  border: 1px solid #e4e0d8;
  background: transparent;
  color: #1a1916;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}

/* Hero 60vh, left-only overlay */
.hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  max-height: 60vh;
  display: flex;
  align-items: flex-end;
  color: #f7f4ef;
  background: #c8c4bc url("../images/hero.jpg") center 40% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 11, 9, 0.55) 0%,
    rgba(12, 11, 9, 0.22) 38%,
    rgba(12, 11, 9, 0.04) 68%,
    rgba(12, 11, 9, 0) 100%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 36px;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(247, 244, 239, 0.86);
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(38px, 4vw, 48px);
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  max-width: 16em;
}
.hero p.lead {
  margin: 0 0 22px;
  max-width: 28em;
  color: rgba(247, 244, 239, 0.9);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 0;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-hover); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-line {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn-line:hover { background: var(--teal); color: #fff; }

/* Trust strip — header navy, full width */
.trust {
  background: #243c84;
  padding: 0;
  border-bottom: 0;
}
.trust .wrap {
  width: calc(100% - 48px);
  max-width: none;
  margin: 0 auto;
}
.trust-grid,
.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  width: 100%;
}
.trust-cell {
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.22);
  padding: 16px 20px;
  text-align: left;
}
.trust-cell:last-child { border-right: 0; }
.trust-cell small,
.trust-cell span {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,.75);
  margin-top: 6px;
  letter-spacing: -0.01em;
}
.trust-cell b {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

/* Sections */
.sec { padding: 80px 0; }
.sec-tight { padding: 64px 0; }
.sec-paper { background: transparent; }
.sec h2 {
  font-size: clamp(28px, 2.8vw, 34px);
  letter-spacing: -0.025em;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 8px;
}
.sec-head { margin-bottom: 32px; }
.sec-head p, .sec-head .helper {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 40em;
  line-height: 1.7;
  font-size: 18px;
  font-weight: 400;
}
.kicker {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 8px;
}

/* Product cards — photo then caption below */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quiet-row { margin-top: 16px; }
.prod-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  color: inherit;
}
.prod-card:hover { color: inherit; }
.prod-photo {
  overflow: hidden;
  background: #c8ccd0;
  aspect-ratio: 4 / 3;
}
.prod-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.prod-card:hover img { transform: scale(1.06); }
.prod-meta { padding: 14px 16px 16px; }
.prod-meta strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.prod-meta span {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: -0.01em;
}


/* Photo cards — name + spec, overlay readable */
.photo-card {
  position: relative;
  display: block;
  min-height: 240px;
  overflow: hidden;
  background: #2a2722;
  color: #f4efe6;
}
.photo-card img {
  width: 100%; height: 240px;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.photo-card:hover img { transform: scale(1.06); }
.photo-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(14, 12, 10, 0.9));
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.photo-card .cap strong {
  display: block;
  font-size: 17px;
  font-weight: 650;
  color: #f4efe6;
}
.photo-card .cap em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-weight: 400;
  font-size: 14.5px;
  color: #d8d0c4;
  letter-spacing: 0;
}
.photo-card.quiet { min-height: 168px; }
.photo-card.quiet img { height: 168px; }

/* Uses — photo + line below */
.use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.use-item {
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  color: inherit;
}
.use-item:hover { color: inherit; }
.use-item img {
  width: 100%; height: 168px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.use-item:hover img { transform: scale(1.05); }
.use-item div { padding: 14px 16px 16px; }
.use-item strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.use-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Cases — white paper, 예시 badges */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.case-tile {
  position: relative;
  overflow: hidden;
  background: #ddd9d0;
  border: 1px solid var(--line);
}
.case-tile img {
  width: 100%; height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.case-tile:hover img { transform: scale(1.05); }
.badge-ex {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 13px;
  font-style: normal;
  letter-spacing: -0.01em;
  padding: 3px 8px;
  border: 1px solid var(--line);
  font-weight: 500;
}
.case-tile span.cap {
  position: absolute; bottom: 12px; left: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

.cases-band { background: transparent; }

/* Quote six white cards */
.check-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 28px 0 28px;
}
.check-item {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px 12px;
  text-align: center;
}
.check-item b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.check-item span { font-size: 15px; color: var(--muted); }

/* Contact strip */
.contact-strip {
  background: var(--teal-ink);
  color: #d5d8e8;
  padding: 28px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 20px;
}
.contact-grid a, .contact-grid p { color: #ece8e0; margin: 0; font-size: 1.05rem; }
.contact-grid a:hover { color: #fff; }
.contact-grid small {
  display: block;
  color: #9aa3c2;
  font-size: 14px;
  margin-bottom: 5px;
  font-weight: 400;
}
.contact-grid strong { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }

/* Footer */
.site-footer {
  background: #151d42;
  color: #b8bdd0;
  padding: 48px 0 36px;
  font-size: 16px;
  line-height: 1.7;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px 28px;
}
.foot-name {
  display: block;
  color: #f4f1eb;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.foot-label {
  color: #c4bfb6;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 12px;
}
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #c5cad8; }
.site-footer a:hover { color: var(--gold); }
.site-footer .copy {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #2a2824;
  color: #6e6a64;
  font-size: 14px;
}

/* Page hero */
.page-hero {
  background: #2a2c2e url("../images/metal.jpg") center/cover;
  color: #f4f1eb;
  min-height: 220px;
  padding: 48px 0 40px;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 9, 0.5) 0%, rgba(12, 11, 9, 0.18) 70%, rgba(12, 11, 9, 0.06) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); }
.page-hero h1 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  line-height: 1.28;
  font-weight: 700;
}
.page-hero p { margin: 0; color: rgba(244, 241, 235, 0.88); max-width: 38em; line-height: 1.7; font-size: 18px; }
.page-hero .eyebrow { margin-bottom: 8px; color: rgba(244, 241, 235, 0.78); }

/* Content */
.prose { max-width: 42em; }
.prose h2 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 1.6em 0 0.4em;
  font-weight: 700;
}
.prose p { margin: 0 0 1.1em; }
.prose ul { padding-left: 1.15em; }
.prose li { margin: 0.35em 0; }
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.split img { width: 100%; height: 360px; object-fit: cover; border: 1px solid var(--line); background: #c8ccd0; }
.note {
  background: #eef3f2;
  border-left: 2px solid var(--teal);
  padding: 14px 16px;
  font-size: 16.5px;
  color: #243834;
}
.mat-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.mat-list li {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 6px 12px;
  font-size: 16px;
}

/* Form */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 36px;
}
.form .full { grid-column: 1 / -1; }
.form label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--ink);
}
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 14px;
  font-size: 17px;
  border-radius: 0;
}
.form textarea { min-height: 128px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 74, 71, 0.14);
}
.helper { color: var(--muted); font-size: 16px; margin: 0 0 10px; line-height: 1.7; }
.form-msg {
  display: none;
  grid-column: 1 / -1;
  padding: 12px 14px;
  background: #eef3f2;
  color: var(--teal-ink);
}

/* Location */
.loc-box {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 36px;
}
.loc-box h2 { margin-top: 0; }
.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 1px solid var(--line);
  background: #fff;
}
.map-frame p { margin-top: 10px; font-size: 16px; }
.map-placeholder {
  min-height: 240px;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 27px, var(--line) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, var(--line) 28px),
    #fff;
  color: var(--muted);
  text-align: center;
  padding: 24px;
  border: 1px solid var(--line);
}

/* Mobile bar */
.mob-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  height: var(--bar-h);
  background: #1a1916;
  border-top: 1px solid #2e2c28;
}
.mob-bar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  color: #f4f1eb;
  font-weight: 600;
  font-size: 16px;
}
.mob-bar a + a { background: var(--teal); }

/* Product subnav */
.subnav {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 0 36px;
}
.subnav a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
}
.subnav a.on, .subnav a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.more-row { margin-top: 28px; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.36s ease, transform 0.36s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

.loc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.calc-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}
.calc-result {
  background: var(--teal);
  color: #f4f1eb;
  padding: 32px 28px;
  min-height: 280px;
}
.calc-result .label {
  font-size: 15px;
  color: #c5cad8;
  margin: 0 0 8px;
}
.calc-result .pct {
  font-size: clamp(3.4rem, 8vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}
.calc-result .pct small { font-size: 0.42em; margin-left: 4px; font-weight: 600; }
.calc-result p { margin: 0 0 10px; color: #d5dae8; font-size: 17px; }
.calc-result .warn { color: #f0e2b8; }
.pattern-help { font-size: 16px; color: var(--muted); margin: 10px 0 0; }

.diag-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.diag-card {
  margin: 0;
  padding: 0;
  border: 2px solid var(--line);
  background: var(--card);
  cursor: pointer;
  text-align: left;
  display: block;
  width: 100%;
}
.diag-card img { width: 100%; height: auto; display: block; }
.diag-card.is-on {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}
.diag-card:hover { border-color: var(--teal); }
.is-hidden, [hidden] { display: none !important; }
.form .is-hidden, .form [hidden] { display: none !important; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .use-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .check-row { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header { overflow: visible; }
  .header-inner { position: relative; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #ffffff;
    padding: 8px 0 20px;
    border-bottom: 1px solid rgba(184, 146, 74, 0.35);
    box-shadow: 0 12px 24px rgba(26, 25, 22, 0.12);
    max-height: calc(100vh - 56px - 54px);
    max-height: calc(100dvh - 56px - 54px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 60;
  }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a,
  .nav button.has-sub {
    color: #1a1916;
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    justify-content: flex-start;
  }
  .drop-menu {
    position: static;
    display: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 8px 12px;
  }
  .drop.open .drop-menu { display: block; }
  .drop-menu a { padding: 7px 12px; font-size: 16px; color: #5c5a55; }
  .case-grid, .grid-3 { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .mob-bar { display: flex; }
  .header-tel { display: none; }
  .hero { height: 60vh; min-height: 360px; max-height: 60vh; }
  .hero-inner { padding: 72px 0 28px; }
  .sec { padding: 56px 0; }
  .page-hero { min-height: 180px; padding: 36px 0 28px; }
  .calc-grid { grid-template-columns: 1fr; }
  .diag-row { grid-template-columns: 1fr; }
  .loc-split { grid-template-columns: 1fr; }
  .header-inner { min-height: 56px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .trust-grid, .trust-row { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .trust-cell { padding: 14px 4px 12px; }
  .trust-cell b { font-size: 1.22rem; }
}
@media (max-width: 520px) {
  .grid-4, .use-grid, .case-grid, .grid-3, .contact-grid, .check-row, .grid-2, .foot-grid {
    grid-template-columns: 1fr;
  }
  .check-row { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .trust-grid, .trust-row { grid-template-columns: 1fr 1fr 1fr; }
  .hero { height: 60vh; max-height: 60vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .prod-card img, .photo-card img, .use-item img, .case-tile img { transition: none; }
}

/* === 1AN-APPROVED === */
.site-header,
body.is-home .site-header,
body.is-home .site-header.is-scrolled,
body.is-home .site-header:has(.nav.open) {
  position: sticky !important;
  background: #243c84 !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  backdrop-filter: none !important;
}
.logo, .nav-list > li > a, .nav button.has-sub { color: #ffffff !important; }
.logo-sub { color: rgba(255,255,255,.72) !important; }
.nav-list > li > a:hover, .nav button.has-sub:hover,
.nav-list > li > a.is-on, .nav button.has-sub.is-on { color: #c5d4f5 !important; }
.drop-menu a { color: #1a1916 !important; }
.drop-menu a:hover, .drop-menu a.is-on { color: #243c84 !important; background: #f4f6fb !important; }
.header-tel { color: #ffffff !important; border-color: #ffffff !important; background: transparent !important; }
.header-tel:hover { background: #ffffff !important; color: #243c84 !important; }
.nav-toggle { color: #ffffff !important; border-color: rgba(255,255,255,.4) !important; }
.hero { height: 60vh !important; min-height: 360px !important; max-height: 60vh !important; }
.hero::after {
  background: linear-gradient(90deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,.22) 38%, rgba(10,9,8,.05) 62%, rgba(10,9,8,0) 100%) !important;
}
.kicker { color: #5c5a55 !important; letter-spacing: 0; font-weight: 400; font-size: 15px; }
body { background-color: #ffffff !important; }
.trust { background: #243c84 !important; }
.trust .wrap { width: calc(100% - 48px) !important; max-width: none !important; margin: 0 auto !important; }
.trust-cell { background: transparent !important; border: 0; border-right: 1px solid rgba(255,255,255,.22); }
.trust-cell b { color: #ffffff !important; }
.trust-cell span { color: rgba(255,255,255,.75) !important; }
.check-item { background: #fff !important; }
@media (max-width: 760px) {
  .hero { height: 60vh !important; max-height: 60vh !important; }
  .nav {
    background: #fff !important;
    max-height: calc(100vh - 56px - 54px) !important;
    max-height: calc(100dvh - 56px - 54px) !important;
    overflow-y: auto !important;
  }
  .nav-list > li > a,
  .nav button.has-sub {
    color: #1a1916 !important;
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    justify-content: flex-start;
  }
  .nav-list > li > a:hover,
  .nav button.has-sub:hover,
  .nav-list > li > a.is-on,
  .nav button.has-sub.is-on {
    color: #243c84 !important;
  }
  .drop-menu {
    display: none !important;
  }
  .drop.open .drop-menu {
    display: block !important;
  }
  .drop-menu a { color: #5c5a55 !important; }
  .drop-menu a:hover,
  .drop-menu a.is-on { color: #243c84 !important; }
  body.nav-open { overflow: hidden; }
}

/* === R2 === */
.page-hero {
  background: transparent !important;
  color: #1a1916 !important;
  min-height: 0 !important;
  padding: 36px 0 8px !important;
  border-bottom: 0;
}
.page-hero::after { display: none !important; }
.page-hero p, .page-hero .eyebrow { color: #5c5a55 !important; }
.case-grid-3 { grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; background: transparent !important; }
.case-grid-3 .case-tile { background: #fff; }
.case-grid-3 .badge-ex, .case-grid-3 .cap { display: none !important; }
.case-grid-3 .case-tile img { height: 220px; }

/* === R3 === */
a.trust-cell {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.trust-cell:hover {
  border-color: rgba(255,255,255,.4);
}
a.trust-cell:hover b { color: #c5d4f5; }

/* === LOGO === */
img.logo-mark { background: transparent; }

.case-add {
  margin-top: 48px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}
.case-add h2 { margin: 0 0 8px; font-size: 23px; }
.case-add > p { color: var(--muted); margin: 0 0 18px; }
.case-add .form { margin: 0; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-tile { position: relative; background: #fff; border: 1px solid var(--line); }
.case-tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.case-tile .cap { display: block; padding: 12px 14px 4px; font-weight: 700; }
.case-tile .spec { display: block; padding: 0 14px 14px; color: var(--muted); font-size: 16px; }
@media (max-width: 760px) {
  .case-grid { grid-template-columns: 1fr 1fr; }
  .logo-name { font-size: 1.5rem; }
}

.greet { max-width: 720px; }
.greet p { font-size: 19px; line-height: 1.95; margin: 0 0 1.15em; }
.greet-lead { font-weight: 600; font-size: 20px; }
.greet-sign { margin-top: 28px; font-weight: 700; }
.greet-end {
  margin: 56px 0 0;
  text-align: center;
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.35;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 3px;
}
@media (max-width: 760px) {
  .greet-end { font-size: 32px; text-underline-offset: 6px; }
}

.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.idea-card {
  background: var(--teal);
  color: #f3eee4;
  padding: 36px 28px 32px;
  text-align: center;
  min-height: 280px;
}
.idea-card.idea-mid { background: var(--teal-hover); }
.idea-card.idea-dark { background: var(--teal-ink); }
.idea-ico { width: 40px; height: 40px; margin: 0 auto 18px; display: block; color: var(--gold); }
.idea-card h2 {
  margin: 0 0 14px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.idea-card p { margin: 0; font-size: 17px; line-height: 1.75; color: #e8e4dc; }
.idea-end {
  margin: 48px 0 0;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.4;
  color: var(--teal);
}
@media (max-width: 760px) {
  .idea-grid { grid-template-columns: 1fr; }
  .idea-end { font-size: 23px; }
}

.greet-split {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.greet-photo { text-align: center; }
.greet-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  background: #1a2a5c;
}
.greet-photo p {
  margin: 12px 0 0;
  font-weight: 700;
  font-size: 17px;
}
@media (max-width: 760px) {
  .greet-split { grid-template-columns: 1fr; }
  .greet-photo { max-width: 260px; margin: 0 auto; }
}

.about-overview { max-width: 46em; }
.fact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  max-width: 720px;
}
.fact-row li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 24px;
}
.fact-row b {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: var(--teal);
  margin-bottom: 6px;
}
.fact-row span { color: var(--muted); font-size: 17px; }
@media (max-width: 760px) {
  .fact-row { grid-template-columns: 1fr; }
}

.history {
  position: relative;
  background: #fff;
  padding: 88px 0 96px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.history::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: -18%;
  width: 42%;
  height: 70%;
  background: url("../images/metal.jpg") center / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.history .wrap { position: relative; z-index: 1; }
.history h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal-ink);
}
.history-sub {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 17px;
}
.history-sub::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--teal);
  margin: 18px auto 0;
}
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 760px;
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 52px;
  height: 3px;
  background: var(--teal);
}
.timeline li {
  position: relative;
  padding: 0 16px 0;
}
.timeline time {
  display: block;
  height: 40px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--teal);
}
.timeline li::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 4px auto 18px;
  background: #fff;
  border: 4px solid var(--teal);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}
.timeline strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--teal-ink);
  letter-spacing: -0.02em;
}
.timeline span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 16px;
}
.history-end {
  margin: 48px auto 0;
  max-width: 28em;
  color: #5c5a55;
  font-size: 17px;
  line-height: 1.8;
}
@media (max-width: 760px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }
  .timeline::before {
    left: 50%;
    right: auto;
    top: 8px;
    bottom: 8px;
    width: 3px;
    height: auto;
  }
  .timeline time { height: auto; }
}

.about-overview {
  max-width: 52em;
  margin: 0 auto;
  text-align: center;
}
.about-overview p { text-align: center; }
.history-fig {
  margin: 40px auto 0;
  max-width: 620px;
}
.history-fig img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  border: 0;
}
.about-more {
  margin: 56px auto 0;
  max-width: 46em;
}
.page-about .page-hero .wrap,
body:has(.about-overview) .page-hero .wrap { text-align: center; }
body:has(.about-overview) .page-hero p { margin-left: auto; margin-right: auto; }

.array-board {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}
.array-board > img {
  width: 100%;
  height: auto;
  display: block;
}
.array-board .diag-card {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 33.333%;
  margin: 0;
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}
.array-board .diag-card:nth-of-type(1) { left: 0; }
.array-board .diag-card:nth-of-type(2) { left: 33.333%; }
.array-board .diag-card:nth-of-type(3) { left: 66.666%; }
.array-board .diag-card.is-on {
  border-color: var(--teal);
  box-shadow: none;
}
.array-board .diag-card:hover { border-color: rgba(36, 60, 132, 0.45); }
.array-board .diag-card.is-on:hover { border-color: var(--teal); }


.case-empty { grid-column: 1 / -1; color: var(--muted); margin: 8px 0 0; }
.case-gate { margin-top: 36px; }
.case-admin-link {
  background: none; border: 0; padding: 0; color: #b8b4ac;
  font-size: 13px; cursor: pointer; letter-spacing: 0;
}
.case-admin-link:hover { color: var(--muted); }
.case-login { margin-top: 12px; max-width: 420px; }
.case-login label { display: block; font-weight: 700; margin-bottom: 8px; }
.case-login-row { display: flex; gap: 8px; }
.case-login-row input { flex: 1; min-width: 0; }
.case-tile .case-del {
  position: absolute; top: 10px; right: 10px;
  border: 0; background: #c0392b; color: #fff;
  padding: 8px 14px; font-size: 16px; font-weight: 700; cursor: pointer;
}
.case-add .btn-line { margin-left: 8px; }

.case-admin-hint { margin: 8px 0 0; color: var(--teal); font-size: 15px; }


table.board {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
}
table.board th, table.board td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
table.board th {
  background: #f4f3ef;
  font-size: 15px;
  font-weight: 800;
  color: #1a1916;
}
table.board .no, table.board .date { width: 110px; text-align: center; color: var(--muted); }
table.board td.tit a { color: var(--ink); font-weight: 700; }
table.board td.tit a:hover { color: var(--teal); }
table.board tr.board-row { cursor: pointer; }
table.board tr.board-row:hover { background: #faf9f6; }
.board-view { background: #fff; border: 1px solid var(--line); padding: 28px 32px 32px; }
.board-view-kicker { margin: 0 0 8px; color: var(--teal); font-weight: 800; font-size: 14px; }
.board-view h2 { margin: 0 0 8px; font-size: 28px; }
.board-view-meta { color: var(--muted); margin: 0 0 24px; }
.board-view-img { width: 100%; max-height: 640px; object-fit: contain; background: #f4f3ef; margin: 0 0 24px; }
.board-view-body { font-size: 18px; line-height: 1.9; margin: 0 0 28px; white-space: normal; }
.board-view-nav {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 24px; font-size: 15px;
}
a.case-tile { text-decoration: none; color: inherit; display: block; }
@media (max-width: 760px) {
  table.board .date { display: none; }
  table.board .no { width: 56px; }
  .board-view { padding: 20px 16px 24px; }
}


.admin-login {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px 28px;
}
.admin-login h2 { margin: 0 0 18px; font-size: 23px; }
.admin-login-form { margin: 0; }
.admin-list-tit { margin: 40px 0 16px; font-size: 23px; }
.case-del-inline {
  border: 0; background: #c0392b; color: #fff;
  padding: 6px 12px; font-size: 14px; font-weight: 700; cursor: pointer;
}


.fac-hero { margin: 0 0 32px; }
.fac-hero img { width: 100%; max-height: 420px; object-fit: cover; background: #eee; }
.fac-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 32px;
}
.fac-photos img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eee;
}
.fac-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fac-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 24px;
}
.fac-card h2 { margin: 0 0 12px; font-size: 22px; }
.fac-card p { margin: 0; color: var(--muted); }
.fac-note { margin: 28px 0 0; color: var(--muted); }
@media (max-width: 760px) {
  .fac-grid { grid-template-columns: 1fr; }
  .fac-photos { grid-template-columns: 1fr; }
}

.admin-login > p { color: var(--muted); margin: 0 0 18px; }

.case-tile > a { text-decoration: none; color: inherit; display: block; }
.case-tile img.case-thumb,
.case-tile video.case-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #111;
}
.case-tile:hover video.case-thumb { transform: none; }
.case-tile .date {
  display: block;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 14px;
}
.case-tile-acts {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.case-edit-inline {
  display: inline-block;
  border: 0;
  background: #243c84;
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}
.case-edit-inline:hover { color: #fff; }
.board-view-acts { margin: 0 0 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.board-view-media {
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  background: #111;
  margin: 0 0 24px;
  display: block;
}
.case-keep-media { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.admin-acts { white-space: nowrap; }
.case-media-empty {
  display: block;
  aspect-ratio: 4 / 3;
  background: #e8e6e0;
}

.case-grid .case-tile span.cap,
.case-grid .case-tile .cap {
  position: static;
  color: inherit;
  text-shadow: none;
  display: block;
  padding: 12px 14px 4px;
  font-weight: 700;
  font-size: 17px;
  bottom: auto;
  left: auto;
}
.case-grid .case-tile .spec {
  display: block;
  padding: 0 14px 6px;
  color: var(--muted);
  font-size: 15px;
}
.case-grid .case-tile .date {
  display: block;
  padding: 0 14px 16px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.case-grid .case-tile .cap + .date { padding-top: 4px; }

.admin-bar {
  margin-top: 36px;
  text-align: center;
}
.admin-tools {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-login-compact {
  max-width: 300px;
  margin: 16px auto 0;
  padding: 18px 16px;
  text-align: left;
}
.admin-login-compact .form > div { margin-bottom: 10px; }
.admin-login-compact .btn-line { margin-left: 6px; }

.quote-form {
  max-width: 860px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.quote-form textarea { min-height: 280px; }
.attach-list { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
@media (max-width: 760px) {
  .quote-form { grid-template-columns: 1fr; padding: 22px 16px; }
}

.attach-rows { list-style: none; margin: 0 0 12px; padding: 0; }
.attach-rows li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 12px; margin: 0 0 8px;
  background: #f7f6f2; border: 1px solid var(--line);
}
.attach-rows .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.attach-rows .del {
  flex: none; border: 0; background: #c0392b; color: #fff;
  padding: 6px 12px; font-size: 14px; font-weight: 700; cursor: pointer;
}
#attach-add { margin-top: 4px; }

.attach-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.quote-alert {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(20, 24, 40, 0.45);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.quote-alert[hidden] { display: none !important; }
.quote-alert-box {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 24px 22px;
  text-align: center;
}
.quote-alert-tit { margin: 0 0 10px; font-size: 22px; font-weight: 800; color: #243c84; }
.quote-alert-body { margin: 0 0 20px; color: var(--ink); font-size: 16px; line-height: 1.7; }
.attach-sum { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
/* Catalog spec grid */
.spec-sec { padding-top: 8px; }
.spec-head { margin: 0 0 24px; }
.spec-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 800;
  color: #243c84;
  letter-spacing: -0.03em;
}
.spec-head p { margin: 0; color: var(--muted); font-size: 16px; }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.spec-grid--3 { grid-template-columns: repeat(3, 1fr); }
.spec-grid + .spec-grid { margin-top: 12px; }
.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
}
.spec-card a { color: inherit; display: block; }
.spec-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #161616;
}
.spec-card-wide { grid-column: span 2; }
.spec-meta { padding: 10px 12px 12px; }
.spec-no {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 2px;
}
.spec-size {
  display: block;
  font-weight: 800;
  color: #243c84;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.spec-oa {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}
.spec-arr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 28px;
}
.spec-arr figure { margin: 0; background: #fff; border: 1px solid var(--line); }
.spec-arr img { width: 100%; height: auto; display: block; background: #f7f5f1; }
.spec-arr figcaption {
  padding: 10px 12px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #243c84;
  text-align: center;
}
.spec-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
}
@media (max-width: 980px) {
  .spec-grid, .spec-grid--3, .spec-arr { grid-template-columns: 1fr 1fr; }
  .spec-card-wide { grid-column: span 1; }
}
@media (max-width: 560px) {
  .spec-grid, .spec-grid--3, .spec-arr { grid-template-columns: 1fr 1fr; gap: 8px; }
  .spec-size { font-size: 14px; }
  .spec-meta { padding: 8px 8px 10px; }
}


.field-hint { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.case-slider {
  position: relative;
  margin: 0 0 24px;
  background: #f4f3ef;
}
.case-slider-track { position: relative; }
.case-slide {
  display: none;
}
.case-slide.is-on { display: block; }
.case-slider .board-view-media,
.case-slider .board-view-img {
  margin: 0;
  max-height: 640px;
  width: 100%;
  object-fit: contain;
  background: #f4f3ef;
}
.case-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 60, 132, 0.88);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.case-slider-btn.prev { left: 10px; }
.case-slider-btn.next { right: 10px; }
.case-slider-btn:hover { background: #243c84; }
.case-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 4px;
}
.case-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: #c9c5bc;
  padding: 0;
  cursor: pointer;
}
.case-dot.is-on { background: #243c84; }
.case-slider-count {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 8px;
}
@media (max-width: 760px) {
  .case-slider-btn { width: 34px; height: 34px; font-size: 24px; }
}

.case-file-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.case-file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: #fff;
  margin: 0 0 6px;
  font-size: 14px;
}
.case-file-list .name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-file-list button {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #243c84;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
}

.case-legacy-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #fff7e8;
  border: 1px solid #f0d9a8;
  color: #5c5a55;
  font-size: 15px;
  line-height: 1.55;
}
