:root {
  --ink: #172033;
  --muted: #667085;
  --line: #d9e0ea;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --blue: #173b66;
  --blue-deep: #102844;
  --gold: #c98b2c;
  --gold-soft: #fff3df;
  --shadow: 0 18px 48px rgba(17, 37, 63, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
}
#purchase,
#sales,
#programs,
#custom,
#process,
#ai-feedback,
#reviews,
#press,
#contact,
#about,
#profile {
  scroll-margin-top: 96px;
}
body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-muted { background: var(--soft); }
.section-dark { background: var(--blue-deep); color: #fff; }
.section-dark .eyebrow { color: #ffdca3; }
.section-dark p { color: rgba(255,255,255,.78); }
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(40px, 7vw, 70px);
  line-height: 1.12;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: 0;
}
h3 { margin-bottom: 10px; font-size: 22px; line-height: 1.35; }
p { color: var(--muted); }
.section-heading { max-width: 880px; margin-bottom: 42px; }
.section-heading.narrow { max-width: 760px; }
.intro-definition {
  padding: 36px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro-definition p {
  max-width: 980px;
  margin: 0;
  color: #344054;
  font-size: 18px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(217,224,234,.85);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 900;
  font-size: 20px;
  text-decoration: none;
  transition: opacity .2s ease;
}
.brand:hover { opacity: .78; }
.brand:focus-visible {
  outline: 3px solid rgba(195, 124, 45, .35);
  outline-offset: 4px;
  border-radius: 8px;
}
.brand img { border-radius: 8px; }
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}
.brand-name { font-size: 20px; }
.brand-tagline {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 14px;
  font-weight: 700;
}
.site-nav a { color: #26364d; }
.nav-cta {
  padding: 10px 16px;
  color: #fff !important;
  background: var(--blue);
  border-radius: 8px;
}
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 24%, rgba(201,139,44,.15), transparent 30%),
    linear-gradient(135deg, #f7f9fc 0%, #ffffff 55%, #edf3f8 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr);
  gap: 54px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 4.9vw, 49px);
  line-height: 1.16;
}
.hero-lead { color: var(--blue); font-size: 24px; font-weight: 900; }
.hero-text { max-width: 700px; font-size: 19px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue); border-color: var(--line); }
.hero-panel, .hero-visual {
  padding: 28px;
  border: 1px solid rgba(23,59,102,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
}
.hero-photo {
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(23,59,102,.14);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-photo figcaption {
  padding: 12px 14px;
  background: #fff;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
}
.hero-scene-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.panel-top {
  padding: 20px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--blue-deep);
  color: #fff;
}
.panel-top span { display: block; color: #ffdca3; font-weight: 800; }
.panel-top strong { display: block; margin-top: 8px; font-size: 28px; line-height: 1.2; }
.metric-grid, .trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.metric-grid div, .trust-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.metric-grid strong, .trust-grid strong { display: block; color: var(--blue); font-size: 22px; line-height: 1.2; }
.metric-grid span, .trust-grid span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.panel-note { margin: 16px 0 0; font-weight: 800; color: var(--blue); }

.company-section { background: #fff; }
.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 42px;
  align-items: center;
}
.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.about-stat {
  min-height: 132px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 37, 63, .06);
}
.about-stat strong {
  display: block;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.25;
}
.about-stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}
.profile-section { background: var(--soft); }
.profile-heading { margin-bottom: 34px; }
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 46px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.profile-history {
  display: grid;
  gap: 32px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.profile-history-group h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 900;
}
.profile-history-group h3 span {
  color: #0f6387;
  font-size: 21px;
  line-height: 1;
}
.profile-history-group ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.profile-history-group li {
  position: relative;
  padding-left: 16px;
  color: #27364a;
  font-size: 17px;
  line-height: 1.72;
}
.profile-history-group li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-weight: 800;
}
.profile-portrait-panel {
  align-self: center;
  text-align: center;
}
.profile-photo {
  width: min(100%, 330px);
  margin: 0 auto;
  padding: 24px 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #edf3f8);
  box-shadow: var(--shadow);
}
.profile-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.profile-caption {
  margin: 20px 0 8px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}
