:root {
  --emerald: #065f46;
  --emerald-50: #ecfdf5;
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, Segoe UI, Apple SD Gothic Neo,
    Malgun Gothic, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(#fff, #f6faf8);
}
a {
  color: inherit;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.shadow {
  box-shadow: 0 10px 30px rgba(2, 6, 18, 0.06);
}
.btn {
  display: inline-block;
  background: var(--emerald);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}
.btn-outline {
  display: inline-block;
  border: 1px solid #e2e8f0;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  background: #fff;
}
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eef2f7;
  z-index: 50;
}
header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
/* header top row (logo left, phone right) */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  padding: 48px 0;
}
.tag {
  display: inline-block;
  background: var(--emerald-50);
  color: var(--emerald);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
}
h1 {
  margin: 0.6rem 0 0;
  font-size: 40px;
  line-height: 1.15;
}
p.lead {
  color: var(--muted);
  margin: 12px 0 0;
}
.hero .visual {
  position: relative;
  height: 100%;
  min-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.hero .badge {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
}
section {
  padding: 44px 0;
}
/* reset list bullets */
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.muted {
  color: var(--muted);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}
.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery figure:hover img {
  transform: scale(1.04);
}
.pill {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  font-weight: 700;
}
.pill.active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-actions{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:nowrap;
}
.cta-actions .btn,
.cta-actions .btn-outline{flex:1 1 0;min-width:0}
.input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font: inherit;
}
footer {
  border-top: 1px solid #eef2f7;
}
/* Footer */
.footer-inner {
  padding: 20px 0;
  display: flex;
  gap: 20px 28px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.footer-brand {
  color: var(--ink);
  font-weight: 800;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.footer-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-list .label {
  color: var(--ink);
  font-weight: 700;
}
.footer-copy {
  width: 100%;
}
@media (max-width: 600px) {
  .footer-brand { width: 100%; }
}
/* Contact section polish */
.contact-grid {
  align-items: stretch;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-title {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
}
.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cta-box {
  background: var(--emerald-50);
  padding: 12px;
  border-radius: 10px;
}
.cta-kakao {
  background: #fff9c4;
}
.note {
  color: var(--muted);
  font-size: 13px;
}
.grow {
  flex: 1;
}
.btn-block {
  width: 100%;
  text-align: center;
}
.btn-kakao {
  background: #fee500;
  color: #111;
}
@media (max-width: 980px) {
  header .row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .header-top { width: 100%; }
  .main-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .header-top { gap: 10px; }
  .hero {
    grid-template-columns: 1fr;
  }
  .cta-actions{flex-wrap:nowrap}
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 981px) {
  /* equalize column heights on desktop */
  .hero > *,
  .grid-2 > * {
    height: 100%;
  }
}
@media (max-width: 600px) {
  .grid-3,
  .grid-2,
  .gallery {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 32px;
  }
}
.wood {
  background: url("../img/banner.png") center / cover no-repeat;
  width: 100%;
  height: 100%;
}
/* Process slideshow (GIF-like) */
.process-slideshow{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:8px;
  overflow:hidden;
  background:#EDF2EE;
}
.process-slideshow img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .6s ease;
}
.process-slideshow img.active{opacity:1}

/* Fill card height on desktop so no bottom gap */
@media (min-width: 981px){
  .process-card{display:flex}
  .process-card .process-slideshow{aspect-ratio:auto;height:100%}
  .process-card .process-slideshow img{height:100%}
}

/* Perks (hero benefits) */
.perks li {
  background: linear-gradient(180deg, #d1fae5 0%, #eafaf1 100%);
  color: #065f46;
  border: 1px solid #b7f3d3;
  box-shadow: 0 8px 24px rgba(6, 95, 70, 0.15);
  border-radius: 16px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.perks li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(6, 95, 70, 0.2);
}
