﻿:root {
  --bg: #f2eee8;
  --surface: #fff9f2;
  --ink: #1d1d1b;
  --muted: #4c4c48;
  --accent: #b6462d;
  --accent-2: #1e6b68;
  --line: #d7cec2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'IBM Plex Sans KR', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 0%, #fff8ef 0, transparent 40%),
    radial-gradient(circle at 85% 20%, #e5efe8 0, transparent 35%),
    var(--bg);
  line-height: 1.6;
}

.container { width: min(1100px, 92%); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(7px);
  background: rgba(242, 238, 232, 0.86);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.nav { padding: 14px 0; }
.nav-main { display: flex; justify-content: space-between; align-items: center; gap: 14px; }

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.brand-mark { letter-spacing: 0.04em; }
.brand-sep { color: var(--accent); }
.brand-work { color: var(--accent-2); letter-spacing: 0.05em; }

nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-weight: 500; }

.mobile-actions { display: none; gap: 8px; }
.mobile-cta {
  display: none;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.9rem;
}
.mobile-admin { background: var(--accent-2); }

.hero { padding: 72px 0 52px; }
.hero-grid { display: grid; gap: 28px; grid-template-columns: 1.35fr 1fr; align-items: start; }
.hero-copy { display: flex; flex-direction: column; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.eyebrow {
  display: inline-block;
  font-weight: 600;
  color: var(--accent-2);
  background: #e2f0ea;
  padding: 5px 10px;
  border-radius: 999px;
}
.hero-highlight { background: #fde7c8; color: #7a3e12; }

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.1;
  margin: 16px 0 14px;
}

.lead { font-size: 1.05rem; max-width: 680px; color: var(--muted); }

.cta-row { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-small { padding: 7px 11px; font-size: 0.86rem; }
.btn-primary { color: #fff; background: var(--accent); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }

.proof { margin-top: 18px; padding-left: 18px; color: var(--muted); }

.hero-card {
  background: linear-gradient(145deg, #fffdfa, #f7efe5);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(50, 35, 22, 0.08);
}
.hero-card h2 { margin-top: 0; font-size: 1.1rem; }
.metric {
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.metric:first-of-type { border-top: 0; }
.hero-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(30, 107, 104, 0.08);
}
.hero-note p { margin: 6px 0 0; color: var(--muted); }

.section { padding: 56px 0; }
.section h2 {
  font-family: 'Space Grotesk', sans-serif;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.alt { background: rgba(255, 255, 255, 0.6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.cards, .pricing, .portfolio-grid, .review-grid, .product-grid, .trust-strip {
  display: grid;
  gap: 14px;
}
.cards { grid-template-columns: repeat(4, 1fr); }
.pricing { grid-template-columns: repeat(3, 1fr); }
.portfolio-grid, .review-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
.trust-strip { grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }

.card, .price-card, .portfolio-card, .review-card, .product-card, .trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.card h3, .portfolio-card h3, .product-card h3 { margin: 0 0 8px; }
.price-card h3 { margin: 6px 0 8px; font-size: 1.8rem; }
.featured { border-color: var(--accent); box-shadow: 0 10px 24px rgba(182, 70, 45, 0.18); }
.featured-product {
  background: linear-gradient(180deg, #fff8f3, #fff);
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(182, 70, 45, 0.16);
}
.tier { margin: 0; font-size: 0.83rem; letter-spacing: 0.06em; color: var(--muted); }
.tag {
  margin: 0 0 8px;
  display: inline-block;
  background: #efe6dc;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.8rem;
  font-weight: 600;
}
.product-points {
  margin: 12px 0 18px;
  padding-left: 18px;
  color: var(--muted);
}
.pricing-badge { margin: 0 0 14px; background: #e8f5ea; color: #205b2a; }
.price-fit {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--accent-2);
}
.price-note { margin: 12px 0 0; color: var(--muted); }

.review-card { margin: 0; font-style: italic; }
.review-card cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; }
.trust-item {
  display: grid;
  gap: 6px;
  text-align: center;
}
.trust-item strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  color: var(--accent);
}
.trust-item span { color: var(--muted); }

.steps { margin: 0; padding-left: 18px; }

.industry-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.industry-item {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
}

.faq-list { display: grid; gap: 10px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { margin: 8px 0 0; color: var(--muted); }

.contact { padding-top: 24px; }
.contact-box {
  background: linear-gradient(135deg, #1e6b68, #205056);
  color: #fff;
  border-radius: 18px;
  padding: 30px;
}
.contact-box p { color: #deefee; }

.form-wrap, .admin-login { max-width: 860px; }
.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 12px;
}
.quote-form label { display: grid; gap: 6px; font-weight: 600; }
.quote-form input, .quote-form textarea, .quote-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  font: inherit;
  background: #fff;
}

.quick-links { display: flex; gap: 8px; margin: 22px 0 8px; flex-wrap: wrap; }
.status { margin: 4px 0 0; font-weight: 600; color: var(--accent-2); }
.error { color: #a21c1c; font-weight: 600; }

.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.filter-bar { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.filter-bar input, .filter-bar select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  font: inherit;
  background: #fff;
}

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 1300px; }
.admin-table th, .admin-table td {
  border-bottom: 1px solid #ece6dc;
  text-align: left;
  vertical-align: top;
  padding: 10px;
  font-size: 0.9rem;
}
.message-cell { max-width: 280px; white-space: pre-wrap; }
.row-form { display: grid; gap: 6px; min-width: 180px; }
.row-form select, .row-form input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  font: inherit;
  background: #fff;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 18px 0 30px;
  color: var(--muted);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.trust-grid p { margin: 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: all .7s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .hero-grid, .cards, .pricing, .portfolio-grid, .review-grid, .industry-links, .trust-grid, .product-grid, .trust-strip {
    grid-template-columns: 1fr;
  }

  .nav { padding: 12px 0; }
  .nav-main { display: flex; justify-content: space-between; align-items: center; }
  nav { display: none; }
  .mobile-actions {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
  }
  .mobile-cta { display: inline-block; }
  .metric {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hidden { display: none !important; }
.quote-success {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.quote-success h2 { margin: 0 0 8px; }
.quote-success p { margin: 0 0 12px; }