.profile-award {
  margin: 0;
  color: #24384f;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.profile-award-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #24384f;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: break-word;
  cursor: zoom-in;
}
.profile-award-button:hover,
.profile-award-button:active {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.profile-award-button:focus-visible {
  outline: 2px solid #8AA4C2;
  outline-offset: 4px;
  border-radius: 8px;
}
.profile-award-button img {
  display: none;
}
.profile-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.profile-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
}
.profile-title {
  margin: 14px 0 2px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}
.profile-role {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}
.profile-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.profile-info-card,
.press-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}
.profile-info-card h3,
.press-card h3 {
  margin-bottom: 10px;
  color: var(--blue);
}
.profile-info-card ul {
  display: grid;
  gap: 7px;
  padding-left: 18px;
}
.source-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.card-grid { display: grid; gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.lineup { grid-template-columns: repeat(3, 1fr); }
.card, .program-card, .product-box, .contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 37, 63, .06);
}
.card { padding: 28px; }
.card.soft { background: #fff; }
.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}
.featured {
  background:
    linear-gradient(90deg, rgba(16,40,68,.96), rgba(23,59,102,.92)),
    var(--blue-deep);
  color: #fff;
}
.featured p { color: rgba(255,255,255,.82); }
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: start;
}
.product-lead { color: inherit; font-size: 24px; font-weight: 900; }
.product-box { padding: 30px; }
.primary-box { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.pill-list li {
  padding: 10px 13px;
  border-radius: 8px;
  background: var(--gold-soft);
  color: #6f4510;
  font-weight: 800;
  font-size: 14px;
}
.featured .pill-list li { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.product-detail { margin-top: 26px; }
.product-detail .card h3 {
  color: var(--blue);
}
.section-detail-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}
.section-more {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #fff;
  color: #0f2f55;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: none;
  filter: none;
  transform: none;
}
.section-more:hover {
  border-color: #c7d2df;
  background: #F3F6FA;
  box-shadow: none;
  filter: none;
  transform: none;
}
.section-more:active {
  background: #E9EEF5;
  box-shadow: none;
  filter: none;
  transform: none;
}
.section-more:focus-visible {
  outline: 2px solid #8AA4C2;
  outline-offset: 3px;
  box-shadow: none;
}
.purchase-scenes {
  margin-top: 34px;
}
.purchase-scenes-heading {
  max-width: 780px;
  margin-bottom: 18px;
}
.purchase-scenes-heading h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 26px;
}
.purchase-scenes-heading p {
  margin: 0;
  color: rgba(255,255,255,.82);
}
.purchase-scenes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.purchase-scene-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0,0,0,.18);
}
.purchase-scene-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.purchase-scene-trigger:focus-visible,
.review-thumb:focus-visible {
  outline: 3px solid #8AA4C2;
  outline-offset: 4px;
}
.purchase-scene-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .18s ease;
}
.purchase-scene-trigger:hover img {
  transform: scale(1.02);
}
.purchase-scene-card h4 {
  margin: 16px;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.35;
}
.check-list { padding: 0; margin: 0; list-style: none; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin: 10px 0;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.program-card { padding: 24px; min-height: 210px; }
.program-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.program-card img, .program-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 20px;
}
.program-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}
.program-card p { flex: 1; }
.program-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
  box-shadow: none;
  filter: none;
  transform: none;
}
.program-more:hover,
.program-more:focus-visible {
  border-color: #c7d2df;
  background: #F3F6FA;
  outline: none;
  box-shadow: none;
  filter: none;
  transform: none;
}
.program-more:active {
  background: #E9EEF5;
  box-shadow: none;
  filter: none;
  transform: none;
}
.program-more:focus-visible {
  outline: 2px solid #8AA4C2;
  outline-offset: 3px;
}
.program-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.program-modal.is-open { display: flex; }
.program-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, .76);
}
.program-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 920px);
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.program-modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.program-modal-title {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
}
.program-modal-close {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.program-modal-body { padding: 26px; }
.program-modal-lead {
  color: var(--blue);
  font-size: 20px;
  font-weight: 900;
}
.program-modal-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.program-modal-section h3 { color: var(--blue); }
.program-modal-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}
.module-list {
  display: grid;
  gap: 14px;
}
.module-list article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.module-list h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
}
.module-list ul { grid-template-columns: 1fr; }
.program-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.custom-grid, .ai-box, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr);
  gap: 42px;
  align-items: center;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mini-grid span,
