:root {
  --ink: #17202a;
  --muted: #5d6875;
  --line: #d9e2ea;
  --soft: #f4f8fb;
  --panel: #ffffff;
  --blue: #1167a8;
  --blue-dark: #0a3e68;
  --green: #2f7d57;
  --orange: #b5642a;
  --shadow: 0 18px 50px rgba(17, 39, 63, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 128px;
  height: 46px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #0c243b;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 30px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 8px 10px;
  border-radius: 6px;
}

.nav a:hover {
  background: var(--soft);
  color: var(--blue-dark);
}

.nav-phone {
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.nav-phone:hover {
  color: #fff;
  background: var(--blue-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.6fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 90px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.82) 54%, rgba(255,255,255,0.55) 100%),
    url("assets/aprotek_intro.jpg") center / cover no-repeat;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1.02;
  margin-bottom: 22px;
  color: var(--blue-dark);
}

.hero h1 span {
  color: var(--blue);
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.14;
  margin-bottom: 16px;
}

h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.lead {
  max-width: 720px;
  color: #384657;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid var(--blue);
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: var(--blue-dark);
  background: rgba(255,255,255,0.8);
}

.button.tertiary {
  min-height: 44px;
  border-color: rgba(10, 62, 104, 0.28);
  color: var(--blue-dark);
  background: rgba(255,255,255,0.58);
}

.hero-secondary {
  max-width: 620px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(17, 103, 168, 0.22);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.hero-secondary span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.hero-secondary p {
  margin: 0;
  color: #2f4052;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 800;
}

.hero-note {
  max-width: 660px;
  margin: 16px 0 0;
  color: #4d5b68;
  font-size: 15px;
  line-height: 1.7;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.metric {
  padding: 20px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric-primary {
  border-color: rgba(17, 103, 168, 0.42);
  background: rgba(237, 247, 253, 0.94);
}

.metric span,
.metric small {
  display: block;
  color: var(--muted);
}

.metric strong {
  display: block;
  margin: 5px 0;
  color: var(--blue-dark);
  font-size: 22px;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.intro,
.request,
.official {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  background: var(--soft);
}

.intro p:last-child {
  color: #354658;
  font-size: 18px;
  line-height: 1.8;
}

.request {
  background: #ffffff;
}

.official {
  align-items: center;
  background: #eef5f1;
}

.official-visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.official-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.official-copy p {
  color: #354658;
  font-size: 17px;
  line-height: 1.75;
}

.official-list {
  margin: 20px 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--green);
  border-radius: 7px;
  color: #1f6848;
  background: #fff;
  font-weight: 800;
}

.request-copy p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.request-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.request-points span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #eaf6ef;
  color: #1d6845;
  font-size: 13px;
  font-weight: 800;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  box-shadow: var(--shadow);
}

.request-form label {
  display: grid;
  gap: 7px;
  color: #263648;
  font-size: 14px;
  font-weight: 800;
}

.request-form input,
.request-form textarea,
.request-form select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #c8d5df;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}

.request-form textarea {
  resize: vertical;
  min-height: 118px;
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.form-note.success {
  padding: 12px 14px;
  border-radius: 7px;
  color: #1d6845;
  background: #eaf6ef;
  font-weight: 800;
}

.form-note.error {
  padding: 12px 14px;
  border-radius: 7px;
  color: #7a2f1f;
  background: #fff0e8;
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 30px;
  background: #0c243b;
}

.cta-strip .button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.product-grid,
.case-grid,
.proof-grid,
.scenario-grid {
  display: grid;
  gap: 18px;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(17, 103, 168, 0.55);
  box-shadow: 0 22px 58px rgba(17, 39, 63, 0.2);
  outline: none;
}

.product-image {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 18px;
  background: #0c243b;
}

.product-card img {
  width: 100%;
  height: auto;
  max-height: 330px;
  object-fit: contain;
  border-radius: 6px;
  background: #0c243b;
}

.product-content {
  padding: clamp(22px, 3vw, 34px);
}

.card-action {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--blue-dark);
  background: #eef6fb;
  font-size: 13px;
  font-weight: 900;
}

.tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #e6f1f8;
  font-size: 12px;
  font-weight: 800;
}

.accent .tag {
  color: #6f380a;
  background: #fff0df;
}

.product-card p,
.process p,
.case-grid p,
.proof-grid p,
.video-section p,
.faq p,
.safety p,
.contact p,
.footer {
  color: var(--muted);
  line-height: 1.7;
}

ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #354658;
  line-height: 1.8;
}

.process {
  background: #ffffff;
}

.video-section {
  background: #ffffff;
}

.video-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  max-width: 980px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(12, 36, 59, 0.94), rgba(17, 103, 168, 0.72)),
    var(--blue-dark);
  box-shadow: var(--shadow);
}

