/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary: #9f1d22;
  --primary-dark: #7f171b;
  --text: #182230;
  --muted: #5b6676;
  --bg: #f7f9fc;
  --white: #ffffff;
  --border: #e5eaf1;
  --shadow: 0 12px 30px rgba(19, 35, 67, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-width: 1200px;
}
html { scroll-behavior: smooth; }
body {
  font-family: Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(92%, var(--max-width)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-box {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 0.98rem; letter-spacing: 0.02em; }
.logo-text span { font-size: 0.86rem; color: var(--muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: 0.96rem; color: var(--text); font-weight: 600; }
.nav a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 16px;
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.eyebrow, .section-label {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-description {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 28px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--white); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-full { width: 100%; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow);
}
.stat-card strong { display: block; font-size: 1rem; margin-bottom: 6px; }
.stat-card span { color: var(--muted); font-size: 0.92rem; }
.hero-image-wrap { position: relative; }
.hero-image {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Section common */
.about, .services, .reviews, .contact { padding: 88px 0; }
.section-heading { margin-bottom: 34px; }
.section-heading.center { text-align: center; max-width: 850px; margin: 0 auto; }
.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-heading p { color: var(--muted); max-width: 760px; }

/* Services */
.services { background: var(--bg); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); }
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(159, 29, 34, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.review-text { color: var(--text); margin-bottom: 18px; font-size: 0.98rem; }
.review-author strong { display: block; margin-bottom: 4px; }
.review-author span { color: var(--muted); font-size: 0.92rem; }

/* Contact */
.contact { background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}
.contact-info, .contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.contact-info h2 { font-size: 2rem; margin-bottom: 14px; }
.contact-info p { color: var(--muted); }
.contact-list { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.contact-list li { padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(159, 29, 34, 0.08);
}
.form-message { margin-top: 14px; font-size: 0.95rem; color: var(--primary); font-weight: 700; }

/* Footer */
.site-footer { background: #111827; color: rgba(255,255,255,0.88); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer p { color: rgba(255,255,255,0.7); margin-top: 6px; }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .contact-grid, .card-grid, .review-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-image { max-height: 520px; }
}
@media (max-width: 768px) {
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 18px 4%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nav.active { display: flex; }
  .logo-text strong { font-size: 0.9rem; }
  .logo-text span { font-size: 0.78rem; }
  .hero h1 { font-size: 2.2rem; }
  .about, .services, .reviews, .contact { padding: 64px 0; }
  .contact-info, .contact-form, .service-card, .review-card { padding: 22px; }
}
@media (max-width: 480px) {
  .header-inner { min-height: 70px; }
  .logo-box { width: 48px; height: 48px; font-size: 1rem; }
  .hero-buttons .btn { width: 100%; }
  .hero h1 { font-size: 1.9rem; }
  .hero-description { font-size: 0.98rem; }
  .section-heading h2, .contact-info h2 { font-size: 1.6rem; }
}