:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --ink: #111827;
  --muted: #657083;
  --line: #e5e7eb;
  --brand: #d9151b;
  --brand-dark: #9f0d12;
  --brand-soft: #fff0f1;
  --navy: #111827;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; }

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

button, input, textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 999;
}

.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.top-strip {
  background: var(--navy);
  color: #d1d5db;
  font-size: 13px;
}

.top-strip__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-strip__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-strip__links a:first-child {
  color: #fff;
  font-weight: 800;
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 900;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.brand__mark {
  color: #1d4ed8;
  font-size: 32px;
}

.brand__accent {
  color: var(--brand);
  font-size: 38px;
}

.brand__sub {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 700;
}

.nav-menu a {
  color: #374151;
}

.nav-menu a:hover { color: var(--brand); }

.nav-menu__cta {
  background: var(--brand);
  color: #fff !important;
  padding: 11px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 25px rgba(217, 21, 27, 0.22);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--bg-soft);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 58px;
  background:
    radial-gradient(circle at 88% 20%, rgba(217, 21, 27, 0.14), transparent 34%),
    linear-gradient(180deg, #fff, #f7f8fb);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
}

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

.hero h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.07em;
}

.hero h1 span {
  color: var(--brand);
}

.hero__lead {
  color: #4b5563;
  font-size: 18px;
  max-width: 640px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 34px rgba(217, 21, 27, 0.28);
}

.btn--ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero__badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #374151;
  font-size: 14px;
  font-weight: 800;
}

.hero__badges span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-card {
  max-width: 510px;
  justify-self: end;
  width: 100%;
  perspective: 900px;
}

.hero-card__screen {
  min-height: 330px;
  padding: 28px;
  border-radius: 30px 30px 14px 14px;
  background: linear-gradient(145deg, #151b2d, #0a0d16);
  color: #fff;
  box-shadow: var(--shadow);
  transform: rotateY(-8deg) rotateX(3deg);
  border: 9px solid #222937;
}

.hero-card__bar {
  width: 76px;
  height: 7px;
  border-radius: 999px;
  background: #374151;
  margin-inline: auto;
  margin-bottom: 32px;
}

.hero-card__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  margin-bottom: 22px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.16);
}