.video-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 180ms ease, opacity 180ms ease;
}

.video-card:hover img,
.video-card:focus-visible img {
  transform: scale(1.02);
  opacity: 0.9;
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 103, 168, 0.88);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(6, 18, 30, 0.32);
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.steps article,
.case-grid article,
.proof-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.steps span {
  display: block;
  margin-bottom: 20px;
  color: var(--green);
  font-weight: 900;
}

.use-cases,
.faq,
.safety {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 39, 63, 0.08);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 18px 20px;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--green);
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.source-cases {
  background: #ffffff;
}

.case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.safety {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 30px;
  align-items: start;
}

.docs {
  display: grid;
  gap: 12px;
}

.docs a {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 800;
}

.docs a:hover {
  border-color: var(--blue);
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reference-list a {
  display: grid;
  gap: 6px;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.reference-list a:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 32px rgba(17, 39, 63, 0.12);
}

.reference-list span,
.reference-list small {
  color: var(--muted);
}

.reference-list span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.reference-list strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.scenario-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scenario-grid article {
  display: grid;
  align-content: start;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.scenario-grid span {
  width: fit-content;
  margin-bottom: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #e6f1f8;
  font-size: 12px;
  font-weight: 900;
}

.scenario-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.scenario-grid ul {
  margin-top: 16px;
}

.scenario-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  margin-top: 18px;
  padding: 0 12px;
  border: 1px solid rgba(17, 103, 168, 0.32);
  border-radius: 6px;
  color: var(--blue-dark);
  background: #eef6fb;
  font-size: 13px;
  font-weight: 900;
}

.scenario-link:hover {
  border-color: var(--blue);
  background: #e1f0f8;
}

.note {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 4px solid var(--orange);
  background: #fff8f2;
  color: #68401f;
  line-height: 1.7;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.source-links a {
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 30px;
  background: var(--blue-dark);
  color: #fff;
}

.contact .eyebrow,
.contact p {
  color: #d9ecf8;
}

.contact-card {
  padding: 26px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

dt {
  color: #b8d9ec;
}

dd {
  margin: 0;
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer p {
  margin: 0;
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 24, 38, 0.58);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(6, 18, 30, 0.35);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
}

.modal-visual {
  display: grid;
  place-items: center;
  padding: 28px;
  background: #0c243b;
}

.modal-visual img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: 6px;
}

.modal-copy {
  padding: clamp(26px, 4vw, 42px);
}

.modal-copy p {
  color: #354658;
  line-height: 1.75;
}

.modal-specs {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
}

.modal-specs div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.modal-specs dt {
  color: var(--muted);
  font-weight: 800;
}

.modal-specs dd {
  color: var(--ink);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 1080px) {
  .hero,
  .intro,
  .request,
  .official,
  .safety,
  .contact {
    grid-template-columns: 1fr;
  }

  .steps,
  .case-grid,
  .proof-grid,
  .reference-list,
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .product-card {
    grid-template-columns: 1fr;
  }

  .product-image {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .product-card img {
    max-height: 300px;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 118px;
    height: 42px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 100%),
      url("assets/aprotek_intro.jpg") center / cover no-repeat;
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .hero-secondary {
    margin-top: 16px;
    padding: 14px 15px;
  }

  .hero-secondary p {
    font-size: 16px;
  }

  .hero-note {
    font-size: 14px;
  }

  .hero-actions,
  .cta-strip,
  .footer {
    flex-direction: column;
  }

  .product-grid,
  .steps,
  .case-grid,
  .proof-grid,
  .reference-list,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .request-form {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-image {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .product-card img {
    max-height: 260px;
  }

  .modal-layout {
    grid-template-columns: 1fr;
  }

  .modal-visual {
    padding: 22px;
  }

  .modal-visual img {
    max-height: 280px;
  }

  .modal-specs div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .modal-actions .button {
    width: 100%;
  }

  .modal-panel {
    max-height: calc(100vh - 24px);
  }

  .product-modal {
    padding: 12px;
  }

  .product-card img {
    min-height: 0;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ─── skip link (접근성) ─── */
.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* ─── honeypot (사람에게는 숨김) ─── */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ─── 동의 체크박스 ─── */
.request-form .consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  background: var(--soft);
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.request-form .consent input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--blue);
  cursor: pointer;
}
.request-form .consent a {
  color: var(--blue);
  text-decoration: underline;
}
.request-form .consent .required-mark {
  color: var(--orange);
  font-weight: 600;
}

/* ─── 처리방침 페이지 ─── */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px clamp(18px, 4vw, 40px) 80px;
}
.legal-content h1 {
  margin: 8px 0 4px;
  font-size: clamp(28px, 4vw, 36px);
}
.legal-content h2 {
  margin: 36px 0 12px;
  font-size: 20px;
  color: var(--blue-dark);
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.legal-content p,
.legal-content li {
  color: #2c3a48;
  line-height: 1.75;
}
.legal-content ul {
  padding-left: 22px;
}
.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 6px;
  font-size: 14px;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-table th {
  background: var(--soft);
  font-weight: 600;
}
.legal-contact {
  background: var(--soft);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 8px 0 16px;
}
.legal-contact div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px;
  padding: 6px 0;
}
.legal-contact dt {
  color: var(--muted);
  font-weight: 500;
}
.legal-contact dd {
  margin: 0;
}
.legal-back {
  margin-top: 40px;
}
.legal-back a {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .legal-contact div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .legal-table {
    display: block;
    overflow-x: auto;
  }
}

/* ─── footer 링크 ─── */
.footer a {
  color: var(--blue);
  text-decoration: underline;
}

/* ─── 시료 테스트 리포트 미리보기 (2026-06-05, 마케팅·영업팀 의견) ─── */
.report-preview {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.report-sheet {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--blue-dark);
  color: #fff;
}
.report-head strong { font-size: 14px; letter-spacing: 0.2px; }
.report-head span { font-size: 11px; color: rgba(255, 255, 255, 0.65); }
.report-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  border-bottom: 1px solid var(--line);
}
.report-row:last-child { border-bottom: 0; }
.report-row b {
  padding: 11px 12px;
  background: var(--soft);
  color: var(--blue-dark);
  font-size: 12px;
}
.report-row span {
  padding: 11px 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.report-copy h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--blue-dark);
}
.report-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 760px) {
  .report-preview { grid-template-columns: 1fr; }
}

/* ─── 자체 호스팅 영상 플레이어 (2026-06-05, 유튜브 링크 카드 대체) ─── */
.video-player {
  display: block;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: var(--shadow);
}

/* ─── 공식 영상 4개 그리드 (2026-06-05) ─── */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.video-item {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-item video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-item figcaption {
  padding: 13px 16px 15px;
}
.video-item figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
  font-size: 15px;
}
.video-item figcaption strong em {
  font-style: normal;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  vertical-align: 2px;
}
.video-item figcaption span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
@media (max-width: 720px) {
  .video-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   visual-pack (2026-06-05) — 재사용 컴포넌트 레이어
   확장 규칙: 새 섹션을 만들 때 아래 컴포넌트를 조합해서 쓸 것
   .stat-band      : 큰 숫자 강조 밴드 (4칸 기본, 칸 수 자유)
   .compare-block  : 전→후 비교 (figure + .compare-arrow 반복)
   .media-card     : 사진 헤더 카드 (img + .media-body)
   .section-dark   : 네이비 다크 섹션 (배경 리듬용)
   ════════════════════════════════════════════════════════════ */

/* 글로벌 타이포 업그레이드: Noto Sans KR + 한국어 단어 단위 줄바꿈 */
body {
  font-family: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  word-break: keep-all;
}

/* ── .stat-band ── */
.stat-band-wrap {
  padding-top: 0;
  padding-bottom: 0;
}
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.stat-band > div {
  min-width: 0;
  padding: 30px 22px 26px;
  background: var(--blue-dark);
  text-align: center;
}
.stat-band > div:nth-child(even) {
  background: #0b466f;
}
.stat-band strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}
.stat-band strong em {
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin-left: 2px;
}
.stat-band span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .stat-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 14px;
  }

  .stat-band > div {
    padding: 28px 14px 24px;
  }

  .stat-band strong {
    font-size: clamp(29px, 8vw, 36px);
  }

  .stat-band strong em {
    font-size: 16px;
  }
}

