:root {
  color-scheme: light;
  --ink: #18241e;
  --dark: #101814;
  --deep-green: #17241e;
  --accent: #dafa78;
  --off-white: #f4f5ef;
  --muted: #525f55;
  --line: #d7ded3;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.55;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--off-white); word-break: keep-all; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #4b7861; outline-offset: 5px; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible {
  outline-color: var(--accent);
}
.container { width: min(100% - var(--gutter) * 2, 75rem); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header { color: #f4f7ef; background: var(--dark); border-bottom: 1px solid #354138; }
.header-inner { min-height: 5.15rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.43rem 0.66rem;
  border-radius: 0.34rem;
  background: #fff;
}
.brand img { width: clamp(8.75rem, 14vw, 10.75rem); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3.2vw, 2.5rem); }
nav a { font-size: 0.93rem; font-weight: 700; color: #d5dfd5; }
nav a:hover { color: var(--accent); }
.nav-cta { color: var(--accent); padding: 0.55rem 0.85rem; border: 1px solid #5b7046; border-radius: 0.3rem; }
.nav-cta:hover { background: #263421; }

.hero { position: relative; isolation: isolate; min-height: clamp(32rem, 49vw, 43rem); display: grid; align-items: center; overflow: hidden; background: var(--dark); color: #f5f8f1; }
.hero-media { position: absolute; z-index: -1; inset: 0 0 0 23%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 54%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #101814 0%, rgb(16 24 20 / 95%) 8%, rgb(16 24 20 / 67%) 32%, rgb(16 24 20 / 12%) 68%, transparent 100%), linear-gradient(0deg, rgb(13 19 14 / 45%), transparent 25%); }
.hero-inner { padding-block: 5rem; }
.hero-copy { max-width: 41rem; }
.eyebrow { display: flex; align-items: center; gap: 0.6rem; color: #47634e; font-size: 0.91rem; font-weight: 800; letter-spacing: -0.02em; }
.eyebrow span { display: inline-block; flex: 0 0 1.35rem; height: 2px; background: currentColor; }
.hero .eyebrow, .process .eyebrow { color: var(--accent); }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.065em; }
h1 { margin-top: 1.24rem; font-size: clamp(2.85rem, 5.35vw, 5rem); line-height: 1.13; }
h1 em { color: var(--accent); font-style: normal; }
.hero-intro { max-width: 29rem; margin-top: 1.35rem; font-size: clamp(1rem, 1.5vw, 1.16rem); color: #e0e7dd; line-height: 1.75; }
.hero-actions, .form-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.75rem; }
.button { display: inline-flex; min-height: 3.05rem; padding: 0.64rem 1.22rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 0.32rem; font-weight: 800; letter-spacing: -0.03em; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.button-primary { color: #142015; background: var(--accent); }
.button-primary:hover { background: #e7ffab; }
.button-outline { color: #f7faf4; background: #17251bc7; border-color: #748375; }
.button-outline:hover { background: #293b2e; }

.section { padding-block: clamp(4.2rem, 8vw, 7rem); }
.section-heading h2 { margin-top: 0.55rem; font-size: clamp(2.1rem, 4vw, 3.65rem); line-height: 1.16; }
.section-heading > p:last-of-type:not(.eyebrow) { max-width: 38rem; margin-top: 1rem; color: var(--muted); line-height: 1.72; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.85rem, 2.1vw, 1.6rem); margin-top: 2rem; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 0.45rem; overflow: hidden; }
.service-card img { aspect-ratio: 1.65; object-fit: cover; background: #dce2d7; }
.service-card:nth-child(2) img { object-position: 52% 54%; }
.service-copy { padding: 1.3rem clamp(1.05rem, 2.25vw, 1.7rem) 1.5rem; }
.service-copy h3, .process-list h3, .inquiry h3 { font-size: clamp(1.22rem, 2vw, 1.57rem); line-height: 1.3; }
.service-copy p, .process-list p { color: var(--muted); line-height: 1.67; margin-top: 0.55rem; }

.process { background: var(--deep-green); color: #f1f5eb; }
.process-grid, .contact-grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.process .section-heading > p:last-of-type:not(.eyebrow), .process-list p { color: #c3d0c3; }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 2.85rem 1fr; gap: 0.75rem; padding-block: 1.15rem; border-bottom: 1px solid #3e5042; }
.process-list li:first-child { border-top: 1px solid #3e5042; }
.step { font-size: 0.88rem; color: var(--accent); letter-spacing: 0.07em; font-weight: 750; padding-top: 0.18rem; font-variant-numeric: tabular-nums; }

.contact { background: #e8eee3; }
.contact-links { display: grid; justify-items: start; gap: 0.55rem; margin-top: 1.5rem; font-style: normal; }
.contact-links a { display: inline-flex; align-items: baseline; gap: 0.7rem; min-height: 2.4rem; padding-block: 0.3rem; }
.contact-links a:hover strong { color: #2e5d43; text-decoration: underline; text-underline-offset: 0.18em; }
.contact-links span { min-width: 3rem; font-size: 0.87rem; color: var(--muted); }
.contact-links strong { font-size: 1.15rem; overflow-wrap: anywhere; }
.social-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.42rem 0.72rem; border: 1px solid #a9baa8; border-radius: 0.32rem; font-size: 0.88rem; font-weight: 750; }
.social-links a:hover { color: #214b33; background: #f8faf5; border-color: #5e8066; }
.inquiry { background: #fdfefb; padding: clamp(1.15rem, 3.1vw, 2rem); border: 1px solid #c8d4c7; border-radius: 0.55rem; }
.form-note, .form-status { color: var(--muted); margin-top: 0.45rem; font-size: 0.95rem; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1rem; margin-top: 1.2rem; margin-bottom: 0.85rem; }
.inquiry label { display: block; font-weight: 750; font-size: 0.92rem; min-width: 0; }
.required-label { font-weight: 500; color: var(--muted); }
.inquiry input, .inquiry select, .inquiry textarea { display: block; width: 100%; min-width: 0; min-height: 2.8rem; margin-top: 0.4rem; border: 1px solid #bfcbbd; border-radius: 0.32rem; padding: 0.58rem 0.65rem; color: var(--ink); background-color: #f8faf6; font-size: 1rem; font-weight: 500; }
.inquiry select { appearance: none; padding-right: 2.1rem; background-image: linear-gradient(45deg, transparent 48%, #46634a 50%), linear-gradient(135deg, #46634a 50%, transparent 52%); background-size: 5px 5px; background-position: right 16px center, right 11px center; background-repeat: no-repeat; }
.inquiry textarea { resize: vertical; min-height: 6rem; }
.inquiry input::placeholder, .inquiry textarea::placeholder { color: #626e64; }
.form-actions { margin-top: 1rem; }
.button-dark { color: var(--accent); background: var(--deep-green); }
.button-dark:hover { background: #2b4435; }
.button-copy { background: #fff; color: var(--ink); border-color: #bfcbbd; }
.button-copy:hover { background: #edf4e6; }
.form-status { margin-top: 0.9rem; }

.site-footer { background: var(--dark); color: #edf3ea; }
.footer-inner { min-height: 8rem; display: flex; align-items: center; justify-content: space-between; column-gap: 1.6rem; row-gap: 1rem; padding-block: 1.6rem; }
.business-info { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1.15rem; color: #c5d0c3; font-size: 0.89rem; }
.business-info div { display: flex; align-items: baseline; gap: 0.4rem; }
.business-info dt { color: #aebdad; }
.business-info dd { color: #eff4ec; }
.back-top { align-self: center; flex-shrink: 0; font-size: 0.86rem; color: #c5d0c3; }
.back-top:hover { color: var(--accent); }

@media (max-width: 820px) {
  .hero-media { left: 13%; }
  .hero-media::after { background: linear-gradient(90deg, #101814 0%, rgb(16 24 20 / 88%) 25%, rgb(16 24 20 / 45%) 65%, rgb(16 24 20 / 8%) 100%); }
  .process-grid, .contact-grid { gap: 2rem; }
  .footer-inner { flex-wrap: wrap; }
  .business-info { flex: 1 1 65%; }
}

@media (max-width: 660px) {
  .header-inner { min-height: auto; flex-wrap: wrap; gap: 0.55rem; padding-block: 0.85rem 0.67rem; }
  nav { flex: 1 0 100%; justify-content: space-between; gap: 0.5rem; }
  nav a { min-height: 2.65rem; display: inline-flex; align-items: center; padding-inline: 0.2rem; }
  .nav-cta { padding-inline: 0.62rem; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-inner { order: -1; padding-block: 3.1rem 1.95rem; }
  .hero-media { position: relative; width: 100%; height: clamp(13.25rem, 50vw, 21rem); inset: auto; }
  .hero-media img { object-position: 52% 55%; }
  .hero-media::after { background: linear-gradient(180deg, #101814, transparent 36%); }
  h1 { font-size: clamp(2.1rem, 8.5vw, 3.6rem); }
  .service-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 1.05rem; margin-top: 1.5rem; }
  .service-card img { aspect-ratio: 1.8; }
  .footer-inner { display: grid; }
}

@media (max-width: 360px) {
  .form-fields { grid-template-columns: 1fr; }
  .hero-actions, .form-actions { gap: 0.45rem; }
  .button { padding-inline: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