.hero-card ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card li span { color: #cbd5e1; }
.hero-card li strong { color: #fff; }

.hero-card__keyboard {
  height: 92px;
  width: 90%;
  margin: -4px auto 0;
  border-radius: 10px 10px 28px 28px;
  background: linear-gradient(180deg, #d1d5db, #9ca3af);
  box-shadow: 0 24px 45px rgba(17, 24, 39, 0.16);
  transform: rotateY(-8deg) rotateX(3deg);
}

.quick-search {
  padding: 28px 0;
  background: var(--navy);
  color: #fff;
}

.quick-search__inner {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 28px;
  align-items: center;
}

.quick-search h2 {
  margin-bottom: 4px;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.quick-search p {
  margin-bottom: 0;
  color: #d1d5db;
}

.search-box {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 0 18px;
  outline: none;
}

.search-box button {
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.section {
  padding: 92px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-head--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-head h2,
.price-grid h2,
.request-grid h2,
.map-section h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.06em;
}

.section-head p,
.price-grid p,
.request-grid p,
.map-section p {
  color: var(--muted);
}

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

.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(217, 21, 27, 0.25);
}

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
  font-size: 22px;
}

.service-card h3,
.product-card h3,
.process-list h3 {
  margin-bottom: 8px;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.service-card p,
.product-card p,
.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  color: var(--brand);
  font-weight: 900;
}

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

.product-card {
  padding: 16px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
}

.product-card__image {
  min-height: 150px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  position: relative;
  overflow: hidden;
}

.product-card__image::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 12px;
  background: linear-gradient(145deg, #111827, #374151);
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.08);
}

.product-card__image--battery::after {
  inset: 46px 72px;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(145deg, #2563eb, #60a5fa);
}

.product-card__image--keyboard::after {
  inset: 46px 28px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 2px, transparent 2px 20px),
    linear-gradient(145deg, #111827, #4b5563);
}

.product-card__image--storage::after {
  inset: 42px 54px;
  border-radius: 12px;
  background: linear-gradient(145deg, #0f766e, #2dd4bf);
}

.product-card strong {
  display: block;
  margin-top: 14px;
  color: var(--brand);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
}

.process-list span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--brand);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.06em;
}

.section--dark {
  background: #0b1020;
  color: #fff;
}

.section--dark .eyebrow { color: #ff7b7f; }
.section--dark p { color: #cbd5e1; }

.price-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-cards article {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.price-cards span {
  display: inline-block;
  color: #fecaca;
  font-weight: 900;
  margin-bottom: 14px;
}

.price-cards strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

details p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.section--request {
  background:
    linear-gradient(135deg, rgba(217,21,27,.08), transparent 38%),
    var(--bg-soft);
}

.request-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.contact-box {
  margin-top: 24px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  gap: 4px;
}

.contact-box a {
  color: var(--brand);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.contact-box span { color: var(--muted); }

.request-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.request-form label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-weight: 800;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  outline: none;
  resize: vertical;
}

.request-form input:focus,
.request-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(217,21,27,.1);
}

.request-form .btn {
  border: 0;
  width: fit-content;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.map-section {
  padding: 60px 0;
  background: #fff;
}

.map-section__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.map-placeholder {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(45deg, rgba(17,24,39,.05) 25%, transparent 25%, transparent 75%, rgba(17,24,39,.05) 75%),
    linear-gradient(45deg, rgba(17,24,39,.05) 25%, transparent 25%, transparent 75%, rgba(17,24,39,.05) 75%);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.map-placeholder strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
}

.site-footer {
  padding: 44px 0 22px;
  background: #070b14;
  color: #d1d5db;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 30px;
}

.brand--footer .brand__mark { font-size: 28px; }
.brand--footer .brand__accent { font-size: 34px; }

.site-footer p { color: #9ca3af; }

.site-footer strong,
.site-footer a,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: #fff;
  margin-bottom: 10px;
}

.site-footer a {
  color: #fff;
  font-weight: 900;
  margin-bottom: 4px;
}

.site-footer span {
  color: #9ca3af;
  font-size: 14px;
}

.copyright {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #6b7280;
  font-size: 13px;
}

.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 35px rgba(217,21,27,.28);
}

@media (max-width: 960px) {
  .top-strip__inner { justify-content: center; }
  .top-strip__links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    inset: 112px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a {
    padding: 14px 12px;
    border-radius: 12px;
  }
  .nav-menu a:hover { background: var(--brand-soft); }
  .nav-menu__cta { text-align: center; margin-top: 8px; }

  .hero__grid,
  .quick-search__inner,
  .price-grid,
  .request-grid,
  .map-section__inner {
    grid-template-columns: 1fr;
  }
  .hero-card { justify-self: start; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .price-cards { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .brand__sub { display: none; }
  .brand__mark { font-size: 28px; }
  .brand__accent { font-size: 34px; }
  .nav { height: 68px; }
  .nav-menu { inset-top: 102px; }
  .hero { padding-top: 58px; }
  .hero__actions,
  .search-box { flex-direction: column; }
  .search-box { border-radius: 20px; }
  .search-box input,
  .search-box button { min-height: 48px; }
  .section { padding: 68px 0; }
  .service-grid,
  .product-grid,
  .process-list,
  .footer-grid { grid-template-columns: 1fr; }
  .section-head--row { align-items: start; flex-direction: column; }
  .request-form .btn { width: 100%; }
  .floating-call { right: 14px; bottom: 14px; }
}


/* API 접수 상태 메시지 */
.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.form-status[data-type="success"] {
  color: #15803d;
}

.form-status[data-type="error"] {
  color: #dc2626;
}

.form-status[data-type="warning"] {
  color: #b45309;
}

.form-status[data-type="info"] {
  color: #2563eb;
}

.request-form button:disabled {
  opacity: .65;
  cursor: wait;
}