@media (max-width: 479px) {
  .stat-band-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .stat-band {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .stat-band > div {
    padding: 24px 18px 22px;
  }

  .stat-band strong {
    font-size: 34px;
  }

  .stat-band span {
    font-size: 13px;
  }
}

/* ── .compare-block ── */
.compare-block {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto 10px;
}
.compare-block figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-block figure img {
  display: block;
  width: 100%;
  height: 215px;
  object-fit: cover;
}
.compare-block figcaption {
  padding: 13px 16px 15px;
}
.compare-block figcaption b {
  display: block;
  margin-bottom: 3px;
  color: var(--blue-dark);
  font-size: 15px;
}
.compare-block figcaption span {
  color: var(--muted);
  font-size: 12.5px;
}
.compare-arrow {
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
}
.compare-note {
  max-width: 1100px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 760px) {
  .compare-block { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); padding: 6px 0; }
}

/* ── .brand-block (Aprotek 공식 로고 블록, official 섹션) ── */
.official-copy .brand-block {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

/* ── .pack-formats (공급 형태: 25kg 포대 · 1톤 빅백) ── */
.pack-formats {
  max-width: 1100px;
  margin: 40px auto 0;
}
.pack-heading {
  text-align: center;
  margin-bottom: 20px;
}
.pack-heading h3 {
  font-size: 24px;
  color: var(--blue-dark);
  margin: 4px 0 8px;
}
.pack-heading p {
  color: var(--muted);
  margin: 0;
}
.pack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 10px;
}
.pack-grid figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pack-grid figure img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.pack-grid figcaption {
  padding: 14px 18px 16px;
}
.pack-grid figcaption b {
  display: block;
  color: var(--blue-dark);
  font-size: 17px;
  margin-bottom: 4px;
}
.pack-grid figcaption span {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 760px) {
  .pack-grid { grid-template-columns: 1fr; }
  .pack-grid figure img { height: 240px; }
}