.custom-card-button {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}
.custom-card-button {
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.custom-card-button:hover,
.custom-card-button:active {
  border-color: #c8d6e6;
  background: #F3F6FA;
}
.custom-card-button:focus-visible {
  outline: 2px solid #8AA4C2;
  outline-offset: 3px;
}
.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
}
.custom-modal.is-open { display: flex; }
.custom-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, .68);
}
.custom-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 680px);
  max-height: 84vh;
  overflow-y: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.custom-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.custom-modal-header h2 {
  margin: 0;
  color: var(--blue);
  font-size: 24px;
}
.custom-modal-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.custom-modal-close:hover {
  background: #F3F6FA;
}
.custom-modal-body {
  padding: 24px;
}
.custom-modal-body p {
  margin-top: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.8;
}
.custom-modal-body ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.process-list li {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-weight: 900;
}
.process-list strong { display: block; line-height: 1.35; }
.ai-box {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f7fafc);
}
.ai-feedback-more {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  margin-top: 10px;
  padding: 18px 22px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  text-decoration: none;
  font-weight: 900;
}
.ai-feedback-more span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 42px;
  border-radius: 8px;
  background: #F3F6FA;
  color: var(--blue);
}
.ai-feedback-more strong {
  color: var(--ink);
  font-size: 18px;
}
.ai-feedback-more:hover,
.ai-feedback-more:active {
  border-color: #c8d6e6;
  background: #F3F6FA;
}
.ai-feedback-more:focus-visible {
  outline: 2px solid #8AA4C2;
  outline-offset: 3px;
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.faq-item {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 37, 63, .05);
}
.faq-item h3 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 19px;
}
.faq-item p { margin-bottom: 0; }
.review-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.review-card {
  min-height: 260px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 37, 63, .06);
}
.review-card h3 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 18px;
}
.review-thumb-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.review-thumb {
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  cursor: zoom-in;
  overflow: hidden;
}
.review-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top center;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(16, 24, 40, .82);
}
.lightbox.is-open { display: flex; }
.lightbox-image {
  max-width: min(92vw, 960px);
  max-height: 82vh;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.lightbox.is-purchase-scenes {
  padding: 22px;
}
.lightbox.is-purchase-scenes .lightbox-image {
  width: min(88vw, 1120px);
  max-width: min(88vw, 1120px);
  max-height: 84vh;
  height: auto;
  object-fit: contain;
}
.lightbox.is-review-images {
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 72px 18px 92px;
}
.lightbox.is-review-images .lightbox-image {
  width: min(96vw, 980px);
  max-width: min(96vw, 980px);
  max-height: none;
  height: auto;
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}
.trust-grid { grid-template-columns: repeat(3, 1fr); }
.trust-grid div { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.trust-grid strong { color: #fff; }
.trust-grid span { color: rgba(255,255,255,.72); }
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.press-year {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 146, 31, .13);
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}
.press-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.press-image-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 14px;
  padding: 12px 18px;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: zoom-in;
}
.press-image-button:hover,
.press-image-button:active {
  background: #F3F6FA;
}
.press-image-button:focus-visible {
  outline: 2px solid #8AA4C2;
  outline-offset: 3px;
}
.press-image-button img {
  display: none;
}
.press-status {
  display: block;
  margin-top: 14px;
  color: #1e6b47;
  font-size: 13px;
  font-weight: 900;
}
.press-status.status-needed { color: #8a5a12; }
.contact-card { padding: 30px; }
.contact-card p { margin-bottom: 18px; }
.contact-card span { display: block; color: var(--muted); font-weight: 800; }
.contact-card strong { color: var(--ink); font-size: 24px; }
.site-footer { padding: 42px 0 30px; background: #111927; color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-footer p { margin: 4px 0; color: rgba(255,255,255,.72); }
.copyright { padding-top: 20px; color: rgba(255,255,255,.58); font-size: 14px; }
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px; border-radius: 8px; }
  .nav-cta { text-align: center; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero-grid, .product-grid, .custom-grid, .ai-box, .contact-grid, .company-grid, .profile-layout { grid-template-columns: 1fr; }
  .card-grid.three, .lineup, .two-column, .trust-grid, .faq-list, .review-gallery, .press-grid, .purchase-scenes-grid { grid-template-columns: 1fr 1fr; }
  .about-stat-grid { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 66px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 18px; }
  .brand-tagline { font-size: 12px; }
  .site-nav { top: 66px; left: 14px; right: 14px; }
  .section { padding: 58px 0; }
  h1 { font-size: 38px; }
  h2 { font-size: 29px; }
  .hero-copy br, h2 br, .product-lead br { display: none; }
  .button-row, .btn { width: 100%; }
  .btn { padding-left: 16px; padding-right: 16px; }
  .section-detail-actions { justify-content: stretch; }
  .section-more { width: 100%; }
  .hero-panel, .hero-visual, .ai-box { padding: 22px; }
  .ai-feedback-more {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ai-feedback-more span,
  .ai-feedback-more strong {
    width: 100%;
    text-align: center;
  }
  .metric-grid, .card-grid.three, .lineup, .two-column, .mini-grid, .process-list, .trust-grid, .faq-list, .review-gallery, .press-grid, .about-stat-grid, .profile-list, .profile-card-grid, .purchase-scenes-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-scene-grid { grid-template-columns: 1fr; }
  .profile-layout { padding: 24px 18px; gap: 30px; }
  .profile-history { gap: 26px; }
  .profile-history-group h3 { font-size: 22px; }
  .profile-history-group li { font-size: 16px; line-height: 1.68; }
  .profile-photo { width: min(100%, 260px); }
  .profile-caption { font-size: 20px; }
  .review-thumb img { height: 210px; }
  .purchase-scene-card img { height: 220px; }
  .lightbox, .program-modal, .custom-modal { padding: 58px 12px 72px; }
  .program-modal-dialog {
    width: 92vw;
    max-height: 82vh;
  }
  .custom-modal-dialog {
    width: 92vw;
    max-height: 82vh;
  }
  .program-modal-header,
  .program-modal-body,
  .custom-modal-header,
  .custom-modal-body { padding: 18px; }
  .program-modal-section ul { grid-template-columns: 1fr; }
  .program-modal-actions .btn { width: 100%; }
  .lightbox-image {
    max-width: 92vw;
    max-height: 82vh;
  }
  .lightbox.is-purchase-scenes {
    padding: 48px 8px 76px;
  }
  .lightbox.is-purchase-scenes .lightbox-image {
    width: 92vw;
    max-width: 92vw;
    max-height: 82vh;
    height: auto;
  }
  .lightbox.is-review-images {
    padding: 64px 8px 86px;
  }
  .lightbox.is-review-images .lightbox-image {
    width: 96vw;
    max-width: 96vw;
    max-height: none;
  }
  .lightbox-prev, .lightbox-next {
    top: auto;
    bottom: 18px;
    width: 44px;
    height: 44px;
    font-size: 30px;
    transform: none;
  }
  .lightbox-prev { left: 14px; }
  .lightbox-next { right: 14px; }
  .process-list li { min-height: auto; }
  .product-box, .card, .program-card, .contact-card { padding: 22px; }
  .contact-card strong { font-size: 20px; }
}
