:root {
  --bg: #f5f6f2;
  --ink: #111827;
  --muted: #667085;
  --paper: #ffffff;
  --steel: #26313c;
  --blue: #2563eb;
  --cyan: #7dd3fc;
  --line: rgba(17, 24, 39, 0.15);
  --shadow: 0 28px 80px rgba(17, 24, 39, 0.16);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2, p { margin-top: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 246, 242, 0.9);
  color: var(--ink);
  backdrop-filter: blur(18px);
}
.brand, .desktop-nav, .hero-actions, .site-footer { display: flex; align-items: center; }
.brand { width: fit-content; gap: 10px; font-weight: 950; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid currentColor; border-radius: 8px; font-size: 13px; }
.desktop-nav { gap: 28px; font-size: 14px; font-weight: 850; }
.header-cta { justify-self: end; border: 1px solid currentColor; border-radius: 8px; padding: 12px 18px; font-size: 14px; font-weight: 950; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--steel);
}
.hero-video, .hero-shade { position: absolute; inset: 0; }
.hero-video { object-position: center; transform: scale(1.02); }
.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 18, 28, 0.82), rgba(10, 18, 28, 0.42) 48%, rgba(10, 18, 28, 0.08)),
    linear-gradient(0deg, rgba(10, 18, 28, 0.64), transparent 58%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(760px, calc(100% - 40px));
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  padding: 112px 0 clamp(86px, 13vh, 140px) clamp(20px, 4.5vw, 66px);
  color: #fff;
}
.kicker, .eyebrow { color: var(--cyan); font-size: 12px; font-weight: 950; letter-spacing: 0.15em; }
h1 {
  display: grid;
  gap: 5px;
  margin: 18px 0 24px;
  font-size: clamp(46px, 5.7vw, 84px);
  font-weight: 950;
  line-height: 1.04;
}
h1 span { display: block; word-break: keep-all; }
.mobile-break { display: none; }
.hero-copy p {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.86);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.72;
  word-break: keep-all;
}
.hero-actions { flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 24px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 18px 44px rgba(37,99,235,0.3); }
.button.ghost { border: 1px solid rgba(255,255,255,0.5); color: #fff; background: rgba(255,255,255,0.08); backdrop-filter: blur(12px); }
.button.outline { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.hero-notice {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(22px, 5vw, 56px);
  z-index: 2;
  display: grid;
  gap: 7px;
  width: min(340px, calc(100% - 40px));
  border-top: 1px solid rgba(255,255,255,0.42);
  padding-top: 18px;
  color: #fff;
}
.hero-notice span, .hero-notice small { color: rgba(255,255,255,0.75); }
.hero-notice strong { font-size: 26px; }

.services, .repair, .products, .checkin, .inquiry, .notice, .visit {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.services { padding: 106px 0 86px; }
.section-head { max-width: 720px; margin-bottom: 34px; }
h2 { margin: 10px 0 0; font-size: clamp(34px, 4.2vw, 64px); font-weight: 950; line-height: 1.1; word-break: keep-all; }
.section-head p, .repair-copy p, .products-copy p, .checkin p, .inquiry-copy p { color: var(--muted); line-height: 1.75; word-break: keep-all; }
.service-list {
  display: grid;
  border-top: 1px solid var(--line);
}
.service-list article {
  display: grid;
  grid-template-columns: 74px 0.55fr 1fr;
  gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.service-list span { color: var(--blue); font-weight: 950; }
.service-list strong { font-size: 24px; }
.service-list p { margin: 0; color: var(--muted); line-height: 1.65; }

.repair {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  padding: 20px 0 96px;
}
.repair-image, .products img, .checkin img { overflow: hidden; border-radius: 8px; background: #e8ecef; box-shadow: var(--shadow); }
.repair-copy { align-self: center; padding: 34px 0; }
.repair-copy ol { display: grid; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.repair-copy li { display: grid; gap: 7px; border-bottom: 1px solid var(--line); padding: 18px 0; }
.repair-copy strong { font-size: 20px; }
.repair-copy span { color: var(--muted); }

.products {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: center;
  padding: 22px 0 104px;
}
.products img { min-height: 520px; }
.text-link { display: inline-flex; margin-top: 18px; color: var(--blue); font-weight: 950; }
.checkin {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 0 0 104px;
}
.checkin img { min-height: 420px; }
.inquiry {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 90px 0;
}
.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 24px 64px rgba(17, 33, 57, 0.08);
}
.form-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.form-head span { color: var(--blue); font-size: 11px; font-weight: 950; letter-spacing: .1em; }
.form-head h3 { margin: 6px 0 0; font-size: 26px; }
.form-head p { margin: 0; color: var(--muted); font-size: 12px; }
.form-field { display: grid; gap: 8px; color: #344054; font-size: 13px; font-weight: 850; }
.form-field em, .consent-field em, .form-head strong { color: #c2413a; font-style: normal; }
.form-field select, .form-field input, .form-field textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; background: #f8fafc; color: var(--ink); font: inherit; font-weight: 700; }
.form-field select, .form-field input { min-height: 54px; padding: 0 14px; }
.form-field textarea { min-height: 116px; padding: 14px; resize: vertical; }
.form-field select:focus, .form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(25, 103, 210, .12); }
.wide { grid-column: 1 / -1; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.consent-field { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.5; }
.consent-field input { width: 18px; height: 18px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--blue); }
.form-submit .button { min-width: 178px; border-radius: 6px; }
.form-status { display: none; margin: -8px 0 0; color: var(--blue); font-size: 13px; font-weight: 800; }
.form-status:not(:empty) { display: block; }
.notice { padding: 0 0 96px; }
.notice-list { display: grid; border-top: 1px solid var(--line); }
.notice-list a { display: grid; grid-template-columns: 90px 1fr 90px; gap: 22px; align-items: center; border-bottom: 1px solid var(--line); padding: 24px 0; }
.notice-list time, .notice-list span { color: var(--muted); }
.notice-list strong { font-size: 20px; word-break: keep-all; }
.visit {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 76px 0 106px;
}
.visit dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
.visit dt { margin-bottom: 8px; color: var(--blue); font-size: 13px; font-weight: 950; }
.visit dd { margin: 0; color: #344054; line-height: 1.6; }
.site-footer { justify-content: center; gap: 24px; border-top: 1px solid var(--line); padding: 30px 20px 38px; color: var(--muted); font-size: 14px; }
.site-footer span { color: var(--ink); font-weight: 950; }
.mobile-inquiry { display: none; }
.section-reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.section-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 18px; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-break { display: block; }
  .hero-copy { width: min(calc(100% - 36px), 560px); padding: 86px 0 168px; margin: 0 auto; }
  h1 { font-size: clamp(34px, 9vw, 46px); }
  .hero-copy p { max-width: 320px; font-size: 16px; word-break: normal; overflow-wrap: anywhere; }
  .hero-notice { right: 18px; bottom: 24px; left: 18px; width: auto; }
  .hero-actions .button { width: 100%; }
  .services, .repair, .products, .checkin, .inquiry, .notice, .visit { width: min(calc(100% - 36px), 680px); }
  .services, .inquiry { padding: 64px 0; }
  .repair, .products, .checkin, .inquiry, .visit { grid-template-columns: 1fr; padding-bottom: 64px; }
  .inquiry { gap: 28px; }
  .service-list article, .inquiry-form, .notice-list a, .visit dl { grid-template-columns: 1fr; }
  .form-head, .form-submit { align-items: stretch; flex-direction: column; }
  .form-submit .button { width: 100%; }
  .service-list article, .notice-list a { gap: 8px; }
  .repair-image, .products img, .checkin img { min-height: 0; aspect-ratio: 4 / 3; }
  .site-footer { flex-wrap: wrap; padding-bottom: 92px; }
  .mobile-inquiry {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 90;
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 18px 44px rgba(37,99,235,0.32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .mobile-inquiry.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-inquiry.is-context-hidden { opacity: 0; pointer-events: none; transform: translateY(18px); }
}