/* ── .media-card (사진 헤더 카드) ── */
.case-grid article.media-card,
.scenario-grid article.media-card {
  padding: 0;
  overflow: hidden;
}
.media-card > img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.media-card .media-body {
  padding: 18px 22px 22px;
}
.media-card .media-body h3 { margin-top: 0; }

/* ── .section-dark (배경 리듬) ── */
.section-dark {
  background: linear-gradient(160deg, #0c243b 0%, #0d3554 100%);
}
.section-dark .section-heading h2 { color: #fff; }
.section-dark .section-heading p { color: rgba(255, 255, 255, 0.74); }
.section-dark .eyebrow { color: #7fd8e6; }

/* ─── hero-v2 (2026-06-05, 웹디자이너·마케팅 회의 반영) ───
   배경 침묵(텍스트 없는 스튜디오 사진 + 다크 오버레이) + 1컬럼 센터 + 단일 CTA */
.hero.hero-v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 78vh;
  /* 2026-06-05: 배경 교체 — 스튜디오 액상 슬러지 → 굴착기 분말 살포 현장 ("뿌리면" 카피와 일치)
     이전: url("assets/apromud-sludge-before.jpg") center 62% */
  background:
    linear-gradient(180deg, rgba(7, 30, 51, 0.82) 0%, rgba(7, 30, 51, 0.60) 55%, rgba(7, 30, 51, 0.80) 100%),
    url("assets/apromud-spreading.jpg") center 38% / cover no-repeat;
}
.hero-v2 .hero-copy {
  max-width: 760px;
}
.hero-v2 .eyebrow {
  color: #7fd8e6;
  letter-spacing: 2px;
}
.hero-v2 h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.5px;
}
.hero-v2 .hero-sub {
  max-width: 640px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.65;
  font-weight: 500;
}
.hero-v2 .hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-v2 .button.primary {
  padding: 16px 34px;
  font-size: 16.5px;
}
.hero-v2 .hero-call {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-v2 .hero-call:hover { color: #fff; }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: min(720px, 100%);
  margin: 28px auto 0;
}

.hero-trust span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
}

@media (max-width: 720px) {
  .nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow-x: visible;
  }

  .nav a {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 8px 4px;
    font-size: 13px;
    text-align: center;
  }

  .nav .nav-phone {
    display: none;
  }

  .hero-v2 .hero-copy {
    max-width: 100%;
  }

  .hero-v2 h1 {
    font-size: clamp(32px, 9.5vw, 40px);
    line-height: 1.16;
  }

  .hero-v2 .hero-sub {
    max-width: 100%;
    margin-bottom: 22px;
  }

  .hero-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 22px;
  }

  .hero-trust span {
    min-height: 40px;
    padding: 7px 8px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .nav a {
    font-size: 12px;
    padding-inline: 2px;
  }
}
